This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes The difference between Tomcat 5.5.16 and JBoss(Tomcat5.5.16)?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "The difference between Tomcat 5.5.16 and JBoss(Tomcat5.5.16)??" Watch "The difference between Tomcat 5.5.16 and JBoss(Tomcat5.5.16)??" New topic
Author

The difference between Tomcat 5.5.16 and JBoss(Tomcat5.5.16)??

R. V. Ijzer
Greenhorn

Joined: May 19, 2006
Posts: 3
Hi,

I encountered a weird situation while trying to debug a portlet. The bug I tried to debug is not really that important, but if you want to know: Somehow when I press the save button in this portlet it didn't save.

In my efforts to get this portlet debugged, I tried to view this portlet as a servlet. which is perfectly legal because I'm using Orbeons OPS, which has all the functionality programmed as a servlet.
When I did this, I noticed that the servlet was running perfectly, and without this dreaded bug, in Tomcat 5.5.16. However when I tried to do the same a bit later in JBoss 4.0.4.RC2(Tomcat5.5.16), and also as a servlet, the bug was still present.
Although I did something that should have given identical results, it returned something different.
This is something I have trouble to understand, because everything is identical. Both use the same Tomcat version for their servlets, both had the same war file, and yet this bug did occur in JBoss and it did not in Tomcat.

Now what I want to know is, what is causing this difference? what is JBoss doing to Tomcat which causes it to behave differently? I already checked the classloader of JBoss, because I know they used to be different there, but not anymore! now they use the Tomcat classloader.
I don't think the reason can be in the servlet itself because it was the same war file (no recompile or anything).

Anyone got any ideas what can be causing this difference??

I used the following versions:
Orbeon OPS 20061018 /20061019
Tomcat 5.5.16
JBoss 4.0.4.RC2 (Tomcat 5.5.16)

Thanks

Rikko
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: The difference between Tomcat 5.5.16 and JBoss(Tomcat5.5.16)??
 
Similar Threads
re: Start up of JBoss
EJB30-JBOSS sample tutorial doesn't works!!
jforum web.xml probs with Tomcat
centralized/reusable servlet inside portlet
Does not run under Tomcat 5.5.16