Hi,

 

I am having two small problems deploying a struts application. I haven't
tracked down the problem entirely, but I was wondering if anyone else
had seen these problems and had a quick fix. When I attempt to deploy my
application, I get two different exceptions in the error log.

 

The first error is "java.lang.NoClassDefFoundError:
org/apache/log4j/Layout". I am sure that I am using a different version
of Log4j than JRun uses. I looked on the JRun web site, and tried to put
the following in WEB-INF/jrun-web.xml:

 

<jrun-web-app>

    <load-system-classes-first>false</load-system-classes-first>

</jrun-web-app>

 

However, this did not appear to cause any differences. (I got this tip
from
http://www.macromedia.com/support/documentation/en/jrun/4/releasenotes_4
_updater6.html) The second error repeats four or five times:

 

10/05 19:23:37 error Exception parsing the TLD null : The tag function
on line 14 is not a valid TLD element

[2]jrun.jsp.compiler.JRunTagLibraryInfo$InvalidTLDElementException: The
tag function on line 14 is not a valid TLD element

 

I suspect this error is occurring because of problems with the struts
TLD files (i.e. struts-bean.tld, etc.). Has anyone else run into these
problems?

 

Thanks for your help; if I find the problem or the solution
independently, I'll be sure to post a followup.

 

I should note that the war file deploys without any problems on Tomcat
5.5.7.

 

Regards,

Sam Greenfield

Manager of System Development

Sports Illustrated



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Protect your mail server with built in anti-virus protection. It's not only 
good for you, it's good for everybody.
http://www.houseoffusion.com/banners/view.cfm?bannerid=39

Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5725
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to