Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

9iFS IFS-20100 error -- CLASSPATH is set

4535Sep 30 2001
I'm migrating my iFS 1.1.9 application to 9iFS. I have updated
my connection code to look like this:

LibraryService ls = LibraryService.findService("IfsDefault");
CleartextCredential cc = new CleartextCredential
("system", "manager");
ConnectOptions co = new ConnectOptions();
co.setLocale(Locale.getDefault());
LibrarySession ifsSession = ls.connect(cc, co);

I am running it with the following command:

java -classpath D:\Projects\Testbed\classes;C:\oracle\ora90
\9ifs\settings;C:\oracle\ora90
\9ifs\lib\repos.jar;C:\oracle\ora90
\9ifs\lib\utils.jar;C:\oracle\ora90
\9ifs\lib\adk.jar;C:\oracle\ora90
\9ifs\lib\email.jar;C:\oracle\ora90
\LIB\xmlparserv2.jar;C:\oracle\ora90
\jdbc\lib\classes12.zip;C:\oracle\ora90\jsp\lib\ojsp.jar test

And I am getting the following error:

oracle.ifs.common.IfsException: IFS-20100: Unable to find
service (IfsDefault)

oracle.ifs.common.IfsException: IFS-20120: Invalid service name
(IfsDefault)
at oracle.ifs.server.S_LibraryService.findService
(S_LibraryService.java:1328)
at oracle.ifs.beans.LibraryService.findService
(LibraryService.java:185)
at test.main(test.java:14)

Line test.java line 14 is:

LibraryService ls = LibraryService.findService("IfsDefault");

C:\oracle\ora90\9ifs\settings\oracle\ifs\server\properties
contains one file: IfsDefault.properties

Any ideas why this is happening?

Also, an error in the developer documentation Table 1-9:
release.jar does not exist in the 9ifs/lib directory so cannot
be in the classpath. Otherwise my classpath is set as
specified.

Andrew
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 29 2001
Added on Sep 30 2001
2 comments
245 views