- This topic has 20 replies, 2 voices, and was last updated 18 years ago by Anthony Estelita.
-
AuthorPosts
-
Anthony EstelitaMemberI was finally able to install eclipse 3.2.0 and myEclipse 5.0.1 and it still happens. 🙁 I am not sure what else to try. 🙁 I ran the same test I did earlier (so I can give you a Stack trace that you can share with your developers). Here is what I did:
1. Issue the re-deploy command in Eclipse
2. Before the re-deploy is complete explore the file system and set the permissions on the application.xml file to read only
3. The following stack trace would be in the Error Log:java.io.FileNotFoundException: c:\bea\user_projects\domains\m4\applications\concorde.ear\META-INF\application.xml (Access is denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at java.io.FileWriter.<init>(FileWriter.java:73) at com.genuitec.eclipse.ast.deploy.core.EARDeployment.ā(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.EARDeployment.updateDeploymentDescriptorIfNeeded(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.EARDeployment.resyncAll(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.EARDeployment.deployAsExplodedArchive(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.Deployment.deploy(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.Deployment.redeploy(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.redeployProject(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.Ă(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$3(Unknown Source) at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$6.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
And just to give you a recap of the issue (since it has been a while) 🙂 :
1. I have the following workspace
EAR project
– META-INF
—- lib
—- application.xml
– ThirdPartyFile_EJB.jar
– ThirdPartyFile.warWAR project
-src
-WebRootEJB project
– src
– classes
—- META-INF
——– ejb-jar.xml
——– weblogic-ejb-jar.xmlJAVA project
– src2. To deploy the ThirdPartyFile_EJB.jar and the ThirdPartyFile.war files in my EAR Project I have the following lines in the application.xml file
<module> [b]<ejb>ThirdPartyFile_EJB.jar</ejb>[/b] </module> <module> <web> <web-uri>ThirdPartyFile.war</web-uri> <context-root>/ThirdPartyWar</context-root> </web> </module>
3. After doing a re-deploy the application.xml file would get changed to the following
<module> <ejb>ThirdPartyFile_EJB</ejb> <!----- NOTE THE MISSING .EJB FILE EXTENSION ---> </module> <module> <web> <web-uri>ThirdPartyFile.war</web-uri> <context-root>/ThirdPartyWar</context-root> </web> </module>
3. Problem: After the redeploy the application.xml file is missing the .JAR file extension on the ThirdPartyFile_EJB.jar file.
4. And yes I do have the following checked in my EAR project “Do not modify ‘application.xml’ (I will manually manage it)”Hopefully the stack trace can help your developer figure out what is causing this.
Greatly appreciated,
Anthony
Riyad KallaMemberOh no… I was so happy when I didn’t hear back from you as I thought it was fixed.
Can you export your entire EAR and all it’s modules to an Archive and share it with me? I want to see exactly what you are seeing, because setting up my own projects locally has not allowed me to see it.
Riyad KallaMemberJust an update, this will be fixed in 5.0.3, thank you very much for the help and patience tracking it down.
Anthony EstelitaMemberWOOHOO!! Thank you very much! One down one to go. 🙂
-Anthony
Riyad KallaMemberOne down one to go. 🙂
I’m ignoring the debugging one and praying it goes away until after 5.0.3… I hate that bug because I can’t reproduce it but you and a handful of other users can… very frustrating for us.
Anthony EstelitaMemberIf it isn’t fixed on 5.0.3 i would be glad to help you debug the issue. 🙂 Debuggable jars/classes; classes that write helpful information to a log; or ??? Anything I can do to help get this resolved I would be glad to do (legally that is). 😀
JSP debugging is very important to the UI developers (System.out debugging is really a pain in the #$@). 😀
Thanks again,
Anthony -
AuthorPosts