]
Subject: Re: web.xml pbm
so i tried with a context (like the example below)
If your element is in the proper place (META-INF/context.xml
of your webapp), then neither the path nor the docBase attributes are
allowed. Even if your element is in server.xml (and none
should be),
> From: supareno [mailto:[EMAIL PROTECTED]
> Subject: Re: web.xml pbm
>
> so i tried with a context (like the example below)
>
> docBase="">
>
If your element is in the proper place (META-INF/context.xml
of your webapp), then neither the path nor
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)
i although set a resource in the web.xml
Library Connection
jdbc/library
javax.sql.DataSource
Container
an
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 i
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:
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
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 G
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 -
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 le
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. (
10 matches
Mail list logo