I believe I had this same issue where JBoss (or Tomcat actually) shares the same classloader for all web applications?

Anyway, I fixed this by adding the following to my jboss-service.xml inside the jbossweb-tomcat41.sar\META-INF directory.

*<attribute name="UseJBossWebLoader">false</attribute>*

I added it directly under:
<attribute name="LenientEjbLink">true</attribute>

Hope this helps.

--Brad Balmer

Mathies, R. (Ronald) wrote:

Hi All,

I've got a JBoss 3.2.3 server that is running two applications and i've
got a problem with the action/form objects:

ApplicationA has an action called
"/main/application/StartApplicationAction"
ApplicationB has an action called
"/main/application/StartApplicationAction"

And the applications sometimes use each others action objects.

The implementation of these actions can be different but the
ActionSerlvet doesn't seem to notice that.

Does anybody know a solid solution to this problem? So i'm looking for a
solution to seperate the applications from each other, i've already
found a solution for the .jsp files by changing the scratch dir of
tomcat:

   <servlet>
     <servlet-name>JspServlet</servlet-name>

<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
     <init-param>
        <param-name>logVerbosityLevel</param-name>
        <param-value>WARNING</param-value>
     </init-param>
     <init-param>
        <param-name>scratchdir</param-name>
        <param-value>../combisearch/__generatedJSPs</param-value>
     </init-param>
     <load-on-startup>3</load-on-startup>
  </servlet>

This will make shure that ApplicationA can't use ApplicationB's JSP
files.

I've you need more information i'll be happy to hand it.

Thanx in advance.
Ronald

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to