Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsBas EAR generated by Eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/70707/221214/#msg_221214
installation. It is a very simple (my first) application and everything
seems to be in place as expected from an ear except for the
application.xml file. I am getting the following error on the server:
19:53:34,297 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
http-127.0.0.1-8080
19:53:34,329 INFO [AjpProtocol] Starting Coyote AJP/1.3 on
ajp-127.0.0.1-8009
19:53:34,342 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build:
SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 29s:708ms
17:32:08,053 INFO [EARDeployer] Init J2EE application:
file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProjec t.ear
17:32:08,485 ERROR [MainDeployer] Could not initialise deployment:
file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProjec t.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:8 09)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:7 82)
at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
which seems to be justified since the directory structure I see in the ear
file is the following:
What am I missing? Why isn't the application.xml file generated. I guess I
can generate it manually but that's not the point. Can anybody help please?
Thanks.
Dan]]>dan man2008-09-10T15:43:22-00:00Re: Bas EAR generated by Eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/70707/221253/#msg_221253
The Java EE 5 specification makes the deployment descriptor xml files
optional. This is why your EAR 5 project is created without application.xml
by default.
For some reason JBoss requires the application.xml file to be available. You
can create one for your EAR project by right-clicking > Java EE Tools >
Generate Deployment Descriptor Stub.
Greetings, Kaloyan
"dan man" <acasaman-a@yahoo.com> wrote in message
news:6d0e04eaf5133e3d8e100b3a57924ef1$1@www.eclipse.org...
>I am using Eclipse 3.4.0 to generate an EAR for a jboss-4.2.3.GA
>installation. It is a very simple (my first) application and everything
>seems to be in place as expected from an ear except for the application.xml
>file. I am getting the following error on the server:
>
> 19:53:34,297 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on
> http-127.0.0.1-8080
> 19:53:34,329 INFO [AjpProtocol] Starting Coyote AJP/1.3 on
> ajp-127.0.0.1-8009
> 19:53:34,342 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build:
> SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 29s:708ms
> 17:32:08,053 INFO [EARDeployer] Init J2EE application:
> file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProjec t.ear
> 17:32:08,485 ERROR [MainDeployer] Could not initialise deployment:
> file:/C:/jboss-4.2.3.GA/server/jms/deploy/myEnterpriseProjec t.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:8 09)
> at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:7 82)
> at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
>
> which seems to be justified since the directory structure I see in the ear
> file is the following:
>
> META-INF/MANIFEST.MF
> myEjbProject.jar
> myEjbProjectClient.jar
> myDynamicWebProject.war
>
> What am I missing? Why isn't the application.xml file generated. I guess I
> can generate it manually but that's not the point. Can anybody help
> please?
> Thanks.
>
> Dan
>
>]]>Kaloyan Raev2008-09-11T18:55:23-00:00Re: Bas EAR generated by Eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/70707/221268/#msg_221268
The Generate Deployment Descriptor Stub command for the EJB project is
greyed out though.]]>dan man2008-09-11T21:24:16-00:00Re: Bas EAR generated by Eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/70707/221286/#msg_221286
for an ejb-jar.xml file.
"dan man" <acasaman-a@yahoo.com> wrote in message
news:7d854a2ca2b5b3113ead644aa5f3bab6$1@www.eclipse.org...
> Thank you for the tip.
> The Generate Deployment Descriptor Stub command for the EJB project is
> greyed out though.
>]]>Kaloyan Raev2008-09-12T07:30:29-00:00Re: Bas EAR generated by Eclipse?
https://www.eclipse.org/forums/index.php/mv/msg/70707/221334/#msg_221334
dan man2008-09-12T21:50:32-00:00