Hi All...
I am having trouble getting a .WAR to deploy using the jBoss 2.0 FINAL and
Tomcat bundle. I'm running under JDK 1.3 on Windows 2000.
I have read the posts in the mail archive about the DOCTYPE and / before
the context root in the descriptor. I have commented out the DOCTYPE and
tried the servlet class with and without the / character.
It seems that no matter what I try in this web.xml file, I get the same
error, pasted below.
Any suggestions would be greatly appreciated!
Thanks!
Jim
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
-->
<web-app>
<display-name>Sample EJB 2.0 CMP DO Application</display-name>
<servlet>
<!-- <servlet-name>Test20CmpDoOM-Go</servlet-name> -->
<servlet-name>Go</servlet-name>
<servlet-class>/Test20CmpDoOM.servlet.Go</servlet-name>
</servlet>
<!--
<servlet-mapping>
<servlet-name>Test20CmpDoOM-Go</servlet-name>
<url-pattern>/Test20DoOM</url-pattern>
</servlet-mapping>
<ejb-ref>
<ejb-ref-name>ejb/PersonHome</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>Test20CmpDoOM.eb.PersonHome</home>
<remote>Test20CmpDoOM.eb.Person</remote>
</ejb-ref>
-->
</web-app>
[Auto deploy] Auto deploy of
file:/C:/jbt/jboss_tomcat/jboss-2.0-FINAL/deploy/Sa
mple20EbDoOM-ver001a-web.war
[J2EE Deployer] Deploy J2EE application:
file:/C:/jbt/jboss_tomcat/jboss-2.0-FIN
AL/deploy/Sample20EbDoOM-ver001a-web.war
[J2EE Deployer] Could not delete temporary file:
/C:/jbt/jboss_tomcat/jboss-2.0-
FINAL/bin/../tmp/deploy/copy1005.zip
[J2EE Deployer] Destroying application Sample20EbDoOM-ver001a-web.war
[J2EE Deployer] deployment.cfg file deleted.
[J2EE Deployer] File tree
file:/C:/jbt/jboss_tomcat/jboss-2.0-FINAL/tmp/deploy/S
ample20EbDoOM-ver001a-web.war deleted.
[Auto deploy] Deployment
failed:file:/C:/jbt/jboss_tomcat/jboss-2.0-FINAL/deploy
/Sample20EbDoOM-ver001a-web.war
[Auto deploy] org.jboss.deployment.J2eeDeploymentException: No valid
deployment
descriptor was found within this URL:
file:/C:/jbt/jboss_tomcat/jboss-2.0-FINAL/
deploy/Sample20EbDoOM-ver001a-web.war
[Auto deploy] Make sure it points to a valid j2ee package
(ejb.jar/web.war/app.e
ar)!
[Auto deploy] at
org.jboss.deployment.J2eeDeployer.installApplication(J2eeDepl
oyer.java:403)
[Auto deploy] at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:13
6)
[Auto deploy] at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
.java:1628)
[Auto deploy] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl
********************************************
I shall be telling this with a sigh
Somewhere ages and ages hence:
Two roads diverged in a wood, and I -
I took the one less traveled by,
And that has made all the difference.
- Robert Frost, 1916
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]