dcsimg
Tomcat serving content from mapped drives, Help please
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, March 9, 2005 11:41 AM

Hi All, Tomcat deploys any .WAR files in this directory successfully, but fails to read and cache them in the work directory, which is d:Tomcatwork. Now the error I get is as follows: java.lang.IllegalArgumentException: Document base \pr-nas-1prodLandG_appspr-nas-1prodLandG_appsapp does not exist or is not a readable directory However when I manually create the pr-nas-1prodLandG_apps directories under what I have configured as my original appBase the Tomcat serves the content, I can not see why it is duplicating the directory structure when try to serve content but works when deploying. Server.xml ---------------------------------------------------------------------------------   More>>

Hi All,







Tomcat deploys any .WAR files in this directory successfully, but fails to read and cache them in the work directory, which is d:Tomcatwork. Now the error I get is as follows:



java.lang.IllegalArgumentException: Document base \pr-nas-1prodLandG_appspr-nas-1prodLandG_appsapp does not exist or is not a readable directory



However when I manually create the pr-nas-1prodLandG_apps directories under what I have configured as my original appBase the Tomcat serves the content, I can not see why it is duplicating the directory structure when try to serve content but works when deploying.






Server.xml
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------









-->

debug="0"/>

debug="0"/>









type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">



factory
org.apache.catalina.users.MemoryUserDatabaseFactory


pathname
conf/tomcat-users.xml














port="8080" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />


-->






enableLookups="false" redirectPort="8443" debug="0"
protocol="AJP/1.3" />





maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false"
acceptCount="100" debug="0" connectionTimeout="20000"
proxyPort="80" disableUploadTimeout="true" />



















prefix="catalina_log." suffix=".txt"
timestamp="true"/>





debug="0" resourceName="UserDatabase"/>














unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
















directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>








------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Server-minimal.xml

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">



factory
org.apache.catalina.users.MemoryUserDatabaseFactory


pathname
conf/tomcat-users.xml














resourceName="UserDatabase" />





------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



Any assistance would be greatly appreciated.



Kind Regards
Jo    <<Less
About | Sitemap | Contact