Credential in java
Hy everybody
I need to access to a webservice, it run under IIS. This web service is develeoped in C# (.Net) and it needs a credential to be used; otherwise the web service response with this message:
(401)Unauthorized
In c# (.Net) is sufficient two line of istructions, to have the credential:
UserManagerWS ws = new UserManagerWS;
ws.Credentials=new System.Net.NetworkCredential(USERNAME,PASSWORD,DOMAIN);
How can i obtain the credential in java?And in which way?
Thanks
Domenico
PS. i have used the method setUsername and SetPassword of the object org.apache.axis.client.Call but the web service responce always (401)Unauthorized
I can call the service from SOAP UI by providing username and password.Where do you provide username and password in SOAPUI?
Service endpoint is like : https://myhost.com/ccx/service/hr...It is a SSL call so you need to configure the trust and identity keystore at Weblogic (SOA) server as well. make sure that you have imported the target server's certificate (along with it's CA if any) in your trust store of weblogic. You may refer-
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13707/identity_trust.htm#i1202182
If it is two way SSL then the target server will also need your server's certificate in it's trust keystore.
Regards,
Anuj
Similar Messages
-
Swing adf set db credential from java
Hi!
I wrote a program on Swing adf using standart JDeveloper jdbc connection.
Now I whant install my programm to client. But jdbc url with credential store in standart adf xml configuration files.
I whant that than user start programm first them input connection attributes ( host,sid,user,password), and then programm initilize all View and Control.
I I was searching answer in google,forums.oracle.com, jdeveloper books and not found answer.
But problem often is repeated, I think answer must be included into JDeveloper help book.
My main method with init context
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception exemp) {
exemp.printStackTrace();
try {
JUMetaObjectManager.setErrorHandler(new JUErrorHandlerDlg());
JUMetaObjectManager mgr = JUMetaObjectManager.getJUMom();
mgr.setJClientDefFactory(null);
BindingContext ctx = new BindingContext();
HashMap map = new HashMap(4);
mgr.loadCpx("view.DataBindings.cpx", map);
final FormMain frame = new FormMain();
frame.setBindingContext(ctx);
frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize = frame.getSize();
if (frameSize.height > screenSize.height) {
frameSize.height = screenSize.height;
if (frameSize.width > screenSize.width) {
frameSize.width = screenSize.width;
frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
frame.setVisible(true);
} catch (Exception ex) {
JUMetaObjectManager.reportException(null, ex, true);
System.exit(1);
}May be anybody know how to create configuration on java for swinf ADF, without xml files?
-
Set credential using java embedding activity in SOA11g
Hi,
In SOA 10g in java embedding activity we used to set the creadentials like below
*try {*
getLocator().lookupProcess("bpelprocess_name").getDescriptor().getPartnerLinkBindings().getPartnerLinkBinding("partnerlink_name").setPropertyValue("basicHeaders",inputvar1);
*}catch(Throwable ex) {*
when we try to use the above expression in SOA11g, it doesn't work even after importing mandatory libraries. Pls suggest how to set the security credentials ln SOA11g using Java Embedding.
Thanks,
ABI can call the service from SOAP UI by providing username and password.Where do you provide username and password in SOAPUI?
Service endpoint is like : https://myhost.com/ccx/service/hr...It is a SSL call so you need to configure the trust and identity keystore at Weblogic (SOA) server as well. make sure that you have imported the target server's certificate (along with it's CA if any) in your trust store of weblogic. You may refer-
http://download.oracle.com/docs/cd/E17904_01/web.1111/e13707/identity_trust.htm#i1202182
If it is two way SSL then the target server will also need your server's certificate in it's trust keystore.
Regards,
Anuj -
Error while retrieving a password for credential
Hi All,
I am getting following error while deploying ADS application.
Please help me to resolve it.
NWDS 04s.
Adobe Version 7.02
error:
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF. Save the error PDF on the file system. This is a helpful attachment in case of an OSS message. com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights Exception Stack Trace: com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights at com.adobe.ads.request.UsageRights.execute(UsageRights.java:202) at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111) at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:758) at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130) at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) 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:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) atHi,
did you provide your credential during the Adobe installation process (as far as I know, you have to install the Adobe Document and not only deploy these).
You have to provide the credential and enter a password during the process, or it does not work.
The last info I have is that you get credentials by entering a customer request at SAP, component BC-SRV-FP, but that might have changed...
Kind regards,
Carl -
Creation of Adobe document in webdynpro java
Hi,
I have a requirement to download a table entries into Adobe Form. Its not interactive, just with few rows. For this do i need to have ADS installed in my portal server? or any configurations engough.
I created one simple pdf and deployed, i am getting the fallowing runtime error.
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://xxxx:50100/AdobeDocumentServices/Config?style=document"
Please help me in this.
Thanks,
RazHi Shobhan,
Thanks for your reply. I checked the ADS in portal system and it is installed. By checking configuration guide, I did basic authentication steps. When I checked by running the webservice with ADSUser and password I can see the version number.
Now When I am deploying one webdynpro application with few line in PDF Form, I got the fallowing exception.
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation. Request start time: Wed Oct 01 08:54:57 CDT 2008 com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights Exception Stack Trace: com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights at com.adobe.ads.request.UsageRights.execute(Unknown Source) at com.adobe.BaseADSRequest.doWork(Unknown Source) at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source) at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) 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:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:397)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3900)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:98)
... 31 more
Please suggest me the reason for this error. As this is not the interactive forms scenario, I didnt install the adobe credentials.
Thanks,
Raz -
Hi,
I am getting the following error :
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF. Save the error PDF on the file system. This is a helpful attachment in case of an OSS message. com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights Exception Stack Trace: com.adobe.ProcessingError:
How do I get the Adobe credentials installed i got the link the from this thread :
SAP Interactive Forms by Adobe
and installed the personal information exchange file , but in the visual admin its asking for a serial number...is that available only to the customers or any sort of trial is also available.What is the right procedure to go about this?
Regards,
BhavanaHello,
Have you requested a credential file from SAP? It is described in SAP note:
#736902
If you have this in the configuration guide you will find how to install the ReaderRights alias in the VA.
The password for the credential is in the response message from SAP in the customer ticket. If you have lost the password open a new ticket and SAP will send you the password again.
Best regards,
Dezso Pap -
Hi Experts,
Is this Jdeveloper 11gR2 (Studio Edition Version 11.1.1.0.2) Bug!!
I did connect by this JDeveloper IDE and working well for different projects but I have found it when I import project by Subversion from another Repository. After importing this project I am trying to connect (when tried to test connection then it shows success but when do click Ok button then it shows Exception) and failed to getting Exception as "Unable to initialize the credential store"
Please note that there only one file exists in \src\META-INF\ is weblogic-application.xml
Please Help me how to solve this issue. Its quite urgent.
javax.naming.NamingException [Root exception is oracle.adf.share.security.ADFSecurityRuntimeException: Unable to initialize the credential store.
at oracle.adf.share.jndi.ContextImpl.throwNamingException(ContextImpl.java:390)
at oracle.adf.share.jndi.ContextImpl.saveDocument(ContextImpl.java:702)
at oracle.adf.share.jndi.ContextImpl.save(ContextImpl.java:720)
at oracle.adf.share.jndi.AdfInitialContext.save(AdfInitialContext.java:91)
at oracle.adfinternal.rc.connection.UncloseableContextWrapper.save(UncloseableContextWrapper.java:89)
at oracle.jdeveloper.rescat2.util.ConnectionUtil.invokeOldStyleWizard(ConnectionUtil.java:137)
at oracle.jdeveloper.rescat2.util.ConnectionUtil.showWizard(ConnectionUtil.java:66)
at oracle.adf.share.dt.AppConnContextMenuListener.onNewConnection(AppConnContextMenuListener.java:600)
at oracle.adf.share.dt.AppConnContextMenuListener.newReposConnHandled(AppConnContextMenuListener.java:594)
at oracle.adf.share.dt.AppConnContextMenuListener.handleEvent(AppConnContextMenuListener.java:120)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: oracle.adf.share.security.ADFSecurityRuntimeException: Unable to initialize the credential store.
at oracle.adf.share.security.credentialstore.CredentialStoreContext.getCredentialStorage(CredentialStoreContext.java:174)
at oracle.adf.share.security.credentialstore.CredentialStoreContext.getCredentialProvisioner(CredentialStoreContext.java:98)
at oracle.adf.share.security.credentialstore.CredentialProvisioner.<init>(CredentialProvisioner.java:43)
at oracle.adf.share.jndi.CredentialStoreHelper.<init>(CredentialStoreHelper.java:52)
at oracle.adf.share.jndi.ReferenceStoreHelper.saveCredentials(ReferenceStoreHelper.java:436)
at oracle.adf.share.jndi.ContextImpl.saveDocument(ContextImpl.java:692)
... 38 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at oracle.adf.share.security.credentialstore.CredentialStoreContext.getCredentialStorage(CredentialStoreContext.java:170)
... 43 more
Caused by: oracle.adf.share.security.ADFSecurityRuntimeException: Unable to initialize the credential store.
java.io.FileNotFoundException: F:\BANK\SVNaticps\src\META-INF\jps-config.xml (The system cannot find the file specified)
at oracle.adf.share.dt.security.providers.jps.CSFDTCredentialStore.initialize(CSFDTCredentialStore.java:184)
at oracle.adf.share.security.providers.jps.CSFCredentialStore.<init>(CSFCredentialStore.java:204)
at oracle.adf.share.dt.security.providers.jps.CSFDTCredentialStore.<init>(CSFDTCredentialStore.java:93)
... 48 more
Caused by: oracle.security.jps.JpsException: java.io.FileNotFoundException: F:\BANK\SVNaticps\src\META-INF\jps-config.xml (The system cannot find the file specified)
at oracle.adf.share.dt.jps.FileBasedJpsConfigStorage$FileBasedReader.parse(FileBasedJpsConfigStorage.java:60)
at oracle.adf.share.dt.jps.JpsConfigReader.readXML(JpsConfigReader.java:79)
at oracle.adf.share.dt.jps.JpsConfigUtils.readJpsConfig(JpsConfigUtils.java:123)
at oracle.adf.share.dt.jps.JpsConfigUtils.getCredentialStore(JpsConfigUtils.java:1275)
at oracle.adf.share.dt.jps.JpsConfigUtils.getCredentialStore(JpsConfigUtils.java:1301)
at oracle.adf.share.dt.security.providers.jps.CSFDTCredentialStore.initialize(CSFDTCredentialStore.java:159)
... 50 more
Caused by: java.io.FileNotFoundException: F:\BANK\SVNaticps\src\META-INF\jps-config.xml (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at java.net.URL.openStream(URL.java:1009)
at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2590)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:236)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:208)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
at oracle.adf.share.dt.jps.FileBasedJpsConfigStorage$FileBasedReader.parse(FileBasedJpsConfigStorage.java:55)
... 55 moreEdited by: Zakir Hossain on Jun 7, 2009 1:37 PMHi,
Now I can work and connecting on it after importing connection files/parameters what created from another site of that Repository. And also can possible to do new connection.*
But my question is why not getting proper message, why need to waste time about this type of error?*
In JDeveloper 11g versions have lots of meaningless exceptions another is NullPointerException. Why not give us prompt with proper and valid information. I am very much tired about finding and identifying this types of BUG :)*
Wish will be resolved by releasing a patch ASAP.*
Regards
Zakir
=== -
The credential file downloaded from the 'SAP NetWeaver Trial and Preview Versions' section of SDN isn't valid anymore. Will (and when) a new credential be available? And in which way, will it be available?
Hi Markus,
I just followed your link and tried to install the files, after the old one expired last month.
Unfortunately I can't use the Adobe Document Services. He always throws me the following exception:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation.
Request start time: Fri Nov 10 12:40:24 CET 2006
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
With the old expired files the ADS worked.
Do you know how to solve my problem?
Thank you in advance.
Kind regards, Patrick. -
How to make the text_field to editable in the adobe document?
Hi, expert,
I meet a problem when I develop a WDA. I hope to get your help. Thanks a lot. The following is my action:
Action:
1. I am using "Text Field" control rather "Text" Control in the pfd form by transfer code "sfp". I make sure in Object Palette under value tab type is : user entered - optional in the layout tab in the pfd form. The textfield is editable in the PDF preview.
2. Add the pdf forms to webdynpro application and set "sss" to the inputfield("Text Field") through context in the WDA.
3. Run the WDA. In the IE, I found the textfield in the PDF is not editable. How can I make the textfield to editable?
Whether I need change the code or others to make text_field to editable?
Do you give me some hints? Thank you very much.
The following is my code in the WDA:
method WDDOMODIFYVIEW .
********Make INTERACTIVE_FORM to editable。******
data:
lr_interactive_form type ref to cl_wd_interactive_form,
lr_method_handler type ref to if_wd_iactive_form_method_hndl.
lr_interactive_form ?= view->get_element( 'INTERACTIVE_FORM' ).
lr_method_handler ?= lr_interactive_form->_method_handler.
lr_method_handler->set_legacy_editing_enabled( abap_true ).
data:
Node_Zz_00_Test_Form_000 type ref to If_Wd_Context_Node,
Elem_Zz_00_Test_Form_000 type ref to If_Wd_Context_Element,
Stru_Zz_00_Test_Form_000 type Wd_This->Element_Zz_00_Test_Form_000 ,
Item_TEST1 like Stru_Zz_00_Test_Form_000-TEST1.
navigate from <CONTEXT> to <ZZ_00_TEST_FORM_000> via lead selection
Node_Zz_00_Test_Form_000 = wd_Context->get_Child_Node( Name = wd_This->wdctx_Zz_00_Test_Form_000 ).
get element via lead selection
Elem_Zz_00_Test_Form_000 = Node_Zz_00_Test_Form_000->get_Element( ).
get single attribute
Elem_Zz_00_Test_Form_000->set_Attribute(
exporting
Name = `TEST1`
Value = 'sss' ).
endmethod.
Best regards,
taoHi Volker,
Thanks a lot for your help.:)
When I compile the WDA, the WDA don't occur any error. The WDA occurs error when I run the WDA.
1. In the st22 transcation code, I found the following code:
method RAISE .
DATA: error TYPE STRING.
error = MSG_STRING( msg = msg a = a b = b c = c i = i j = j k = k ).
************************begin of error************************************
RAISE EXCEPTION TYPE CX_WD_GENERAL EXPORTING msg = error.
************************end of error*********************************
endmethod.
I think the method RAISE is invoked by CREATE_ADOBE method at the point:
if sy-subrc ne 0.
--- there was an error; check, if it was an ADS related problem
call function 'FP_GET_LAST_ADS_ERRSTR'
importing
e_adserrstr = lv_adserrstr.
cx_wd_general=>raise( msg = lv_adserrstr ).
endif.
--- close spool job
The following is the code of the CREATE_PDF method:
method CREATE_PDF.
data:
data_source_info type ref to if_wd_context_node_info,
data_source_attributes type wdr_context_attr_info_map,
interface_type type fpinterfacetype,
name type string,
value type string,
fm_name type rs38l_fnam,
fp_docparams type sfpdocparams,
fp_outputparams type sfpoutputparams,
fp_output type fpformoutput,
pdf_ref type ref to fpformoutput,
output type fpformoutput,
rest type string,
lv_adserrstr type string. "#EC NEEDED
field-symbols:
<source> type wdr_context_attribute_info.
data_source_info = data_source->get_node_info( ).
data_source_attributes = data_source_info->get_attributes( ).
--- now build pdf content using the form api
try.
--- get name and type of the generated function module
call function 'FP_FUNCTION_MODULE_NAME'
exporting
i_name = form_name
importing
e_funcname = fm_name
e_interface_type = interface_type.
----- what about error handling
catch cx_fp_api_usage. "#EC NO_HANDLER
catch cx_fp_api_repository. "#EC NO_HANDLER
catch cx_fp_api_internal. "#EC NO_HANDLER
endtry.
--- set output parameters and open spool job
fp_outputparams-nodialog = 'X'.
fp_outputparams-getpdf = 'X'.
--- workaround ADS drop 8c
fp_outputparams-connection = 'ADS_PWDF2036'.
call function 'FP_JOB_OPEN'
changing
ie_outputparams = fp_outputparams.
--- set form language and country (->form locale)
fp_docparams-langu = sy-langu.
call function 'WP_USER_COUNTRY_GET'
exporting
user_name = sy-uname
importing
country = fp_docparams-country
exceptions
no_country_assigned = 1
others = 2.
if sy-subrc <> 0.
fp_docparams-country = 'DE'.
endif.
--- this flag indicates that we want to generate an interactive(!) form
fp_docparams-fillable = enabled.
--- interface type: SMART FORMS => raise error
--- interface type: DDIC => use DDIC interface and render display only form
--- interface type: XML Schema => use XML interface and render interactive form if enabled is true
case interface_type.
Smart Forms -> not allowed
when if_fp_interface=>c_interface_type_sf.
message x000(00).
Good old DDIC
when if_fp_interface=>c_interface_type_new.
no interactivity for DDIC stuff allowed, but it can be overwritten
if enabled = abap_true.
fp_docparams-fillable = legacy_editing_enabled.
else.
fp_docparams-fillable = abap_false.
endif.
data:
exception_list type table of rsexc,
export_parameters type table of rsexp,
import_parameters type table of rsimp,
tables_parameters type table of rstbl.
--- get the interface of the generated function module
call function 'FUNCTION_IMPORT_INTERFACE'
exporting
funcname = fm_name
tables
exception_list = exception_list
export_parameter = export_parameters
import_parameter = import_parameters
changing_parameter =
tables_parameter = tables_parameters.
data:
ptab type abap_func_parmbind_tab,
ptab_line type abap_func_parmbind,
etab type abap_func_excpbind_tab,
etab_line type abap_func_excpbind.
field-symbols:
<import> type rsimp.
--- dynamical filling of the interface of the generated function module
loop at import_parameters assigning <import>.
ptab_line-name = <import>-parameter.
ptab_line-kind = abap_func_exporting.
if ptab_line-name cs '/1bcdwb/docparams'.
get reference of fp_docparams into ptab_line-value.
else.
--- is this an attribute?
data dref type ref to data.
create data dref type (<import>-typ).
read table data_source_attributes with key name = <import>-parameter assigning <source>.
if sy-subrc = 0.
data: node_name type string.
node_name = <import>-parameter.
try.
field-symbols <statatt> type any.
assign dref->* to <statatt>.
data_source->get_attribute( exporting name = node_name importing value = <statatt> ).
get reference of <statatt> into ptab_line-value.
catch cx_root. "#EC CATCH_ALL
ptab_line-value = dref.
endtry.
else.
ptab_line-value = dref.
endif.
endif.
insert ptab_line into table ptab.
endloop.
ptab_line-name = '/1BCDWB/FORMOUTPUT'.
ptab_line-kind = abap_func_importing.
get reference of fp_output into ptab_line-value.
insert ptab_line into table ptab.
--- error handling
etab_line-name = 'OTHERS'.
etab_line-value = 10.
insert etab_line into table etab.
--- dynamic call of the generated function module
--- this is "smart forms style"
call function fm_name
parameter-table
ptab
exception-table
etab.
if sy-subrc ne 0.
--- there was an error; check, if it was an ADS related problem
call function 'FP_GET_LAST_ADS_ERRSTR'
importing
e_adserrstr = lv_adserrstr.
cx_wd_general=>raise( msg = lv_adserrstr ).
endif.
--- close spool job
call function 'FP_JOB_CLOSE'.
--- check the result
read table ptab with key name = '/1BCDWB/FORMOUTPUT' into ptab_line.
pdf_ref ?= ptab_line-value.
pdf = pdf_ref->pdf.
XML Schema based interface
when if_fp_interface=>c_interface_type_xsd.
data: xml type string.
xml = data_source->to_xml( ).
data:
context_node type string.
context_node = data_source_info->get_name( ).
data: x_xml type xstring.
if not data_xml is supplied.
call transformation wdr_interactive_from_in
parameters datasource = context_node
source xml xml
result xml x_xml.
else.
x_xml = data_xml.
endif.
call function fm_name
exporting
/1bcdwb/docparams = fp_docparams
/1bcdwb/docxml = x_xml
importing
/1bcdwb/formoutput = output
exceptions
usage_error = 1
system_error = 2
internal_error = 3
others = 4.
if sy-subrc ne 0.
--- there was an error; check, if it was an ADS related problem
call function 'FP_GET_LAST_ADS_ERRSTR'
importing
e_adserrstr = lv_adserrstr.
cx_wd_general=>raise( msg = lv_adserrstr ).
endif.
--- close spool job
call function 'FP_JOB_CLOSE'.
pdf = output-pdf.
when others.
message x000(00).
endcase.
endmethod.
2. I found the defaultTrace.0.trc in the $sap_home$\DEV\DVEBMGS00\j2ee\cluster\server0\log\:
#1.5#001485BBC8ED0076000000140000044000043973130FA533#1189066310671#com.adobe.AdobeDocumentServicesWorker#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServicesWorker#ADSUSER#228#SAP J2EE Engine JTA Transaction : [018ffffff826002ffffffcc]#devserver_DEV_1606150#Guest#d1f02e705c5011dcb0f5001485bbc8ed#SAPEngine_Application_Thread[impl:3]_22##0#0#Error#1#/System/Server#Plain###Processing exception during a "UsageRights" operation.
Request start time: Thu Sep 06 16:11:50 CST 2007
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
Exception Stack Trace:
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
at com.adobe.ads.request.UsageRights.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
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:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#1.5#001485BBC8ED0076000000150000044000043973130FAAAC#1189066310671#com.adobe.AdobeDocumentServices#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#228#SAP J2EE Engine JTA Transaction : [018ffffff826002ffffffcc]#devserver_DEV_1606150#Guest#d1f02e705c5011dcb0f5001485bbc8ed#SAPEngine_Application_Thread[impl:3]_22##0#0#Error##Plain###Client: 800 SystemId: DEV AppName: SAFP
Processing exception during a "UsageRights" operation.
Request start time: Thu Sep 06 16:11:50 CST 2007
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
at com.adobe.ads.request.UsageRights.execute(Unknown Source)
at com.adobe.BaseADSRequest.doWork(Unknown Source)
at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
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:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
According the exception in the defaultTrace.0.trc:" Could not retrieve a password for credential: ReaderRights ", beacause Adobe reader8 don't get the credential in my machine, the error is occured when run the WDA.
My question is how can I to get credential for Adobe Reader8 ?
Thanks a billion for your support and help.:-)
Best regards,
Tao -
Error using the test console of the Oracle Service Bus 11gR1
Hi I am facing a an issue while using the test console of the Oracle Service Bus 11gR1 .
Every time I try to execute a business service or a proxy service I end up getting the following message.
Error Accessing Test Configuration
*"Test Console" service is not running. Contact administrator to start this service.*
In fact to add to my frustration I am unable to execute any of my proxy services from outside clients like SOAPUI as well.
Is anyone else facing this too ??
Also every time the server starts I can see some diagnostic error messages on my Eclipse console.
*[ERROR] AdapterManager - ServletContainerAdapter manager not initialized correctly.*
Attached the whole log at the end below.
To provide an update on my trouble shooting
1. ) I tried to give the IntegrationAdmin and IntegrationDeployer roles to my admin user. in fact i also tried to give it all the possible privileges.
Result: Still the same error message.
Error Accessing Test Configuration
"Test Console" service is not running. Contact administrator to start this service.
2.) I have already tried to change the following entry <java:alsb-test-console-debug>true</java:alsb-test-console-debug> in my C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\alsbdebug.xml
I am also attaching the file contents here
<java:sb-debug-logger xmlns:java="java:com.bea.wli.debug">
<java:alsb-stages-transform-runtime-debug>false</java:alsb-stages-transform-runtime-debug>
<java:alsb-alert-manager-debug>false</java:alsb-alert-manager-debug>
<java:alsb-credential-debug>false</java:alsb-credential-debug>
<java:alsb-jms-reporting-provider-debug>false</java:alsb-jms-reporting-provider-debug>
<java:alsb-management-credential-debug>false</java:alsb-management-credential-debug>
<java:alsb-management-dashboard-debug>false</java:alsb-management-dashboard-debug>
<java:alsb-management-debug>false</java:alsb-management-debug>
<java:alsb-management-user-mgt-debug>false</java:alsb-management-user-mgt-debug>
<java:alsb-module-debug>false</java:alsb-module-debug>
<java:alsb-monitoring-aggregator-debug>false</java:alsb-monitoring-aggregator-debug>
<java:alsb-monitoring-debug>false</java:alsb-monitoring-debug>
<java:alsb-pipeline-debug>false</java:alsb-pipeline-debug>
<java:alsb-security-wss-debug>false</java:alsb-security-wss-debug>
<java:alsb-service-account-manager-debug>false</java:alsb-service-account-manager-debug>
<java:alsb-service-provider-manager-debug>false</java:alsb-service-provider-manager-debug>
<java:alsb-service-repository-debug>false</java:alsb-service-repository-debug>
<java:alsb-service-security-manager-debug>false</java:alsb-service-security-manager-debug>
<java:alsb-service-validation-debug>false</java:alsb-service-validation-debug>
<java:alsb-test-console-debug>true</java:alsb-test-console-debug>
<java:alsb-transports-debug>false</java:alsb-transports-debug>
<java:alsb-uddi-debug>false</java:alsb-uddi-debug>
<java:alsb-wsdl-repository-debug>false</java:alsb-wsdl-repository-debug>
<java:alsb-wspolicy-repository-debug>false</java:alsb-wspolicy-repository-debug>
<java:alsb-security-encryption-debug>false</java:alsb-security-encryption-debug>
<java:alsb-security-module-debug>false</java:alsb-security-module-debug>
<java:alsb-sources-debug>false</java:alsb-sources-debug>
<java:alsb-custom-resource-debug>false</java:alsb-custom-resource-debug>
<java:alsb-mqconnection-debug>false</java:alsb-mqconnection-debug>
<java:alsb-throttling-debug>false</java:alsb-throttling-debug>
<java:alsb-flow-resource-debug>false</java:alsb-flow-resource-debug>
<java:alsb-flow-transport-debug>false</java:alsb-flow-transport-debug>
<java:alsb-flow-deployment-debug>false</java:alsb-flow-deployment-debug>
<java:alsb-debugger-debug>false</java:alsb-debugger-debug>
<java:alsb-console-debug>false</java:alsb-console-debug>
<java:alsb-result-caching-debug>false</java:alsb-result-caching-debug>
<java:alsb-bpel-debug>false</java:alsb-bpel-debug>
<java:alsb-jca-framework-adapter-debug>false</java:alsb-jca-framework-adapter-debug>
</java:sb-debug-logger>
starting weblogic with Java version:
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\home11g\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\home11g\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\home11g\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\home11g\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\home11g\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\home11g\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\home11g\patch_oepe1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\home11g\patch_ocp353\profiles\default\sysext_manifest_classpath weblogic.Server
<30-Jun-2010 16:22:43 o'clock BST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
<30-Jun-2010 16:22:47 o'clock BST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<30-Jun-2010 16:22:48 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30-Jun-2010 16:22:48 o'clock BST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<30-Jun-2010 16:22:49 o'clock BST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<30-Jun-2010 16:22:49 o'clock BST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log00005. Log messages will continue to be logged in C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log.>
<30-Jun-2010 16:22:49 o'clock BST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<30-Jun-2010 16:22:56 o'clock BST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<30-Jun-2010 16:22:58 o'clock BST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<30-Jun-2010 16:22:58 o'clock BST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\access.log00005. Log messages will continue to be logged in C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\access.log.>
<30-Jun-2010 16:23:06 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<30-Jun-2010 16:23:06 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30-Jun-2010 16:23:59 o'clock BST> <Warning> <JDBC> <BEA-001110> <No test table set up for pool "wlsbjmsrpDataSource". Connections will not be tested.>
<30-Jun-2010 16:23:59 o'clock BST> <Warning> <JDBC> <BEA-001552> <The Logging Last Resource (LLR) data source wlsbjmsrpDataSource will not function when it is a participant in a global transaction that spans multiple WebLogic Server instances because remote JDBC support is disabled. LLR will function in single-server configurations.>
<30-Jun-2010 16:25:35 o'clock BST> <Alert> <OSB Security> <BEA-387068> <There is no PKI credential mapper provider configured in your security realm. Service key provider management will be disabled. Configure a PKI credential mapper provider if you need service provider support. This is typically the case if you have Oracle Service Bus proxy services with web service security enabled or outbound 2-way SSL connections.>
<30-Jun-2010 16:25:40 o'clock BST> <Warning> <WliSbTransports> <BEA-381917> <MQ Transport could not be registered due to : Missing MQ Library>
[ERROR] AdapterManager - ServletContainerAdapter manager not initialized correctly.
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\OSB_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\OSB_domain.log00005. Log messages will continue to be logged in C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\OSB_domain.log.>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.128.2.170:7001 for protocols iiop, t3, ldap, snmp, http.>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "OSB_domain" running in Development Mode>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
This is really putting me off and its really disappointing to see all these issues in this new release.
How can oracle let a release slip in with such a Major Issue.
Please can any one help or provide a work around atleast.
Regards
NitinI guess till version 10gr3.1 you only needed to start one server and it allowed to access both admin and service bus console.Yes, in 11g as well you may access the admin and OSB console by just starting the admin server but in 11g OSB configuration gets deployed on OSB server (managed server) and test service also runs over this server.
Are you saying there is some other server I need to start just for running the test console ????Yes. Managed server osb_server1 needs to be started for deploying, testing and accessing OSB resources.
As If the OSB server was not running how can I check my published services, modify them and do all the bits and pieces after opening the open the service bus console but not just test them???You can modify and save your configuration without staring OSB server but if you will check in change centre then all the changes being done without starting OSB server will remain in partially activated state.
I have been using the service bus for 3 years and I have never faced any such issue.With each new release you may get new features and with a major release like 11g, architecture and functionality may change.
If it all there is some other server I need to start then whats the process to do so ??Open command prompt. Navigate to $Domain_Home/bin and run command
startManagedWeblogic.cmd <nameOfManagedServer>
for eg. -
D:\OFMW11g\mw\user_projects\domains\ofmw_domain\bin>startManagedWebLogic.cmd osb_server1
Once this server is up and running, try using test console.
Regards,
Anuj -
Logging SQL parameters in Database Adapter??
Hi there!!
We'd like to be able to log all the parameters that are used in a SQL operation in Database Adapters. So far, we've been able to log the query with '?' instead of the real parameters. For example: select t.* from tsupcontact t WHERE t.idsupplier = ? AND t.idproject IS NULL AND (t.iduser = ? OR ? IS NULL)
But we need to be able to see the actual parameters that are passed to the query (we're having some trouble with the database adapters and we need to see what's really going on the database).
Any ideas? Thanks in advance!!You need to edit the the aslbdebug.xml file in ./user_projects/domains/<your domain>. Then go into the weblogic console and change the levels to debug. You will get lots of debugging. Below are the settings in my file.
<java:sb-debug-logger xmlns:java="java:com.bea.wli.debug">
<java:alsb-stages-transform-runtime-debug>true</java:alsb-stages-transform-runtime-debug>
<java:alsb-alert-manager-debug>false</java:alsb-alert-manager-debug>
<java:alsb-credential-debug>false</java:alsb-credential-debug>
<java:alsb-jms-reporting-provider-debug>false</java:alsb-jms-reporting-provider-debug>
<java:alsb-management-credential-debug>false</java:alsb-management-credential-debug>
<java:alsb-management-dashboard-debug>false</java:alsb-management-dashboard-debug>
<java:alsb-management-debug>false</java:alsb-management-debug>
<java:alsb-management-user-mgt-debug>false</java:alsb-management-user-mgt-debug>
<java:alsb-module-debug>true</java:alsb-module-debug>
<java:alsb-monitoring-aggregator-debug>false</java:alsb-monitoring-aggregator-debug>
<java:alsb-monitoring-debug>false</java:alsb-monitoring-debug>
<java:alsb-pipeline-debug>true</java:alsb-pipeline-debug>
<java:alsb-security-wss-debug>false</java:alsb-security-wss-debug>
<java:alsb-service-account-manager-debug>false</java:alsb-service-account-manager-debug>
<java:alsb-service-provider-manager-debug>false</java:alsb-service-provider-manager-debug>
<java:alsb-service-repository-debug>false</java:alsb-service-repository-debug>
<java:alsb-service-security-manager-debug>false</java:alsb-service-security-manager-debug>
<java:alsb-service-validation-debug>false</java:alsb-service-validation-debug>
<java:alsb-test-console-debug>true</java:alsb-test-console-debug>
<java:alsb-transports-debug>true</java:alsb-transports-debug>
<java:alsb-uddi-debug>true</java:alsb-uddi-debug>
<java:alsb-wsdl-repository-debug>false</java:alsb-wsdl-repository-debug>
<java:alsb-wspolicy-repository-debug>false</java:alsb-wspolicy-repository-debug>
<java:alsb-security-encryption-debug>false</java:alsb-security-encryption-debug>
<java:alsb-security-module-debug>false</java:alsb-security-module-debug>
<java:alsb-sources-debug>false</java:alsb-sources-debug>
<java:alsb-custom-resource-debug>true</java:alsb-custom-resource-debug>
<java:alsb-mqconnection-debug>false</java:alsb-mqconnection-debug>
<java:alsb-throttling-debug>false</java:alsb-throttling-debug>
<java:alsb-flow-resource-debug>false</java:alsb-flow-resource-debug>
<java:alsb-flow-transport-debug>false</java:alsb-flow-transport-debug>
<java:alsb-flow-deployment-debug>false</java:alsb-flow-deployment-debug>
<java:alsb-debugger-debug>true</java:alsb-debugger-debug>
</java:sb-debug-logger> -
Problem executing an Online Form in Web DynPro(Adobe Form)
Gurus,
I am trying to create an Online Form in Web DynPro(Adobe Form), i could successfully create the form and deploy it.
But when i executed, i am getting the below error.
<<
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "UsageRights" operation.
Request start time: Thu May 18 16:31:04 CEST 2006
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:420)
>>
Any Help would highly be appreciated
Regards,
Arvind KugasiaHello Markus,
let's say I have two systems. One - X - installed J2EE+ABAP and configured WD pdfobject WS proxy to point to second system - Y - with correctly configured ADS (inculding Redaer Rights Credential). Do I have to setup this Reader Rights Credentila also on system X ?? Do I have to setup something else on system X to work with Interactive forms in WD Java on system X ?
PS: Our ABAP calls from X to ADS on Y are working okay, but I didn't try WD ABAP as basis is too low.
Thanx, Richard.
Message was edited by:
Richard Calaba -
Hi Guys
Can any help me out with this error
<b>this error comes when we wanna deploy the webynpro application .</b>
Client :
Web Dynpro Client Type :: HTML Client
User agent :: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
Version ::null
DOM version:: null
Client Type :: msie6
Client Type ::Profile ie6
ActiveX ::enabled
Cookies ::enabled
Frames ::enabled
Java Applets ::enabled
JavaScript ::enabled
Tables ::enabled
VB Script ::enabled
<b>The Error below was occured when we run programm from transaction <b>SFP</b></b>
<b>Exception :SYSTEM_ERROR.
MESSAGE ID :FPRUNX
MESSAGE ERROR : 001
MESSAGE -
ADS----- THE RENDER LOGFILE HAS WRITTEN TO D:\U(200101)</b>
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntime
<b>Exception:</b> ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF.
Save the error PDF on the file system. This is a helpful attachment in case of an OSS message.
com.adobe.ProcessingError: Error while retrieving a password for credential:
ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRightsHi,
Please put on a proper name as SDN name:) -><a href="/people/community.user/blog/2007/04/09/blogging-ethics-and-hiding">Ethics blog :)</a>.
Do check if ADS is configured propely and got additional licence for using the interactive forms.
Thanks and Regards,
Anto. -
[WebServcie] How to make multiple Filters in QueryService
I am a newbie to the BO Development and I encountered some problems when I try to retrieve data from a BO universe. I am trying to create a query with multiple filters, using the web service SDK, shown as followed:
//Build a filter
QueryCondition boQueryCondition = QueryCondition.Factory.newInstance();
Filter boCondFilter = Filter.Factory.newInstance();
Filter boCondFilter2 = Filter.Factory.newInstance();
boCondFilter.setFilteredObject(boQueryResultObjects[0]);
boCondFilter.setFilterOperator(FilterOperator.EQUAL);
boCondFilter2.setFilteredObject(boQueryResultObjects[2]);
boCondFilter2.setFilterOperator(FilterOperator.EQUAL);
Operand[] boConditionValues = new Operand[1];
Values boFreeValues = Values.Factory.newInstance();
String[] boConditionValueString = new String[] {"2005"};
boFreeValues.setFreeValueArray(boConditionValueString);
boCondFilter.setOperandArray(boConditionValues);
Operand[] boConditionValues2 = new Operand[1];
Values boFreeValues2 = Values.Factory.newInstance();
String[] boConditionValueString2 = new String[] {"1"};
boFreeValues2.setFreeValueArray(boConditionValueString2);
boConditionValues2[0] = boFreeValues2;
boCondFilter2.setOperandArray(boConditionValues2);
ConditionBase[] boConditionBase = new ConditionBase[2];
boConditionBase[0] = boCondFilter;
boConditionBase[1] = boCondFilter2;
boQueryCondition.setItemArray(boConditionBase);
boQuery.setQueryCondition(boQueryCondition);
boQuery.setQueryResultArray(boQueryResultObjects);
boQuerySpec.setQueryBase(boQuery);
// Create the query
ReturnProperties boRetProp = ReturnProperties.Factory.newInstance();
boRetProp.setIncludeQuerySpecification(true);
DataProviderInformation boDataProviderInfo = boQuerySrv.createDataProvider(boUniverseUID, boQuerySpec, boRetProp);
String boQueryDocRef = boDataProviderInfo.getDocumentReference();
The code shows some errors when generating the query.
DataProviderInformation boDataProviderInfo = boQuerySrv.createDataProvider(boUniverseUID, boQuerySpec, boRetProp);
The code goes fine when I was following the steps provided by https://boc.sdn.sap.com/node/18569. However, error occurs when I try implement another filter.
Please advise if anything goes wrong.
By the way, I'm writing a Java application where I have to do my own presentation of the data, but I'd like to use BO get the data.
I am currently having a work routine like this:
1. Login to BO Enterprise Credential via Java API
2. Run the QueryService to create a document object
3. Run the ReportEngine to read the document object and show the result as a XML.
4. Parse the XML and retrieve the data.
It seems that it is quite a stupid way to perform the task. Would you mind advising a better way?
I have spent quite a lot of time to reading docs to see if WSDL operation provided by QaaWS is suitable for the task but not enough sample can be found.
Edited by: Thomas Tse on Sep 3, 2008 3:38 AMAre you playing all the sounds from the same thread? If so, then a sound won't play until the one before it finishes.
-
Hi,
I have done a simple Webdynpro online Adobe form. I m just putting in a hrad coded value into some text boxes.
I have followed the documents available in SDN as well as SAP marketb place. However I am not able to deploy and run the application succesfully.
I am putting up some errors that shows up while deploying the application. Any help would be great.
500 Internal Server Error
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF. Save the error PDF on the file system. This is a helpful attachment in case of an OSS message. com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights Exception Stack Trace: com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights: java.lang.Exception: Could not retrieve a password for credential: ReaderRights at com.adobe.ads.request.UsageRights.execute(UsageRights.java:202) at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111) at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:758) at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130) at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108) at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120) 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:324) at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157) at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79) at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92) at SoapServlet.doPost(SoapServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:369)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1105)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:570)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:153)
... 25 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0006.20060302084208.0000 (release=NW04S_06_REL, buildtime=2006-03-04:17:33:21[UTC], changelist=10570, host=pwdfm114), build date: Wed Jul 19 16:29:44 GMT+05:30 2006
J2EE Engine 7.00 patchlevel
Java VM Java HotSpot(TM) Server VM, version:1.4.2_11-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Thu Aug 10 11:13:06 GMT+05:30 2006 (Java Time: 1155188586593)
Web Dynpro Code Generation Infos
local/TutWD_OnlineInteractiveForm_Init
SapDictionaryGenerationCore 6.4015.00.0000.20050818151336.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:25:32[UTC], changelist=363802, host=PWDFM026.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 6.4015.00.0000.20050818152155.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:18:08[UTC], changelist=363812, host=PWDFM026.wdf.sap.corp)
SapIdeWebDynproCheckLayer 6.4015.00.0000.20051027104504.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:34:53[UTC], changelist=373977, host=PWDFM026.wdf.sap.corp)
SapMetamodelCommon 6.4015.00.0000.20050818152303.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:19:08[UTC], changelist=363816, host=PWDFM026.wdf.sap.corp)
SapMetamodelCore 6.4015.00.0000.20050818152303.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:18:59[UTC], changelist=363816, host=PWDFM026.wdf.sap.corp)
SapMetamodelDictionary 6.4015.00.0000.20050606171352.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:22:38[UTC], changelist=351719, host=PWDFM026.wdf.sap.corp)
SapMetamodelWebDynpro 6.4015.00.0000.20050818152356.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:29:19[UTC], changelist=363818, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationCTemplates 6.4015.00.0000.20051123162612.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:49:15[UTC], changelist=377533, host=PWDFM026)
SapWebDynproGenerationCore 6.4015.00.0000.20051027104504.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:35:24[UTC], changelist=373977, host=PWDFM026.wdf.sap.corp)
SapWebDynproGenerationTemplates 6.4015.00.0000.20051123162612.0000 (release=630_VAL_REL, buildtime=2005-11-24:21:49:15[UTC], changelist=377533, host=PWDFM026)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: ADS Render Exception occured. Append "sap-wd-errorPdf=true" to the URL and access the application once again. This time you will get an error PDF. Save the error PDF on the file system. This is a helpful attachment in case of an OSS message.
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
Exception Stack Trace:
com.adobe.ProcessingError: Error while retrieving a password for credential: ReaderRights:
java.lang.Exception: Could not retrieve a password for credential: ReaderRights
at com.adobe.ads.request.UsageRights.execute(UsageRights.java:202)
at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111)
at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:758)
at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
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:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:369)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1105)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:887)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:570)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:153)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:344)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:298)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:705)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:659)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:227)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:56)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:40)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Plz help.
Cheers!!
Sukanta RudraHi Sukanta,
Either ur credentials for reader rights are expired or u have not configured it in server.U have to get the PKCS file & configured on server.Check the installing and configuring credentials section in this link.
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/95/5a08cd0e274a0bae559622d6670722/frameset.htm">ADS Configuration</a>
regards
Sumit
Maybe you are looking for
-
My new LaCie hard drive won't mount on my mac book pro
I bought a LaCie P9233 hard drive, I try to connect to my MacBook Pro that runs Mac OSX 10.6.8. I connect and I get a message saying the disk is not readable by my computer. It then gives me the option of "Initialize", "Ignore" or "Eject". Can anyone
-
Sending Attachments using Oracle Alerts
Hi All, I am working on Oracle Alerts. I have to send an output of the report to the client, is it possible to send using Oracle Alerts. Thanks in Advance, Venky.
-
..... when I am in Switzerland, will my Blackberry email still be pushed to my phone if I have set up Data Services with the Swiss Sim? Will there be any conflicts. I basically go between UK and Switzerland several times a month and am on a Pay as Y
-
Installation date... Stupidity & Lies
So we were moving house... Please choose an available date... Saturday 8th February 2014. All going swimmingly. Text message... Your installation has been moved to Monday 10th February. Go on BT, take a wild guess as to why I chose Saturday morning,
-
Correcting a scanned document that is tilted
if a document is scanned crooked, how can I fix it Thank you