Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all 1088 articles
Browse latest View live

Change DataProvider source via WebiServices.document in Webi UI Extensions ?

$
0
0

Hi,

 

I'd like to be able to build something into WebI via Web Intelligence UI Extension Points, that can change a dataprovider for a report from one Universe to another Universe (unv to unx in this case)

 

I know it's possible via RESTful Web Services, but I'd like to do it from within an Extension.

 

The documentation for 4.1 shows a WebIntelligence Service JavaScript method WebiServices.document.updateDataProvider but it doesn't seem to take an argument for a new UniverseId.

 

Is there another way to do this via the JavaScript API ?  If not is this something that might be added to the WebIntelligence Service JavaScript API in 4.2 ?

 

If the answer to both of these is no, is there a way of accessing the RESTful Web Services calls from within the WebIntelligence Service JavaScript API without having to make another call to create a session etc ?

 

Thanks,

Hayden


Retrieve the report content for display using RESTful Services

$
0
0

Hi All,

 

I am using the CR for Enterprise to build report. So far as I knew. the report from CR for Enterprise can't be opened with either of the SDK's, .NET or Java.

Otherwise I will got error with 'Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.".

 

so firstly I have to deploy the report to CR Server 2013 of SAP BI.

Now I am trying to build a .Net application to view these report.

 

So far I have tried the below ways. But doesn't get it through . Please help to review it .

 

1. RESTful doesn't matter with what language we build for the application. so I believe this is the right choice to go .

 

So I logon the RESTful Services, and try to use the export services. but didn't make it .

What get me stuck with is I can't get correct RESTful url for the specified RESTful services.

I can logon with the url "http://<servername>:6405/biprws/logon/long".

and I can retrieve the reports information under a specified folder with the url  "http://<servername>:6405/biprws/infostore/<folderid>/children/"

and also can retrieve a specified report information with the url "http://<servername>:6405/biprws/infostore/<reportid>"

 

But I can't view a report with the format like PDF.

I tried these urls below

"http://<baseURI>/infostore/<reportID>/rpt/export?mime_type=application/PDF".(get error 404)

"http://<baseURI>/raylight/v1/documents/<reportID>".(get error 404)

"http://<baseURI>/infostore/<reportID>".(the reponse doesn't support the accept type)

 

the code looks like below:

            ....

            WebRequest myWebRequest = WebRequest.Create(LogonURI);

            myWebRequest.ContentType = "application/xml";

            myWebRequest.Method = "GET";

            //Returns the response to the request made

            WebResponse myWebResponse = myWebRequest.GetResponse();

            //Creating an instance of StreamReader to read the data stream from the resource

            StreamReader sr = new StreamReader(myWebResponse.GetResponseStream());

            //Reads all the characters from the current position to the end of the stream and store it as string

            string output = sr.ReadToEnd();

            //Initialize a new instance of the XmlDocument class

            XmlDocument doc = new XmlDocument();

            //Loads the document from the specified URI

            doc.LoadXml(output);

            //Returns an XmlNodeList containing a list of all descendant elements

            //that match the specified name i.e. attr

            XmlNodeList nodelist = doc.GetElementsByTagName("attr");

            //  Add the logon parameters to the attribute nodes of the document

            foreach (XmlNode node in nodelist)

            {

                if (node.Attributes["name"].Value == "userName")

                    node.InnerText = userName;

                if (node.Attributes["name"].Value == "password")

                    node.InnerText = password;

                if (node.Attributes["name"].Value == "auth")

                    node.InnerText = auth;

            }

            //Making POST request to /logon/long to receive a logon token

            WebRequest myWebRequest1 = WebRequest.Create(LogonURI);

            myWebRequest1.ContentType = "application/xml";

            myWebRequest1.Method = "POST";

            byte[] reqBodyBytes = System.Text.Encoding.Default.GetBytes(doc.OuterXml);

            Stream reqStream = myWebRequest1.GetRequestStream();

            reqStream.Write(reqBodyBytes, 0, reqBodyBytes.Length);

            reqStream.Close();

            try

            {

                WebResponse myWebResponse1 = myWebRequest1.GetResponse();

                 rwsLogonToken = myWebResponse1.Headers["X-SAP-LogonToken"].ToString();

                HttpWebRequest myWebRequest2 = (HttpWebRequest)WebRequest.Create(InfoStoreURI);

                myWebRequest2.Accept = "application/PDF";

                myWebRequest2.Headers.Add("X-SAP-LogonToken", rwsLogonToken);

                myWebRequest2.Method = "GET";

                WebResponse myWebResponse2 = myWebRequest2.GetResponse();

                FileStream stream = new FileStream(Request.PhysicalApplicationPath + "output.pdf", FileMode.Create);

                Stream pdfStream = null;

                using (pdfStream = myWebResponse2.GetResponseStream())

                {

                    pdfStream.CopyTo(stream);

                }

                stream.Close();

                Response.Redirect("output.pdf");

            }

            catch (WebException ex)

            {

                //error while accessing the network through a pluggable protocol

                Response.Write("<b>" + ex.Message + "</b>");

            }

            catch (Exception ex)

            {

                //generic error

                Response.Write("<b>" + ex.Message + "</b>");

            }

            ....

 

and I try to get all the documents with url "http://<baseURI>/raylight/v1/documents".

but seems I did't get any available document to use.

the response xml content is below.

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<documents/>

 

 

2. OpenDocument also doesn't matter with the language specification. so it is also a good choice.

So I followed this article http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=314933510 and  Trying to use the openDocument url to view the reports. in this way I can view the report but have another problem !

The report has some parameters(please review the attachment) . I don't know how to pass these parameters by the url. I read through the openDocument guide http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_opendocument_en.pdf. But didn't found a way to make it . Please help me to get out of this situation. Thanks.

/queryplan returns HTTP 204

$
0
0

I was able to successfully get the SQL from one report.  Upon trying it on the second report:

 

GET /biprws/raylight/v1/documents/316875/dataproviders/DP0/queryplan

 

I get:

 

HTTP/1.1 204 No Content

Date: Fri, 26 Feb 2016 21:42:45 GMT

Server: Apache-Coyote/1.1

Content-Type: text/xml

Content-Length: 0

Keep-Alive: timeout=5, max=88

Connection: Keep-Alive

 

I was able to open the report in WebI and view the SQL, so there is nothing wrong with the report.

Formatted SQL

$
0
0

So I found dataproviders/x/queryplan to get a WebI document's SQL.  But the SQL is all on one line.  If my report's SQL is:

 

select     blah,     foo,     bar
from     table

then the /queryplan result will look like:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><queryplan editable="true" custom="false">    <statement index="1">select blah, foo, bar from table</statement></queryplan>

How do I get the query's SQL in its original form?

Schedule report to Cloud Destinations like Box or Google Drive

$
0
0

Hello Experts,

 

Is there are anyway we can schedule reports to Cloud Destinations like Box or Google Drive using RESTful Webservices?

 

Right now we have five options:

 

1. Default Destination

2. FTP

3. BI Inbox

4. Email

5. File System

 

Which of the above option can be possibly used?

 

Thanks in advance...

Will RESTful SDK for CRE provide functional parity with RAS?

$
0
0

Hello,

 

The Report Application Server SDK (RAS) provides an detailed API in Java for working with CR documents.

 

This api does not work with Crystal Reports for Enterprise documents (CRE).  We were told to use RESTFul WebServices for CRE instead.

 

Unfortunately the RESTful WS for CRE does not provide much functionality (e.g. no access to report definition information, no access to report data definitions .... ).

 

Will the RESTful Web Services SDK for CRE provide functional parity with the RAS SDK in a near future?

 

 

Thanks,

Bernd

Export webi to PDF, XLS in Asp.NET using RESTFul Web Services

$
0
0

I'm using VS 2010 to connect to BO 4.0 via RESTFul Web Services.

Successfully, I'm able to establish connection and display report in Asp.NET.

 

I'm not able to export it to PDF.

Someone who knows can you please share a code sample?

 

Thanks in advance,

Rajini

How to obtain the timestamp of a schedule for which I get the details?

$
0
0

Please find below the extract from documentation showing the syntax of XML returned by the Web Services call. What is missing for me, is the timestamp. I wonder if you guys encountered this and have any idea how to obtain this (timestamp) information about the schedule via RESTFUL web services ?

<schedule>

<id>9439</id>

<name>GC-now-schedule</name>

<format type="webi"/>

<status>Completed</status>

</schedule>


Restful web service creation in SAP

$
0
0

Hi, We have requirement to create the webservice and provide to third party. We have created web service through SE37 but it is based on SOAP protocol, third party is not able to consume the same, They are asking us to provide Restful webservice. Any help will be appreciated.

Crystal Report Instance with JavaScript Viewer API

$
0
0

I was able to implement a sample Crystal Reports Viewer using  the JavaScript API (http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_cr_js_api_en.pdf).

 

However, I am not sure how to open a report instance within this viewer. When I use the report ID itself, report shows up with relevant login and report parameters prompts. But when I use the report instance ID, I keep getting an error (CRWEB00000119). This report instance has been successfully generated and can be viewed through CMC and Launch Pad. I have also tried a couple of reports, one with a RPT output format and another one with Excel output format but they both result in the same error.

 

Is it even possible to display report instance through this API? I see a class and a method in this API (SAP.CR.Parameter and addvalue()) which allows someone to pass parameters to the report. In my case since instance has already been generated, I don't want to have to pass the parameters again and execute the report before displaying it. I am looking for a similar functionality that OpenDocument offers to view a report instance.

 

Any pointers will be helpful.

 

Thanks.

Adnan

 

 

 

Sample Code:

 

<head>

<script src="http://<hidden servername:port>/clientapi/CR/ViewerSeed.js"></script>

<script type="text/javascript">

  var token = null;

  function init() {

  token = "<hidden token>";

 

  SAP.CR.Viewer.create("crystalViewer", 'viewerContainer1', onViewerInit, onViewerFailure);

  }

 

 

  function onViewerInit (viewerInstance) {

  viewerInstance.setReportSource('<instance id>', token);

  }

 

 

  function onViewerFailure(instance, error){

  alert(error);

  }

 

 

</script>

 

 

<style>

  .viewerStyle

  {

  position : absolute;

  left : 1.5%;

  top : 0.5%;

  width : 100%;

  height : 100%;

  }

</style>

 

 

</head>

 

 

<body onload="init()">

 

 

<div id="viewerContainer1" class = "viewerStyle"></div>

</body>

How to troubleshoot RESTful login problem ?

$
0
0

Hello,

 

I hope it's the best place to get a solution because I'm becoming crazy !


My environment is :

 

# Client

Windows Server 2008R2 SP1

MS Office 2010 32-bit

Live Office 4.1 SP7

 

# Server

Windows Server 2008R2 SP1

Tomcat 7.0.59 + JRE 8_66

BO BI 4.1 SP7

 

 

 

I've upgraded to BO BI 4.1 SP7 and when I try to login from "Live Office", I've got  "LO 02049" error for WinAD and Enterprise authentication modes.

 

In CMC, I have:

RESTful URL: http://servername:6405/biprws => in browser: no answer !?!

Web service URL: http://servername:8080/dswsbobje   => in a browser, gives me Axis2 welcome page

WACS is ON, with RESTful in its parameters, and restarted many times

 

IT seems to be a problem with RESTful service: http://servername:6405/biprws/logon/long => in Chrome browser: Unreachable page - ERR_CONNECTION_RESET

 

No firewall problem :

6405 destination port tested from client : listening

and I reproduce the ERR_CONNECTION_RESET even on BI 4.1+Tomcat server.

 

In Live Office log, I find:

"Une erreur s'est produite lors de la demande du jeton du service REST"

= An error occured during the request of the token of the REST service

 

Very helpful message ! What kind of error ???

 

Any idea to solve this problem ?

I read many many posts without success.

 

 

Regards,

 

Stephane.

List of documents by folder name

$
0
0

Hello Friends,

 

I use the following method call to get the list of all the documents 50 at a time.

 

request.send(BIP_RWS + "/raylight/v1/documents?offset="+offsetindex+"&limit=50", "GET", null);

 

Is it possible to extract the list of documents from a specific public folder by using the folder name?

 

Regards,

-Chris

Change DataProvider source via WebiServices.document in Webi UI Extensions ?

$
0
0

Hi,

 

I'd like to be able to build something into WebI via Web Intelligence UI Extension Points, that can change a dataprovider for a report from one Universe to another Universe (unv to unx in this case)

 

I know it's possible via RESTful Web Services, but I'd like to do it from within an Extension.

 

The documentation for 4.1 shows a WebIntelligence Service JavaScript method WebiServices.document.updateDataProvider but it doesn't seem to take an argument for a new UniverseId.

 

Is there another way to do this via the JavaScript API ?  If not is this something that might be added to the WebIntelligence Service JavaScript API in 4.2 ?

 

If the answer to both of these is no, is there a way of accessing the RESTful Web Services calls from within the WebIntelligence Service JavaScript API without having to make another call to create a session etc ?

 

Thanks,

Hayden

Poor performance refreshing LiveOffice document

$
0
0

Hi,

 

We are using Live Office 4.1 SP6 Patch 5, and we've noted that refreshing Live Office objects associated to WebI, the performance was so bad, compared to when we were still not using RESTFul web service (prior to patch).  Any suggestion on improving the LiveOffice refresh performance when using RESTFul web service?

 

Thanks

Aloy

SecWinAD authentication using the REST SDK...

$
0
0

Hi,

Trying out the REST sdk (with 4.1) and have hit a problem from the start.  I guess i'm missing some config somewhere but here's the issue...

 

I create an enterprise user in the CMC in the everyone group...

 

Using POSTMAN in Chrome I hit the logon service with...

 

http://server:6405/biprws/logon/long

POST

Accept           application/json

Content-Type  application/json

  
{

     "userName": "testREST",

     "password": "testREST",

     "auth": "SecEnterprise"

}

 

if works and returns "logonToken"...

 

I then try as an Active Diretcory user (the one I used to create the test enterprise account who is a member of administrators..me.) CMC logon is fine using AD and the standard /BI logon is configured for SSO and also logs in fine.

 

so I go with...

 

{

     "userName": "JBRAKER"

     "password": "myADpassword"

     "auth": "SecWinAD"

}

 

It returns error "FWM 00006" with Active Diretcory Authentication failed to log you on.

 

I've tried using @domain and changing server url to FQDN but no joy.

 

Any ideas what i'm missing?  As mentioned the server is setup for AD SSO but i see nothing to configure for the REST services apart from the URL in the CMC.

 

Thanks!

Jeremy


How to schedule Webi Documents with Prompts with RESTful Web Services

$
0
0

Hello,

 

I am trying to schedule Webi Documents with Prompts using RESTful Web Services with prompts. I am using Simple Rest Client app provided by Google Chrome. We have Business Objects SP6 Patch 1.

 

However the documentation for RESTful Web Services has only examples for the following

 

1. Schedule Documents without any Prompts to various destinations and recurrences.

2. Refresh Documents with Prompts.

 

Is there any example for scheduling documents with prompts? Please advise

 

Thanks in advance

BO 4.1 Universe Metadata extraction using Java Restful Webservice

$
0
0


Hi

 

We are building an application using the Restful webservice and are trying to extract the metadata from the Universe.

We are using BO4.1 SP3 pack.We are able to extract details of universe(unx),but we intend to extract tables and joins in universe.

Whether there is any URL to retrieve Tables and joins from Data Foundation Layer.

 

Please help.

 

Regards,

Kavitha S

HTTPS for RESTful web service ?

$
0
0

Hello,

 

How to configure HTTPS/TLS for "RESTful web service" and "Web Service" application ?

 

I didn't find any clear explaination...

 

Default URL are:

Properties: RESTful Web Service

URL: http://server_name:6405/biprws

Properties: Web Service

URL :http://server_name:6405/dswsbobje

 

I configured WACS HTTPS connector following this note:

http://service.sap.com/sap/support/notes/1618311

I use port 443 for Tomcat and port 8443 for WACS

 

Then I changed web services properties:

Properties: RESTful Web Service

URL: https://server_name:8443/biprws

 

Properties: Web Service

URL :https://server_name:8443/dswsbobje

 

These 2 URL are well answering from the client.

 

When I try to connect in "Live Office", I get "LO 02049" error.

 

Has anybody a working example of HTTPS configuration for these web services ?

What must be used for field "Bind to Hostname or IP Address" in HTTPS section of WACS properties ? Local FDQN ? Public FDQN ?

Or "hostname" is mandatory ?

 

In certificate, what must be "CN" equal to ? Local FDQN ? Public FDQN ? Hostname ?

 

Regards,

 

Stéphane.

"Invalid UTF-8 start byte 0xbf" when changing universes

$
0
0

I'm attempting to change a report to another universe using REST, and I am getting the following error after submitting the mapping:

 

<error_code>RWS 00070</error_code>
<message>Internal server error. (RWS 00070)</message>
<stack_trace>javax.ws.rs.WebApplicationException: java.lang.RuntimeException: [was class java.io.CharConversionException] Invalid UTF-8 start byte 0xbf (at char #54921, byte #51299)&#13;

    at org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElementProvider.java:165)&#13;

    at com.sap.webi.raylight.ExtendedJAXBElementProvider.readFrom(ExtendedJAXBElementProvider.java:63)&#13;

    at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody(JAXRSUtils.java:1030)&#13;

    at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter(JAXRSUtils.java:610)&#13;

    at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters(JAXRSUtils.java:575)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:239)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)&#13;

    at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)&#13;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)&#13;

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)&#13;

    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)&#13;

    at java.util.concurrent.FutureTask.run(FutureTask.java:138)&#13;

    at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)&#13;

    at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)&#13;

    at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)&#13;

    at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)&#13;

    at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)&#13;

    at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)&#13;

    at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)&#13;

    at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)&#13;

    at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)&#13;

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)&#13;

    at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&#13;

    at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)&#13;

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)&#13;

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)&#13;

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)&#13;

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)&#13;

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)&#13;

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)&#13;

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)&#13;

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)&#13;

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)&#13;

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)&#13;

    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)&#13;

    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)&#13;

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)&#13;

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)&#13;

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)&#13;

    at java.lang.Thread.run(Thread.java:763)&#13;

Caused by: java.lang.RuntimeException: [was class java.io.CharConversionException] Invalid UTF-8 start byte 0xbf (at char #54921, byte #51299)&#13;

    at com.ctc.wstx.util.ExceptionUtil.throwRuntimeException(ExceptionUtil.java:18)&#13;

    at com.ctc.wstx.sr.StreamScanner.throwLazyError(StreamScanner.java:731)&#13;

    at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3657)&#13;

    at com.ctc.wstx.sr.BasicStreamReader.getTextCharacters(BasicStreamReader.java:830)&#13;

    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleCharacters(StAXStreamConnector.java:312)&#13;

    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:176)&#13;

    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:351)&#13;

    at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:323)&#13;

    at org.apache.cxf.jaxrs.provider.JAXBElementProvider.unmarshalFromInputStream(JAXBElementProvider.java:211)&#13;

    at org.apache.cxf.jaxrs.provider.JAXBElementProvider.doUnmarshal(JAXBElementProvider.java:177)&#13;

    at org.apache.cxf.jaxrs.provider.JAXBElementProvider.readFrom(JAXBElementProvider.java:146)&#13;

    ... 46 more&#13;

Caused by: java.io.CharConversionException: Invalid UTF-8 start byte 0xbf (at char #54921, byte #51299)&#13;

    at com.ctc.wstx.io.UTF8Reader.reportInvalidInitial(UTF8Reader.java:302)&#13;

    at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:188)&#13;

    at com.ctc.wstx.io.ReaderSource.readInto(ReaderSource.java:84)&#13;

    at com.ctc.wstx.io.BranchingReaderSource.readInto(BranchingReaderSource.java:57)&#13;

    at com.ctc.wstx.sr.StreamScanner.loadMore(StreamScanner.java:992)&#13;

    at com.ctc.wstx.sr.BasicStreamReader.readTextSecondary(BasicStreamReader.java:4628)&#13;

    at com.ctc.wstx.sr.BasicStreamReader.readCoalescedText(BasicStreamReader.java:4126)&#13;

    at com.ctc.wstx.sr.BasicStreamReader.finishToken(BasicStreamReader.java:3701)&#13;

    at com.ctc.wstx.sr.BasicStreamReader.safeFinishToken(BasicStreamReader.java:3649)&#13;

    ... 54 more&#13;

 

Any idea what might be causing this?

 

Changing the universe manually (via WebI) works fine.

RESTful SDK Error "Connection to CMS could not be restored." / WACS issue

$
0
0

Hi experts,

I have a problem with the RESTful SDK, WACS and the connection to the CMS. After some time of working with the RESTful SDK, I get the followin error message (translated from german, so might not be a 1:1 fit in wording to english):

 

Error Code: WSR 00999

Internal Error (Connection to CMS … could not be restored. The session was logged off or has expired. FWM 01002)

 

My program works as follows, in a BO 4.1 SP5 environment:

 

I have a program object, an implementation of the IProgramBase Interface that can be scheduled in the CMC/LaunchPad. It exports a list of documents (approx. 500) to PDF files sequentially and stores them on the hard disc. To export the documents to PDF, we use the RESTful SDK. The program object uses the given EnterpriseSession (via the IProgramBase interface) to create logon tokens that are then used in the requests to the REST SDK/WACS. Each individual PDF-export uses a unique logon token for it's SDK requests.

 

The error materializes in two ways:

  1. When the program object runs, after some time (~2 hours), the export logic suddenly gets errors from the SDK, stating that the connection to the CMS is no longer possible.
  2. The program object finishes successfully, but when it is started the next time, the SDK immediately throws errors stating that the connection to the CMS is not possible.

 

Note that in either way, I first fire a logon request with a token to the SDK

GET http://localhost:6405/biprws/logon/long

then retrieve parameters/prompts, fill them, and set them again. All of this is done as in the documentation. I'm no newbie to the RESTful SDK and the requests are unified across many projects and work like a charm. In the current scenario, the logon succeeds, but the next request (e.g. retrieve prompts from the document) then fails with above error message.

 

The only “fix” is to restart the WACS server, which is difficult in a production environment.

 

In both scenarios, the BO system works fine in LaunchPad or other clients.

 

Here's a list of exception stacktraces that appear in the Web Application Container Server (WACS) log:

 

ERROR 1:
Translation from german: Internal Error ("Connection to CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 cannot be restored. The session was logged off or has expired. (FWM 01002)
|F0CCD415F1E3497DA165781272BF8954f9d|2015 08 12 20:02:25.648|+0200|Debug|Error|<<| | |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 341|http-bio-0.0.0.0-6405-exec-22| |0|0|0|0|-|-|-|-|-|-|Ck3Nls0rDUpfgUszv0xpreQ3b8d|||||||||com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||Interner Fehler ("Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)")
com.sap.webi.raylight.RaylightException: Interner Fehler ("Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)")            at com.sap.webi.raylight.context.Messenger.internalError(Messenger.java:91)            at com.sap.webi.raylight.actions.ActionDispatcher.handleUnexpectedError(ActionDispatcher.java:142)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:122)            at com.sap.webi.raylight.RaylightServiceDocumentParameters.getParameters(RaylightServiceDocumentParameters.java:155)            at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)            at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)            at java.util.concurrent.FutureTask.run(FutureTask.java:138)            at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)            at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)            at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)            at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)            at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)            at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)            at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:108)            at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)            at java.lang.Thread.run(Thread.java:763)
Caused by: com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)            at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:152)            at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:109)            at com.businessobjects.sdk.core.server.internal.session.SelectDataFromCMSCommand.execute(SelectDataFromCMSCommand.java:116)            at com.businessobjects.sdk.core.server.internal.corba.CorbaServerImpl.doProcess(CorbaServerImpl.java:79)            at com.businessobjects.sdk.core.server.internal.AbstractServer.processIt(AbstractServer.java:171)            at com.businessobjects.sdk.core.server.internal.AbstractServer.process(AbstractServer.java:133)            at com.sap.webi.raylight.util.impl.CmsRequestHelper.process(CmsRequestHelper.java:256)            at com.sap.webi.raylight.util.impl.CmsRequestHelper.process(CmsRequestHelper.java:280)            at com.sap.webi.raylight.util.impl.CmsRequestHelper.documentExist(CmsRequestHelper.java:86)            at com.sap.webi.raylight.context.RaylightContext.openDocument(RaylightContext.java:490)            at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:427)            at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:391)            at com.sap.webi.raylight.context.RaylightContext.getDocument(RaylightContext.java:125)            at com.sap.webi.raylight.business.ParameterHelper.getWorkspace(ParameterHelper.java:88)            at com.sap.webi.raylight.business.ParameterHelper.<init>(ParameterHelper.java:107)            at com.sap.webi.raylight.actions.parameter.GetDocumentParametersAction.execute(GetDocumentParametersAction.java:25)            at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)            ... 48 more
Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)
cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$LogonFailover: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)
cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2            at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:142)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.<init>(InternalInfoStore.java:176)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStoreFactory.makeOCCA(InternalInfoStoreFactory.java:119)            at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.<init>(InfoStore.java:87)            at com.crystaldecisions.sdk.occa.infostore.internal.InfoStoreFactory.makeOCCA(InfoStoreFactory.java:62)            at com.businessobjects.sdk.core.server.internal.session.SelectDataFromCMSCommand.execute(SelectDataFromCMSCommand.java:58)            ... 66 more
Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$LogonFailover: Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002)
cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
detail:Verbindung zum CMS FS00PGG8.R5312.ADS.FIDUCIA.DE:6400 kann nicht wiederhergestellt werden. Die Sitzung wurde abgemeldet oder ist abgelaufen. (FWM 01002) IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2            at com.crystaldecisions.enterprise.ocaframework.FailoverLogonService.logonWithToken(FailoverLogonService.java:293)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.reconnectCMS(ManagedSession.java:771)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateServer(ManagedSession.java:756)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateStatelessService(ManagedSession.java:574)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.newService(ManagedSession.java:983)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:278)            at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:299)            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody4(ServiceMgr.java:539)            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody5$advice(ServiceMgr.java:512)            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:1)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.init(InternalInfoStore.java:1442)            at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.<init>(InternalInfoStore.java:172)            ... 70 more
Caused by: com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2            at com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuseHelper.read(oca_abuseHelper.java:106)            at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAs._LogonEx6Stub.LogonWithTokenEx5(_LogonEx6Stub.java:488)            at com.crystaldecisions.enterprise.ocaframework.FailoverLogonService.logonWithToken(FailoverLogonService.java:226)            ... 81 more
at com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper.toResponse(RestRuntimeExceptionMapper.java:16)
-------------------------------------------------------------------
ERROR 2:
Translation from German: Not found (RWS 00005)
|F0CCD415F1E3497DA165781272BF8954f9e|2015 08 12 20:02:25.679|+0200|Debug|Error|<<| | |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 337|http-bio-0.0.0.0-6405-exec-18| |0|0|0|0|-|-|-|-|-|-|Ck3Nls0rDUpfgUszv0xpreQ3b8f|||||||||com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||Nicht gefunden (RWS 00005)
com.sap.bip.rs.exceptions.NotFoundException            at com.sap.bip.rs.RootResource.ResolveRootResource(RootResource.java:64)            at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)            at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)            at java.util.concurrent.FutureTask.run(FutureTask.java:138)            at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)            at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)            at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)            at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)            at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)            at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)            at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doDelete(AbstractHTTPServlet.java:114)            at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)            at java.lang.Thread.run(Thread.java:763)
at com.sap.bip.rs.log.Log.log(Log.java:35)
-------------------------------------------------------------------
ERROR 3:
|F0CCD415F1E3497DA165781272BF8954fa1|2015 08 12 20:03:04.024|+0200|Error| |==|E| |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 314|com.sap.bip.rs.nmemo.NMemo Cleanup Thread| ||||||||||||||||||||com.crystaldecisions.enterprise.ocaframework.FailoverLogonService||logonWithToken(): Failed to relogon, aps=FS00PGG8.R5312.ADS.FIDUCIA.DE:6400,token={3&2=19111,U3&p=42228.7514490278,Y7&2v=FS00PGG8.R5312.ADS.FIDUCIA.DE:6400,UP&68,UP&S9=14315,U3&qe=100,U3&vz=AdbSIb2IuU_o7FB7nPNxUkWQoI1ECuYNvIGArxg2SCc,UP}, errorCode=10503
com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2            at com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuseHelper.read(oca_abuseHelper.java:106)            at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAs._LogonEx6Stub.SessionLogonWithToken(_LogonEx6Stub.java:218)            at com.crystaldecisions.enterprise.ocaframework.FailoverLogonService.logonWithToken(FailoverLogonService.java:223)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.reconnectCMS(ManagedSession.java:771)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateServer(ManagedSession.java:756)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validateStatelessService(ManagedSession.java:574)            at com.crystaldecisions.enterprise.ocaframework.ManagedSession.validate(ManagedSession.java:544)            at com.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:491)            at com.crystaldecisions.sdk.occa.security.internal._SessionBatchEx3Proxy.ComponentLogoffEx(_SessionBatchEx3Proxy.java:184)            at com.crystaldecisions.sdk.occa.security.internal.SecuritySession.logoff(SecuritySession.java:558)            at com.crystaldecisions.sdk.framework.internal.EnterpriseSession.logoffComponent(EnterpriseSession.java:408)            at com.sap.bip.rs.session.SessionInternal$2.cleanup(SessionInternal.java:86)            at com.sap.bip.rs.session.SessionInternal$2.cleanup(SessionInternal.java:83)            at com.sap.bip.rs.nmemo.NMemo$2.cleanup(NMemo.java:75)            at com.sap.bip.rs.nmemo.NMemo$2.cleanup(NMemo.java:72)            at com.sap.bip.rs.nmemo.impl.NMemoWrap.cleanup(NMemoWrap.java:52)            at com.sap.bip.rs.nmemo.NMemo.cleanupNMemoWrap(NMemo.java:170)            at com.sap.bip.rs.nmemo.NMemo.cleanup(NMemo.java:154)            at com.sap.bip.rs.nmemo.impl.NMemoCleanupThread$1.run(NMemoCleanupThread.java:38)            at java.lang.Thread.run(Thread.java:763)
-------------------------------------------------------------------
ERROR 4: "Internal Error"
|F0CCD415F1E3497DA165781272BF8954fa0|2015 08 12 20:02:30.702|+0200|Debug|Error|<<| | |wacs_FS00PGG8.WebApplicationContainerServer| 1016| 337|http-bio-0.0.0.0-6405-exec-18| |0|0|0|0|-|-|-|-|-|-|Ck3Nls0rDUpfgUszv0xpreQ3b90|||||||||com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||Interner Fehler ("while trying to invoke the method com.businessobjects.sdk.core.server.IServer.getServerContext() of a null object returned from com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.getServer(com.businessobjects.sdk.core.context.IContext, com.businessobjects.rebean.wi.model.engine.IDocumentInstance)")
com.sap.webi.raylight.RaylightException: Interner Fehler ("while trying to invoke the method com.businessobjects.sdk.core.server.IServer.getServerContext() of a null object returned from com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.getServer(com.businessobjects.sdk.core.context.IContext, com.businessobjects.rebean.wi.model.engine.IDocumentInstance)")            at com.sap.webi.raylight.context.Messenger.internalError(Messenger.java:91)            at com.sap.webi.raylight.actions.ActionDispatcher.handleUnexpectedError(ActionDispatcher.java:142)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:122)            at com.sap.webi.raylight.AbstractRaylightServiceDocument.updateDocument(AbstractRaylightServiceDocument.java:191)            at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)            at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:242)            at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:91)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)            at java.util.concurrent.FutureTask.run(FutureTask.java:138)            at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)            at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)            at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)            at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:102)            at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:464)            at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:149)            at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletController.java:93)            at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPut(AbstractHTTPServlet.java:120)            at javax.servlet.http.HttpServlet.service(HttpServlet.java:649)            at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)            at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)            at java.lang.Thread.run(Thread.java:763)
Caused by: java.lang.NullPointerException: while trying to invoke the method com.businessobjects.sdk.core.server.IServer.getServerContext() of a null object returned from com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.getServer(com.businessobjects.sdk.core.context.IContext, com.businessobjects.rebean.wi.model.engine.IDocumentInstance)            at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.closeDocument(DocumentInstanceManagementServiceImpl.java:277)            at com.sap.webi.raylight.context.RaylightContext.closeDocument(RaylightContext.java:548)            at com.sap.webi.raylight.actions.document.UpdateDocumentAction.execute(UpdateDocumentAction.java:48)            at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)            at java.lang.reflect.Method.invoke(Method.java:597)            at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)            at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)            ... 47 more

Any suggestions what I can do to resolve this issue? What I did in the WACS configuration is to increase XMX to 4 Gigs and PermGen to 512MB. I also removed the BOE service from the WACS. The rest is pretty much standard WACS config.

 

Any help is greatly appreciated!

Regards,

Fabio

Viewing all 1088 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>