Hi --
Just in case other folks read this list who are as frustrated as I
have been this past weekend, putting 20+ hours into trying to get Orion
to do ANYTHING but simply wake up, I wanted to say that I just got
a simple Hello World (servlet + ejb) application working, and in
retrospect most of my problems come down to a combination of ignorance
of the J2EE specs, and a real lack of clarity in the specs and Orion doc
about what is happening with JNDI and what all the different path-like
critters in the various xml files mean and how they interact.
I suspect it would be hard to do a much worse job than the Sun spec
for the various DTDs. Comments like this one (from the J2EE
deployment descriptor) really make my day: "The context-root element
specifies the context root of a web application". Uh, yeah. And
a context root is... ????
At this point I feel like it's starting to make sense, but the learning
curve is outrageous! So if you're feeling crazy, all I can say is:
Hang in there! And read the various deployment specs (application.xml,
ejb-jar.xml, web.xml, and application-client.xml) until your mind
is jello...
Cheers,
Gary
On Sun, 25 Jun 2000, Karl Avedal wrote:
> Hello Gary,
>
> Check out any of the EJB examples, for example the one in
> orion/demo/demo/ejb/cart/.
>
> There you will find a jndi.properties file with the correct properties (for an
> application client). It should look something like this:
>
>
>java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
>
> java.naming.provider.url=ormi://<hostname>/<application-name>
> java.naming.security.principal=<username>
> java.naming.security.credentials=<password>
>
> Of course you need to replace the values in <> with real values.
>
> Since I saw that this info was pretty well hidden, I'll add an FAQ entry about
> it immediately.
>
> Regards,
> Karl Avedal
>
> Gary Shea wrote:
>
> > Hi --
> >
> > This is one of those newbie questions, I know, but I can't find any
> > reference to what the java.naming.factory.initial value should be for Orion!
> >
> > TIA
> >
> > Gary