I just installed tomcat5.5 on ubuntu and deployed the nightly build orbeon.war. Orbeon appears in the manager of tomcat, yet posts this exception: Exception report description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could not initialize class org.orbeon.oxf.resources.WebAppResourceManagerImpl org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:294) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) java.lang.Thread.run(Thread.java:619) root cause java.lang.NoClassDefFoundError: Could not initialize class org.orbeon.oxf.resources.WebAppResourceManagerImpl org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) org.orbeon.oxf.servlet.OPSServletDelegate.init(OPSServletDelegate.java:72) javax.servlet.GenericServlet.init(GenericServlet.java:211) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:517) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:115) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) java.lang.Thread.run(Thread.java:619) Can you tell me of changes to be made ? Thank you -- einar -- 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 |
I recall this error occurs when you attempt to run Tomcat on port 80, but not as user root (privileged). Try su or sudo to restart Tomcat. If that works, it may yet be preferable to run Apache or another web server to proxy to port 8080, the default Tomcat port. That way, Tomcat/Java is not running as the privileged user. HTH, Hank On Jul 21, 2008, at 11:50 AM, parisiana wrote: > > I just installed tomcat5.5 on ubuntu and deployed the nightly build > orbeon.war. > > Orbeon appears in the manager of tomcat, yet > posts this exception: > > Exception report > > description The server encountered an internal error () that > prevented it from > fulfilling this request. > > exception > > javax.servlet.ServletException: Could not initialize class > org.orbeon.oxf.resources.WebAppResourceManagerImpl > > org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: > 294) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:162) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:115) > > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:117) > > org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:151) > > org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:874) > > org.apache.coyote.http11.Http11BaseProtocol > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > 665) > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > (PoolTcpEndpoint.java:528) > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > (LeaderFollowerWorkerThread.java:81) > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.java:689) > java.lang.Thread.run(Thread.java:619) > > root cause > > java.lang.NoClassDefFoundError: Could not initialize class > org.orbeon.oxf.resources.WebAppResourceManagerImpl > org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) > org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) > > org.orbeon.oxf.servlet.OPSServletDelegate.init > (OPSServletDelegate.java:72) > javax.servlet.GenericServlet.init(GenericServlet.java:211) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > > sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: > 244) > java.security.AccessController.doPrivileged(Native Method) > javax.security.auth.Subject.doAsPrivileged(Subject.java:517) > > org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: > 276) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:162) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:115) > > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:117) > > org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:151) > > org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:874) > > org.apache.coyote.http11.Http11BaseProtocol > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > 665) > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > (PoolTcpEndpoint.java:528) > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > (LeaderFollowerWorkerThread.java:81) > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.java:689) > java.lang.Thread.run(Thread.java:619) > > Can you tell me of changes to be made ? > > Thank you > -- einar > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
In reply to this post by Einar Moos
Also, have you expanded the war, as orbeon doesn't run otherwise
Ryan ------------------------ Ryan Puddephatt FIX Developer Fidessa LatentZero 1 Alfred Place London WC1E 7EB Office: +44 (0) 20 7462 4200 Direct: +44 (0) 20 7323 6112 Blackberry: +44 (0) 79 8539 2458 Fax: +44 (0) 20 7462 4242 Email: [hidden email] Web: http://www.latentzero.com Sent from my blackberry device ----- Original Message ----- From: Hank Ratzesberger <[hidden email]> To: [hidden email] <[hidden email]> Sent: Mon Jul 21 19:55:25 2008 Subject: [ops-users] Re: help needed I recall this error occurs when you attempt to run Tomcat on port 80, but not as user root (privileged). Try su or sudo to restart Tomcat. If that works, it may yet be preferable to run Apache or another web server to proxy to port 8080, the default Tomcat port. That way, Tomcat/Java is not running as the privileged user. HTH, Hank On Jul 21, 2008, at 11:50 AM, parisiana wrote: > > I just installed tomcat5.5 on ubuntu and deployed the nightly build > orbeon.war. > > Orbeon appears in the manager of tomcat, yet > posts this exception: > > Exception report > > description The server encountered an internal error () that > prevented it from > fulfilling this request. > > exception > > javax.servlet.ServletException: Could not initialize class > org.orbeon.oxf.resources.WebAppResourceManagerImpl > > org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: > 294) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:162) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:115) > > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:117) > > org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:151) > > org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:874) > > org.apache.coyote.http11.Http11BaseProtocol > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > 665) > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > (PoolTcpEndpoint.java:528) > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > (LeaderFollowerWorkerThread.java:81) > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.java:689) > java.lang.Thread.run(Thread.java:619) > > root cause > > java.lang.NoClassDefFoundError: Could not initialize class > org.orbeon.oxf.resources.WebAppResourceManagerImpl > org.orbeon.oxf.webapp.WebAppContext.<init>(WebAppContext.java:95) > org.orbeon.oxf.webapp.WebAppContext.instance(WebAppContext.java:71) > > org.orbeon.oxf.servlet.OPSServletDelegate.init > (OPSServletDelegate.java:72) > javax.servlet.GenericServlet.init(GenericServlet.java:211) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > > sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > java.lang.reflect.Method.invoke(Method.java:597) > org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java: > 244) > java.security.AccessController.doPrivileged(Native Method) > javax.security.auth.Subject.doAsPrivileged(Subject.java:517) > > org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: > 276) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:162) > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > (SecurityUtil.java:115) > > org.apache.catalina.valves.ErrorReportValve.invoke > (ErrorReportValve.java:117) > > org.apache.catalina.connector.CoyoteAdapter.service > (CoyoteAdapter.java:151) > > org.apache.coyote.http11.Http11Processor.process > (Http11Processor.java:874) > > org.apache.coyote.http11.Http11BaseProtocol > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > 665) > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > (PoolTcpEndpoint.java:528) > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > (LeaderFollowerWorkerThread.java:81) > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > (ThreadPool.java:689) > java.lang.Thread.run(Thread.java:619) > > Can you tell me of changes to be made ? > > Thank you > -- einar > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. _____________________________________________________________________ This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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 |
Did the necessary, yet still get exception...
On Mon, Jul 21, 2008 at 8:59 PM, Ryan Puddephatt <[hidden email]> wrote: Also, have you expanded the war, as orbeon doesn't run otherwise -- -- Einar Moos -- parisiana.com Tel: 0676660080 -- 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 |
Einar, Have you looked at the Java startup? Are you running the "Security Enabled" version? It is quite some trouble, and mostly to configure file access rights by the app server. The setting may be in your init script, catalina.sh or startup.sh (possibly other files). Best, Hank On Jul 21, 2008, at 12:04 PM, Einar Moos wrote: > Did the necessary, yet still get exception... > > On Mon, Jul 21, 2008 at 8:59 PM, Ryan Puddephatt > <[hidden email]> wrote: > Also, have you expanded the war, as orbeon doesn't run otherwise > > Ryan > ------------------------ > Ryan Puddephatt > FIX Developer > Fidessa LatentZero > 1 Alfred Place > London WC1E 7EB > Office: +44 (0) 20 7462 4200 > Direct: +44 (0) 20 7323 6112 > Blackberry: +44 (0) 79 8539 2458 > Fax: +44 (0) 20 7462 4242 > Email: [hidden email] > Web: http://www.latentzero.com > Sent from my blackberry device > > ----- Original Message ----- > From: Hank Ratzesberger <[hidden email]> > To: [hidden email] <[hidden email]> > Sent: Mon Jul 21 19:55:25 2008 > Subject: [ops-users] Re: help needed > > > I recall this error occurs when you attempt to run Tomcat on port 80, > but not as user root (privileged). Try su or sudo to restart Tomcat. > > If that works, it may yet be preferable to run Apache or another > web server to proxy to port 8080, the default Tomcat port. That way, > Tomcat/Java is not running as the privileged user. > > HTH, > Hank > > > On Jul 21, 2008, at 11:50 AM, parisiana wrote: > > > > > I just installed tomcat5.5 on ubuntu and deployed the nightly build > > orbeon.war. > > > > Orbeon appears in the manager of tomcat, yet > > posts this exception: > > > > Exception report > > > > description The server encountered an internal error () that > > prevented it from > > fulfilling this request. > > > > exception > > > > javax.servlet.ServletException: Could not initialize class > > org.orbeon.oxf.resources.WebAppResourceManagerImpl > > > > org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: > > 294) > > > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > > (SecurityUtil.java:162) > > > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > > (SecurityUtil.java:115) > > > > org.apache.catalina.valves.ErrorReportValve.invoke > > (ErrorReportValve.java:117) > > > > org.apache.catalina.connector.CoyoteAdapter.service > > (CoyoteAdapter.java:151) > > > > org.apache.coyote.http11.Http11Processor.process > > (Http11Processor.java:874) > > > > org.apache.coyote.http11.Http11BaseProtocol > > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > > 665) > > > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > > (PoolTcpEndpoint.java:528) > > > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > > (LeaderFollowerWorkerThread.java:81) > > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > > (ThreadPool.java:689) > > java.lang.Thread.run(Thread.java:619) > > > > root cause > > > > java.lang.NoClassDefFoundError: Could not initialize class > > org.orbeon.oxf.resources.WebAppResourceManagerImpl > > org.orbeon.oxf.webapp.WebAppContext.<init> > (WebAppContext.java:95) > > org.orbeon.oxf.webapp.WebAppContext.instance > (WebAppContext.java:71) > > > > org.orbeon.oxf.servlet.OPSServletDelegate.init > > (OPSServletDelegate.java:72) > > javax.servlet.GenericServlet.init(GenericServlet.java:211) > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > sun.reflect.NativeMethodAccessorImpl.invoke > > (NativeMethodAccessorImpl.java:39) > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke > > (DelegatingMethodAccessorImpl.java:25) > > java.lang.reflect.Method.invoke(Method.java:597) > > org.apache.catalina.security.SecurityUtil$1.run > (SecurityUtil.java: > > 244) > > java.security.AccessController.doPrivileged(Native Method) > > javax.security.auth.Subject.doAsPrivileged(Subject.java:517) > > > > org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java: > > 276) > > > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > > (SecurityUtil.java:162) > > > > org.apache.catalina.security.SecurityUtil.doAsPrivilege > > (SecurityUtil.java:115) > > > > org.apache.catalina.valves.ErrorReportValve.invoke > > (ErrorReportValve.java:117) > > > > org.apache.catalina.connector.CoyoteAdapter.service > > (CoyoteAdapter.java:151) > > > > org.apache.coyote.http11.Http11Processor.process > > (Http11Processor.java:874) > > > > org.apache.coyote.http11.Http11BaseProtocol > > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > > 665) > > > > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket > > (PoolTcpEndpoint.java:528) > > > > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt > > (LeaderFollowerWorkerThread.java:81) > > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run > > (ThreadPool.java:689) > > java.lang.Thread.run(Thread.java:619) > > > > Can you tell me of changes to be made ? > > > > Thank you > > -- einar > > > > -- > > 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 > > Hank Ratzesberger > NEES@UCSB > Institute for Crustal Studies, > University of California, Santa Barbara > 805-893-8042 > > > > > > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > _ > The information transmitted is intended only for the person or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of, or taking of any action in reliance upon, this > information by persons or entities other than the intended > recipient is prohibited. If you received this in error, please > contact the sender and delete the material from any computer. > > _____________________________________________________________________ > This e-mail has been scanned for viruses by Verizon Business > Internet Managed Scanning Services - powered by MessageLabs. For > further information visit http://www.mci.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 > > > > > -- > -- Einar Moos > -- parisiana.com > > Tel: 0676660080 > > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
Free forum by Nabble | Edit this page |