*
The moose likes Websphere and the fly likes Error when starting test server in WSAD 5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Error when starting test server in WSAD 5.0" Watch "Error when starting test server in WSAD 5.0" New topic
Author

Error when starting test server in WSAD 5.0

Jenny Kalinina
Ranch Hand

Joined: Nov 07, 2002
Posts: 52
I just started using WSAD 5.0 and cannot run EJB on test server and even the simple HTML as well. The errors are:
W CNTR0023W: Directory "C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/temp" does not exist. The EJB Container will use the current directory for passivating beans.
69b70474 ApplicationMg W WSVR0100W: An error occurred initializing, IBMUTC
com.ibm.ws.exception.ConfigurationWarning: Failed to open C:/MyFolder/.metadata/.plugins/com.ibm.etools.server.core/tmp0/IBMUTC/IBMUTC.ear
Also I have a question:
Should I apply any fixes for WSAD 5.0 and where are they?
Thanks in advance
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
The first one happens to everybody. It still works fine even with it, so ignore it.
The second one I'm not familiar with -- are you able to use the Universal Test Client?
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Jenny Kalinina
Ranch Hand

Joined: Nov 07, 2002
Posts: 52
Thanks Kyle for helping me
What is a Universal Test Client? Looks like I do not use it or I missed something...
When I created a server and server configuration, I selected WebSphere version 5.0 Test Environment server type.
I also have a message:MSGS0602I: WebSphere Embedded Messaging Client only has been installed
May be it is related with the problem?
Thanks
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
The Universal test client is the web application that allows you to test any EJB -- you just select the EJB in the J2EE perspective, pop up "Run on Server" or "Debug on Server" and the UTC will allow you to create EJB's and send messages to them (it works with Web Services too, by the way). See the InfoCenter for details. In particular, you have to have a check box for enabling the UTC turned "on" (the checkbox is on the "Configuration" page of the Server editor).
The second message (about the messaging client) simply means that your server has started with the built-in WAS 5.0 messaging -- again, it's not a problem.
Kyle
BTW, could you post your ENTIRE console output? It's long but it will help.
Jenny Kalinina
Ranch Hand

Joined: Nov 07, 2002
Posts: 52
Yes, 'Enable UTC' is checked.
This is output:
*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.0 [BASE 5.0.0 s0245.03] running with process name localhost\localhost\server1 and process id 1520
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5
user.install.root = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5
Java Home = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/ext;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/web/help;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.0.1/runtime/worf.jar
Classpath = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/lmproxy.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wasToolsCommon.jar
Java Library path = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\eclipse\jre\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program Files\IBM\Application Developer Trial Edition\plugins\com.ibm.etools.server.jdk\bin;C:\ORANT1\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\Sybase\Jaguar CTS 3.5\bin;C:\Program Files\Sybase\Jaguar CTS 3.5\dll;C:\Program Files\Sybase\Jaguar CTS 3.5\client\dll;C:\Program Files\Sybase8\Shared\Sun\JDK118\bin;C:\Program Files\Sybase8\Shared\PowerBuilder;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\ORANT\BIN;C:\NOTES;C:\ORANT\JDBC\LIB;;C:\Sybase\shared;;C:\Program Files\Sybase8\SQL Anywhere 7\win32;C:\Program Files\Sybase8\Shared\Web Targets;C:\Program Files\Sybase8\Shared\MerantODBC;C:\Program Files\Rational\ClearCase\bin
************* End Display Current Environment *************
[1/8/03 9:44:43:426 EST] 69b70474 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[1/8/03 9:44:44:187 EST] 69b70474 AdminInitiali A ADMN0015I: AdminService initialized
[1/8/03 9:44:45:609 EST] 69b70474 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[1/8/03 9:44:45:679 EST] 69b70474 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[1/8/03 9:44:46:310 EST] 69b70474 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[1/8/03 9:44:46:330 EST] 69b70474 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[1/8/03 9:44:46:370 EST] 69b70474 SecurityCompo I SECJ0240I: Security service initialization completed successfully
[1/8/03 9:44:46:450 EST] 69b70474 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[1/8/03 9:44:58:057 EST] 69b70474 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[1/8/03 9:44:58:077 EST] 69b70474 SecurityCompo I SECJ0243I: Security service started successfully
[1/8/03 9:44:58:077 EST] 69b70474 SecurityCompo I SECJ0210I: Security enabled false
[1/8/03 9:44:59:499 EST] 69b70474 ResourceMgrIm I WSVR0049I: Binding EClientProfileDatasource_CF as eis/jdbc/EClientProfileDatasource_CMP
[1/8/03 9:44:59:579 EST] 69b70474 ResourceMgrIm I WSVR0049I: Binding EClientProfileDatasource as jdbc/EClientProfileDatasource
[1/8/03 9:45:00:330 EST] 69b70474 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[1/8/03 9:45:00:561 EST] 69b70474 FileBeanStore W CNTR0023W: Directory "C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/temp" does not exist. The EJB Container will use the current directory for passivating beans.
[1/8/03 9:45:01:131 EST] 69b70474 ApplicationMg W WSVR0100W: An error occurred initializing, IBMUTC
com.ibm.ws.exception.ConfigurationWarning: Failed to open C:/EClientProfile/.metadata/.plugins/com.ibm.etools.server.core/tmp0/IBMUTC/IBMUTC.ear
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:390)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
---- Begin backtrace for nested exception
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xml
Stack trace of nested exception:
com.ibm.etools.archive.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/application.xml" in archive "C:/EClientProfile/.metadata/.plugins/com.ibm.etools.server.core/tmp0/IBMUTC/IBMUTC.ear"
Stack trace of nested exception:
com.ibm.etools.archive.exception.ArchiveRuntimeException: Exception occurred loading loose configuration
Stack trace of nested exception:
java.io.FileNotFoundException: C:\EClientProfile\.metadata\.plugins\com.ibm.etools.server.core\tmp0\looseconfig.xmi (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:99)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:164)
at com.ibm.etools.emf.resource.impl.URIConverterImpl.makeInputStream(URIConverterImpl.java:163)
at com.ibm.etools.emf.resource.impl.URIConverterImpl.makeInputStream(URIConverterImpl.java:148)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:89)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:77)
at com.ibm.etools.emf.resource.impl.ResourceSetImpl.load(ResourceSetImpl.java:289)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.loadLooseConfigurationResource(LooseConfigRegister.java:112)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.loadLooseConfiguration(LooseConfigRegister.java:100)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.getLooseConfiguration(LooseConfigRegister.java:145)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.findLooseApplication(LooseConfigRegister.java:50)
at com.ibm.etools.archive.impl.DirectoryArchiveLoadStrategyImpl.getLooseArchive(DirectoryArchiveLoadStrategyImpl.java:45)
at com.ibm.etools.archive.impl.LoadStrategyImpl.primGetResourcesPath(LoadStrategyImpl.java:133)
at com.ibm.etools.archive.impl.LoadStrategyImpl.initializeContext(LoadStrategyImpl.java:241)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getContext(LoadStrategyImpl.java:160)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getResourceSet(LoadStrategyImpl.java:232)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:222)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:528)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:65)
at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:35)
at com.ibm.etools.archive.impl.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:74)
at com.ibm.etools.archive.impl.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:69)
at com.ibm.etools.commonarchive.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:411)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFileImpl.java:789)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:780)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:633)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:469)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.open(DeployedApplicationImpl.java:168)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:386)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
[1/8/03 9:45:01:232 EST] 69b70474 ApplicationMg W WSVR0100W: An error occurred initializing, EClientProfile
com.ibm.ws.exception.ConfigurationWarning: Failed to open C:\EClientProfile\EClientProfile
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:390)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
---- Begin backtrace for nested exception
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/application.xml
Stack trace of nested exception:
com.ibm.etools.archive.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/application.xml" in archive "C:\EClientProfile\EClientProfile"
Stack trace of nested exception:
com.ibm.etools.archive.exception.ArchiveRuntimeException: Exception occurred loading loose configuration
Stack trace of nested exception:
java.io.FileNotFoundException: C:\EClientProfile\.metadata\.plugins\com.ibm.etools.server.core\tmp0\looseconfig.xmi (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:99)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:164)
at com.ibm.etools.emf.resource.impl.URIConverterImpl.makeInputStream(URIConverterImpl.java:163)
at com.ibm.etools.emf.resource.impl.URIConverterImpl.makeInputStream(URIConverterImpl.java:148)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:89)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:77)
at com.ibm.etools.emf.resource.impl.ResourceSetImpl.load(ResourceSetImpl.java:289)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.loadLooseConfigurationResource(LooseConfigRegister.java:112)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.loadLooseConfiguration(LooseConfigRegister.java:100)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.getLooseConfiguration(LooseConfigRegister.java:145)
at com.ibm.etools.commonarchive.looseconfig.LooseConfigRegister.findLooseApplication(LooseConfigRegister.java:50)
at com.ibm.etools.archive.impl.DirectoryArchiveLoadStrategyImpl.getLooseArchive(DirectoryArchiveLoadStrategyImpl.java:45)
at com.ibm.etools.archive.impl.LoadStrategyImpl.primGetResourcesPath(LoadStrategyImpl.java:133)
at com.ibm.etools.archive.impl.LoadStrategyImpl.initializeContext(LoadStrategyImpl.java:241)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getContext(LoadStrategyImpl.java:160)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getResourceSet(LoadStrategyImpl.java:232)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:222)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:528)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:65)
at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:35)
at com.ibm.etools.archive.impl.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:74)
at com.ibm.etools.archive.impl.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:69)
at com.ibm.etools.commonarchive.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:411)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeModuleExtensions(EARFileImpl.java:789)
at com.ibm.etools.commonarchive.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:780)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openSpecificArchive(CommonarchiveFactoryImpl.java:633)
at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:469)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.open(DeployedApplicationImpl.java:168)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:386)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
[1/8/03 9:45:01:422 EST] 69b70474 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[1/8/03 9:45:01:622 EST] 69b70474 WsServer A WSVR0002I: Server server1 open for e-business, problems occurred during startup
[1/8/03 11:42:18:390 EST] 3f14c47e ServerCollabo A WSVR0024I: Server server1 stopped
Thanks
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Hmmm... What appears to be happening is that the UTC can't open the metadata files it needs in your workspace directory. I also notice that you're not using the standard Workspace directory -- you've created one (C:\EClientProfile) on your own. Try two things:
(1) Try switching off the UTC and see if your applciation will start.
(2) Make sure that the directory you've created for your workspace is world-writable and world-readable.
Kyle
Jenny Kalinina
Ranch Hand

Joined: Nov 07, 2002
Posts: 52
Hi Kyle,
I've tried things you told me. It still doesn't work. I tried default location - the same problem.
What I noticed is that if I create Enterprise appl with web project only, it's okay. But when I add EJB project, it stops working. This is output:
*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.0 [BASE 5.0.0 s0245.03] running with process name localhost\localhost\server1 and process id 2908
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5
user.install.root = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5
Java Home = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/ext;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/web/help;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.0.1/runtime/worf.jar
Classpath = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/lmproxy.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wasToolsCommon.jar
Java Library path = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\eclipse\jre\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program Files\IBM\Application Developer Trial Edition\plugins\com.ibm.etools.server.jdk\bin;C:\ORANT1\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Program Files\Sybase\Jaguar CTS 3.5\bin;C:\Program Files\Sybase\Jaguar CTS 3.5\dll;C:\Program Files\Sybase\Jaguar CTS 3.5\client\dll;C:\Program Files\Sybase8\Shared\Sun\JDK118\bin;C:\Program Files\Sybase8\Shared\PowerBuilder;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\ORANT\BIN;C:\NOTES;C:\ORANT\JDBC\LIB;;C:\Sybase\shared;;C:\Program Files\Sybase8\SQL Anywhere 7\win32;C:\Program Files\Sybase8\Shared\Web Targets;C:\Program Files\Sybase8\Shared\MerantODBC;C:\Program Files\Rational\ClearCase\bin
************* End Display Current Environment *************
[1/10/03 12:54:30:521 EST] 69846c2a ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[1/10/03 12:54:31:292 EST] 69846c2a AdminInitiali A ADMN0015I: AdminService initialized
[1/10/03 12:54:32:664 EST] 69846c2a Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[1/10/03 12:54:32:724 EST] 69846c2a SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[1/10/03 12:54:33:345 EST] 69846c2a SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[1/10/03 12:54:33:355 EST] 69846c2a SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[1/10/03 12:54:33:495 EST] 69846c2a SecurityCompo I SECJ0240I: Security service initialization completed successfully
[1/10/03 12:54:33:516 EST] 69846c2a JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[1/10/03 12:54:38:703 EST] 69846c2a JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[1/10/03 12:54:38:723 EST] 69846c2a SecurityCompo I SECJ0243I: Security service started successfully
[1/10/03 12:54:38:723 EST] 69846c2a SecurityCompo I SECJ0210I: Security enabled false
[1/10/03 12:54:40:746 EST] 69846c2a CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[1/10/03 12:54:40:866 EST] 69846c2a FileBeanStore W CNTR0023W: Directory "C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/temp" does not exist. The EJB Container will use the current directory for passivating beans.
[1/10/03 12:54:43:199 EST] 69846c2a DeployedAppli W WSVR0205E: Module, EclientProfileEJB.jar, of application, EClientProfile, failed to initialize
[1/10/03 12:54:43:209 EST] 69846c2a ApplicationMg E WSVR0100W: An error occurred initializing, EClientProfile
com.ibm.ws.exception.ConfigurationError: Open failure
at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:280)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:700)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:402)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
---- Begin backtrace for nested exception
com.ibm.etools.archive.exception.ArchiveWrappedException
Stack trace of nested exception:
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/ejb-jar.xml
Stack trace of nested exception:
com.ibm.etools.archive.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/ejb-jar.xml" in archive "EclientProfileEJB.jar"
Stack trace of nested exception:
com.ibm.etools.j2ee.exception.WrappedRuntimeException: IWAE0099E An Exception occurred while parsing xml: Line #: 5 :Column #: 11
Stack trace of nested exception:
org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,relationships?,assembly-descriptor?,ejb-client-jar?)".
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:209)
at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse(GeneralXmlDocumentReader.java:198)
at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parseDocument(GeneralXmlDocumentReader.java:221)
at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:250)
at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:239)
at com.ibm.etools.j2ee.xml.EjbJarDeploymentDescriptorImportExport.importFrom(EjbJarDeploymentDescriptorImportExport.java:54)
at com.ibm.etools.ejb.impl.EJBJarResourceFactory.importXML(EJBJarResourceFactory.java:30)
at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:68)
at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:84)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:77)
at com.ibm.etools.emf.resource.impl.ResourceSetImpl.load(ResourceSetImpl.java:289)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:222)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:528)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:65)
at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:35)
at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.loadDeploymentDescriptor(EjbJar11ImportStrategyImpl.java:73)
at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.importMetaData(EjbJar11ImportStrategyImpl.java:68)
at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getDeploymentDescriptor(EJBJarFileImpl.java:152)
at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getStandardDeploymentDescriptor(EJBJarFileImpl.java:212)
at com.ibm.etools.commonarchive.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:446)
at com.ibm.etools.commonarchive.impl.ModuleRefImpl.getDeploymentDescriptor(ModuleRefImpl.java:525)
at com.ibm.ws.runtime.component.DeployedModuleImpl.open(DeployedModuleImpl.java:113)
at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:277)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:700)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:402)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
[1/10/03 12:54:49:849 EST] 69846c2a WsServer E WSVR0003E: Server server1 failed to start
com.ibm.ws.exception.RuntimeError: Open failure
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:211)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
---- Begin backtrace for nested exception
com.ibm.ws.exception.ConfigurationError: Open failure
at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:280)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:700)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:402)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
---- Begin backtrace for nested exception
com.ibm.etools.archive.exception.ArchiveWrappedException
Stack trace of nested exception:
com.ibm.etools.archive.exception.DeploymentDescriptorLoadException: META-INF/ejb-jar.xml
Stack trace of nested exception:
com.ibm.etools.archive.exception.ResourceLoadException: IWAE0007E Could not load resource "META-INF/ejb-jar.xml" in archive "EclientProfileEJB.jar"
Stack trace of nested exception:
com.ibm.etools.j2ee.exception.WrappedRuntimeException: IWAE0099E An Exception occurred while parsing xml: Line #: 5 :Column #: 11
Stack trace of nested exception:
org.xml.sax.SAXParseException: The content of element type "ejb-jar" is incomplete, it must match "(description?,display-name?,small-icon?,large-icon?,enterprise-beans,relationships?,assembly-descriptor?,ejb-client-jar?)".
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:209)
at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parse(GeneralXmlDocumentReader.java:198)
at com.ibm.etools.j2ee.xml.bridge.GeneralXmlDocumentReader.parseDocument(GeneralXmlDocumentReader.java:221)
at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:250)
at com.ibm.etools.j2ee.xml.DeploymentDescriptorImportExport.primImportFrom(DeploymentDescriptorImportExport.java:239)
at com.ibm.etools.j2ee.xml.EjbJarDeploymentDescriptorImportExport.importFrom(EjbJarDeploymentDescriptorImportExport.java:54)
at com.ibm.etools.ejb.impl.EJBJarResourceFactory.importXML(EJBJarResourceFactory.java:30)
at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:68)
at com.ibm.etools.j2ee.common.impl.XMLResourceFactory.load(XMLResourceFactory.java:84)
at com.ibm.etools.emf.resource.impl.ResourceFactoryImpl.load(ResourceFactoryImpl.java:77)
at com.ibm.etools.emf.resource.impl.ResourceSetImpl.load(ResourceSetImpl.java:289)
at com.ibm.etools.archive.impl.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:222)
at com.ibm.etools.commonarchive.impl.ArchiveImpl.getMofResource(ArchiveImpl.java:528)
at com.ibm.etools.commonarchive.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:65)
at com.ibm.etools.archive.impl.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:35)
at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.loadDeploymentDescriptor(EjbJar11ImportStrategyImpl.java:73)
at com.ibm.etools.archive.impl.EjbJar11ImportStrategyImpl.importMetaData(EjbJar11ImportStrategyImpl.java:68)
at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getDeploymentDescriptor(EJBJarFileImpl.java:152)
at com.ibm.etools.commonarchive.impl.EJBJarFileImpl.getStandardDeploymentDescriptor(EJBJarFileImpl.java:212)
at com.ibm.etools.commonarchive.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:446)
at com.ibm.etools.commonarchive.impl.ModuleRefImpl.getDeploymentDescriptor(ModuleRefImpl.java:525)
at com.ibm.ws.runtime.component.DeployedModuleImpl.open(DeployedModuleImpl.java:113)
at com.ibm.ws.runtime.component.DeployedModuleImpl.initialize(DeployedModuleImpl.java:277)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initializeModule(DeployedApplicationImpl.java:700)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:402)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
[1/10/03 12:54:49:859 EST] 69846c2a WsServer E WSVR0009E: Error occurred during startup
Thanks in advance
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Looks to me like you might have a bad ejb-jar.xml file. Could you post that file too?
Kyle
Jenny Kalinina
Ranch Hand

Joined: Nov 07, 2002
Posts: 52
Hi Kyle,
I've found an error in my Jar and now I can run my entity bean on server. However, when I tried to test any method (such as FindAll, FindByPK, Create),I get the errors. I send you a part of the output and JAR:
[1/12/03 15:39:19:178 EST] 162010fd ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[1/12/03 15:39:21:591 EST] 162010fd AdminInitiali A ADMN0015I: AdminService initialized
[1/12/03 15:39:25:036 EST] 162010fd Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[1/12/03 15:39:25:196 EST] 162010fd SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[1/12/03 15:39:26:128 EST] 162010fd SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[1/12/03 15:39:26:148 EST] 162010fd SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[1/12/03 15:39:26:278 EST] 162010fd SecurityCompo I SECJ0240I: Security service initialization completed successfully
[1/12/03 15:39:26:308 EST] 162010fd JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
[1/12/03 15:39:41:339 EST] 162010fd JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[1/12/03 15:39:41:620 EST] 162010fd SecurityCompo I SECJ0243I: Security service started successfully
[1/12/03 15:39:41:620 EST] 162010fd SecurityCompo I SECJ0210I: Security enabled false
[1/12/03 15:39:47:358 EST] 162010fd ResourceMgrIm I WSVR0049I: Binding ECP Data source_CF as eis/jdbc/EclientProfileDatasource_CMP
[1/12/03 15:39:47:719 EST] 162010fd ResourceMgrIm I WSVR0049I: Binding ECP Data source as jdbc/EclientProfileDatasource
[1/12/03 15:39:53:357 EST] 162010fd CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[1/12/03 15:39:53:797 EST] 162010fd FileBeanStore W CNTR0023W: Directory "C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/temp" does not exist. The EJB Container will use the current directory for passivating beans.
[1/12/03 15:39:59:045 EST] 162010fd ApplicationMg A WSVR0200I: Starting application: IBMUTC
[1/12/03 15:39:59:666 EST] 162010fd WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[1/12/03 15:39:59:846 EST] 162010fd WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[1/12/03 15:39:59:846 EST] 162010fd WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[1/12/03 15:40:00:146 EST] 162010fd WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[1/12/03 15:40:00:687 EST] 162010fd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[1/12/03 15:40:01:058 EST] 162010fd WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[1/12/03 15:40:01:288 EST] 162010fd ApplicationMg A WSVR0221I: Application started: IBMUTC
[1/12/03 15:40:01:298 EST] 162010fd ApplicationMg A WSVR0200I: Starting application: EclientProfile
[1/12/03 15:40:01:318 EST] 162010fd WebContainer A SRVE0169I: Loading Web Module: EclientProfileWeb.
[1/12/03 15:40:01:408 EST] 162010fd WebGroup I SRVE0180I: [EclientProfileWeb] [/EclientProfileWeb] [Servlet.LOG]: JSP 1.2 Processor: init
[1/12/03 15:40:01:518 EST] 162010fd WebGroup I SRVE0180I: [EclientProfileWeb] [/EclientProfileWeb] [Servlet.LOG]: SimpleFileServlet: init
[1/12/03 15:40:01:548 EST] 162010fd WebGroup I SRVE0180I: [EclientProfileWeb] [/EclientProfileWeb] [Servlet.LOG]: InvokerServlet: init
[1/12/03 15:40:01:569 EST] 162010fd EJBContainerI I WSVR0207I: Preparing to start EJB jar: EclientProfileEJB.jar
[1/12/03 15:40:02:260 EST] 162010fd EJBContainerI I WSVR0037I: Starting EJB jar: EclientProfileEJB.jar
[1/12/03 15:40:04:222 EST] 162010fd ApplicationMg A WSVR0221I: Application started: EclientProfile
[1/12/03 15:40:04:262 EST] 162010fd HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[1/12/03 15:40:07:777 EST] 162010fd HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[1/12/03 15:40:07:838 EST] 162010fd RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[1/12/03 15:40:07:888 EST] 162010fd WsServer A WSVR0001I: Server server1 open for e-business
[1/12/03 15:40:19:134 EST] 3ef390eb WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: jndiLookupServlet: init
[1/12/03 15:40:20:486 EST] 3ef390eb WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /index.jsp: init
[1/12/03 15:40:24:822 EST] 3ef390eb WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/toolbar/global_nav.jsp: init
[1/12/03 15:40:24:892 EST] 2447d0f7 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/ejbPage/ejbFrame.jsp: init
[1/12/03 15:40:27:225 EST] 2447d0f7 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/ejbPage/referencePage.jsp: init
[1/12/03 15:40:27:255 EST] 3ef390eb WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/ejbPage/parameterPage.jsp: init
[1/12/03 15:40:27:856 EST] 3ef390eb WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/toolbar/toolbar.jsp: init
[1/12/03 15:40:27:966 EST] 2447d0f7 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/ejbPage/parameter.jsp: init
[1/12/03 15:40:28:367 EST] 2447d0f7 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: /html/ejbPage/reference.jsp: init
[1/12/03 15:40:58:901 EST] 3ef390eb WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: treeExpansionServlet: init
[1/12/03 15:41:27:562 EST] 2e4ed0e9 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: selectMemberServlet: init
[1/12/03 15:41:35:033 EST] 2447d0f7 WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: invokeServlet: init
[1/12/03 15:41:35:734 EST] 2447d0f7 PrivExAction W J2CA0114W: No container-managed authentication alias found.
[1/12/03 15:41:36:265 EST] 2447d0f7 TraceNLS u No message text associated with key CREDENTIALS_NOT_FOUND in bundle IBMDataStoreAdapterNLS
[1/12/03 15:41:36:495 EST] 2447d0f7 FreePool E J2CA0046E: Method createManagedConnctionWithMCWrapper caught an exception during creation of the ManagedConnection for resource jdbc/EclientProfileDatasource, throwing ResourceAllocationException. Original exception: com.ibm.ws.exception.WsException: Subject was not null but no valid credentials were found
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:222)
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:172)
at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:90)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.createManagedConnection(WSManagedConnectionFactoryImpl.java:471)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1106)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:897)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:1065)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:560)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:374)
at com.ibm.ws.rsadapter.cci.WSRdbConnectionFactoryImpl.getConnection(WSRdbConnectionFactoryImpl.java:217)
at com.ibm.ws.rsadapter.cci.WSRelationalRAAdapter.getConnection(WSRelationalRAAdapter.java:472)
at com.ibm.ws.ejbpersistence.cache.TransactionListenerImpl.getConnection(TransactionListenerImpl.java:223)
at com.ibm.ws.ejbpersistence.dataaccess.DataAccessRequestImpl.execute(DataAccessRequestImpl.java:70)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanInstanceExtensionImpl.executeQuery(ConcreteBeanInstanceExtensionImpl.java:264)
at com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanInstanceExtensionImpl.executeFind(ConcreteBeanInstanceExtensionImpl.java:155)
at test.ConcreteCecode_b74135e8.ejbFindAll_Local(ConcreteCecode_b74135e8.java:273)
at test.EJSCMPCecodeHomeBean_b74135e8.findAll_Local(EJSCMPCecodeHomeBean_b74135e8.java:138)
at test.EJSLocalCMPCecodeHome_b74135e8.findAll(EJSLocalCMPCecodeHome_b74135e8.java:170)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:68)
at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:110)
at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:323)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:258)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:872)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:491)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
[1/12/03 15:41:36:665 EST] 2447d0f7 ConnectionMan E J2CA0020E: The Connection Pool Manager could not allocate a Managed Connection: javax.resource.spi.ResourceAllocationException: Caught ResourceException thrown during creation of the ManagedConnection.
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1138)
.......
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar id="ejb-jar_ID">
<display-name>EclientProfileEJB</display-name>
<enterprise-beans>
<entity id="ContainerManagedEntity_1042230775889">
<ejb-name>Cecode</ejb-name>
<local-home>test.CecodeLocalHome</local-home>
<local>test.CecodeLocal</local>
<ejb-class>test.CecodeBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>test.CecodeKey</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Cecode</abstract-schema-name>
<cmp-field id="CMPAttribute_1042230775829">
<field-name>cecode</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1042230775830">
<field-name>cename</field-name>
</cmp-field>
<cmp-field id="CMPAttribute_1042230775889">
<field-name>lastsynchronized</field-name>
</cmp-field>
<query>
<description></description>
<query-method>
<method-name>findAll</method-name>
<method-params></method-params>
</query-method>
<ejb-ql>select object(o) from Cecode o</ejb-ql>
</query>
</entity>
</enterprise-beans>
</ejb-jar>
Thanks a lot
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
That's an easy (but ANNOYING) one to fix. You need to create an authentication alias. Unfortunately, the only way to do this is through the Admin console. So, go into your server configuration, and on the second tab (Configuration) select the "Enable Administration Console" checkbox and restart your server. Now, start the WebSphere admin console by typing "http://localhost:9090/admin" and logging in.
From the Admin Console choose "Resources>JDBC Providers. Select the scope and select your provider. Select DataSources and then select your datasource. Select "Related Items" (at the bottom) and "J2C Authentication Entries". Hit New. Enter a name (I prefer "default") and the userid/password. Remember to Save the configuration and restart the server.
Then go back to WSAD, select your datasource and set both the container-managed and component-managed authentication alias from the dropdowns in the datasource configuration page. [Remember to disable the admin console when you're done -- it really slows down startup of the server].
Kyle
Jenny Kalinina
Ranch Hand

Joined: Nov 07, 2002
Posts: 52
Thanks Kyle, it's okay now.
But I have one more question:
1.It Looks like we can create bottom-up entities only at one time.
After they are created, we cannot create more bottom-up beans since
'botton-up' option is disabled. Is that correct?
prawaal sharma
Greenhorn

Joined: Aug 16, 2004
Posts: 1
I am facing exactly the same problem.
The console reads like this.....

com.ibm.ws.exception.ConfigurationWarning: Failed to open E:/RBCExpress/.metadata/.plugins/com.ibm.etools.server.core/tmp0/IBMUTC/IBMUTC.ear
at com.ibm.ws.runtime.component.DeployedApplicationImpl.initialize(DeployedApplicationImpl.java:390)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.initializeApplication(ApplicationMgrImpl.java:135)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:203)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)

Please help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error when starting test server in WSAD 5.0
 
Similar Threads
RAD6 - Web Library Projects
VirtualHost/Webgroup not defined error
where is WSAD log directory ?
Error while starting websphere
Entity beans could not be used (WSAD 5)