Well, the server runs. The EJBs compile and so does the client ... but it doesn't run. I get:


javax.naming.CommunicationException [Root exception is java.net.MalformedURLExcption: no protocol:Files/jboss2/lib/ext/jboss.jar]


So close .. yet so far ...

I'm missing another file from the classpath .... any idea which one (I've tried adding jboss.jar and it made no difference)


At 10:44 26/07/00 -0600, you wrote:
Hi,

Why does the size of your classpath matter? It should be as huge as it needs
to be :-)

As far as I know you only need to compile your client with a single jar from
jboss dist: lib\ext\ejb.jar. And your client run-time needs
client\jnp-client.jar, client\jboss-client.jar, and lib\ext\ejb.jar to run.
So any other jars you need are from your own app. You can have a different
classpath for compile- and run-time using the javac and java "-classpath"
option.

Cool?

Vaughn


----- Original Message -----
From: "Ray" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Wednesday, July 26, 2000 9:43 AM
Subject: RE: [jBoss-User] STILL having problems running with JBoss


> Mmm ... instead of having a huge classpath, I would have thought the
> easiest thing would be to just copy the files into the ext directory.  I
> mean, there are an awful lot of jar files for this thing ....
>
> At 11:34 26/07/00 -0400, you wrote:
> >It would seem like putting them on the classpath where they are might be
> >easier for my 2 cents...
> >
> >-----Original Message-----
> >From: Ray [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, July 26, 2000 11:27 AM
> >To: jBoss
> >Subject: Re: [jBoss-User] STILL having problems running with JBoss
> >
> >
> >At 17:16 26/07/00 +0200, you wrote:
> > >Why are you doing it the way you do?
> >
> >
> >Because to compile the EJB (the source code for which lives in a separate
> >directory to JBoss), I need the compiler to see all the jar files, and
the
> >easiest way to do this is to copy them to the ext directory.
> >
> >Is there another way to do it?
> >
> >
> >
> >
> >
> >--
> >--------------------------------------------------------------
> >To subscribe:        [EMAIL PROTECTED]
> >To unsubscribe:      [EMAIL PROTECTED]
> >Problems?:           [EMAIL PROTECTED]
> >
> >
> >--
> >--------------------------------------------------------------
> >To subscribe:        [EMAIL PROTECTED]
> >To unsubscribe:      [EMAIL PROTECTED]
> >Problems?:           [EMAIL PROTECTED]
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to