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

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

Sorry to spam this issue, however after looking through my error logs I found 
that my issue seemed to come down to this error...
SEVERE: Error reading tld listeners java.lang.IllegalArgumentException: URI has 
an authority component

This (or something like this) is repeated many times and seems to be the main 
issue. I looked around to see if I could see what this is and I found this 
which might be of interest here...
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5086147

So, I opened my catalina.properties file and replaced all references to file:// 
with file:////

The startup now runs without error for me. 

So for me to get this running on Woindows I had to replace that one line in in 
catalina.bat (set JAVA_OPTS=%JAVA_OPTS% -Dofbiz.home="${ofbizHome}") and then 
replaced all file:// with file://// in the catalina.properties files.


> 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.

Reply via email to