I have a .ear app that i used to run with jboss2.4.4_Tomcat4.0.1
Now that i am using Jboss3.0.0beta_Tomcat4.0.2 the application is deployed
correctly only the first time i copy it in the deploy directory.

In my EJBs jar i have also some helper classes (serializable objects
returned by business methods) on the same directory level with the EJBs
classes.

In my WEB app, servlets, JSPs, call these business methods and it seems 
that in the first time the ear app is deployed the classpath is updated
correctly.
Then, after i re-copy the ear file in the deploy dir, the clients
complain about casting.

Here are the first lines of the log when i try from a web app to access
some helper class included in the EJB jar (vesselDetails).
It works ok when deployed for the first time.
The line is like

vesselDetails dets = vsl.getdetails();

2002-03-27 10:33:06,296 INFO  
[org.jboss.web.catalina.EmbeddedCatalinaServiceSX] jsp: init
2002-03-27 10:33:06,578 ERROR [Default] java.lang.ClassCastException: 
vesselDetails
2002-03-27 10:33:06,579 ERROR [Default]         at 
$Proxy38.getdetails(Unknown Source)
2002-03-27 10:33:06,579 ERROR [Default]         at 
vesselClntDetails.fetch(vesselClntDetails.java:162)
2002-03-27 10:33:06,580 ERROR [Default]         at 
org.apache.jsp.viewall$jsp._jspService(viewall$jsp.java:260)
2002-03-27 10:33:06,581 ERROR [Default]         at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
2002-03-27 10:33:06,581 ERROR [Default]         at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
2002-03-27 10:33:06,582 ERROR [Default]         at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
2002-03-27 10:33:06,583 ERROR [Default]         at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
2002-03-27 10:33:06,583 ERROR [Default]         at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
2002-03-27 10:33:06,584 ERROR [Default]         at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
...........
-- 
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
tel:    +30-10-8981112
fax:    +30-10-8981877
email:  [EMAIL PROTECTED]
        [EMAIL PROTECTED]


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to