Hi Anthony.
First, you can put the jar anywhere, as long as you have it in your
CLASSPATH. I'm not sure about how to set it on the Windows systems, but
on a unix box, you could do something like the following.
Suppose your jar file is named foobar.jar and is located in the directory
/usr/local/jonas/mystuff
Then you could simply edit the file $JONAS_ROOT/bin/config.env and append
/usr/local/jonas/mystuff/foobar.jar to the CLASSPATH variable in there, or
if you wanted to do something less long term, simply do something like the
following before you run EJBServer and your test clients.
export CLASSPATH=$CLASSPATH:/usr/local/jonas/mystuff/foobar.jar
That will allow the JVM to see your classes in that jar.
If you are just trying to run the SB and EB examples, you can just change
to the directory that has the example you want to run, and do the
following.
make
registry &
EJBServer &
and then run the client.
I'm not completely sure about the location of the xml files, but I know it
seems to search the current directory, so if you start EJBServer from
within one of the example src directories (eg
$JONAS_ROOT/examples/src/eb) you'll be fine.
Hope that was helpful. I'm not authoritative on this subject my any means,
so anyone else with better information please speak up! ;)
Good luck,
Chris Vaughan
On Wed, 12 Jul 2000, Anthony Robins wrote:
> Hi,
>
> This maybe a dumb question so bear with me.
>
> i'm trying to run your example using a jar file.
>
> cd your_bean_class_directory
> mkdir META-INF
> cp .../eb/*.xml META-INF
> jar cvf OpEB.jar sb/*.class META-INF/*.xml
>
> So i created the OpEJ.jar by the above method and
> now i'm not sure where to put it so that the EJBserver
> can read it.
>
> Also, if i don't use jar files but use the classes dir in
> examples, where do i put the xml files that are referenced
> in jonas.properties?
>
> thanx
> anthony
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".