tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hans.ma...@magnasteyr.com>
Subject AW: How to avoide delete context.xml - 6.0.14
Date Tue, 07 Aug 2007 06:06:42 GMT
that's in the log.

I am wondering about the 
<
Missing application web.xml, ...
>

statement.

I played with the context's docBase attribute, but with no success.
(this context.xml placed in META-INF contains no docBase)

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/xjosf">
	<!-- -->
	<Resource name="jdbc/stdStruts"
		type="javax.sql.DataSource"
		auth="Container"
		validationQuery="select count(sysdate)from dual"
		maxWait="30001"
		maxActive="2"
		password=
		url=
		driverClassName="oracle.jdbc.driver.OracleDriver"
		maxIdle="2"
		username=
	/>



	<Ejb name="ejb/Portal"
		type="Session"
		home="uiportal.ejb.session.PortalHome"
		remote="uiportal.ejb.session.Portal"
		java.naming.provider.url=
		java.naming.factory.initial="org.jboss.naming.HttpNamingContextFactory"
		factory="com.amity.utils.tomcat.EJBRefFactory"
		java.naming.factory.url.pkgs="org.jboss.naming:org.jnp.interfaces"
		jndi-name="ejb/Portal"
	/>


	<ResourceLink global="mailserver1.port" name="mailserver1.port" type="java.lang.String"/>
	<ResourceLink global="reportserver1.url" name="reportserver1.url" type="java.lang.String"/>
	<ResourceLink global="filedownload.app1.url" name="filedownload.app1.url" type="java.lang.String"/>
	<ResourceLink global="log4jserver.name" name="log4jserver.name" type="java.lang.String"/>
	<ResourceLink global="mailserver1" name="mailserver1" type="java.lang.String"/>
	<ResourceLink global="fileupload.app1.url" name="fileupload.app1.url" type="java.lang.String"/>

</Context>


Hans.



FEIN: ======================
07.08.2007 07:40:59 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/xjosf]
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig stop
FEIN: ContextConfig: Processing STOP
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig destroy
FEIN: Cannot find message associated with key contextConfig.destroy
07.08.2007 07:40:59 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xjosf.war
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig init
FEIN: ContextConfig: Initializing
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14 conf/context.xml
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file C:\Tomcat-6.0.14 conf/context.xml
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14\conf Catalina/localhost/context.xml.default
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14\conf\Catalina\localhost\xjosf.xml
null
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file C:\Tomcat-6.0.14\conf\Catalina\localhost\xjosf.xml
null
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN: ContextConfig: Processing START
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig processDefaultWebConfig
FEIN: Processing context [/xjosf] web configuration resource file://C:\Tomcat-6.0.14\conf\web.xml
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig applicationWebConfig
FEIN: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xjosf]
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN: Pipeline Configuration:
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN:   org.apache.catalina.core.StandardContextValve/1.0
07.08.2007 07:40:59 org.apache.catalina.startup.ContextConfig start
FEIN: ======================

-----Urspr√ľngliche Nachricht-----
Von: Hassan Schroeder [mailto:hassan.schroeder@gmail.com]
Gesendet: Montag, 06. August 2007 15:57
An: Tomcat Users List
Betreff: Re: How to avoide delete context.xml - 6.0.14


On 8/6/07, hans.mader@magnasteyr.com <hans.mader@magnasteyr.com> wrote:

> The first time of deployment, it works fine (ant based file copy to webapps)!
>
> The second time the server seems to deploy but the context isn't to be started again...

Because? What's in your logs?

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org






Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten bestimmt und enthaelt
moeglicherweise vertrauliche Informationen. Sollten Sie nicht der oben bezeichnete Adressat
sein oder diese Nachricht irrtuemlich erhalten haben, ersuchen wir Sie, diese Nachricht nicht
weiterzugeben, zu kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu verstaendigen
und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. Vielen Dank. 

This message is intended only for use by the named addressee and may contain privileged and/or
confidential information. If you are not the named addressee, you should not disseminate,
copy, or take any action in reliance on it. If you have received this message in error, please
immediately notify the sender of this message and delete this message and any attachment.
Thank you.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message