Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-408
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-408
Summary: cayenne.xml not found in servlet context path though it is there
Type: Bug
Status: Assigned
Priority: Major
Project: Cayenne
Components:
Cayenne Core Library
Versions:
1.1
Assignee: Andrus Adamchik
Reporter: Marius Siegas
Created: Thu, 15 Dec 2005 8:33 AM
Updated: Thu, 15 Dec 2005 8:33 AM
Environment: Jetty >=5.1.6, Java5, MySQL
Description:
We have web application with cayenne 1.1.3 configured from servlet context (BasicServletConfiguration). Cayenne complains it cannot find cayenne.xml file.
After some fiddling i found out that WebApplicationResourceLocator while searching for resource generates paths with multiple slashes (e.g. /WEB-INF//cayenne.xml note the double-slash).
At the same moment Jetty starting from 5.1.6 (5.1.4 doesn't mind that) does NOT tolerate paths like this.
so expected result is trying to find cayenne.xml at:
/WEB-INF/cayenne.xml
but what is currently occuring is:
/WEB-INF//cayenne.xml
and seems like the deeper you go the more slashes you get :)
We can't use Jetty later than 5.1.4 so it is quite a problem and it will get into a yet bigger problem as time passes and new versions are released. And I don't somehow think its jetty's fault :).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Thu Dec 15 2005 - 08:33:46 EST