-
1. Re: Help Running Wizard-generated project as an EAR
dgolovin Jul 2, 2008 12:56 PM (in response to c0upal)what server are you using to run your application?
please, check the server console output for exceptions during application deployment. -
2. Re: Help Running Wizard-generated project as an EAR
c0upal Jul 3, 2008 10:33 AM (in response to c0upal)Hi Im using JBoss AS 4.2
I created a Seam application called MyFirstSeam. So it has 4 Project Folders: MyFirstSeam, MyFirstSeam-ear, -ejb, -test. Then I have succesffully run Seam Generate Entities, so i have Entities already.
I Right Clicked MyFirstSeam folder, and Clicked Run-As Server. No code yet. I got the error, and then looked at the console...
....DeploymentException ... cannot find .... default\deploy\MyFirstSeam-ear.ear\jboss-seam.jar.
I copied all the jar files manually from \myWorkspace\MyFirstSeam-ear\ to the deploy Folder and it worked OK.
But my question is, isn't Eclipse suppose to copy that automatically for me? -
3. Re: Help Running Wizard-generated project as an EAR
dgolovin Jul 3, 2008 12:10 PM (in response to c0upal)it is known problem, related to WTP regression in 2.0.2 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=222531.
There is a patch available to fix issue mentioned above - http://repository.jboss.org/eclipse/webtools/patches/wtp-P-P20080506003122-20080506003122.zip. -
4. Re: Help Running Wizard-generated project as an EAR
baz Jul 4, 2008 4:00 AM (in response to c0upal)I do have the same problem. The mentioned Patches are installed inside eclipse. But it does not work.
seam.jar is not deployed and -ejb.jar is not deployed -
5. Re: Help Running Wizard-generated project as an EAR
maxandersen Jul 12, 2008 12:08 PM (in response to c0upal)Are you 100% sure you got those patches in ? Your problem is exactly what the patches are fixing...
-
6. Re: Help Running Wizard-generated project as an EAR
c0upal Jul 15, 2008 10:25 AM (in response to c0upal)Hi Max,
I have applied the patch(unzipped) and even used Jboss Tools version 2.1.0-CR.
Still doesn't work. server still complains it can't find ./default/deploy/Project1-ear.ear/Project1-ejb.jar (DeploymentException) -
7. Re: Help Running Wizard-generated project as an EAR
rob.stryker Jul 15, 2008 11:45 AM (in response to c0upal)after doing a deployment, please open a console of some sort and get a recursive file listing of your-jboss-server/default/deploy/Project1-ear.ear.
Is the ejb jar there at all? Or is it missing?
If it is there, then there is a race condition where the server is reading before the entire ear is coppied. If it is not there, then it is not copying the file.
Another idea: In the server's view or jboss server's view, when you right-click on the server and select add / remove modules, if you expand the EAR project inside that wizard, is the ejb project listed under it?