Run appclient

Hi,
I am trying to run a simpple javaee app client (only printing Helloworld) using command line tool, but i always have class not found exception:
testme.jar
java.lang.ClassNotFoundException: testme.jar
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.glassfish.appclient.client.AppClientFacade.createContainerForClas
sName(AppClientFacade.java:518)
        at org.glassfish.appclient.client.AppClientFacade.createContainer(AppCli
entFacade.java:470)
        at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFa
cade.java:269)
        at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.prem
ain(AppClientContainerAgent.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(Instrumenta
tionImpl.java:382)
        at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Instrument
ationImpl.java:397)It is sort of classpath missing, but what went wrong with the default setting of glassfish after installation?
ah yeah, the command line to run is:
appclient testme.jarthanks,
Edited by: CardM on Dec 5, 2012 11:53 PM

appclient, whatever that is, seems to expect a fully qualified classname, not a jar. A jar you generally invoke through java -jar jarname.jar.
Perhaps you should read whatever documentation of whatever product you're using to know the exact parameters. When you have a real programming related question, feel free to ask it.

Similar Messages

  • Running appclient script

    I am running Sun One Appserver 7update 2 on W2K
    Every time I run the appclient script I get the following exception(s). This has happened on all the samples with application clients.
    I'm sure that the
    (1)IIOP listener is configured correctly
    (2) Command parameters are correct
    This is an example :
    C:\Sun\AppServer7\domains\domain1\server1\applications\j2ee-apps\stateless-checker_10>appclient -client stateless-checke
    rClient.jar -name CheckerClient -xml C:\Sun\AppServer7\domains\domain1\server1\config\sun-acc.xml -textauth
    Any ideas???
    I'm sure that I'm missing something fundamental here
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.iplanet.ias.server.logging.ACCLogManager.class$(ACCLogManager.java:104)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.LogManager$1.run(LogManager.java:160)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.util.logging.LogManager.<clinit>(LogManager.java:141)
    at java.util.logging.Logger.getLogger(Logger.java:227)
    at java.util.logging.Logger.<clinit>(Logger.java:181)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.iplanet.ias.util.i18n.StringManager.<clinit>(StringManager.java:69)
    at com.iplanet.ias.appclient.Main.<clinit>(Main.java:88)
    Caused by: java.lang.NullPointerException
    at com.iplanet.ias.util.i18n.StringManager.getManager(StringManager.java:141)
    at com.iplanet.ias.config.ConfigBean.<clinit>(ConfigBean.java:43)
    ... 14 more
    14-Jan-2004 22:39:18 java.util.logging.LogManager$RootLogger log
    SEVERE: addLogger exception
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at com.iplanet.ias.server.logging.ACCLogManager.class$(ACCLogManager.java:104)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.LogManager$1.run(LogManager.java:160)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.util.logging.LogManager.<clinit>(LogManager.java:141)
    at java.util.logging.Logger.getLogger(Logger.java:227)
    at java.util.logging.Logger.<clinit>(Logger.java:181)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.iplanet.ias.util.i18n.StringManager.<clinit>(StringManager.java:69)
    at com.iplanet.ias.appclient.Main.<clinit>(Main.java:88)
    Caused by: java.lang.NullPointerException
    at com.iplanet.ias.util.i18n.StringManager.getManager(StringManager.java:141)
    at com.iplanet.ias.config.ConfigBean.<clinit>(ConfigBean.java:43)
    ... 14 more
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:186)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:18 java.util.logging.LogManager$RootLogger log
    SEVERE: addLogger exception
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:186)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:18 com.iplanet.ias.appclient.Main <init>
    INFO:
    ---------AppClient Container--------
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.J2EESecurityManager.<clinit>(J2EESecurityManager.java:22)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:192)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:18 java.util.logging.LogManager$RootLogger log
    SEVERE: addLogger exception
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.J2EESecurityManager.<clinit>(J2EESecurityManager.java:22)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:192)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.security.KeyTool.<clinit>(KeyTool.java:32)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:194)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:18 java.util.logging.LogManager$RootLogger log
    SEVERE: addLogger exception
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.security.KeyTool.<clinit>(KeyTool.java:32)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:194)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:19 com.iplanet.ias.appclient.Main setTagetServerProperties
    INFO: ACC001:Using ClientContainer file: [C:\Sun\AppServer7\domains\domain1\server1\config\sun-acc.xml].
    14-Jan-2004 22:39:19 com.iplanet.ias.appclient.Main setTagetServerProperties
    WARNING: ACC002: Client Continer xml not found... proceeding with defaults.
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.deployment.Archivist.<clinit>(Archivist.java:59)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:228)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:19 java.util.logging.LogManager$RootLogger log
    SEVERE: addLogger exception
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.deployment.Archivist.<clinit>(Archivist.java:59)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:228)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:19 com.iplanet.ias.appclient.Main <init>
    INFO: ACC014: ORB host name: [null]
    14-Jan-2004 22:39:19 com.iplanet.ias.appclient.Main <init>
    INFO: ACC013: ORB port number: [null]
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.iplanet.ias.server.ApplicationServer.<clinit>(ApplicationServer.java:58)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:217)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:31)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at com.sun.enterprise.appclient.AppContainer.createManagers(AppContainer.java:120)
    at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:73)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:339)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:19 java.util.logging.LogManager$RootLogger log
    SEVERE: addLogger exception
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.iplanet.ias.server.ApplicationServer.<clinit>(ApplicationServer.java:58)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:217)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:31)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at com.sun.enterprise.appclient.AppContainer.createManagers(AppContainer.java:120)
    at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:73)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:339)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.iiop.POAEJBORB.<clinit>(POAEJBORB.java:75)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.omg.CORBA.ORB.create_impl(ORB.java:295)
    at org.omg.CORBA.ORB.init(ORB.java:336)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:31)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at com.sun.enterprise.appclient.AppContainer.createManagers(AppContainer.java:120)
    at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:73)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:339)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    14-Jan-2004 22:39:19 java.util.logging.LogManager$RootLogger log
    SEVERE: addLogger exception
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.enterprise.iiop.POAEJBORB.<clinit>(POAEJBORB.java:75)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:219)
    at org.omg.CORBA.ORB.create_impl(ORB.java:295)
    at org.omg.CORBA.ORB.init(ORB.java:336)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:31)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at com.sun.enterprise.appclient.AppContainer.createManagers(AppContainer.java:120)
    at com.sun.enterprise.appclient.AppContainer.preInvoke(AppContainer.java:73)
    at com.iplanet.ias.appclient.Main.<init>(Main.java:339)
    at com.iplanet.ias.appclient.Main.main(Main.java:93)
    java.lang.NoClassDefFoundError
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at org.netbeans.modules.schema2beans.BaseBean.createGraph(BaseBean.java:2097)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:255)
    at com.iplanet.ias.config.ConfigContextImpl.refresh(ConfigContextImpl.java:359)
    at com.iplanet.ias.config.ConfigContextImpl.getRootConfigBean(ConfigContextImpl.java:154)
    at com.iplanet.ias.config.clientbeans.ClientBeansFactory.getClientBean(ClientBeansFactory.java:11)
    at com.iplanet.ias.server.logging.ACCLogManager.initializeLogger(ACCLogManager.java:105)
    at com.iplanet.ias.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:100)
    at com.iplanet.ias.server.logging.BaseLogManager.addLogger(BaseLogManager.java:149)
    at java.util.logging.Logger.getLogger(Logger.java:272)
    at com.sun.logging.LogDomains.getLogger(LogDomains.java:182)
    at com.sun.jts.CosTransactions.DefaultTransactionService.<clinit>(DefaultTransactionService.java:88)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:308)
    at java.lang.Class.newInstance(Class.java:261)
    at com.sun.corba.ee.internal.TxPOA.TxPIORB.initServices(TxPIORB.java:131)
    at com.sun.enterprise.iiop.POAEJBORB.initServices(POAEJBORB.java:475)
    at com.sun.corba.ee.internal.POA.POAORB.initPostProcessing(POAORB.java:355)
    at com.sun.corba.ee.internal.Interceptors.PIORB.initPostProcessing(PIORB.java:236)
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:193)
    at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:337)
    at org.omg.CORBA.ORB.init(ORB.java:337)
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:355)
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:257)
    at com.sun.enter

    It worked, thanks for your help you are truly a star.
    Do you have any idea what the problem is?
    Thanks again anayway

  • Javax.naming.NameNotFoundException: CartBean not found

    I follow step by step the example from the tutorial chapter 25 " Session Bean Examples" and I get "javax.naming.NameNotFoundException: CartBean not found ....." after I run "appclient -client CartAppClient.jar" from my window terminal.
    I built the application and the client correctly What do I get this error?
    Thanks

    I am also having the same problem, using SJS AppServer 8.1. I followed all the instruction from the tutorial but got the following after running the client:
    ========================================================
    Caught an unexpected exception!
    javax.naming.NameNotFoundException: CartBean not found
    at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:185)
    at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:157)
    at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:101)
    at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:469)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1258)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
    ========================================================
    Does anyone know why the CartBean could not be found after setting the JNDI name and the EJB ref for the Client?
    Thanks and regards.

  • Problem in run remote client with appclient

    I am having problems to execute remote clients (remote machines) using script of client conteiner: appclient. Local it functions perfectly, however when executed in a remote machine, the application not run wheel.
    Thanks!

    Have you looked at the Developer's Guide?
    http://docs.sun.com/app/docs?q=clients&p=doc%2F819-0079
    Specifically the section on creating clients with and without the app client container?
    http://docs.sun.com/source/819-0079/dgacc.html

  • Error when trying to run an application containing an intercative form

    <b>Hello,
    I have installed WebAS 6.40 with ADS and ACF and there were no errors during the installation.
    Now I'm trying to build a view with an Interactive Form UIElement. I designed the form and now I'm trying to run the Web Dynpro Application. There are no Errors during the Deployments but when IE opens it shows following error message.
    seems to be something wrong with the binding of the form to the context? but I dont know how to fix this problem...
    any ideas?</b>
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/larsPDF:
    SapDictionaryGenerationCore: 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    SapGenerationFrameworkCore: 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Bound data node Node(TestPDFView.testNode) of InteractiveForm must not be empty!
         at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.renderLeadSelectedElement(XfdRenderer.java:175)
         at com.sap.tc.webdynpro.clientimpl.xdp.renderer.data.XfdRenderer.render(XfdRenderer.java:75)
         at com.sap.tc.webdynpro.clientserver.renderer.AbstractRenderManager.render(AbstractRenderManager.java:62)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:343)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:104)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1085)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    <b>Message was edited by: Lars Roettgers
    I started from scratch, following the Tutorial from NDS's Help.
    Now there is another error message:</b>An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/codeExample:
    SapDictionaryGenerationCore: 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    SapGenerationFrameworkCore: 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable.
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:201)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:142)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:398)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:104)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1085)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable.
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:87)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:198)
         ... 27 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:734)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1118)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:71)
         ... 29 more
    <b>Message was edited by: Lars Roettgers
    By the way, my sapmmc shows everything green but i took a look at the std_server0.out file and there seems to be a problem with the iiop service (whatever it is?).
    the file says:</b>----
    stdout/stderr redirect
    node name   : server0
    pid         : 1468
    system name : J2E
    system nr.  : 00
    started at  : Fri Apr 15 08:21:43 2005
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    SAP J2EE Engine Version 6.40   PatchLevel 87289.311 is starting...
    Loading: LogManager ... 8110 ms.
    Loading: PoolManager ... 15 ms.
    Loading: ApplicationThreadManager ... 1110 ms.
    Loading: ThreadManager ... 234 ms.
    Loading: IpVerificationManager ... 31 ms.
    Loading: ClassLoaderManager ... 141 ms.
    Loading: ClusterManager ... 2062 ms.
    Loading: LockingManager ... 188 ms.
    Loading: ConfigurationManager ... 0.000: [GC 0.000: [DefNew: 21503K->2090K(32256K), 0.1650020 secs] 21503K->2090K(251392K), 0.1651126 secs]
    11172 ms.
    Loading: LicensingManager ... 765 ms.
    Loading: ServiceManager ...
    14.543: [GC 14.543: [DefNew: 23594K->3006K(32256K), 0.0826214 secs] 23594K->3006K(251392K), 0.0827337 secs]
    Loading services.:
      Cannot start service com.adobe~FontManagerService; it has hard reference to service iiop with manual startup mode.
      Cannot start service com.adobe~DataManagerService; it has hard reference to service iiop with manual startup mode.
      Cannot start service com.adobe~TrustManagerService; it has hard reference to service iiop with manual startup mode.
      Cannot start service com.adobe~PDFManipulation; it has hard reference to service iiop with manual startup mode.
      Service runtimeinfo started. (47 ms).
      Service timeout started. (531 ms).
      Service cross started. (703 ms).
      Service memory started. (297 ms).
      Service file started. (1516 ms).
      Service jmx_notification started. (47 ms).
      Service trex.service started. (62 ms).
    46.686: [GC 46.686: [DefNew: 24510K->5134K(32256K), 0.1012833 secs] 24510K->5134K(251392K), 0.1013956 secs]
      Service p4 started. (546 ms).
      Service classpath_resolver started. (343 ms).
    51.751: [GC 51.752: [DefNew: 26638K->5639K(32256K), 0.0854840 secs] 26638K->5639K(251392K), 0.0855994 secs]
      Service userstore started. (78 ms).
      Service tcsecvsi~service started. (9313 ms).
      Service tcsecwssec~service started. (2812 ms).
    59.545: [GC 59.546: [DefNew: 27143K->6876K(32256K), 0.1044711 secs] 27143K->6876K(251392K), 0.1045851 secs]
      Service log_configurator started. (23437 ms).
      Service locking started. (0 ms).
      Service naming started. (1797 ms).
      Cannot start service com.adobe~XMLFormService; it has hard reference to service iiop with manual startup mode.
      Service ts started. (93 ms).
      Service licensing started. (16 ms).
      Service javamail started. (1360 ms).
      Service failover started. (31 ms).
      Service appclient started. (375 ms).
      Service http started. (719 ms).
    66.579: [GC 66.579: [DefNew: 28380K->7779K(32256K), 0.1106680 secs] 28380K->7779K(251392K), 0.1107750 secs]
      Service jmsconnector started. (406 ms).
      Service connector started. (375 ms).
      Service deploy started. (21032 ms).
      Service configuration started. (15 ms).
    76.080: [GC 76.081: [DefNew: 29283K->9456K(32256K), 0.1304738 secs] 29283K->9456K(251392K), 0.1305845 secs]
      Service apptracing started. (250 ms).
      Service webservices started. (16578 ms).
    79.963: [GC 79.963: [DefNew: 30960K->9724K(32256K), 0.1223088 secs] 30960K->9724K(251392K), 0.1224566 secs]
      Service dbpool started. (9125 ms).
    82.983: [GC 82.983: [DefNew: 31217K->8192K(32256K), 0.1201762 secs] 31217K->9996K(251392K), 0.1202888 secs]
      Service com.sap.security.core.ume.service started. (4312 ms).
    89.472: [GC 89.472: [DefNew: 29696K->9325K(32256K), 0.1195945 secs] 31500K->11129K(251392K), 0.1197080 secs]
      Service security started. (4219 ms).
      Service classload started. (187 ms).
      Service applocking started. (454 ms).
      Service jmx started. (1157 ms).
      Cannot start service com.adobe~DocumentServicesLicenseSupportService; it has hard reference to service iiop with manual startup mode.
      Service shell started. (985 ms).
      Service tceCATTPingservice started. (0 ms).
      Service keystore started. (2187 ms).
      Service servlet_jsp started. (2937 ms).
    95.293: [GC 95.293: [DefNew: 30829K->10448K(32256K), 0.1444024 secs] 32633K->12252K(251392K), 0.1445147 secs]
      Service basicadmin started. (1547 ms).
      Service ssl started. (31 ms).
      Service adminadapter started. (297 ms).
      Service telnet started. (2469 ms).
      Service prtbridge started. (2406 ms).
      Service tcsecsecurestorage~service started. (1734 ms).
      Service com.sap.portal.prt.sapj2ee started. (94 ms).
      Service com.adobe~LicenseService started. (1063 ms).
      Service com.adobe~DocumentServicesConfiguration started. (282 ms).
      Service tcsecdestinations~service started. (2938 ms).
      Service pmi started. (563 ms).
      Service dsr started. (1000 ms).
      Service sld started. (4516 ms).
    103.012: [GC 103.012: [DefNew: 31952K->10752K(32256K), 0.1941724 secs] 33756K->17350K(251392K), 0.1942984 secs]
      Service ejb started. (3047 ms).
      Service rfcengine started. (78 ms).
      Service monitor started. (1157 ms).
    107.599: [GC 107.609: [DefNew: 32256K->10397K(32256K), 0.1364344 secs] 38854K->18333K(251392K), 0.1365486 secs]
      Service tc.monitoring.logviewer started. (3766 ms).
      Service webdynpro started. (2219 ms).
    Excluding compile:  iaik.security.md.SHA::a
      Service jms_provider started. (9235 ms).
    113.684: [GC 113.686: [DefNew: 31901K->10609K(32256K), 0.1271424 secs] 39837K->19336K(251392K), 0.1272589 secs]
    119.897: [GC 119.897: [DefNew: 32113K->10752K(32256K), 0.1956659 secs] 40840K->21102K(251392K), 0.1957743 secs]
      Service DQE started. (7968 ms).
    ServiceManager started for 115594 ms.
    Framework started for 141219 ms.
    SAP J2EE Engine Version 6.40   PatchLevel 87289.311 is running!
    PatchLevel 87289.311 November 18, 2004 20:31 GMT
    125.381: [GC 125.382: [DefNew: 32255K->10752K(32256K), 0.3708564 secs] 42606K->23021K(251392K), 0.3709661 secs]
    >132.046: [GC 132.046: [DefNew: 32255K->10752K(32256K), 0.1432425 secs] 44525K->24642K(251392K), 0.1433554 secs]
    139.508: [GC 139.508: [DefNew: 32255K->7786K(32256K), 0.1626534 secs] 46146K->26233K(251392K), 0.1627654 secs]
    156.330: [GC 156.330: [DefNew: 29290K->9160K(32256K), 0.1461119 secs] 47737K->27606K(251392K), 0.1462281 secs]
    164.351: [GC 164.351: [DefNew: 30664K->9870K(32256K), 0.1396180 secs] 49110K->28317K(251392K), 0.1397300 secs]
    172.818: [GC 172.818: [DefNew: 31374K->9698K(32256K), 0.1318665 secs] 49820K->28830K(251392K), 0.1319796 secs]
    179.883: [GC 179.884: [DefNew: 31186K->9628K(32256K), 0.1428335 secs] 50319K->29330K(251392K), 0.1429453 secs]
    209.777: [GC 209.780: [DefNew: 31110K->10748K(32256K), 0.1325099 secs] 50812K->30450K(251392K), 0.1326219 secs]
    219.394: [GC 219.394: [DefNew: 32223K->8916K(32256K), 0.1486949 secs] 51925K->30452K(251392K), 0.1488072 secs]
    225.685: [GC 225.692: [DefNew: 30420K->9057K(32256K), 0.1170096 secs] 51956K->30593K(251392K), 0.1171238 secs]
    228.990: [GC 228.990: [DefNew: 30561K->9104K(32256K), 0.1223692 secs] 52097K->30641K(251392K), 0.1224795 secs]
    233.533: [GC 233.533: [DefNew: 30608K->9682K(32256K), 0.1108426 secs] 52144K->31219K(251392K), 0.1109560 secs]
    235.970: [GC 235.970: [DefNew: 31184K->9409K(32256K), 0.1336639 secs] 52720K->32242K(251392K), 0.1337776 secs]
    239.775: [GC 239.775: [DefNew: 30913K->9958K(32256K), 0.1236763 secs] 53746K->32791K(251392K), 0.1237906 secs]
    241.988: [GC 241.988: [DefNew: 31376K->8791K(32256K), 0.1234408 secs] 54209K->32798K(251392K), 0.1235509 secs]
    244.184: [GC 244.185: [DefNew: 30295K->9639K(32256K), 0.1199792 secs] 54302K->33646K(251392K), 0.1200954 secs]
    248.790: [GC 248.790: [DefNew: 31134K->10412K(32256K), 0.1054732 secs] 55141K->34420K(251392K), 0.1055855 secs]
    263.487: [GC 263.489: [DefNew: 31916K->10184K(32256K), 0.1706016 secs] 55924K->35639K(251392K), 0.1707142 secs]
    283.398: [GC 283.398: [DefNew: 31688K->10299K(32256K), 0.1792124 secs] 57143K->37262K(251392K), 0.1793183 secs]
    308.239: [GC 308.239: [DefNew: 31798K->9970K(32256K), 0.1506786 secs] 58761K->37567K(251392K), 0.1507848 secs]
    311.778: [GC 311.778: [DefNew: 31474K->10505K(32256K), 0.1407187 secs] 59071K->38407K(251392K), 0.1408249 secs]
      Cannot start service com.adobe~DataManagerService; it has hard reference to service iiop with manual startup mode.
    440.739: [GC 440.739: [DefNew: 32009K->10752K(32256K), 0.4447895 secs] 59911K->41251K(251392K), 0.4449015 secs]
    1634.305: [GC 1634.305: [DefNew: 32256K->10751K(32256K), 0.2101323 secs] 62755K->42653K(251392K), 0.2102859 secs]
    Apr 15, 2005 8:50:30 AM  ...services.webdynpro.WebDynproContainer [SAPEngine_Application_Thread[impl:3]_25] Fatal: Failed to remove application 'local/larsPDF' for deployment state listener 'com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory'.
    1694.819: [GC 1694.820: [DefNew: 32255K->10523K(32256K), 0.2601481 secs] 64157K->43727K(251392K), 0.2602722 secs]
    1700.762: [GC 1700.764: [DefNew: 32027K->9149K(32256K), 0.1815572 secs] 65231K->44323K(251392K), 0.1819823 secs]
    1912.846: [GC 1912.846: [DefNew: 30653K->9683K(32256K), 0.1448815 secs] 65827K->44857K(251392K), 0.1450101 secs]
    2535.775: [GC 2535.775: [DefNew: 31187K->8609K(32256K), 0.1890684 secs] 66361K->45084K(251392K), 0.1891810 secs]
    3631.662: [GC 3631.663: [DefNew: 30113K->8764K(32256K), 0.1315528 secs] 66588K->45239K(251392K), 0.1317497 secs]
    4648.617: [GC 4648.617: [DefNew: 30268K->9041K(32256K), 0.2148379 secs] 66743K->45516K(251392K), 0.2150933 secs]
    5735.738: [GC 5735.753: [DefNew: 30545K->9395K(32256K), 0.2350659 secs] 67020K->45870K(251392K), 0.2352087 secs]
    Apr 15, 2005 10:02:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: ~wd_key0_1113552125328
    Apr 15, 2005 10:02:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: wd_keyE50T+2c5GXrp3jzmjG1ZGw==
    6138.115: [GC 6138.116: [DefNew: 30899K->10752K(32256K), 0.2809365 secs] 67374K->47317K(251392K), 0.2810589 secs]
    6731.591: [GC 6731.591: [DefNew: 32250K->9772K(32256K), 0.5666726 secs] 68815K->47794K(251392K), 0.5864248 secs]
    Apr 15, 2005 10:15:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: ~wd_key1_1113552880171
    Apr 15, 2005 10:15:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: wd_keyoLRolFo9CjJdX98dnh0o1w==
    Apr 15, 2005 10:16:39... ...services.webdynpro.WebDynproContainer [SAPEngine_Application_Thread[impl:3]_26] Fatal: Failed to remove application 'local/Welcome' for deployment state listener 'com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObjectFactory'.
    6934.529: [GC 6934.529: [DefNew: 31276K->7238K(32256K), 0.2245945 secs] 69298K->48224K(251392K), 0.2247325 secs]
    Apr 15, 2005 10:19:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: ~wd_key2_1113553124437
    Apr 15, 2005 10:19:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: wd_keyoLRolFo9CjJdX98dnh0o1w==
    7062.447: [GC 7062.448: [DefNew: 28742K->7323K(32256K), 0.1595831 secs] 69728K->48309K(251392K), 0.1597094 secs]
    Apr 15, 2005 10:31:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: wd_keyoLRolFo9CjJdX98dnh0o1w==
    Apr 15, 2005 10:31:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: ~wd_key3_1113553881156
    7754.384: [GC 7754.384: [DefNew: 28827K->6966K(32256K), 0.1205944 secs] 69813K->47952K(251392K), 0.1207089 secs]
    Apr 15, 2005 10:32:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: wd_keyoLRolFo9CjJdX98dnh0o1w==
    Apr 15, 2005 10:32:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: ~wd_key4_1113553905718
    8078.801: [GC 8078.801: [DefNew: 28469K->7645K(32256K), 0.1392264 secs] 69455K->48632K(251392K), 0.1393417 secs]
    Apr 15, 2005 10:37:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: ~wd_key5_1113554225437
    Apr 15, 2005 10:37:31... ...l.cache.WebResourceCache.startService [Thread[Thread-68,5,SAPEngine_Application_Thread[impl:3]_Group]] Fatal: Tried to save: wd_keyoLRolFo9CjJdX98dnh0o1w==

    Hi Ole,
    thanks for your answer.
    there is one property calles cardinality (value is 0..n) and another one called selection (value is 0..1) but I cannot edit these values
    In the meantime I found out that I forgot to do some of the post-installation-configuring. I fixed it and I hoped this would have solved my problem...but it didn't.
    This is the latest error message:
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/codeExample:
    SapDictionaryGenerationCore: 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:28[UTC], changelist=297524, host=PWDFM027)
    SapGenerationFrameworkCore: 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         java.net.SocketException: Software caused connection abort: recv failed
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:201)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:142)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:398)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:104)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1085)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
         java.net.SocketException: Software caused connection abort: recv failed
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:87)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:198)
         ... 27 more
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:628)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:317)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:219)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:344)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:710)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1118)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:71)
         ... 29 more

  • Error in running EJB Client on a remote machine

    I delploy my beans and can run the EJB Client locally. However when I try to run the Client on another machine, there are errors.
    Here is the errors
    Syntax error
    Out of environment space
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/enterprise/appclient/Main
    I have follow the step in the j2ee tutorial and set the env variables according. Here is the bat file I write
    set APPCPATH=CBSAppClient.jar
    set VMARGS=-Dj2eelogin.name=guest -Dj2eelogin.password=guest123 -Dorg.omg.CORBA.ORBInitialHost=192.168.0.2
    runclient -client CBSApp.ear -name CBSClient -textauth
    Do anyone facing the same problem with me?
    And how can I solve the problems?
    This is really URGENT, please help

    You are running on Windows 9x or Me, right? The darn OS has 300 or so bytes allocated for environment by default.
    Try setting the Initial environment to 4096 in the Properties|Memory tab for the batch file. That will get rid of "Out of environment space". The syntax error is another matter; Windows (except NT and derivatives) shells do not allow '=' in an environment variables value. You cannot overcome that. Some software (Sybase for instance) interprets # as = just because of that. Unfortunately, the JVM doesn't take such an approach.
    Better, grab copies of Unix utilities for Windows (www.gnu.org) including the wonderful shell 'bash' and write .sh scripts, which are inherently more powerful.

  • J2EE server not running. 503 service unavailable

    Hi ,
    J2EE Server is not starting. Rest all are running in mmc console.The contents of the file std_server0.out is as below.
    stdout/stderr redirect
    node name : server0
    pid : 584
    system name : J2E
    system nr. : 00
    started at : Tue Feb 15 10:12:46 2005
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    SAP J2EE Engine Version 6.40 PatchLevel 87289.311 is starting...
    Loading: LogManager ... 1656 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 282 ms.
    Loading: ThreadManager ... 1360 ms.
    Loading: IpVerificationManager ... 47 ms.
    Loading: ClassLoaderManager ... 31 ms.
    Loading: ClusterManager ... 1047 ms.
    Loading: LockingManager ... 719 ms.
    Loading: ConfigurationManager ... 2093 ms.
    Loading: LicensingManager ... 125 ms.
    Loading: ServiceManager ...
    0.000: [GC 0.000: [ParNew: 43517K->2681K(65280K), 0.1899077 secs] 43517K->2681K(502528K), 0.1900163 secs]
    Loading services.:
    Service memory started. (125 ms).
    Service cross started. (125 ms).
    Service jmx_notification started. (110 ms).
    Service trex.service started. (140 ms).
    Service file started. (47 ms).
    Service runtimeinfo started. (0 ms).
    Service timeout started. (188 ms).
    Service userstore started. (16 ms).
    7.557: [GC 7.557: [ParNew: 46201K->4641K(65280K), 0.0511883 secs] 46201K->4641K(502528K), 0.0513121 secs]
    Service tcsecvsi~service started. (953 ms).
    Service tcsecwssec~service started. (1016 ms).
    Service p4 started. (578 ms).
    Service classpath_resolver started. (32 ms).
    Service deploy started. (5922 ms).
    14.157: [GC 14.157: [ParNew: 48161K->7636K(65280K), 0.0653829 secs] 48161K->7636K(502528K), 0.0655197 secs]
    Service apptracing started. (390 ms).
    Service log_configurator started. (11172 ms).
    Service locking started. (0 ms).
    Service http started. (563 ms).
    Service naming started. (765 ms).
    Service failover started. (94 ms).
    Service appclient started. (250 ms).
    Service ts started. (234 ms).
    Service javamail started. (282 ms).
    Service jmsconnector started. (282 ms).
    Service licensing started. (47 ms).
    Service connector started. (547 ms).
    Service configuration started. (250 ms).
    Service webservices started. (1234 ms).
    19.873: [GC 19.873: [ParNew: 51143K->8276K(65280K), 0.0746933 secs] 51143K->8276K(502528K), 0.0748063 secs]
    25.284: [GC 25.284: [ParNew: 51796K->8763K(65280K), 0.0613457 secs] 51796K->8763K(502528K), 0.0614361 secs]
    Service dbpool started. (6796 ms).
    Timed out services:
    Service ssl.
    Service tc.monitoring.logviewer.
    Service keystore.
    Service shell.
    Service prtbridge.
    Service webdynpro.
    Service com.sap.security.core.ume.service.
    Service pmi.
    Service tcsecsaml~service.
    Service sld.
    Service com.sap.portal.prt.sapj2ee.
    Service jms_provider.
    Service basicadmin.
    Service classload.
    Service adminadapter.
    Service telnet.
    Service servlet_jsp.
    Service ejb.
    Service dsr.
    Service monitor.
    Service tcsecdestinations~service.
    Service tcsecsecurestorage~service.
    Service security.
    Service applocking.
    Service jmx.
    Service DQE.
    Service tceCATTPingservice.
    Service rfcengine.
    ServiceManager started for 315217 ms.
    Framework started for 323623 ms.
    SAP J2EE Engine Version 6.40 PatchLevel 87289.311 is running!
    PatchLevel 87289.311 November 18, 2004 20:31 GMT
    608.267: [GC 608.268: [ParNew: 52274K->10357K(65280K), 0.1024975 secs] 52274K->10357K(502528K), 0.1026132 secs]
    Excluding compile: iaik.security.md.SHA::a
    The Developer Trace of J2EE Server is as below.
    trc file: "D:\usr\sap\J2E\JC00\work\dev_server0", trc level: 1, release: "640"
    node name : ID3718450
    pid : 3964
    system name : J2E
    system nr. : 00
    started at : Tue Feb 15 10:12:46 2005
    arguments :
    arg[00] : D:\usr\sap\J2E\JC00/j2ee/os_libs/jlaunch.exe
    arg[01] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC00_igtehydsapweb
    arg[02] : -DSAPINFO=J2E_00_server
    arg[03] : pf=D:\usr\sap\J2E\SYS\profile\J2E_JC00_igtehydsapweb
    JStartupReadInstanceProperties: read instance properties [D:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties]
    -> ms host : igtehydsapweb
    -> ms port : 3601
    -> OS libs : D:\usr\sap\J2E\JC00\j2ee\os_libs
    -> Admin URL :
    -> run mode : NORMAL
    -> run action : NONE
    -> enabled : yes
    Used property files
    -> files [00] : D:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties
    Instance properties
    -> ms host : igtehydsapweb
    -> ms port : 3601
    -> os libs : D:\usr\sap\J2E\JC00\j2ee\os_libs
    -> admin URL :
    -> run mode : NORMAL
    -> run action : NONE
    -> enabled : yes
    Bootstrap nodes
    -> [00] bootstrap : D:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID3718400 : D:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID3718450 : D:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID3718400 : D:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties
    -> [01] ID3718450 : D:\usr\sap\J2E\JC00\j2ee\cluster\instance.properties
    [Thr 4256] Tue Feb 15 10:12:46 2005
    [Thr 4256] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 4256] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 3328] JLaunchRequestFunc: Thread 3328 started as listener thread for np messages.
    [Thr 1800] WaitSyncSemThread: Thread 1800 started as semaphore monitor thread.
    [Thr 4256] Tue Feb 15 10:12:47 2005
    [Thr 4256] INFO: Invalid property value [JLaunchParameters/]
    [Thr 4256] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) - using -Xmx512M [jstartxx.c 2282]
    [Thr 4256] [Node: server0] java home is set by profile parameter
    Java Home: D:\j2sdk1.4.2_07
    JStartupIReadSection: read node properties [ID3718450]
    -> node name : server0
    -> node type : server
    -> java path : D:\j2sdk1.4.2_07
    -> java parameters : -Djava.security.policy=./java.policy -Djava.security.egd=file:/dev/urandom -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy -Djco.jarm=1 -Dsun.io.useCanonCaches=false -Djava.awt.headless=true -XX:SoftRefLRUPolicyMSPerMB=1 -verbose:gc -XX:PrintGCDetails -XX:PrintGCTimeStamps -XX:UseParNewGC -XX:MaxNewSize=85M -XX:NewSize=85M -XX:DisableExplicitGC -XX:MaxPermSize=192M -XX:PermSize=192M -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -Drdbms.driverLocation=D:/sapdb/programs/runtime/jar/sapdbc.jar -Dsys.global.dir=D:/usr/sap/J2E/SYS/global/
    -> java vm version : 1.4.2_07-b05
    -> java vm vendor : Java HotSpot(TM) Server VM (Sun Microsystems Inc.)
    -> java vm type : server
    -> java vm cpu : x86
    -> heap size : 512M
    -> init heap size : 512M
    -> root path : D:\usr\sap\J2E\JC00\j2ee\cluster\server0
    -> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> OS libs path : D:\usr\sap\J2E\JC00\j2ee\os_libs
    -> main class : com.sap.engine.boot.Start
    -> framework class : com.sap.bc.proj.jstartup.JStartupFramework
    -> registr. class : com.sap.bc.proj.jstartup.JStartupNatives
    -> framework path : D:\usr\sap\J2E\JC00\j2ee\os_libs\jstartup.jar
    -> shutdown class : com.sap.engine.boot.Start
    -> parameters :
    -> debuggable : no
    -> debug mode : no
    -> debug port : 50021
    -> shutdown timeout: 120000
    [Thr 4256] JLaunchISetDebugMode: set debug mode [no]
    [Thr 1784] JLaunchIStartFunc: Thread 1784 started as Java VM thread.
    JHVM_LoadJavaVM: VM Arguments of node [server0]
    -> stack : 262144 Bytes
    -> arg[ 0]: exit
    -> arg[ 1]: abort
    -> arg[ 2]: -Denv.class.path=D:\j2sdk1.4.2_07\%JAVA_HOME%\lib;
    -> arg[ 3]: -Djava.security.policy=./java.policy
    -> arg[ 4]: -Djava.security.egd=file:/dev/urandom
    -> arg[ 5]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy
    -> arg[ 6]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy
    -> arg[ 7]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy
    -> arg[ 8]: -Djco.jarm=1
    -> arg[ 9]: -Dsun.io.useCanonCaches=false
    -> arg[ 10]: -Djava.awt.headless=true
    -> arg[ 11]: -XX:SoftRefLRUPolicyMSPerMB=1
    -> arg[ 12]: -verbose:gc
    -> arg[ 13]: -XX:+PrintGCDetails
    -> arg[ 14]: -XX:+PrintGCTimeStamps
    -> arg[ 15]: -XX:+UseParNewGC
    -> arg[ 16]: -XX:MaxNewSize=85M
    -> arg[ 17]: -XX:NewSize=85M
    -> arg[ 18]: -XX:+DisableExplicitGC
    -> arg[ 19]: -XX:MaxPermSize=192M
    -> arg[ 20]: -XX:PermSize=192M
    -> arg[ 21]: -XX:SurvivorRatio=2
    -> arg[ 22]: -XX:TargetSurvivorRatio=90
    -> arg[ 23]: -Drdbms.driverLocation=D:/sapdb/programs/runtime/jar/sapdbc.jar
    -> arg[ 24]: -Dsys.global.dir=D:/usr/sap/J2E/SYS/global/
    -> arg[ 25]: -Dsys.global.dir=D:\usr\sap\J2E\SYS\global
    -> arg[ 26]: -Dapplication.home=D:\usr\sap\J2E\JC00\j2ee\os_libs
    -> arg[ 27]: -Djava.class.path=D:\usr\sap\J2E\JC00\j2ee\os_libs\jstartup.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.
    -> arg[ 28]: -Djava.library.path=D:\j2sdk1.4.2_07\jre\bin\server;D:\j2sdk1.4.2_07\jre\bin;D:\j2sdk1.4.2_07\bin;D:\usr\sap\J2E\JC00\j2ee\os_libs;D:\usr\sap\Python\.;d:\sapdb\programs\bin;d:\sapdb\programs\pgm;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D:\j2sdk1.4.2_07\bin;;D:\usr\sap\J2E\SCS01\exe;D:\usr\sap\J2E\JC00\exe;D:\usr\sap\J2E\SYS\exe\run
    -> arg[ 29]: -Dmemory.manager=512M
    -> arg[ 30]: -Xmx512M
    -> arg[ 31]: -Xms512M
    -> arg[ 32]: -DLoadBalanceRestricted=no
    -> arg[ 33]: -Djstartup.mode=JCONTROL
    -> arg[ 34]: -Djstartup.ownProcessId=3964
    -> arg[ 35]: -Djstartup.ownHardwareId=W0450436801
    -> arg[ 36]: -Djstartup.whoami=server
    -> arg[ 37]: -Djstartup.debuggable=no
    -> arg[ 38]: -DSAPINFO=J2E_00_server
    -> arg[ 39]: -DSAPSTARTUP=1
    -> arg[ 40]: -DSAPSYSTEM=00
    -> arg[ 41]: -DSAPSYSTEMNAME=J2E
    -> arg[ 42]: -DSAPMYNAME=igtehydsapweb_J2E_00
    -> arg[ 43]: -DSAPDBHOST=
    -> arg[ 44]: -Dj2ee.dbhost=igtehydsapweb
    [Thr 1784] Tue Feb 15 10:12:48 2005
    [Thr 1784] JHVM_LoadJavaVM: Java VM created OK.
    JHVM_BuildArgumentList: main method arguments of node [server0]
    [Thr 3104] Tue Feb 15 10:12:56 2005
    [Thr 3104] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 3104] JLaunchISetClusterId: set cluster id 3718450
    [Thr 3104] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 3104] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 3104] Tue Feb 15 10:18:15 2005
    [Thr 3104] JLaunchISetState: change state from [Starting (2)] to [Starting applications (10)]
    please do the needful.
    regards,
    sreeram

    Hi Sreeram,
    The reasons for this issue can be numerous and most of them will be present in the default trace in
    /usr/sap/<SID>/JC<instance-nr>/j2ee/cluster/server<0..N>/log
    It would be best to report an OSS message and let the support find the problem for you.
    Best Regards: Iavor

  • How to create a jar, deploy and run it

    I extract the example bmp-simple.ear into class file and xml files.
    I create jar by the command
    jar cvf bmp-simpleEjb.jar META-INF samples
    (The java program are in package samples.ejb.bmp.simple.ejb; ) Suitable xml are stored in directory META-INF.
    Finally I jar all the jars into a bmp-simple.ear file, I can deploy it by admin console in j2ee 1.4, but when I run it, the following errors are shown
    I:\jdk14b\domains\domain1\applications\j2ee-apps\bmp-simple>appclient -client bm
    p-simpleClient.jar -name StorageBinClient -textauth
    Mar 23, 2004 4:19:52 PM com.sun.enterprise.appclient.Main <init>
    WARNING: ACC003: Application threw an exception.
    java.lang.ClassNotFoundException:
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:365)
    at com.sun.enterprise.appclient.Main.main(Main.java:105)
    If I create ear file from sun 's jar file, I can run it.
    If I create ear file from class and xml, I cannot run it
    The server I am using: J2EE(TM) Application Server 1.4 Developer Release (build b44-dr)
    Thanks for any help! (I repost and rewrite this question)

    please see the response to your question yesterday.

  • Trying to run OrderApp from Tutorial 1.4

    I 've traced the OrderApp and when It gets to the createVendorPart method in the RequestBean, exactly when it should create the vendorPart
    LocalVendorPart vendorPart =
    vendorPartHome.create(vendorPartRequest.description,
    vendorPartRequest.price, part);
    the application fall down and give the following error:
    Caught an exception:
    java.rmi.ServerException: RemoteException occurred in server thread; nested exce
    ption is:
    java.rmi.RemoteException: Transaction aborted; nested exception is: java
    x.transaction.RollbackException: Transaction marked for rollback.
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.ja
    va:161)
    at javax.rmi.CORBA.Util.mapSystemException(Util.java:67)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invo
    ke(StubInvocationHandlerImpl.java:142)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unkno
    wn Source)
    at request._Request_DynamicStub.createVendorPart(_Request_DynamicStub.ja
    va)
    at client.Client.createData(Unknown Source)
    at client.Client.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:23
    7)
    at com.sun.enterprise.appclient.Main.<init>(Main.java:426)
    at com.sun.enterprise.appclient.Main.main(Main.java:97)
    Caused by: java.rmi.RemoteException: Transaction aborted; nested exception is: j
    avax.transaction.RollbackException: Transaction marked for rollback.
    at com.sun.enterprise.iiop.POAProtocolMgr.mapException(POAProtocolMgr.ja
    va:199)
    at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:85
    3)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInv
    ocationHandler.java:137)
    at $Proxy165.createVendorPart(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(Reflecti
    veTie.java:123)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tchToServant(CorbaServerRequestDispatcherImpl.java:648)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tch(CorbaServerRequestDispatcherImpl.java:192)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    Request(CorbaMessageMediatorImpl.java:1709)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:1569)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(C
    orbaMessageMediatorImpl.java:951)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.call
    back(RequestMessage_1_2.java:181)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:721)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatc
    h(SocketOrChannelConnectionImpl.java:469)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(
    SocketOrChannelConnectionImpl.java:1258)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.
    run(ThreadPoolImpl.java:409)
    2
    I dont know if this is for the error that appears when I tried to Verify the OrderApp with Verfier utilty from the deployment tool :

    I forgot post the verfier error:
    Assertion:All classes in this EJB Archive are loadable. Please refer to J2EE 1.4 Specification Section #8.1.2 for further information.
    For [ OrderApp#ejb-jar-ic.jar#RequestBean ]
    classes [ dataregistry.LocalVendorPartHome dataregistry.LocalVendorPart dataregistry.LocalPart dataregistry.LocalVendorHome dataregistry.LocalVendor dataregistry.LocalPartHome dataregistry.LocalLineItemHome dataregistry.LocalOrder dataregistry.LocalOrderHome dataregistry.PartKey ] referenced by [ request.RequestBean] are not found
    Please either bundle the above mentioned classes in the application or use optional packaging support for them.

  • Problem using aspects with appclient

    I am trying to create a jms client server and want to include aspects in my program. I can successfully run using appclient provided no pointcuts from my aspect get called. If it does get called ClassDefNotFound error and NoAspectBoundException are thrown from the application. I have checked my classpath and aspectjrt.jar is on classpath. The advice is not in infinite loop so aspect bounding is not a problem. Any help would be appreciated.
    Thanks in advance
    Regards,
    Harish

    EntityFacade class is very simple and it uses a static EntityManager object. Here the code:
    public class EntityFacade {
         private static EntityManager em = Persistence.createEntityManagerFactory("ElectroManager").createEntityManager();
         private static Logger logger=Logger.getLogger(EntityFacade.class);
         public static void insertCliente(Cliente c)
              logger.debug("Inserisco cliente nel db: " + c);
              em.getTransaction().begin();
              c.setId(getNextIdForTable("Cliente"));
              em.persist(c);
              em.getTransaction().commit();
    If I call the method from inside a main it works well, so I think the problem is not the classpath neither the URL in the persistence.xml. However the URL is:
    <property name="toplink.jdbc.url" value="jdbc:derby:c:/programmi/ElectroManager/db/electroManager"/>
    I use the latest build version of TopLink.
    Thanks.

  • Simple ejb project fails to run but debugs OK

    OK, here's my first foray into the world of EJB3:
    It's trivial to be sure.
    ==== SessionBean.java===
    package sess;
    import javax.ejb.Stateless;
    @Stateless
    public class SessionBean implements SessionRemote, SessionLocal {
        public String hello(String world) {
            String val = "hello " + world;
            System.out.println("bean says: " + val);   
            return val;
    }=====SessionRemote.java====
    package sess;
    import javax.ejb.Remote;
    @Remote
    public interface SessionRemote {   
        String hello(String world);
    }and the grande application is this:
    =====Main.java====
    package toyproj;
    import javax.ejb.EJB;
    import sess.SessionRemote;
    public class Main {
        @EJB
        static private SessionRemote sess;
        public static void main(String[] args) {
            System.out.println(sess.hello("world"));
    }I've done all this in Netbeans 6.1 and I can deploy the session bean OK. Now here's the rub: The "application client" gets a NullPointerException as if the session object didn't get injected at all. If I run it in "debug mode", it runs OK though.
    Have I made an obvious mistake?

    yeah, it's bizarre. I just re-created a brand new project with same contents on a different computer (at home now) and get the same result. I feel i'm missing something simple! Forgot to say, it's GlassFish 2.1 and Java 1.6.
    anyway here's the appclient output with stack trace:
    init:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    dist:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    Building jar: /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    dist:
    pre-run-deploy:
    Redeploying /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    Start registering the project's server resources
    Finished registering server resources
    While redeploying, trying to stop the application in target server  completed successfully
    While redeploying, trying to remove reference for application in target server  completed successfully
    deployment started : 0%
    deployment finished : 100%
    Deploying application in domain completed successfully
    Trying to create reference for application in target server  completed successfully
    Trying to start application in target server  completed successfully
    Deployment of application ToyProject-app-client  completed successfully
    All operations completed successfully
    Enable of ToyProject-app-client in target server completed successfully
    Enable of application in all targets  completed successfully
    All operations completed successfully
    post-run-deploy:
    run-deploy:
    Copying 1 file to /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist
    run-tool:
    24-Jul-2008 19:33:10 com.sun.enterprise.appclient.MainWithModuleSupport <init>
    WARNING: ACC003: Application threw an exception.
    java.lang.NullPointerException
            at toyproject.Main.main(Main.java:8)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:449)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
            at com.sun.enterprise.appclient.Main.main(Main.java:200)
    Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:461)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:259)
            at com.sun.enterprise.appclient.Main.main(Main.java:200)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.util.Utility.invokeApplicationMain(Utility.java:266)
            at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(MainWithModuleSupport.java:449)
            ... 2 more
    Caused by: java.lang.NullPointerException
            at toyproject.Main.main(Main.java:8)
            ... 8 more
    Java Result: 1
    run-jar:
    run-display-browser:
    run:
    BUILD SUCCESSFUL (total time: 11 seconds)When I print out the SessionBean itself, it prints "null".
    I guess server output isn't helpful since the server never even gets contacted here, and when i "debug" it does the right thing. Anyway the fish doesn't spew errors, just a torrent of messages about deploying and stuff.
    This is the appclient output when "Debug"
    init:
    init:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    dist:
    deps-jar:
    compile:
    library-inclusion-in-archive:
    Building jar: /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    dist:
    pre-run-deploy:
    Redeploying /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist/ToyProject-app-client.jar
    Start registering the project's server resources
    Finished registering server resources
    While redeploying, trying to stop the application in target server  completed successfully
    While redeploying, trying to remove reference for application in target server  completed successfully
    deployment started : 0%
    deployment finished : 100%
    Deploying application in domain completed successfully
    Trying to create reference for application in target server  completed successfully
    Trying to start application in target server  completed successfully
    Deployment of application ToyProject-app-client  completed successfully
    All operations completed successfully
    Enable of ToyProject-app-client in target server completed successfully
    Enable of application in all targets  completed successfully
    All operations completed successfully
    post-run-deploy:
    run-deploy:
    Copying 1 file to /home/seb/NetBeansProjects/ToyProject/ToyProject-app-client/dist
    debug-tool:
    Non-existing path "/home/seb/glassfish-v2ur2/lib/dom.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/xalan.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/xercesImpl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/jaxrpc-impl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/saaj-impl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/jaxr-impl.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/relaxngDatatype.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/xsdlib.jar" provided.
    Non-existing path "/home/seb/glassfish-v2ur2/lib/fscontext.jar" provided.
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/dom.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/xalan.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/xercesImpl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/jaxrpc-impl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/saaj-impl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/jaxr-impl.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/relaxngDatatype.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/xsdlib.jar
    Have no FileObject for /home/seb/glassfish-v2ur2/lib/fscontext.jar
    Listening for transport dt_socket at address: 9009
    Attached JPDA debugger to localhost:9009
    hello world
    debug-jar:
    debug:
    BUILD SUCCESSFUL (total time: 16 seconds)as you see i do get some errors about missing file or what but it runs OK.

  • Help:How can I run the J2EE Client Application? Thanks

    Help:How can I run the J2EE Client Application that will access the remote J2EE1.4 application server which runs on another host computer?
    I have developped a stateles senterprise java bean name converter and deloyed it in the j2ee1.4 application server on the host machine A. The converterbean provides the remote home interface and remote interface. At the same time I have developped the j2ee application client named convertappclient. When I access the conveter bean at host computer A through the script 'appclient.bat' as 'appclient -client convertappclient.jar', the client can access the bean sucessfully. Now I want to access the bean through the script 'appclient.bat' at host computer B,what files should I copy from host computer A to host computer B;and what the command line should be like? Thanks!
    The following are the code of the enterprise java bean and it's home interface .
    The client code is also provided.
    The enterprise java bean:
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.math.*;
    public class ConverterBean implements SessionBean {
    BigDecimal yenRate = new BigDecimal("121.6000");
    BigDecimal euroRate = new BigDecimal("0.0077");
    public ConverterBean() {
    public BigDecimal dollarToYen(BigDecimal dollars) {
    BigDecimal result = dollars.multiply(yenRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public BigDecimal yenToEuro(BigDecimal yen) {
    BigDecimal result = yen.multiply(euroRate);
    return result.setScale(2, BigDecimal.ROUND_UP);
    public void ejbCreate() {
    public void ejbRemove() {
    public void ejbActivate() {
    public void ejbPassivate() {
    public void setSessionContext(SessionContext sc) {
    The bean's remote home interface :
    package converter;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    public interface ConverterHome extends EJBHome {
    Converter create() throws RemoteException, CreateException;
    The bean's remote interface:
    package converter;
    import javax.ejb.EJBObject;
    import java.rmi.RemoteException;
    import java.math.*;
    public interface Converter extends EJBObject {
    public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException;
    public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException;
    The j2ee application client:
    import converter.Converter;
    import converter.ConverterHome;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.rmi.PortableRemoteObject;
    import java.math.BigDecimal;
    public class ConverterClient {
    public static void main(String[] args) {
    try {
    Context initial = new InitialContext();
    System.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
                   System.setProperty("java.naming.provider.url","jnp://10.144.97.250:3700");
    Context myEnv = (Context) initial.lookup("java:comp/env");
    Object objref = myEnv.lookup("ejb/SimpleConverter");
    ConverterHome home =
    (ConverterHome) PortableRemoteObject.narrow(objref,
    ConverterHome.class);
    Converter currencyConverter = home.create();
    BigDecimal param = new BigDecimal("100.00");
    BigDecimal amount = currencyConverter.dollarToYen(param);
    System.out.println(amount);
    amount = currencyConverter.yenToEuro(param);
    System.out.println(amount);
    System.exit(0);
    } catch (Exception ex) {
    System.err.println("Caught an unexpected exception!");
    ex.printStackTrace();
    }

    Surprisingly I find an upsurge in the number of posts with this same problem. I recently found a post which gave a nice link for this. Follow the steps and it should help:
    http://docs.sun.com/source/819-0079/dgacc.html#wp1022105

  • How to run a jms-class as a stand-alone java-Programm???

    Hi,
    I have another little question concerning jms. The jms programs I have written so far had to be executed
    as application clients using the appclient-tool. I asked myself, if it is possible to run a class
    that uses jms like a normal java-Programm with the java-command.
    Unfortunately, an exception is thrown then, because there is no initial context for the JNDI
    lookup. Is there a work around to this problem??
    THANKS.

    can you write more concretely where I can find the solution to this problem??

  • EP not starting, Error : Dispatcher running but no server connected

    Hi all,
    i am getting the following error when i try starting the EP.
    <b>Dispatcher running but no server connected
    Details : No details availaible</b>
    and on the mmc i see that for One of the instancce . the process List has 3 processes
    1) msg_server.EXE
    2) disp+work.EXE
    3) igswd.EXE
    all are shown as running but seems there is some problem with disp+work.EXE as it is being shown in yellow colour and not green..
    please let me know if any one of you have faced this problem.
    i tried restarting the server and machine but it din work
    thanks,
    rohit

    Hi Bryan ,
    i had made few changes in EP module and since then my server is not starting properly. i am not able to login to EP module. so i made changes in UME using configtool.
    I changed DataSourceConfiguration to use dataSourceConfiguration_r3_rw.xml and used user J2EE_ADMIN . since then while server comes up it gives some error related to service jms_provider.
    so before putting the trace here , can any one tell me which is the default dataSourceConfiguration ? and also what user do i specify ??
    i just want to fall back to default datasourceconfiguration
    here is the current trace when using dataSourceConfiguration_r3_rw.xml
    stdout/stderr redirect
    node name   : server0
    pid         : 5276
    system name : N4S
    system nr.  : 01
    started at  : Sat Nov 04 17:37:33 2006
    Reserved 1610612736 (0x60000000) bytes before loading DLLs.
    [Thr 4632] MtxInit: -2 0 0
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    SAP J2EE Engine Version 7.00   PatchLevel is starting...
    Loading: LogManager ... 4015 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 125 ms.
    Loading: ThreadManager ... 63 ms.
    Loading: IpVerificationManager ... 15 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 610 ms.
    Loading: LockingManager ... 156 ms.
    Loading: ConfigurationManager ... 5797 ms.
    Loading: LicensingManager ... 62 ms.
    Loading: CacheManager ... 407 ms.
    Loading: ServiceManager ...
    Loading services.:
      Service runtimeinfo started. (31 ms).
      Service cross started. (47 ms).
      Service memory started. (16 ms).
      Service timeout started. (859 ms).
      Service file started. (1547 ms).
      Service trex.service started. (109 ms).
      Service p4 started. (10062 ms).
      Service classpath_resolver started. (250 ms).
      Service caf~eu~cc~api started. (23265 ms).
      Service jmx_notification started. (93 ms).
      Service userstore started. (0 ms).
      Service log_configurator started. (31093 ms).
      Service locking started. (16 ms).
      Service http started. (828 ms).
      Service naming started. (1704 ms).
      Service ts started. (203 ms).
      Service javamail started. (500 ms).
      Service licensing started. (32 ms).
      Service failover started. (140 ms).
      Service appclient started. (78 ms).
      Service jmsconnector started. (79 ms).
      Service iiop started. (765 ms).
      Service connector started. (219 ms).
      Service webservices started. (1235 ms).
      Service deploy started. (29500 ms).
      Service configuration started. (78 ms).
      Service MigrationService started. (31 ms).
      Service bi~mmr~deployer started. (109 ms).
      Service dbpool started. (4344 ms).
      Service caf~eu~gp~mail~cf started. (63 ms).
      Service com.sap.security.core.ume.service started. (5875 ms).
      Service caf~eu~odi~mnuacc started. (68281 ms).
      Service caf~runtime~connectivity~impl started. (45359 ms).
      Service security started. (7828 ms).
      Service applocking started. (125 ms).
      Service keystore started. (1547 ms).
      Service classload started. (1343 ms).
      Service shell started. (235 ms).
      Service tc~sec~securestorage~service started. (187 ms).
      Service tc~eCATTPing~service started. (31 ms).
      Service jmx started. (2094 ms).
      Service servlet_jsp started. (2328 ms).
      Service caf~um~metadata~imp started. (94 ms).
      Service telnet started. (453 ms).
      Service ssl started. (94 ms).
      Service caf~um~relgroups~imp started. (438 ms).
      Service basicadmin started. (1391 ms).
      Service adminadapter started. (469 ms).
      Service prtbridge started. (1625 ms).
      Service tc~sec~wssec~service started. (282 ms).
      Service dsr started. (515 ms).
      Service com.adobe~DocumentServicesConfiguration started. (1000 ms).
      Service com.adobe~LicenseService started. (1234 ms).
      Service ejb started. (1438 ms).
      Service apptracing started. (390 ms).
      Service tc.CBS.Service started. (46 ms).
      Service monitor started. (1828 ms).
      Service caf~eu~gp~model started. (31 ms).
      Service CUL started. (4422 ms).
      Service tc~eu~jwf~ui~wizsvc started. (1781 ms).
      Service com.sap.portal.pcd.gl started. (7609 ms).
      Service webdynpro started. (10172 ms).
      Service com.sap.portal.prt.sapj2ee started. (2500 ms).
      Service rfcengine started. (5688 ms).
      Service caf~eu~er~service started. (2093 ms).
      Service com.adobe~DataManagerService started. (7953 ms).
      Service tc~sec~destinations~service started. (10328 ms).
      Service com.adobe~TrustManagerService started. (750 ms).
      Service pmi started. (391 ms).
      Service com.adobe~DocumentServicesLicenseSupportService started. (2110 ms).
      Service com.adobe~DocumentServicesDestProtoService started. (672 ms).
      Service developmentserver started. (9891 ms).
      service jms_provider ================= ERROR =================
      Cannot start service DQE; it has hard reference to service jms_provider which is not started.
      Service tc~sec~vsi~service started. (1187 ms).
      Service sld started. (13172 ms).
      Service com.adobe~DocumentServicesBinaries2 started. (1657 ms).
      Service com.adobe~PDFManipulation started. (18609 ms).
      Service tc.monitoring.logviewer started. (28031 ms).
      Service com.adobe~FontManagerService started. (36906 ms).
      Service com.adobe~XMLFormService started. (6938 ms).
    ServiceManager started for 138203 ms.
    Framework started for 150360 ms.
    SAP J2EE Engine Version 7.00   PatchLevel is running!
    PatchLevel March 23, 2006 18:47 GMT
    ### Excluding compile:  com.sapportals.portal.prt.jndisupport.util.AbstractHierarchicalContext::lookup
    Nov 4, 2006 5:42:09 PM   ...p.portal.ivs.semantic.systemLandscape [SAPEngine_Application_Thread[impl:3]_26] Fatal: Failed to create initial folders for system landscape
      <b>service jms_provider ================= ERROR =================</b>
    Nov 4, 2006 5:45:14 PM   ...services.webdynpro.WebDynproContainer [SAPEngine_System_Thread[impl:5]_88] Fatal: Error occured during preparation of application startup.
    Here is the trace.

  • Dispatcher running, but no server connected - EP

    Hai All,
    we have installed EP 6.0 Sp9 on Web As ABAP + Java.Actaully we were not able to create user in EP for that we done some changes in UME.But,Now J2ee engine itslef is not running.Can u please help us to solve this problem.
    Changes we made:
    1.In System Administration -> System Configuration -> UM Configuration
    Data source is "Database Only"
    dataSourceConfiguration_database_only.xml
    2 : in <drive:\> usr\sap\<sid>\JC<instance number>\J2EE\configtool\configtool.bat
    Under Cluster Data -> Global Server Configuration -> services -> com.sap.security.core.ume.services
    in : ume.persistence.data_source_configuration
    The default was : - dataSourceConfiguration_database_only.xml
    changed the value to :- dataSourceConfiguration_r3.xml
    Restarted the server
    The problem begins from this stage we are getting only
    503   Service Unavailable   6.40 
    Dispatcher running, but no server connected!
    Details: No details available
    Message And to avoid this we changed
    in <drive:\> usr\sap\<sid>\JC<instance number>\J2EE\configtool\configtool.bat
    Under Cluster Data -> Global Server Configuration -> services -> com.sap.security.core.ume.services
    selcted " Restore all to default" and restarted the server
    But the same error message is repeated here.
    and in error log we found J2EE Engine is not running
    Here is the Error log
    stdout/stderr redirect
    node name   : server0
    pid         : 5588
    system name : NET
    system nr.  : 00
    started at  : Fri Jan 27 16:11:05 2006
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    SAP J2EE Engine Version 6.40   PatchLevel 87289.311 is starting...
    Loading: LogManager ... 812 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 719 ms.
    Loading: ThreadManager ... 359 ms.
    Loading: IpVerificationManager ... 16 ms.
    Loading: ClassLoaderManager ... 297 ms.
    Loading: ClusterManager ... 641 ms.
    Loading: LockingManager ... 125 ms.
    Loading: ConfigurationManager ... 5406 ms.
    Loading: LicensingManager ... 890 ms.
    Loading: ServiceManager ...
    0.000: [GC 0.000: [DefNew: 43460K->13407K(65280K), 0.0494406 secs] 43460K->13407K(502528K), 0.0494957 secs]
    Loading services.:
      Service memory started. (16 ms).
      Service jmx_notification started. (16 ms).
      Service trex.service started. (47 ms).
      Service cross started. (16 ms).
      Service file started. (0 ms).
      Service runtimeinfo started. (219 ms).
      Service userstore started. (110 ms).
      Service tcsecwssec~service started. (297 ms).
      Service p4 started. (547 ms).
      Service classpath_resolver started. (94 ms).
      Service timeout started. (594 ms).
      Service tcsecvsi~service started. (640 ms).
    8.396: [GC 8.396: [DefNew: 56926K->16242K(65280K), 0.0719262 secs] 56926K->16242K(502528K), 0.0719818 secs]
    11.596: [GC 11.596: [DefNew: 59762K->21504K(65280K), 0.0509115 secs] 59762K->21504K(502528K), 0.0509688 secs]
    14.549: [GC 14.549: [DefNew: 65024K->16354K(65280K), 0.0402456 secs] 65024K->18525K(502528K), 0.0403001 secs]
    22.052: [GC 22.052: [DefNew: 59874K->9304K(65280K), 0.2409281 secs] 62045K->11475K(502528K), 0.2409831 secs]
      Service deploy started. (17266 ms).
      Service log_configurator started. (20688 ms).
      Service locking started. (0 ms).
    26.707: [GC 26.707: [DefNew: 52824K->11370K(65280K), 0.0384353 secs] 54995K->13541K(502528K), 0.0384932 secs]
      Service apptracing started. (2234 ms).
      Service http started. (953 ms).
      Service naming started. (985 ms).
      Service failover started. (16 ms).
      Service jmsconnector started. (140 ms).
      Service javamail started. (265 ms).
      Service appclient started. (172 ms).
      Service ts started. (390 ms).
      Service licensing started. (15 ms).
      Service connector started. (359 ms).
      Service configuration started. (141 ms).
      Service webservices started. (1797 ms).
      Service bimmrdeployer started. (1500 ms).
    31.120: [GC 31.120: [DefNew: 54890K->13349K(65280K), 0.0445098 secs] 57061K->15520K(502528K), 0.0445668 secs]
      Service dbpool started. (7328 ms).
    35.235: [GC 35.235: [DefNew: 56869K->13551K(65280K), 0.0415078 secs] 59040K->15722K(502528K), 0.0415653 secs]
      Service com.sap.security.core.ume.service started. (1813 ms).
      service security ================= ERROR =================
    Core service security failed. J2EE Engine cannot be started.
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    [Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
    Jan 27, 2006 4:12:08 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_68] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
    stdout/stderr redirect
    node name   : server0
    pid         : 5588
    system name : NET
    system nr.  : 00
    started at  : Fri Jan 27 16:12:14 2006
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    SAP J2EE Engine Version 6.40   PatchLevel 87289.311 is starting...
    Loading: LogManager ... 735 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 547 ms.
    Loading: ThreadManager ... 62 ms.
    Loading: IpVerificationManager ... 16 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 328 ms.
    Loading: LockingManager ... 63 ms.
    Loading: ConfigurationManager ... 890 ms.
    Loading: LicensingManager ... 32 ms.
    Loading: ServiceManager ...
    0.000: [GC 0.000: [DefNew: 43510K->13478K(65280K), 0.0451557 secs] 43510K->13478K(502528K), 0.0452105 secs]
    Loading services.:
      Service memory started. (16 ms).
      Service jmx_notification started. (31 ms).
      Service trex.service started. (31 ms).
      Service cross started. (16 ms).
      Service tcsecwssec~service started. (94 ms).
      Service file started. (16 ms).
      Service runtimeinfo started. (31 ms).
    7.006: [GC 7.006: [DefNew: 56996K->8393K(65280K), 0.0401062 secs] 56996K->8393K(502528K), 0.0401629 secs]
      Service tcsecvsi~service started. (2250 ms).
      Service userstore started. (15 ms).
      Service p4 started. (1204 ms).
    10.666: [GC 10.666: [DefNew: 51912K->7609K(65280K), 0.0269909 secs] 51912K->7609K(502528K), 0.0270462 secs]
      Service timeout started. (5719 ms).
      Service classpath_resolver started. (0 ms).
    13.087: [GC 13.087: [DefNew: 51129K->21715K(65280K), 0.0585885 secs] 51129K->28181K(502528K), 0.0586443 secs]
      Service log_configurator started. (10906 ms).
      Service locking started. (0 ms).
      Service http started. (922 ms).
    18.041: [GC 18.041: [DefNew: 65235K->17537K(65280K), 0.0559546 secs] 71701K->26170K(502528K), 0.0560113 secs]
    23.773: [GC 23.773: [DefNew: 61057K->10193K(65280K), 0.0422406 secs] 69690K->18826K(502528K), 0.0422981 secs]
      Service deploy started. (13312 ms).
      Service naming started. (10250 ms).
      Service failover started. (0 ms).
      Service appclient started. (313 ms).
      Service bimmrdeployer started. (296 ms).
      Service apptracing started. (734 ms).
      Service jmsconnector started. (485 ms).
      Service connector started. (234 ms).
      Service javamail started. (704 ms).
      Service configuration started. (187 ms).
      Service ts started. (782 ms).
      Service licensing started. (16 ms).
      Service webservices started. (1140 ms).
    27.459: [GC 27.459: [DefNew: 53713K->13319K(65280K), 0.0451208 secs] 62346K->21952K(502528K), 0.0451775 secs]
    31.709: [GC 31.709: [DefNew: 56839K->12871K(65280K), 0.0373383 secs] 65472K->21504K(502528K), 0.0373955 secs]
      Service dbpool started. (6547 ms).
      Service com.sap.security.core.ume.service started. (1468 ms).
      service security ================= ERROR =================
    Core service security failed. J2EE Engine cannot be started.
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    [Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
    Jan 27, 2006 4:12:56 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_70] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
    stdout/stderr redirect
    node name   : server0
    pid         : 5588
    system name : NET
    system nr.  : 00
    started at  : Fri Jan 27 16:13:01 2006
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    SAP J2EE Engine Version 6.40   PatchLevel 87289.311 is starting...
    Loading: LogManager ... 735 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 485 ms.
    Loading: ThreadManager ... 62 ms.
    Loading: IpVerificationManager ... 16 ms.
    Loading: ClassLoaderManager ... 15 ms.
    Loading: ClusterManager ... 375 ms.
    Loading: LockingManager ... 110 ms.
    Loading: ConfigurationManager ... 922 ms.
    Loading: LicensingManager ... 31 ms.
    Loading: ServiceManager ...
    0.000: [GC 0.000: [DefNew: 43514K->13478K(65280K), 0.0440883 secs] 43514K->13478K(502528K), 0.0441436 secs]
    Loading services.:
      Service memory started. (16 ms).
      Service jmx_notification started. (16 ms).
      Service trex.service started. (47 ms).
      Service cross started. (16 ms).
    6.252: [GC 6.252: [DefNew: 56989K->8212K(65280K), 0.0389008 secs] 56989K->8212K(502528K), 0.0389575 secs]
      Service runtimeinfo started. (15 ms).
      Service file started. (125 ms).
    10.582: [GC 10.582: [DefNew: 51732K->7298K(65280K), 0.0252968 secs] 51732K->7298K(502528K), 0.0253529 secs]
      Service tcsecwssec~service started. (5094 ms).
      Service tcsecvsi~service started. (5109 ms).
      Service log_configurator started. (9125 ms).
      Service p4 started. (125 ms).
      Service locking started. (344 ms).
      Service classpath_resolver started. (328 ms).
      Service naming started. (1687 ms).
    13.742: [GC 13.742: [DefNew: 50801K->21705K(65280K), 0.0628049 secs] 50801K->25098K(502528K), 0.0628605 secs]
      Service failover started. (94 ms).
      Service appclient started. (125 ms).
      Service timeout started. (2250 ms).
      Service jmsconnector started. (281 ms).
      Service userstore started. (172 ms).
      Service http started. (375 ms).
      Service javamail started. (828 ms).
      Service ts started. (781 ms).
      Service bimmrdeployer started. (797 ms).
      Service licensing started. (0 ms).
      Service webservices started. (937 ms).
      Service connector started. (437 ms).
    17.769: [GC 17.769: [DefNew: 65225K->19615K(65280K), 0.0575732 secs] 68618K->25175K(502528K), 0.0576297 secs]
    23.830: [GC 23.830: [DefNew: 63135K->7515K(65280K), 0.0463654 secs] 68695K->15444K(502528K), 0.0464241 secs]
      Service deploy started. (13969 ms).
      Service configuration started. (156 ms).
      Service apptracing started. (1406 ms).
    29.979: [GC 29.979: [DefNew: 51035K->11222K(65280K), 0.0385214 secs] 58964K->19151K(502528K), 0.0385778 secs]
      Service dbpool started. (7391 ms).
    34.371: [GC 34.371: [DefNew: 54742K->13470K(65280K), 0.0351478 secs] 62671K->21399K(502528K), 0.0352056 secs]
      Service com.sap.security.core.ume.service started. (1765 ms).
      service security ================= ERROR =================
    Core service security failed. J2EE Engine cannot be started.
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    [Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
    Jan 27, 2006 4:13:45 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_49] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
    stdout/stderr redirect
    node name   : server0
    pid         : 5588
    system name : NET
    system nr.  : 00
    started at  : Fri Jan 27 16:13:47 2006
    CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    CompilerOracle: exclude iaik/security/md/SHA a
    CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    SAP J2EE Engine Version 6.40   PatchLevel 87289.311 is starting...
    Loading: LogManager ... 766 ms.
    Loading: PoolManager ... 0 ms.
    Loading: ApplicationThreadManager ... 515 ms.
    Loading: ThreadManager ... 63 ms.
    Loading: IpVerificationManager ... 15 ms.
    Loading: ClassLoaderManager ... 16 ms.
    Loading: ClusterManager ... 328 ms.
    Loading: LockingManager ... 63 ms.
    Loading: ConfigurationManager ... 890 ms.
    Loading: LicensingManager ... 31 ms.
    Loading: ServiceManager ...
    0.000: [GC 0.000: [DefNew: 43510K->13486K(65280K), 0.0444079 secs] 43510K->13486K(502528K), 0.0444643 secs]
    Loading services.:
      Service memory started. (16 ms).
      Service jmx_notification started. (31 ms).
      Service trex.service started. (32 ms).
      Service cross started. (0 ms).
      Service file started. (0 ms).
      Service runtimeinfo started. (16 ms).
      Service timeout started. (16 ms).
      Service userstore started. (16 ms).
      Service p4 started. (422 ms).
      Service classpath_resolver started. (16 ms).
      Service tcsecwssec~service started. (2016 ms).
    5.903: [GC 5.903: [DefNew: 56982K->11503K(65280K), 0.0494446 secs] 56982K->11503K(502528K), 0.0495007 secs]
    8.195: [GC 8.195: [DefNew: 55023K->21728K(65280K), 0.0692351 secs] 55023K->34468K(502528K), 0.0692909 secs]
    14.811: [GC 14.811: [DefNew: 65248K->21760K(65280K), 0.1160254 secs] 77988K->37386K(502528K), 0.1160810 secs]
      Service deploy started. (14000 ms).
      Service tcsecvsi~service started. (21031 ms).
      Service apptracing started. (1609 ms).
    26.396: [GC 26.396: [DefNew: 65279K->9915K(65280K), 0.0420456 secs] 80906K->28046K(502528K), 0.0421023 secs]
    30.124: [GC 30.124: [DefNew: 53435K->8994K(65280K), 0.0249515 secs] 71566K->27125K(502528K), 0.0250074 secs]
      Service log_configurator started. (27922 ms).
      Service locking started. (0 ms).
      Service http started. (453 ms).
      Service naming started. (860 ms).
      Service failover started. (15 ms).
      Service appclient started. (141 ms).
      Service jmsconnector started. (219 ms).
      Service bimmrdeployer started. (469 ms).
      Service connector started. (422 ms).
      Service javamail started. (781 ms).
      Service ts started. (750 ms).
      Service configuration started. (172 ms).
      Service licensing started. (32 ms).
      Service webservices started. (1156 ms).
    33.942: [GC 33.942: [DefNew: 52514K->10382K(65280K), 0.0368606 secs] 70645K->28513K(502528K), 0.0369161 secs]
    37.763: [GC 37.763: [DefNew: 53902K->9946K(65280K), 0.0276264 secs] 72033K->28077K(502528K), 0.0276837 secs]
      Service dbpool started. (5891 ms).
      Service com.sap.security.core.ume.service started. (1563 ms).
      service security ================= ERROR =================
    Core service security failed. J2EE Engine cannot be started.
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
         ... 5 more
    Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
         at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
         at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
         ... 6 more
    Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
         at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
         at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
         at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
         at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
         ... 8 more
    [Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
    Jan 27, 2006 4:14:35 PM             com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_56] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
    Can any one help us to recover our server.Please...
    Thanks in Advance...

    So simple answer then, create a user called Guest.  What it will be is that the anonymous user parameters will point at that user and it will not start if that user does not exist.
    If you are unable to add the user Guest in one of your user stores, then look in the config tool at the paramter ume..something.guestuser.unique ids or something like that.  It will refer to a user called guest.  Change it to a user that does exist.  Restart.  Done
    Paul

Maybe you are looking for