- This topic has 9 replies, 5 voices, and was last updated 19 years, 4 months ago by Greg.
-
AuthorPosts
-
Hans PruellerMemberI recently downloaded MyEclipse IDE trial to evaluate its applicability for corporate use. I installed it with Eclipse 3.0M8 on my SUSE 9.0 Linux workstation. java vm is 1.4.2-b28.
i created a test-ear project with web-module and ejb module, configured with a JOnAS 3.3.6.
I succeeded in creating the web-module with a test servlet, but when I created a test- session bean with a single method and I wanted to run XDoclet… simply nothing happens!
neither any line is written in workspace/.metadata/.log.. no error message, nothing is being generated…
what could be the problem? any configuration error?
hans
Scott AndersonParticipantIt’s likely a JDK configuration issue. Please look in <workspace>/.metadata/.log for any exceptions. If you find one, you should be able to search these forums to find the resolution. If that doesn’t work, please post the exception stack back here and we’ll look into it with you.
GregMemberThere is a tutorial in the MyEclipse help documentation on creating a EJB. The tutorial creates a Stateless Session bean.
It covers how to get xdoclet to generate the support EJB files. The step that most interests you is setting up the Xdoclet configurations for the EJB module project. There needs to be a “Standard EJB” configuration correctly configured in the MyEclipse-XDoclet properties page on the EJB Module project for XDoclet to run. Please let us know if you are still unable to get it to work after viewing the tutorial. We want to help you get it working.
Hans PruellerMemberit was the missing configuration for xdoclet … perhaps it would be helpful to get an alert when running “run xdoclet” without any tasks configured.
the tutorial solved this…
… anyway, unfortunately I did not yet succeed in deploying a working JOnAS 3.3 Enterprise Application (web + ejb module)…
is there a tutorial likely to the xdoclet one? I really could need some help…
hans
Scott AndersonParticipantHans,
Right now we don’t have a good full EAR tutorial. However, if you could tell us what problems you’re seeing we can
most likely get you pointed in the right direction.
Hans PruellerMemberscott,
deploying the web-module as exploded archive already works… problematic is to deploy the ejb-module. I have configured xdoclet to
generate a ‘jonas-ejb-jar.xml’ in ‘src/META-INF’ which works. when I deploy the module via myeclipse nothing really happens… (exploded archive). in the jonasadmin tool I see the ejb-module ready to deploy but deployment fails with:2004-05-17 07:15:19,529 : EJBServiceImpl.createContainer : Cannot read the deployment descriptors ‘/opt/jonas/autoload/TestEJBAppEJB’: org.objectweb.jonas_ejb.deployment.api.DeploymentDescException: /opt/jonas/autoload/TestEJBAppEJB not found
i’m not sure whether jonas supports exploded deployment for ejb-modules…?
if I want to deploy the module as packaged jar archive, I get deployment error messages like class-not-found
exceptions on jonas-specific container classes. I think those classes have to be generated with the GenIC tool
before deployement.. unfortunately I could not configure xdoclet to run the genic task.
Scott AndersonParticipanti’m not sure whether jonas supports exploded deployment for ejb-modules…?
Jonas has some sever limitations, not with how it operates within MyEclipse, just the server itself. Here’s the writeup on what those limitations are in the FAQ:
http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-28.html
aguanMemberin new version 3.8.4,why my MyEclipse-XDoclet does not work:
in MyEclipse-XDoclet configuration page when
I Select the “Add Standard button”, but I get
nothing.
LaLiLunaMemberI had the same problem and went back to the last stable version.
GregMemberThe version of 3.8.4 that ran on 3.1M7 had a known problem with the “Add Standard” dialog not being shown correctly. The latest 4.0 M2 for Eclipse 3.1 fixes that issue along with many others. We are still recommending a separate clean install and new workspace for 4.0M2 if you are currently using 3.8.4.
-
AuthorPosts