[ http://jira.magnolia.info/browse/MAGNOLIA-1233?page=all ]

Grégory Joseph updated MAGNOLIA-1233:
-------------------------------------

    Description: ... because the ServletContext.getRealPath("") returns a path 
with a trailing slash, we can't correctly determine the webapp name: since the 
default repos config xml uses ${magnolia.webapp} to configure the bindName, we 
try to lookup the Repository on jndi with an empty name, which resulted in the 
ClassCastException found in the logs attached to MANGNOLIA-958.  (was: ... 
because the ServletContext.getRealPath("") returns a path with a trailing 
slash, we can't correctly determine the webapp name, and thus we try to lookup 
the Repository on jndi with an empty name.)

> RootPath not correctly initialized under jetty/resin - leading to jndi issues
> -----------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1233
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1233
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.0 Final
>            Reporter: Grégory Joseph
>         Assigned To: Grégory Joseph
>             Fix For: 3.0.1
>
>
> ... because the ServletContext.getRealPath("") returns a path with a trailing 
> slash, we can't correctly determine the webapp name: since the default repos 
> config xml uses ${magnolia.webapp} to configure the bindName, we try to 
> lookup the Repository on jndi with an empty name, which resulted in the 
> ClassCastException found in the logs attached to MANGNOLIA-958.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to