tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asensio, Rodrigo" <rodrigo.asen...@gilbarco.com>
Subject RE: Problem whith constructs of directories?
Date Thu, 06 Apr 2006 14:58:01 GMT
Yes Jose, you have to have that structure.
Thatz is the only way that tomcat can load the context files 

-----Original Message-----
From: José María Tristán [mailto:jtristan@sedasolubles.com] 
Sent: Thursday, April 06, 2006 6:36 AM
To: 'Tomcat Users List'
Subject: RE: Problem whith constructs of directories?

Now, i only use tomcat. I delete context from the server.xml and i work only whith CoffeeNet.xml.

Is necessary have the same structure of directories that required but the specifications?

Thank you

-----Mensaje original-----
De: Asensio, Rodrigo [mailto:rodrigo.asensio@gilbarco.com]
Enviado el: miércoles, 05 de abril de 2006 17:40
Para: Tomcat Users List
Asunto: RE: Problem whith constructs of directories?


Is your IDE or your tomcat who create the CoffeeNet.xml in the catalina/localhost ?
I recommend you use the CoffeeNet.xml in the catalina and delete the context from the server.xml

The below folders structure MUST be kept, if your tomcat do not found the web.xml into your
webapp, that context will never raise.

-----Original Message-----
From: José María Tristán [mailto:jtristan@sedasolubles.com]
Sent: Wednesday, April 05, 2006 11:35 AM
To: 'Tomcat Users List'
Subject: RE: Problem whith constructs of directories?

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:rodrigo.asensio@gilbarco.com]
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:jtristan@sedasolubles.com]
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:rodrigo.asensio@gilbarco.com]
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:jtristan@sedasolubles.com]
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:rodrigo.asensio@gilbarco.com]
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:jtristan@sedasolubles.com]
Sent: Wednesday, April 05, 2006 10:17 AM
To: users@tomcat.apache.org
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message