tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <hans.ma...@magnasteyr.com>
Subject Re-Deployment Problem - 6.0.14
Date Tue, 07 Aug 2007 08:27:23 GMT
Hi all,

I am not able to redeploy an application.
I used the deployment manager ANT tasks, or simply filecopy to /webapps.

I opened a thread before called "How to avoide delete context.xml - 6.0.14"
but this behaviour looks like standard, I guess.

The first deployment always works pretty fine,
the second doesn't.

After the 2nd deployment the context is marked as running,
but I am getting a "HTTP Status 404 - /xjosf/" response!

I would really appreciate any help or at least the info wether 
that is a known bug or not. Thanks a lot!!

My /META-INF/context.xml:
==========================================
<?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>


The catalina*.log:
==============================================================================
07.08.2007 10:13:21 org.apache.catalina.startup.ContextConfig stop
FEIN: ContextConfig: Processing STOP
07.08.2007 10:13:21 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/xjosf]
07.08.2007 10:13:21 org.apache.catalina.startup.ContextConfig destroy
FEIN: Cannot find message associated with key contextConfig.destroy
07.08.2007 10:13:23 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive xjosf.war
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig init
FEIN: ContextConfig: Initializing
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig processContextConfig
FEIN: Processing context [/xjosf] configuration file C:\Tomcat-6.0.14 conf/context.xml
07.08.2007 10:13:23 org.apache.catalina.startup.ContextConfig processContextConfig
FEIN: Successfully processed context [/xjosf] configuration file C:\Tomcat-6.0.14 conf/context.xml
07.08.2007 10:13:23 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 10:13:23 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 10:13:23 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 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN: ContextConfig: Processing START
07.08.2007 10:13:24 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 10:13:24 org.apache.catalina.startup.ContextConfig applicationWebConfig
FEIN: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xjosf]
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN: Pipeline Configuration:
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN:   org.apache.catalina.core.StandardContextValve/1.0
07.08.2007 10:13:24 org.apache.catalina.startup.ContextConfig start
FEIN: ======================


Regards, Hans.



























































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