-
1. Re: no Application.xml found exception
jaikiran Jul 16, 2005 4:41 AM (in response to shankar_rao)Not sure about the command. Open the .ear file that gets created and see if there is a application.xml file in the META-INF directory
-
2. Re: no Application.xml found exception
shankar_rao Jul 16, 2005 4:49 AM (in response to shankar_rao)there is application.xml in META/INF directory ,event then i am getting the Exception...... ,
Is this any way related to manifest.mf file ,should there be any entry i that file..... -
3. Re: no Application.xml found exception
shankar_rao Jul 16, 2005 4:50 AM (in response to shankar_rao)there is application.xml in META/INF directory ,event then i am getting the Exception...... ,
Is this any way related to manifest.mf file ,should there be any entry i that file..... -
4. Re: no Application.xml found exception
jaikiran Jul 16, 2005 7:03 AM (in response to shankar_rao)Its NOT related to the manifest.mf file. Please post your server log
-
5. Re: no Application.xml found exception
shankar_rao Jul 16, 2005 7:18 AM (in response to shankar_rao)this is my Server Console exception when i deply my ear file, even though i have application.xml in META-INF Directory..........pls give me solution
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:63)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:728)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:663)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:168)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:303)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:477)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
92)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:168)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:828)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:360)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:168)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:253)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:864)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:673)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:168)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:144)
at org.jboss.Main$1.run(Main.java:389)
at java.lang.Thread.run(Thread.java:536)
16:50:36,663 ERROR [URLDeploymentScanner] MBeanException: null
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@712260b8 { url=file:/D:/jboss-4.0/server/de
fault/deploy/scl.ear }
deployer: org.jboss.deployment.EARDeployer@15983b7
status: null
state: FAILED
watch: file:/D:/jboss-4.0/server/default/deploy/scl.ear
lastDeployed: 1121512836553
lastModified: 1121512836538
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans: -
6. Re: no Application.xml found exception
jaikiran Jul 16, 2005 7:36 AM (in response to shankar_rao)After having a look at your first post, i guess, your META-INF folder and subsequently application.xml file is getting created in :
scl.ear/src/META-INF/application.xml
Ideally, the META-INF folder should be inside scl.ear and subsequently the application.xml file should be under this META-INF folder.
PLease make sure that your deploy directory has the following structure:
scl.ear/META-INF/application.xml
I guess, you will have to make change to the last line of jar command as follows:
src/META-INF/application.xml needs to be changed to META-INF/application.xml
See if this works -
7. Re: no Application.xml found exception
darranl Jul 16, 2005 8:09 AM (in response to shankar_rao)The application.xml is in the wrong location, you need to remove the src from the path so that it is in 'META-INF/application.xml' not 'src/META-INF/application.xml' this will solve your problem.
-
8. Re: no Application.xml found exception
shankar_rao Jul 16, 2005 8:15 AM (in response to shankar_rao)Thanks jaikiran, that problme is solved, actually the application.xml is in meta-inf which was case sensitive which so we changed to Caps
-
9. Re: no Application.xml found exception
darranl Jul 16, 2005 8:16 AM (in response to shankar_rao)"jaikiran" wrote:
Not sure about the command.
The command 'jar -tf ArchiveName' gives you a listing of the contents of an archive without changing the case of any of the folder names. -
10. Re: no Application.xml found exception
shankar_rao Jul 16, 2005 9:08 AM (in response to shankar_rao)sir,
I deployed my ear and it successfully deplyed , but when i am trying to request the appliction , it is saying the request resource not available..and on the server console no exception is thrown......
does i need to create any other .xml files other than
ejb-jar.
jboss.
web-xml. -
11. Re: no Application.xml found exception
shankar_rao Jul 16, 2005 9:09 AM (in response to shankar_rao)sir,
I deployed my ear and it successfully deplyed , but when i am trying to request the appliction , it is saying the request resource not available..and on the server console no exception is thrown......
does i need to create any other .xml files other than
ejb-jar.
jboss.
web-xml. -
12. Re: no Application.xml found exception
jaikiran Jul 16, 2005 10:49 AM (in response to shankar_rao)The command 'jar -tf ArchiveName' gives you a listing of the contents of an archive without changing the case of any of the folder names.
Thanks darranl for explaining the command :-) -
13. Re: no Application.xml found exception
darranl Jul 16, 2005 1:55 PM (in response to shankar_rao)shankar_rao,
Could you post the contents of the application.xml wrap it in [ code ][ /code ] tags without the spaces and use the preview button to make sure that it displays correctly.
Also what is the URL you are trying to use to access the application? -
14. Re: no Application.xml found exception
shankar_rao Jul 18, 2005 1:16 AM (in response to shankar_rao)sir,
while deploying my ear file in jboss Application server , i got this exception.
10:42:52,734 WARN [verifier] EJB spec violation:
Bean : EmpDetail
Section: 22.2
10:42:52,749 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-4.
0/server/default/tmp/deploy/tmp40250scl.ear-contents/scl.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
d, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:499)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:810)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:672)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.
java:74)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:168)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469)
ejb-jar.xml<ejb-jar> <enterprise-beans> <session> <description>session Bean ( Stateless )</description> <display-name>OfficeRelated</display-name> <ejb-name>BPSOfficeRelated</ejb-name> <home>com.spry.bps.masters.session.OfficeRelatedHome</home> <remote>com.spry.bps.masters.session.OfficeRelated</remote> <ejb-class>com.spry.bps.masters.session.impl.OfficeRelatedBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> </session> <session> <description>Session Bean ( Stateless )</description> <display-name>GenMaster</display-name> <ejb-name>GenMaster</ejb-name> <home>com.spry.bps.masters.session.GenMasterHome</home> <remote>com.spry.bps.masters.session.GenMaster</remote> <ejb-class>com.spry.bps.masters.session.impl.GenMasterBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> </session> <session> <description>Session Bean ( Stateless )</description> <display-name>vehicleMaster</display-name> <ejb-name>vehicleMaster</ejb-name> <home>com.spry.bps.masters.session.vehicleMasterHome</home> <remote>com.spry.bps.masters.session.vehicleMaster</remote> <ejb-class>com.spry.bps.masters.session.impl.vehicleMasterBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> </session> </ejb-jar> </enterprise-beans>
jboss.xml<jboss> <session> <ejb-name>GenMaster</ejb-name> <jndi-name>com/spry/bps/masters/session/GenMaster</jndi-name> </session> <session> <ejb-name>vehicleMaster</ejb-name> <jndi-name>vehicleMaster</jndi-name> </session> <session> <ejb-name>EmpDetail</ejb-name> <jndi-name>com/spry/bps/masters/session/EmpDetail</jndi-name> </session> <session> <ejb-name>Billing</ejb-name> <jndi-name>com/spry/bps/masters/session/Billing</jndi-name> </session> <session> <ejb-name>spareConsumable</ejb-name> <jndi-name>com/spry/bps/masters/session/spareConsumable</jndi-name> </session> <session> <ejb-name>SupplierMasterCreationEJB</ejb-name> <jndi-name>com/spry/bps/masters/session/SupplierMasterCreationEJB</jndi-name> </session> <session> <ejb-name>ServiceDetails</ejb-name> <jndi-name>com/spry/bps/masters/session/impl/ServiceDetails</jndi-name> </session> </jboss>