I tried in sequence these operations:
=======================================================================
1) with the file examples-war ... and it doesn't works
I simply copied it in the deploy directory of JBoss, I have these result.
The line that says
[J2EE Deployer] Destroying application examples.war
show that this is not correct
[Auto deploy] Starting
[Auto deploy] Auto deploy of
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/tomcat-test.ear
[J2EE Deployer] Deploy J2EE application:
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/tomcat-test.ear
[J2EE Deployer] Could not delete temporary file:
/C:/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/copy1001.zip
[J2EE Deployer] Create application tomcat-test.ear
[J2EE Deployer] Installing web package: tomcat-test.war
[J2EE Deployer] Installing EJB package: tomcat-test.jar
[J2EE Deployer] Starting module tomcat-test.jar
[Container factory]
Deploying:file:/C:/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/tomcat-test.ear/ejb1004.jar
[Verifier] Verifying
file:/C:/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/tomcat-test.ear/ejb1004.jar
[Container factory] Deploying Optimized
[Container factory] Deploying NonOptimized
[Container factory] Deployed application:
file:/C:/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/tomcat-test.ear/ejb1004.jar
[J2EE Deployer] Starting module tomcat-test.war
[EmbeddedTomcat] ContextManager: Adding context Ctx( /jboss )
[J2EE Deployer] J2EE application:
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/tomcat-test.ear is deployed.
[Auto deploy] Auto deploy of
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.war
[J2EE Deployer] Deploy J2EE application:
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.war
[J2EE Deployer] Could not delete temporary file:
/C:/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/copy1005.zip
[J2EE Deployer] Destroying application examples.war
[J2EE Deployer] deployment.cfg file deleted.
[J2EE Deployer] File tree
file:/C:/jboss_tomcat/jboss-2.0-FINAL/tmp/deploy/examples.war deleted.
[Auto deploy] Started
=======================================================================
2) with the J2EE deploytool I created am examples.ear containing only the
examples.war archive,
then I copied it again in the deploy directory of JBoss, I have these result.
[Auto deploy] Auto deploy of
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.ear
[J2EE Deployer] Deploy J2EE application:
file:/C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.ear
[J2EE Deployer] Could not delete temporary file:
/C:/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/copy1005.zip
[J2EE Deployer] Destroying application examples.ear
[J2EE Deployer] deployment.cfg file deleted.
[J2EE Deployer] File tree
file:/C:/jboss_tomcat/jboss-2.0-FINAL/tmp/deploy/examples.ear deleted.
=======================================================================
3) At last, following the instructions on
ejboss.org/business/jboss-tomcat.html I realize I should use a
Deployer Service, you can found it at http://127.0.0.1:8082/
I inserted the path of my examples.ear file
file:C:\jboss_tomcat\jboss-2.0-FINAL\deploy\examples.ear
(those created with the J2EE deploytool) and I get this error
472 MBean Failure
The MBean [J2EE:service=J2eeDeployer] throws an MBeanException when calling
[deploy]:
org.jboss.deployment.J2eeDeploymentException: No valid deployment
descriptor was found within this URL:
file:C:/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.ear
Make sure it points to a valid j2ee package (ejb.jar/web.war/app.ear)!
So ...
1) I am not able to see what's inside the file application.xml since the
J2EE deploytool creates it automatically
2) I don't know how to check if that examples.ear file is valid, I only
know it contains an examples.war file
What more?
Hope it helps,
Thks for tips to complete this ear deploying operation??
Leonardo
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]