• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

where is PortableRemoteObject

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
I am trying to compile the Client Application and am getting the following error. The classpath has been set to JNDI.jar and ejb.jar.
i tried finding the PortableRemoteObject in the java and Javax package but did not find it. where is this class located.

C:\weblogic\examples\ejb\basic\statefulSession>javac *.java
Client.java:11: Class javax.rmi.PortableRemoteObject not found in import.
import javax.rmi.PortableRemoteObject;
^
1 error

Regds.
Rahul.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai, If you are using weblogic4.5.1,try adding j2ee.jar and weblogicaux.jar to the classpath.If you are using weblogic 5.1 use the build.bat file supplied by weblogic.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Unknown,
thanks i got it when i set the specified jar files in the lib directory of weblogic.
Regds
Rahul
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but if there is no j2ee.jar file in the lib directoy.set how can i add it to the classpath.
WEBLOGICCLASSPATH=.\license;.\classes;.\myserver\serverclasses;.\lib\weblogicaux.jar;e:\WebLogic\classes\JDBC\classes111.zip;e:\dev\classfiles;
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai EJB,
you have to download java2 enterprise edition which will have j2ee.jar in its lib directory.
 
reply
    Bookmark Topic Watch Topic
  • New Topic