You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "David Johnson (JIRA)" <ji...@apache.org> on 2010/07/19 03:15:50 UTC
[jira] Resolved: (ROL-633) resource-ref in web.xml presents
deployment in root directory
[ https://issues.apache.org/jira/browse/ROL-633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Johnson resolved ROL-633.
-------------------------------
Resolution: Fixed
Addressed long ago...
This resource refs for database and mail connections remain commented out in the Roller web.xml because we don't need them in the simple 5-minute install and because, even for the JNDI based config,Tomcat does not need them to be present.
Folks that deploy on other platforms will have to uncomment these refs.
> resource-ref in web.xml presents deployment in root directory
> -------------------------------------------------------------
>
> Key: ROL-633
> URL: https://issues.apache.org/jira/browse/ROL-633
> Project: Roller
> Issue Type: Bug
> Components: Configuration & Settings
> Affects Versions: 1.0.0
> Environment: Tomcat 5.0
> Reporter: Ken Blackler
> Assignee: Roller Unassigned
> Priority: Minor
>
> There is an unnecessary resource reference in web.xml that prevents roller from being deployed at the root web app under tomcat 5.0.
> <!-- TOMCAT RESOURCE REF -->
> <resource-ref>
> <res-ref-name>jdbc/rollerdb</res-ref-name>
> <res-type>javax.sql.DataSource</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
> This resource is defined in the conf/Catalina/localhost/roller.xml file.
> This entry is not needed and it can be safely commented out. Indeed, for the resource mail/Session is already commented out.
> Without this reference, roller works fine as:
> <Context path="/roller" docBase="${catalina.home}/webapps/roller" debug="0">
> or at root, such as:
> <Context path="" docBase="${catalina.home}/mywebapps/roller" debug="0">
> Note: If you want to run it at root, you have to move it out of the webapps directory to prevent tomcat's default loader from loading it without the resources.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.