-Djava.ext.dirs

Hello,
I'm trying to get some Java code that used to run on 1.4 to run using the 1.5 JDK now. In the batch file that starts the program the -Djava.ext.dirs command is used.
-Djava.ext.dirs=%JAVA_HOME%\lib
There are a few other directories on the list of jars that are specific to the program. The problem is in 1.5 this seems to grab more then just jars. The 1.5 JDK had .idl files in the lib directory along with the jar files now and the -Djava.ext.dirs includes teh .idl files into the classpath.
Durring run time it tries to unzip the files in the classpath and starts throwing errors when it can't unzip the .idl files.
error: error reading C:\Program Files\Java\jdk1.5.0_03\lib\ir.idl; java.util.zip.ZipException: error in opening zip file
Now is there any good documentation on that java.ext.dirs command? I tried removing that particular directory from the java.ext.dirs command using the -cp command to add the 4 jar files in there manualy, but it doesn't seem to see them. It appears maybe java.ext.dirs is writting over the -cp.
Also can I some how tell the java.ext.dirs to only get jar files otherwise I might have to add all 30+ jar files to the classpath individually because the command keeps picking up small things like CVS tracker files.
Anyone have a clean solution to this problem?
Thanks.

I'm pretty new to Java but isn't ant for compiling
your files... not sure how I could use ant to run a
class...Yes, that's correct.
>
Sorry about not being really clear about this but my
batch file uses the java <class> to start up a web
server which will later on invoke jsp pages which
requires using the javac compiler so I'm not exactly
sure how ant would fit in. The code I wrote is
compiled into classes and ziped into a jar already.If this is a Web app, you should have those JARs in the WEB-INF/lib directory for your Web app.
%

Similar Messages

  • The impact of java.ext.dirs and XMX settings to a JVM

    Hello,
    I've been using a XMX setting of 3800M for a particular JVM running a particular task.
    However, if I pass the -Djava.ext.dirs option, and point it to some directories, the JVM fails for the same task I've been running in my first run.
    truss output appears to show the failure occurring during mmap() resulting in ENOMEM.
    The question is, under what condition would java.ext.dirs change the behavior of my XMX setting? If it take it out, it runs fine.
    Java version: 1.4.1, SunOS Sparc

    This sounds like a problem I had a while ago that stumped me for several days.
    If your class with the "main" method is loaded from the extensions directory (java.ext.dirs), it appears that a special classloader is used to do that, not the standard classloader that looks in the classpath. This special classloader appears to ignore the classpath and look only in the extensions directory. Also, the JVM appears to try this classloader before the standard classloader.
    Now, when one class wants to load another class, it always uses the classloader that loaded it to load that other class (unless you specifically write your program to use some other classloader). So what is happening to you is this: The "extensions classloader" loads your class with the "main" method, because it can. Then your "main" method tries to load another class, but it uses the "extensions classloader" to do that. And the "extensions classloader" doesn't look in the classpath, and what you saw is what you got.
    At least the answer to your problem is clear: Don't do that.

  • Setting java.ext.dirs property at start-up vs. runtime

    I've been trying to invoke an input method (based on Java IMF). I'd like to place a lang_im.jar file, packaged as installed extensions, at an arbitrary directory, say, C:/foo, other than lib/ext to bypass system security/privilege issues that prevent one from copying lang_im.jar into lib/ext. I found that setting "java.ext.dirs" system property at start-up time, e.g.,java -Djava.ext.dirs=C:/foo -jar myprogram.jarallowed me to activate the input method, but setting it at runtime by placingSystem.setProperty("java.ext.dirs", "C:/foo");at the top of main() changed the extension directory but did not load the installed extension at the specified directory. Apparently, the extension mechanism behavior varies in the cases of before and after classloading, I guess.
    How can I make it so that setting the property at runtime will work the same as at start-up? Thanks.
    Quan

    Can anyone help?

  • Does java.ext.dirs have any influence on the heap XMX setting?

    Hello,
    I've been using a XMX setting of 3800M for a particular JVM running a particular task.
    However, if I pass the -Djava.ext.dirs option, and point it to some directories, the JVM fails for the same task I've been running in my first run.
    truss output appears to show the failure occurring during mmap() resulting in ENOMEM.
    The question is, under what condition would java.ext.dirs change the behavior of my XMX setting? If it take it out, it runs fine.
    Java version: 1.4.1, SunOS Sparc

    If it causes things to be loaded that wouldn't otherwise be loaded.
    I assume the fairure you're getting is related to memory? you didn't say.

  • Getting the runtime environment to see packages in the jre/lib/ext dir

    I've downloaded mysql-connector-java-3.0.6-stable-bin.jar so that i can connect to a mysql database. I can use it fine from tomcat, but when I try and write stand alone stuff I get
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:140)
    at WebUtils.DatabaseConnection.Query(DatabaseConnection.java:27)
    at AddToDatabase.main(AddToDatabase.java:13)
    I suspect it could be a classpath related error but I have no idea how to fix it, or even how to set the classpath or view it's current value.
    Any ideas,
    Pete

    I've downloaded
    mysql-connector-java-3.0.6-stable-bin.jar ...Can we assume you've put it on the JDK/jre/lib/ext dir ?
    I suspect it could be a classpath related error but I
    have no idea how to fix it, or even how to set the
    classpath or view it's current value.Which OS are you using ?
    Rafael

  • -Dfile.path -Djava.endorsed.dirs

    Hi,
    I am running a jar file from the command line in Windows.
    java -Dfile.path=C:\sandbox -Djava.endorsed.dirs=..\ -cp ..\xml-apis.jar; .....
    What does -Dfile.path and -Djava.endorsed.dirs do?
    I ask because I want to run the run the jar from the embeded java app.
    Thanks,
    Bones
    Edited by: bonekrusher on Apr 22, 2008 7:34 AM

    java.endorsed dirs was trivial to find.
    [Google: java.endorsed.dirs|http://www.google.com/search?hl=en&q=java.endorsed.dirs]
    file.path appears to be non-standard, at least in 1.4.

  • Changing java.ext.dirs property

    Hi,
    I am having trouble with the system property java.ext.dirs. I want to change its location. The name suggests (dirs) that it will accept multiple directories. The reason I want multiple directories is to be able to use the jars in the default location as well. But it doesn't work and gives the following error:
    java.lang.NoClassDefFoundError: somepath/some_application
         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 java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Is there any way I could add another directory instead of replacing the default one.
    Also, I have to manually create a directory if I want lib/ext to point at another location. Is there any way to tell jre to create the directory if it doesn't already exist.
    Thanks.
    -jas

    Hi There,
    Linux Red Hat 5 EL
    JVM 1.5
    Anyone knows of an optional to define environment variable to override / append to the ext path? I'm asking because I have an installation that include a whole bundle of 3rd party jar's. I would like to have this available to all components of the system without me having to add the "-D" flag to each JVM launched.
    I already have a script that defines JAVA_HOME and alike on system startup using /etc/profile.d and I would like to add to that my custom ext definition, something like export JAVA_EXT_PATH="/opt/MyProduct/java-ext"
    Reference article : http://today.java.net/pub/a/today/2005/04/26/extending.html
    Thank you,
    Maxim.
    // I know this is a historical post, but perhaps some one found a solution

  • Problem in running a class inside java_home/jre/lib/ext

    I have a class file.
    I compiled the class and packaged it to a jar file .
    Then i place the jar file at java-home/jre/lib/ext
    Now when i try to run this file it shows a NoClassDefFoundError
    Do i need to set the path in some .properties files.???
    please help me out....

    i think its to do with setting the
    java.ext.dirs path
    if i compile it with like
    java -Djava.ext.dirs=D:\jdk\jre\lib\ext Testthen it works and shows the Classloader as "ExtClassLoader"
    But this is a run time setting.
    How can i set this property "java.ext.dirs" permanently.

  • Error in starting the domain in application server 8.2

    I want to deploy a application EAR on newly created domain. For this :
    1. Got the 8.2 Java application server installed on solaris box.
    2. Created domain using the asadmin command -> create-domain --adminport 4848 --adminuser admin <DOMAIN_NAME>
    On starting the domain with this command - sh asadmin start-domain --user admin <DOMAIN_NAME. I am facing the below issue. Please note this is a fresh installation of the app server and a new domain
    To troubleshoot this, I have already followed below steps , without any resolution:
    1. Checked port with - netstat -an|grep 45184 and also checked the processes using ps -fu <unix_user>. Even after killing the process, same error.
    2. Gave full permissions on /AppServer8.2/imq/var/instances
    3. Logged in as root user and then tried to start domain
    4. Updated domain.xml with some other port , checked this port if it is free , then replaced in domain.xml
    5. No logs generated in /AppServer8.2/imq/var/instances
    Please help me in resolving this issue. I have downloaded the 9.1 application server and will install and check in the meantime
    [#|2013-07-29T14:14:34.067+0530|INFO|sun-appserver-pe8.2|javax.enterprise.tools.launcher|_ThreadID=10;|
    /usr/j2se/bin/java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/logs/server.log
    -Djava.endorsed.dirs=/PostCUG_Track1/AppServer8.2/lib/endorsed
    -Djava.security.policy=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/server.policy
    -Djava.security.auth.login.config=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/keystore.jks
    -Djavax.net.ssl.trustStore=/PostCUG_Track1/AppServer8.2/domains/MPCBebk/config/cacerts.jks
    -Djava.ext.dirs=/usr/j2se/jre/lib/ext:/PostCUG_Track1/AppServer8.2/domains/MPCBebk/lib/ext:/PostCUG_Track1/AppServer8.2/derby/lib
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=MPCBebk
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=/PostCUG_Track1/AppServer8.2/domains/MPCBebk
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=MPCBebk
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=/PostCUG_Track1/AppServer8.2/config
    -Djava.library.path=/usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc:/usr/j2se/jre/../lib/sparc:/PostCUG_Track1/AppServer8.2/lib:/usr/lib/lwp:/PostCUG_Track1/AppServer8.2/lib:/usr/lib/lwp:/usr/j2se/jre/lib/sparc/client:/usr/j2se/jre/lib/sparc:/usr/j2se/jre/../lib/sparc:/PostCUG_Track1/AppServer8.2/lib:/PostCUG_Track1/AppServer8.2/lib:/PostCUG_Track1/AppServer8.2/lib:/opt/CA/SharedComponents/lib:/usr/lib
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    /PostCUG_Track1/AppServer8.2/lib/appserv-rt.jar:/usr/j2se/lib/tools.jar:/PostCUG_Track1/AppServer8.2/lib/j2ee.jar:/PostCUG_Track1/AppServer8.2/lib/activation.jar:/PostCUG_Track1/AppServer8.2/lib/mail.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-cmp.jar:/PostCUG_Track1/AppServer8.2/lib/admin-cli.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-admin.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-jstl.jar:/PostCUG_Track1/AppServer8.2/lib/commons-launcher.jar:/PostCUG_Track1/AppServer8.2/lib/commons-logging.jar:/PostCUG_Track1/AppServer8.2/lib/j2ee-svc.jar:/PostCUG_Track1/AppServer8.2/lib/jaxr-api.jar:/PostCUG_Track1/AppServer8.2/lib/jaxr-impl.jar:/PostCUG_Track1/AppServer8.2/lib/jaxrpc-api.jar:/PostCUG_Track1/AppServer8.2/lib/jaxrpc-impl.jar:/PostCUG_Track1/AppServer8.2/lib/dom.jar:/PostCUG_Track1/AppServer8.2/lib/relaxngDatatype.jar:/PostCUG_Track1/AppServer8.2/lib/jax-qname.jar:/PostCUG_Track1/AppServer8.2/lib/saaj-api.jar:/PostCUG_Track1/AppServer8.2/lib/saaj-impl.jar:/PostCUG_Track1/AppServer8.2/lib/xsdlib.jar:/PostCUG_Track1/AppServer8.2/lib/jmxremote.jar:/PostCUG_Track1/AppServer8.2/lib/jmxremote_optional.jar:/PostCUG_Track1/AppServer8.2/lib/jsf-api.jar:/PostCUG_Track1/AppServer8.2/lib/jsf-impl.jar:/PostCUG_Track1/AppServer8.2/lib/rmissl.jar:/PostCUG_Track1/AppServer8.2/lib/xalan.jar:/PostCUG_Track1/AppServer8.2/lib/xercesImpl.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-upgrade.jar:/PostCUG_Track1/AppServer8.2/lib/appserv-ext.jar:/PostCUG_Track1/AppServer8.2/lib/install/applications/jmsra/imqjmsra.jar:/PostCUG_Track1/AppServer8.2/imq/lib/jaxm-api.jar:/PostCUG_Track1/AppServer8.2/imq/lib/fscontext.jar:/PostCUG_Track1/AppServer8.2/lib/ant/lib/ant.jar
    com.sun.enterprise.server.PEMain
    start
    display|#]
    [#|2013-07-29T14:15:35.774+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5035: Timed out after 60000 milliseconds while trying to verify if the JMS service startup succeeded.|#]
    [#|2013-07-29T14:15:35.776+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5037: Check permissions of MQ instance directory /PostCUG_Track1/AppServer8.2/imq/var/instances|#]
    [#|2013-07-29T14:15:35.776+0530|INFO|sun-appserver-pe8.2|javax.enterprise.resource.jms|_ThreadID=10;|JMS5036: More details may be available in the log file for the JMS service broker instance imqbroker. Please refer to the JMS provider documentation for the exact location of this log file.|#]
    [#|2013-07-29T14:15:35.777+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|UnknownException during startup. Disable quick startup by setting system property com.sun.enterprise.server.ss.ASQuickStartup to false
    com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException
    at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:427)
    at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:54)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: com.sun.messaging.jms.JMSException: [C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException
    at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSConnectException(ExceptionHandler.java:233)
    at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleConnectException(ExceptionHandler.java:180)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:191)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:116)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:54)
    at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:61)
    at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:102)
    at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnectionOld(ConnectionInitiator.java:291)
    at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:113)
    at com.sun.messaging.jmq.jmsclient.ConnectionInitiator.createConnection(ConnectionInitiator.java:98)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:613)
    at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:1194)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1949)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:745)
    at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:315)
    at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
    at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
    at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
    at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:783)
    at com.sun.enterprise.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:335)
    at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:396)
    ... 3 more
    Caused by: java.io.IOException
    at com.sun.enterprise.server.ss.ASInputStream.waitForSelect(ASInputStream.java:118)
    at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:81)
    at com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:73)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
    at com.sun.messaging.jmq.io.PortMapperTable.readLine(PortMapperTable.java:277)
    at com.sun.messaging.jmq.io.PortMapperTable.read(PortMapperTable.java:233)
    at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:185)
    ... 21 more
    Caused by: java.io.IOException: Invalid argument
    at sun.nio.ch.DevPollArrayWrapper.poll0(Native Method)
    at sun.nio.ch.DevPollArrayWrapper.poll(DevPollArrayWrapper.java:136)
    at sun.nio.ch.DevPollSelectorImpl.doSelect(DevPollSelectorImpl.java:70)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:59)
    at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:70)
    at com.sun.enterprise.server.ss.ASSelector.select(ASSelector.java:92)
    at com.sun.enterprise.server.ss.ASInputStream.waitForSelect(ASInputStream.java:101)
    ... 28 more
    |#]
    [#|2013-07-29T14:15:35.798+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Exception while stoppping Lifecycle.
    com.sun.appserv.server.ServerLifecycleException: MQ startup failed :[C4003]: Error occurred on connection creation [127.0.0.1:45184]. - cause: java.io.IOException
    at com.sun.enterprise.jms.JmsProviderLifecycle.checkProviderStartup(JmsProviderLifecycle.java:376)
    at com.sun.enterprise.jms.JmsProviderLifecycle.onShutdown(JmsProviderLifecycle.java:445)
    at com.sun.enterprise.server.ss.ASLazyKernel.stopLifecycle(ASLazyKernel.java:178)
    at com.sun.enterprise.server.ss.ASLazyKernel.stopMQ(ASLazyKernel.java:172)
    at com.sun.enterprise.server.ss.ASLazyKernel.exitServer(ASLazyKernel.java:74)
    at com.sun.enterprise.server.ss.ASLazyKernel.startASSocketServices(ASLazyKernel.java:67)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:274)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    |#]

    Hi,
    Try to manually download the file from application server using standard transactions, and than check how many records are you able to download from app. server.
    I guess there might be something wrong with the format of 583rd record, which makes sap assume that the file has come to an end.
    Hope this will help you.
    Regards,
    Vinit...

  • 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.
    %

  • Deploying JWS with Eclipse Tools Bundle

    Hi all,
    I'm trying to write a document describing the steps to follow in order to make and build an Hello World application, launchable from a JNLP template provided by the server.
    Here is a summary of the different steps I mentionned :
    - Install Eclipse Tools Bundle
    - Set up the server (mySQL connector, pools and resources)
    - Here is a sample of server.log after a first start :
    14 mai 2010 10:28:18 com.sun.enterprise.admin.launcher.GFLauncherLogger info
    INFO: JVM invocation command line:
    C:\Program Files\Java\jdk1.6.0_16\bin\java.exe
    -cp
    D:/GTB1.2-1/glassfishv3/glassfish/modules/glassfish.jar
    -XX:+UnlockDiagnosticVMOptions
    -XX:MaxPermSize=192m
    -XX:NewRatio=2
    -XX:+LogVMOutput
    -XX:LogFile=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/logs/jvm.log
    -Xmx512m
    -client
    -javaagent:D:/GTB1.2-1/glassfishv3/glassfish/lib/monitor/btrace-agent.jar=unsafe=true,noServer=true
    -Dosgi.shell.telnet.maxconn=1
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Dfelix.fileinstall.dir=D:\GTB1.2-1\glassfishv3\glassfish/modules/autostart/
    -Djavax.net.ssl.keyStore=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/keystore.jks
    -Dosgi.shell.telnet.port=6666
    -Djava.security.policy=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/server.policy
    -Dfelix.fileinstall.poll=5000
    -Dcom.sun.aas.instanceRoot=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dosgi.shell.telnet.ip=127.0.0.1
    -Djava.endorsed.dirs=D:\GTB1.2-1\glassfishv3\glassfish/modules/endorsed;D:\GTB1.2-1\glassfishv3\glassfish/lib/endorsed
    -Dcom.sun.aas.installRoot=D:\GTB1.2-1\glassfishv3\glassfish
    -Djava.ext.dirs=C:\Program Files\Java\jdk1.6.0_16/lib/ext;C:\Program Files\Java\jdk1.6.0_16/jre/lib/ext;D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/lib/ext
    -Dfelix.fileinstall.bundles.new.start=true
    -Djavax.net.ssl.trustStore=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/cacerts.jks
    -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
    -Djava.security.auth.login.config=D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92\domain1/config/login.conf
    -DANTLR_USE_DIRECT_CLASS_LOADING=true
    -Dfelix.fileinstall.debug=1
    -Dorg.glassfish.web.rfc2109_cookie_names_enforced=false
    -Djava.library.path=D:/GTB1.2-1/glassfishv3/glassfish/lib;C:/Program Files/Java/jdk1.6.0_16/bin;D:/GTB1.2-1/glassfishv3/glassfish;C:/WINDOWS/Sun/Java/bin;C:/WINDOWS/system32;C:/WINDOWS;C:/Program Files/Java/jdk1.6.0_16/jre/bin/client;C:/Program Files/Java/jdk1.6.0_16/jre/bin;C:/Program Files/JavaFX/javafx-sdk1.2/bin;C:/Program Files/JavaFX/javafx-sdk1.2/emulator/bin;C:/PHP;C:/pecl;C:/GTK/bin;C:/WINDOWS/system32/wbem;C:/Program Files/Fichiers communs/Roxio Shared/DLLShared;C:/Program Files/OpenOffice.org 2.3/program;C:/Program Files/MySQL/MySQL Server 5.1/bin
    com.sun.enterprise.glassfish.bootstrap.ASMain
    -domainname
    domain1
    -asadmin-args
    start-domain,,,--domaindir,,,D:\ws_gtb-1\.metadata\.plugins\com.sun.enterprise.jst.server.sunappsrv92,,,--debug=false,,,--verbose=false,,,domain1
    -instancename
    server
    -verbose
    false
    -debug
    false
    -asadmin-classpath
    D:/GTB1.2-1/glassfishv3/glassfish/modules/admin-cli.jar
    -asadmin-classname
    com.sun.enterprise.admin.cli.AsadminMain
    -upgrade
    false
    -domaindir
    D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1
    -read-stdin
    true
    INFO: Grizzly Framework 1.9.18-k started in: 31ms listening on port 7676
    INFO: Grizzly Framework 1.9.18-k started in: 156ms listening on port 8181
    INFO: Grizzly Framework 1.9.18-k started in: 125ms listening on port 4860
    INFO: Grizzly Framework 1.9.18-k started in: 219ms listening on port 8084
    INFO: Grizzly Framework 1.9.18-k started in: 110ms listening on port 3700
    ...- Make New Project > enterprise application project : HelloWorld ; add modules HelloWorldClient and HelloWorldEJB ; Finish
    - Right click on HelloWorldEJBlient > Properties > Project Facets > Add Persistence facet ; inactivate JPA Implementation (just use the server impl)
    - set up persistence.xml
    - Write entities and EJB
    - Write the Main class and update MANIFEST.MF file
    - Right click on HelloWorld > Run on Server
    The deployment seems ok, I can run the app using appclient utility,
    but http://localhost:8084/HelloWorld/HelloWorldClient produces the following :
    Console :
    Reading certificates from 1822 http://localhost:8084/___JWSappclient/___app/HelloWorld/HelloWorldClient/HelloWorldClientClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\8\7104bac8-3a74cbea.idx
    Reading certificates from 1832 http://localhost:8084/___JWSappclient/___app/HelloWorld/HelloWorldClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\15\18233f4f-4833b7d4.idx
    Reading certificates from 2540 http://localhost:8084/___JWSappclient/___app/HelloWorld/glassfish/modules/gf-client.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\1\24f041c1-7777ff5e.idx
    Reading certificates from 18850 http://localhost:8084/___JWSappclient/___app/HelloWorld/glassfish/modules/gf-client-module.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\47\299b3b6f-39bc7e5c.idx
    Reading certificates from 1832 http://localhost:8084/___JWSappclient/___app/HelloWorld/HelloWorldClient/HelloWorldClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\57\47a196f9-2caeaba5.idx
    Reading certificates from 11 file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/generated/xml/HelloWorld/HelloWorldClient_jar/HelloWorldClient.jar | C:\Documents and Settings\Olivier\Application Data\Sun\Java\Deployment\cache\6.0\21\2d2f7c15-218cd2d1.idx
    #### Java Web Start Error:
    #### Détection d'une entrée non signée dans la ressource : file:/D:/ws_gtb-1/.metadata/.plugins/com.sun.enterprise.jst.server.sunappsrv92/domain1/generated/xml/HelloWorld/HelloWorldClient_jar/HelloWorldClient.jarServer.log (condensed) :
    GRAVE: Adapter[/___JWSappclient/___system] javadb/lib/derby.jar (14 more)
    java.io.IOException: Une connexion établie a été abandonnée par un logiciel de votre ordinateur hôte
         at sun.nio.ch.SocketDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
         at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:106)
         at com.sun.grizzly.util.OutputWriter.flushChannel(OutputWriter.java:74)
         at com.sun.grizzly.http.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.jav
    ...Can anybody tell me what is the problem ? I'm using GF v3 final.
    I'm tried to find a step-by-step tutorial on deploying a minimal Java Web Start application on the Internet, but could not find anyone. That's why I trying to, but I'm blocked...
    Thanks a lot for your help !
    Edited by: LapS on May 17, 2010 2:36 AM

    [oracle:deploy] Caused by: oracle.oc4j.rmi.OracleRemoteException: Lookup error: javax.naming.AuthenticationException: Not authorized; nested exception is:The default user for administrator, whose password you entered when the server started up the first time, is "oc4jadmin". Please make sure you use that username. "admin" as the default user is deprecated for some security reasons, which is why, I guess, you see
       <user username="admin" password="" deactivated="true"> Please tell me this works for you or not.

  • Systemd unit for Glassfish v4 server

    Hi all!
    Im trying to set up sytemd unit for glassfish4 web server but I am ending up in failed satate..
    Here's what I got:
    cat /usr/lib/systemd/system/glassfish.service
    [Unit]
    Description=GlassFish Server
    [Service]
    ExecStart=/home/pian/glassfish4/bin/asadmin start-domain
    ExecStop=/home/pian/glassfish4/bin/asadmin stop-domain
    ExecReload=/home/pian/glassfish4/bin/asadmin restart-domain
    Type=forking
    TimeoutSec=15min
    [Install]
    WantedBy=multi-user.target
    #systemctl status glassfish.service
    * glassfish.service - GlassFish Server
    Loaded: loaded (/usr/lib/systemd/system/glassfish.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Sun 2015-03-22 14:54:34 UTC; 10min ago
    Process: 142 ExecStart=/home/pian/glassfish4/bin/asadmin start-domain (code=exited, status=1/FAILURE)
    Mar 22 14:43:32 alarmpi systemd[1]: Starting GlassFish Server...
    Mar 22 14:54:34 alarmpi asadmin[142]: Waiting for domain1 to start ................................................................................................................................................
    Mar 22 14:54:34 alarmpi asadmin[142]: serverNoStart
    Mar 22 14:54:34 alarmpi asadmin[142]: Command start-domain failed.
    Mar 22 14:54:34 alarmpi systemd[1]: glassfish.service: control process exited, code=exited status=1
    Mar 22 14:54:34 alarmpi systemd[1]: Failed to start GlassFish Server.
    Mar 22 14:54:34 alarmpi systemd[1]: Unit glassfish.service entered failed state.
    Mar 22 14:54:34 alarmpi systemd[1]: glassfish.service failed.
    glassfish's log file
    [2015-03-22T15:08:25.078+0000] [] [INFO] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427036905078] [levelValue: 800] [[
    JVM invocation command line:
    /usr/lib/jvm/java-8-openjdk/bin/java
    -cp
    /home/pian/glassfish4/glassfish/modules/glassfish.jar
    -XX:+UnlockDiagnosticVMOptions
    -XX:NewRatio=2
    -XX:MaxPermSize=192m
    -Xmx512m
    -client
    -javaagent:/home/pian/glassfish4/glassfish/lib/monitor/flashlight-agent.jar
    -Djavax.xml.accessExternalSchema=all
    -Djavax.net.ssl.trustStore=/home/pian/glassfish4/glassfish/domains/domain1/config/cacerts.jks
    -Djdk.corba.allowOutputStreamSubclass=true
    -Dfelix.fileinstall.dir=/home/pian/glassfish4/glassfish/modules/autostart/
    -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
    -Dcom.sun.aas.installRoot=/home/pian/glassfish4/glassfish
    -Dfelix.fileinstall.poll=5000
    -Djava.endorsed.dirs=/home/pian/glassfish4/glassfish/modules/endorsed:/home/pian/glassfish4/glassfish/lib/endorsed
    -Djava.security.policy=/home/pian/glassfish4/glassfish/domains/domain1/config/server.policy
    -Dosgi.shell.telnet.maxconn=1
    -Dfelix.fileinstall.bundles.startTransient=true
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dfelix.fileinstall.log.level=2
    -Djavax.net.ssl.keyStore=/home/pian/glassfish4/glassfish/domains/domain1/config/keystore.jks
    -Djava.security.auth.login.config=/home/pian/glassfish4/glassfish/domains/domain1/config/login.conf
    -Dfelix.fileinstall.disableConfigSave=false
    -Dfelix.fileinstall.bundles.new.start=true
    -Dcom.sun.aas.instanceRoot=/home/pian/glassfish4/glassfish/domains/domain1
    -Dosgi.shell.telnet.port=6666
    -Dgosh.args=--nointeractive
    -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
    -Dosgi.shell.telnet.ip=127.0.0.1
    -DANTLR_USE_DIRECT_CLASS_LOADING=true
    -Djava.awt.headless=true
    -Dcom.ctc.wstx.returnNullForDefaultNamespace=true
    -Djava.ext.dirs=/usr/lib/jvm/java-8-openjdk/lib/ext:/usr/lib/jvm/java-8-openjdk/jre/lib/ext:/home/pian/glassfish4/glassfish/domains/domain1/lib/ext
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djava.library.path=/home/pian/glassfish4/glassfish/lib:/usr/java/packages/lib/arm:/lib:/usr/lib
    com.sun.enterprise.glassfish.bootstrap.ASMain
    -upgrade
    false
    -domaindir
    /home/pian/glassfish4/glassfish/domains/domain1
    -read-stdin
    true
    -asadmin-args
    --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=false,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,/home/pian/glassfish4/glassfish/domains,,,domain1
    -domainname
    domain1
    -instancename
    server
    -type
    DAS
    -verbose
    false
    -asadmin-classpath
    /home/pian/glassfish4/glassfish/lib/client/appserver-cli.jar
    -debug
    false
    -asadmin-classname
    com.sun.enterprise.admin.cli.AdminMain]]
    [2015-03-22T15:10:49.758+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037049758] [levelValue: 800] [[
    Running GlassFish Version: GlassFish Server Open Source Edition 4.1 (build 13)]]
    [2015-03-22T15:10:49.826+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037049826] [levelValue: 800] [[
    Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]
    [2015-03-22T15:10:58.384+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427037040685] [timeMillis: 1427037058384] [levelValue: 800] [[
    Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
    [2015-03-22T15:10:58.495+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427037040685] [timeMillis: 1427037058495] [levelValue: 800] [[
    Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
    [2015-03-22T15:10:59.986+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427037040685] [timeMillis: 1427037059986] [levelValue: 800] [[
    Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]
    [2015-03-22T15:11:19.304+0000] [glassfish 4.1] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427037041041] [timeMillis: 1427037079304] [levelValue: 800] [[
    Authorization Service has successfully initialized.]]
    [2015-03-22T15:11:34.956+0000] [glassfish 4.1] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427037041041] [timeMillis: 1427037094956] [levelValue: 800] [[
    Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]
    [2015-03-22T15:11:35.020+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037095020] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 1,051ms - bound to [/0.0.0.0:8080]]]
    [2015-03-22T15:11:42.794+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037102794] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 60ms - bound to [/0.0.0.0:8181]]]
    [2015-03-22T15:11:49.478+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037109478] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 50ms - bound to [/0.0.0.0:4848]]]
    [2015-03-22T15:11:53.456+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427037041032] [timeMillis: 1427037113456] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 12ms - bound to [/0.0.0.0:3700]]]
    [2015-03-22T15:14:14.999+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037254999] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:15:00.827+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01002] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037300827] [levelValue: 800] [[
    Java security manager is disabled.]]
    [2015-03-22T15:15:00.842+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01010] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037300842] [levelValue: 800] [[
    Entering Security Startup Service.]]
    [2015-03-22T15:15:01.135+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01143] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037301135] [levelValue: 800] [[
    Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.]]
    [2015-03-22T15:15:07.477+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01011] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037307477] [levelValue: 800] [[
    Security Service(s) started successfully.]]
    [2015-03-22T15:15:35.705+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037335705] [levelValue: 800] [[
    Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080]]
    [2015-03-22T15:15:36.235+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037336235] [levelValue: 800] [[
    Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181]]
    [2015-03-22T15:15:36.542+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037336542] [levelValue: 800] [[
    Created HTTP listener admin-listener on host/port 0.0.0.0:4848]]
    [2015-03-22T15:15:37.531+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037337531] [levelValue: 800] [[
    Created virtual server server]]
    [2015-03-22T15:15:37.794+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037337794] [levelValue: 800] [[
    Created virtual server __asadmin]]
    [2015-03-22T15:15:47.942+0000] [glassfish 4.1] [INFO] [AS-WEB-CORE-00306] [javax.enterprise.web.core] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037347942] [levelValue: 800] [[
    Setting JAAS app name glassfish-web]]
    [2015-03-22T15:15:47.965+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00201] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037347965] [levelValue: 800] [[
    Virtual server server loaded default web module ]]
    [2015-03-22T15:16:31.619+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037391619] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:16:32.504+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392504] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:16:32.624+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392624] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:16:32.740+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392740] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:16:32.856+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392856] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:16:32.975+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037392975] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:16:33.092+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037393092] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:16:33.212+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427037040728] [timeMillis: 1427037393212] [levelValue: 800] [[
    visiting unvisited references]]
    when starting Glassfish from terminal with asadmin start-domain I get this:
    $ ./asadmin start-domain
    Waiting for domain1 to start ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    serverNoStart
    Command start-domain failed.
    and this gets logged:
    [2015-03-22T15:39:24.132+0000] [] [INFO] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427038764132] [levelValue: 800] [[
    JVM invocation command line:
    /usr/lib/jvm/java-8-openjdk/bin/java
    -cp
    /home/pian/glassfish4/glassfish/modules/glassfish.jar
    -XX:+UnlockDiagnosticVMOptions
    -XX:NewRatio=2
    -XX:MaxPermSize=192m
    -Xmx512m
    -client
    -javaagent:/home/pian/glassfish4/glassfish/lib/monitor/flashlight-agent.jar
    -Djavax.xml.accessExternalSchema=all
    -Djavax.net.ssl.trustStore=/home/pian/glassfish4/glassfish/domains/domain1/config/cacerts.jks
    -Djdk.corba.allowOutputStreamSubclass=true
    -Dfelix.fileinstall.dir=/home/pian/glassfish4/glassfish/modules/autostart/
    -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
    -Dcom.sun.aas.installRoot=/home/pian/glassfish4/glassfish
    -Dfelix.fileinstall.poll=5000
    -Djava.endorsed.dirs=/home/pian/glassfish4/glassfish/modules/endorsed:/home/pian/glassfish4/glassfish/lib/endorsed
    -Djava.security.policy=/home/pian/glassfish4/glassfish/domains/domain1/config/server.policy
    -Dosgi.shell.telnet.maxconn=1
    -Dfelix.fileinstall.bundles.startTransient=true
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dfelix.fileinstall.log.level=2
    -Djavax.net.ssl.keyStore=/home/pian/glassfish4/glassfish/domains/domain1/config/keystore.jks
    -Djava.security.auth.login.config=/home/pian/glassfish4/glassfish/domains/domain1/config/login.conf
    -Dfelix.fileinstall.disableConfigSave=false
    -Dfelix.fileinstall.bundles.new.start=true
    -Dcom.sun.aas.instanceRoot=/home/pian/glassfish4/glassfish/domains/domain1
    -Dosgi.shell.telnet.port=6666
    -Dgosh.args=--nointeractive
    -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
    -Dosgi.shell.telnet.ip=127.0.0.1
    -DANTLR_USE_DIRECT_CLASS_LOADING=true
    -Djava.awt.headless=true
    -Dcom.ctc.wstx.returnNullForDefaultNamespace=true
    -Djava.ext.dirs=/usr/lib/jvm/java-8-openjdk/lib/ext:/usr/lib/jvm/java-8-openjdk/jre/lib/ext:/home/pian/glassfish4/glassfish/domains/domain1/lib/ext
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Djava.library.path=/home/pian/glassfish4/glassfish/lib:/usr/java/packages/lib/arm:/lib:/usr/lib
    com.sun.enterprise.glassfish.bootstrap.ASMain
    -upgrade
    false
    -domaindir
    /home/pian/glassfish4/glassfish/domains/domain1
    -read-stdin
    true
    -asadmin-args
    --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,/home/pian/glassfish4/glassfish/domains,,,domain1
    -domainname
    domain1
    -instancename
    server
    -type
    DAS
    -verbose
    false
    -asadmin-classpath
    /home/pian/glassfish4/glassfish/lib/client/appserver-cli.jar
    -debug
    false
    -asadmin-classname
    com.sun.enterprise.admin.cli.AdminMain]]
    [2015-03-22T15:41:45.525+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427038905525] [levelValue: 800] [[
    Running GlassFish Version: GlassFish Server Open Source Edition 4.1 (build 13)]]
    [2015-03-22T15:41:45.598+0000] [glassfish 4.1] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427038905598] [levelValue: 800] [[
    Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]
    [2015-03-22T15:41:54.578+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427038896771] [timeMillis: 1427038914578] [levelValue: 800] [[
    Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
    [2015-03-22T15:41:54.690+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427038896771] [timeMillis: 1427038914690] [levelValue: 800] [[
    Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
    [2015-03-22T15:41:56.229+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1427038896771] [timeMillis: 1427038916229] [levelValue: 800] [[
    Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]
    [2015-03-22T15:42:16.455+0000] [glassfish 4.1] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427038896420] [timeMillis: 1427038936455] [levelValue: 800] [[
    Authorization Service has successfully initialized.]]
    [2015-03-22T15:42:25.582+0000] [glassfish 4.1] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=12 _ThreadName=RunLevelControllerThread-1427038896420] [timeMillis: 1427038945582] [levelValue: 800] [[
    Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]
    [2015-03-22T15:42:43.272+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038963272] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 1,079ms - bound to [/0.0.0.0:8080]]]
    [2015-03-22T15:42:49.658+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038969658] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 62ms - bound to [/0.0.0.0:8181]]]
    [2015-03-22T15:42:54.264+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038974264] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 41ms - bound to [/0.0.0.0:4848]]]
    [2015-03-22T15:42:58.446+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=14 _ThreadName=RunLevelControllerThread-1427038896756] [timeMillis: 1427038978446] [levelValue: 800] [[
    Grizzly Framework 2.3.15 started in: 12ms - bound to [/0.0.0.0:3700]]]
    [2015-03-22T15:45:23.078+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039123078] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:46:06.032+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01002] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039166032] [levelValue: 800] [[
    Java security manager is disabled.]]
    [2015-03-22T15:46:06.048+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01010] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039166048] [levelValue: 800] [[
    Entering Security Startup Service.]]
    [2015-03-22T15:46:06.359+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01143] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039166359] [levelValue: 800] [[
    Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.]]
    [2015-03-22T15:46:12.625+0000] [glassfish 4.1] [INFO] [NCLS-SECURITY-01011] [javax.enterprise.system.core.security] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039172625] [levelValue: 800] [[
    Security Service(s) started successfully.]]
    [2015-03-22T15:46:40.575+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039200575] [levelValue: 800] [[
    Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080]]
    [2015-03-22T15:46:41.137+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039201137] [levelValue: 800] [[
    Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181]]
    [2015-03-22T15:46:41.462+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039201462] [levelValue: 800] [[
    Created HTTP listener admin-listener on host/port 0.0.0.0:4848]]
    [2015-03-22T15:46:42.503+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039202503] [levelValue: 800] [[
    Created virtual server server]]
    [2015-03-22T15:46:42.788+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039202788] [levelValue: 800] [[
    Created virtual server __asadmin]]
    [2015-03-22T15:46:52.796+0000] [glassfish 4.1] [INFO] [AS-WEB-CORE-00306] [javax.enterprise.web.core] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039212796] [levelValue: 800] [[
    Setting JAAS app name glassfish-web]]
    [2015-03-22T15:46:52.815+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00201] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039212815] [levelValue: 800] [[
    Virtual server server loaded default web module ]]
    [2015-03-22T15:47:35.172+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039255172] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:47:36.122+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256122] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:47:36.245+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256245] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:47:36.369+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256369] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:47:36.493+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256493] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:47:36.619+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256619] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:47:36.741+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256741] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:47:36.871+0000] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039256871] [levelValue: 800] [[
    visiting unvisited references]]
    [2015-03-22T15:49:33.162+0000] [glassfish 4.1] [INFO] [] [org.glassfish.jersey.server.ApplicationHandler] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039373162] [levelValue: 800] [[
    Initiating Jersey application, version Jersey: 2.10.4 2014-08-08 15:09:00...]]
    [2015-03-22T15:50:26.435+0000] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00172] [javax.enterprise.web] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039426435] [levelValue: 800] [[
    Loading application [service] at [/service]]]
    [2015-03-22T15:50:26.502+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00022] [javax.enterprise.system.core] [tid: _ThreadID=13 _ThreadName=RunLevelControllerThread-1427038896461] [timeMillis: 1427039426502] [levelValue: 800] [[
    Loading application service done in 486,416 ms]]
    [2015-03-22T15:50:26.554+0000] [glassfish 4.1] [INFO] [NCLS-CORE-00017] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427039426554] [levelValue: 800] [[
    GlassFish Server Open Source Edition 4.1 (13) startup time : Felix (127,555ms), startup services(530,277ms), total(657,832ms)]]
    [2015-03-22T15:50:51.956+0000] [glassfish 4.1] [INFO] [NCLS-JMX-00024] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039451956] [levelValue: 800] [[
    Creating a SecureRMIServerSocketFactory @ 0.0.0.0 with ssl config = GlassFishConfigBean.org.glassfish.grizzly.config.dom.Ssl]]
    [2015-03-22T15:50:52.232+0000] [glassfish 4.1] [WARNING] [NCLS-JMX-00020] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039452232] [levelValue: 900] [[
    All SSL cipher suites disabled for network-listener(s). Using SSL implementation specific defaults]]
    [2015-03-22T15:50:52.223+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=59 _ThreadName=Thread-8] [timeMillis: 1427039452223] [levelValue: 800] [[
    SSLParams =org.glassfish.admin.mbeanserver.ssl.SSLParams@1a7d45]]
    [2015-03-22T15:50:53.861+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=59 _ThreadName=Thread-8] [timeMillis: 1427039453861] [levelValue: 800] [[
    SSLParams =org.glassfish.admin.mbeanserver.ssl.SSLParams@1a7d45]]
    [2015-03-22T15:50:53.870+0000] [glassfish 4.1] [WARNING] [NCLS-JMX-00020] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039453870] [levelValue: 900] [[
    All SSL cipher suites disabled for network-listener(s). Using SSL implementation specific defaults]]
    right now, glassfish is started, but when accessing deployed application's URL (it's REST web service) I get resource not available.
    after a while sevice get's available and this is appended into the log:
    [2015-03-22T15:51:01.140+0000] [glassfish 4.1] [INFO] [NCLS-JMX-00025] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039461140] [levelValue: 800] [[
    SSLServerSocket /0.0.0.0:8686 and [SSL: ServerSocket[addr=/0.0.0.0,localport=8686]] created]]
    [2015-03-22T15:51:08.236+0000] [glassfish 4.1] [INFO] [NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1427039468236] [levelValue: 800] [[
    Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@5a060f as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@ec523c.]]
    [2015-03-22T15:52:03.697+0000] [glassfish 4.1] [INFO] [NCLS-JMX-00005] [javax.enterprise.system.jmx] [tid: _ThreadID=59 _ThreadName=Thread-19] [timeMillis: 1427039523697] [levelValue: 800] [[
    JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://alarmpi:8686/jndi/rmi://alarmpi:8686/jmxrmi]]
    [2015-03-22T15:53:19.225+0000] [glassfish 4.1] [INFO] [] [org.hibernate.validator.internal.util.Version] [tid: _ThreadID=25 _ThreadName=http-listener-1(4)] [timeMillis: 1427039599225] [levelValue: 800] [[
    HV000001: Hibernate Validator 5.0.0.Final]]
    [2015-03-22T15:53:30.219+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1427039610219] [levelValue: 800] [[
    [EL Info]: 2015-03-22 15:53:30.062--ServerSession(32742320)--EclipseLink, version: Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd]]
    [2015-03-22T15:53:34.081+0000] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=25 _ThreadName=Thread-8] [timeMillis: 1427039614081] [levelValue: 800] [[
    [EL Info]: connection: 2015-03-22 15:53:34.067--ServerSession(32742320)--file:/home/pian/glassfish4/glassfish/domains/domain1/applications/service/WEB-INF/classes/_serviceUnit login successful]]
    So can you, please, help me understand what is happening and what I need to do to correctly start glassfish's domain with deployed application in it via systemd?
    Thank you!
    Last edited by greengold (2015-03-22 16:10:33)

    I suggest you create a dedicated user for your calibre service and not run it as root (User=, Group=). I'm not so sure running that code mess as root.
    Edit: Or if you want the server to run only when your user is logged in, then create it in the systemd user session.
    Last edited by progandy (2015-01-18 23:56:03)

  • Hotspot core dumping during JVM garbage collection ?

    We have an application which calls a 3rd party supplied server API which has recently been upgraded to use Java 1.5
    We are getting the following error reported by our client application. The application is also now running Java 1.5 but references many classes in jar files which would have quite old code in.
    The supplier of the API has stated that the problem requires us to recompile all our jar files using v 1.5 ( including things like jconnect and jms ?!?!? ). This sounds like a bit of a cop-out to me, not to mention being impossible since we don't have the source for things like jconnect.
    I suspect that there is a garbage collection problem at the bottom of all this, but I'm not sure how I can "prove" this, nor do I currently have any real clue as to how to fix any GC problem that may exist.
    The application is supposed to wait for a message on a MQSeries queue and then transforms it via Xalan XSLT and sends it to a Server application. I've tried playing around with heap sizes etc but that just seems to make it worse. If I leave it at the settings that the previous version used then the client at least manages to process a couple of messages before core dumping. There doesn't seem to be a consistent trigger event to cause the core dump ( it's not a message arriving on a queue for example ) but it does seem to be fairly consistent timewise, i.e. after
    Any ideas gratefully accepted.
    Here's a logfile excerpt from my applications showing the Hotspot error message :
    =====================================================================================
    08-Jul-2008 10:01:05 Waiting for messages from COLT.BBFS
    08-Jul-2008 10:02:05 Waiting for messages from COLT.BBFS
    08-Jul-2008 10:03:05 Waiting for messages from COLT.BBFS
    405.815: [GC [PSYoungGen: 17331K->9244K(37632K)] 111702K->103615K(192128K), 0.1615910 secs]
    405.977: [Full GC#
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGBUS (0xa) at pc=0xfe141348, pid=2600, tid=8
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
    # Problematic frame:
    # V  [libjvm.so+0x141348]
    # An error report file with more information is saved as hs_err_pid2600.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    =====================================================================================
    The logfile referred to in the error message contains the following.
    =====================================================================================
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGBUS (0xa) at pc=0xfe141348, pid=2600, tid=8
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_03-b07 mixed mode)
    # Problematic frame:
    # V [libjvm.so+0x141348]
    --------------- T H R E A D ---------------
    Current thread (0x001484d8): VMThread [id=8]
    siginfo:si_signo=10, si_errno=0, si_code=1, si_addr=0x0000080f
    Registers:
    O0=0x00487588 O1=0xfe7d6454 O2=0x000079b0 O3=0x00007800
    O4=0x00008868 O5=0x00147d48 O6=0xf8781460 O7=0xfe0f7938
    G1=0xe52aaae8 G2=0x00000003 G3=0x00000003 G4=0x001484d8
    G5=0xf8781d98 G6=0x00000002 G7=0xf8781d98 Y=0x805683e2
    PC=0xfe141348 nPC=0xfe14134c
    Top of Stack: (sp=0xf8781460)
    0xf8781460: fe786000 00c6ba20 fe10013c e54bab68
    0xf8781470: 0000080f e54bab6c 0000080f 00000004
    0xf8781480: 00487588 00000134 e54bab6c 00000004
    0xf8781490: 00000001 00000000 f87814c0 fe17aef4
    0xf87814a0: fe6485b4 fe7d899c 001484d8 0011da40
    0xf87814b0: 00148988 00148c10 00148d7c f8781880
    0xf87814c0: 007c3389 007c3c0e 00000f87 00008868
    0xf87814d0: 00008800 00487588 fe141310 fe7d6454
    Instructions: (pc=0xfe141348)
    0xfe141338: ec 06 c0 1a 80 a5 a0 00 22 40 00 0a ba 07 60 01
    0xfe141348: f2 05 a0 00 ae 0e 60 03 80 a5 e0 03 22 40 00 05
    Stack: [0xf8702000,0xf8781d98), sp=0xf8781460, free space=509k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x141348]
    V [libjvm.so+0x17aefc]
    V [libjvm.so+0x2d557c]
    V [libjvm.so+0x300ef8]
    V [libjvm.so+0x301e84]
    V [libjvm.so+0x2ff950]
    V [libjvm.so+0x29df30]
    V [libjvm.so+0x362b44]
    V [libjvm.so+0x6436f0]
    VM_Operation (0xe03012b0): parallel gc system gc, mode: safepoint, requested by thread 0x0031bca0
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00b2c028 JavaThread "Thread-4" [_thread_in_native, id=85]
    0x007f5048 JavaThread "Thread-0" [_thread_blocked, id=84]
    0x00c27cf0 JavaThread "Notification Delivery" [_thread_blocked, id=81]
    0x0026fa08 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=73]
    0x00821048 JavaThread "RMI RenewClean-[162.11.2.32:44425]" daemon [_thread_blocked, id=70]
    0x0031bca0 JavaThread "GC Daemon" daemon [_thread_blocked, id=67]
    0x00cd5d28 JavaThread "RMI Reaper" [_thread_blocked, id=66]
    0x003c9300 JavaThread "Timer-0" daemon [_thread_blocked, id=65]
    0x00929fe0 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=64]
    0x0089bf18 JavaThread "SeedGenerator Thread" daemon [_thread_blocked, id=42]
    0x00c47248 JavaThread "Pool thread #7" daemon [_thread_blocked, id=38]
    0x00c466a0 JavaThread "Pool thread #6" daemon [_thread_blocked, id=37]
    0x00311850 JavaThread "Pool thread #5" daemon [_thread_blocked, id=36]
    0x00287a40 JavaThread "Pool thread #4" daemon [_thread_blocked, id=35]
    0x00286e98 JavaThread "Pool thread #3" daemon [_thread_blocked, id=34]
    0x00c134b0 JavaThread "Pool thread #2" daemon [_thread_blocked, id=33]
    0x00ad09e0 JavaThread "Pool thread #1" daemon [_thread_blocked, id=32]
    0x00286cd8 JavaThread "PoolThreadManager" daemon [_thread_blocked, id=31]
    0x00c129e0 JavaThread "Channel Reaper" daemon [_thread_blocked, id=30]
    0x00c669e8 JavaThread "ORB Daemon Thread" daemon [_thread_blocked, id=29]
    0x00b10170 JavaThread "Worker for ServerProtocol: (iiop) /0.0.0.0:20168" daemon [_thread_blocked, id=22]
    0x008a17e0 JavaThread "Syn~ Client" daemon [_thread_blocked, id=21]
    0x003dc378 JavaThread "PoolScavenger0" daemon [_thread_blocked, id=20]
    0x0015a928 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=15]
    0x00159880 JavaThread "CompilerThread1" daemon [_thread_blocked, id=14]
    0x00158a18 JavaThread "CompilerThread0" daemon [_thread_blocked, id=13]
    0x00157b98 JavaThread "AdapterThread" daemon [_thread_blocked, id=12]
    0x00156dc8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11]
    0x0014ccd8 JavaThread "Finalizer" daemon [_thread_blocked, id=10]
    0x0014ad90 JavaThread "Reference Handler" daemon [_thread_blocked, id=9]
    0x00038238 JavaThread "main" [_thread_in_native, id=1]
    Other Threads:
    =>0x001484d8 VMThread [id=8]
    0x0015c3b0 WatcherThread [id=16]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x00037728/0x00037758] Threads_lock - owner thread: 0x001484d8
    [0x00033650/0x00037ba8] Heap_lock - owner thread: 0x0031bca0
    Heap
    PSYoungGen total 37632K, used 9244K [0xf2eb0000, 0xf7ba0000, 0xf8400000)
    eden space 28352K, 0% used [0xf2eb0000,0xf2eb0000,0xf4a60000)
    from space 9280K, 99% used [0xf4a60000,0xf5367080,0xf5370000)
    to space 25216K, 0% used [0xf6300000,0xf6300000,0xf7ba0000)
    PSOldGen total 154496K, used 94371K [0xe8400000, 0xf1ae0000, 0xf2eb0000)
    object space 154496K, 61% used [0xe8400000,0xee028e78,0xf1ae0000)
    PSPermGen total 35584K, used 18260K [0xe4400000, 0xe66c0000, 0xe8400000)
    object space 35584K, 51% used [0xe4400000,0xe55d5158,0xe66c0000)
    Dynamic libraries:
    0x00010000      /dsdvlp/java/jvm/jdk1.5.0_03/bin/java
    0xff350000      /usr/lib/libthread.so.1
    0xff340000      /usr/lib/libdl.so.1
    0xff200000      /usr/lib/libc.so.1
    0xff390000      /usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
    0xfe000000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/server/libjvm.so
    0xff1e0000      /usr/lib/libsocket.so.1
    0xff2d0000      /usr/lib/libsched.so.1
    0xff1b0000      /usr/lib/libCrun.so.1
    0xff160000      /usr/lib/libm.so.1
    0xff080000      /usr/lib/libnsl.so.1
    0xff060000      /usr/lib/libmp.so.2
    0xff030000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/native_threads/libhpi.so
    0xfdfc0000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libverify.so
    0xfdf80000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libjava.so
    0xfdf50000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libzip.so
    0xfb7e0000      /usr/lib/locale/en_GB.ISO8859-1/en_GB.ISO8859-1.so.2
    0xe4190000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/libnet.so
    0xe3bd0000      /dsdvlp/lib/5/libSolarisNatives.so
    0xe3e90000      /dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/librmi.so
    VM Arguments:
    jvm_args: -Djava.ext.dirs=/dsdvlp/java/tmijar/firs7/lib/cli:/dsdvlp/java/tmijar/firs7/lib/cli/ext:/dsdvlp/java/tmijar/firs7/lib/cmn/OpenORB:/dsdvlp/java/tmijar/firs7/lib/cmn/OpenORB/ext:/dsdvlp/java/tmijar/firs7/lib/cmn:/dsdvlp/java/tmijar/firs7/lib/cmn/ext:/dsdvlp/java/tmijar/firs7/daemonlib -Duser.dir=/dsdvlp/java/tmijar/firs7 -Dopenorb.config=file:/dsdvlp/java/tmijar/firs7/configs/OpenORB/config/SynOpenORB.xml -Dopenorb.home=file:/dsdvlp/java/tmijar/firs7/configs/OpenORB -Dcom.coexis.syn.general.orbbinding=com.coexis.syn.general.orbbinding.openorb.OpenORBBinding_1_4 -Dsun.rmi.dgc.client.gcInterval=360000 -Dsun.rmi.dgc.server.gcInterval=360000000 -Xms32m -Xmx256m -Dcom.coexis.syn.clientcommandsconfiglocation=file://localhost//dsdvlp/java/tmijar/firs7/configs/clientcommands.xml -Dcom.coexis.syn.clientconfiglocation=file://localhost//dsdvlp/java/tmijar/firs7/configs/fsbbtd_client.xml -XX:+PrintGCTimeStamps -XX:+PrintGCDetails
    java_command: com.coexis.syn.mqmessaging.daemon.RunDaemon -p /dsdvlp/bin/5/lndsfsd_fsbbtd.properties start
    Environment Variables:
    JAVA_HOME=/dsdvlp/java/jvm/jdk150
    CLASSPATH=.:/dsdvlp/java/jar/jconnect520.jar:/dsdvlp/java/jar/vbjapp340.jar:/dsdvlp/java/jar/vbjorb340.jar:/dsdvlp/java/jar/javax_jndi120.jar
    PATH=/usr/local/etc:/usr/lang:/usr/openwin/bin:/usr/ucb:/bin:/usr/etc:/usr/local/5/bin:/dsdvlp/bin/5:/dsdvlp/bin/4:/home/app/sybase/5/bin:/home/app/sybase/5/localscripts:/home/app/sybase/5/sqr:/home/app/lang:/home/app/lang/SC2.0.1:/usr/ccs/bin:/usr/local/opt/Acrobat3/bin:/dsdvlp/bin:.
    LD_LIBRARY_PATH=/dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc/server:/dsdvlp/java/jvm/jdk1.5.0_03/jre/lib/sparc:/dsdvlp/java/jvm/jdk1.5.0_03/jre/../lib/sparc:/usr/lib:/usr/openwin/lib:/usr/local/5/lib:/dsdvlp/lib/5:/dstest/lib/5:/home/app/sybase/5/lib:/dstest/cats/sun4/lib:/tmitest/Opus/opus/lib
    SHELL=/bin/csh
    DISPLAY=CLI00184.mfil.local:1.0
    OS=5
    --------------- S Y S T E M ---------------
    OS: Solaris 8 2/02 s28s_u7wos_08a SPARC
    Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
    Assembled 18 December 2001
    uname:SunOS 5.8 Generic_117350-20 sun4u (T1 libthread)
    rlimit: STACK 8192k, CORE 9216k, NOFILE 4096, AS infinity
    load average:2.24 2.67 2.68
    CPU:total 4 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
    Memory: 8k page, physical 8388608k(166384k free)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_03-b07) for solaris-sparc, built on Apr 13 2005 03:31:26 by unknown with unknown Workshop:0x550

    The very first suggestion I have is to move your VM to a more recent update of 1.5.0.
    It looks like you are crashing with 5.0u3, and I'm pretty sure 5.0u16 is available. You
    don't want to waste your time chasing a bug that's already been fixed.

  • Application server will not start up

    Hello,
    I have read quite a few topics concerning this problem, and have tried many things but without success.
    I am running on Windows XP Pro. The installation goes fine, but when I run a project, the application server cannot start, and I get a message after quite a long time saying that it can't start and to check my port numbers,etc.
    I used to have Sun Java Creator, but I uninstalled it. I tried deleting the \Windows\System32\productregistry file. I tried uninstalling completely and reinstalling in C:\Sun\Creator2, but the problem is still the same. I tried deleting the domain with "asadmin" and recreating it, but I still get the problem.
    I am posting all the relevant information from the logs, hopin someone will be able to help me out....
    C:\Sun\Creator2ea2\install.log
    (Jan 14, 2006 3:34:36 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Files (coreFiles)
    (Jan 14, 2006 3:35:42 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Files (jdkFiles)
    (Jan 14, 2006 3:36:32 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Files (appserverFiles)
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Install Application Server Action (bean4)
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, #
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, # Wizard Statefile generatd by make_statefile.sh
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, #
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, # Wizard Statefile section for Sun Java System Application Server
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, #
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, [STATE_BEGIN Sun Java System Application Server 42cc62066aa69c151b1093bfcb735f8e112358e8]
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, defaultInstallDirectory = C:\Sun\Creator2ea2\SunAppServer8
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, currentInstallDirectory = C:\Sun\Creator2ea2\SunAppServer8
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, JDK_LOCATION = C:\Sun\Creator2ea2\java
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASADMIN_USERNAME = admin
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASADMIN_PASSWORD = adminadmin
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASADMIN_PORT = 24848
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_ASWEB_PORT = 28080
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, INST_HTTPS_PORT = 21043
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, STORE_ADMIN_AUTH = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, ADMIN_PASSWORD_ENCRYPTED = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, CREATE_SAMPLES_DOMAIN = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, CREATE_DESKTOP_SHORTCUT = FALSE
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, [STATE_DONE Sun Java System Application Server 42cc62066aa69c151b1093bfcb735f8e112358e8]
    (Jan 14, 2006 3:36:45 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, Installing Application Server...
    (Jan 14, 2006 3:37:58 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1,
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Extracting installation files...
    Launching Java(TM) 2 Runtime Environment...
    Deleting temporary files...
    "exitcode = 73"
    (Jan 14, 2006 3:37:58 PM), Setup.product.install, com.sun.installer.InstallApplicationServerAction, msg1, Finished
    (Jan 14, 2006 3:37:58 PM), Setup.product.install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Post Install Core Action (postInstallCoreAction)
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpecTed output: "C:\Sun\Creator2ea2\bin\storagebuilder.bat"
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, preparsing C:\Sun\Creator2ea2\rave2.0\core\rowset.jar
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Temp\mdrstorage\storage
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, ... done
    (Jan 14, 2006 3:40:32 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, preparsing C:\Sun\Creator2ea2\rave2.0\core\sqlx.jar
    <SNIP>
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpected output: "C:\Sun\Creator2ea2\bin\pe-init-tray.bat"
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Sun\CREATO~1\\rave2.0\startup\lib\Windows-i386\jdic_0_9.jar
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Sun\CREATO~1\\rave2.0\startup\lib\Windows-i386\LICENSE.jdic_0_9
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, C:\Sun\CREATO~1\\rave2.0\startup\lib\Windows-i386\tray.dll
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, 3 fichier(s) copi�(s).
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, 1 fichier(s) copi�(s).
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Avertissements de compilation :
    (Jan 14, 2006 3:41:53 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 31: L'attribut 'classname' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpected output: "C:\Sun\Creator2ea2\bin\pe-start.bat"
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, WARNING: The adminpassword option is insecure and should not be used since it can compromise your password.  Please use either the command prompt or the passwordfile option.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Domain creator created.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Starting Domain creator, please wait.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Log redirected to C:\Sun\Creator2ea2\SunAppServer8\domains\creator\logs\server.log.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Timeout waiting for domain creator to go to starting state.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Avertissements de compilation :
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 44: L'attribut 'debug-options' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 61: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 72: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 83: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 104: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 115: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 126: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 144: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, line 155: L'attribut 'port' est � l'ext�rieur de l'�l�ment.
    (Jan 14, 2006 3:45:08 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, CLI156 Could not start the domain creator.
    (Jan 14, 2006 3:45:41 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, The following script has unexpected output: "C:\Sun\Creator2ea2\bin\deploy-ejbs.bat"
    (Jan 14, 2006 3:45:41 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, WARNING: The password option is insecure and should not be used since it can compromise your password.  Please use either the command prompt or the passwordfile option.
    (Jan 14, 2006 3:45:41 PM), Setup.product.install, com.sun.installer.PostInstallWizardAction, msg1, Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
    etc.
    etc.
    Hope I haven't drowned you with this log....
    Thanks,
    Raphael

    Here's a bit more information : the output of the C:\Sun\Creator2ea2\SunAppServer8\domains\creator\logs\server.log file :
    [#|2006-01-14T15:42:08.188+0100|WARNING|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|LAUNCHER005:Spaces in your PATH have been detected. The PATH must be consistently formated (e.g. C:\Program Files\Java\jdk1.5.0\bin; ) or the Appserver may not be able to start and/or stop.  Mixed quoted spaces in your PATH can cause problems, so the launcher will remove all double quotes before invoking the process. The most reliable solution would be to remove all spaces from your path before starting the Appservers components.  |#]
    [#|2006-01-14T15:42:08.198+0100|INFO|sun-appserver-pe8.1_02|javax.enterprise.tools.launcher|_ThreadID=10;|
    C:/Sun/Creator2ea2/java\bin\java
    -client
    -XX:PermSize=32m
    -XX:MaxPermSize=128m
    -XX:+CMSPermGenSweepingEnabled
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/logs/server.log
    -Djava.endorsed.dirs=C:/Sun/Creator2ea2/SunAppServer8/lib/endorsed
    -Djava.security.policy=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/server.policy
    -Djava.security.auth.login.config=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/keystore.jks
    -Djavax.net.ssl.trustStore=C:/Sun/Creator2ea2/SunAppServer8/domains/creator/config/cacerts.jks
    -Djava.ext.dirs=C:/Sun/Creator2ea2/java/jre/lib/ext;C:/Sun/Creator2ea2/SunAppServer8/domains/creator/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=creator
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=C:/Sun/Creator2ea2/SunAppServer8/domains/creator
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=creator
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=C:/Sun/Creator2ea2/SunAppServer8/config
    -Djava.library.path=C:\Sun\Creator2ea2\java\jre\bin\client;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\Sun\Creator2ea2\SunAppServer8\lib;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\Sun\Creator2ea2\SunAppServer8\bin;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\Program Files\Borland\BDS\4.0\Bin;C:\PROGRA~1\Borland\CBUILD~3\Bin;C:\PROGRA~1\Borland\CBUILD~3\Projects\Bpl;C:\Oracle\OraHomeAPISOFT\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\;C:\PROGRA~1\Borland\CBUILDER5\Projects\Bpl;C:\PROGRA~1\Borland\CBUILDER3\bin;C:\PROGRA~1\Borland\CBUILDER5\bin;C:\PROGRA~1\Borland\CBUILDER\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\WinSCP3\;C:\Program Files\Fichiers communs\GTK\2.0\bin;C:\Tools;C:\Program Files\vPoint_XP;C:\Program Files\Sybase\SQL Anywhere 9\win32;C:\Program Files\Sybase\Shared\win32;C:\Program Files\Sybase\SQL Anywhere 9\drivers;C:\Program Files\Sybase\Shared\Sybase Central 4.3\win32;C:\SuperWabaSDK\SuperWabaSDK\bin;C:\Java\Ant\bin\;c:\JbuilderX\jdk1.4\bin;C:\Java\SuperWabaSDK\qrfSQL\win32;C:\Java\SuperWabaSDK\WExtLib\jni\VC\Release;C:\Java\FirebirdSQL\jaybird.dll;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\SOTI\MobiControl;;C:\Documents and Settings\Microtec\Mes documents\Borland Studio Projects\Bpl;C:\PROGRA~1\FICHIE~1\ORACLE\BIN
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    C:/Sun/Creator2ea2/java/lib/tools.jar;C:/Sun/Creator2ea2/SunAppServer8/lib/appserv-rt.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\activation.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\admin-cli.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-admin.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-cmp.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-env.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-ext.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-jstl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\appserv-upgrade.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\commons-launcher.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\commons-logging.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\dom.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\driveradapter.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\j2ee-svc.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\j2ee.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jax-qname.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxr-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxr-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxrpc-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jaxrpc-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jdic_0_9.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jmxremote.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jmxremote_optional.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jsf-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\jsf-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\mail.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\PEtray.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\relaxngDatatype.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\rmissl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\saaj-api.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\saaj-impl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smbase.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smdb2.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\sminformix.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smoracle.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smresource.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smspy.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smsqlserver.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smsybase.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\smutil.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\xalan.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\xercesImpl.jar;C:/Sun/Creator2ea2/SunAppServer8/lib\xsdlib.jar;C:/Sun/Creator2ea2/SunAppServer8/lib/install/applications/jmsra/imqjmsra.jar;C:/Sun/Creator2ea2/SunAppServer8/imq/lib/jaxm-api.jar;C:/Sun/Creator2ea2/SunAppServer8/imq/lib/fscontext.jar;C:/Sun/Creator2ea2/SunAppServer8/lib/ant/lib/ant.jar;C:/Sun/Creator2ea2/SunAppServer8/pointbase/lib/pbclient.jar;C:/Sun/Creator2ea2/SunAppServer8/pointbase/lib/pbembedded.jar
    com.sun.rave.tray.RavePEMain
    start
    display
    native|#]
    *** EXITING ERROR:
    Can't create Java VM
    ***

  • EXCEPTION_ACCESS_VIOLATION on forName0

    Java crash on forName0 method, please help
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d60171d, pid=16036, tid=7036
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_10-b03 mixed mode)
    # Problematic frame:
    # C [verify.dll+0x171d]
    --------------- T H R E A D ---------------
    Current thread (0x21bac690): JavaThread "Thread-25" [_thread_in_native, id=7036]
    siginfo: ExceptionCode=0xc0000005, reading address 0x000013f0
    Registers:
    EAX=0x00000000, EBX=0x17fd479c, ECX=0x28f62bd0, EDX=0x000004fb
    ESP=0x2198f204, EBP=0x2198f218, ESI=0x2198f2cc, EDI=0x00000100
    EIP=0x6d60171d, EFLAGS=0x00010207
    Top of Stack: (sp=0x2198f204)
    0x2198f204: 2198f2cc 2198f2cc 17fd479c 28f62bd0
    0x2198f214: 21baa7da 2198f238 6d6016b6 0098f2cc
    0x2198f224: 17fcbf68 6d604999 2198f2cc 17fcbf68
    0x2198f234: 17fcbf51 2198f270 6d601efc 2198f2cc
    0x2198f244: 17fcbf68 0000000a 2198f2cc 17fd47b4
    0x2198f254: 2198f2cc 21bade50 00000000 00000001
    0x2198f264: 21bac750 21bade5c 000000b8 2198f2ac
    0x2198f274: 6d601a91 2198f2cc 00000006 00000207
    Instructions: (pc=0x6d60171d)
    0x6d60170d: e8 00 00 00 c1 e9 08 8b 04 88 8b 4d f8 8d 14 92
    0x6d60171d: 39 4c 90 04 8d 04 90 75 3e 8b 38 8b 4d 0c 8a 19
    Stack: [0x21950000,0x21990000), sp=0x2198f204, free space=252k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [verify.dll+0x171d]
    C [verify.dll+0x16b6]
    C [verify.dll+0x1efc]
    C [verify.dll+0x1a91]
    C [verify.dll+0x126b]
    C [java.dll+0x3fb7]
    V [jvm.dll+0x11be83]
    V [jvm.dll+0x78a61]
    V [jvm.dll+0x78d81]
    V [jvm.dll+0x78a40]
    V [jvm.dll+0xa48f9]
    V [jvm.dll+0x9dbdb]
    C [java.dll+0x13d8]
    j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j com.shkco.adsr.common.client.gui.config.ViewConfig.getViewComponentByID(Lcom/shkco/adsr/common/client/gui/config/bean/ViewBean;)Ljavax/swing/JComponent;+10
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.toViewModel(Lcom/shkco/adsr/common/client/gui/config/bean/ViewBean;)Lcom/shkco/adsr/common/client/gui/model/ViewModel;+10
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.toViewModel(Ljava/lang/String;)Lcom/shkco/adsr/common/client/gui/model/ViewModel;+16
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.toViewModel(Lcom/shkco/adsr/common/client/gui/bean/IFrameBean;)Lcom/shkco/adsr/common/client/gui/model/ViewModel;+22
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.buildViewFrame(Lcom/shkco/adsr/common/client/gui/component/TabbedPaneDesktop;Lcom/shkco/adsr/common/client/gui/bean/IFrameBean;)Ljavax/swing/JInternalFrame;+4
    j com.shkco.adsr.common.client.gui.manager.TabBuilder$BuildDesktopRunnable.run()V+12
    j com.shkco.adsr.common.client.gui.manager.TabBuilder$1.run()V+73
    j com.shkco.adsr.common.client.gui.component.progress.DialogHandle$1.run()V+7
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [jvm.dll+0x8757c]
    V [jvm.dll+0xde804]
    V [jvm.dll+0x8744d]
    V [jvm.dll+0x871aa]
    V [jvm.dll+0xa1de8]
    V [jvm.dll+0x10fad4]
    V [jvm.dll+0x10faa2]
    C [MSVCRT.dll+0x2a3b0]
    C [kernel32.dll+0xb699]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;+0
    j java.lang.Class.forName(Ljava/lang/String;)Ljava/lang/Class;+5
    j com.shkco.adsr.common.client.gui.config.ViewConfig.getViewComponentByID(Lcom/shkco/adsr/common/client/gui/config/bean/ViewBean;)Ljavax/swing/JComponent;+10
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.toViewModel(Lcom/shkco/adsr/common/client/gui/config/bean/ViewBean;)Lcom/shkco/adsr/common/client/gui/model/ViewModel;+10
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.toViewModel(Ljava/lang/String;)Lcom/shkco/adsr/common/client/gui/model/ViewModel;+16
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.toViewModel(Lcom/shkco/adsr/common/client/gui/bean/IFrameBean;)Lcom/shkco/adsr/common/client/gui/model/ViewModel;+22
    j com.shkco.adsr.common.client.gui.manager.ViewBuilder.buildViewFrame(Lcom/shkco/adsr/common/client/gui/component/TabbedPaneDesktop;Lcom/shkco/adsr/common/client/gui/bean/IFrameBean;)Ljavax/swing/JInternalFrame;+4
    j com.shkco.adsr.common.client.gui.manager.TabBuilder$BuildDesktopRunnable.run()V+12
    j com.shkco.adsr.common.client.gui.manager.TabBuilder$1.run()V+73
    j com.shkco.adsr.common.client.gui.component.progress.DialogHandle$1.run()V+7
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x21bac690 JavaThread "Thread-25" [_thread_in_native, id=7036]
    0x21b93170 JavaThread "Timer-5" [_thread_blocked, id=22204]
    0x0082e7d0 JavaThread "Finalizer" daemon [_thread_blocked, id=22128]
    0x0082d570 JavaThread "Reference Handler" daemon [_thread_blocked, id=20716]
    Other Threads:
    0x0082c850 VMThread [id=26504]
    0x00833880 WatcherThread [id=16584]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 18176K, used 1232K [0x02b70000, 0x03f20000, 0x03f20000)
    eden space 16192K, 5% used [0x02b70000, 0x02c3e3b8, 0x03b40000)
    from space 1984K, 20% used [0x03b40000, 0x03ba5cd0, 0x03d30000)
    to space 1984K, 0% used [0x03d30000, 0x03d30000, 0x03f20000)
    tenured generation total 241984K, used 46481K [0x03f20000, 0x12b70000, 0x12b70000)
    the space 241984K, 19% used [0x03f20000, 0x06c847e0, 0x06c84800, 0x12b70000)
    compacting perm gen total 47616K, used 47445K [0x12b70000, 0x159f0000, 0x16b70000)
    the space 47616K, 99% used [0x12b70000, 0x159c56c0, 0x159c5800, 0x159f0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040d000      C:\Java\jre1.5.0_10\bin\javaw.exe
    0x7c920000 - 0x7c9b7000      C:\WINDOWS\system32\ntdll.dll
    VM Arguments:
    jvm_args: -Xms256m -Xmx256m -Xloggc:C:\\gc.log -Dcom.ibm.CORBA.FragmentSize=4096 -Dsun.rmi.dgc.client.gcInterval=500 -Dsun.rmi.dgc.server.gcInterval=500 -Djava.endorsed.dirs=C:\ibm-was\6.1\java\jre\lib\endorsed -Djava.ext.dirs=C:\ibm-was\6.1\plugins;C:\ibm-was\6.1\java\jre\lib\ext;C:\ibm-was\6.1\lib;C:\Java\jre1.5.0_10\lib\ext -Duser.language=zh_TW -Duser.country=TW
    java_command: adsr-common-ui-1.0.jar
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=C:\Java\jre1.5.0_10
    CLASSPATH=c:\sybase\ASEP\3pclass.zip;c:\sybase\ASEP\monclass.zip;
    PATH=c:\sybase\OCS-12_0\dll;c:\sybase\OCS-12_0\bin;c:\sybase\ASEP;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\CA\SHARED~1\CAM\bin;C:\Program Files\CA\Unicenter Software Delivery\BIN;c:\sybase\SQLRemote\dll
    USERNAME=KarsonLo
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 1945640k(1109464k free), swap 3885192k(2888956k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_10-b03) for windows-x86, built on Nov 9 2006 13:13:34 by "java_re" with MS VC++ 6.0

    Is there documents available to know root cause of this crash...i dont get details mentioned in stack trace I want to know this is due to JVM or our application is making jvm to crash...
    I already reported this issue as bug report. but I didnt got any response from them
    Any inputs will be great

Maybe you are looking for

  • Hi abaper expert

    hello   i hv a problem .in transaction fk10n.i hv been copy its program.i hv to add one more field as a plant code .and the data should be fatch depend on plant code.because plant code may be vary. code is   report RFARBALANCE message-id FDBL. ...tab

  • [JS][CS5] automate numbering swatches?

    Hey, I'm trying to make a script that will automatically number swatches based on their order in the swatch panel. I found this script in another topic already var myDocument = app.activeDocument; for(i = 4; i<myDocument.swatches.length; i++){      i

  • Copy of documents

    I have just managed to trasnfer all docs from old Dell to new iMac, and I have discovered that during the process it has created a new user. How do I  move the docs from my iMac user to iMac user created yesterday? Is it possible to copy file from us

  • Mapping error StringIndexOutOfBound exception

    Hi all, I'm getting this when i'm trying to display the queue for the sub-string function, i have set the starting position to zero and no.of characters to 4. So should increase the no. RuntimeException in Message-Mapping transformation: Exception:[j

  • Flash & Applets

    I do not know if this question has been asked before, but can Applets reach the kind of graphics Flash does. I mean Flash is somehow more attractive then applets, and there are so many nice things that can be done with Flash. However I can not stop f