Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-05 Thread Linux sysadmin
thanks Peter for this recommendation ... have a nice day Peter Crowther wrote: 2009/10/5 Linux sysadmin : The truth is that i make a link from the ${catalina.home}/conf in the ${catalina.base}/conf regarding the web.conf, thus it's the default from tomcat original distribution ... Th

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-05 Thread André Warnier
Peter Crowther wrote: ... and Tomcat in general. Symlinks in webapps will not work by default - look up "allowLinking" to allow them, and be Very Careful if you do as I seem to recall that undeploying a webapp with a symlink in it can delete all the files in the area that you've linked to. As

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-05 Thread Peter Crowther
2009/10/5 Linux sysadmin : >  The truth is that i make a link from the ${catalina.home}/conf in the > ${catalina.base}/conf regarding the web.conf, thus it's the default from > tomcat original distribution ... This should work for conf, but be very careful about symbolic links and Tomcat in genera

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Linux sysadmin
Hi back konstantin, The truth is that i make a link from the ${catalina.home}/conf in the ${catalina.base}/conf regarding the web.conf, thus it's the default from tomcat original distribution ... In my ${catalina.base} there is only those dirs : "conf" and "webapps". there is link for log

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Konstantin Kolinko
5 октября 2009 г. 1:41 пользователь Linux sysadmin написал: > Hi back Konstantin, > >  When i put a web.xml in ${catalina.base}/conf  it's working, that's great, > thanks Konstantin for this remarks ;-) > It should be not the web.xml of your application, but the default one. See conf/web.xml in

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Linux sysadmin
Hi back Konstantin, When i put a web.xml in ${catalina.base}/conf it's working, that's great, thanks Konstantin for this remarks ;-) But what i really wanted, is not using an web.xml in ${catalina.base}/conf but use the web.xml of each application, and use the master web.xml in ${catalin

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Konstantin Kolinko
1316 INFO: No default web.xml That message is about ${catalina.base}/conf/web.xml You have -user jsrvd on your jsvс command line. Are those files readable by that user? Best regards, Konstantin Kolinko 2009/10/4 Linux sysadmin : > Thank Konstantin and Peter for your fast reply, > >  Unfortuna

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Linux sysadmin
Thank Konstantin and Peter for your fast reply, Unfortunately i put 2 "=" like in the java command but still the same error as tomcat not finding the web.xml of my webapp !!! Regarding the answer of Peter i am doing an strace on it, answer is up to come ... Peter Crowther wrote: Try K

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Peter Crowther
2009/10/4 Linux sysadmin : [When starting as the jsvcd user...] >  1315 Oct 4, 2009 7:36:20 PM org.apache.catalina.startup.ContextConfig > defaultWebConfig                                 <=   It's seems tha's >  this  way  apache wasn't able to load the  web.xml in my  webapps' > WEB-INF/web.x

Re: resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Konstantin Kolinko
I have not dug through all the log output that you are citing, but at least the following things are difference between your startup.sh and jsvc command lines: 1) The value of -Djava.io.tmpdir 2) The value of -Djava.security.policy The -Djava.security.policy value of jsvc is certainly wrong. Ther

resource not available : Apache Tomcat/6.0.20 with java jdk1.6.0_16 on linux 2.6.30.1

2009-10-04 Thread Linux sysadmin
Hello, I am sending you this long email because i'm stuck on a "resource not available" for 2 weeks no, i googled a lot on for this error, read plenty of mailing list , but still unresolved my case :-( ... Below is the a long and detailled snapshot of what happens, thanks in advance for givi