I have the context declaring in the server.xml but tomcat make a
CoffeeNet.xml into /Catalina/localhost.
When i delete the context into server.xml the error is the next:
05-abr-2006 17:30:12 org.apache.catalina.core.StandardHostDeployer
install
INFO: Procesando URL de archivo de configuraci¾n de Contexto
file:C:\Tomcat\con\Catalina\localhost\CoffeeNet.xml
05-abr-2006 17:30:12 org.apache.catalina.startup.ContextConfig
applicationConfi
INFO: Falta el archivo web.xml de la aplicaci¾nb. Utilizando los
parßmetros por
defecto
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CoffeNet]
If you saw muy directories don't have the same path. Por example, classes
and lib is out of WEB-INF.
Thank you.
-----Mensaje original-----
De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 05 de abril de 2006 17:21
Para: Tomcat Users List
Asunto: RE: Problem whith constructs of directories?
The docBase should refer to where your jsps and/or html are.
%docBase%/my.jsp
/other.html
/WEB-INF/lib
/WEB-INF/classes
/WEB-INF/web.xml
Now, where are you declaring this context ? Into a context file inside
%TOMCAT%/conf/Catalina/localhost/CoffeeNET.xml ??
Or in %TOMCAT%/conf/server.xml ??
-----Original Message-----
From: José María Tristán [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 11:06 AM
To: 'Tomcat Users List'
Subject: RE: Problem whith constructs of directories?
docBase value should be the upper level of WEB-INF directory?
There is no more info on sysout and syserror logs.
Which is the path of docBase so tomcat can understand the directory
structure?
Thanks in advance
-----Mensaje original-----
De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 05 de abril de 2006 16:38
Para: Tomcat Users List
Asunto: RE: Problem whith constructs of directories?
The second error is expected because surely in your trunk folder you have'nt
the web.xml
Now, check out the sysout and syserror logs, is there additional info ?
-----Original Message-----
From: José María Tristán [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 10:33 AM
To: 'Tomcat Users List'
Subject: RE: Problem whith constructs of directories?
Hola, gracias por la respuesta.
Ahora lo tengo así
<Context path="/CoffeeNet"
reloadable="true"
docBase="C:/CoffeeNET/RepositorioSVN/trunk/src/webapp"
workDir="C:/CoffeeNET/RepositorioSVN/work" />
pero me sigue generando el mismo error.
Si lo dejo así:
<Context path="/CoffeeNet"
reloadable="true"
docBase="C:/CoffeeNET/RepositorioSVN/trunk"
workDir="C:/CoffeeNET/RepositorioSVN/work" />
El error que me devuelve es el siguiente:
05-abr-2006 16:29:58 org.apache.catalina.startup.ContextConfig
applicationConfig
INFO: Falta el archivo web.xml de la aplicaci¾nb. Utilizando los
parßmetros por
defecto
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CoffeeNet]
Muchas gracias.
-----Mensaje original-----
De: Asensio, Rodrigo [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 05 de abril de 2006 16:19
Para: Tomcat Users List
Asunto: RE: Problem whith constructs of directories?
<Context docBase="C:\projects\MyApp"
path="/MyApp" reloadable="true"
workDir="C:\projects\work\MyApp">
</Context>
Intenta unificando los slashs \ / y sin poner backslash al final en docBase
<Context path="/CoffeeNet" reloadable="true"
docBase="C:\CoffeeNET\RepositorioSVN\trunk\src\webapp\"
workDir="C:\CoffeeNET\RepositorioSVN/work" />
-----Original Message-----
From: José María Tristán [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 10:17 AM
To: [email protected]
Subject: Problem whith constructs of directories?
Hello:
I have this directories in my project of eclipse:
RepositorioSVN
trunk
src
java
resources
webapp
WEB-INF
web.xml
jasper
jsp
build
lib
bin
In the server.xml of tomcat 5.29 I have this context:
<Context path="/CoffeeNet" reloadable="true"
docBase="C:\CoffeeNET\RepositorioSVN\trunk\src\webapp\"
workDir="C:\CoffeeNET\RepositorioSVN/work" />
When i launch tomcat it return this error:
05-abr-2006 16:14:41
org.apache.catalina.core.StandardContext start
GRAVE: Error filterStart
05-abr-2006 16:14:41
org.apache.catalina.core.StandardContext start
GRAVE: Fall¾ en arranque del Contexto debido a errores
previos
and the context don't run.
Thank you very much.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message (including any attachments) contains confidential and/or
proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on the
contents of this information is strictly prohibited and may constitute a
violation of law. If you are not the intended recipient, please notify the
sender immediately by responding to this e-mail, and delete the message from
your system. If you have any questions about this e-mail please notify the
sender immediately.
Ce message (ainsi que les eventuelles pieces jointes) est exclusivement
adresse au destinataire et contient des informations confidentielles. La
copie, la communication ou la distribution du contenu de ce message sans
l'accord prealable de l'expediteur sont strictement interdits et peuvent
constituer un delit. Si vous n'etes pas destinataire de ce message, merci de
le detruire et d'avertir l'expediteur. Si vous avez des questions se
rapportant a ce courrier electronique, merci de bien vouloir notifier
l'expediteur immediatement.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message (including any attachments) contains confidential and/or
proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on the
contents of this information is strictly prohibited and may constitute a
violation of law. If you are not the intended recipient, please notify the
sender immediately by responding to this e-mail, and delete the message from
your system. If you have any questions about this e-mail please notify the
sender immediately.
Ce message (ainsi que les eventuelles pieces jointes) est exclusivement
adresse au destinataire et contient des informations confidentielles. La
copie, la communication ou la distribution du contenu de ce message sans
l'accord prealable de l'expediteur sont strictement interdits et peuvent
constituer un delit. Si vous n'etes pas destinataire de ce message, merci de
le detruire et d'avertir l'expediteur. Si vous avez des questions se
rapportant a ce courrier electronique, merci de bien vouloir notifier
l'expediteur immediatement.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message (including any attachments) contains confidential
and/or proprietary information intended only for the addressee.
Any unauthorized disclosure, copying, distribution or reliance on
the contents of this information is strictly prohibited and may
constitute a violation of law. If you are not the intended
recipient, please notify the sender immediately by responding to
this e-mail, and delete the message from your system. If you
have any questions about this e-mail please notify the sender
immediately.
Ce message (ainsi que les eventuelles pieces jointes) est
exclusivement adresse au destinataire et contient des
informations confidentielles. La copie, la communication ou la
distribution du contenu de ce message sans l'accord prealable de
l'expediteur sont strictement interdits et peuvent constituer un
delit. Si vous n'etes pas destinataire de ce message, merci de le
detruire et d'avertir l'expediteur. Si vous avez des questions se
rapportant a ce courrier electronique, merci de bien vouloir
notifier
l'expediteur immediatement.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]