Login  Register

Re: Re: Re: Re: Can Orbeon work with Resin instead of Tomcat?

Posted by Paul Kelly-5 on Sep 14, 2009; 2:14am
URL: https://discuss.orbeon.com/Can-Orbeon-work-with-Resin-instead-of-Tomcat-tp44945p44949.html

Did this ever get added to the wiki? I'm trying to set it up in resin  
now and getting the following error:

500 Servlet Exception
WEB-INF/web.xml:5: <description> is an unexpected tag (parent <web-
app> starts at 2). Check for duplicate and out-of-order tags. <web-
app> syntax: (@id?, @version, @xsi:schemaLocation?, (<context-param>*  
& (<description>*, <display-name>?, <icon>?) & <distributable>? &  
(<env-entry>*, <ejb-ref>*, <ejb-local-ref>*, <service-ref>*, <resource-
ref>*, <resource-env-ref>*, <message-destination-ref>*) & <error-
page>* & <filter>* & <filter-mapping>* & <jsp-config>? & <listener>* &  
<locale-encoding-mapping-list>? & <login-config>? & <message-
destination>* & <mime-mapping>* & <security-constraint>* & <security-
role>* & <servlet>* & <servlet-mapping>* & <session-config>? &  
<welcome-file-list>?))
Resin-3.0.19 (built Mon, 15 May 2006 04:50:47 PDT)

Thanks

On 4-Mar-09, at 9:04 PM, Alessandro Vernet wrote:

> Alex,
>
> On Feb 28, 2009, at 6:59 AM, Alex Sharaz wrote:
>
>> the only problem I had in resin ( and i'll admit it. could be a bad
>> config on my part)  was that I had to insert a <class-loader>....</
>> class-loader>
>> construct in the orbeon web.xml file to otherwise it can't find any
>> orbeon jars
>> of course this isn't valid in the 2.4 spec (at least resin objects)
>> so I also had to replace the <web-app ......> with <web-app>
>> don't know why I have to do this with orbeon , all my other webapps
>> work just fine and can find jars in WEB-INF/lib just fine
>
> Could you attach your updated web.xml, or tell us about that <class-
> loader>....</class-loader> you had to add? I am thinking that this is
> good find you made there, and that we should capture this in the
> documentation or the wiki.
>
> Alex
> --
> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> Twitter - http://twitter.com/avernet
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws