Error retrieving Certificate from Default JKS in PI 7.1 WAS JAVA

Hi everyone.
I'm trying to retrieve a Certificate from the Default JKS of a WAS Java (PI 7.1).
Java code follows:
+InitialContext ctx = new InitialContext(ctxProp);               +
Object o = (Object) ctx.lookup("keystore");
KeyStoreManager manager = (KeyStoreManager) o;
KeyStore keyStore = manager.getKeyStore("DEFAULT");
Certificate ret = ks.getCertificate("ProofCert");
While executing, following Exception arise:
incompatible with interface com.sap.aii.security.lib.KeyStoreManager:sap.com/PIC-WRAPPER-FD-EAR-library-loader
It seems that I need additional libraries:
I have imported that:
import java.security.KeyStore;
import java.security.cert.X509Certificate;
import com.sap.aii.security.lib.KeyStoreManager;
//import java.security.cert.Certificate;
Has anyone some Idea of what is happening? What addiotional libraries I need?
Java version is 5.
Regards,

You need to import the following security libraries:
\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\bin\ext\com.sap.aii.sec.lib\lib\com.sap.aii.sec.lib_api.jar
\usr\sap\<SID>\DVEBMGS00\j2ee\cluster\bin\ext\com.sap.aii.sec.lib\lib\private\com.sap.aii.sec.lib_core.jar
and all the libraries under "security.class".

Similar Messages

  • Error retrieving data from the web server in Excel fo BPC

    Hello Everybody,
    I'm working with BPC v7.5 , i created some reports with the EVDRE formula and they were working perfectly.
    The problem started when i created new users, that in fact have the same access profile and task profile as my user.
    i started to test these new users in excel and every time i expand the report this legend appears: " EVDRE Retrying... EVDRE encountered an error retrieving data from the Web Server. Retrying in (X) Seconds...". After waiting a while a push cancel, then appears a window with the legend: Ev4excel Addin, Errors found retriening data.
    The funny thing is that when i login back to my user everything works fine again, any idea what could be the problem? the other user have the same permissions.
    Thanks a lot in advance!!
    Nidia Olguí

    very strange. Normally the member access profile must be diifferent. So it is not important the task profile but the member access profile. Can you please double check ?
    If you are doing a simple EVDRE with users having problems is it working or you still have problems?
    Regards
    Sorin Radulescu

  • EVDRE encountered an error retrieving data from the Web Server

    Hi,
    I'm working on a presales AppSet "Demo5b".
    When I create a brand-new EVDRE report on FINANCE app, there is no problem.
    However, after changing to ICMATCHING app, when I type =EVDRE() on a blank sheet and press Refresh, the following message pops up.
    EVDRE encountered an error retrieving data from the Web Server
    Retrying in (??) seconds
    Any idea why this happens and how it can be solved?
    Thanks!
    Sunny

    Hi Joost,
    I have the same problem. When I try to retrieve data on an input schedule is launched that error.
    I am working on an VM on MS BPC.
    I am not working with cubes so the solution is not the same.
    If i process all my dimensions this error does not appear any more?
    Best regards,
    Vitor

  • 3D annotation poster image: Retrieve poster from default view

    Hello
         I have developed a plugin whic embed 3D data into annotation.
         In deactivated mode of 3D annotation i show annother image as appearance and it works great,My problem is i want show the poster image as snapshot of default view of 3D annotation the same way we have setting in propery page of 3D annotation.  (Properties->Lauch settings ->Poster Image->Retrieve poster from default view).
         How can i achieve this using c++ sdk ?

    You probably need to find some way to render offscreen and grab the bits or something.  AFAIK, that's computed/rendered when you choose that and then embedded asa static image.

  • Saml2 error validateArtifactRequester: certificate from client is null

    Hi,
    I got this error ArtifactResolutionService.validateArtifactRequester: certificate from client is null, authentication is failed.>
    If you see the log then you can see the handshaking between assertion and indentity works but somehow the assertion refuses the response of the identity
    assertion provider
    ####<12-sep-2009 17:30:24 uur CEST><SAML2Filter: Processing request on URI '/appB/faces/aut/restricted.jspx'>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): request URI is '/appB/faces/aut/restricted.jspx'>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): request URI is not a service URI>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): returning service type 'SPinitiator'>
    ####<12-sep-2009 17:30:24 uur CEST><SP initiating authn request: processing>
    ####<12-sep-2009 17:30:24 uur CEST><SP initiating authn request: partner id is null>
    ####<12-sep-2009 17:30:24 uur CEST><weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
    ####<12-sep-2009 17:30:24 uur CEST><weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore>
    ####<12-sep-2009 17:30:24 uur CEST><weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore Checking if the Keystore file was modified>
    ####<12-sep-2009 17:30:24 uur CEST><SP initiating authn request: use partner binding HTTP/Artifact>
    ####<12-sep-2009 17:30:24 uur CEST><store saml object org.opensaml.saml2.core.impl.AuthnRequestImpl@168c85b, BASE64 encoded artifact is AAQAAMRtlWqk3m9VqV3ySu7qjJcGo08PSwH/NaPWjnhgmqYEpXMWX2STBHg=>
    ####<12-sep-2009 17:30:24 uur CEST><post artifact: false>
    ####<12-sep-2009 17:30:24 uur CEST><local ARS binding location: http://laptopedwin.wh.lan:8001/saml2/idp/sso/artifact>
    ####<12-sep-2009 17:30:24 uur CEST><post form template url: null>
    ####<12-sep-2009 17:30:24 uur CEST><URL encoded artifact: AAQAAMRtlWqk3m9VqV3ySu7qjJcGo08PSwH%2FNaPWjnhgmqYEpXMWX2STBHg%3D>
    ####<12-sep-2009 17:30:24 uur CEST><URL encoded relay state: null>
    ####<12-sep-2009 17:30:24 uur CEST><artifact is sent in http url:http://laptopedwin.wh.lan:8001/saml2/idp/sso/artifact?SAMLart=AAQAAMRtlWqk3m9VqV3ySu7qjJcGo08PSwH%2FNaPWjnhgmqYEpXMWX2STBHg%3D>
    ####<12-sep-2009 17:30:24 uur CEST><SAML2Servlet: Processing request on URI '/saml2/sp/ars/soap'>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): request URI is '/saml2/sp/ars/soap'>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): service URI is '/sp/ars/soap'>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): returning service type 'ARS'>
    ####<12-sep-2009 17:30:24 uur CEST><ArtifactResolutionService.process: get SoapHttpBindingReceiver as receiver and SoapHttpBindingSender as sender.>
    ####<12-sep-2009 17:30:24 uur CEST><ArtifactResolutionService.validateArtifactRequester: certificate from client is null, authentication is failed.>
    ####<12-sep-2009 17:30:24 uur CEST> <Warning> <Security> <LAPTOPEDWIN> <DefaultServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1252769424812> <BEA-000000> <[Security:096565]Artifact requester authentication failed.>
    ####<12-sep-2009 17:30:24 uur CEST><SoapHttpBindingSender.sendResponse: Set HTTP headers to prevent HTTP proxies cache SAML protocol messages.>
    ####<12-sep-2009 17:30:24 uur CEST><SoapHttpBindingSender.send: the SOAP envelope to be sent is :
    >
    ####<12-sep-2009 17:30:24 uur CEST> <<?xml version="1.0" encoding="UTF-8"?><soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"><soap11:Body><samlp:ArtifactResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_0xf34d9596cf9f8d37715fdf3529266b40" InResponseTo="_0xe219b059e77568bc835736caa94d6855" IssueInstant="2009-09-12T15:30:24.812Z" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">jdev_wls</saml:Issuer><samlp:Status><samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/><samlp:StatusMessage>[Security:096565]Artifact requester authentication failed.</samlp:StatusMessage></samlp:Status></samlp:ArtifactResponse></soap11:Body></soap11:Envelope>>
    ####<12-sep-2009 17:35:24 uur CEST> <authn_request - item: _0x9061f430c89cd074398250c710c83045 expired.>
    identity provider
    ####<12-sep-2009 17:30:24 uur CEST><SAML2Servlet: Initialized logger service>
    ####<12-sep-2009 17:30:24 uur CEST><SAML2Servlet: Initialized SAML2 service>
    ####<12-sep-2009 17:30:24 uur CEST><SAML2Servlet: setConfigKey called with key 'default'>
    ####<12-sep-2009 17:30:24 uur CEST><SAML2Servlet: Processing request on URI '/saml2/idp/sso/artifact'>
    ####<12-sep-2009 17:30:24 uur CEST><Redirect URI cache updated.>
    ####<12-sep-2009 17:30:24 uur CEST><weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
    ####<12-sep-2009 17:30:24 uur CEST><weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore>
    ####<12-sep-2009 17:30:24 uur CEST><weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyStore Checking if the Keystore file was modified>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): request URI is '/saml2/idp/sso/artifact'>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): service URI is '/idp/sso/artifact'>
    ####<12-sep-2009 17:30:24 uur CEST><getServiceTypeFromURI(): returning service type 'SSO'>
    ####<12-sep-2009 17:30:24 uur CEST><Request URI: /saml2/idp/sso/artifact>
    ####<12-sep-2009 17:30:24 uur CEST><Method: GET>
    ####<12-sep-2009 17:30:24 uur CEST><Query string: SAMLart=AAQAAMRtlWqk3m9VqV3ySu7qjJcGo08PSwH%2FNaPWjnhgmqYEpXMWX2STBHg%3D>
    ####<12-sep-2009 17:30:24 uur CEST><     Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*>
    ####<12-sep-2009 17:30:24 uur CEST><     Referer: http://127.0.0.1:7101/appB/faces/appBStart.jspx;jsessionid=TtbvKr5Myy7hC5y2j9YVZMLp2dxvYlGP3nV8KnJPtnB5svv4cnDL!-453074333?_adf.ctrl-state=m6b65gdxq_4>
    ####<12-sep-2009 17:30:24 uur CEST><     Accept-Language: nl>
    ####<12-sep-2009 17:30:24 uur CEST><     User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)>
    ####<12-sep-2009 17:30:24 uur CEST><     Host: laptopedwin.wh.lan:8001>
    ####<12-sep-2009 17:30:24 uur CEST><     Accept-Encoding: gzip, deflate>
    ####<12-sep-2009 17:30:24 uur CEST><     Connection: Keep-Alive>
    ####<12-sep-2009 17:30:24 uur CEST><     Cache-Control: no-cache>
    ####<12-sep-2009 17:30:24 uur CEST><weblogic.security.service.internal.SAMLKeyServiceImpl.getKeyInfo>
    ####<12-sep-2009 17:30:24 uur CEST><ssl client key:Sun RSA private CRT key, 1024 bits
    modulus: 135256530343776309493378499238723474761809537383354856443783031405724842963590896515127253614442774833330163469306346998433606124817086312759138932710087080464501074410925139095622741276531270633324573257815772267862467588496928149465417098076218732040047455958122894583653703895415828491462423303970267662119
    public exponent: 65537
    private exponent: 70314326087743699962454879977162652930937500017561071746336998641882377889887267410323718367396514008446506086626901479113065301623787031382331559843030136237857866934906267741351110674239213829006129063775109788707087302538026535943257466578949319062480441789214176315827916248430287133081293921721804088033
    prime p: 11974625102832097583118096114610793613205242504983701060834332690026001982375077665162762308523793650653350947197100038932023730202787298553029195261347327
    prime q: 11295262205059515784067784104204404656057034968759802138195417174670025481580489505249455835611140503620524999898446032906677280702668039750528726228078297
    prime exponent p: 10636051419212951957075964614303506523311875298802298281157626077164099690190818102244374273181234298154969131746805474255337189050985724645168110919912251
    prime exponent q: 9180707495599589343206474566470241653094376286920321960074362300079694178141042692915879784722129977674567430529173188898986608915112396683265394948155617
    crt coefficient: 3999529359604887198322520465212803445668432210961019729502103914530388247742016641237995952808703712482862506414062073383339683451433625683775233168415551, ssl client cert chain:[Ljava.security.cert.Certificate;@767c0d>
    ####<12-sep-2009 17:30:24 uur CEST><get BASE64 encoded artifact from http request, value is:AAQAAMRtlWqk3m9VqV3ySu7qjJcGo08PSwH/NaPWjnhgmqYEpXMWX2STBHg=>
    ####<12-sep-2009 17:30:24 uur CEST><ArtifactResolver: sha-1 hash value of remote partner id is '0xc46d956aa4de6f55a95df24aeeea8c9706a34f0f'>
    ####<12-sep-2009 17:30:24 uur CEST><ArtifactResolver: found remote partner 'jdev' with entity ID 'jdev_wls'>
    ####<12-sep-2009 17:30:24 uur CEST><ArtifactResolver: returning partner: [email protected]779>
    ####<12-sep-2009 17:30:24 uur CEST><partner entityid isjdev_wls, end point index is:0>
    ####<12-sep-2009 17:30:24 uur CEST><find end point:[email protected]2a7, binding location is:http://laptopedwin.wh.lan:7101/saml2/sp/ars/soap>
    ####<12-sep-2009 17:30:24 uur CEST><<?xml version="1.0" encoding="UTF-8"?><samlp:ArtifactResolve xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_0xe219b059e77568bc835736caa94d6855" IssueInstant="2009-09-12T15:30:24.671Z" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">soa</saml:Issuer><samlp:Artifact>AAQAAMRtlWqk3m9VqV3ySu7qjJcGo08PSwH/NaPWjnhgmqYEpXMWX2STBHg=</samlp:Artifact></samlp:ArtifactResolve>>
    ####<12-sep-2009 17:30:24 uur CEST><open connection to send samlp:ArtifactResolve. partner id:jdev_wls, endpoint url:http://laptopedwin.wh.lan:7101/saml2/sp/ars/soap>
    ####<12-sep-2009 17:30:24 uur CEST><isClientPasswordSet:false>
    ####<12-sep-2009 17:30:24 uur CEST><connect to remote ARS.>
    ####<12-sep-2009 17:30:24 uur CEST><SoapSynchronousBindingClient.sendAndReceive: begin to send SAMLObject to server.>
    ####<12-sep-2009 17:30:24 uur CEST><SoapSynchronousBindingClient.sendAndReceive: sending completed, now waiting for server response.>
    ####<12-sep-2009 17:30:24 uur CEST><SoapSynchronousBindingClient.sendAndReceive: response code from server is: 200>
    ####<12-sep-2009 17:30:24 uur CEST><SoapSynchronousBindingClient.sendAndReceive: get a HTTP_OK response, now receive a SOAP envelope message.>
    ####<12-sep-2009 17:30:24 uur CEST><SoapSynchronousBindingClient.sendAndReceive: found XMLObject in envelope, return it.>
    ####<12-sep-2009 17:30:24 uur CEST><http url connection disconnect.>
    ####<12-sep-2009 17:30:24 uur CEST><<?xml version="1.0" encoding="UTF-8"?><samlp:ArtifactResponse xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="_0xf34d9596cf9f8d37715fdf3529266b40" InResponseTo="_0xe219b059e77568bc835736caa94d6855" IssueInstant="2009-09-12T15:30:24.812Z" Version="2.0"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">jdev_wls</saml:Issuer><samlp:Status><samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success"/><samlp:StatusMessage>[Security:096565]Artifact requester authentication failed.</samlp:StatusMessage></samlp:Status></samlp:ArtifactResponse>>
    ####<12-sep-2009 17:30:24 uur CEST><get samlp:ArtifactResponse and verify it.>
    ####<12-sep-2009 17:30:24 uur CEST><saml version:2.0>
    ####<12-sep-2009 17:30:24 uur CEST><inResponseTo:_0xe219b059e77568bc835736caa94d6855>
    ####<12-sep-2009 17:30:24 uur CEST><status code: urn:oasis:names:tc:SAML:2.0:status:Success>
    ####<12-sep-2009 17:30:24 uur CEST><status message: [Security:096565]Artifact requester authentication failed.>
    ####<12-sep-2009 17:30:24 uur CEST><[Security:096577]Failed to receive AuthnRequest document from the requester.>
    ####<12-sep-2009 17:30:24 uur CEST><Caused by: [Security:096502]There is no saml message in returned samlp:ArtifactResponse.>
    ####<12-sep-2009 17:30:24 uur CEST><exception info
    com.bea.security.saml2.service.SAML2Exception: [Security:096577]Failed to receive AuthnRequest document from the requester.
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.receive(SSOServiceProcessor.java:301)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.processAuthnRequest(SSOServiceProcessor.java:118)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.process(SSOServiceProcessor.java:100)
         at com.bea.security.saml2.service.sso.SingleSignOnServiceImpl.process(SingleSignOnServiceImpl.java:50)
         at com.bea.security.saml2.cssservice.SAML2ServiceImpl.process(SAML2ServiceImpl.java:161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.common.security.utils.ThreadClassLoaderContextInvocationHandler.invoke(ThreadClassLoaderContextInvocationHandler.java:27)
         at $Proxy26.process(Unknown Source)
         at com.bea.security.saml2.servlet.SAML2Servlet.service(SAML2Servlet.java:34)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3590)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    com.bea.security.saml2.binding.BindingHandlerException: [Security:096502]There is no saml message in returned samlp:ArtifactResponse.
         at com.bea.security.saml2.artifact.impl.AbstractArtifactResolver.getSamlMsg(AbstractArtifactResolver.java:459)
         at com.bea.security.saml2.artifact.impl.AbstractArtifactResolver.resolve(AbstractArtifactResolver.java:304)
         at com.bea.security.saml2.binding.impl.ArtifactBindingReceiver.resolve(ArtifactBindingReceiver.java:77)
         at com.bea.security.saml2.binding.impl.ArtifactBindingReceiver.receiveRequest(ArtifactBindingReceiver.java:40)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.receive(SSOServiceProcessor.java:295)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.processAuthnRequest(SSOServiceProcessor.java:118)
         at com.bea.security.saml2.service.sso.SSOServiceProcessor.process(SSOServiceProcessor.java:100)
         at com.bea.security.saml2.service.sso.SingleSignOnServiceImpl.process(SingleSignOnServiceImpl.java:50)
         at com.bea.security.saml2.cssservice.SAML2ServiceImpl.process(SAML2ServiceImpl.java:161)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.common.security.utils.ThreadClassLoaderContextInvocationHandler.invoke(ThreadClassLoaderContextInvocationHandler.java:27)
         at $Proxy26.process(Unknown Source)
         at com.bea.security.saml2.servlet.SAML2Servlet.service(SAML2Servlet.java:34)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3590)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >

    Tony,
    Refer SAP Note: 730870. Q16.
    Fyr from SAP Note:
    Q 16: While sending a message to the RfcAdapter the error "... functiontemplate from repository was <null>" is shown. Which reasons are possible?
                  A: After receiving a message from the Adapter Engine, the RfcAdapter extracts the payload from the message. Normally this should be an XML document in the RFC-XML format. In this format the root element of the XML document represents the name of the function module and is enclosed in the fixed RFC namespace 'urn:sap-com:document:sap:rfc:functions'. But this only will be checked at a later point, when the conversion from XML to native RFC is done. As prerequisite of this conversion the structures and types of the function module parameters has to be known. This is also called metadata or function template. To get this function template the name of the function module is extracted from the root element of the XML document and is queried against the metadata repository of the communication channel. If the metadata repository doesn't have a function module with this name, the exception named above is thrown. Possible reasons are
    The XML document, which was send to the RfcAdapter, is not a RFC-XML document. So the root element name of this document is not the name of a function module and thus can't be found in the metadata repository.
    The metadata repository doesn't contain an entry for this function module name. Normally the metadata repository will be an R/3 system and it's function module repository can be searched with transaction code SE37.
    raj.

  • Error retrieving data from DB2 NoSuchMethodEror:sun.io.ByteToCharSingleByte

    Hi All,
    I am trying retrieve data from DB2 database using select command from java code,
    able to establish connection but not getting the data, the following error was occurred,
    can any one help out me...
    Exception in thread "main" java.lang.NoSuchMethodError: sun.io.ByteToCharSingleByte.createCharMap(Ljava/lang/String;Z)[C
    at sun.io.ByteToCharCp870.<clinit>(ByteToCharCp870.java:86)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at sun.io.Converters.getConverterClass(Unknown Source)
    at sun.io.Converters.newConverter(Unknown Source)
    at sun.io.ByteToCharConverter.getConverter(Unknown Source)
    at com.ibm.db2.jcc.b.j.a(j.java:426)
    at com.ibm.db2.jcc.c.kc.a(kc.java:2366)
    at com.ibm.db2.jcc.c.jb.a(jb.java:3167)
    at com.ibm.db2.jcc.c.jb.a(jb.java:1720)
    at com.ibm.db2.jcc.c.jb.a(jb.java:1647)
    at com.ibm.db2.jcc.c.jb.n(jb.java:562)
    at com.ibm.db2.jcc.c.jb.j(jb.java:247)
    at com.ibm.db2.jcc.c.jb.c(jb.java:57)
    at com.ibm.db2.jcc.c.w.c(w.java:42)
    at com.ibm.db2.jcc.c.cc.h(cc.java:178)
    at com.ibm.db2.jcc.b.sf.p(sf.java:1256)
    at com.ibm.db2.jcc.b.sf.a(sf.java:1954)
    at com.ibm.db2.jcc.b.sf.a(sf.java:523)
    at com.ibm.db2.jcc.b.sf.executeQuery(sf.java:507)
    Edited by: siva512 on Dec 11, 2008 5:37 PM

    siva512 wrote:
    Exception in thread "main" java.lang.NoSuchMethodError: sun.io.ByteToCharSingleByte.createCharMap(Ljava/lang/String;Z)[CThe mentioned method is missing in the mentioned class during runtime, while it was available during compiletime.
    This generally indicate a version conflict. Your classpath is dirty. The older versioned class without that method apparently got precedence in classloading above the newer versioned class with that method. Cleanup your classpath. Check all classes/JAR´s and remove all duplicated older versions.

  • Always Access Denied when choosing Automatically Enrol and Retrieve Certificates from MMC

    I am using 2008 R2 Certificate Services to issue certs across multiple forests (although don't let that muddy the waters).
    I have a need to issue certificates for use with s/ldap, so I have duplicated the Kerberos cert and removed all Intended Purposes other than Server Authentication and configured appropriate security to allow Domain Controllers/Domain Admins to enrol. 
    The certificate also requires CA Manager Approval.
    Everything looks good - I am able to enrol for the cert via the MMC, the request goes into pending, and I am then able to issue the cert.  However, when I go back into the MMC on the Server that requested the cert and choose All Tasks | Automatically
    Enrol and Retrieve Certificates, I choose the pending cert and then get Access Denied.
    On the issuing Server, I get an Event 21 in the App Log:
    Active Directory Certificate Services could not process request 8466 due to an error: Access is denied. 0x80070005 (WIN32: 5).  The request was for CN=server.domain.com.
    On the Server that requested the cert, I get an Event 9:
    Certificate enrollment for Local system was denied by servername\Issuing CA when retrieving the pending request for a SecureLDAPCertificate certificate with request ID 8466.
    The strange thing is, if I follow this procedure but using the certsrv website, it works fine and I can install the certificate.
    What am I missing?  Or is this one of those random quirks of AD CS?
    Any help is appreciated.

    Hi,
    Thanks for posting in Microsoft TechNet forums.
    According to the error messages you provided, this can be a permission issue.
    The method of Autoenrollment for a certificate depends on an Active Directory. Considering using Certsrv website was successful, the problem can be that the requester does not have enough permission to access the certificate template in Active Directory
    To autoenroll a certificate template, a user or computer must belong to a security group that is assigned the read,enroll,and autoenroll permissions.
    Only groups that are assigned these permissions are enabled for autoenrollment.
    Could you please answer the following questions for us so that we can troubleshoot the issue more effectively?
    Are the issuing CA server and the requesting CA in the same forest/domain?
    regards
    Ted

  • Getting error "The certificate is not trusted because no issuer chain was provided. (Error code: sec_error_unknown_issuer)"

    I am using site "https://www.ultimatix.net" for learning purpose. This site directs to another site for web based learning, which is "icalmscontent.ultimatix.net". It is giving error "icalmscontent.ultimatix.net uses an invalid security certificate.
    The certificate is not trusted because no issuer chain was provided.
    (Error code: sec_error_unknown_issuer)",
    and there is no button to add exception. Please help.

    hello nitin2joy, the "add exception"-button is not accessible on framed pages for security purposes (to avoid phishing/impersonating by malicious sites).
    in case the page you're trying to access is embedded in an iframe, right-click the error page, click on "this frame" > "show only this frame" and hopefully you can add an exception in the next step. this should only be necessary once if you choose to permanently store the exception.

  • Accidentally deleted minecraft pe world today on ipad. Is there way to retrieve it from ipad icloud? Last icloud backup was yesterday.

    My son accidentally deleted minecraft pe world today on ipad. Is there way to retrieve it from last ipad icloud backup, which was yesterday?

    OK, I don't know anything about Minecraft specifics.
    When you asked your question, I did make the assumption (incorrectly) that you were asking about an application.

  • Error retrieving data from database

    my problem is i cant connect my eclipse to database
    it display this error
    Error parsing data org.json.JSONException: Value <html><body><h2>Checking of type java.lang.String cannot be converted to JSONObject
    my apps can run correctly before...but last night i cant open it when want to retrieve any data from database
    can somebody help me?

    This doesn't seem to have anything to do with Eclipse, but I'd guess that a server-side error message is being returned a HTML rather than the JSON you expect.

  • Error retrieving data from the payload

    Hi all,
    I have a sample process which receive the xml payload posted (with http post) from another process. I am able to see the data in my input payload, but I am not able to use either assignment or transformation to get the value of any element from that payload. If I use the getNodeValue, I am able to see the data of each element.
    e.g., the xml that was posted to this process is
    =========
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- "Stock Quotes". -->
    <stockquotes>
    <stock_quote>
    <symbol>ABCDEFG</symbol>
    <when>
    <date>01/27/2001</date>
    <time>3:40PM</time>
    </when>
    <change>-2.1875</change>
    <volume>8050200</volume>
    </stock_quote>
    </stockquotes>
    =================
    In my input payload, I am seeing as
    =========
    <Receive_XMLNode_InputVariable>
    <part name="RequestMessage">
    <RequestMessage>
    <stock_quote>
    <symbol>ABCDEFG</symbol>
    <when>
    <date>01/27/2010</date>
    <time>3:40PM</time>
    </when>
    <change>-2.1875</change>
    <volume>8050200</volume>
    </stock_quote>
    </RequestMessage>
    </part>
    </Receive_XMLNode_InputVariable>
    ===================
    But when I tried to assign symbol element to output, I am getting "com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure} " error. Can anyone advise me what am I doing wrong? Thanks.
    Soe

    I added the namespace in my stockquote xml payload exactly as I used in the input xsd, and it started working.

  • Error retrieving data from CLOB....please help!

    I am trying to retrieve a CLOB object from Oracle. I am using
    Oracle's thin driver.
    If I use :-
    clobObj.getSubString(1, length); where clobObj is an instance of
    oracle.sql.CLOB and is valid, I get the following exception if
    length > 32500
    SQLException: ORA-21560: argument 2 is null, invalid, or out of
    range
    ORA-06512: at "SYS.DBMS_LOB", line 648
    ORA-06512: at line 1
    If instead I use a Reader to read from the clob object :-
    Reader instream = clobObj.getCharacterStream();
    char[] buffer = new char[4];
    int length = 0;
    while ((length = instream.read(buffer)) != -1)
    System.out.print("Read " + length + " chars: ");
    I get the following exception :-
    IOException: ORA-21560: argument 2 is null, invalid, or out of
    range
    ORA-06512: at "SYS.DBMS_LOB", line 648
    ORA-06512: at line 1
    at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java, Compiled
    Code)
    at oracle.jdbc.driver.OracleClobReader.needChars(OracleClobReader.java:
    60)
    at oracle.jdbc.driver.OracleClobReader.read(OracleClobReader.java:179,
    ompiled Code)
    at java.io.Reader.read(Reader.java:104, Compiled Code)
    at com.geocast.geodb.DBTag.printRDF(DBTag.java:882, Compiled Code)
    at com.geocast.forms.JMainFrame.newObject_actionPerformed_Interaction1(
    MainFrame.java:967)
    at com.geocast.forms.JMainFrame.newObjectButton_actionPerformed(JMainFr
    me.java:1024)
    at com.geocast.forms.JMainFrame$SymAction.actionPerformed(JMainFrame.ja
    a:597)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1
    66)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstr
    ctButton.java:1101)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonMode
    .java:378)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:25
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButton
    istener.java:204)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:
    30)
    at java.awt.Component.processMouseEvent(Component.java:3160)
    at java.awt.Component.processEvent(Component.java:2999)
    at java.awt.Container.processEvent(Container.java:990)
    at java.awt.Component.dispatchEventImpl(Component.java:2394, Compiled C
    de)
    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
    at java.awt.Component.dispatchEvent(Component.java:2307, Compiled Code)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:204
    , Compiled Code)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1827
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:1776, Co
    piled Code)
    at java.awt.Container.dispatchEventImpl(Container.java:1022, Compiled C
    de)
    at java.awt.Window.dispatchEventImpl(Window.java:749, Compiled Code)
    at java.awt.Component.dispatchEvent(Component.java:2307, Compiled Code)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:287, Compiled Code
    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:1
    3, Compiled Code)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
    If anyone has come across a similar problem or knows the solution
    to my woes, please let me know ASAP.
    Thanks,
    Anirban
    null

    very strange. Normally the member access profile must be diifferent. So it is not important the task profile but the member access profile. Can you please double check ?
    If you are doing a simple EVDRE with users having problems is it working or you still have problems?
    Regards
    Sorin Radulescu

  • Serialization Error retrieving data from JSP to Applet

    I have an applet which calls a JSP to write data object to the db and then the JSP sends back the updated data object. The writing part is ok but the response is giving the following error. The data object is in a separate class which implements Serialized.
    Here's the code in the applet calling the JSP and the response from the JSP
    URL server = null;
    String urlConnectionString = "http://localhost:7001/isLoginValid.jsp";
    try
         server = new URL(urlConnectionString);
    catch(MalformedURLException e)
         System.out.println("URL exception: " + e );          
    // send request
    ObjectInputStream response = null;
    Object result = null;
    try
         URLConnection conn = server.openConnection();
            conn.setDoOutput(true);
            conn.setUseCaches(false);
            conn.setRequestProperty("Content-Type", "application/octet-
            stream");
            ObjectOutputStream request = new ObjectOutputStream(new 
            BufferedOutputStream(conn.getOutputStream()));
         request.writeObject((Object)dvo);
         request.flush();
         request.close();
            // get the result input stream
         response = new ObjectInputStream(new BufferedInputStream
            (conn.getInputStream()));
         // read response back from the server
         result = response.readObject();
            if( result!=null && (result instanceof DataVO))
              dvo = (DataVO)result;
                 String vo = dvo.printDataVO();
                 System.out.println
                 ("*****************DataVO********************\n"+vo);
         else
              System.out.println("not an instanceof DataVO");
    catch(IOException ignored)
         System.out.println("Error in DataVO response");
         ignored.printStackTrace();
    }Here's the code in the JSP sending the response back to the applet.
    The 'dvo' object is the object which is serialized and has gets and sets
    for the diff. data elements. When I print the 'dvo' before writing
    the object to outputStream it prints the correct values for the data
    element.
    // send response
    response.setStatus(HttpServletResponse.SC_OK);
    ObjectOutputStream outputStream = new ObjectOutputStream (new BufferedOutputStream (response.getOutputStream()));
    outputStream.writeObject(dvo);
    outputStream.flush();ERROR is as follows:
    Error in DataVO response
    java.io.StreamCorruptedException: InputStream does not contain a serialized object
         at java/io/ObjectInputStream.readStreamHeader
         at java/io/ObjectInputStream.<init>
    What am I doing wrong?. Please respond soon. Thanks

    Here's the code. Yes I have it implementing serializable.
    import java.io.Serializable;
    import java.util.Date;
    public class DataVO implements Serializable
         // Data Variables
         private     String uname;
         private     String pwd;
         private     String errorMSG;
         private     boolean multiMessage;
         private     boolean blnFirstTextField;
         private     boolean subscriptionError;
         private     boolean subscriptionCancelled;
         private     int userNumber;
         private     int status;
         private     int userCount;
         private     int userMax;
         private     int seqnum;
         private boolean loginValid;
         private int t_Interval;
         public DataVO()
              uname="";                   
              pwd="";                     
              errorMSG="";                
              multiMessage=false;        
              blnFirstTextField=false;   
              subscriptionError=false;   
              subscriptionCancelled=false;
              userNumber = -1;
              status = -1;   
              userCount = -1;
              userMax = -1;  
              seqnum = -1;   
              loginValid = false;
              t_Interval = 0;
         public String getUserName() {return uname;}
         public void setUserName(String uname) {this.uname = uname;}
         public String getPassword() {return pwd;}
         public void setPassword(String pwd) {this.pwd = pwd;}
         public String getErrorMessage() {return errorMSG;}
         public void setErrorMessage(String errorMSG) {this.errorMSG = errorMSG;}
         public boolean isMultiMessage() {return multiMessage;}
         public void setMultiMessage(boolean multiMessage) {this.multiMessage = multiMessage;}
         public boolean isBlnFirstTextField() {return blnFirstTextField;}
         public void setBlnFirstTextField(boolean blnFirstTextField) {this.blnFirstTextField = blnFirstTextField;}
         public boolean isSubscriptionError() {return subscriptionError;}
         public void setSubscriptionError(boolean subscriptionError) {this.subscriptionError = subscriptionError;}
         public boolean isSubscriptionCancelled() {return subscriptionCancelled;}
         public void setSubscriptionCancelled(boolean subscriptionCancelled) {this.subscriptionCancelled = subscriptionCancelled;}
         public int getUserNumber() {return userNumber;}
         public void setUserNumber(int userNumber) {this.userNumber = userNumber;}
         public int getStatus() {return status;}
         public void setStatus(int status) {this.status = status;}
         public int getUserCount() {return userCount;}
         public void setUserCount(int userCount) {this.userCount = userCount;}
         public int getUserMax() {return userMax;}
         public void setUserMax(int userMax) {this.userMax = userMax;}
         public int getSeqNo() {return seqnum;}
         public void setSeqNo(int seqnum) {this.seqnum = seqnum;}
         public boolean isLoginValid() {return loginValid;}
         public void setLoginValid(boolean loginValid) {this.loginValid = loginValid;}
         public int getTimeIntvl() {return t_Interval;}
         public void setTimeIntvl(int t_Interval) {this.t_Interval = t_Interval;}
         public String printDataVO()
              String returnString = "username = "+uname+"\n";
              returnString = returnString + "password = "+pwd+"\n";
              returnString = returnString + "errorMSG = "+errorMSG+"\n";
              returnString = returnString + "multiMessage = "+multiMessage+"\n";
              returnString = returnString + "blnFirstTextField = "+blnFirstTextField+"\n";
              returnString = returnString + "subscriptionError = "+subscriptionError+"\n";
              returnString = returnString + "subscriptionCancelled = "+subscriptionCancelled+"\n";
              returnString = returnString + "userNumber = "+userNumber+"\n";
              returnString = returnString + "status = "+status+"\n";
              returnString = returnString + "userCount = "+userCount+"\n";
              returnString = returnString + "userMax = "+userMax+"\n";
              returnString = returnString + "seqnum = "+seqnum+"\n";
              returnString = returnString + "loginValid = "+loginValid+"\n";
              returnString = returnString + "t_Interval = "+t_Interval+"\n";
              return returnString;
    }

  • Error retrieving information from EMD. Exception: java.lang.NullPointerExce

    Hi,
    I am receiving follwoing error when I click the host in console. Please help me to solve this issue. This non-ssl and host entry has been already.
    2010-08-20 17:34:27,565 [EMUI_17_34_27_/console/host/sitemap] ERROR host.HostSitemap setMetricDataFromEMD.1845 -
    java.lang.NullPointerException
    at oracle.sysman.eml.mntr.host.HostUtil.getMetricColumnTotal(HostUtil.java:837)
    at oracle.sysman.eml.host.HostSitemap.setMetricDataFromEMD(HostSitemap.java:1804)
    at oracle.sysman.eml.host.HostSitemap.<init>(HostSitemap.java:369)
    at oracle.sysman.eml.host.HostController.prepareData(HostController.java:167)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:419)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:728)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:307)
    at oracle.sysman.eml.app.Console.doGet(Console.java:271)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:837)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Thanks
    Karthik

    I had this error with my blackberry curve 8900.  No one could help so I called my provider.  They said the handset was faulty due to corrupt software so are sending me a new phone.

  • Error retrieving Report from omniture servers

    Anyone having analytic problems at the mo?

    I'm still getting it now so I'm guessing it wasn't set up properly when the issue was built.
    Thanks Lukas

Maybe you are looking for

  • CS5.7 cannot open CS5.5 Indesign files

    Hi, we have several designers located around the globe, that all need to be able to access & change the same design files, mostly Indesign.  They are all using Applemacs, but all have different CS versions, i.e. CS5.5, 5.7 and 6.8.0.1.  We already ha

  • How to transfer from time domain data to FFT domain

    I have built Labview program to acquire data, which in time domain I would like to change it to frequency domain in the same program for further processing,

  • Why system is capturing Log for Document transfer and Compliance check

    Hi All Although I have removed TD_MAP Movement Data : Document Replication Mapping (Live) TD_CCH Movement Data : Compliance check Document (Live) in custom document configuration , then also system is capturing log for document transfer and Complianc

  • Foreign key dependency checking

    Dear all: I have a question about foreign key checking. Let's say I have two Z table, one is master table and one is transaction table. The master table contains a primary key named CustNo. The transaction table have two primary keys named CustNo and

  • .Mac support not interested - what next?

    Hi, I posted a series of posts two weeks ago when experiencing problems with publishing iWeb having taken out a full year's membership of .Mac. Despite a few emails consequently from the .Mac support customer care team, no solution was found. After s