Hi,
I am trying to run a simple EJB 3.0 application in JBOSS. I am using 4.0.4RC1.
When I deploy the application, the error I am getting is:
13:00:05,906 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jbos
s404/server/default/deploy/tpcc-ea.ear
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:133)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:334)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:522)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:207)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:218)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:197)
It seems that the deployer expects an application.xml file, but my
understanding is that this file is no longer mandatory. The deployer should be
able to figure out the EJB/WEB modules by examining the EAR file contents.
For info, my EAR file contains:
C:\prj\tpcc-ea\dist>jar tvf tpcc-ea.ear
0 Thu Mar 09 12:49:24 GMT 2006 META-INF/
106 Thu Mar 09 12:49:22 GMT 2006 META-INF/MANIFEST.MF
0 Thu Mar 09 12:49:24 GMT 2006 lib/
13768 Thu Mar 09 12:49:24 GMT 2006 lib/tpcc-persist.jar
13411 Thu Mar 09 12:49:24 GMT 2006 tpcc-session.jar
14264 Thu Mar 09 12:49:24 GMT 2006 tpcc-web.war
I have tested this application under Glassfish. The application does not
contain any container/vendor specific files.
The source for this sample application can be found at:
https://ejb3demo.dev.java.net/
I am very keen to make this sample application work under JBOSS and would
welcome any developers who would like to assist me with this task.
Thanks and Regards
Dibyendu
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929046#3929046
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929046
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user