Skip to Content
0
Aug 18, 2005 at 09:25 AM

reference.txt & library.txt file question for SP6 SP2

10 Views

Hi

I need to be able to reference a portal component api library from a J2EE application outside of the IRJ application. This is normally done through the above files, however, the syntax in the files looks like the libraries have to be in the additional-lib folder, which doesn't seem very flexible. Basically I am trying to access a portal service through JNDI from a J2EE application on the same J2EE server (SP2). I can access it through JNDI, however, the problem I have is that because I need to cast the object to an IMyService class I get a ClassNotFoundException. This is because the class is part of the API jar file of the component, which the J2EE application cannot find. I don't want to have to copy the file to the additional-lib folder for this file to be accessible, so does anyone know how to create a reference to this api.jar file ?

Thanks

D