[JIRA] Created: (MAGNOLIA-2805) Can't deploy webapp from a directory that has a "+" symbol in its path

View: New views
4 Messages — Rating Filter:   Alert me  

[JIRA] Created: (MAGNOLIA-2805) Can't deploy webapp from a directory that has a "+" symbol in its path

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Can't deploy webapp from a directory that has a "+" symbol in its path
----------------------------------------------------------------------

                 Key: MAGNOLIA-2805
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2805
             Project: Magnolia
          Issue Type: Bug
          Components: core
    Affects Versions: 3.6.6, 4.0.2, 4.1.1
         Environment: OSX 10.5.57 - tomcat, jetty, ...
            Reporter: Grégory Joseph
            Assignee: Philipp Bärfuss
             Fix For: 4.1.1


While this is probably not a very common use-case, we ran into this problem with integration tests on osx 10.5.7

Indeed, tmp files are now going to {{/var/folders/some-unique-path}} - and (sometimes?) this path contains {{+}}'s:
{noformat}
2009-06-30 16:23:23.200::INFO:  Extract jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/ to /var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp
D
DEBUG  info.magnolia.cms.servlets.MgnlServletContextListener MgnlServletContextListener.java(contextInitialized:164) 30.06.2009 16:23:26  rootPath is /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp, webapp is webapp
{noformat}
({{rootPath}} is set correctly here)

Somewhere along the road, this path gets url-decoded, resulting in such warnings:
{noformat}
WARN   info.magnolia.cms.util.ClasspathResourcesUtil ClasspathResourcesUtil.java(collectFiles:160) 30.06.2009 16:23:26  missing file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U   TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/classes
{noformat}


Still, the repository *seems* to be correctly loaded:
{noformat}
INFO   info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 30.06.2009 16:23:26  Loading repository at /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/repositories/magnolia (config file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/config/repo-conf/jackrabbit-bundle-derby-search.xml)
{noformat} but the startup ends up failing with {noformat}
2009-06-30 16:23:33.035::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@d816d6{/magnoliaAuthor,jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/}
java.lang.RuntimeException: javax.jcr.PathNotFoundException: modules
        at info.magnolia.module.ModuleManagerImpl.startModules(ModuleManagerImpl.java:346)
        at info.magnolia.module.ui.ModuleManagerWebUI.onStartup(ModuleManagerWebUI.java:80)
        at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:138)
        at info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:107)
        at info.magnolia.cms.servlets.MgnlServletContextListener$1.exec(MgnlServletContextListener.java:178)
{noformat}

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscribe@...>
----------------------------------------------------------------


[JIRA] Updated: (MAGNOLIA-2805) Can't deploy webapp from a directory that has a "+" symbol in its path

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



     [ http://jira.magnolia-cms.com/browse/MAGNOLIA-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Description:
While this is probably not a very common use-case, we ran into this problem with integration tests on osx 10.5.7

Indeed, tmp files are now going to {{/var/folders/some-unique-path}} - and (sometimes?) this path contains {{+}}'s:
{noformat}
2009-06-30 16:23:23.200::INFO:  Extract jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/ to /var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp
D
DEBUG  info.magnolia.cms.servlets.MgnlServletContextListener MgnlServletContextListener.java(contextInitialized:164) 30.06.2009 16:23:26  rootPath is /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp, webapp is webapp
{noformat}
({{rootPath}} is set correctly here)

Somewhere along the road, this path gets url-decoded, resulting in such warnings:
{noformat}
WARN   info.magnolia.cms.util.ClasspathResourcesUtil ClasspathResourcesUtil.java(collectFiles:160) 30.06.2009 16:23:26  missing file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U   TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/classes
{noformat}


Still, the repository *seems* to be correctly loaded:
{noformat}
INFO   info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 30.06.2009 16:23:26  Loading repository at /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/repositories/magnolia (config file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/config/repo-conf/jackrabbit-bundle-derby-search.xml)
{noformat} but the startup ends up failing with {noformat}
2009-06-30 16:23:33.035::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@d816d6{/magnoliaAuthor,jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/}
java.lang.RuntimeException: javax.jcr.PathNotFoundException: modules
        at info.magnolia.module.ModuleManagerImpl.startModules(ModuleManagerImpl.java:346)
        at info.magnolia.module.ui.ModuleManagerWebUI.onStartup(ModuleManagerWebUI.java:80)
        at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:138)
        at info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:107)
        at info.magnolia.cms.servlets.MgnlServletContextListener$1.exec(MgnlServletContextListener.java:178)
{noformat}


Verified this isn't test or jetty specific by simply renaming my {{apache-tomcat-5.5.27}} folder to {{apache+tomcat-5.5.27}} and saw exactly the same symptoms.

  was:
While this is probably not a very common use-case, we ran into this problem with integration tests on osx 10.5.7

Indeed, tmp files are now going to {{/var/folders/some-unique-path}} - and (sometimes?) this path contains {{+}}'s:
{noformat}
2009-06-30 16:23:23.200::INFO:  Extract jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/ to /var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp
D
DEBUG  info.magnolia.cms.servlets.MgnlServletContextListener MgnlServletContextListener.java(contextInitialized:164) 30.06.2009 16:23:26  rootPath is /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp, webapp is webapp
{noformat}
({{rootPath}} is set correctly here)

Somewhere along the road, this path gets url-decoded, resulting in such warnings:
{noformat}
WARN   info.magnolia.cms.util.ClasspathResourcesUtil ClasspathResourcesUtil.java(collectFiles:160) 30.06.2009 16:23:26  missing file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U   TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/classes
{noformat}


Still, the repository *seems* to be correctly loaded:
{noformat}
INFO   info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 30.06.2009 16:23:26  Loading repository at /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/repositories/magnolia (config file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/config/repo-conf/jackrabbit-bundle-derby-search.xml)
{noformat} but the startup ends up failing with {noformat}
2009-06-30 16:23:33.035::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@d816d6{/magnoliaAuthor,jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/}
java.lang.RuntimeException: javax.jcr.PathNotFoundException: modules
        at info.magnolia.module.ModuleManagerImpl.startModules(ModuleManagerImpl.java:346)
        at info.magnolia.module.ui.ModuleManagerWebUI.onStartup(ModuleManagerWebUI.java:80)
        at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:138)
        at info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:107)
        at info.magnolia.cms.servlets.MgnlServletContextListener$1.exec(MgnlServletContextListener.java:178)
{noformat}


> Can't deploy webapp from a directory that has a "+" symbol in its path
> ----------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2805
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2805
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.6, 4.0.2, 4.1.1
>         Environment: OSX 10.5.57 - tomcat, jetty, ...
>            Reporter: Grégory Joseph
>            Assignee: Philipp Bärfuss
>             Fix For: 4.1.1
>
>
> While this is probably not a very common use-case, we ran into this problem with integration tests on osx 10.5.7
> Indeed, tmp files are now going to {{/var/folders/some-unique-path}} - and (sometimes?) this path contains {{+}}'s:
> {noformat}
> 2009-06-30 16:23:23.200::INFO:  Extract jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/ to /var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp
> D
> DEBUG  info.magnolia.cms.servlets.MgnlServletContextListener MgnlServletContextListener.java(contextInitialized:164) 30.06.2009 16:23:26  rootPath is /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp, webapp is webapp
> {noformat}
> ({{rootPath}} is set correctly here)
> Somewhere along the road, this path gets url-decoded, resulting in such warnings:
> {noformat}
> WARN   info.magnolia.cms.util.ClasspathResourcesUtil ClasspathResourcesUtil.java(collectFiles:160) 30.06.2009 16:23:26  missing file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U   TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/classes
> {noformat}
> Still, the repository *seems* to be correctly loaded:
> {noformat}
> INFO   info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 30.06.2009 16:23:26  Loading repository at /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/repositories/magnolia (config file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/config/repo-conf/jackrabbit-bundle-derby-search.xml)
> {noformat} but the startup ends up failing with {noformat}
> 2009-06-30 16:23:33.035::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@d816d6{/magnoliaAuthor,jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/}
> java.lang.RuntimeException: javax.jcr.PathNotFoundException: modules
> at info.magnolia.module.ModuleManagerImpl.startModules(ModuleManagerImpl.java:346)
> at info.magnolia.module.ui.ModuleManagerWebUI.onStartup(ModuleManagerWebUI.java:80)
> at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:138)
> at info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:107)
> at info.magnolia.cms.servlets.MgnlServletContextListener$1.exec(MgnlServletContextListener.java:178)
> {noformat}
> Verified this isn't test or jetty specific by simply renaming my {{apache-tomcat-5.5.27}} folder to {{apache+tomcat-5.5.27}} and saw exactly the same symptoms.

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscribe@...>
----------------------------------------------------------------


[JIRA] Commented: (MAGNOLIA-2805) Can't deploy webapp from a directory that has a "+" symbol in its path

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



    [ http://jira.magnolia-cms.com/browse/MAGNOLIA-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23413#action_23413 ]

Grégory Joseph commented on MAGNOLIA-2805:
------------------------------------------

Related issues:
http://www.netbeans.org/issues/show_bug.cgi?id=167139
http://discussions.apple.com/thread.jspa?threadID=2041458

Indicating we might also run into other issues if we use the java system temp folder ({{java.io.tmpdir}})

> Can't deploy webapp from a directory that has a "+" symbol in its path
> ----------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2805
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2805
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.6, 4.0.2, 4.1.1
>         Environment: OSX 10.5.57 - tomcat, jetty, ...
>            Reporter: Grégory Joseph
>            Assignee: Philipp Bärfuss
>             Fix For: 4.1.1
>
>
> While this is probably not a very common use-case, we ran into this problem with integration tests on osx 10.5.7
> Indeed, tmp files are now going to {{/var/folders/some-unique-path}} - and (sometimes?) this path contains {{+}}'s:
> {noformat}
> 2009-06-30 16:23:23.200::INFO:  Extract jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/ to /var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp
> D
> DEBUG  info.magnolia.cms.servlets.MgnlServletContextListener MgnlServletContextListener.java(contextInitialized:164) 30.06.2009 16:23:26  rootPath is /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp, webapp is webapp
> {noformat}
> ({{rootPath}} is set correctly here)
> Somewhere along the road, this path gets url-decoded, resulting in such warnings:
> {noformat}
> WARN   info.magnolia.cms.util.ClasspathResourcesUtil ClasspathResourcesUtil.java(collectFiles:160) 30.06.2009 16:23:26  missing file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U   TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/classes
> {noformat}
> Still, the repository *seems* to be correctly loaded:
> {noformat}
> INFO   info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 30.06.2009 16:23:26  Loading repository at /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/repositories/magnolia (config file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/config/repo-conf/jackrabbit-bundle-derby-search.xml)
> {noformat} but the startup ends up failing with {noformat}
> 2009-06-30 16:23:33.035::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@d816d6{/magnoliaAuthor,jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/}
> java.lang.RuntimeException: javax.jcr.PathNotFoundException: modules
> at info.magnolia.module.ModuleManagerImpl.startModules(ModuleManagerImpl.java:346)
> at info.magnolia.module.ui.ModuleManagerWebUI.onStartup(ModuleManagerWebUI.java:80)
> at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:138)
> at info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:107)
> at info.magnolia.cms.servlets.MgnlServletContextListener$1.exec(MgnlServletContextListener.java:178)
> {noformat}
> Verified this isn't test or jetty specific by simply renaming my {{apache-tomcat-5.5.27}} folder to {{apache+tomcat-5.5.27}} and saw exactly the same symptoms.

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscribe@...>
----------------------------------------------------------------


[JIRA] Commented: (MAGNOLIA-2805) Can't deploy webapp from a directory that has a "+" symbol in its path

by JIRA (on behalf of Jan Haderka) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



    [ http://jira.magnolia-cms.com/browse/MAGNOLIA-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24803#action_24803 ]

Hudson CI server commented on MAGNOLIA-2805:
--------------------------------------------

Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia-bundle_trunk #581|http://hudson.magnolia-cms.com/job/magnolia-bundle_trunk/581/]
     : setting the tmp direcotry explicitely in the cargo configuration solves the problem for the bundle


> Can't deploy webapp from a directory that has a "+" symbol in its path
> ----------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2805
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2805
>             Project: Magnolia
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.6.6, 4.0.2, 4.1.1
>         Environment: OSX 10.5.57 - tomcat, jetty, ...
>            Reporter: Grégory Joseph
>            Assignee: Philipp Bärfuss
>             Fix For: 4.1.x
>
>
> While this is probably not a very common use-case, we ran into this problem with integration tests on osx 10.5.7
> Indeed, tmp files are now going to {{/var/folders/some-unique-path}} - and (sometimes?) this path contains {{+}}'s:
> {noformat}
> 2009-06-30 16:23:23.200::INFO:  Extract jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/ to /var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp
> D
> DEBUG  info.magnolia.cms.servlets.MgnlServletContextListener MgnlServletContextListener.java(contextInitialized:164) 30.06.2009 16:23:26  rootPath is /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp, webapp is webapp
> {noformat}
> ({{rootPath}} is set correctly here)
> Somewhere along the road, this path gets url-decoded, resulting in such warnings:
> {noformat}
> WARN   info.magnolia.cms.util.ClasspathResourcesUtil ClasspathResourcesUtil.java(collectFiles:160) 30.06.2009 16:23:26  missing file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U   TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/classes
> {noformat}
> Still, the repository *seems* to be correctly loaded:
> {noformat}
> INFO   info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:176) 30.06.2009 16:23:26  Loading repository at /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/repositories/magnolia (config file: /private/var/folders/Ca/Cay4JfEtFGyfVhgQhPjJ4U+++TI/-Tmp-/Jetty_0_0_0_0_9345_magnolia-bundled-webapp-3.6.6-SNAPSHOT.war__magnoliaAuthor__ovqsl9/webapp/WEB-INF/config/repo-conf/jackrabbit-bundle-derby-search.xml)
> {noformat} but the startup ends up failing with {noformat}
> 2009-06-30 16:23:33.035::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@d816d6{/magnoliaAuthor,jar:file:/Users/gjoseph/Dev/magnolia/svn-branches/magnolia-bundle-3.6/magnolia-bundled-webapp/target/magnolia-bundled-webapp-3.6.6-SNAPSHOT.war!/}
> java.lang.RuntimeException: javax.jcr.PathNotFoundException: modules
> at info.magnolia.module.ModuleManagerImpl.startModules(ModuleManagerImpl.java:346)
> at info.magnolia.module.ui.ModuleManagerWebUI.onStartup(ModuleManagerWebUI.java:80)
> at info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:138)
> at info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:107)
> at info.magnolia.cms.servlets.MgnlServletContextListener$1.exec(MgnlServletContextListener.java:178)
> {noformat}
> Verified this isn't test or jetty specific by simply renaming my {{apache-tomcat-5.5.27}} folder to {{apache+tomcat-5.5.27}} and saw exactly the same symptoms.

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscribe@...>
----------------------------------------------------------------