We are using windows machines with CMS Running on network machines.(SAP BO BI 4.1)
connecting to CMS for BI Launchpad and successfully designed all the reports.
Now we want to refresh and export webi report to local drive in specific format.
with following code(using sdk provided for java ):
IEnterpriseSession enterpriseSession = null;
ReportEngines reportEngines = null;
try {
String host = "xxx.xx.xx.xxx";
String user = "user";
String pass = "password";
String auth = "secEnterprise";
String port = "xxxx";
String name = "";
ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
enterpriseSession = sessionMgr.logon(user, pass,
host+":"+port, auth);
Could not reach CMS 'ipaddress:port'. Specify the correct host and port and check for network issues. (FWM 20030)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:695)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:838)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:815)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:211)
at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:177)
at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody0(SessionMgr.java:454)
at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody1$advice(SessionMgr.java:512)
at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1)
at com.sapscheduler.ExportWebiDocument.main(ExportWebiDocument.java:57)
Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Server ipaddress:port not found or server may be down (FWM 01003)
cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$NotFoundInDirectory: Server ipaddress:port0 not found or server may be down (FWM 01003)
cause:java.net.SocketTimeoutException: Read timed out
detail:Server ipaddress:port not found or server may be down (FWM 01003) Read timed out
detail:Server ipaddress:port not found or server may be down (FWM 01003) Read timed out
at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:140)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:694)
... 8 more
Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$NotFoundInDirectory: Server ipaddress:port not found or server may be down (FWM 01003)
cause:java.net.SocketTimeoutException: Read timed out
detail:Server ipaddress:port not found or server may be down (FWM 01003) Read timed out
at com.crystaldecisions.enterprise.ocaframework.RawSocketDirectory.find(RawSocketDirectory.java:310)
at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildBootstrapAPSInfo(APSServerHandler.java:256)
at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildAPSClusterInfo(APSServerHandler.java:514)
at com.crystaldecisions.enterprise.ocaframework.APSServerHandler.buildServerInfo(APSServerHandler.java:192)
at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:534)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:959)
at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:258)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody4(ServiceMgr.java:520)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:1)
at com.crystaldecisions.sdk.occa.security.internal.LogonService.ensureServiceStub(LogonService.java:651)
... 8 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)Finished!
at java.io.DataInputStream.readInt(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.RawSocketDirectory.find(RawSocketDirectory.java:277)
... 17 more
Exception in thread "main" java.lang.NullPointerException
at com.sapscheduler.ExportWebiDocument.main(ExportWebiDocument.java:77)
Finished!
Kindly address my problem and help me out.
Please help me.
Thanks a tone.