You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by newsgroup <le...@hotmail.com> on 2003/04/16 19:30:56 UTC

xpetstore problems

Hello,

I configed data source and jms server and deployed xpetstore in Weblogic 7.0. However, there are errors when I started the Weblogic server. The errors are:

<Apr 16, 2003 12:27:21 PM EDT> <Notice> <WebLogicServer> <000327> <Starting WebLogic Admin Server "xpsAdmin" for domain "xpetstore">
<Apr 16, 2003 12:27:31 PM EDT> <Error> <J2EE> <160038> <Failed to deploy a Mail Session:
java.lang.NullPointerException
        at javax.mail.Session.<init>(Session.java:71)
        at javax.mail.Session.getInstance(Session.java:103)
...........
and 

D:\bea\user_projects\xpetstore\.\xpsAdmin\.wlnotdelete\_appsdir_xpetstore-ejb_ear_xpetstore-ejb.war_7390191\jarfiles\WEB-INF\lib\log4j53303.jar;D:\bea\user_projects\xpetstore\.\xpsAdmin\.wlnotdelete\_appsdir_xpetst
ore-ejb_ear_xpetstore-ejb.war_7390191\jarfiles\WEB-INF\lib\jakarta-oro53304.jar;D:\bea\user_projects
....
java.lang.NoClassDefFoundError: org/apache/log4j/Layout>

For the first error, I had configed the JMS thing follow the instructions. But. it looks like something wrong with it.
For the second error, it looks like log4j.jar not in the classpath, but it is in the xpetstore.war.

Could anyone get help for me?

Thanks.


Leon