Dear all,

I was trying to deploy petstore on jboss but there are still problems I can't
figure out using the documentation I found or the previous threads on the
mailing-list.

So here's a more detailed description:

I've installed a "2.1-pre binary of jboss combined with tomcat" (since for some
reason the "2.0-FINAL binary combined with tomcat" download did not work) on
Windows NT with JDK1.3. This works fine with the tomcat-test application
provided.

I was able to build the original petstore1.1.1, so I tried next with the
jboss-ptch. I was only able to build petstore with the jboss-patch after
1) changing the build.xml [because of a hard-coded jboss.home]
2) commenting the "org.jboss.security..."-classes in JBossSecurityAdapter.java
[? for some reason unknown to me those classes are not available in my build. I
neglected that security-issue (and I should add also any DB-related issues) for
now - my plan is to get petstore deployed/accessable by Tomcat and deal with
that later]

The result petstore.ear cannot be deployed. Trying to deploy all .jar/.war files
separately, I'm stuck with the petstore.war file now [another .jar-file had a
incorrect .xml file first somewhere, the deployer stating too much
<env-entry-value> tags, so I corrected that manually]. The error message of the
deployer is as follows

[J2EE Deployer] File tree
file:/E:/UserApps/jboss_tomcat/jboss-2.0-FINAL/tmp/deploy/petstore.war deleted.
[Auto deploy] Deployment
failed:file:/E:/UserApps/jboss_tomcat/jboss-2.0-FINAL/deploy/petstore.war
[Auto deploy] org.jboss.deployment.J2eeDeploymentException: No valid deployment
descriptor was found within this URL:
file:/E:/UserApps/jboss_tomcat/jboss-2.0-FINAL/deploy/petstore.war
[Auto deploy] Make sure it points to a valid j2ee package
(ejb.jar/web.war/app.ear)!
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:403)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:136)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   etc.

WEB-INF/web.xml and WEB-INF/jboss-web.xml are existing. What deployment
descriptor is expected for this .war-file?

Could someone please help me on that? Thanks.

Regards
Joerg




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to