on 05-10-2011 9:19 AM
Hi All,
I'm getting SDKRuntimeException while trying to retrieve files associated with scheduled instance of a report. This code was running perfectly fine when hosted on another web server few months back. Now this war is hosted on BO WebLogic server.
I have checked and restarted FRS and CMS servers. Still the issue persistsu2026 please help.
Code:-
-
IRemoteFile file = (IRemoteFile)item.getFiles().get(0);
Exception:-
-
com.crystaldecisions.sdk.exception.SDKRuntimeException$UnexpectedCause: An unexpected error has occured. The exception originally thrown was: Server Output% not found or server may be down
at com.crystaldecisions.sdk.occa.infostore.internal.g.a(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.g.get(Unknown Source)
at com.citi.bocc.CBOPearlHelper.getProgramOutput(CBOPearlHelper.java:392)
at com.citi.bocc.CBOPearlHelper.runProgram(CBOPearlHelper.java:242)
at com.citi.bocc.CPLServlet.service(CPLServlet.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Server Output% not found or server may be down
cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$NotFoundInDirectory: Server Output% not found or server may be down
detail:Server Output% not found or server may be down
The exception originally thrown was com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$NotFoundInDirectory: Server Output% not found or server may be down and had the following message: Server Output% not found or server may be down
at com.crystaldecisions.sdk.exception.SDKException.map(Unknown Source)
at com.crystaldecisions.sdk.occa.filerepository.internal.h.<init>(Unknown Source)
at com.crystaldecisions.sdk.occa.filerepository.internal.FileRepositoryFactory.makeOCCA(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.g.a(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.g.if(Unknown Source)
at com.crystaldecisions.sdk.occa.infostore.internal.g.byte(Unknown Source)
... 18 more
Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$NotFoundInDirectory: Server Output% not found or server may be down
at com.crystaldecisions.enterprise.ocaframework.j.find(Unknown Source)
at com.crystaldecisions.sdk.occa.filerepository.internal.k.buildClusterInfo(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.aa.for(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.for(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source)
at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source)
The error that you are seeing makes me think there is a firewall issue between the app server and the output file repository server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for the reply.
I tired to run the program, as a thick client from desktop (login, schedule a program object, and access the program object associated file for console). To my surprise the program executed fine and printed the PO console. But when executed from WAR file (deployed on weblogic which hosts CmcApp.war,AnalyticalReporting.ear etc) the SDK exception is thrown while accessing PO associated file.
CMS and FRS are running on same system. All i could find from weblogic server logs is another exception
<May 8, 2011 5:07:58 PM EDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'bobjpsenterprise' due to error weblogic.management.DeploymentException: Exception occured while downloading files.
weblogic.management.DeploymentException: Exception occured while downloading files
at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:43)
at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:97)
at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:682)
at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:725)
Truncated. see log file for complete stacktrace
java.net.ConnectException: Tried all: 1 addresses, but could not connect over HTTPS to server: aaaaaaaaaa.bbb.cccccc.ddd port: 34641
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:284)
at weblogic.net.http.HttpsClient.openServer(HttpsClient.java:502)
at weblogic.net.http.HttpsClient.New(HttpsClient.java:566)
at weblogic.net.http.HttpsURLConnection.connect(HttpsURLConnection.java:242)
at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:75)
Truncated. see log file for complete stacktrace
How to debug this, if this issue is related to firewall?
Edited by: Anu Cherian on May 11, 2011 11:52 AM
hi Anu,
Are you able to login to the Java InfoView and open the report ...?
Thanks,
Sree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.