Celeste,

Do you happen to have the bug report that was filed in the Apache bug database?  I 
tried looking for it and I'm not able to see it.

Thanks

Eric





-----Original Message-----
From: Haseltine, Celeste [mailto:CHaseltine@;magticket.com]
Sent: Monday, November 04, 2002 5:26 PM
To: JRun-Talk
Subject: RE: Steps necessary to get JRUN 3.1 working with Struts 1.1b2


Eric,

There was a bug noted in the Struts bug database that stated in order to get
Struts 1.1b2 working with JRUN 3.1, a change was required in the Struts code
(and a recompile) to get JRUN to properly pre-load the action class.  This
was noted in the bug database as a "problem" in the JRUN container, and that
this was forwarded to JRUN support, since this change in the Struts code was
a work around.

Just to verify, we are talking about Struts 1.1b2, NOT Struts 1.02?  I've
been trying for over two weeks to get Struts 1.1b2 working in JRUN 3.1, with
no success.  I posted on both the Macromedia and Struts listservers, and had
a number of people tell me that they had also tried, and had given up.  Up
until today, no one with Macromedia had even responded to my or other user's
request for assistance on this issue in the JRUN forums, and this issue goes
back several months. After you deploy any of the Struts 1.1b2 example apps
from within the JRUN 3.1 management console, the first error you get when
you attempt to run the program (after restarting JRUN) is the one regarding
JRUN being unable to pre-load the action servlet.  

I had not tried moving the struts.jar file from the lib directory.  But even
then, does this not go against the servlet container standard, where all
external jar files are required to be in the WEB-INF/lib directory, which is
suppose to be on the classpath by default?  Why can't JRUN 3.1 pre-load the
action servlet from the struts1.1b2.jar file from within the WEB-INF/lib
subdirectory, as it could from the struts1.02.jar file?  If JRUN 3.1 is
requiring the Struts 1.1b2 jar file to be located in the classes
subdirectory, and then adding that subdirectory into the JRUN properties
file in order to get it to work properly, then in my opinion, something is
NOT working right with the pre-loading of the action class within JRUN 3.1
for Struts 1.1b2.

One last question, did you need to modify the struts-config.xml file or the
web.xml file, in order for JRUN to find the ApplicationResources.properties
file.  Once I got the pre-loading of the servlet working, I then discovered
that JRUN could not find the ApplicationResources.properties file in the
classes subdirectory.  Again, I did not think about adding the classes
subdirectory to the JRUN global classpath, as the struts-config.xml and
web.xml file are both suppose to tell JRUN where to find this properties
file.

I just find it interesting that JRUN 3.1 and Struts 1.02 does NOT have a
pre-loading issue with the action class, yet JRUN 3.1 and Struts 1.1b2 DOES
have a pre-loading issue with the action class.  I would be interested in
knowing if you guys plan on addressing this in JRUN 3.1 in a future bug fix,
or if the user community for JRUN 3.1 is stuck either staying with Struts
1.02, or doing "creative" workarounds which, in my opinion, fly in the face
of the standards.

Either way, thank you for responding to this issue.

Celeste Haseltine, PE
MTL, Inc
Dallas, TX


-----Original Message-----
From: Eric Anderson [mailto:eanderson@;macromedia.com]
Sent: Monday, November 04, 2002 3:41 PM
To: JRun-Talk
Subject: RE: Steps necessary to get JRUN 3.1 working with Struts 1.1b2


Celeste,

I know of no effort by supporters/committers of struts to tell us about this
problem in an official way.  Nevertheless, I'm not sure what you mean by
"not working as it should." I can get the Struts example application to work
by adding the struts.jar to the WEB-INF/classes directory and then
explicitly adding the WEB-INF/classes directory to the jrun.classpath in the
global.properties or local.properties.

Eric




-----Original Message-----
From: Haseltine, Celeste [mailto:CHaseltine@;magticket.com]
Sent: Monday, November 04, 2002 12:26 PM
To: JRun-Talk
Subject: Steps necessary to get JRUN 3.1 working with Struts 1.1b2


By the way, if anyone from Macromedia support is reading this, I still have
NOT received a reply to my question regarding whether Macromedia has been
notified by the Struts team that there is a servlet loading issue in JRUN
3.1 that prevents struts 1.1b2 from working as it should.  Anyone from
Macromedia want to provide a comment/feedback on this issue of Struts 1.1b2
in JRUN 3.1???




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for 
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion

Reply via email to