Re: web.xml pbm

2008-04-07 Thread supareno
] Subject: Re: web.xml pbm so i tried with a context (like the example below) ?xml version=1.0 encoding=UTF-8? Context path= docBase= /Context If your Context element is in the proper place (META-INF/context.xml of your webapp), then neither the path nor the docBase attributes are allowed

Re: web.xml pbm

2008-04-06 Thread supareno
i found the problem !! i tried a war without a context and everything is working find (but i didn't have a db connection !!) so i tried with a context (like the example below) ?xml version=1.0 encoding=UTF-8? Context path= reloadable=true docBase= Resource name=jdbc/library

RE: web.xml pbm

2008-04-06 Thread Caldarale, Charles R
From: supareno [mailto:[EMAIL PROTECTED] Subject: Re: web.xml pbm so i tried with a context (like the example below) ?xml version=1.0 encoding=UTF-8? Context path= docBase= /Context If your Context element is in the proper place (META-INF/context.xml of your webapp), then neither

web.xml pbm

2008-04-04 Thread supareno
hello, my config is: tomcat 5.5.9 jdk 6 linux ubuntu eclipse 3.2 ant 1.7.0 i write a build.xml file to build and deploy my war. (compilation OK and deployment on the server OK) but, when i try to start it, it starts but when i try to access to it, i'm only seeing the list of the apps

Re: web.xml pbm

2008-04-04 Thread David Smith
and where is this web.xml file stored? It has to be in your webapp's WEB-INF (note all CAPS) folder per the servlet specification. --David supareno wrote: hello, my config is: tomcat 5.5.9 jdk 6 linux ubuntu eclipse 3.2 ant 1.7.0 i write a build.xml file to build and deploy my war.

Re: web.xml pbm

2008-04-04 Thread supareno
the web.xml is in the WEB-INF folder when i deploy the war file , the log write this stuff 4 avr. 2008 14:28:33 org.apache.catalina.core.NamingContextListener lifecycleEvent GRAVE: La création du context de nommage (naming context) a échoué : javax.naming.NamingException: Le Contexte est en

Re: web.xml pbm

2008-04-04 Thread David Smith
That error is different from what you originally posted and implies your webapp is trying to modify the tomcat supplied JNDI name context. That context which houses tomcat container supplied stuff like database pools is read only. ... But that's a different post. Back to the original error

Re: web.xml pbm

2008-04-04 Thread Mikolaj Rydzewski
supareno wrote: when i deploy the war file , the log write this stuff 4 avr. 2008 14:28:33 org.apache.catalina.core.NamingContextListener lifecycleEvent GRAVE: La création du context de nommage (naming context) a échoué : javax.naming.NamingException: Le Contexte est en lecture seule Thanks

Re: web.xml pbm

2008-04-04 Thread supareno
David Smith a écrit : That error is different from what you originally posted and implies your webapp is trying to modify the tomcat supplied JNDI name context. That context which houses tomcat container supplied stuff like database pools is read only. ... But that's a different post. Back

Re: web.xml pbm

2008-04-04 Thread David Smith
Can you expand a copy of your webapp war file and confirm a there is a web.xml file in it? In my experience, the errors generated out of tomcat are usually right on the money, so we should confirm the generated war file really contains a web.xml at WEB-INF/web.xml. --David supareno wrote:

Re: web.xml pbm

2008-04-04 Thread Hassan Schroeder
On Fri, Apr 4, 2008 at 4:49 AM, supareno [EMAIL PROTECTED] wrote: i write a build.xml file to build and deploy my war. (compilation OK and deployment on the server OK) but, when i try to start it, it starts but when i try to access to it, i'm only seeing the list of the apps prrsents in the