tomcat 6.0.26 can't start server - - can't read server.xml

2010-04-21 Thread Christoph Kukulies
Has there something changed in the access rights of files tomcat is 
sensitive about under Windows XP or something? I'm using to move around 
some config files using cygwin tools like cp or mv. I have to idea why 
tomcat 6.0.26 suddenly says:


21.04.2010 15:54:39 org.apache.catalina.startup.Catalina load
WARNUNG: Can't load server.xml from 
C:\Programme\Apache_Group\Tomcat_6.0\conf\server.xml

21.04.2010 15:54:39 org.apache.catalina.startup.Catalina load
WARNUNG: Can't load server.xml from 
C:\Programme\Apache_Group\Tomcat_6.0\conf\server.xml

21.04.2010 15:54:39 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Cannot start server. Server instance is not configured.
21.04.2010 15:59:09 org.apache.catalina.startup.Catalina load
WARNUNG: Can't load server.xml from 
C:\Programme\Apache_Group\Tomcat_6.0\conf\server.xml

21.04.2010 15:59:09 org.apache.catalina.startup.Catalina load
WARNUNG: Can't load server.xml from 
C:\Programme\Apache_Group\Tomcat_6.0\conf\server.xml

21.04.2010 15:59:09 org.apache.catalina.startup.Catalina start
SCHWERWIEGEND: Cannot start server. Server instance is not configured.


This suddenly happened after I mv'ed the original server.xml to 
server.xml.orig and copied back the saved server.xml into the conf 
directory.


C:\Programme\Apache_Group\Tomcat_6.0\confls -l
insgesamt 96
drwxrwx---+ 3 Administratoren SYSTEM 0 Apr 21 15:22 Catalina
-rwx--+ 1 kukuKein9125 Mar  9 17:06 catalina.policy
-rwx--+ 1 kukuKein3794 Mar  9 17:06 catalina.properties
-rwx--+ 1 kukuKein1429 Mar  9 17:06 context.xml
-rwx--+ 1 kukuKein3321 Mar  9 17:06 logging.properties
-rwx--  1 kukuKein6971 Apr 21 16:03 server.xml
-rwx--+ 1 kukuKein6764 Mar  9 17:06 server.xml.orig
-rwx--+ 1 kukuKein1557 Mar  9 17:06 tomcat-users.xml
-rwx--+ 1 kukuKein   52068 Mar  9 17:06 web.xml

C:\Programme\Apache_Group\Tomcat_6.0\conf

Any ideas?

--
Christoph Kukulies



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: tomcat 6.0.26 can't start server - - can't read server.xml

2010-04-21 Thread Peter Crowther
The + in that listing is saying that server.xml.orig has some extra
permissions that server.xml hasn't.

Windows permissions are not the same as Cygwin permissions.  Use Windows
tools to inspect the permissions on both files, and use Windows tools to fix
the permissions on server.xml.  Also, get used to using Windows tools to
create files ;-).

- Peter

On 21 April 2010 15:15, Christoph Kukulies k...@kukulies.org wrote:

 Has there something changed in the access rights of files tomcat is
 sensitive about under Windows XP or something? I'm using to move around some
 config files using cygwin tools like cp or mv. I have to idea why tomcat
 6.0.26 suddenly says:

 [...]
 This suddenly happened after I mv'ed the original server.xml to
 server.xml.orig and copied back the saved server.xml into the conf
 directory.

 C:\Programme\Apache_Group\Tomcat_6.0\confls -l
 insgesamt 96
 drwxrwx---+ 3 Administratoren SYSTEM 0 Apr 21 15:22 Catalina
 -rwx--+ 1 kukuKein9125 Mar  9 17:06 catalina.policy
 -rwx--+ 1 kukuKein3794 Mar  9 17:06 catalina.properties
 -rwx--+ 1 kukuKein1429 Mar  9 17:06 context.xml
 -rwx--+ 1 kukuKein3321 Mar  9 17:06 logging.properties
 -rwx--  1 kukuKein6971 Apr 21 16:03 server.xml
 -rwx--+ 1 kukuKein6764 Mar  9 17:06 server.xml.orig
 -rwx--+ 1 kukuKein1557 Mar  9 17:06 tomcat-users.xml
 -rwx--+ 1 kukuKein   52068 Mar  9 17:06 web.xml

 C:\Programme\Apache_Group\Tomcat_6.0\conf

 Any ideas?

 --
 Christoph Kukulies



 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org