Application EAR file with no sun-j2ee-ri.xml file inside it

I'm using SUN ONE STUDIO EE to create

1 Session Bean and 2 Entity Beans.

I put the 3 beans in a EJB Module and then

I created an Application.

When I see what application's .ear file

contains (I created it with "export Application EAR file"

item of Pop Up Menu) I notice that EAR file

doesn't contain the sun-j2ee-ri.xml file

(when I deploy the application the deploytool

tells me that it doesn't find some informations,

like datasource settings or jndi names, that

it requires).

How can I force SUN ONE to create sun-j2ee-ri.xml

file when it generates EAR file for my application ?

Thanks in advance for any helps,

Moreno

[729 byte] By [morenopippoli] at [2007-11-25 10:07:05]
# 1

Hi Moreno,

Which version of Studio are you using? The plugin for J2EE RI is not shipped with ver 5. For ver 5 Sun ONE App Server is the default J2EE server.

But the J2EE RI plugin should work with S1S v 4 update 1. You should be able to download the RI plugin from the update center.

Thanks

Kishore

Kishore Mandyam at 2007-7-1 20:13:40 > top of Java-index,Development Tools,Java Tools...
# 2

Hi Kishore,

I solved the problem deleting the directory

under <my home>/ffjjuser40ee (I don't know

what's happened, because I didn't have the

problem at the beginning).

I'm using a trial versione of SUN ONE EE 4.1.

I didn't know that for SUN ONE 5 the Default App.Server

is SUN ONE 7 App.Server (thanks for your news,

I'm going to use SUN ONE App.Server for my

application :-)).

Moreno

moreno pippoli at 2007-7-1 20:13:40 > top of Java-index,Development Tools,Java Tools...