Topic
No replies
SystemAdmin
SystemAdmin
4447 Posts
ACCEPTED ANSWER

Pinned topic Connecting to OnDemand error

‏2012-02-06T17:54:01Z |
Hello,

I am trying to connect to OnDemand and receive the error:
"The server was unable to initialize. Contact your system administrator".

When i look the error up (http://publib.boulder.ibm.com/infocenter/cmod/v8r4m0/index.jsp?topic=/com.ibm.ondemand.doc/ars5m37111.htm) it says to contact your IBM Service Rep:

ARS2085EThe server was unable to initialize. Contact your system administrator.
Explanation:
The command failed when attempting to initialize the server.

User response:
Contact your IBM Service Representative.
I have added the ODWEK to the system variables and I am using the below code. Do I need to somehow setup OnDemad to allow this connection?

Properties odwekProps = new Properties();

ODConfig odconfig;
ODServer odserver;

String port = null;
String sn = null;

try{
long l = 500;
odconfig = new ODConfig("pdf", "applet", "", l, "/applets", "ENU", "c:\\temp", "c:\\temp",4);//, "172.20.248.65", "Username", "PASSWORD");
odserver = null;

try
{
odserver = new ODServer(odconfig);
}
catch(Throwable e)
{
e.printStackTrace();
}

if(odserver == null)
{
System.out.println("Error here!");
return;
}

odserver.setPort(1450);
odserver.logon();

Thanks