Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
anthonyestelita
Post subject:   PostPosted: Sep 27, 2006 - 04:58 PM
Registered Member
Registered Member


Joined: Feb 16, 2005
Posts: 73

I 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:
Code:

 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.war

WAR project
-src
-WebRoot

EJB project
- src
- classes
---- META-INF
-------- ejb-jar.xml
-------- weblogic-ejb-jar.xml

JAVA project
- src

2. 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
Code:

   <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
Code:

  <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
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 27, 2006 - 05:41 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Oh 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
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Oct 31, 2006 - 11:49 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Just an update, this will be fixed in 5.0.3, thank you very much for the help and patience tracking it down.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
anthonyestelita
Post subject:   PostPosted: Nov 01, 2006 - 03:58 PM
Registered Member
Registered Member


Joined: Feb 16, 2005
Posts: 73

WOOHOO!! Thank you very much! One down one to go. :-)

-Anthony
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 01, 2006 - 04:11 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Quote:

One 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.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
anthonyestelita
Post subject:   PostPosted: Nov 01, 2006 - 04:20 PM
Registered Member
Registered Member


Joined: Feb 16, 2005
Posts: 73

If 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). :-D

JSP debugging is very important to the UI developers (System.out debugging is really a pain in the #$@). :-D

Thanks again,
Anthony
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits