You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Prashant Chopde (JIRA)" <je...@portals.apache.org> on 2010/02/12 22:02:30 UTC

[jira] Created: (JS2-1104) Jetspeed 2.2 deployment on Weblogic 10 results in getRealPath() called with unsafe path:

Jetspeed 2.2 deployment on Weblogic 10 results in getRealPath() called with unsafe path:
----------------------------------------------------------------------------------------

                 Key: JS2-1104
                 URL: https://issues.apache.org/jira/browse/JS2-1104
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 2.2.0
         Environment: WLS 10, jetspeed-installer-demo-2.2.0.jar on Windows XP. DB: Oracle 10 XE.
            Reporter: Prashant Chopde


I am trying to deploy Jetspeed2.2.0 on Weblogic application server.  I packaged the exploded jetspeed, j2-admin and demo as wars into an Jetspeed2.ear. I am trying to deploy this using weblogic console. 
I am currently stuck at the following error..
##### platform = Oracle9i
<Feb 12, 2010 3:06:53 PM EST> <Error> <HTTP> <BEA-101005> <[weblogic.servlet.internal.WebAppServletContext@1aeb7a6 - appName:
 'Jetspeed2', name: '/jetspeed', context-path: '/jetspeed'] getRealPath() called with unsafe path: "/C:/JetSpeed2Upgrade/Jets
peed2.ear/jetspeed.war/WEB-INF/templates".
java.io.IOException: The filename, directory name, or volume label syntax is incorrect
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
        at java.io.File.getCanonicalPath(File.java:531)
        at weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAppServletContext.java:736)
        at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:232)
        Truncated. see log file for complete stacktrace
>
Have seen this error being reported with Jetspeed deployment before with Weblogic, but have not been able to find a solution for it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1104) Jetspeed 2.2 deployment on Weblogic 10 results in getRealPath() called with unsafe path:

Posted by "Prashant Chopde (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833171#action_12833171 ] 

Prashant Chopde commented on JS2-1104:
--------------------------------------

I have seen a similar issue being created - https://issues.apache.org/jira/browse/JS2-1048, but I am not sure if the fix provided there is the solution that I need to use...


> Jetspeed 2.2 deployment on Weblogic 10 results in getRealPath() called with unsafe path:
> ----------------------------------------------------------------------------------------
>
>                 Key: JS2-1104
>                 URL: https://issues.apache.org/jira/browse/JS2-1104
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.2.0
>         Environment: WLS 10, jetspeed-installer-demo-2.2.0.jar on Windows XP. DB: Oracle 10 XE.
>            Reporter: Prashant Chopde
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> I am trying to deploy Jetspeed2.2.0 on Weblogic application server.  I packaged the exploded jetspeed, j2-admin and demo as wars into an Jetspeed2.ear. I am trying to deploy this using weblogic console. 
> I am currently stuck at the following error..
> ##### platform = Oracle9i
> <Feb 12, 2010 3:06:53 PM EST> <Error> <HTTP> <BEA-101005> <[weblogic.servlet.internal.WebAppServletContext@1aeb7a6 - appName:
>  'Jetspeed2', name: '/jetspeed', context-path: '/jetspeed'] getRealPath() called with unsafe path: "/C:/JetSpeed2Upgrade/Jets
> peed2.ear/jetspeed.war/WEB-INF/templates".
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect
>         at java.io.WinNTFileSystem.canonicalize0(Native Method)
>         at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
>         at java.io.File.getCanonicalPath(File.java:531)
>         at weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAppServletContext.java:736)
>         at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:232)
>         Truncated. see log file for complete stacktrace
> >
> Have seen this error being reported with Jetspeed deployment before with Weblogic, but have not been able to find a solution for it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-1104) Jetspeed 2.2 deployment on Weblogic 10 results in getRealPath() called with unsafe path:

Posted by "wanglisong (JIRA)" <je...@portals.apache.org>.
    [ https://issues.apache.org/jira/browse/JS2-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902356#action_12902356 ] 

wanglisong commented on JS2-1104:
---------------------------------

I have met the same problem when i deploy jetspeed-2.2.1 on weblogic-10.3. Any one knows what to do with it?

> Jetspeed 2.2 deployment on Weblogic 10 results in getRealPath() called with unsafe path:
> ----------------------------------------------------------------------------------------
>
>                 Key: JS2-1104
>                 URL: https://issues.apache.org/jira/browse/JS2-1104
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.2.0
>         Environment: WLS 10, jetspeed-installer-demo-2.2.0.jar on Windows XP. DB: Oracle 10 XE.
>            Reporter: Prashant Chopde
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> I am trying to deploy Jetspeed2.2.0 on Weblogic application server.  I packaged the exploded jetspeed, j2-admin and demo as wars into an Jetspeed2.ear. I am trying to deploy this using weblogic console. 
> I am currently stuck at the following error..
> ##### platform = Oracle9i
> <Feb 12, 2010 3:06:53 PM EST> <Error> <HTTP> <BEA-101005> <[weblogic.servlet.internal.WebAppServletContext@1aeb7a6 - appName:
>  'Jetspeed2', name: '/jetspeed', context-path: '/jetspeed'] getRealPath() called with unsafe path: "/C:/JetSpeed2Upgrade/Jets
> peed2.ear/jetspeed.war/WEB-INF/templates".
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect
>         at java.io.WinNTFileSystem.canonicalize0(Native Method)
>         at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:395)
>         at java.io.File.getCanonicalPath(File.java:531)
>         at weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAppServletContext.java:736)
>         at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:232)
>         Truncated. see log file for complete stacktrace
> >
> Have seen this error being reported with Jetspeed deployment before with Weblogic, but have not been able to find a solution for it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org