Hi All;

  I realize that this question has been posted a thousand times.  However, I have not 
been able to find an appropriate response to my problem.  I am quite experienced with 
EJB's and Webapps.  I feel I have done all that I can do to troubleshoot this one.  

  I have an EAR file with a web app and several ejbs.  This EAR file runs fine on 
weblogic.  Since I am a traditionalist, I disabled the UnifiedClassLoader with a 
jboss-app.xml file.  When I worked with this problem on Saturday, my EAR was working 
in JBoss.  But, when I started further dev tonight, a new problem occurred.  The 
webapp is unable to communicate with the EJB's due to the infamous 
ClassCastException/Receive Timed Out problem.  I have done the following, and I still 
am unable to solve the problem:

1.  My jndi.properties is set correctly.  I am able to gain an InitialContext to the 
server.
2.  jboss.xml is setup correctly.  the jndi-name element matches what the name I am 
trying to lookup from the webapp.
3.  I cleared the /tmp directory out and made sure I have no offending jar files 
around that may contain stale classes.  I also made sure my classpath was clear.

I spent several days now troubleshooting various problems with JBoss.  It seems that 
my "standard" app is no longer standard because of all the little tweeks I have to put 
in just to get it running.  

I am pretty stuck and frustrated on this one.  Any suggestions would be appreciated.  

Is there some debugging that I can enable to get further information on this problem?  
Does the ClassCastException indicate that JBoss is receiving a stale class?  Or, could 
the ClassCast indicate something else?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832519#3832519

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832519


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to