Netbeans in ubuntu, error in palette?

hi.
i just transferred from windows to ubuntu and i had my set of netbeans-made projects encounter some problems.
The JPanels which I added to my palette (when I was still in windows) have some problems here in ubuntu when I try to drag them to the form. It says:
"The class must be compiled and must be on the classpath of the project this form belongs to".
Also, I tried creating a JFrame at the same project where I created JPanel and yet the same error appears.
When I tried creating another project, create a a new JPanel and it to the palette, and try to drag it to my newly created form, it's perfectly working.
I'm wondering if there's a problem migrating projects from Netbeans to Ubuntu? or what are the things I have missed setting?
thanks

If it is a swing application, one likely reason could be the swing-layout-extensions library.
If an application was developed in NetBeans under jdk1.5, then it would use 'Swing Extensions' library included with NetBeans, because the classes are not part of jdk1.5. But the library was included as part of jdk6 (https://swing-layout.dev.java.net/) although with different package structure to match the naming convention of java (javax.*). Opening such a project under 1.6 may lead to the correct jar/classes not being loaded.

Similar Messages

  • Pet store 2.0 + Netbeans + Glassfish + ubuntu 7.04  install problem solved

    Three days ago I tried to install the javapetstore-2.0-ea5 using the following combination:
    Netbeans 5.5.1
    Glassfish v1
    ubuntu 7.04.
    I am new to java and java EE so I could n' t easily figure out the solutions to the problems that I have faced. Generally, the procedure was easy but there was a problem that i could n' t resolve easily, but after a very close observation. The problem is that the instructions guide to change the file build.properties and specially the directive:
    javaee.server.passwordfile
    It should have as value the path to the password file of glassfish. But here is the problem. The passwordfile in glassfish v1, doesn' t have the following form:
    AS_ADMIN_PASSWORD=<javaeesdk-admin-password>
    but
    AS_ADMIN_ADMINPASSWORD=<javaeesdk-admin-password>
    This results to the failure of the creation fo datasource and jdbcpool for the database of petstore.
    To solve the problem, you just have to change the directive inside the password file, to AS_ADMIN_PASSWORD.

    C:\Sun\SDK\blueprints\petstore\nbproject\build-impl.xml:468: Deployment error: cannot find FileArchive class...
    See the server log for details.
    BUILD FAILED (total time: 2 seconds)I had the same problem but not with blueprints and I managed to start manually the sun server, clean and build the project and copy the *.war file from the project_folder/dist/ to C:\Sun\SDK\domains\domain1\autodeploy.
    If this doesn't work you could try to reinstall netbeans and java .

  • Simple Netbean JBoss Webservice Error

    Hi all,
    I am deploying a simple Hello Web service to
    jboss-4.0.4-GA server with bundled in the Netbean 5.5 IDE.
    Deployment of webservice in the JBoss is ok , when i do
    http://localhost:8080/HelloWebService/HelloWS?wsdl , i can see the
    wsdl format.
    And when accessing the webservice using Web Service Client in
    Netbean , i can access the web service method without any error.
    My problem is the when i tried to access the web service in normal
    java class for example below:
    Anyone have any ideas or suggestion , please email it to me , thanx
    import java.net.URL;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.Call;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.ServiceFactory;
    public class TestWebService {
    /** Creates a new instance of TestWebService */
    public static void main(String [] args){
    try{
    String wsdlURL = "http://cxrus020:8080/HelloWebService/
    HelloWS?wsdl";
    String namespace = "urn:HelloWS/wsdl";
    String serviceName = "HelloWS";
    QName serviceQN = new QName(namespace, serviceName);
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    Service service = serviceFactory.createService(new
    URL(wsdlURL), serviceQN);
    QName portQname = new QName(namespace, "HelloWSSEIPort");
    Call call = service.createCall(portQname);
    call.setPortTypeName(portQname);
    call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
    QName requestQname = new QName(namespace, "greet");
    call.addParameter("String_1", requestQname,
    javax.xml.rpc.ParameterMode.IN);
    call.setReturnType(requestQname);
    String ret = (String) call.invoke(new Object[]{"joshua
    tat"});
    System.out.println("ret:" + ret);
    }catch(Exception ex){
    ex.printStackTrace();
    The wsdl file:
    - <definitions name="HelloWS" targetNamespace="urn:HelloWS/wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:HelloWS/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <types />
    - <message name="HelloWSSEI_greet">
    <part name="String_1" type="xsd:string" />
    </message>
    - <message name="HelloWSSEI_greetResponse">
    <part name="result" type="xsd:string" />
    </message>
    - <portType name="HelloWSSEI">
    - <operation name="greet" parameterOrder="String_1">
    <input message="tns:HelloWSSEI_greet" />
    <output message="tns:HelloWSSEI_greetResponse" />
    </operation>
    </portType>
    - <binding name="HelloWSSEIBinding" type="tns:HelloWSSEI">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="greet">
    <soap:operation soapAction="" />
    - <input>
    <soap:body namespace="urn:HelloWS/wsdl" use="literal" />
    </input>
    - <output>
    <soap:body namespace="urn:HelloWS/wsdl" use="literal" />
    </output>
    </operation>
    </binding>
    - <service name="HelloWS">
    - <port binding="tns:HelloWSSEIBinding" name="HelloWSSEIPort">
    <soap:address location="http://cxrus020:8080/HelloWebService/HelloWS" />
    </port>
    </service>
    </definitions>

    Hi all,
    I done further testing using live web service from xmethod.net.
    I got the similar error as shown in my first posting.
    Anyone have got any ideas ? Thanks
    try{
    String wsdlURL = "http://www.webservicemart.com/uszip.asmx?WSDL";
    String namespace = "http://webservicemart.com/ws/";
    String serviceName = "USZip";
    QName serviceQN = new QName(namespace, serviceName);
    //String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    Service service = serviceFactory.createService(new URL(wsdlURL), serviceQN);
    //QName portQname = new QName(namespace, "HelloWSSEIPort");
    Call call = service.createCall();
    call.setOperationName(new QName(namespace, "ValidateZip"));
    call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
    call.addParameter("ZipCode",serviceQN,javax.xml.rpc.ParameterMode.IN);
    call.setReturnType(serviceQN);
    String ret = (String) call.invoke(new Object[]{"123456"});
    System.out.println("ret:" + ret);
    }catch(Exception ex){
    ex.printStackTrace();
    }

  • Netbeans & jsf_core.tld error

    I've uninstalled netbeans 6.1 and installed 6.5. I created a new web project and I'm presented with an error on the default jsp page it created.
    The error states:
    Unable to read TLD "META-INF/jsf_core.tld" from JAR file file:/...
    I opened the jar with winrar, just incase, and sure enough the file is there and I can view it. Does anyone know how to sort this out or is it possibly related to the fact this is a version still in development?
    I can still create JSP pages with jsf core so it's not the end of the world. It's slightly annoying.

    Is this when targeting GlassFish V3? If so, see bug http://www.netbeans.org/issues/show_bug.cgi?id=139652
    It'll be fixed by NB 6.5 M2. If not, please file a bug against NetBeans with correct information to reproduce.

  • NetBeans to Eclipse error

    Hi. I've some problem taking the source files from NetBeans to Eclipse. I want to build a GUI in NetBeans and do the coding in Eclipse.
    When I transferred the source files to Eclipse the following error message *'org.jdesktop cannot be resolved to a type'* comes up. This error comes up on the following line of code: org.jdesktop
    Now in NetBeans everything compiles fine so I don'n know why it does not compile using Eclipse. Also, everything so far is autogenerated.
    Any suggestions?
    Thanks.

    To fix the problem you have to add few jar files to your build path.
    1) appframework from YOUR_NETBEANS_DIR/java1/modules/ext
    2) org-desktop-layout from
    YOUR_NETBEANS_DIR/platform7/modules
    3) swing-layout from YOUR_NETBEANS_DIR/platform7/modules/ext
    For adding them to your projects
    -in package explorer right click on your project, then click properties.
    choose java build path from left and then libraries tab from right. click on "add external jar" and add the jar files I mentioned one by one.
    That worked for me.

  • Netbeans 7.1 - Error: package javafx.* does not exist

    when i open a project/directory made by old netbeans version as groovyfx as found in http://groovyfx.org/ (but the same occur in other cases) i change the library in default fx library but all the import javafx fail.
    what can i do?
    lorenzo

    Netbeans/Java is not lying to you. The package does not exist, so it does not exist. Figure out what you did wrong, perhaps by examining the Netbeans documentation on both the javafx plugin and how to manage the classpath of a project.

  • JavaFX 1.3 + Ubuntu 9.10 + JDK 1.6_20 + Netbeans 6.9

    Hi Guys,
    Im having a hard time here trying to get JavaFX 1.3 + Ubuntu 9.10 + JDK 1.6_20 + Netbeans 6.9 to work together.
    First I installed Ubuntu 9.10 then I downloaded the JDK and installed it on my /opt, after I've downloaded the JavaFX 1.3 and installed it also on /opt, finally I installed netbeans
    on my .bashrc I added
    JAVA_HOME=/opt/jdk1.6.0_20/jre
    JAVA_BIN=$JAVA_HOME/bin
    PATH=$PATH:$JAVA_BIN:/opt/javafx-sdk1.3/bin/
    export JAVA_HOME
    export JAVA_BIN
    export PATH
    Made a symbolic link to my /usr/bin of javafx javafxc and javafxpackager
    My problem is, when I create a netbeans' javafx project, its complain it cant find java command, because JAVA_HOME is not set
    but If i create a JAVA app using netbeans it compiles and run without complain about java
    some commands I used on ubuntu's console
    echo $JAVA_HOME
    /opt/jdk1.6.0_20/jre
    java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
    javafx -version
    javafx 1.3.0_b412
    and using console i can compile a simple fx programan and run
    javafxc Test.fx
    javafx Test
    It works
    how can I solve that?
    here some extra info about the files I used
    jdk-6u20-linux-x64.bin
    installion was
    cp jdk-6u20-linux-x64.bin /opt
    chmod a+x jdk-6u20-linux-x64.bin
    sudo ./jdk-6u20-linux-x64.bin
    javafx_sdk-1_3-linux-i586.sh
    same as jdk
    netbeans-6.9beta-ml-linux.sh or netbeans-6_9-beta-javafx-1_3-linux (I've downloaded both and tryed both)
    same as jdk

    Hi,
    experiencing with manual install for JDK+Netbeans on Ubuntu 10.04 I found the following:
    -Editing your .bashrc is indeed enough to get Netbeans installed/started but JAVA_HOME error occurs when running JAVAFX project (same error as you have).
    -Copying your config from .bashrc to .profile permits to run JAVAFX projects like a charm (but don't ask me why)
    Just note that if you use Ubuntu 64 bits you can forget running multimedia project (even with a 32-bits JDK), only Ubuntu 32 bits + 32 bits JDK will do.
    Hope this helps

  • Help with error Netbeans 5.5.1 throws

    Hi all,
    I'm busy working on a project in J2EE using netbean 5.5.1 (project requirement). The project requires as to use Session, CMP and Message Driven Beans. My problem is with the Message Driven Beans while i know the code i am using is correct netbeans keeps throwing the following error when ever i deploy/run: javax.annotation.Resource.authentication Type()Javax/annotation/Resource$AuthenticationType;at com.sun.enterprise.deployment.annotation.AnnotationInfo@ba356+ .
    If some one could either please explain what the error is referring to or how to stop netbean throwing the error i would greatly appreciat it.

    You need to empty the InDesign Recovery folder. It's hidden so you need to set Explorer to show hidden files, then navigate to Users\<your user name>\AppData\Local\Adobe\InDesign\Version 7.5\<language>\Caches
    That should allow ID to restart normally and let you open the last saved version of your file.

  • Compiling error (netbeans and javac)

    Hi,
    I have created a project with netbeans. It has two files Main.java and Methods.java. I can compile and run it using netbeans without any errors. But if I go to the directory where that files are located and try "javac Main.java", I get the error like this:
    Main.java:26: cannot find symbol
    symbol : class Methods
    location : class projectname.Main
    Methods met = new Methods();
    I get this error 2 times.

    cd ..
    javac projectname/Main.java

  • Remove automatic error recognizer in Netbeans 3.6

    Hello,
    i installed the NetBeans 3.6 and everytime i open a java file the Netbeans shows all Errors in the file automatically.
    its a bit problimatic because it takes long time and it slow my computer dramtically.
    how can i turn this off?
    i want to see the errors only when i compile.
    niether when i type nor when i open the file.
    thank you.

    In Tools > Options > Editing > Java Sources set Automatic Parsing Delay to zero

  • Help me find out the error in my first hello application

    Hello every body !!!!
    I am new to JEE.I am competent on JDK and also have worked on Tomcat JSP,servlet.
    But i am having problem running my first JEE programme.
    I have Sun Java System Application Server 9.1 with NetBeans 6 on WinXP.
    I have used NetBeans 6 hence those comments are there.
    Below are the code i have used:
    In the hello-ejb module i have following Bean and remote interfaces==>>>
    package hello;
    import javax.ejb.Stateless;
    @Stateless
    public class HelloBean implements HelloRemote {
    private String name="Yoodleyee";
    public String sayHello() {
    //return null;
    return "My Name is "+name;
    // Add business logic below. (Right-click in editor and choose
    // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
    package hello;
    import javax.ejb.Remote;
    @Remote
    public interface HelloRemote {
    public String sayHello();
    In the Hello-app-client module i have main()==>>
    package hello;
    import javax.ejb.EJB;
    public class Main {
    @EJB
    private static HelloRemote helloBean;
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    System.out.println("Hi "+helloBean.sayHello());
    since this program does not require deployment descriptor and also NetBean creates its own deployment discriptor hence i have not written any.
    While the BUILD is successfull.But when Run this application I get deployment error.I am pasting the error stack below:
    pre-init:
    init-private:
    init-userdir:
    init-user:
    init-project:
    do-init:
    post-init:
    init-check:
    init:
    deps-jar:
    deps-j2ee-archive:
    init:
    init:
    deps-jar:
    compile:
    library-inclusion-in-manifest:
    dist-ear:
    deps-jar:
    compile:
    library-inclusion-in-manifest:
    dist-ear:
    init:
    deps-jar:
    compile:
    library-inclusion-in-manifest:
    dist-ear:
    pre-pre-compile:
    pre-compile:
    do-compile:
    post-compile:
    compile:
    pre-dist:
    do-dist-without-manifest:
    do-dist-with-manifest:
    post-dist:
    dist:
    pre-run-deploy:
    Initial deploying Hello to C:\nikhil workstation\EJB work\NetBeansProjects\Hello\dist\gfdeploy
    Completed initial distribution of Hello
    Start registering the project's server resources
    Finished registering server resources
    moduleID=Hello
    deployment started : 0%
    Deploying application in domain failed; Error loading deployment descriptors for module [Hello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
    Deployment error:
    The module has not been deployed.
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
    Caused by: The module has not been deployed.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:157)
    ... 16 more
    BUILD FAILED (total time: 1 second)
    Where as the server log has the following stack
    ----Log File Rotated---
    Apr 18, 2008 5:06:42 PM com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
    INFO:
    C:/Sun/SDK/jdk\bin\java
    -Dcom.sun.aas.instanceRoot=C:/Program Files/glassfish-v2/domains/domain1
    -Dcom.sun.aas.ClassPathPrefix=
    -Dcom.sun.aas.ClassPathSuffix=
    -Dcom.sun.aas.ServerClassPath=
    -Dcom.sun.aas.classloader.appserverChainJars.ee=
    -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,j2ee-svc.jar
    -Dcom.sun.aas.classloader.excludesList=admin-cli.jar,appserv-upgrade.jar,sun-appserv-ant.jar
    -Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
    -Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar
    -Dcom.sun.aas.classloader.serverClassPath.ee=/lib/hadbjdbc4.jar,C:/Program Files/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,/lib/dbstate.jar,/lib/hadbm.jar,/lib/hadbmgt.jar,C:/Program Files/glassfish-v2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.serverClassPath=C:/Program Files/glassfish-v2/lib/install/applications/jmsra/imqjmsra.jar,C:/Program Files/glassfish-v2/imq/lib/jaxm-api.jar,C:/Program Files/glassfish-v2/imq/lib/fscontext.jar,C:/Program Files/glassfish-v2/imq/lib/imqbroker.jar,C:/Program Files/glassfish-v2/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2/lib/ant/lib/ant.jar,C:/Program Files/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
    -Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,jesmf-plugin.jar,/lib/dbstate.jar,/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Program Files/glassfish-v2/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
    -Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/SDK/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,com-sun-commons-launcher.jar,com-sun-commons-logging.jar,C:/Program Files/glassfish-v2/imq/lib/jaxm-api.jar,C:/Program Files/glassfish-v2/imq/lib/fscontext.jar,C:/Program Files/glassfish-v2/imq/lib/imqbroker.jar,C:/Program Files/glassfish-v2/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2/imq/lib/imqxm.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,appserv-jstl.jar,jmxremote_optional.jar,C:/Program Files/glassfish-v2/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,C:/Program Files/glassfish-v2/updatecenter/lib/updatecenter.jar,C:/Program Files/glassfish-v2/jbi/lib/jbi.jar,C:/Program Files/glassfish-v2/imq/lib/imqjmx.jar,C:/Program Files/glassfish-v2/lib/ant/lib/ant.jar,dbschema.jar
    -Dcom.sun.aas.configName=server-config
    -Dcom.sun.aas.configRoot=C:/Program Files/glassfish-v2/config
    -Dcom.sun.aas.defaultLogFile=C:/Program Files/glassfish-v2/domains/domain1/logs/server.log
    -Dcom.sun.aas.domainName=domain1
    -Dcom.sun.aas.installRoot=C:/Program Files/glassfish-v2
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -Dcom.sun.aas.promptForIdentity=true
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Dcom.sun.updatecenter.home=C:/Program Files/glassfish-v2/updatecenter
    -Ddomain.name=domain1
    -Dhttp.nonProxyHosts=1*|prdits.tatasteel.co.in*|prd.tatasteel.co.in*|myportal.tatasteel.co.in*|<local>*|localhost|127.0.0.1|WAGONTRACKER
    -Dhttp.proxyHost=151.0.1.128
    -Dhttp.proxyPort=3128
    -Dhttps.proxyHost=151.0.1.128
    -Dhttps.proxyPort=3128
    -Djava.endorsed.dirs=C:/Program Files/glassfish-v2/lib/endorsed
    -Djava.ext.dirs=C:/Sun/SDK/jdk/lib/ext;C:/Sun/SDK/jdk/jre/lib/ext;C:/Program Files/glassfish-v2/domains/domain1/lib/ext;C:/Program Files/glassfish-v2/javadb/lib
    -Djava.library.path=C:\Program Files\glassfish-v2\lib;C:\Program Files\glassfish-v2\lib;C:\Program Files\glassfish-v2\bin;C:\Program Files\glassfish-v2\lib
    -Djava.security.auth.login.config=C:/Program Files/glassfish-v2/domains/domain1/config/login.conf
    -Djava.security.policy=C:/Program Files/glassfish-v2/domains/domain1/config/server.policy
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Djavax.net.ssl.keyStore=C:/Program Files/glassfish-v2/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Program Files/glassfish-v2/domains/domain1/config/cacerts.jks
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djmx.invoke.getters=true
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -client
    -XX:+UnlockDiagnosticVMOptions
    -XX:MaxPermSize=192m
    -Xmx512m
    -XX:NewRatio=2
    -XX:+LogVMOutput
    -XX:LogFile=C:/Program Files/glassfish-v2/domains/domain1/logs/jvm.log
    -cp
    C:/Program Files/glassfish-v2/lib/jhall.jar;C:\Program Files\glassfish-v2\lib\appserv-launch.jar
    com.sun.enterprise.server.PELaunch
    start
    Starting Sun Java System Application Server 9.1 (build b58g-fcs) ...
    MBeanServer started: com.sun.enterprise.interceptor.DynamicInterceptor
    CORE5098: AS Socket Service Initialization has been completed.
    CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_03] from [Sun Microsystems Inc.]
    SEC1002: Security Manager is OFF.
    C:/Program Files/glassfish-v2/domains/domain1/config/.__com_sun_appserv_pid
    ADM0001:SunoneInterceptor is now enabled
    SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
    WEB0114: SSO is disabled in virtual server [server]
    WEB0114: SSO is disabled in virtual server [__asadmin]
    ADM1079: Initialization of AMX MBeans started
    ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://WAGONTRACKER:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
    ADM1506: Status of Standard JMX Connector: Active = [true]
    autoDeployment status dir missing, creating a new one
    [AutoDeploy] Selecting file C:\Program Files\glassfish-v2\lib\install\applications\MEjbApp.ear for autodeployment.
    deployed with moduleid = MEjbApp
    [AutoDeploy] Successfully autodeployed : C:\Program Files\glassfish-v2\lib\install\applications\MEjbApp.ear.
    [AutoDeploy] Selecting file C:\Program Files\glassfish-v2\lib\install\applications\__ejb_container_timer_app.ear for autodeployment.
    deployed with moduleid = __ejb_container_timer_app
    [AutoDeploy] Successfully autodeployed : C:\Program Files\glassfish-v2\lib\install\applications\__ejb_container_timer_app.ear.
    [AutoDeploy] Selecting file C:\Program Files\glassfish-v2\lib\install\applications\__JWSappclients.ear for autodeployment.
    deployed with moduleid = __JWSappclients
    [AutoDeploy] Successfully autodeployed : C:\Program Files\glassfish-v2\lib\install\applications\__JWSappclients.ear.
    WEB0302: Starting Sun-Java-System/Application-Server.
    JBIFW0010: JBI framework ready to accept requests.
    No Principals mapped to Role [noaccess].
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
    SMGT0007: Self Management Rules service is enabled
    Application server startup complete.
    javax.ejb.EJB.description()Ljava/lang/String;
    Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [MyHello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
    at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
    Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
    at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
    at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:338)
    ... 10 more
    Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@14a4fd2
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
    at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
    ... 14 more
    Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
    at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
    ... 21 more
    javax.ejb.EJB.description()Ljava/lang/String;
    Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Hello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
    at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
    Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
    at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
    at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.open(ApplicationArchivist.java:238)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
    ... 10 more
    Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@6985a3
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
    at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
    ... 17 more
    Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
    at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
    ... 24 more
    javax.ejb.EJB.description()Ljava/lang/String;
    Exception occured in J2EEC Phasejava.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
    com.sun.enterprise.deployment.backend.IASDeploymentException: Error loading deployment descriptors for module [Hello] -- javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:390)
    at com.sun.enterprise.deployment.backend.AppDeployerBase.loadDescriptors(AppDeployerBase.java:358)
    at com.sun.enterprise.deployment.backend.AppDeployer.deploy(AppDeployer.java:226)
    at com.sun.enterprise.deployment.backend.AppDeployer.doRequestFinish(AppDeployer.java:148)
    at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
    at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
    at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
    at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
    at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
    Caused by: java.lang.IllegalStateException: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:363)
    at com.sun.enterprise.deployment.archivist.Archivist.readDeploymentDescriptors(Archivist.java:318)
    at com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:213)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.readModulesDescriptors(ApplicationArchivist.java:321)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.open(ApplicationArchivist.java:238)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:763)
    at com.sun.enterprise.deployment.archivist.ApplicationArchivist.openArchive(ApplicationArchivist.java:744)
    at com.sun.enterprise.deployment.backend.Deployer.loadDescriptors(Deployer.java:349)
    ... 10 more
    Caused by: javax.ejb.EJB.description()Ljava/lang/String;at com.sun.enterprise.deployment.annotation.AnnotationInfo@1fb580
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:360)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:368)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:282)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.processAnnotations(AnnotationProcessorImpl.java:264)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:192)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:129)
    at com.sun.enterprise.deployment.archivist.Archivist.processAnnotations(Archivist.java:445)
    at com.sun.enterprise.deployment.archivist.Archivist.readAnnotations(Archivist.java:346)
    ... 17 more
    Caused by: java.lang.NoSuchMethodError: javax.ejb.EJB.description()Ljava/lang/String;
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processNewEJBAnnotation(EJBHandler.java:276)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processEJB(EJBHandler.java:143)
    at com.sun.enterprise.deployment.annotation.handlers.EJBHandler.processAnnotation(EJBHandler.java:98)
    at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:119)
    at com.sun.enterprise.deployment.annotation.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:337)
    ... 24 more
    Initializing Sun's JavaServer Faces implementation (1.2_04-b20-p03) for context ''
    JBIFW0012: JBI framework startup complete.
    Please help me find the error and eliminate it.
    I am disgusted with it as i am stuck at this position for last 15 days.I have failed to find solution in google etc.
    Even the demo sample projects given in NetBeans are generating error messages.
    Please help...
    Yoodleyee

    >
    Please help me find the error and eliminate it.
    I am disgusted with it as i am stuck at this position for last 15 days.15 days on "Hello Anything" should never happen.
    Even the demo sample projects given in NetBeans are generating error messages.Somebody explain to me how JSF is making life "easy".
    There's a lot here.
    %

  • [SOLVED] Netbens Error with java openjdk7

    hi! i have a error with netbeans:
    [pablo@arch ~]$ netbeans
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x802067a9, pid=11781, tid=2165295936
    # JRE version: 7.0_21-b02
    # Java VM: OpenJDK Client VM (23.7-b01 mixed mode linux-x86 )
    # Problematic frame:
    # C [libGL.so.1+0x707a9] glXChooseVisual+0xaf69
    # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    # An error report file with more information is saved as:
    # /home/pablo/hs_err_pid11781.log
    # If you would like to submit a bug report, please include
    # instructions on how to reproduce the bug and visit:
    # http://icedtea.classpath.org/bugzilla
    /usr/share/netbeans/platform/lib/nbexec: línea 572: 11781 Abortado (`core' generado) "/usr/lib/jvm/java-7-openjdk/bin/java" -Djdk.home="/usr/lib/jvm/java-7-openjdk" -classpath "/usr/share/netbeans/platform/lib/boot.jar:/usr/share/netbeans/platform/lib/org-openide-modules.jar:/usr/share/netbeans/platform/lib/org-openide-util.jar:/usr/share/netbeans/platform/lib/org-openide-util-lookup.jar:/usr/share/netbeans/platform/lib/locale/boot_ja.jar:/usr/share/netbeans/platform/lib/locale/boot_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/boot_ru.jar:/usr/share/netbeans/platform/lib/locale/boot_zh_CN.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_ja.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_ru.jar:/usr/share/netbeans/platform/lib/locale/org-openide-modules_zh_CN.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_ja.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_ja.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_ru.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_pt_BR.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_ru.jar:/usr/share/netbeans/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-7-openjdk/lib/dt.jar:/usr/lib/jvm/java-7-openjdk/lib/tools.jar" -Dnetbeans.default_userdir_root="/home/pablo/.netbeans" -Dnetbeans.system_http_proxy="DIRECT" -Dnetbeans.system_http_non_proxy_hosts="" -Dnetbeans.dirs="/usr/share/netbeans/nb:/usr/share/netbeans/ergonomics:/usr/share/netbeans/ide:/usr/share/netbeans/java:/usr/share/netbeans/apisupport:/usr/share/netbeans/webcommon:/usr/share/netbeans/websvccommon:/usr/share/netbeans/enterprise:/usr/share/netbeans/mobility:/usr/share/netbeans/profiler:/usr/share/netbeans/python:/usr/share/netbeans/php:/usr/share/netbeans/identity:/usr/share/netbeans/harness:/usr/share/netbeans/cnd:/usr/share/netbeans/dlight:/usr/share/netbeans/groovy:/usr/share/netbeans/extra:/usr/share/netbeans/javacard:/usr/share/netbeans/javafx:" -Dnetbeans.home="/usr/share/netbeans/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-XX:MaxPermSize=384m' '-Xmx403m' '-client' '-Xss2m' '-Xms32m' '-XX:PermSize=32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' '-Dsun.awt.disableMixing=true' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/pablo/.netbeans/7.3/var/log/heapdump.hprof" org.netbeans.Main --userdir "/home/pablo/.netbeans/7.3" "--cachedir" "/home/pablo/.cache/netbeans/7.3" "--branding" "nb" 0<&0
    i am with netbeans 7.3-1  in 32bits , i try the "ulimit -c ulimited"  command and nothing happens and java version
    OpenJDK Runtime Environment (IcedTea 2.3.9) (ArchLinux build 7.u21_2.3.9-4-i686)
    OpenJDK Client VM (build 23.7-b01, mixed mode)
    java runs fine with other programs like Eclipse
    thank's, sorry my bad english
    Last edited by senjik (2013-06-15 20:25:29)

    Restored thread from dustbin.  It is not clear to me how it got there
    Senjik, Sorry for the inconvenience.  See my suggestions in my PM.
    ewaller

  • Odd error happening in "native code"

    Hey guys,
    This is the output I get from NetBeans:
    # An unexpected error has been detected by Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8b1115, pid=3980, tid=1432
    # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing windows-x86)
    # Problematic frame:
    # V  [jvm.dll+0x1115]
    # An error report file with more information is saved as:
    # C:\Users\Ralph\Documents\NetBeansProjects\ROV_Controller\hs_err_pid3980.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #I am ALMOST certain this is being caused by this library I'm using here (for Xbox controller input):
    http://www.aplu.ch/home/apluhome.jsp?site=36
    I say that because I believe after I implemented this library this error started popping up.
    Now, it doesn't happen ALL the time. It's quite random and hard to re-create. It really just happens at any random time it wants. This is starting to become frustrating, as when this occurs the entire program crashes. (Kinda not good).
    Any ideas?
    Thanks.

    He hasn't replied to my email and the forums on the official site of the library is in a different language.
    The file is rather long:
    Pastebin Link:
    [http://pastebin.com/m3df19ae|http://pastebin.com/m3df19ae]
    Thanks for any help.
    Edited by: Ralph23 on Jun 14, 2009 8:21 AM

  • Netbeans linking to java

    Hi! I installed netbeans bundled with J2SE 1.5.0 Update 2. Now as J2SE 1.5.0 Update 6 is available, I downloaded (i.e. only J2SE 1.5.0 Update 6) without Netbeans and installed it.
    I have also uninstalled J2SE 1.5.0 Update 2.
    Now when I start Netbeans ints giving error "java.exe" not found. I guess the compiler linked to Netbeans was from J2SE 1.5.0 Update 2, and as I have uninstalled it, I get this error.
    Can anyone please suggested a solution to my problem. May be there is a method to link Netbeans with J2SE 1.5.0 Update 6.

    edit netbeans.conf  and change netbeans_jdkhome
    netbeans-root-dir|
                                    | etc
    netbeans.conf
    # ${HOME} will be replaced by JVM user.home system property
    netbeans_default_userdir="${HOME}/.netbeans/4.1"
    # options used by netbeans launcher by default, can be overridden by explicit
    # command line switches
    netbeans_default_options="-J-Xms32m -J-Xmx128m -J-XX:PermSize=32m -J-XX:MaxPermSize=96m -J-Xverify:none"
    # default location of J2SE JDK, can be overridden by using --jdkhome <dir> switch
    netbeans_jdkhome="C:\jdk1.5.0_06"  <---------------> change it
    # clusters' paths separated by path.separator (semicolon on Windows, colon on Unices)
    #netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

  • Annotation Processing Error - Run vs Debug

    Hello,
    I'm trying to run the Converter Example (Chapter 21 of the Sun's JavaEE 5 Tutorial) with a difference: I've deleted the Enterprise application ("Converter") and I'm using the packages alone: one for the EJB (Converter-ejb) and the second is the App Client (Converter-app-client). No modifications yet. Both use simple (non decorated) annotations @EJB (in the app-client) and @Stateless and @Remote (in the ejb).
    All deployed OK. If you run the Converter-app-client in the Netbeans (version 5.5 - "run main project" command - F6) the
    AppServer (SunJavaSystemAppServer 9.01) issues the folloing exceptions:
    "Class [ Lcom/sun/tutorial/javaee/ejb/ConverterRemote; ] not found. Error while loading [ class com.sun.tutorial.javaee.ejb.ConverterClient ]"
    "Error in annotation processing: java.lang.NoClassDefFoundError: Lcom/sun/tutorial/javaee/ejb/ConverterRemote;"
    The "Converter-app-client (run)" tab window shows the following exception:
    "java.lang.NullPointerException"
    If you run with "Debug Main Project (F5)", the server issues the same errors, but runs the program ok and you can see it's
    results in the "Converter-app-client (debug)" tab window.
    So:
    What's the difference? Why it runs with "debug" and not in "run"?
    After reading many articles, forum, etc it seems to me that It shouldn't issue any "Error in annotation processing".I've
    tried to use the annotation's (name="xxx") and (mappedName="xxx") with no success. Tried also using the files "sun-*.xml" as instructed in the Glassfish EJB FAQ's.
    Any help will be very appreciated.
    Thanks in advance,
    Marcos

    It seem that it's an Netbean 5.5 error.
    This example application (very similar) runs ok (outside Netbeans)
    https://glassfish.dev.java.net/javaee5/ejb/examples/Sless.html
    Comparing the apps, it seems that Netbeans is not packing the AppClient correctly, dropping the remote interfaces of the referred beans.

Maybe you are looking for

  • Email bursting without attachment

    Dear all, while using email bursting to send out bi report, we have to provide a sql. my sql statement is here: select distinct Operation."Market Director (MD)" KEY, 'Standard' TEMPLATE, 'RTF' TEMPLATE_FORMAT, 'en-US' LOCALE, 'PDF' OUTPUT_FORMAT, 'EM

  • I have a 10.5 how do i get lion?

    i want to upgrade to a lion. what do i need to do

  • I need to get IDOC number

    I uploaded file and its visibling with transaction AL11 and i gone to RWB and stop & started channel file got picked. Now i need that IDOC number how i can get it? Please help me.

  • SMQ2, Product Categories and Materials

    Hello, I am working on SRM 5.0 in ECS and I have an issue regarding the update of Product Categories from ECC. Actually, the initial load worked properly but the update does not work. In SRM, when I look at SMQ2 queue list, I have many entries, most

  • Problems with the Galaxy Nexus

    I upgraded to the Galaxy Nexus – your flagship device.  It now has a whole laundry list of known, critical issues.  You're holding the Android software update that will fix these known problems but you won't release it.  After 5 months, still no fix.