Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

J2EE 1.4 Deploy Tool Problems

843833Feb 5 2003 — edited May 14 2003
When I deployed an application according to the steps which I did under J2EE 1.3, the application can be deployed, but it can't run for java.rmi.Naming.remoteException. On the contrary, it could run correctly if I deployed it through .ear file created under J2EE 1.3.
I compared all .xml files(deployment descriptors), I found an important difference that there is jndi definition for an EJB and its ref. in Deployment descriptors created under J2EE 1.3 but there is no jndi definition in J2EE 1.4. I think the reason is that there is no JNDI tab,which is in J2EE 1.3, in J2EE 1.4. At the beginning, I thought SUN moved it into other tools, such as j2eeadmin. But I am disappointed for I could not find any tool provided by j2ee 1.4 can define jndi properties.
Does anybody know how to resolve this problem? I am very appreciate your help.

Junfei Chen

Comments

843833
I got it. Thanks FarhanM and Kamarainen.
843833
Can someone post the reason / workaround for this problem ? I was using JNDI names in the deploy tool in J2EE 1.3, but I don't find this in J2EE 1.4. Why so ? And how can I specify the JNDI names then ?
843833
Hi, Can you put the solution here?
Cause I got same problem. Thanks
843833
Does anyone know hot to solve this problem?
If so please post solution here.

Thanks in advance.
843833
You need to use File->Deployment Settings and create a new or
edit an existing file. This will bring up additional entries
in your navigation tree window. Selecting them opens up the
way to enter JNDI names.
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 11 2003
Added on Feb 5 2003
5 comments
129 views