[opencms-dev] Problem with too long pathnames on Windows (xmlcontent-demo)

Daniel Wiesner daniel.wiesner at av-studio.de
Wed Jan 5 17:45:47 CET 2005


hello sebastion,

I had the same problem and so I moved the tomcat to c:\tomcat55. I think 
this is the only possible workaround.

Daniel


Sebastian Himberger schrieb:

>Hello,
>
>yesterday i encountered an error on my Windows 2003 box caused by a too long
>path created by OpenCms. It seems that Windows 2003/2000 only support a
>maximum path lengt of 255 characters. 
>
>Especially the xmlcontent module has an extremly long path in the
>file-system. Only the path inside the webapps directory -
>"WEB-INF\packages\modules\org.opencms.frontend.templateone.xmlcontentdemo\sy
>stem\modules\org.opencms.frontend.templateone.xmlcontentdemo\classes\org\ope
>ncms\frontend\templateone\xmlcontentdemo\workplace_de.properties" - is 216
>characters long wich may easily result in the error i encountred (Tomcat
>throws a NullPointerException caused by a native error and deletes the
>webapp). So better check this before installing a new OpenCms on a Windows
>box.
>
>Would it be possible to reduce the length of the path by renaming the module
>or has somebody a better idea how to address this problem? Of course i can
>install Tomcat in a directory "nearer" to the root but this is will not
>prevent those problems in the future.
>
>best regards
>Sebastian
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>  
>




More information about the opencms-dev mailing list