Netbeans 7 modules system

Hi,
I started a new "netbeans platform application" on the new Netbeans 7 and having a little strange problem:
1. created a new netbeans platform application
2. created the first module
3. create an "installer" class
4. on the installer class override the restored method
The problem is with the override restored method, I can't output messages, for example:
@Override
public void restored(){
System.out.println("test 123");
the code above doesn't output the message, witch means i can't output error messages.
I think everything is ok with the manifest and project file. i done the exact same thing with netbeans 6 and it works without any problems
I also tried both jdk 6 and 7 (early release).
Can't find anything about this on the net.
Any help is appreciated. Thanks.
Hugo

Perhaps the Netbeans community is a better place to scout around for answers? Chances are slim you'll get an answer in a generic java programming forum, unless someone just happens to have done the same thing as you.
http://netbeans.org/community/lists/index.html
That being said, are you sure that the restored method is even being called? It seems like something that would be invoked if you minimize and then restore the application window.

Similar Messages

  • Netbeans module for JAWS doesn't know security section in JNLP file

    Hello guys,
    i'm making a program that is launched by Java Web Start.
    I'm using the Netbeans IDE.
    And I'm using the Java Web Start module for Netbeans (0.8.2.4.2.4), which provides me some handy menu shortcuts for starting Tomcat etcetra. The module also provides a GUI form for making the JNLP file, and if you make changes by hand, these changes are reflected in that form.
    Now, when I add this to the JNLP:<security>
      <all-permissions/>
    </security>the module warns: "Could not parse the document" and it regenerates the JNLP file from the data in the form. So the "security" section disappears. In the form, there is no place to let the module include the "security" section.
    Anyone encountered the same problem? Some workarounds?
    Anyone having success using the Netbeans module for Java Web Start and a "security" section?
    Of course I can build and then change the JNLP afterwards but that's not handy.

    Andrew thank you for your time...
    I think that page only shows a design that is not yet implemented, at least not in Netbeans 5.5 which currently is the latest release.
    Currently the JAWS options are not in the "Project Properties" dialog. They're in some visual JNLP editor, and there is a menu for enabling, running, debugging and deploying the project with JAWS.
    It seems like the only thing to do is wait for Netbeans having better JAWS support. In the meantime, work around the shortcomings of the module or don't use the module.

  • Using netbeans module project in applet

    Hi,
    I just wondering, is it possible to use a netbeans module project inside of an java applet project. If yes, how can i do this.
    best wishes,
    ufuk

    Hi Dorhyz,
    Please try to use suffix 1 in port number. like if your server port number is 50000 then 50001.
    https://domine:50001/web.com/file.jsp
    Refer to http://wiki.sdn.sap.com/wiki/display/EP/Convertinghttpto+https
    Hope it will helps
    Regards
    Arun Jaiswal

  • NoClassDefFoundError: org/netbeans/modules/achema2beans\BaseBean

    I use sun application server version 8 to build my MDB but after I face the buttom error. I try to implement simple message sender and receiver again I get this error:
    Oct 6, 2005 2:51:35 PM com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1519"
    Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/modules/schema2beans/BaseBean
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
            at com.sun.enterprise.connectors.ConnectorAdminServicesFactory.getService(ConnectorAdminServicesFactory.java:35)
            at com.sun.enterprise.connectors.ConnectorRuntime.createServices(ConnectorRuntime.java:109)
            at com.sun.enterprise.connectors.ConnectorRuntime.getRuntime(ConnectorRuntime.java:71)
            at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:55)
            at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
            at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
            at javax.naming.InitialContext.lookup(Unknown Source)
            at myMessages.QueueSender.main(QueueSender.java:36)I set my Destination resource and Connection factory and also I add jms.jar,imq.jar and j2ee.jar in my classpath but I don't know why I get this error please help me
    thanx

    I RUN it, the problem is that I forgot to deploy them after I create 2 lovly App client jar I deployed them.
    :)

  • Netbeans Modules vs Netbeans 6.0

    Hi,
    I'm preparing a demo for Netbeans Conference in Poland (Netbeans RoadShow Poland) about Java Real Time Systems. I will talk about JRTS but at the end (since it is NB conference) I would like to show some examples in action developed and deployed on Netbeans.
    I found this module pack http://www.netbeans.org/kb/articles/java-rts.html but after trying installing all of the three modules that where inside modulepack one of them could not be installed on Netbeans 6.0. I've checked requirements and it is said :
    * NetBeans 5.0
    * JDK 5.0
    * 8 MB of available space to install the modules
    So right now I'm downloading Netbeans 5.5 but I think it would be ncier to show it on latest version of Netbeans. Did any of you encountered this problem? Maybe authors of the plugin are here?
    Any help will be appreciated
    Paul Szulc

    Sorry - Updated modules for NB 6 are in the pipeline but not available yet.
    David Holmes

  • IDSM2 Module system version 6.x

    Hi all,
    I am going to install an ISDM2 module in my cat6509 switch but I want to upgrade the System image first. I am looking at the following versions:
    6.0(2)E1
    or
    5.1(5)E1
    Do you know which one is more stable? or is there any reason why I would user 6.x rather than 5.x?
    Regards

    Both versions are fairly stable. Most bugs affecting 5.1(5)E1 also affect 6.0(2)E1 and vice versa, since both are running the E1 engine analysis code.
    If this is your first sensor installation go ahead and ho with 6.0(2)E1 is my recommendation. The 6.0 train has the latest features like virtual sensors. And new features will come out in later 6.x versions.
    You will also be figuring out how to manage the sensor and what management products to use. By starting with a 6.0 sensor you can have better assurances that your choices for management stations now will be supported for much longer than management stations that were geared for 5.x sensors and released a year or 2 ago. You don't want to have to get 5.x up and running, only to have to upgrade to 6.x in a year and redo all of your management station qualification testing.
    If you already have 5.1 sensors and have specifically qualified 5.1 to work on your network, then go with 5.1(5)E1. You would already have tested 5.1(5)E1 to work with your existing management station, and putting 5.1 on the sensor would allow you to easily role it into your existing framework.
    So if you are a new user I would start with 6.0 and only revert to using 5.1 if you happen to come across one of the few issues specific to 6.0 sensors.
    Marco

  • After updating kernel and ZFS modules, system cannot boot

    Starting Import ZFS pools by cache file...
    [ 4.966034] VERIFY3(0 == zap_lookup(ddt->ddt_os, ddt->ddt_spa->spa_ddt_stat_object, name, sizeof (uint64_t), sizeof (ddt_histogram_t) / sizeof (uint64_t), &hht->ddt_histogram[type][class])) failed (0 == 6)
    [ 4.966100] PANIC at ddt.c:124:ddt_object_load()
    [*** ] A start job is running for Import ZFS pools by cache (Xmin Ys / no limit)
    And then occasionally I see
    [ 240.576219] Tainted: P O 3.19.2-1-ARCH #1
    Anyone else experiencing the same?

    Thanks!
    I did the same and it worked... kind of. The first three reboots it failed (but did not stop the system from booting) producing:
    zpool[426]: cannot import 'data': one or more devices is currently unavailable
    systemd[1]: zfs-import-cache.service: main process exited, code=exited, status=1/FAILURE
    The second boot also resulted in a kernel panic, but as far as I can tell unrelated to zfs.
    After reboot one and three imported the pool manually.
    From the fourth reboot on loading from cache file always succeeded. However, I it takes faily long (~8 seconds) and even shows
    [*** ] A start job is running for Import ZFS pools by cache (Xmin Ys / no limit)
    briefly. Altough I might only notice that because the recent updates sped up oder parts of the boot process. Did you observe a slowdown during boot time, too, kinghajj?
    Last edited by robm (2015-03-22 01:21:05)

  • How to Install the Downloaded NetBeans(*.nbm) Modules for Sun Java Studio

    Dear All,
    I have downloaded NetBeans Modules files with Extension *.nbm, and they are not getting installed, when I double click on them, or if I go through the Update Center and Select the Downloaded Modules even then also they are not getting installed, so please tell me the procedure how to install them.
    mahesh.

    It would be helpful to know which version of Java SE you are using, what NetBeans modules are you attemping to install, and any pertinent error messages that arise when you try to install the modules. As Jin_B pointed out, check the system/ide.log file in your .jstudio directory for possible error messages.

  • JavaFX in a netbeans NBM module

    Does anyone have an example that uses javafx in a netbeans module. JavaFX and the Netbeans platform could be a strong combination.

    Please goto [http://java.dzone.com/tips/javafx-11-linux-netbeans]
    You can debug JavaFX on Linux.

  • Cant run program using modules in Netbeans

    Hi all,
    I wrote a program using netbeans modules and I can't run it,
    Does anyone knows why?
    I even tried to run it using CLI commands by moving to the directory where the jar file located and write the command:
    java -jar <file package> but I got the following error :
    Execption in thread "main" java.lang.NoClassDeFoundError: /org/jdesktop/layout/GroupLayoutGroup.
    Can someone please help me with this issue?

    no clue???????????

  • Problem with netbeans UML module

    I have downloaded the UML module from the plug-in section. While it was installing it couldn't find several files related to UML module and when I try to activate the UML module it gives an error like:
    Activation failed. Not all requested modules can be enabled. [StandardModule:org.netbeans.modules.uml.kit jarFile: C:\Program Files\NetBeans 6.0.1\uml4\modules\org-netbeans-modules-uml-kit.jar]
    Required modules for plugin UML to complete activation:
    module org.netbeans.modules.uml/1 > 1.1
    module org.netbeans.modules.uml/1 > 1.2
    module org.netbeans.modules.uml/1 > 1.2.2
    How can I solve this problem?

    Hi ,
    Iam using the following code
    WA_MAILDATA-obj_descr = IS_BACKMON-Message_Subject.
    *Collect the mailid and reciver type to send an email
      WA_RECEIVER-receiver = 'Emailid'.
       WA_RECEIVER-rec_type  = 'U'.
       WA_RECEIVER-com_type = 'INT'.
       APPEND WA_RECEIVER to i_RECEIVER.
    *Display the context of the message
      is_contents_txt = IS_BACKMON-Message_Body.
      APPEND is_contents_txt to i_contents_txt.
      clear is_contents_txt.
    *Send an Email to a Particular person
      call function 'SO_NEW_DOCUMENT_SEND_API1'
           exporting
                document_data              =  WA_MAILDATA
               document_type              = 'HTM'
                put_in_outbox              = c_flag
                commit_work                = c_flag
           tables
               object_header              = I_MESSAGE
                OBJECT_CONTENT              = i_contents_txt
                receivers                  = i_RECEIVER
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
      if sy-subrc  eq 0.
    *Submit after the function module is successful
        SUBMIT rsconn01 WITH mode = c_int
                       WITH output = ' '
                       AND RETURN.

  • How uninstall a Netbeans 5.5 module manually?

    hi everyone,
    i have installed the VCS Generic Source Save module for Netbeans 5.5 using the online updater the IDE has.
    when i was configuring it, maye i put something wrong in the path of my MS Source Safe, so when i restar the IDE i had an error that crashes my Netbeans.
    So i uninstall Netbeans, then reinstall it, but is still giving me the error, i figure out that the module is still installed, HOW CAN I REMOVE IT? i tryed going to the Netbeans directory and i�ve found some directorys called modules in the IDE7 directory and i�ve found in there some modules called "org-netbeans-modules-versioning.jar" i delete it, but i can�t get out of the ERROR, can someone please help me? i just need to uninstall this module manually.
    thanx

    You can copy them using your favorite file manager or command line.
    If you want to do it in the IDE, then, open the favorites tab (Menu/Window/Favorites) , find the files, then copy/cut/paste or drag them to your project.
    What is a dynamic file anyway?

  • Not able to access javaFx charts from a remote system after using ext. jars

    We are facing following issue. Any recommendations to resolve these issues are highly appreciated.
    1. Not able to access javaFx charts from a remote system (More details at the end of mail).This is high priority requirement as we have a web based reporting application and users access it over our static IP address.
    We are using Java Fx charts in our web application where we built jnlp and jar files in a separate fx project and kept jar and jnlp’s inside our web project.
    It is working fine when we did not used any external jar files and remotely it is accessible. But when we used external jars our project is running on local
    system but remotely it is not working due to some path settings. We modified jnlp files where entry of jar files exists and modified the jar path as per our
    project. But still it did not work.
    Before using external jars inside our java fx project my jnlp looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/" href="JavaFXApplication3.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
    <jar href="JavaFXApplication3.jar" main="true"/>
    </resources>
    <application-desc main-class="com.sun.javafx.runtime.main.Main">
    <argument>MainJavaFXScript=misc.Test</argument>
    </application-desc>
    <update check="background">
    </jnlp>
    After modifying my jnlp as per my project as
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3_browser.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="/PiFx/FxFiles/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
    <jar href="/PiFx/FxFiles/JavaFXApplication3.jar" main="true"/>
    </resources>
    <applet-desc name="JavaFXApplication3" main-class="com.sun.javafx.runtime.adapter.Applet" width="500" height="500">
    <param name="MainJavaFXScript" value="misc.MyChart">
    </applet-desc>
    <update check="background">
    </jnlp>
    After adding external jars my jnlp looks like this :
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/" href="JavaFXApplication3.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
    <jar href="JavaFXApplication3.jar" main="true"/>
    <jar href="lib/jdom.jar"/>
    </resources>
    <application-desc main-class="com.sun.javafx.runtime.main.Main">
    <argument>MainJavaFXScript=misc.Test</argument>
    </application-desc>
    <update check="background">
    </jnlp>
    I have modified the jnlp as per my project :
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3_browser.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="/PiFx/FxFiles/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
    <jar href="/PiFx/FxFiles/JavaFXApplication3.jar" main="true"/>
    <jar href="/PiFx/FxFiles/lib/jdom.jar"/>
    </resources>
    <applet-desc name="JavaFXApplication3" main-class="com.sun.javafx.runtime.adapter.Applet" width="500" height="500">
    <param name="MainJavaFXScript" value="misc.MyChart">
    </applet-desc>
    <update check="background">
    </jnlp>
    where PiFx is our project Name

    We have tried few things given in thread : http://forums.sun.com/thread.jspa?threadID=5401999
    Now it is not able to get the external jar file only
    exception: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar.
    java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
         at com.sun.deploy.net.DownloadEngine.getCachedResourceFilePath(Unknown Source)
         at com.sun.javaws.LaunchDownload.getSignedJNLPFile(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDescHelper(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDesc(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
    exception: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar.
    java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
         at com.sun.deploy.net.DownloadEngine.getCachedResourceFilePath(Unknown Source)
         at com.sun.javaws.LaunchDownload.getSignedJNLPFile(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDescHelper(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDesc(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
    JavaFXApplication3.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3.jnlp">
        <information>
            <title>JavaFXApplication3</title>
            <vendor>Saurabh</vendor>
            <homepage href="/PiFx/FxFiles/"/>
            <description>JavaFXApplication3</description>
            <offline-allowed/>
            <shortcut>
                <desktop/>
            </shortcut>
        </information>
        <resources>
            <j2se version="1.5+"/>
            <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
            <jar href="/PiFx/FxFiles/JavaFXApplication3.jar" main="true"/>
            <jar href="/PiFx/FxFiles/lib/jdom.jar" main="true" />
        </resources>
        <application-desc main-class="com.sun.javafx.runtime.main.Main">
            <argument>MainJavaFXScript=misc.MyChart</argument>
        </application-desc>
        <update check="background">
    </jnlp>JavaFXApplication3_browser.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3_browser.jnlp">
        <information>
            <title>JavaFXApplication3</title>
            <vendor>Saurabh</vendor>
            <homepage href="/PiFx/FxFiles/"/>
            <description>JavaFXApplication3</description>
            <offline-allowed/>
            <shortcut>
                <desktop/>
            </shortcut>
        </information>
        <resources>
            <j2se version="1.5+"/>
            <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
           <jar href="/PiFx/FxFiles/JavaFXApplication3.jar"  main="true"/>
            <jar href="/PiFx/FxFiles/lib/jdom.jar" main="true"/>
        </resources>
        <applet-desc name="JavaFXApplication3" main-class="com.sun.javafx.runtime.adapter.Applet" width="500" height="500">
            <param name="MainJavaFXScript" value="misc.MyChart">
        </applet-desc>
        <update check="background">
    </jnlp>Applet Code
    javafx({
    archive: "../FxFiles/JavaFXApplication3.jar",
    draggable: true,
    height:hgt,
    width:wdt,
    code: "misc.MyChart",
    name: appletName,
    id: appletName
    });

  • How to install the Netbeans?

    Hello...
    The present is so that they help me with the installation of the Netbeans, my problem is the following one:
    I want to program in Java with all that offers me the J2EE platform, but when I go to will install the Netbeans it requests me the Virtual Machine (JVM) and it requests me SDK (JDK), but the J2EE include the JDK, therefore my problem is that I want to know like I can install the Netbeans if to have to install the JDK and in that way to save me spaces in the Disk.
    My other problem is that the Netbeans includes the Tomcat, but the Tomcat that includes the alone Netbeans it can be manipulated by the Netbeans (that is to say to run and to turn off the Tomcat; and it is not even necessary to keep the files since in the webapps Folder, the Netbeans It makes all that for us), I find that very well, because that makes that the Netbeans is a program that it facilitates the programming in Java, but if suddenly I want to make a program in which I have to make everything, that is to say that myself is the one that the Tomcat manipulates and not the Netbeans. In other words my problem it is that if I want to manipulate the Tomcat directly, then I have to install it apart from the Netbeans, although the Netbeans includes it and to use unnecessary space in the Disk?
    I hope you give me an answer.

    It would be helpful to know which version of Java SE you are using, what NetBeans modules are you attemping to install, and any pertinent error messages that arise when you try to install the modules. As Jin_B pointed out, check the system/ide.log file in your .jstudio directory for possible error messages.

  • Sun Java System Application Server could not start

    Hi
    I have installed JDK1.5 Update1 + netbeans 5.5 with the JBOSS bundle and added the Sun Java System Application Server 9.1.02.
    I am creating the EJB-JMS application described at
    http://www.netbeans.org/kb/55/ejb30.html
    All the steps are followed properly, but while running the project i get the error
    The Sun Java System Application Server could not start.
    More information about the cause is in the Server log file.
    Possible reasons include:
    - IDE timeout: refresh the server node to see if it's running now.
    - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
    - Incorrect server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    - Invalid installation location.
    D:\MyNBProjects\EJBAPP1\nbproject\build-impl.xml:183: Deployment error:
    The Sun Java System Application Server could not start.
    More information about the cause is in the Server log file.
    Possible reasons include:
    - IDE timeout: refresh the server node to see if it's running now.
    - Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
    - Incorrect server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    - Invalid installation location.
    See the server log for details.
    BUILD FAILED (total time: 5 minutes 3 seconds)

    Hi Roman,
    Sorry for the long wait....
    In the mean time I have downloaded NB6.1 (final Release) and JDK 1.6.0_04,added the sjsas-9_1_02 to NB6.1, all are in D:\javak (where previous setup of NB5.5 and jdk1.5 and SJSAS-9_1_02 is AS IS in D:\java)
    Current Scenario:
    Product Version: NetBeans IDE 6.1 (Build 200805300101)
    Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
    System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
    Userdir: D:\Documents and Settings\kedar\.netbeans\6.1
    Now, when i try to Run the SAME code i get the following error:
    Created dir: D:\ProjectsNB\EJBAPP1\dist
    Building jar: D:\ProjectsNB\EJBAPP1\dist\EJBAPP1.ear
    post-dist:
    dist:
    pre-run-deploy:
    Initial deploying EJBAPP1 to D:\ProjectsNB\EJBAPP1\dist\gfdeploy
    Error during incremental deploy: java.lang.NullPointerException
    Start registering the project's server resources
    Finished registering server resources
    java.lang.NullPointerException
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.getFileArchive(DirectoryDeploymentFacility.java:264)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:168)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor112.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)
    java.lang.IllegalStateException: cannot find FileArchive class...
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor112.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)
    Deployment error:
    cannot find FileArchive class...
    See the server log for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor112.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: java.lang.IllegalStateException: cannot find FileArchive class...
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:194)
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
    at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
    at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
    ... 16 more
    Caused by: java.lang.IllegalStateException: cannot find FileArchive class...
    at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
    ... 20 more
    BUILD FAILED (total time: 9 seconds)
    Thanks,
    Kedar.

Maybe you are looking for

  • I updated to Yosemite and now I can't restart my macbook air

    since the update i found that my macbook started lagging a lot more than it used to, but now it can't even be restarted or switched off. Everything disappears except the icons at the bottom of the screen and then nothing happens. Pressing the switch

  • Installing newly downloaded .exe file

    my laptop is brand new - how come i cant get any .exe file to run and install? download went fine - when i clck run nothing happens - when itry to delete the .exe file it says it cant because installIQ is busy with it. even hours later on a 11 MB ins

  • Why does Final Cut crash right after I select the effects tab?

    Every time i'm using Final Cut and I select the effects tab the whole thing just crashes. Everything else works fine. I've had the program installed now for over year with very little trouble and now I can't use it without it crashing. I have no idea

  • Deny traffic by vrf - acl?

    Hello, I have a service provider network with multiple public vrfs and some private vpns also.  We liked the design of this it seemed to keep the public routing completely separate from the core routing.  However it seems there is an awkward do to sh

  • [SOLVED] where is /dev/null ?

    I need to supress "make" output in arch, in debian-based distro I used to make it via "make &> /dev/null" command, but can't find this in arch, where is /dev/null? Last edited by tasty_minerals (2011-06-01 19:48:35)