Netbeans-derby newbee problem

hello everybody!
i have the java db in netbeans up and running, tables created and so on.
now when i want to access my database
(which is obviously there, in the databases node of the runtime its shown with tables :jdbc:derby://localhost:1527/mpdb)
netbeans gives me a
Exception in thread "main" java.sql.SQLException: Database 'mpdb' not found.
at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source)
at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source)
at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:154)
at mxnew.mpAdrData.connection(mpAdrData.java:62)
and heres the code:
    public String driver = "org.apache.derby.jdbc.EmbeddedDriver";     public String protocol = "jdbc:derby:";     private String databasename="mpdb";     private Statement s;     public void connection() throws SQLException, ClassNotFoundException {         try {             Class.forName(driver).newInstance();  //Load driver         } catch (ClassNotFoundException ex) {             ex.printStackTrace();         } catch (IllegalAccessException ex) {             ex.printStackTrace();         } catch (InstantiationException ex) {             ex.printStackTrace();         }  //Load driver         Connection conn = null;         Properties props = new Properties();         props.put("user", "admin");         props.put("password", "password");         conn = DriverManager.getConnection(protocol + databasename, props);         s = conn.createStatement();     }
How do i have to access the database ? thanks for your help!

I wanna to connect to database by means of code, how am i supposed to that
url:
jdbc:derby://localhost:1527/proj
driver
org.apache.derby.jdbc.ClientDriver
* RohitApp.java
package rohitapp;
import java.sql.*;
import org.jdesktop.application.Application;
import org.jdesktop.application.SingleFrameApplication;
* The main class of the application.
public class RohitApp extends SingleFrameApplication {
* At startup create and show the main frame of the application.
@Override protected void startup() {
show(new RohitView(this));
* This method is to initialize the specified window by injecting resources.
* Windows shown in our application come fully initialized from the GUI
* builder, so this additional configuration is not needed.
@Override protected void configureWindow(java.awt.Window root) {
* A convenient static getter for the application instance.
* @return the instance of RohitApp
public static RohitApp getApplication() {
return Application.getInstance(RohitApp.class);
* Main method launching the application.
public static void main(String[] args) {
launch(RohitApp.class, args);
}

Similar Messages

  • Derby driver problem

    Hi having a problem connecting to Derby from Netbeans 6.5, running Ubuntu.
    I get the error message: "An error occurred while creating the database: The Java DB (Network) driver was not found".
    It starts up fine, but I can't create a database.
    Under: Services > Drivers, there is Java DB (Embedded) which exists at: usr/share/javadb/lib/derby.jar.
    Is the Derby driver different from the Java DB Network driver? Or is there some magical incantation I am supposed to put upon Netbeans to make this all work? I have a chicken here and I am willing to sacrifice it to the Derby God to get this working.

    I have the same problem. I'm new dealing with ubuntu and netbeans. I have netbeans 6.5 installed from synaptic. After this, I have installed all and every plugin from inside the netbeans plugins menu.
    I have written, compiled and run c and c++ small apps, and java console and windowed small apps too.
    I find 2 main errors:
    1.- When I try to create a database from netbeans/Services/Databases/Java DB and clicking with the secondary mouse button and choosing "Create Database" from the context menu.
    If the database name I want to create is db1, as an example, the program creates some directories and files in $HOME/.netbeans-derby/db1
    But finish with the error message:
    "An error occurred while creating the database: The Java DB (Network) driver was not found"
    I can open this database and create tables in it, from the context menus of netbeans/Services/Databases/Drivers over
    jdbc:derby:$HOME/.netbeans-derby/db1 nbuser on APP
    But I wonder if the database is correctly created or not. I'd like to activate the Java DB (Network) driver but I don't know how to do it.
    I have installed the glassfishv2 package from synaptic but I think it wasn't necesary because I think the javadb database was running well before this.
    2.- I don't know if this second problem has something to do or has some common or relationed points with the first one, but I'm going to tell you it, too.
    When I try to create a new java desktop application, when I must choose the Application Shell, I only can choose Basic Application. The Database Application Shell (as described in netbeans and derby manuals) is not present at all.
    I wonder why the database application shell is missing and how can I configure netbeans for showing the Database Application Shell option.
    Thanks a lot

  • Java ME SDK 8.0 EA Netbeans plugin installation problem

    We have been getting reports that some developer had trouble installing the Java ME SDK 8 EA plugins into NetBeans. We are working on fixing the issue, in the meantime please try the workaround posted in the Java ME SDK forum:
    Java ME SDK 8.0 EA Netbeans plugin installation problem
    Also be sure to check the latest ME SDK 8 EA Release Notes for late-braking information:
    http://docs.oracle.com/javame/dev-tools/jme-sdk-8/release-notes/html/Release_Notes/Release_Notes.html
    Sorry for the inconvenience.
    Best,
    -- Terrence

    Hi,
    For the Raspberry Pi, tooling over serial port is not supported. The simplest solution is to use standard IP networking over Ethernet. This can be a direct connection between the PC and the Raspberry Pi, as long as the cable is twisted and the IP addressing is correct (e.g. manual IP addressing or DHCP server on the PC).
    Regarding "Connecting to a UART Device": This is meant for attaching and controlling serial devices from the Raspberry Pi, not for tooling connections between the Raspberry Pi and the PC.
    Hope this helps,
    -- Terrence

  • NetBeans 4.1 Problem

    Well, the good news is that I got my bot working (hurrah!).
    The bad news is that I can't open my JAR >< !!! (angry face).
    I know that a lot of people have had this problem and posted here about it, but I couldn't find a good answer to this question. The problem is that when I build my project and open my JAR it says "Failed to load Main-Class manifest attribute from [directory]." Yet when I extract my JAR I get a folder that contains the manifest.mf file.
    If this helps, this is the contents of my manifest file (when opened with notepad):
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.2
    Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
    I'm not sure what a manifest file should look like... and I'm not sure if this is even part of the problem... just in the other threads I visited people posted the contents of their manifest file =p
    So, do I need to reinstall/install something? I'm pretty sure I have the latest of everything, but if I have to install something, what would that be? And if not, then what's the problem?

    Well, one of the problems I had is I made a project with existing source files biaccident so I couldn't edit the Main class file. I made a new project and my my JAR semi-works. The one remaining problem is that it doesnt show my image. How do I fix this? When I run it via NetBeans it DOES show my image...

  • Netbeans + MySQL + Tomcat (problem with: not a known entity type)

    I try to create WebApplication with Stripes in netbeans, but I have problem with connect to DB.
    I have this code:
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("jpaPU");
    EntityManager em = emf.createEntityManager();
    em.getTransaction().begin();
    Person p = new Person();
    p.setFirstName("name1");
    p.setLastName("name2");
    try
    em.persist(p);
    } catch(Exception e)
    System.out.println(e.toString());
    em.getTransaction().commit();
    em.close();
    emf.close();But in try{..} is em.persist(p); ant it prints into console this error: "java.lang.IllegalArgumentException: Object: db_entity.Person@13c7c35 is not a known entity type."
    I do not know where is problem. Could you help me, please?
    This is my persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
      <persistence-unit name="jpaPU" transaction-type="RESOURCE_LOCAL">
        <provider>oracle.toplink.essentials.PersistenceProvider</provider>
        <properties>
          <property name="toplink.jdbc.user" value="root"/>
          <property name="toplink.jdbc.password" value="adminadmin"/>
          <property name="toplink.jdbc.url" value="jdbc:mysql://localhost:3306/test"/>
          <property name="toplink.jdbc.driver" value="com.mysql.jdbc.Driver"/>
          <property name="toplink.ddl-generation" value="create-tables"/>
        </properties>
      </persistence-unit>
    </persistence>When I run my application I can see in console:
    [TopLink Info]: 2008.11.15 09:01:13.265--ServerSession(4794542)--TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
    [TopLink Info]: 2008.11.15 09:01:13.578--ServerSession(4794542)--file:/D:/Workspace/NetBeansProjects/jpa/build/web/WEB-INF/classes/-jpaPU login successful..so, I hope persistence.xml is good
    This is my class Person.java:
    @Entity
    public class Person implements Serializable {
        @Id
        @GeneratedValue
        private Long id;
        private String firstName;
        private String lastName;
        public void setId(Long id) { this.id = id; }
        public Long getId() { return id; }
        public String getFirstName() {  return firstName; }
        public void setFirstName(String firstName) { this.firstName = firstName;  }
        public String getLastName() { return lastName; }
        public void setLastName(String lastName) { this.lastName = lastName;  }Please, help me.

    I had the same "is not a known entity type" error when running under a development environment Eclipse/Tomcat using Toplink. But the almost same code and configuration worked when running under Eclipse as a stand-alone Java app.
    Eventually I figured out (actually trial and error), that I had checked the toplink-essentials.jar libraries to be exported under: Eclipse Project/Java Build Path/Order and Export. I was messing around with libraries. Unchecking the export option there fixed the problem.
    While its unlikely that this could have been your exact problem, I would check the library order and export configurations. Looking at other message boards about this problem, many seemed to have been caused or fixed by playing with their libraries.

  • Tomcat + axis + netbeans 4.1 problem

    hi all
    i'm currentky developing a school project that requires web services, the problem is that i can�t get a working example on my machine.
    i'm using tomcat 5.5, axis 1.2 and netbeans 4.1
    and i have followed this tutorial (first example) : http://cropcrusher.web.infoseek.co.jp/shufujava/wserv/axisnb4_en.html
    everything was running good until when i run the client application. It gives me the following error:
    init:
    deps-jar:
    compile:
    run:
    - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (404)/axis/wsone.jws
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 404
    <html><head><title>Apache Tomcat/5.5.7 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /axis/wsone.jws</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/axis/wsone.jws</u></p><p><b>description</b> <u>The requested resource (/axis/wsone.jws) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.7</h3></body></html>
    {http://xml.apache.org/axis/}HttpErrorCode:404
    (404)/axis/wsone.jws
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:732)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
    at org.apache.axis.client.Call.invoke(Call.java:2748)
    at org.apache.axis.client.Call.invoke(Call.java:2424)
    at org.apache.axis.client.Call.invoke(Call.java:2347)
    at org.apache.axis.client.Call.invoke(Call.java:2372)
    at client.ClientOne.getOutputString(ClientOne.java:34)
    at client.ClientOne.inputButtonActionPerformed(ClientOne.java:87)
    at client.ClientOne.access$000(ClientOne.java:17)
    at client.ClientOne$1.actionPerformed(ClientOne.java:68)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
    at java.awt.Component.processMouseEvent(Component.java:5488)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
    at java.awt.Component.processEvent(Component.java:5253)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3955)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1774)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    i'm kind of desperate, knoking with my head on the wall so any help would by apreciated.
    thanks in advance

    Hey, Chech your URL in the client java program specified.
    I faced the same problem, most probably you need to append \axis in your URL.

  • JavaFX/Netbeans 6.8 problem

    Has anyone had a problem with the NetBeans 6.8 JavaFX plugin not supporting libraries in JavaFX projects? I'm using JFXtras, which I've added via Right Click Project->Properties->Libraries->Add JAR/Folder. The code compiles cleanly, but in the IDE I get errors like "package org.jfxtras.scene.shape does not exist". Does anyone have a solution to this?

    I had the same problem after upgrade from nebeans 6.7.1 to 6.8 on Linux.
    I added the jfxtras jars with Add JAR/Folder in netbeans 6.7.1.
    Solution
    - Remove jars from Libraries
    - Restart netbeans
    - Use Add Library...
    - Create new Libraries for jfxtras
    - Add these libraries
    - Restart netbeans
    (- Edit/save files with errors)
    (- Restart netbeans)
    After I did this in one JavaFX project the other unchanged JavaFX projects with Add JAR/Folder works also again.

  • Derby database problem

    Hi to all,
    i am using bundled database with derby . red X appears on the Travel ,VIR,JumpStartCycles icon and an error appears when i try to expand it,but the database server is running.
    i am getting error like this:
    Connection status: succeeded
    validation table status : failed
    Schema 'Travel' does not exits.
    The ideal validationtable exits only for connection validation purposes. do not use an existing table that has a large number of rows or a table that wili be frequntly used.
    please do help me.
    cheers,
    jtr.

    I doubt this is a database problem.
    Probably a OS/network problem but could also be due to something you are doing in the code.

  • NetBeans JFileChooser visualization problem

    I have a visualization problem when i implement a JFileChooser. I use
    Windows XP with SDK 1.3.1 and Netbeans 3.3
    I insert a JFileChooser from the Form Editor in NetBeans but when i run my
    application the JFileChooser appear in the background without waiting to be
    called by an event generated by a button. When you after press the button
    it works correctly; so it is only a visualization problem....
    How is possible to make it hide until the pressure of that button ???
    Thankyou for the help
    Andrea Franceschini
    [email protected]

    I solved the problem by myself....-:)
    I added the jFileChooser to the JFrame.
    It is instead to add it out of the jFrame with "others components"

  • ADF Faces: Newbee problem with table

    Hello,
    I try to generate a table like in the demo app:
    <af:form>
    <af:table allDetailsEnabled="true" var="row"
    bandingInterval = "2"
    banding = "row"
    value="#{projectView.currentProjects}" rows="5">
    <af:column sortable="true" sortProperty="proj_name">
    <f:facet name="header">
    <af:outputText value="#{bundle.proj_name}"/>
    </f:facet>
    <af:outputText value="#{row.proj_name}"/>
    </af:column>
    <af:column sortable="true" sortProperty="proj_descr">
    <f:facet name="header">
    <af:outputText value="#{bundle.proj_descr}"/>
    </f:facet>
    <af:outputText value="#{row.proj_descr}"/>
    </af:column>
    <f:facet name="detailStamp">
    <af:panelGroup type="vertical">
    <af:outputText value="Name: #{row.proj_name}"/>
    <af:outputText value="Descr: #{row.proj_descr}"/>
    <af:outputText value="Volume: #{row.proj_volume}"/>
    <af:outputText value="Area: #{row.proj_area}"/>
    </af:panelGroup>
    </f:facet>
    </af:table>
    </af:form>
    The currentProjects method returns a database query as a list of beans. The content of the beans is displayed. My problem is, when I click on e.g. 'Next' or 'All Details' nothing happens and I get javascript errors like this:
    Error: _submitPartialChange is not defined
    Source File: http://localhost:8080/timerec/faces/ADFbrowseProjects.jsp
    Line: 25
    I´m using EA 13. What am I doing wrong?
    Thanks, Axel

    The problem you're encountering is that the table view is being re-initialized whenever the underlying table model changes. Thus, the navigation appears to do nothing. The demo code doesn't "appear" to do anything special because the af:table value property is bound to a managed bean, periodicTable, that has session scope. Thus the table is built only once and the value binding is simply returning the same java object every time.
    For you to accomplish the same thing, your code will need to return the SAME OBJECT (since I can't see the source code I don't really know if it's using object identity or equals()) each time unless your underlying data has actually changed.
    I'm struggling with the same thing. I'm working with a small table and it's just easier to manage concurrency issues by pulling the data out of the database every time instead of building the logic to detect a change, but I'm having to build that due to this behavior.

  • Modifying column properties in Derby DB problem

    ALTER TABLE photo MODIFY BYTES MEDIUMBLOB NOT NULL;
    This works in MySql for changing "bytes" column of table photo from a blob to medium blob, but doesnt work for Derby.
    Someone has a clue ?
    Derby docs state that column type cannot change, but I dont think this is necessary "feature". Is there some kind of workaround ? Or even Is the last statement true ?

    I recalled another solution:
    Drop the column and recreate it but:
    ALTER TABLE PHOTO DROP COLUMN BYTES;gives
    Error code -1, SQL state 42X01: Syntax error: Encountered "DROP" at line 1, column 29.Any thoughts ?
    Anyway how should I use your sequence ?
    Any query for this ?
    Query because I am using this as a workaround for certain limitations, during dev-time.
    Thanks

  • Netbeans database connectivity problem

    want to connect or bind label to database ms access
    i am using netbeans 5.5.1
    how can i do it

    I have no idea what you're talking about, but here's a JDBC tutorial. Start with it: [http://java.sun.com/docs/books/tutorial/jdbc/index.html]. JDBC prerequire basic SQL knowledge: [http://www.w3schools.com/SQl/default.asp].

  • Newbee problem - PCMCIA - GPIB Setup

    Hi
    This may be an extremely simple question, but here it goes:
    I have just gotten an Contec PCMCIA-GPIB card for an old Thinkpad 360 model.
    My problem is that I don't know how to reference to the card (address & irq).
    Which should I use and what is best.
    On Win95 I found IRQ 3 to be available, and adr. 03E0-03EF - so I setup the
    PCMCIA card this way in the control panel - System. But how do I connect
    from LabWindows 5.0 ?. I'm using a HP34401A DMM and begin with the hp34401a_init
    command. Is this correct ?
    I will be more than happy to receive a few lines of code used for another
    PCMCIA card, then I will probably be able to tell how to setup the card.
    Thanks in advance
    Klaus Kragelund
    [email protected]

    If the revision number is C or lower, there can be problems and the card should be exchanged see http://www.ni.com/cgi-bin/search/search.cgi?scope=knowledgebase&query=1D3CIEGX for more details.
    It may be a defective card. If possible, try another PCMCIA-GPIB card in that system. If it does have to be returned, RMA's are only done through phone support (512-795-8248).
    Randy Solomonson
    Applications Engineer
    National Instruments

  • Newbee problem

    Hi!
    I am quite a beginner with JSP. Actually I'm learning from a book how to use JavaBeans in JSP. The book gives a little Example: The sourcecode for a small bean and the matching JSP-code.
    My Problem: The JSP is shown correctly with one little bug: The integrated bean is not used. The was to convert DM into Euro.
    I think it is because the bean has not the correct path. So which path must it have? I'm using Tomcat as platform.
    Thanx!

    Hi.
    I don't think it's a classpath problem, otherwise you
    should get a "compilation-time" exception, and not be
    able to see your page.
    Are you sure to call the bean's method properly?
    If the example source code is small as you said, post
    here its main parts, so to be able to help you.
    By the way, the (one) right place where to put
    compiled (.class) bean file is under the WEB-INF
    directory.
    Bye
    EnricoNo Problem. Here's the JSP-Code, followed by the java-code:
    <%@ page errorPage= "errorpge.jsp" session="false"%>
    <jsp:useBean id="test" class="beans.JspTest" scope="application">
    </jsp:useBean>
    <html>
    <title>JSP and JavaBeans</title>
    <body>
         <h2>
              <strong>Umrechnung von DM in EURO</strong><p>
         </h2>
         <h3>
              <% test.setDM("100.00"); %>
              <%= test.getDM() %> DM
              <p>entsprechen<p>
              <% test.getEuro() %> EURO<p>
         </h3>
    </body>
    </html>
    package beans;
    import java.awt.*;
    import java.beans.*;
    import java.io.Serializable;
    public class JspTest implements Serializable
         double faktor = 1.95583;
         private String strDM = new String("1.00");
         private String strEURO = new String("11.00");
         public JspTest()
         public String getDM()
              return strDM;
         public void setDM(String strIn)
              strDM = strIn;
         public void setEURO(String strIn)
              strEURO = strIn;
         public String getEURO()
              Double dm = new Double(strDM);
              Double euro = new Double(dm.doubleValue() / faktor);
              strEURO = euro.toString();
              int index = strEURO.indexOf('.');
              strEURO = strEURO.substring(0, index + 3);
              return strEURO;
    Yes, the .class-file was placed under 'tomcat\webapps\examples\WEB-INF'
    Thanx for your reply!

  • Netbeans Remote Profiling problems

    Hi,
    I am trying to do remote profiling from windows with Netbeans. Application is running in linux machine. I generated the remote pack for linux 32 bit and copied in /product/integration/profiling as mentioned in http://netbeans.org/kb/docs/java/profiler-intro.html.
    I started the application with the following command in target linux machine -
    java -jar agentpath:/product/integration/profiling/lib/deployed/jdk15/linux/libprofilerinterface.so=/product/integration/profiling/lib,5140 <application name>
    But Netbeans is not able to connect to the application. In the target machine, i typed "netstat -anp" and found 5140 is not listed.
    Any idea, what's the wrong..
    Regards,
    Subrata

    Hi Subrata,
    Your question is about Netbeans functionality on Windows,
    and it is very unlikely we can answer it, because we usually
    don't use Windows for development. We use Solaris and Linux.
    Could you please post your question on Netbeans forum?
    http://forums.netbeans.org/
    Thanks.
    Nik

Maybe you are looking for