MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ronenmalka
Post subject: Deployment problems for EJB application for WebSphere.  PostPosted: Nov 08, 2011 - 08:45 AM



Joined: Apr 17, 2005
Posts: 41

When creating EAR file from enterprise project, the EAR file fail to pass the ejbdeploy enrichment require for WebSphere.
Ejbdeploy result with hundreds of errors.

I tested the same project in MyEclipse 8.6/9/10 all result with same errors (attached).

In earlier versions of MyEclipse same projects deploys perfectly and pass the ejbdeploy process with no errors (also attached), and get installed correctly on WebSphere.
This prevents us from upgrading MyEclipse to a version newer than MyEclipse 8.5.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Nov 09, 2011 - 11:24 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

ronenmalka,

Sorry to hear you are running into this issue. Please refer ejbdeploy with MyEclipse 10.txt. It looks like there are compilation issues listed. Could you please check if all the relevant resources are placed correct? It also lists build-path issues. Please verify project builld-path.

Could you attach a sample project to help me reproduce this issue at my end? In case you cannot attach here, please send a mail to support@myeclipseide.com with sample project as attachment. Include above weblink for quick tracing and add ATTN:Joy in the subject.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
ronenmalka
Post subject:   PostPosted: Nov 09, 2011 - 12:03 PM



Joined: Apr 17, 2005
Posts: 41

As I wrote, same project works perfect in myeclipse 8.5. (see Attached logs)
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Nov 09, 2011 - 08:23 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

Ronen,

Just to confirm your exact use case, you are not deploying your application directly with MyEclipse, but instead exporting an EAR (from MyEclipse) and then deploying that manually using the command line. The EAR created from 8.5 works but that created from subsequent versions does not.. Is this an accurate understanding of your problem?

If you deploy your application using MyEclipse deployment, does that work or do you never use the inbuilt deployment with versions > 8.5?

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ronenmalka
Post subject:   PostPosted: Nov 10, 2011 - 08:17 AM



Joined: Apr 17, 2005
Posts: 41

Brian,

Your understanding is correct.
I do not deploy using MyEclipse. I only generate the EAR file, then run ejbdeploy batch and then install it on WAS using WAS console.

I fail on the second stage, running the ejbdepoly on the EAR.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Nov 10, 2011 - 09:16 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2518

Ronen,

I'm afraid this problem is not easy to track down remotely. To help narrow down the problem, can you help us find obvious differences between the two EARs exported?

a) I assume the file sizes are different.
b) If you expand each of the EARs (8.5 and greater) into separate folders do you find that the size of the EJB jars within are different? Are there other differences?
c) If yes, can you further expand the EJB jars and find which particular folders are missing or different in the two versions.

Instead of a manual investigation, you could alternatively unzip each EAR and subsequently unzip all JARs and WARs within that EAR into their respective folders. You can these use a diff tool like CSDiff to compare the two directories and generate a report that will help us take this further. Please ensure you unzip the component WAR and JAR files into the same locations within each EAR to get an accurate diff report.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
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