Try this:
java -classpath $CLASSPATH:$JBOSS_HOME/client/jboss-client.jar:$JBOSS_HOME/client/jbosssx-client.jar:. InterestClient
* Note the ':.' after jbosssx-client.jar.
* Replace my '$JBOSS_HOME' with your path to Jboss home and
make sure you execute it at the same level of 'com' directory.
(InterestClient will look for Interest and InterestHome in this path)
*If you're trying to execute in a not-local-machine, first you must change
the line 'localhost:1099' in your InterestClient.java to the appropiate URL.
More information:
http://www.jboss.org/documentation/HTML/index.html
Regards:
__________________________________________
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 965040000 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias
W a n a d o o E s p a n a - http://www.wanadoo.es
__________________________________________
| Mike Boniface <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 12/04/01 13:00
|
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject: [JBoss-user] Interest Client Problems |
Hi,
Having a few problems getting the InterestClient to work. I get the
exception
javax.naming.CommunicationException [Root exception is
java.io.StreamCorruptedException:Type code out of range, is 125]
Now I am aware that this is probably a classpath problem but I am unable to
resolve which jar files are required by the client. I have tried all sorts
of combinations of the jboss/client directory. Could somebody give me a list
of jars that I should have in my classpath that works for this client.
Thanks
Mike
Mike Boniface
IT Innovation Centre
2 Venture Road
Chilworth Science Park
Southampton, SO16 7NP, UK
tel: +44 23 8076 0834
fax: +44 23 8076 0833
mailto:[EMAIL PROTECTED]
http://www.it-innovation.soton.ac.uk/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
