• Post Reply Bookmark Topic Watch Topic
  • New Topic

issues in configuring application on Websphere app server 5.x  RSS feed

 
Avneet Singh
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

I am getting some issues in configuring my application on the websphere server, need help , below are the errors that i'm getting

I have RAD version 6 with test environemnt of Websphere 5.0 and 5.1, Data source is getting connected


[7/24/07 17:19:28:101 IST] 32e8e85a SystemErr R Warning: validation was turned on but an org.xml.sax.ErrorHandler was not
[7/24/07 17:19:28:116 IST] 32e8e85a SystemErr R set, which is probably not what is desired. Parser will use a default
[7/24/07 17:19:28:116 IST] 32e8e85a SystemErr R ErrorHandler to print the first 10 errors. Please call
[7/24/07 17:19:28:116 IST] 32e8e85a SystemErr R the 'setErrorHandler' method to fix this.
[7/24/07 17:19:28:116 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=3: Element type "log4j:configuration" must be declared.
[7/24/07 17:19:28:116 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=5: Element type "appender" must be declared.
[7/24/07 17:19:28:116 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=6: Element type "appender-ref" must be declared.
[7/24/07 17:19:28:116 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=9: Element type "appender" must be declared.
[7/24/07 17:19:28:132 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=10: Element type "param" must be declared.
[7/24/07 17:19:28:132 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=11: Element type "layout" must be declared.
[7/24/07 17:19:28:132 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=12: Element type "param" must be declared.
[7/24/07 17:19:28:132 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=16: Element type "category" must be declared.
[7/24/07 17:19:28:132 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=17: Element type "priority" must be declared.
[7/24/07 17:19:28:132 IST] 32e8e85a SystemErr R Error: URI=wsjar:file:/D:/CDM Workspace/cdmWeb/WebContent/WEB-INF/lib/log4j.jar!/org/apache/log4j/xml/log4j.dtd Line=18: Element type "appender-ref" must be declared.
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R log4j:ERROR setFile(null,true) call failed.
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R java.io.FileNotFoundException: D:\Temp\logs\cdm (Access is denied)
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R at java.io.FileOutputStream.openAppend(Native Method)
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R at java.io.FileOutputStream.<init>(FileOutputStream.java:188)
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R at java.io.FileOutputStream.<init>(FileOutputStream.java:117)
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R at java.io.FileWriter.<init>(FileWriter.java:66)
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R at org.apache.log4j.FileAppender.setFile(FileAppender.java:284)
[7/24/07 17:19:28:506 IST] 32e8e85a SystemErr R at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:239)
[7/24/07 17:19:28:522 IST] 32e8e85a SystemErr R at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
[7/24/07 17:19:28:522 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:205)
[7/24/07 17:19:28:522 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:144)
[7/24/07 17:19:28:522 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:196)
[7/24/07 17:19:28:522 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:144)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfCategoryElement(DOMConfigurator.java:361)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:317)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:691)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:593)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:545)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:615)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.lilly.cdm.util.common.CDMLogger.<init>(CDMLogger.java:100)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.lilly.cdm.util.common.CDMLogger.getInstance(CDMLogger.java:147)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.lilly.cdm.admin.app.ejb.MapUserRolesSlBBean.<clinit>(MapUserRolesSlBBean.java:46)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at java.lang.Class.newInstance0(Native Method)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at java.lang.Class.newInstance(Class.java(Compiled Code))
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1322)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:985)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:908)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:887)
[7/24/07 17:19:28:584 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1255)
[7/24/07 17:19:28:600 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:988)
[7/24/07 17:19:28:600 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1462)
[7/24/07 17:19:28:600 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
[7/24/07 17:19:28:600 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
[7/24/07 17:19:28:600 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
[7/24/07 17:19:28:600 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
[7/24/07 17:19:28:646 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:134)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at java.lang.reflect.Method.invoke(Native Method)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
[7/24/07 17:19:28:771 IST] 32e8e85a SystemErr R at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:92)
[7/24/07 17:19:28:942 IST] 32e8e85a EJBContainerI E WSVR0040E: addEjbModule failed for cdmEJB.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl]
java.lang.ExceptionInInitializerError: java.lang.NullPointerException
at com.lilly.cdm.util.common.CDMLogger.setAppenderFileName(CDMLogger.java:299)
at com.lilly.cdm.util.common.CDMLogger.initializeLogger(CDMLogger.java:264)
at com.lilly.cdm.util.common.CDMLogger.<init>(CDMLogger.java:135)
at com.lilly.cdm.util.common.CDMLogger.getInstance(CDMLogger.java:147)
at com.lilly.cdm.admin.app.ejb.MapUserRolesSlBBean.<clinit>(MapUserRolesSlBBean.java:46)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.ibm.ejs.container.EJSContainer.loadBeanMetaData(EJSContainer.java:1322)
at com.ibm.ejs.container.EJSContainer.getHomeWrapperCommon(EJSContainer.java:985)
at com.ibm.ejs.container.EJSContainer.getHomeInstance(EJSContainer.java:908)
at com.ibm.ejs.container.EJSContainer.startBean(EJSContainer.java:887)
at com.ibm.ws.runtime.component.EJBContainerImpl.startBean(EJBContainerImpl.java:1255)
at com.ibm.ws.runtime.component.EJBContainerImpl.install(EJBContainerImpl.java:988)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:1462)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:415)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:351)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:268)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:246)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:134)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:543)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:418)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
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:92)

[7/24/07 17:19:29:036 IST] 32e8e85a EJBContainerI I WSVR0041I: Stopping EJB jar: cdmEJB.jar
[7/24/07 17:19:29:379 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#cdmmapuserroleservice: unknown bean home name - cdm#cdmEJB.jar#cdmmapuserroleservice
[7/24/07 17:19:29:395 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#cdmcrcancellationservice: unknown bean home name - cdm#cdmEJB.jar#cdmcrcancellationservice
[7/24/07 17:19:29:426 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#roleprivilegeassoc: unknown bean home name - cdm#cdmEJB.jar#roleprivilegeassoc
[7/24/07 17:19:29:441 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#CDM_HLDY_SCHED: unknown bean home name - cdm#cdmEJB.jar#CDM_HLDY_SCHED
[7/24/07 17:19:29:457 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#CDM_SYSTM_RL: unknown bean home name - cdm#cdmEJB.jar#CDM_SYSTM_RL
[7/24/07 17:19:29:472 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#CDM_MSG: unknown bean home name - cdm#cdmEJB.jar#CDM_MSG
[7/24/07 17:19:29:488 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#CDM_SYSTM_PRMTR: unknown bean home name - cdm#cdmEJB.jar#CDM_SYSTM_PRMTR
[7/24/07 17:19:29:504 IST] 32e8e85a EJBContainerI E WSVR0042E: Unable to stop cdm#cdmEJB.jar#CDM_SYSTM_RL_PRIV: unknown bean home name - cdm#cdmEJB.jar#CDM_SYSTM_RL_PRIV
[7/24/07 17:19:29:597 IST] 32e8e85a DeployedAppli W WSVR0206E: Module, cdmEJB.jar, of application, cdm.ear/deployments/cdm, failed to start
[7/24/07 17:19:29:628 IST] 32e8e85a ApplicationMg W WSVR0101W: An error occurred starting, cdm
[7/24/07 17:19:29:644 IST] 32e8e85a ApplicationMg A WSVR0217I: Stopping application: cdm
[7/24/07 17:19:29:800 IST] 32e8e85a ApplicationMg A WSVR0220I: Application stopped: cdm
[7/24/07 17:19:29:940 IST] 32e8e85a HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[7/24/07 17:19:32:247 IST] 32e8e85a HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[7/24/07 17:19:32:340 IST] 32e8e85a HttpTransport A SRVE0171I: Transport http is listening on port 9,090.
[7/24/07 17:19:32:917 IST] 32e8e85a HttpTransport A SRVE0171I: Transport https is listening on port 9,043.
[7/24/07 17:19:33:011 IST] 32e8e85a RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[7/24/07 17:19:33:167 IST] 32e8e85a WsServer A WSVR0001I: Server server1 open for e-business


Would appreciate your help
thanks
Avneet
 
Avneet Singh
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the ear file that im using to configure is correct and is running on the main server but still im getting these errors.
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
32e8e85a SystemErr R java.io.FileNotFoundException: D:\Temp\logs\cdm (Access is denied)


Looks like in your log4j configuration (log4j.xml or log4j.properties), you have specified D:\Temp\logs\cdm as the path for the log files. The error log indicates that you dont have permission to create a log file at that path.
 
Avneet Singh
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wel i cant understand this because i do have admin rights on my id, so idealy it shoudn't say access denied.
also what about unknown bean home name error that its throwing
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!