For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 2 voices, and was last updated 20 years, 3 months ago by
Riyad Kalla.
-
AuthorPosts
-
urswagMemberCannot deploy ear file. I have created
I have created the Enterprise Application Project with a Web and EJB module. This is the result what I get
when I deploy with JBoss.00:22:12,562 INFO [EARDeployer] Init J2EE application: file:/C:/Programme/JBoss/server/default/deploy/webtrade.ear/
00:22:12,562 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Programme/JBoss/server/default/deploy/webtrade.ear/
org.jboss.deployment.DeploymentException: url file:/C:/Programme/JBoss/server/default/deploy/webtrade.ear/webtradeEJB.jar could not be opened, does it exist?
at org.jboss.deployment.DeploymentInfo.<init>(DeploymentInfo.java:211)
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:250)
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.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)April 25, 2006 at 10:21 am #251074
Riyad KallaMemberC:/Programme/JBoss/server/default/deploy/webtrade.ear/webtradeEJB.jar
Does this file exist? Can you open it with WinZip or any equivalent archive utility?
April 27, 2006 at 7:38 am #251235
urswagMemberThis is the point
I have this deployment directory.C:\Programme\JBoss\server\default\deploy\webtrade.ear
But inside I have only the war deploy directory
C:\Programme\JBoss\server\default\deploy\webtrade.ear\webtradeWeb.war
There is no directory
C:\Programme\JBoss\server\default\deploy\webtrade.ear\webtradeEJB.jar
Although I have alle three eclipse projects webtrade, webtradeEJB and webtradeWeb
April 27, 2006 at 9:54 am #251248
Riyad KallaMemberIf you open the Add/Remove Modules setting for your Enterprise PRoject, does it show all your modules correctly? If you close that and open your application.xml file, what are the contents, can you paste them here for me?
April 29, 2006 at 10:20 am #251369
urswagMemberYes both modules are installed.
<?xml version=”1.0″ encoding=”UTF-8″?>
<application xmlns=”http://java.sun.com/xml/ns/j2ee” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” version=”1.4″ xsi:schemaLocation=”http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd”>
<display-name>webtrade</display-name>
<module id=”myeclipse.1145915805281″>
<web>
<web-uri>webtradeWeb.war</web-uri>
<context-root>/webtradeWeb</context-root>
</web>
</module>
<module id=”myeclipse.1145915805437″>
<ejb>webtradeEJB.jar</ejb>
</module>
</application>April 29, 2006 at 1:21 pm #251374
Riyad KallaMemberCan you export all 3 projects (select all 3, right click and do Export) to a archive for me and send me the file at support@genuitec.com ATTN Riyad with a link to this thread so I know why I’m getting the file. I’ll take a look.
April 30, 2006 at 2:44 pm #251410
Riyad KallaMemberI received your test case, I imported all three projects and immediately created a deployment to JBoss 4 and everything worked fine, please see attached screenshot:

This could be an install problem on your end, have you tried a new workspace with a new EAR/EJB/WEB project? (File > Switch Workspace > C:\tempworkspace, hit OK, then create your new EAR project with the two other modules and immediately deploy it).
-
AuthorPosts
