Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 334291

Summary: EJB Wizard doesnt work
Product: [WebTools] WTP EJB Tools Reporter: carlspam1
Component: jst.ejbAssignee: jst.ejb <jst.ejb-inbox>
Status: CLOSED WORKSFORME QA Contact: Kaloyan Raev <kaloyan>
Severity: major    
Priority: P3 CC: curtis.windatt.public, dimitar.giormov, thatnitind
Version: unspecifiedKeywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description carlspam1 CLA 2011-01-13 12:08:09 EST
Build Identifier: M20100909-0800

Greyed out controls frustrate ability to create an EJB Session Bean and others.
OpenSusu 11.3
Sun JDK 1.6.0_23


Reproducible: Always

Steps to Reproduce:
1. (Menu) New->Project->EJBProject
2. (Project) New->EJB3.x Session Bean
3. New Dialog TITLE=[Create EJB3.c Session Bean]; 
4. Project and Source folder are already filled in for you
5. JavaPackage = com.acme
6. ClassName = MyClass
7. In "Create Business Interface", check/uncheck of the Remote/Local checkboxes do not cause activation of the TextBoxes. They remain greyed out.

Alterntively, if you cancel and reload the dialog, picking up from step 4:
4. Project and Source folder are already filled in for you
5. Before doing anythign else, in "Create Business Interface", check the Remote/Local checkboxes to cause activation of the TextBoxes. Provide interface names MyClassRemote, MyClassLocal
6. JavaPackage = com.acme
7. ClassName = MyClass
8. All seems ready to go. No messages at the top of the dialog.
9. Cannot progress due to "next" and "finish" being greyed out.

Conclusion: Wizard unusable.
Comment 1 Dimitar Giormov CLA 2011-01-14 07:49:30 EST
I will need some clarifications on the issue:

1. You are using Idigo release I assume? 
2. You are creating Ejb Project version? (3.0, 3.1)
3. Eclipse for which linux distribution did you exactly downloaded?
Comment 2 Dimitar Giormov CLA 2011-01-14 08:07:09 EST
Check if you are using 32bit or 64bit java and eclipse.

If you are using indigo please update to more recent version. M4 is currently available
Comment 3 carlspam1 CLA 2011-01-14 08:43:03 EST
Hi

thanks guys for replying with your requests for additional information.
Here it is (below).

In the meantime, I am going to get Indigo M4 as suggested and see if there is any difference. I will let you guys know with a further update as soon as I have anything to report.


Additional info follows, just for the record. 
Thanks again, guys. Great piece of software.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Here's my OS
Linux linux-j0j5.site 2.6.34.7-0.7-default #1 SMP 2010-12-13 11:13:53 +0100 i686 i686 i386 GNU/Linux on a Lenoco T510

Here's my Java:
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Server VM (build 19.0-b09, mixed mode)

Here's my Eclipse SDK
Version: 3.6.1
Build id: M20100909-0800

There doesn't seem to be an easy way to check if they are 32 or 64 bit.
I am 99% sure they are 32 bit. 


I am using "Helios" and not "Indigo". I didnt even know there was such a thing as Indigo. Eclipse.org->Downloads only offered me Helios.

I downloaded the generic Eclipse from eclipse.org. There was no target OS and I didnt get it via apt, rpm, etc. The OS I am using is OpenSuSE 11.3 32 bit, fully updated.

This eclipse is "standalone", unpacked into a certain directory with PATH changed to suit. My JDK is also standalone, also with PATH changed to suit. The eclipse was fully updated prior to reporting this issue.

I installed Netbeans6.9 the same way and that works fine so I _think_ my JDK, PATHs, LIBs etc are all in good shape.

The EJB create said on-screen "EJB3.x" it didnt specify EJB3.0 or 3.1.



xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Comment 4 Dimitar Giormov CLA 2011-01-25 06:58:36 EST
I just made one opensuse 11.3 in susestudio.
Downloaded SR1 as you did (eclipse-jee-helios-SR1-linux-gtk.tar.gz)
and everything works ok.
Latest Java version.

here is a link to the file I have downloaded try it out.
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/helios/SR1/eclipse-jee-helios-SR1-linux-gtk.tar.gz
(make sure that you extract the archive in clean location (no older eclipse versions are on the same place))

if the problem still exists please create an image on suse studio site and send link so we can test it.
Comment 5 Kaloyan Raev CLA 2011-06-02 14:04:55 EDT
Closing as "not reproducible".