• Post Reply Bookmark Topic Watch Topic
  • New Topic

not able to deploy  RSS feed

 
Prashant Tiwari
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using eclipse 3.2 and jboss 4.2.1. I am not able to deploy anything on the server. It is giving following excepion when I am running my jsp on the server.

14:05:01,781 INFO [EARDeployer] Init J2EE application: file:/C:/Documents and Settings/user/Desktop/jboss-4.2.1.GA/server/default/deploy/LoginApp.ear
14:05:01,781 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Documents and Settings/user/Desktop/jboss-4.2.1.GA/server/default/deploy/LoginApp.ear
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)


I am not getting xdoclet configuration option on rt clicking my project. Please advice me what to do???
 
Ankit Garg
Sheriff
Posts: 9610
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
org.jboss.deployment.DeploymentException: No META-INF/application.xml found


This sums it up for me. Your Ear file doesn't have an application.xml file. Just check if you've not created it or if its going into the wrong folder...
 
Prashant Tiwari
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not able to make application.xml. I am not getting any direct option for deploying project. What I am doing is I am adding my project in the server through add and remove projects. Please suggest
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!