Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
JSP - A mailing list about Java Server Pages specification and reference
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Servlet : Session invalidate
Oracle Connection Pooling in 3 2 2
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Running a Simple JMS Example
Tomcat and webapplication specific java library path
Mapping in workers2 properties
org apache jasper JasperException
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action
   MESSAGE
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
Value attribute of <html:checkbox
url string for connecting jboss to oracle
javax servlet ServletException: BeanUtils populate
5 0 18: Windows XP Pro vs Windows 2000
HTTP Status 404 The requested resource is not available
 
Re-Deployment Problem - 6.0.14

Re-Deployment Problem - 6.0.14

2007-08-07       - By hans.mader@(protected)

 Back
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 (See http://UTF-8.ora-code.com)"?>
<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 (See http://cat-6.ora-code.com).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 (See http://cat-6.ora-code.com).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 (See http://cat-6.ora-code.com).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 (See http://cat-6.ora-code.com).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 (See http://cat-6.ora-code.com).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 (See http://cat-6.ora-code.com)
.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@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.