Greetings everyone,

I'm using JBoss 4.0.3sp1 and I have an application packed as an ear file 
(structure below). 

I've recently realized, that when two users(sessions) access the same resources 
at the same time (servlets and ejbs), it is happens that they get mixed 
results. For example, user session A sends a request to the server at the same 
time as user session B. It is very probable that A will get B's response the 
the opposite. 

My EAR's structure is the following:

myApp.ear
|-META-INF
|-ejbs.jar (EJBs)
|-support.jar (various utility classes)
|-hibernate.har (my hibernate files)
|-webapp.war (the web component of my application. Contains /lib)

I've read that my problem might be related to the variable "UseJBossWebLoader" 
defined in Tomcat's jboss-service.xml, which is set to "true" in my case. I've 
tried setting it to "false" - just in case that fixes my problem - but 
afterwards, I would get:

anonymous wrote : 
  | javax.ejb.EJBException: Unexpected Error
  | java.lang.NoClassDefFoundError: com/myapp/web/Controller/MyClass
  | 

I should also note that I'm using local interfaces to access my EJBs.

I'm sorry if this is not the correct section to post this question, but I could 
not find one that seemed  more appropriate.

I would really appreciate all the help I can get, as this is a really big 
problem for me...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984454
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to