Problem installing under ubuntu / apache / tomcat 5.5

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

Problem installing under ubuntu / apache / tomcat 5.5

Iain Malcolm
Although tomcat is running quite happily I can't get orbeon forms to install - any help very welcome :)

I've not used tomcat or java before so I may have missed something obvious......

I’ve got an ubunbtu box setup and running tomcat 5.5 quite happily
When I try and add orbeon forms it never actually gets installed OK.  I have tried putting the war file in both ops and orbeon folders,
And also tried to install the war file with tomcat manager, and that generates a lot of rude stuff in the tomcat log file as below.

I had an ubuntu 7.10 box already setup with apache, php5 and mysql.

I added tomcat using these instructions:
http://www.kintespace.com/rasxlog/?p=468
(although I used 5.5 rather than 5)

The orbeon version is orbeon-3.6.0.200712061930

When I try to pick up the war file with tomcat manager I get:

16-Feb-2008 16:34:58 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive orbeon.war
16-Feb-2008 16:35:05 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive orbeon.war
java.lang.NoClassDefFoundError: orbeon/apache/xerces/parsers/SAXParser
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1852)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:876)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at org.orbeon.oxf.xml.xerces.XercesSAXParserFactoryImpl.<clinit>(XercesSAXParserFactoryImpl.java:50)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at java.lang.Class.newInstance0(Class.java:350)
        at java.lang.Class.newInstance(Class.java:303)
        at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:100)
        at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278)
        at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)
        at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:107)
        at org.apache.tomcat.util.digester.Digester.getFactory(Digester.java:487)
        at org.apache.tomcat.util.digester.Digester.getParser(Digester.java:692)
        at org.apache.tomcat.util.digester.Digester.getXMLReader(Digester.java:900)
        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
        at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:514)
        at org.apache.catalina.startup.TldConfig.tldScanJar(TldConfig.java:472)
        at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:307)
        at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4307)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4144)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
        at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:744)
        at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:144)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1220)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:458)
        at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1394)
        at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:213)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)
        at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:595)

Iain Malcolm


--
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: Problem installing under ubuntu / apache / tomcat 5.5

Alessandro Vernet
Administrator
Iain,

On Feb 16, 2008, at 9:10 AM, Iain Malcolm wrote:

> Although tomcat is running quite happily I can't get orbeon forms to  
> install - any help very welcome :)
>
> I've not used tomcat or java before so I may have missed something  
> obvious......
>
> I’ve got an ubunbtu box setup and running tomcat 5.5 quite happily
> When I try and add orbeon forms it never actually gets installed  
> OK.  I have tried putting the war file in both ops and orbeon folders,
> And also tried to install the war file with tomcat manager, and that  
> generates a lot of rude stuff in the tomcat log file as below.
>
> I had an ubuntu 7.10 box already setup with apache, php5 and mysql.

Other people reported what seems to be the same issue with Tomcat on  
Ubuntu. See if this solution helps in your case:

http://www.nabble.com/Re%3A-Re%3A-R%3A-Issue-with-Orbeon-3.6.0-p14568108.html

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/



--
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: Problem installing under ubuntu / apache / tomcat 5.5

Iain Malcolm
I don't quite understand the part:
With Tomcat 5, move xercesImpl.jar and xmlParserAPIs.jar from common/endorsed to server/lib.

How do I use tomcat to move these?  I can't see anything in manager or the documentation to do this.

I'm following the notes here:
http://www.nabble.com/Issue-with-Orbeon-3.6.0-to14425478.html#a14568108

and that's the onlt thing I am unsure of - I've moved the files with Nautilus, but it still breaks as before.

-----Original Message-----
From: Alessandro Vernet [mailto:[hidden email]] On Behalf Of Alessandro Vernet
Sent: 17 February 2008 00:51
To: [hidden email]
Subject: [ops-users] Re: Problem installing under ubuntu / apache / tomcat 5.5

Iain,

On Feb 16, 2008, at 9:10 AM, Iain Malcolm wrote:

> Although tomcat is running quite happily I can't get orbeon forms to
> install - any help very welcome :)
>
> I've not used tomcat or java before so I may have missed something
> obvious......
>
> I've got an ubunbtu box setup and running tomcat 5.5 quite happily
> When I try and add orbeon forms it never actually gets installed OK.
> I have tried putting the war file in both ops and orbeon folders, And
> also tried to install the war file with tomcat manager, and that
> generates a lot of rude stuff in the tomcat log file as below.
>
> I had an ubuntu 7.10 box already setup with apache, php5 and mysql.

Other people reported what seems to be the same issue with Tomcat on Ubuntu. See if this solution helps in your case:

http://www.nabble.com/Re%3A-Re%3A-R%3A-Issue-with-Orbeon-3.6.0-p14568108.html

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/



--
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: Problem installing under ubuntu / apache / tomcat 5.5

Erik Bruchez
Administrator
I don't see anything in the link provided by Alex about moving Xerces  
files:

   http://www.nabble.com/Re%3A-Re%3A-R%3A-Issue-with-Orbeon-3.6.0-p14568108.html

That link only talks about disabling the security manager. Did you do  
that?

-Erik

On Feb 17, 2008, at 5:13 AM, Iain Malcolm wrote:

> I don't quite understand the part:
> With Tomcat 5, move xercesImpl.jar and xmlParserAPIs.jar from common/
> endorsed to server/lib.
>
> How do I use tomcat to move these?  I can't see anything in manager  
> or the documentation to do this.
>
> I'm following the notes here:
> http://www.nabble.com/Issue-with-Orbeon-3.6.0- 
> to14425478.html#a14568108
>
> and that's the onlt thing I am unsure of - I've moved the files with  
> Nautilus, but it still breaks as before.
>
> -----Original Message-----
> From: Alessandro Vernet [mailto:[hidden email]] On Behalf  
> Of Alessandro Vernet
> Sent: 17 February 2008 00:51
> To: [hidden email]
> Subject: [ops-users] Re: Problem installing under ubuntu / apache /  
> tomcat 5.5
>
> Iain,
>
> On Feb 16, 2008, at 9:10 AM, Iain Malcolm wrote:
>
>> Although tomcat is running quite happily I can't get orbeon forms to
>> install - any help very welcome :)
>>
>> I've not used tomcat or java before so I may have missed something
>> obvious......
>>
>> I've got an ubunbtu box setup and running tomcat 5.5 quite happily
>> When I try and add orbeon forms it never actually gets installed OK.
>> I have tried putting the war file in both ops and orbeon folders, And
>> also tried to install the war file with tomcat manager, and that
>> generates a lot of rude stuff in the tomcat log file as below.
>>
>> I had an ubuntu 7.10 box already setup with apache, php5 and mysql.
>
>
> Other people reported what seems to be the same issue with Tomcat on  
> Ubuntu. See if this solution helps in your case:
>
> http://www.nabble.com/Re%3A-Re%3A-R%3A-Issue-with-Orbeon-3.6.0-p14568108.html
>
> 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/
>
>
> --
> 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: Re: RE: Re: Problem installing under ubuntu / apache / tomcat 5.5

Iain Malcolm
Sorry Erik, confusion, yes I did disable security manager - the file moves are documented in the standard install instructions and in the thread here:
http://www.nabble.com/forum/ViewPost.jtp?post=14567980&framed=y

It looks like moving around in the thread doesn't change the url.....
Iain
-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: 17 February 2008 20:49
To: [hidden email]
Subject: [ops-users] Re: RE: Re: Problem installing under ubuntu / apache / tomcat 5.5

I don't see anything in the link provided by Alex about moving Xerces
files:

   http://www.nabble.com/Re%3A-Re%3A-R%3A-Issue-with-Orbeon-3.6.0-p14568108.html

That link only talks about disabling the security manager. Did you do that?

-Erik

On Feb 17, 2008, at 5:13 AM, Iain Malcolm wrote:

> I don't quite understand the part:
> With Tomcat 5, move xercesImpl.jar and xmlParserAPIs.jar from common/
> endorsed to server/lib.
>
> How do I use tomcat to move these?  I can't see anything in manager or
> the documentation to do this.
>
> I'm following the notes here:
> http://www.nabble.com/Issue-with-Orbeon-3.6.0-to14425478.html#a14568108
>
> and that's the onlt thing I am unsure of - I've moved the files with
> Nautilus, but it still breaks as before.
>
> -----Original Message-----
> From: Alessandro Vernet [mailto:[hidden email]] On Behalf Of
> Alessandro Vernet
> Sent: 17 February 2008 00:51
> To: [hidden email]
> Subject: [ops-users] Re: Problem installing under ubuntu / apache /
> tomcat 5.5
>
> Iain,
>
> On Feb 16, 2008, at 9:10 AM, Iain Malcolm wrote:
>
>> Although tomcat is running quite happily I can't get orbeon forms to
>> install - any help very welcome :)
>>
>> I've not used tomcat or java before so I may have missed something
>> obvious......
>>
>> I've got an ubunbtu box setup and running tomcat 5.5 quite happily
>> When I try and add orbeon forms it never actually gets installed OK.
>> I have tried putting the war file in both ops and orbeon folders, And
>> also tried to install the war file with tomcat manager, and that
>> generates a lot of rude stuff in the tomcat log file as below.
>>
>> I had an ubuntu 7.10 box already setup with apache, php5 and mysql.
>
>
> Other people reported what seems to be the same issue with Tomcat on
> Ubuntu. See if this solution helps in your case:
>
> http://www.nabble.com/Re%3A-Re%3A-R%3A-Issue-with-Orbeon-3.6.0-p145681
> 08.html
>
> 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/
>
>
> --
> 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