Hi,

I'm trying to run multiple war files, each representing a different version
of the same Struts application, under the same JBoss webserver instance
(i.e., application_v1.war and application_v2.war both in
jboss\server\name\deploy). Because these are two versions of the same
application, the action forms and action classes have the same names, as
well as much overlapping, but not identical, code. Basically, I want to be
able to have each successive application build running concurrently (under
one JBoss instance) so the customer can easily compare the latest release
with the previous ones to see the incremental changes.

In Struts 1.1, if a DynaActionForm in one version contains fields not
present in the other, then it is impossible to load the webpage for the
version containing extra fields. This is fixed in Struts 1.2.4. So that
takes care of the action forms.

However, I haven't been able to get around the action classes. Even in
Struts 1.2.4, when two separate applications have actions with the same
name, only one of these action classes is being used. Thus v2.war may be
calling an action class from v1.war.

In a simple test case, I was able to get it to work by changing the names of
each Struts action class to include the build version, but this would be a
lot of tedious work for a regular-sized application.

Can anyone help explain what is going on here?
Does anyone know a way around this?
Is it even possible to do this with one webserver instance, or do I really
need to run each application version in its own instance?

Thanks for your help.

Mena


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

Reply via email to