Home » Fusion Middleware & Colab Suite » Collaboration & Content Management » ifs java example problem
ifs java example problem [message #77403] Sat, 23 November 2002 09:51 Go to next message
MeszG
Messages: 1
Registered: November 2002
Junior Member
Hi!

I tried to run IFS examples with JDeveloper, but I always got an error message (see below).

I can acceess the IFS from http....
What is the problem?

thx,
MeszG

------------

GlobalSetup starting
Unable to start service:
oracle.ifs.common.IfsException:oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
java.util.MissingResourceException: Can't find resource for base name oracle.ifs.server.properties.IfsDefault, locale hu_HU
oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault)
oracle.ifs.common.IfsException: IFS-20010: Unable to get service configuration properties (IfsDefault)
java.util.MissingResourceException: Can't find resource for base name oracle.ifs.server.properties.IfsDefault, locale hu_HU
sun.misc.URLClassPath$Loader sun.misc.URLClassPath.getLoader(int)
sun.misc.Resource sun.misc.URLClassPath.getResource(java.lang.String, boolean)
java.net.URL java.net.URLClassLoader.findResource(java.lang.String)
java.net.URL java.lang.ClassLoader.getResource(java.lang.String)
java.io.InputStream java.lang.ClassLoader.getResourceAsStream(java.lang.String)
java.lang.Object java.util.ResourceBundle$1.run()
java.lang.Object java.security.AccessController.doPrivileged(java.security.PrivilegedAction)
java.util.ResourceBundle java.util.ResourceBundle.findBundle(java.lang.String, java.lang.StringBuffer, java.lang.ClassLoader, boolean)
java.util.ResourceBundle java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale, java.lang.ClassLoader)
java.util.ResourceBundle java.util.ResourceBundle.getBundle(java.lang.String, java.util.Locale)
void oracle.ifs.common.Localizer.<init>(java.util.Locale, oracle.ifs.beans.LibrarySession)
void oracle.ifs.common.Localizer.<init>(java.util.Locale)
void oracle.ifs.common.Localizer.<init>()
java.lang.String oracle.ifs.common.IfsException.getLocalizedMessage(oracle.ifs.common.Localizer)
java.lang.String oracle.ifs.common.IfsException.toLocalizedString(oracle.ifs.common.Localizer)
java.lang.String oracle.ifs.common.IfsException.toLocalizedString(oracle.ifs.common.LibrarySessionInterface)
void oracle.ifs.examples.api.utils.Logger.log(int, java.lang.String, java.lang.Throwable)
void oracle.ifs.examples.api.utils.Logger.log(java.lang.Throwable)
void oracle.ifs.examples.api.BaseSample.log(java.lang.Throwable)
oracle.ifs.beans.LibraryService oracle.ifs.examples.api.BaseSample.startService()
void oracle.ifs.examples.api.GlobalSetup.run()
void oracle.ifs.examples.api.GlobalSetup.main(java.lang.String[[]])
GlobalSetup could not establish a session; exiting
Re: ifs java example problem [message #77416 is a reply to message #77403] Sun, 26 January 2003 08:55 Go to previous messageGo to next message
Tadeu Kelly Alencar
Messages: 1
Registered: January 2003
Junior Member
I had this error when I was running my sample code in other directory than %ORACLE_HOME%9ifscustom_classes.
Try to run your sample code in %ORACLE_HOME%9ifscustom_classes dir and set your classpath to something like this:
java -classpath C:oracleora81jdbclibclasses12.zip;C:oracleora81LIBxmlparserv2.jar;C:oracleora81jsplibojsp.jar;C:oracleora819ifssettings;C:oracleora819ifslibrepos.jar;C:oracleora819ifslibutils.jar;C:oracleora819ifslibadk.jar;C:oracleora819ifslibrelease.jar;C:oracleora819ifslibemail.jar;. HelloWorld

Well... It works for me... good luck!

Re: ifs java example problem [message #77487 is a reply to message #77403] Fri, 25 June 2004 08:42 Go to previous message
erwerwer
Messages: 1
Registered: June 2004
Junior Member
This thing is too big for you, dont do it...
Previous Topic: Oracle iFS vs Oracle Files
Next Topic: Change Domain Name in OCS
Goto Forum:
  


Current Time: Tue Sep 23 23:55:55 CDT 2014

Total time taken to generate the page: 0.10137 seconds