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]]
>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 use is
>;\orion\orion.jar;\orion\ejb.jar;\orion\jdbc.jar;\orion\jndi.ja
>r;\orion\mai
>l.jar;orion-primer-client.jar
>
>
>Since this email I have gotten the client to run, now I get
>the following
>error:
>
>Unable to get initial JNDI context: javax.naming.NamingException: Error
>reading application-client descriptor: No location specified
>and no suitable
>instance of the type 'hello.ejb.Hello' found for the ejb-ref
>ejb/HelloHome
>Exception in thread "main" java.lang.Exception: 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: Client application
>
>
>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 .:orion.jar:ejb.jar:jndi.jar:orion-primer-clinet.jar
>>
>>hello.client.HelloClient
>>
>>I got the following error:
>>Exception in thread "main" java.lang.NoClassDefFoundError:
>>hello/client/HelloClient
>>
>>Any idea?
>
>it obviously doesn't find the class. a typo in the classpath maybe ;-)
>
>robert
>
>>-Danno
>
>(-) Robert Krüger
>(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
>(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
>(-) Tel: 06151 665401, Fax: 06151 665373
>(-) [EMAIL PROTECTED], www.signal7.de
>
>
>
>

Reply via email to