Hello everybody!

I am trying to make petstore work in jboss+comcat, and I did step by step as the
JBoss's documentation. I almost finished it, unfortunately, I got the error message
below when I try to add a new user!

Any help would be greatly appreciated!

Thanks in advance.

Chen Xiang

My setup is
--> JBoss PRE-2.1 + Tomcat 3.2.1  Petstore 1.1.1
--> Windows 2000 Professional

The Error message when add new user in Petstore 1.1.1 :
The first time:
 
Error: 500
Location: /estore/control/validatenewaccount
Internal Servlet Error:

com.sun.j2ee.blueprints.petstore.control.GeneralFailureException: null; nested exception is:
javax.ejb.EJBException
at com.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl.getCustomerEJB(ShoppingClientControllerWebImpl.java:77)
at com.sun.j2ee.blueprints.petstore.control.web.ModelManager.getCustomerEJB(ModelManager.java:154)
at com.sun.j2ee.blueprints.petstore.control.web.AccountWebImpl.performUpdate(AccountWebImpl.java:41)
at com.sun.j2ee.blueprints.petstore.control.web.ModelUpdateNotifier.notifyListeners(ModelUpdateNotifier.java:37)
at com.sun.j2ee.blueprints.petstore.control.web.RequestProcessor.processRequest(RequestProcessor.java:111)
at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

click 'back' and submit again! got below error message:

Error: 500

Location: /estore/control/validatenewaccount

Internal Servlet Error:
com.sun.j2ee.blueprints.petstore.control.GeneralFailureException: Could not activate; nested exception is: 
	java.io.FileNotFoundException: F:\JBossPetStore\jboss\dist\db\sessions\TheShoppingClientController\983419443271.ser (???????????); nested exception is: 
	java.rmi.NoSuchObjectException: Could not activate; nested exception is: 
	java.io.FileNotFoundException: F:\JBossPetStore\jboss\dist\db\sessions\TheShoppingClientController\983419443271.ser (???????????)
	at com.sun.j2ee.blueprints.petstore.control.web.ShoppingClientControllerWebImpl.handleEvent(ShoppingClientControllerWebImpl.java:160)
	at com.sun.j2ee.blueprints.petstore.control.web.RequestProcessor.processRequest(RequestProcessor.java:102)
	at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:61)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)

Reply via email to