You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Robert Blackburn (JIRA)" <ji...@apache.org> on 2009/03/07 16:56:56 UTC

[jira] Commented: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat

    [ https://issues.apache.org/jira/browse/OFBIZ-1738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679885#action_12679885 ] 

Robert Blackburn commented on OFBIZ-1738:
-----------------------------------------

I am having the same issue cristina reported earlier. I'm running Tomcat 6, on a windows machine (to demo the product). 
All the steps work fine, up until I run the catalina batch file. 

One thing I notices was that the catalina batch file attached to this ticket is different then the one that is generated by ofbiz.jar. This is the line in the generated file...
   set JAVA_OPTS="%JAVA_OPTS% -Dofbiz.home=C:/tomcat6/ofbiz"
and this is the line in the file attached to this ticket...
   set JAVA_OPTS=%JAVA_OPTS% -Dofbiz.home="${ofbizHome}"

If I manually replace that line and tried again, the batch file runs, but the errors fly by. The odd thing is that Tomcat actually starts up and I can browse to it fine, but it does not seem as OFBiz itself is running. I was able to grab block of some of the errors as they zoomed by, let me know and I can attach them here or email it to you (its a rather large block of text and I'm new here so I am not sure what the preferred method would be)

I hope this helps

> Add support for running one instance of OfBiz under Tomcat
> ----------------------------------------------------------
>
>                 Key: OFBIZ-1738
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1738
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: Mac OS X 10.5.2, JDK 1.5.0_13
>            Reporter: Ludovic MaƮtre
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: catalina.bat, catalina.properties, ofbiz-tomcat-setup.zip, tomcat.zip
>
>   Original Estimate: 8h
>  Remaining Estimate: 8h
>
> This issue provide templates and patchs to run one instance of OfBiz under Tomcat.
> The templates are used to:
> - setup the classpath of Tomcat, (catalina.properties)
> - declare the ofbiz webapps in the server configuration
> The files generated from the templates, with the command 'java -jar ofbiz.jar -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat.
> IIRC there is also some setup to perform in the first loaded webapp, and a few other modifications in the code, i will digg into it this evening (French riviera time) and create a patch which will be added to this issue. (the full code is also published on my subversion server: http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good luck to find the relveant parts :-))
> Best regards,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.