Hi,
I´m not if this will help, but Jboss 3.2.3 classloader has no hierarchies,
so if you have two classes that has the same name ( i.e:
main.application.StartApplicationAction)  the last class that was deployed
will be used for all your apps...

This is a problem because you have to be extremely careful when deploying
into jboss... =(

Hope it helps,
Lucas

----- Original Message ----- 
From: "Mathies, R. (Ronald)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, May 06, 2004 10:00 AM
Subject: JBoss two Web Apllications Actions overlapping


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