wood burning stoves 2.0*
The moose likes Websphere and the fly likes Using WSAD 5.1 Application in WebSphere 5 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 "Using WSAD 5.1 Application in WebSphere 5" Watch "Using WSAD 5.1 Application in WebSphere 5" New topic
Author

Using WSAD 5.1 Application in WebSphere 5

chandubcs
Ranch Hand

Joined: Jun 03, 2001
Posts: 47
Hi,
I am new to Websphere. I have developed an Enterprise application and a Web application using Websphere Studio 5.1 and its working pretty good in WSAD. I've exported EJB application as .JAR file and Web application as .WAR file. When I try to install and start these files in Websphere 5.0, the EJB application (.jar) is installed successfully, but the Web application (.war) is giving some errors when I try to start it. The Web application is accessing EJB module and the EJB module is accessing Oracle database.
I am using JSP's, Servlets, EJB 2.0, Oracle thin driver, Oracle 8i.
The error which I got was:
-----------------------------------------------
[12/19/03 13:43:34:428 EST] c4f491b WebApp E SRVE0015E: Failure to initialize Web application Test_Web
[12/19/03 13:43:34:499 EST] c4f491b TraceNLS u No message text associated with key Error.Loading.Session.Context.and.Web.Application.{0} in bundle com.ibm.ejs.resources.seriousMessages
[12/19/03 13:43:34:489 EST] c4f491b WebGroup E Error.Loading.Session.Context.and.Web Application java.lang.NullPointerException
at com.ibm.ws.util.ComponentNameSpaceHelper.populateJavaNameSpace(ComponentNameSpaceHelper.java:587)
at com.ibm.ws.util.ComponentNameSpaceHelper.populateJavaNameSpace(ComponentNameSpaceHelper.java:276)
at com.ibm.ws.webcontainer.webapp.WebApp.populateJavaNameSpace(WebApp.java:1154)
at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:243)
at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317)
at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:950)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:133)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:360)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:401)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:743)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:337)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:531)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:254)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:458)
at java.lang.reflect.Method.invoke(Native Method)
at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46)
at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115)
at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanSupport.java:409)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:323)
at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178)
at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)
at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:655)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:137)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perform(ApplicationDeploymentCollectionAction.java:239)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
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.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:187)
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(Compiled Code))
[12/19/03 13:43:34:669 EST] c4f491b DeployedAppli W WSVR0206E: Module, Test_Web.war, of application, Test_Web_war.ear/deployments/Test_Web_war, failed to start
[12/19/03 13:43:34:689 EST] c4f491b ApplicationMg W WSVR0101W: An error occurred starting, Test_Web_war
[12/19/03 13:43:34:699 EST] c4f491b ApplicationMg A WSVR0217I: Stopping application: Test_Web_war
[12/19/03 13:43:34:769 EST] c4f491b ApplicationMg A WSVR0220I: Application stopped: Test_Web_war
-----------------------------------------------
I have created a DataSourceName for Oracle database and connection pool. What else do I need to do to make my application work? Could anyone please guide me.
Thanks in advance,
Chandra
chandubcs
Ranch Hand

Joined: Jun 03, 2001
Posts: 47
Any suggestions?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Using WSAD 5.1 Application in WebSphere 5
 
Similar Threads
Problem while starting websphere portalserver 6.0 (log file attached)
Database connection
Class not found Exception
Error starting deployed EJB application on WebSphere v5.0
E SRVE0015E: Failure to initialize Web application