Home » Fusion Middleware & Colab Suite » Collaboration & Content Management » oracle.ifs.common.IfsException: IFS-20102: Unable to start service
oracle.ifs.common.IfsException: IFS-20102: Unable to start service [message #122866] Wed, 08 June 2005 17:03
monkeymanksc
Messages: 1
Registered: June 2005
Junior Member
Iam attemting to establish a connection to an existing IFS installation using the CM SDK.

When I attemt to connect I get the folloring errors:

oracle.ifs.common.IfsException: IFS-20102: Unable to start service (ifssys)

oracle.ifs.common.IfsException: IFS-20122: Unable to construct service

oracle.ifs.common.IfsException: IFS-32317: Unable to get lob management version

java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00201: identifier 'IFSLOBMANAGEMENTPACKAGE.GETVERSIONSTRING' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


oracle.ifs.common.IfsException: IFS-20102: Unable to start service (ifssys)

oracle.ifs.common.IfsException: IFS-20122: Unable to construct service

oracle.ifs.common.IfsException: IFS-32317: Unable to get lob management version

java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00201: identifier 'IFSLOBMANAGEMENTPACKAGE.GETVERSIONSTRING' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)

at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626)

at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:181)

at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:791)

at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1033)

at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2885)

at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2926)

at oracle.ifs.server.S_LibraryService.getLobManagementVersionString(S_LibraryService.java:2153)

at oracle.ifs.server.S_LibraryService.verifyLobManagementVersion(S_LibraryService.java:2784)

at oracle.ifs.server.S_LibraryService.<init>(S_LibraryService.java:1294)

at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java:1620)

at oracle.ifs.beans.LibraryService.startService(LibraryService.java:369)

at oracle.ifs.examples.cmsdk.SimpleConnection.main(SimpleConnection.java:42)



Exception in thread main
java.lang.NullPointerException

at oracle.ifs.examples.cmsdk.SimpleConnection.main(SimpleConnection.java:67)

Process exited with exit code 1.


Any suggestion on how I can resolve this error would be greatly appreciated.

The source code is listed below.

Thanks,

Kevin


package oracle.ifs.examples.cmsdk;

import oracle.ifs.beans.LibrarySession;
import oracle.ifs.beans.LibraryService;
import oracle.ifs.common.CleartextCredential;
import oracle.ifs.common.IfsException;

public class SimpleConnection
{

// Example:
// public static String domain = "ifs://mshannon-sun.us.oracle.com:1521:mjs.us.oracle.com:cmsdk903";
// Format:
// ifs://Database Hostname:Database Listener Port:Global Database Name:Schema Name


public static String domain = "ifs://myServer:1521:myGlobalDbName:mySchemaName"; // does this look right?
public static String schemapassword = "myPassword";
public static String serviceconfiguration =null; // not sure what this should be, any ideas???
public static String servicename = "ifssys";

public static String user_name = "ifssys";
public static String user_password = "mypassword";

public static void main(String[] args)
{
LibraryService service = null;
LibrarySession session = null;

try
{


// create LibraryService


service = LibraryService.startService(
servicename, schemapassword, serviceconfiguration, domain
);

// generate Credential
CleartextCredential cred = new CleartextCredential(user_name,user_password);

// establish LibrarySession by supplying credential to LibraryService
session = service.connect(cred, null);

System.out.println("LibraryService: "+session.getServerVersionString());

System.out.println("Connected as: "+session.getUser().getName());

}
catch (IfsException e)
{
System.out.println(e.toLocalizedString());
e.printStackTrace();
}
finally
{
try
{
// disconnect LibrarySession
session.disconnect();
}
catch(IfsException e)
{
System.out.println(e.toLocalizedString());
}
}
}
}

Previous Topic: voice database
Next Topic: Contentbased Search
Goto Forum:
  


Current Time: Sat Oct 25 23:05:52 CDT 2014

Total time taken to generate the page: 0.11859 seconds