in Orion, and neither can I find a
specification of the ejb-config tag in the server.xml documentation. Is the
tutorial for some other version of Orion? How do I enable the EJB server in
my version?
My Orion version is 091b, and I am running on NT.
Yours,
Christian Tellefsen
Seniorkonsulent, Info
sync with the files it is dependent on. Or
maybe some other solution is better...
yours
Christian Tellefsen
Telenor Mobil AS - Planavdelingen
What files do I need to include in my applet if I want it to communicate
with Orion?
I have included the remote and home interfaces, of course, but I also need
some other stuff...
med vennlig hilsen
Christian Tellefsen
Telenor Mobil AS - Planavdelingen
?
yours,
Christian Tellefsen
Exense ASA
have, or did it work fine?
We are not sure if there is some problem with our setup or whether
there is a problem in orion.jar. BTW our applet EMBED has
ARCHIVE=orion.jar, and uses Orion's classes to do the lookup.
Any help will be greatly appreciated! We are kind of stuck!
yours,
Christian
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is it possible to do a JNDI lookup from an applet or stand-alone
client against Orion, without using files from orion.jar? Or is the
whole 2 MB file necessary to do this?
Any help will be greatly appreciated.
Yours,
Christian Tellefsen
-BEGIN
if( context == null ) {
if( env != null ) {
context = new InitialContext( env );
}
else {
context = new InitialContext();
}
}
final Object homeObject = context.lookup("java:comp/env/
nal Object homeObject = context.lookup("java:comp/env/ejb/"
+
moduleName + "/" + remoteInterfaceName );
yours,
Christian Tellefsen
-BEGIN PGP SIGNATURE-
Version: PGP Personal Privacy 6.5.8
iQA/AwUBOh09jCZr3JnfcXIbEQJpZACgl+icXCyutsSgQTpvLmA9y0Fur6IAnRtp
jd9LwkoeWFUeQmQ0n27fw4ET
=nC4O
-END PGP SIGNATURE-
We do it in one huge tree. Currently it is about 1300 .java files. We have
one package for each ejb deployment, and keep the META-INF and orion files
in separate directories. Ant then combines these files with the packages
upon deployment.
We find this a simple solution, since we have lots of
Title: SV: Re: RE: Simple Java Doubts
That's
an evil communist lie. Please report to the nearest termination
center.
The
computer is your friend!
-Original Message-From: Magnus Rydin
[mailto:[EMAIL PROTECTED]]Sent: 10. mai 2001
10:41To: Orion-InterestSubject: SV: Re: RE:
reconnection test.
* @author Christian Tellefsen
*/
// Make sure you:
// a) Have a META-INF/application-client.xml in the right place.
// b) Replace the server name below.
public class ContextTest {
static void connect() {
Hashtable env = new Hashtable();
env.put
.*;
/**
* InitialContext reconnection test.
* @author Christian Tellefsen
*/
// Make sure you:
// a) Have a META-INF/application-client.xml in the right place.
// b) Replace the server name below.
public class ContextTest {
static void connect() {
Hashtable env = new Hashtable
. The
dedicated.connection should be true.
With the code below, you won't have to restart your server.
Regards,
the elephantwalker
www.elephantwalker.com
So here is the code:
import javax.naming.*;
import java.util.*;
/**
* InitialContext reconnection test.
* @author Christian Tellefsen
*/
// Make
REPOST - I think my previous attempt failed.
I always get this strange exception when i start Orion after creating a
stateful session bean:
D:\oriontest\orionjava -jar orion.jar
Licensed to Telenor Mobil AS
[...]
Error restoring application state: java.lang.NullPointerException (null)
14 matches
Mail list logo