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
 
-none-

-none-

2007-10-04       - By David Smith

 Back
Webapp load order is indeed pretty much by chance.  No guarantee has
ever been made regarding any start order.  I would recommend you add
code to  app1 so it can gracefully deal with the chance app2 is not
available.

--David

King, Sean wrote:

> Hi all,
>
>I have two webapps that need to interact with each other. One is a fully
>expanded webapp ( app1 ) and the other is expanded from a war file (
>app2.war ).
>
>For the application to run correctly, app2 must be deployed and start
>before app1. Using tomcat 5 this does not seem to be a problem. When I
>start tomcat, app2 is deployed and then app1 starts and is able to
>access jars in app2. I am hoping that this start order is not just pure
>chance!!
>
>I am now trying to port the application back to tomcat 4. Unfortunately
>I am consistently seeing that app1 starts first and then app2 is
>deployed from the war. Since app1 depends on app2 this is a major
>problem.
>
>Is there any way in tomcat 4 to force the war file to be deployed first?
>
>Any help would be greatly appreciated.
>
>Regards.
>
>Sean King
>Computer Associates
>Software Engineer
>Tel: +1 603 334 2168
>Fax: +1 603 334 2934
>sean.king@(protected)
>
>
>
>  
>


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)