to answer my own question - just in case anyone else runs into this.

change jetty to ignore the Java2 classloading policy.  Do this by changing
jboss-service.xml in jetty-plugin.sar:

    <!--
================================================================== -->
    <!-- If true, Jetty first delegates loading a class to the
pp's     -->
    <!-- parent class loader (a la Java 2). If false, Jetty follows
    -->
    <!--  Servlet 2.3 specification, and tries the webapp's own
r      -->
    <!-- first (for "non-system"
         -->
    <!--
================================================================== -->

    <attribute name="Java2ClassLoadingCompliance">false</attribute>

it comes default as true.

cheers
dim

----- Original Message -----
From: "Dmitri Colebatch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 03, 2002 8:08 PM
Subject: [JBoss-user] RC1 and struts


> hey all,
>
> forums are down atm so cant check there... hoping someone will be able to
> respond here.
>
> I've just downloaded 3.0RC1, and tried to deploy a little app I've been
> developing at home, but get what I consider to be weird behaviour.
>
> Firstly, if I put struts.jar in WEB-INF/lib where it use to be, I get this
> error when trying to run my JSPs:
> HTTP ERROR: 500 /menu.jsp(10,0) Unable to load class
> org.apache.struts.taglib.html.LinkTag
> I tried putting taking struts.jar out of WEB-INF/lib and putting it in
> jboss/lib, but then got this:
>
> 20:06:23,455 WARN  [Jetty] WARNING: Servlet Exception for /menu.jsp
> javax.servlet.jsp.JspException: Cannot create rewrite URL:
> java.net.MalformedURL
> Exception: Cannot retrieve ActionForwards collection
>         at
> org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:343)
>         at org.apache.jsp.menu$jsp._jspService(menu$jsp.java:68)
>         ....
>
> my guess is that this is something to do with changes in JBoss over the
past
> month, because I haven't touched this app for a month or so, and at that
> point was running against CVS head.
>
> Does anyone have any idea what might by upsetting this?
>
> cheers
> dim
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to