• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

jboss deployment - PortableRemoteObject

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am unable to compile the TestClient.java to test my EJB in JBoss. I included the following in classpath:
set classpath=%classpath%;f:\JBoss\lib\ext\ejb.jar
set classpath=%classpath%;f:\JBoss\client\jboss-client.jar and
set classpath=%classpath%;f:\JBoss\client\jndi.jar
And if I say javac Client.java, I get the following error:
Unable to find javax.rmi.PortableRemoteObject.
I saw all the jar files present in all directories in JBoss but unable to find this class file to include in my classpath. Kindly revert back with necessary details like what to do and where to find the jar file containing this class file on the net, is it downloadable and can we just use it with my current version of JBoss. I am using JBoss 2.2.2 version and jdk 1.2 version. I guess I need to download the latest version for the above mentioned PortableRemoteObject, but I want help with my current version of JBoss.
Also anyone kindly inform me whether there is any way of including all the jar files in the classpath using something like *.jar or do we have to type each and every jar file we require inorder for the to be available in the classpath.
I appreciate your help in advance. Thanks.
please respond to sarinbabu@yahoo.com
Sarin
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There should be a j2ee.jar in your JBoss deployment, can't recall where exactly that is in 2.x right now. I am moving this thread to the JBoss Forum for any further discussion...
 
Author
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
javax.rmi.PortableRemoteObject is available in java 1.3 and later. You'll need to upgrade.

One solution for your jar problems would be using build tool like Ant that can do exactly what you want.
 
Always look on the bright side of life. At least this ad is really tiny:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic