Hello
I want to use log4j together with my application.
I.e I want all my servlets, jsps, ejbs and clients to share the same
logfiles.
I've implemented log4j according to the tip the
atlassian guy gave (don't remember his name). Put the log4j.jar in
orion/lib, add to the orion-applicati
Tuesday, December 04, 2001 9:35
AMTo: Orion-InterestSubject: Client application
connection.
Hi,
We have created a client application which connect to
EJB in Orion Server. For connecting I have a jndi.properties file with the
next parametres:
java.na
Hi,
We have created a client application which connect to
EJB in Orion Server. For connecting I have a jndi.properties file with the next
parametres:
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory
java.naming.provider.url=ormi
Your assumption about the client is correct. You need to have a META-INF
directory and and application.xml and and orion-application.xml in the
directory. It will not run without these files. If you look at the demo source
for JMSChat you will find some very simple examples.
om outside Orion. I think
I am trying to run what the specs call a 'client application'.
Now the specs seem to imply that a client application needs some
kind of minimal EJB container of its own, but I don't see mention
of it anywhere else - either in the Orion documentation or on
If you want to access the ejb which deployed in orion from a client
application do the following.
create a file named jndi.properties with the following properties in it.
java.naming.factory.initial=com.evermind.server.ApplicationClientInitialCont
extFactory
java.naming.provider.url=ormi
I have been going over the O'Reilly's Enterprise Java
Beans and trying to run an EJB that I deployed in
Orion using an external client. I went into the
Console and I verified that so called application
cabin is deployed. When I try to run the client I am
getting the below exception. Here is my
ent?
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Hubbach
Sent: Friday, March 16, 2001 8:00 AM
To: Orion-Interest
Subject: Re: Problems with JNDI lookups of defined in
application-client.xml from a client application...
Just a sidenote, maybe
PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus
RydinSent: Friday, March 16, 2001 1:30 AMTo:
Orion-InterestSubject: SV: Problems with JNDI lookups of
defined in appli cation-client.xml from a client
application...
Did you try looking up "java:comp/env/
You are exactly correct. This IS how it is working in Orion but this does
not seem to the correct.
Suppose you have an EJB that implements some STANDARD interface already
defined, deployed and used by many applications and from many places. You
buy a client application from a vendor who has
ine multiple
beans.
Jeff Hubbach.
Alex Paransky wrote:
> I have a client application which has META-INF with the following
> application-client.xml definition:
>
>
>
> ejb/id
> Session
> com.indnet.model.id.IdSessionHome
> com.indnet.model.id.IdSess
JNDI lookups of
defined in application-client.xml from a client application...
Did you try looking up "java:comp/env/ejb/id" ?
WR
> -Ursprungligt meddelande-
> Från: Alex Paransky [
mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
defined in
application-client.xml from a client application...
> I have a client application which has META-INF with the following
> application-client.xml definition:
>
>
>
> ejb/id
> Session
> com.indnet.model.id.IdSessionHome
> com.indnet.model
Title: SV: Problems with JNDI lookups of defined in application-client.xml from a client application...
Did you try looking up "java:comp/env/ejb/id" ?
WR
> -Ursprungligt meddelande-
> Från: Alex Paransky [mailto:[EMAIL PROTECTED]]
> Skickat: den 15 mars 2001
anks.
-AP_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky
Sent: Thursday, March 15, 2001 2:11 PM
To: Orion-Interest
Subject: Problems with JNDI lookups of defined in
application-client.xml from a client application...
I have a client a
I have a client application which has META-INF with the following
application-client.xml definition:
ejb/id
Session
com.indnet.model.id.IdSessionHome
com.indnet.model.id.IdSession
Id
In the client, I attempt to do the following:
new InitialContext().lookup("e
Well, I worked on this problem b/c it is something I eventually want to do,
and I am finally able to connect to a remote JMS server.
On the machine running JMS/Orion, you need to edit orion/config/jms.xml.
You need
to change the tag to contain the host that it is running on,
don't just let it def
ecember 07, 2000 9:42 AM
> > To: Orion-Interest
> > Subject: RP/Please Help: Connecting to JMS from client application
> >
> > Please help! Somebody must be using JMS from a client application
> > running on a machine different than the server. How do I configure
elp: Connecting to JMS from client application
>
> Please help! Somebody must be using JMS from a client application
> running on a machine different than the server. How do I configure a
> client to use JMS. Say, the EJB Server runs on machine A. The client
> runs on mach
Please help! Somebody must be using JMS from a client application
running on a machine different than the server. How do I configure a
client to use JMS. Say, the EJB Server runs on machine A. The client
runs on machine B. How does the client on machine B know the location
of JMS (which
To all that have been helping me with this problem I want to thank you. I
have made progress due to your help. I have one more hurdle to overcome and
I am hoping that you can bear with me and continue your help. I have finally
got my application to connect to the application server. What I found o
October 07, 2000 2:13 PM
Subject: RE: Client application
> Hope I haven't made any errors in the example causing to to waiste your
> time (as i did with my typo comp:/java/env). If so let me know. I'll fix
> the example.
>
> The error messages tell me that the system can
Title: RE: Client application Please Help
Hello,
Thanks for continuing to help me. I am really
having a difficult time with this. I have no idea on how to solve the problem. I
checked the JAR file and the application-client.xml file is in there.
Thanks again,
-Dan
- Original
[mailto:[EMAIL PROTECTED]]
> >Sent: Friday, October 06, 2000 8:27 AM
> >To: Orion-Interest
> >Subject: Re: Client application
> >
> >
> >Thanks for your response Robert. You were right about the
> >typo. It really
> >was in my email. The path that I u
Title: RE: Client application Please Help
You're
not having a good day are you? Make sure the client jar has the
application-client.xml in the META-INF
directory.
-Original Message-From:
Daniel C. DiCesare [mailto:[EMAIL PROTECTED]]Sent: Friday,
October 06, 2000 8:15 AMTo:
Title: RE: Client application
I've gotten that same error, usually the first time I run a client program. I run it again, and it works fine with no NamingException. Very strange.
Kurt in Atlanta
>-Original Message-
>From: Daniel C. DiCesare [mailto:[EMAIL PROTECTED]]
&g
Not to my understanding, I think you need to include the necessary orion
jars
-Danno
>From: "Pantelis, Thomas" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: RE: Client applicati
: We're going to the dogs!
at hello.client.HelloClient.main(HelloClient.java:26)
- Original Message -
From: "Robert Krueger" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, October 06, 2000 4:33 PM
Subject: Re: Clien
Title: RE: Client application Please Help
Thank you for your response. I have tried your
suggestion and here is what I get:
javax.naming.NamingException:
META-INF/application-client.xml resource not found at
Title: RE: Client application
Shouldn't it be orion-primer-client.jar?
-Original Message-
From: Daniel C. DiCesare [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 06, 2000 4:48 AM
To: Orion-Interest
Subject: Re: Client application
Frank,
I followed your example and deploye
.(InitialContext.java:182)
at TeamRandomTrade.main(TeamRandomTrade.java, Compiled Code)
Any idea on what I can do?
Thanks
-Danno
- Original Message -
From: "Frank Eggink" <>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Friday, October 06, 2000 1:05 PM
Subjec
At 09:48 06.10.00 , you wrote:
>Frank,
>I followed your example and deployed the orion-primer application. I copied
>the necessary JAR's into my directory along with the jndi.properties file. I
>also copied the orion-primer-client.jar into my directory. I then ran the
>following
>
>java -classpath
MAIL PROTECTED]>
Sent: Friday, October 06, 2000 2:02 PM
Subject: Re: Client application Please Help
>
>
>
> do you have the jndi.properties file in the classpath? if you just create
> an initial context by calling the no argument constructor you need to
> include that file in the cl
Title: RE: Client application Please Help
The correct lookup is "java:comp/env/TeamBean". I assume you're running you're client
outside of Orion? Make sure your provider_url JNDI prop points to
"ormi://localhost/" where is the name of the TeamBean app in
serve
riday, October 06, 2000 12:38 AM
Subject: Re: Client application Please Help
> It seems that you just need to use the standard structure for your ejb jar
and
> client app jar files.
> The ejb jar file structure is shown in the orion and cmp primers on
> www.jollem.com -- and the
> applic
uesday, October 03, 2000 5:00 PM
Subject: Re: Client application
> Look at the example in ..\demo\rmi\RMIApp.java. It shows how
> you can access the EJB-Server using its JNDI functionality.
>
> Christian
>
> > "Daniel C. DiCesare" wrote:
> >
> > Hello,
> &
Frank,
I followed your example and deployed the orion-primer application. I copied
the necessary JAR's into my directory along with the jndi.properties file. I
also copied the orion-primer-client.jar into my directory. I then ran the
following
java -classpath .:orion.jar:ejb.jar:jndi.jar:orion-pr
ce )
> TeamHome.class - ( home interface )
> TeamEJB - ( EJB )
> ejb-jar.xml - ( deployment descriptor )
>
> I then created a team-client.jar which consists of the following:
> TeamClient.class - ( client )
> application-client.xml - ( client xml )
>
> In my TeamClien
reated a team-client.jar which consists of the following:
> TeamClient.class - ( client )
> application-client.xml - ( client xml )
>
> In my TeamClient I attempt to connect to the TeamEJB as follows:
> Context ic = new InitialContext();
> Object obj = ic.lookup( "TeamBean" );
then created a team-client.jar which consists of the following:
> TeamClient.class - ( client )
> application-client.xml - ( client xml )
>
> In my TeamClient I attempt to connect to the TeamEJB as follows:
> Context ic = new InitialContext();
> Object obj = ic.lookup( "
:
Team.class - ( remote interface )
TeamHome.class - ( home interface )
TeamEJB - ( EJB )
ejb-jar.xml - ( deployment descriptor )
I then created a team-client.jar which consists of the following:
TeamClient.class - ( client )
application-client.xml - ( client xml )
In my TeamClient I attempt to
Thanks for the response, I'll check it out.
-Danno
- Original Message -
From: "Frank Eggink" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 4:07 PM
Subject: RE: Client application
> Late August
Thanks for the response, I'll check it out.
-Danno
- Original Message -
From: "Christian Eichinger" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, October 03, 2000 5:00 PM
Subject: Re: Client application
> Look a
Look at the example in ..\demo\rmi\RMIApp.java. It shows how
you can access the EJB-Server using its JNDI functionality.
Christian
> "Daniel C. DiCesare" wrote:
>
> Hello,
> I have an EJB which I need to invoke from a Java application. I am
> trying to create the Client jar file so that my appl
Late August (22/8) I posted a simple example on this mailing list: "An
example to connect to a remote client". If you look in the archives you'll
find it. Hope it works for you.
Frank
On Tuesday, October 03, 2000 8:42 AM, Daniel C. DiCesare
[SMTP:[EMAIL PROTECTED]] wrote:
> Hello,
> I have an
Hello,
I have an EJB which I need to invoke from a Java
application. I am trying to create the Client jar file so that my application
can invoke the EJB. I have not been able to do so. I had hoped to use the
deployment tool that comes with Sun to create the client jar but I have not been
abl
Hi there,
Can anybody answer me the following tiresome problem?
1. I try to use O-R mapping according to Orion How-to, exactly as the
following:
In CustomerEJB.java, add:
public Set addressSet;
public static final Class
addressSet_type=com.FedEx.entity.customer.Address.class;
public Set getAd
When I try to run a simple console client application accessing an
EJB,
I get this error :
__Proxy1
ERROR! Shared library ioser12 could not be found.
Exception in thread "main" java.lang.UnsatisfiedLinkError:
specialLoadClass
I have orion running on Solaris and have successfully created an EJB
and Servlet application.
I now want to write a Java Swing application running on my Windows
machine that accesses this EJB
running on Solaris.
Do you have an example ot this ?
What jar f
49 matches
Mail list logo