Skip to Content
0
Former Member
Jan 29, 2004 at 05:10 PM

QuickCarRental Example Problems

17 Views

Hi,

I'm having a bit of a problem with the QuickCarRental example, when I try to "Add Reservation" I get the following application error:

Details: java.lang.ClassCastException: com.sap.engine.examples.ejb.quickcarrental.QuickOrderProcessorHome_Stub

at com.sap.engine.examples.servlet.QuickReservationServlet.initializeController(QuickReservationServlet.java:62)

at com.sap.engine.examples.servlet.QuickReservationServlet.doWork(QuickReservationServlet.java:44)

at com.sap.engine.examples.servlet.QuickReservationServlet.doGet(QuickReservationServlet.java:29)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:171)

at com.sap.engine.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:375)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:355)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:721)

at com.sap.engine.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:418)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:223)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:79)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:152)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:60)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:55)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:115)

I've tried restarting the server, reploying the EAR, restarting the application in the J2EE server...but always the same result.

If I'm reading this right then the problem came out of the core class noted in the last line....bad news!!

Any hints would be greatly appreciated.

Stephen Langenhoven