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

error while adding data provider to report

$
0
0

Hi ,

 

I am getting below error while adding dataprovider to blank document using Restful API

 

I am using BO 4.1 SP2, below are details of request body, I am able to GET document information, also I checked the universe connection it is working fine

 

<dataprovider>

  <name>Island Resorts Marketing</name>

  <dataSourceId>13525</dataSourceId>

</dataprovider>

 

I am passing the <id> of Island Resort Marketing universe as <dataSourceId>

 

Error:

 

 

<error>

 

  <error_code>101</error_code>

 

  <message>The data source with id '13525' is not available. Please check the connection.</message>

 

  <stack_trace>com.sap.webi.raylight.RaylightException: The data source with id '16585' is not available. Please check the connection.&#13;

 

at com.sap.webi.raylight.context.Messenger.createException(Messenger.java:57)&#13;

 

at com.sap.webi.raylight.actions.dataprovider.AddDataProviderAction.execute(AddDataProviderAction.java:76)&#13;

 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#13;

 

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#13;

 

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;

 

at java.lang.reflect.Method.invoke(Method.java:597)&#13;

 

at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)&#13;

 

at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)&#13;

 

at com.sap.webi.raylight.RaylightServiceDataproviders.addDataProvider(RaylightServiceDataproviders.java:160)&#13;

 

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#13;

 

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#13;

 

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;

 

at java.lang.reflect.Method.invoke(Method.java:597)&#13;

 

at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)&#13;

 

at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)&#13;

 

at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)&#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:641)&#13;

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

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

 

</stack_trace>

 

</error>


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.

RESTful Web Service BI 4.1 SP6 Documentation

$
0
0

Hi all,

 

Where do I find the updated documentation for the BI 4.1 SP6 RESTful Web Services SDK?

 

I am trying to find out if I can schedule a report to SFTP or secure email using RESTful web service SDK.

 

Thanks,

Chris

SFTP and Secure SMTP through SDK

$
0
0

Hi everyone,

 

In BI 4.1 SP6 there is the ability to schedule Webi reports to SFTP and secure email. We currently use the Enterprise .NET SDK (XI 3.1 SP6) to integrate report scheduling into our .NET application and this works fine with our BI 4.1 SP3 installation.

 

If we wish to make use of the new SFTP and secure email functionality do we need to upgrade our .NET SDK to the latest BI 4.1 SP6 or can we continue to use our existing XI 3.1 SP6 SDK?

 

Can we make use of RESTful web services instead of the .NET SDK to schedule reports to SFTP and secure email?

 

Thanks,

Chris

"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.

chart displaying grey color without objects

$
0
0

Hi,

 

I created Pie chart using Rest API and added report specification as well but it is showing in grey color as shown below

 

I have added query and report specifications as per attached based on existing manually created chart but still grey color is appearing

 

Also, I can see objects are missing in list pane however objects are available in query

 

 

Pie Chart1.jpeg

 

Pie Chart2.jpeg

 

Pie Chart3.jpeg

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

Pie Chart Specification

$
0
0

Hi,

 

Currently we are on BO 4.1 SP2 which does not comes with Restful samples, we are trying to create Pie chart in report using Rest API but we do not know what needs to be mentioned in terms of its specification, we tried to search as well and also looked for same in Rest API guide but could not find any sample specification for Pie Chart, please help suggest


creating chart using element

$
0
0

Hi,

 

I have followed below steps to create pie chart using elements but it is showing greyed out Bar chart instead of Pie

 

1) created blank document

2) added dataprovider

3) added query specification

4 saved document

5) refresh document

6) got elements specification using GET from existing manually created pie chart report , those specifications are attached

7) Below mentioned are elements specifications I used except header, body and footer in request body with POST method in order to create pie chart,

I mentioned below specifications one by one and finally saved document using PUT,

 

<element type="Cell">

        <id>4</id>

        <reference>UIREF:V=1:RID=1:BID=4</reference>

        <parentId>2</parentId>

        <size autofitHeight="true" autofitWidth="false" minimalHeight="1548" minimalWidth="15048"/>

        <position verticalAnchorType="None" horizontalAnchorType="None" y="432" x="7416"/>

        <padding bottom="156" top="156" right="213" left="213"/>

    </element>

 

element type="Visualization">

        <id>11</id>

        <reference>UIREF:V=1:RID=1:BID=11</reference>

        <name>Block 1</name>

        <parentId>2</parentId>

        <size minimalHeight="11250" minimalWidth="15000"/>

        <position verticalAnchorId="4" verticalAnchorType="End" horizontalAnchorType="None" y="900" x="450"/>

    </element>

 

 

Pie Chart1.jpeg

"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.

Suppress Prompts in RESTful API

$
0
0

Hi Experts,

 

In XI3.1 Deski, macros have the ability to suppress prompts to refresh the document.  I am wondering if there is a way to do the same in RESTful API in BO 4.1 SP6.  I am now using this trick to accomplish:

1) check the document to see if it has prompts by calling GET.../biprws/raylight/v1/documents/documentId/parameters

2) if it has prompts, I use the default value to refresh by calling PUT.../biprws/raylight/v1/documents/documentId/parameters with prompts; otherwise, refresh without prompts or empty parameters.

 

This works fine but I want to eliminate an extra call to the server if I may.

 

Thank you.

creating table element

$
0
0

Hi,

 

I am trying to add table element but getting below error, I am using BO 4.1 SP2

 

Is this BO version issue?, I can also see only two elements "cell" and "section" for creating element mentioned In Restful guide for 4.1 SP2

 

  • <error>
  •    <error_code>101</error_code>
  •    <message>The resource of type 'Report element' cannot be created.</message>
  •    <stack_trace>com.sap.webi.raylight.RaylightException: The resource of type 'Report element' cannot be created.&#13;
  •   at com.sap.webi.raylight.context.Messenger.createException(Messenger.java:57)&#13;
  •   at com.sap.webi.raylight.actions.reportelement.CreateReportElementAction.execute(CreateReportElementAction.java:48)&#13;
  •   at sun.reflect.GeneratedMethodAccessor278.invoke(Unknown Source)&#13;
  •   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;
  •   at java.lang.reflect.Method.invoke(Method.java:597)&#13;
  •   at com.sap.webi.raylight.actions.ActionInvoker.invokeWith(ActionInvoker.java:123)&#13;
  •   at com.sap.webi.raylight.actions.ActionDispatcher.invoke(ActionDispatcher.java:105)&#13;
  •   at com.sap.webi.raylight.RaylightServiceReportElements.createReportElement(RaylightServiceReportElements.java:105)&#13;
  •   at sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)&#13;
  •   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#13;
  •   at java.lang.reflect.Method.invoke(Method.java:597)&#13;
  •   at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)&#13;
  •   at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)&#13;
  •   at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:164)&#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: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:641)&#13;
  •   at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)&#13;
  •   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)&#13;
  •   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;
  •   at com.businessobjects.sdk.actionfilter.WorkflowFilter.doFilter(WorkflowFilter.java:45)&#13;
  •   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&#13;
  •   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&#13;
  •   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)&#13;
  •   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)&#13;
  •   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)&#13;
  •   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)&#13;
  •   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)&#13;
  •   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)&#13;
  •   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)&#13;
  •   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)&#13;
  •   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)&#13;
  •   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)&#13;
  •   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)&#13;
  •   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&#13;
  •   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&#13;
  •   at java.lang.Thread.run(Thread.java:743)&#13;
  • </stack_trace>
  • </error>

Pie Chart Specification

$
0
0

Hi,

 

Currently we are on BO 4.1 SP2 which does not comes with Restful samples, we are trying to create Pie chart in report using Rest API but we do not know what needs to be mentioned in terms of its specification, we tried to search as well and also looked for same in Rest API guide but could not find any sample specification for Pie Chart, please help suggest

BI 4.1 SP6 Scheduling Destinations

$
0
0

Hi all,

 

Is it possible to use the RESTful Web Services SDK to schedule a report to the SFTP or secure SMTP destinations that are now available in BI 4.1 SP6?

 

Thanks,

Christian

"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.


Suppress Prompts in RESTful API

$
0
0

Hi Experts,

 

In XI3.1 Deski, macros have the ability to suppress prompts to refresh the document.  I am wondering if there is a way to do the same in RESTful API in BO 4.1 SP6.  I am now using this trick to accomplish:

1) check the document to see if it has prompts by calling GET.../biprws/raylight/v1/documents/documentId/parameters

2) if it has prompts, I use the default value to refresh by calling PUT.../biprws/raylight/v1/documents/documentId/parameters with prompts; otherwise, refresh without prompts or empty parameters.

 

This works fine but I want to eliminate an extra call to the server if I may.

 

Thank you.

Identify whether a data provider has a context

$
0
0

Hello Friends

 

Using RESTful web service SDK how can i identify whether a particular data provider in a BI 4.1 Webi document has a context or not?

 

I used the GET <webiURL>/documents/8722/dataproviders/DP5/queryplan call as suggested in the RESTful web service guide and searched for the "Missing contexts" keywords in the response but it isn't working.  The "Missing contexts" keywords are not present in the response even when the data provider had a context.

 

Is there any other way to identify whether a data provider has a context or not using RESTful web service SDK?

 

Regards,

-CF

MaxConnectionReachedException listing dataproviders of documents

$
0
0

Hi guys,

 

I am using the BO Restful API to list data providers of Webi documents. The url is: http://bobi:6405/biprws/raylight/v1/documents/{document id}/dataproviders I am calling this url in a rapid succession for all previously gathered document ids. After a while I get a 400 error from the REST API, and I can see this:

"com.sap.bip.rs.cxf.providers.exceptions.RestRuntimeExceptionMapper||The resource of type 'Document' with identifier '13589' does not exist.

com.sap.webi.raylight.RaylightException: com.businessobjects.sdk.core.server.CommunicationException$MaxConnectionReachedException: The maximum connection limit has been reached. (Error: RWI 00000)"

in the WebApplicationContainerServer trace log.

 

When calling these dataproviders urls I can see the concurrent session count growing rapidly:dataprov_sessions_q.png

 

Why is listing a document dataprovider opening another session? How can I list dataproviders without opening new sessions? Is this a bug, or is this expected to happen?

 

Thx.

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

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.

Viewing all 1088 articles
Browse latest View live


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