[jboss-user] [Beginners Corner] - Re: Application Error - Resource not Found

shawn.geraghty do-not-reply at jboss.com
Mon Aug 4 13:56:40 EDT 2008


Here is the application.xml file:


  | <?xml version="1.0"  encoding="UTF-8"?>
  | 
  | <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
  | 
  | <application>
  | 	<display-name>TrufinaCSA</display-name>
  | 	<module>
  | 		<web>
  | 		      <web-uri>csa.war</web-uri>
  | 		      <context-root>turtle</context-root>
  | 		</web>
  | 	</module>
  | </application>
  | 

Here is the jboss-app.xml file:


  | <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!--
  |     Document   : jboss-app.xml
  |     Created on : April 11, 2005, 1:27 PM
  |     Author     : Administrator
  |     Description:
  |         Purpose of the document follows.
  | -->
  | 
  | <jboss-app> 
  |     <loader-repository>www.trufina.com:loader=csa-turtle</loader-repository>
  | </jboss-app>
  | 

And here is the jboss-web.xml file:


  | <jboss-web>
  | <security-domain>java:/jaas/mytrufina_TrufinaDev</security-domain>
  | </jboss-web>


And here is the ls of the deploy directory:


  | rw-r--r--@  1 slegg  slegg      2048 Oct 14  2004 cache-invalidation-service.xml
  | -rw-r--r--@  1 slegg  slegg      1481 Oct 14  2004 client-deployer-service.xml
  | -rw-r--r--   1 slegg  slegg   9475965 Aug  1 18:11 csa-turtle.ear
  | -rw-r--r--@  1 slegg  slegg       384 Oct 14  2004 hibernate-deployer-service.xml
  | -rw-r--r--@  1 slegg  slegg      4486 Oct 14  2004 hsqldb-ds.xml
  | drwxr-xr-x@  4 slegg  slegg       136 Oct 14  2004 http-invoker.sar
  | -rw-r--r--@  1 slegg  slegg    123001 Oct 14  2004 jboss-jca.sar
  | -rw-r--r--@  1 slegg  slegg      6735 Oct 14  2004 jboss-local-jdbc.rar
  | -rw-r--r--@  1 slegg  slegg     12307 Oct 14  2004 jboss-xa-jdbc.rar
  | drwxr-xr-x@ 33 slegg  slegg      1122 Jun 16 19:50 jbossweb-tomcat50.sar
  | drwxr-xr-x@ 11 slegg  slegg       374 Jun 16 19:50 jms
  | drwxr-xr-x@ 11 slegg  slegg       374 Aug  1 18:10 jmx-console.war
  | drwxr-xr-x@  3 slegg  slegg       102 Oct 14  2004 jmx-invoker-adaptor-server.sar
  | -rw-r--r--@  1 slegg  slegg      1580 Oct 14  2004 mail-service.xml
  | drwxr-xr-x@  4 slegg  slegg       136 Oct 14  2004 management
  | -rw-r--r--@  1 slegg  slegg      4025 Oct 14  2004 monitoring-service.xml
  | -rw-r--r--@  1 slegg  slegg      1830 Oct 14  2004 properties-service.xml
  | -rw-r--r--@  1 slegg  slegg      3906 Oct 14  2004 schedule-manager-service.xml
  | -rw-r--r--@  1 slegg  slegg      1784 Oct 14  2004 scheduler-service.xml
  | -rw-r--r--@  1 slegg  slegg       198 Oct 14  2004 sqlexception-service.xml
  | -rw-r--r--@  1 slegg  slegg      1348 Oct 14  2004 transaction-service.xml
  | -rw-r--r--   1 slegg  slegg       704 Jul 29 14:39 trufina_TrufinaDev-ds.xml
  | -rw-r--r--   1 slegg  slegg  10827882 Jul 29 14:39 turtle-turtle.ear
  | -rw-r--r--@  1 slegg  slegg      1103 Oct 14  2004 user-service.xml
  | -rw-r--r--@  1 slegg  slegg      5405 Oct 14  2004 uuid-key-generator.sar
  | 

And yes, the csa.war file is contained within the csa-turtle.ear file.  

So, from the application.xml file, I see the context-root is "turtle".  Now in our QA, staging, and production environments, context-root is set to "latest", "stage", and "prod".  I would assume that I have this incorrectly set here .... it should be something other than "turtle".  Is this why my turtle app is getting hosed?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4168549#4168549

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4168549



More information about the jboss-user mailing list