Can Orbeon work with Resin instead of Tomcat?

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Can Orbeon work with Resin instead of Tomcat?

C. P.-2
Thanks.

Claudia


     


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Can Orbeon work with Resin instead of Tomcat?

Erik Bruchez
Administrator
It should run on any Servlet 2.4 container, although we haven't tried  
on Resin I think.

-Erik

On Feb 24, 2009, at 5:28 AM, C. P. wrote:

> Thanks.
>
> Claudia
>
>
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Can Orbeon work with Resin instead of Tomcat?

Alex Sharaz-2
In reply to this post by C. P.-2
yup
been running orbeon under resin 2.x and 3.x and the beta 4.0
alex

Sent from my iPhone

On 24 Feb 2009, at 13:28, "C. P." <[hidden email]> wrote:

> Thanks.
>
> Claudia
>
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

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

Alex Sharaz-2
In reply to this post by Erik Bruchez
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
alex

Sent from my iPhone

On 24 Feb 2009, at 18:14, Erik Bruchez <[hidden email]> wrote:

> It should run on any Servlet 2.4 container, although we haven't  
> tried on Resin I think.
>
> -Erik
>
> On Feb 24, 2009, at 5:28 AM, C. P. wrote:
>
>> Thanks.
>>
>> Claudia
>>
>>
>>
>>
>> --
>> 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
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

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

Alessandro Vernet
Administrator
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
Reply | Threaded
Open this post in threaded view
|

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

Paul Kelly-5
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
Reply | Threaded
Open this post in threaded view
|

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

Erik Bruchez-3
Not sure why it is complaining about <description>. You could try to
remove the <description> element and see if you go further without it?

-Erik

On Sun, Sep 13, 2009 at 7:14 PM, Paul Kelly <[hidden email]> wrote:

> 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
>
>


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Can Orbeon work with Resin instead of Tomcat?

Paul Kelly-5
Yeah, I did that then got another 500 error complaining about xerces  
and classpath. Makes me wonder if the solution isn't still in web.xml?

Stack:

500 Servlet Exception
java.lang.ClassNotFoundException:  
orbeon.apache.xerces.xinclude.XIncludeHandler$XIncludeListener at  
com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:
1136) at  
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:
1078) at  
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:
1027) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)  
at  
org
.orbeon
.oxf.processor.generator.URLGenerator.createOutput(URLGenerator.java:
266) at org.orbeon.oxf.util.PipelineUtils.connect(PipelineUtils.java:
33) at  
org
.orbeon
.oxf.pipeline.InitUtils.initializeProcessorDefinitions(InitUtils.java:
275) at org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:
110) at  
org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:70) at  
org
.orbeon
.oxf.servlet.OrbeonServletDelegate.init(OrbeonServletDelegate.java:62)  
at javax.servlet.GenericServlet.init(GenericServlet.java:69) at  
com
.caucho
.server
.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:600)  
at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:
154) at com.caucho.server.webapp.Application.start(Application.java:
1604) at  
com
.caucho.server.deploy.DeployController.startImpl(DeployController.java:
621) at  
com
.caucho
.server.deploy.DeployController.restartImpl(DeployController.java:584)  
at  
com
.caucho
.server
.deploy
.StartAutoRedeployAutoStrategy
.request(StartAutoRedeployAutoStrategy.java:125) at  
com
.caucho.server.deploy.DeployController.request(DeployController.java:
554) at  
com
.caucho
.server
.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:
867) at  
com
.caucho
.server
.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:
707) at com.caucho.server.host.Host.buildInvocation(Host.java:424) at  
com
.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:
350) at  
com
.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:
616) at  
com
.caucho
.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:
198) at  
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)  
        at com.caucho.server.port.TcpConnection.run(TcpConnection.java:389)  
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:507) at  
com.caucho.util.ThreadPool.run(ThreadPool.java:433) at  
java.lang.Thread.run(Thread.java:619)


On 17-Sep-09, at 6:49 PM, Erik Bruchez wrote:

> Not sure why it is complaining about <description>. You could try to
> remove the <description> element and see if you go further without it?
>
> -Erik
>
> On Sun, Sep 13, 2009 at 7:14 PM, Paul Kelly <[hidden email]> wrote:
>> 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
>>
>>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

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

Alessandro Vernet
Administrator
Paul,

On Sun, Sep 20, 2009 at 8:52 AM, Paul Kelly <[hidden email]> wrote:

> Yeah, I did that then got another 500 error complaining about xerces and
> classpath. Makes me wonder if the solution isn't still in web.xml?
>
> Stack:
>
> 500 Servlet Exception
> java.lang.ClassNotFoundException:
> orbeon.apache.xerces.xinclude.XIncludeHandler$XIncludeListener at
> com.caucho.loader.DynamicClassLoader.findClass(DynamicClassLoader.java:1136)
> at
> com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1078)
> at
> com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1027)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at
> org.orbeon.oxf.processor.generator.URLGenerator.createOutput(URLGenerator.java:266)
The class URLGenerator uses  XIncludeHandler, which extends
orbeon.apache.xerces.xinclude.XIncludeHandler, which is in
lib/private/xerces-xercesImpl-2_9_orbeon_20070711.jar. Maybe you can
try moving this jar to your lib directory directly (instead of
lib/private).

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My 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