[solved] my first attempt to try out orbeon-4.0.0 M2

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

[solved] my first attempt to try out orbeon-4.0.0 M2

DL
This post was updated on .
My first experience in trying out orbeon 4.0.0 m2 "out of the box" .. first on resin server

I have an earlier version of orbeon 3.9.0 CE running on localhost resin 4.0.27 (port 8080) and on tomcat 7.0.23 (port 8180).

I downloaded the m2 version of orbeon-4.0.0 but on resin server I'm getting a 500 Servlet Exception

I also tried deploying on tomcat/7.0.23 but again orbeon 4.0 m2 wouldn't run.
HTTP Status 404 - /orbeon-4m2/

In both tests after deploying the *.war (renamed to orbeon-4m2.war) I restarted the server and the earlier version of orbeon 3.9.0 continue to work in each server.

Any config requirements I may have overlooked in deployment of 4.0.0-m2?




Reply | Threaded
Open this post in threaded view
|

Re: my first attempt to try out orbeon-4.0.0 M2

Erik Bruchez
Administrator
DL,

Thanks for testing. The answer is no, it should just work out of the
box. We tested on Tomcat 6 and Tomcat 7 (via Liferay 6.1), but not
Resin.

What are the exceptions?

-Erik

On Tue, Jun 5, 2012 at 5:19 AM, DL <[hidden email]> wrote:

> My first experience in trying out orbeon 4.0.0 m2 "out of the box" .. first
> on resin server
>
> I have an earlier version of orbeon 3.9.0 CE running on localhost resin
> 4.0.27 (port 8080) and on tomcat 7.0.23 (port 8180).
>
> I downloaded the m2 version of orbeon-4.0.0 but on resin server I'm getting
> a 500 Servlet Exception
>
> I also tried deploying on tomcat/7.0.23 but again orbeon 4.0 m2 wouldn't
> run.
> HTTP Status 404 - /orbeon-4m2/
>
> In both tests after deploying the *.war (renamed to orbeon-4m2.war) I
> restarted the server and the earlier version of orbeon 3.9.0 continue to
> work in each server.
>
> Any config requirements I may have overlooked in deployment of 4.0.0-m2?
>
>
>
>
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/my-first-attempt-to-try-out-orbeon-4-0-0-M2-tp4655194.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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: my first attempt to try out orbeon-4.0.0 M2

Erik Bruchez
Administrator
I forgot to ask: what Java version are you using, and on what platform? -Erik

On Tue, Jun 5, 2012 at 10:00 AM, Erik Bruchez <[hidden email]> wrote:

> DL,
>
> Thanks for testing. The answer is no, it should just work out of the
> box. We tested on Tomcat 6 and Tomcat 7 (via Liferay 6.1), but not
> Resin.
>
> What are the exceptions?
>
> -Erik
>
> On Tue, Jun 5, 2012 at 5:19 AM, DL <[hidden email]> wrote:
>> My first experience in trying out orbeon 4.0.0 m2 "out of the box" .. first
>> on resin server
>>
>> I have an earlier version of orbeon 3.9.0 CE running on localhost resin
>> 4.0.27 (port 8080) and on tomcat 7.0.23 (port 8180).
>>
>> I downloaded the m2 version of orbeon-4.0.0 but on resin server I'm getting
>> a 500 Servlet Exception
>>
>> I also tried deploying on tomcat/7.0.23 but again orbeon 4.0 m2 wouldn't
>> run.
>> HTTP Status 404 - /orbeon-4m2/
>>
>> In both tests after deploying the *.war (renamed to orbeon-4m2.war) I
>> restarted the server and the earlier version of orbeon 3.9.0 continue to
>> work in each server.
>>
>> Any config requirements I may have overlooked in deployment of 4.0.0-m2?
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/my-first-attempt-to-try-out-orbeon-4-0-0-M2-tp4655194.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
DL
Reply | Threaded
Open this post in threaded view
|

Re: my first attempt to try out orbeon-4.0.0 M2

DL
This post was updated on .
I'm developing on Ubuntu 10.10 (32 bit).

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

On Resin ..

javax.servlet.ServletException: java.lang.NullPointerException
	at org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$init$2.apply(OrbeonServlet.scala:55)
	at org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$init$2.apply(OrbeonServlet.scala:55)
	at org.orbeon.oxf.util.ScalaUtils$.withRootException(ScalaUtils.scala:105)
	at org.orbeon.oxf.servlet.OrbeonServlet.init(OrbeonServlet.scala:55)
	at javax.servlet.GenericServlet.init(GenericServlet.java:70)
	at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:1357)
	at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:1205)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:98)
	at com.caucho.server.httpcache.ProxyCacheFilterChain.doRequestCacheable(ProxyCacheFilterChain.java:251)
	at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:192)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
	at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:831)
	at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1301)
	at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1257)
	at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1241)
	at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1149)
	at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:950)
	at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
	at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
	at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
	at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
	at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
	at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
Caused by: java.lang.NullPointerException
	at org.orbeon.oxf.pipeline.InitUtils.initializeProcessorDefinitions(InitUtils.java:271)
	at org.orbeon.oxf.webapp.Orbeon$.initialize(Orbeon.scala:81)
	at org.orbeon.oxf.webapp.WebAppContext$$anonfun$instanceOrCreate$1.apply(WebAppContext.scala:175)
	at org.orbeon.oxf.webapp.WebAppContext$$anonfun$instanceOrCreate$1.apply(WebAppContext.scala:173)
	at scala.Option.getOrElse(Option.scala:108)
	at org.orbeon.oxf.webapp.WebAppContext$.instanceOrCreate(WebAppContext.scala:173)
	at org.orbeon.oxf.webapp.WebAppContext$.instance(WebAppContext.scala:165)
	at org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$init$1.apply$mcV$sp(OrbeonServlet.scala:56)
	at org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$init$1.apply(OrbeonServlet.scala:56)
	at org.orbeon.oxf.servlet.OrbeonServlet$$anonfun$init$1.apply(OrbeonServlet.scala:56)
	at org.orbeon.oxf.util.ScalaUtils$.withRootException(ScalaUtils.scala:101)
	at org.orbeon.oxf.servlet.OrbeonServlet.init(OrbeonServlet.scala:55)
	at javax.servlet.GenericServlet.init(GenericServlet.java:70)
	at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:1357)
	at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:1205)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:98)
	at com.caucho.server.httpcache.ProxyCacheFilterChain.doRequestCacheable(ProxyCacheFilterChain.java:251)
	at com.caucho.server.httpcache.ProxyCacheFilterChain.doFilter(ProxyCacheFilterChain.java:192)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
	at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:95)
	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:831)
	at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1301)
	at com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1257)
	at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1241)
	at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1149)
	at com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:950)
	at com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
	at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
	at com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
	at com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
	at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
	at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)



On Tomcat ...

HTTP Status 404 - /orbeon-4m2/
type Status report
message /orbeon-4m2/
description The requested resource (/orbeon-4m2/) is not available.

I'll see if I can dig out more from tomcat logs.

=================================

[Later Edit]

I've just had a thought .. it might be context settings mapping to different context.

I had forgotten context parameters.   I'll look at that.

=================================

DL
Reply | Threaded
Open this post in threaded view
|

Re: my first attempt to try out orbeon-4.0.0 M2

DL
As in my afterthought .. I had forgotten that in tomcat7 I needed to add a context file into ..

/usr/share/tomcat7/Catalina/localhost/

orbeon-4m2.xml
<Context path="/orbeon-4m2" docBase="/home/dl/public_webapps/orbeon-4m2" crossContext="true"  /> 

And I can now launch in tomcat7.

I'll try the same in resin .. so assume that this thread is solved.

Sorry for the false alarm.
Reply | Threaded
Open this post in threaded view
|

Re: Re: my first attempt to try out orbeon-4.0.0 M2

Erik Bruchez
Administrator
Hey we can't rule out issues like this, that's why we are doing
milestones. Thanks for testing!

-Erik

On Tue, Jun 5, 2012 at 12:08 PM, DL <[hidden email]> wrote:

> As in my afterthought .. I had forgotten that in tomcat7 I needed to add a
> context file into ..
>
> /usr/share/tomcat7/Catalina/localhost/
>
> *orbeon-4m2.xml*
> <Context path="/orbeon-4m2" docBase="/home/dl/public_webapps/orbeon-4m2"
> crossContext="true"  />
>
> And I can now launch in tomcat7.
>
> I'll try the same in resin .. so assume that this thread is solved.
>
> Sorry for the false alarm.
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/my-first-attempt-to-try-out-orbeon-4-0-0-M2-tp4655194p4655203.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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