Greetings,
I followed the intro-install.html directions for Orbeon Forms on getting things going on Apache Tomcat (TomCat6 on a linux Ubuntu 9.10-desktop-i386 install). Tomcat is working as is its web manager application and all the Java Servlet and JSP examples. All good there. I used the Tomcat manager app to deploy the Orbeon Forms dev-3.7.1.200905272119 WAR file and it installed it to var/lib/tomcat6/webapps/orbeon in this case. However, when I try to start the application through the web application manager I get the following error message: Message: FAIL - Application at context path /orbeon could not be started I also have a usr/share/tomcat6 directory where all the jar files are located in the /lib directory there. Did my orbeon WAR get deployed to the correct location, is there potentially a problem there that could account for the error message I have recieved? For instance I can't account for a path where the /mananger or /examples (that work by the way) are installed. Should /orbeon be in the same place they are located wherever that may be? I'm a linux newb and don't have a full picture in my head on places things can get tucked away. Related the install guide mentions: With Tomcat 5, move xercesImpl.jar and xmlParserAPIs.jar from common/endorsed to server/lib. This way Xerces will be available to Tomcat, but it won't override the version of Xerces and standard XML APIs that comes with Orbeon Forms. Does anyone know if this applies to Tomcat 6 as well as those particular jar files do not seem to be present in var/lib/tomcat6 or usr/share/tomcat6 paths. Regards |
I edited the tomcat6 startup script located in etc\init.d and turned "off" TOMCAT_SECURITY and Orbeon launches now.
That can't be a long term solution, anyone with Tomcat6 experience that could tell me how to get it setup correctly? Thanks.
|
Administrator
|
In reply to this post by CSparks
On Fri, Nov 6, 2009 at 6:48 AM, CSparks <[hidden email]> wrote:
> Does anyone know if this applies to Tomcat 6 as well as those particular jar > files do not seem to be present in var/lib/tomcat6 or usr/share/tomcat6 > paths. You don't need to do this with Tomcat 6. In fact you don't either with Tomcat 5.5. I think it was only an issue with Tomcat 5, which by now nobody uses (or should be using!). So while moving this part of the documentation to the wiki a couple of days ago, I removed that section. http://wiki.orbeon.com/forms/doc/developer-guide/admin-installing 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
In reply to this post by CSparks
On Fri, Nov 6, 2009 at 8:57 AM, CSparks <[hidden email]> wrote:
> > I edited the tomcat6 startup script located in etc\init.d and turned "off" > TOMCAT_SECURITY and Orbeon launches now. > > That can't be a long term solution, anyone with Tomcat6 experience that > could tell me how to get it setup correctly? Yes, this is what you need to do. TOMCAT_SECURITY enables the Java security manager which drastically restricts what your Java program can do. If you enable the security manager, you need to explicitly allow every little movement of your Java program in a policy file. It makes sense to do this if you let users run Java code that you don't control on your server, and you are afraid that they might write malicious Java code that crashes the entire server. But if it is your application you are running on your server, going to the trouble of enabling the security manager is IMHO not worth the effort. To give you an idea of what a (now outdated) policy file for Orbeon Forms would look like, see: http://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/doc/pages/oxf-policy.txt.html 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |