cancel
Showing results for 
Search instead for 
Did you mean: 

"build EJB archive" context menu is disabled...

Former Member
0 Kudos

hello,

I changed java beans file, and tried to build jar file again, then the "build EJB archive" context menu is disabled so I can not make EJB jar file!

So frustrated.. NWDS recognizes the changes in the java files , right? How come there 's no Build menu..

Is there any pre-requisite to enable the menu?

I have no idea how I can build jar file..

Please give me a advice.. Thanks~!

Accepted Solutions (0)

Answers (1)

Answers (1)

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>> NWDS recognizes the changes in the java files , right?

Yes,

After Changing save it, Then make EJB jar file.

Regards

Agasthur iDoss

Former Member
0 Kudos

Well, Of course I DID save it after changing.

BUT NWDS does not recognizes the chages I guess.

Still the build EJB Archive context menu is not working..

Is there any other reason that it works this way???

former_member91687
Active Contributor
0 Kudos

Hi,

Just a guess, make sure you have opened the right perspective when you are trying to build the EJB archive.

Regards,

Chandra

Former Member
0 Kudos

Yes, I tried at the J2EE Development Perspective.

The Thing is I already built EJB archive once correctly,

and it worked fine. And now I changed & saved the beans java file, and the build context menu is disabled..

Just doesn't make sense...

Is there anybody who knows how-to ?

Thanks !

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Check this : The file ejb-jar.xml does not know what is the class and rest of the details for your ejb. For checking this, go to J2EE explorer and you will see ejb candidates.Right click on it and select add to ejb-jar.xml. You should now see the Build EJB Archive option enabled.

Regards

Agasthuri Doss