Exception happened when calling deliver API for BI Publisher Bursting

Hi All,
I have developed a BI Publisher report on OBIEE standalone instance (Oracle Business Intelligence 11.1.1.5.0).
I am able to generate the report and burst the output to emails successfully.
But when I tried to burst the output directly to the printer or to save the output FILEs to local machine, am getting the below error/exception.
For PRINT type...error is below
Document delivery failed
[INSTANCE_ID=bisrv.oracleads.com.1305914111196] [DELIVERY_ID=1182]Error deliver document to printer::Exception happened when calling deliver API::Error deliver document to printer::Exception happened when calling deliver API::oracle.xdo.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException: java.net.UnknownHostException: blr-ibc-7a-prn1 oracle.xdo.service.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException: oracle.xdo.delivery.DeliveryException
for FILE type.... error is below
Document delivery failed
[INSTANCE_ID=bisrv.oracleads.com.1305914111196] [DELIVERY_ID=1192]Error deliver document to file::FILE=[D:\Harish:9930609876-10001969343.pdf::Exception happened when calling deliver API::FILE=[D:\Harish:9930609876-10001969343.pdf::Exception happened when deliver to file:: FILE_NAME= D:\Harish/9930609876-10001969343.pdf] ::oracle.xdo.delivery.DeliveryException: java.io.FileNotFoundException: D:\Harish/9930609876-10001969343.pdf (No such file or directory)oracle.xdo.ser
Can anyone please help on this?
Thanks,
Harish

Hi Varma,
thanks for the reply.
Here are the below sql scripts I used.
-- Printer
SELECT BILL_NUMBER      KEY,
'Layout'           TEMPLATE,     
'en-US'                     LOCALE,
'PDF'                          OUTPUT_FORMAT,
'PRINT'                     DEL_CHANNEL,
BILL_NUMBER                OUTPUT_NAME,
'true'                          SAVE_OUTPUT,
'Direct Printers'           PARAMETER1,
'LocalPrinter'               PARAMETER2,
1                               PARAMETER3,
'd_single_sided'           PARAMETER4,
'default'                     PARAMETER5
FROM XXXX_BILL_TAB;
-- File
SELECT BILL_NUMBER           KEY,
'VLayout'           TEMPLATE,
'RTF'               TEMPLATE_FORMAT,
'en-US'           LOCALE,
'PDF'           OUTPUT_FORMAT,
'FILE'           DEL_CHANNEL,
'true'           SAVE_OUTPUT,
'Monthly Bill for ' || MOBILE_NUMBER OUTPUT_NAME,
'D:\Harish'      PARAMETER1,
MOBILE_NUMBER||'-'||BILL_NUMBER     PARAMETER2
FROM XXXX_BILL_TAB;
Thanks,
Harish
Edited by: 899863 on Dec 16, 2011 4:01 AM

Similar Messages

  • Call of API for IBase contains errors

    Dear All,
    We are using solution manager 4 with SP13.When i try to create a Ibase through Initiate Data transfer for ibase,i gives the following error.
    Call of API for IBase contains errors
    Message no. CRM_IB050
    Diagnosis
    No import data was entered for one of the function modules (APIs) for Installed Base Management. Therefore, the function cannot be executed.
    System Response
    The system terminates processing.
    Procedure
    If the APIs are called in customer-specific programs, check the call for the APIs and change the call accordingly.
    Please help to proceed,
    Regards,
    Avinash.

    Good day,
    Had the same error and solved it by doing the following;
    Go to t/code DNO_CUST01 and double click on SFL1 and make sure "number range" is 01 and "action profile" is SLFN0001_STANDARD_DNO.
    Your number range interval in t/code CRMC_NR_RA_SERVICE should be consistant with NR details in t/code DNO_NOTIF (check note: 498984 to set it up)
    Good luck.
    Cheers
    Anthony Cunha

  • Call of API for IBase contains errors Message no. CRM_IB050

    Call of API for IBase contains errors
    Message no. CRM_IB050
    Diagnosis
    No import data was entered for one of the function modules (APIs) for Installed Base Management. Therefore, the function cannot be executed.
    System Response
    The system terminates processing.
    Procedure
    If the APIs are called in customer-specific programs, check the call for the APIs and change the call accordingly.
    Can anyone help me in the above issue.
    Regards,
    Mirza Kaleemulla Baig

    Hi Sai,
    This is too late to reply this post, but to let everyone know about the issue I am posting here.
    Start new UI session and put breakpoint at BUPR_EMPLO_DELETE and check parameter IV_X_SAVE everytime, till you get the error message. The parameter IV_X_SAVE should be same/consistent (either ' ' or 'X') in whole Logical Unit of Work. It should not change in between.
    I faced the same kind of problem and found that standard was passing IV_X_SAVE = ' ' and in our custom code we were passing IV_X_SAVE = 'X'. I changed it to IV_X_SAVE = ' ' and my problem got resolved.
    You can try the same. Please post the alternate solution if you find it.
    Best Regards,
    Rahul Koshti

  • Nothing happens when I click DOWNLOAD for Adobe X Pro

    Nothing happens when I click DOWNLOAD for Adobe X Pro trial.
    Pop-up blocker is off. What do I need to do?

    Try a different web browser?  Adjust the settings on your security software.
    Alternately you can follow the steps listed at http://forums.adobe.com/thread/981369 to initiate a direct download.  Although you may run into similar difficulties if you are unable to begin the download process.

  • Exception 1 When calling IWB_HTML_HELP_URL_GET occured

    Hi,
    Could any body help me to overcome from the below problem.
    While executing the queries with an end user id (ofcourse we have only
    one Enduser id presently) in Analyzer we are getting the error
    Exception 1 When calling IWB_HTML_HELP_URL_GET occured.
    But in the query designer , while executing the query as Display Query
    on the web , we are not getting any error with that userid.And also we
    are not getting this problem with the userid which has all
    authorizations.
    Kindly provide a help to sort out this problem in the Analyzer.
    We are working on Netweaver 2004s and on SP 13. And using 7.x Analyzer.
    Thanks and Regards,
    Anil Kumar Sharma .P

    Hi Anil,
    check this thread it may be helpful....
    Re: How to install help files on BI 7.0 bex analyzer
    cheers
    Sunil

  • Communication error when calling web service for checkin and checkout files

    Hello,
    I am trying to checkout  and also to checkin files within the DMS via web service. The files are stored in the VAULT (=TRESOR) without the data server parth and DVA computer.
    For checkout:
    Original zum Ändern auschecken
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKOUTMODIFY2'
        EXPORTING
          documenttype    = pi_documenttype
          documentnumber  = pi_documentnumber
          documentpart    = pi_documentpart
          documentversion = pi_documentversion
          documentfile    = lf_documentfiles
          pf_http_dest    = ''
          pf_ftp_dest     = ''
        statusextern    = lf_status
        IMPORTING
          return          = lf_return
          checkedoutfile  = ls_checkedoutfile.
    and for checkin:
    Dokument einchecken
      CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'
        EXPORTING
          documenttype    = pi_documenttype
          documentnumber  = pi_documentnumber
          documentpart    = pi_documentpart
          documentversion = pi_documentversion
          hostname        = ''
          statusintern    = ''
       statusextern    = lf_status
          statuslog       = ''
        IMPORTING
          return          = lf_return
        TABLES
          documentfiles   = lt_files.
    But it is not working cause I always get a 'communication error' from the function CV120_FTP_START_REG_SERVER when calling one of these BAPIs via web service:
    IF pf_check_gui = 'X'.
        CLEAR: gf_gui_exist,
               gf_gui_checked.
        CALL FUNCTION 'RFC_PING'
             DESTINATION 'SAPGUI'
             EXCEPTIONS: communication_failure = 1 MESSAGE lf_msg_text
                         system_failure        = 2 MESSAGE lf_msg_text.
        IF sy-subrc = 0.
          gf_gui_exist = 'X'.
        ELSE.
          CLEAR gf_gui_exist.
        ENDIF.
        gf_gui_checked = 'X'.
      ENDIF.
    Afterwards the following function is called where I got the error 'Program no longer started via RFC. No return possible.':
    -> Vault with DVA -> ** Start FTP on the client
      CALL FUNCTION 'SYSTEM_START_REG_SERVER'
           EXPORTING: progname    = 'sapftp'
                      startmode   = ''                          " X
                      exclusiv    = 'Y'
                      waittime    = 500
                      startcomp   = 'C'    " G=gui, C=RFC
                      startpara   = ' '
          IMPORTING: err_code    = lf_errno
                     err_mess    = lf_error_msg
                     destination = pfx_destination.
    Regards
    Jens

    Hi! As mentioned below I had the same problem.
    There are two notes concerning security setting of the SAP Gateway:
    1069911 - GW: Changes to the ACL list of the gateway (reginfo)
    1480644 -  gw/acl_mode versus gw/reg_no_conn_info
    Your basis team should check if the Gateway settings allow external programs to register on the gateway.
    Best regards
    Dominik

  • I continuously have a problem making calls where I have to activate then cancel the speaker phone button.  Normally happens when calling landline phones but sometimes mobile.  Any fixes?

    I continuously have problems making calls from my iphone 4S.  When I place a call and press send, you hear nothing until I turn on and off the speaker button and then you hear the ring tone or the person answering.  This happens normally on land line calls but does occur when calling mobile phones somethimes.  Is this a common problem or is there a fix for it?  Thanks

    I am having the same problem. Usually happens after I make consecutive phone calls.

  • Calling multiple API for AP invoices

    Hi I want to invoke the AP_INVOICES_INTERFACES AND AP_INVOICES_LINES_INTERFACE from bpel. I have coded the transformation for the header part that is ap_invoices_interfaces and have sucessfully invoked it. Now how to invoke the ap_invoices_lines_interface should i have another transformation and another invoke to call the api.

    If values for one or more input parameters of the second API come from output parameters of the first API, then you'll need a transformation to map those values. If all of the values for input parameters of the second API come from somewhere else then an assign activity will be sufficient. You will need another invoke to invoke the second API, regardless of whether there is or is not a transform or assign.

  • Exceptions happen when creating Actions

    Hello,
    I am new to the CAF and GP.
    I installed NetWeaver2004s Sneak Preview SP9.
    Then I made a user, and assigned rolls for using Guided Procedure.
    I launched the GP design time, and choose Create Action from the contextual panel in the gallery.
    But the following exceptions happen!
    com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)
    What is thought as a problem?
    Where is the XML file?
    Server:Windows 2003 Server Standard Edition SP2
    CPU:Pentium4 2.8GHz
    Memory:1GB
    Detailed Error Information is following:
    com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Failed to get Related Model Object for the object ontoBrowser, relation UsedComponent.
         at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:640)
         at com.sap.tc.webdynpro.progmodel.repository.IWDComponentUsageInfo$Implementation.getUsedComponentInternal(IWDComponentUsageInfo.java:216)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.<init>(ComponentUsage.java:67)
         at com.sap.tc.webdynpro.progmodel.controller.Component.createComponentUsage(Component.java:822)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getComponentUsageInternal(Component.java:472)
         at com.sap.tc.webdynpro.progmodel.controller.Component.subscribeToEvent(Component.java:695)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.subscribeSelfToEvent(DelegatingView.java:109)
         at com.sap.caf.eu.gp.dt.grouping.wdp.InternalVGroup.wdDoInit(InternalVGroup.java:301)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:724)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:789)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.onComponentCreated(ViewManager.java:258)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.fireComponentCreated(ComponentUsage.java:575)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:175)
         at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:116)
         at com.sap.caf.eu.gp.ui.hdt.activitydt.CActivityDT.initializeComponentData(CActivityDT.java:565)
         at com.sap.caf.eu.gp.ui.hdt.activitydt.CActivityDT.internalInit(CActivityDT.java:412)
         at com.sap.caf.eu.gp.ui.hdt.activitydt.wdp.InternalCActivityDT.internalInit(InternalCActivityDT.java:175)
         at com.sap.caf.eu.gp.ui.hdt.activitydt.CActivityDTView.onPlugfromDispatch(CActivityDTView.java:185)
         at com.sap.caf.eu.gp.ui.hdt.activitydt.wdp.InternalCActivityDTView.wdInvokeEventHandler(InternalCActivityDTView.java:145)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:826)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.navigate(ClientComponent.java:873)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doNavigation(WindowPhaseModel.java:498)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:144)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         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)
    Caused by: com.sap.tc.webdynpro.repository.RepositoryRuntimeException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)
         at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:178)
         at com.sap.tc.webdynpro.repository.persistence.xml.XMLPersistence.doReadVMO(XMLPersistence.java:126)
         at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.readVMO(RepositoryPersistence.java:356)
         at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.doFindRepositoryObject(RepositoryPersistence.java:598)
         at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.findRepositoryObject(RepositoryPersistence.java:170)
         at com.sap.tc.webdynpro.repository.model.Repository.findRepositoryObjectInternal(Repository.java:590)
         at com.sap.tc.webdynpro.repository.model.RepositoryObjectRelation$XMLGuidWrapper.getModelObject(RepositoryObjectRelation.java:462)
         at com.sap.tc.webdynpro.repository.persistence.RepositoryPersistence.getCurrentLayerObject(RepositoryPersistence.java:702)
         at com.sap.tc.webdynpro.repository.model.Repository.getCurrentLayerObject(Repository.java:1483)
         at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.doMergeInheritedTarget(NonSharedRelationToOne.java:85)
         at com.sap.tc.webdynpro.repository.model.NonSharedRelationToOne.mergeInheritedTargets(NonSharedRelationToOne.java:49)
         at com.sap.tc.webdynpro.repository.model.RelationToOne.getTarget(RelationToOne.java:93)
         at com.sap.tc.webdynpro.repository.model.AbstractRepositoryModelClass.getRelatedModelObject(AbstractRepositoryModelClass.java:234)
         at com.sap.tc.webdynpro.repository.model.DelegatorRepositoryModelClass.getRelatedModelObject(DelegatorRepositoryModelClass.java:636)
         ... 60 more
    Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >: (:main:, row:1, col:491)(:main:, row=1, col=491) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)
         at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:148)
         at com.sap.tc.webdynpro.repository.persistence.xml.XMLConfigurationParserWriter.startParsing(XMLConfigurationParserWriter.java:166)
         ... 73 more
    Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad attribute list. Expected WhiteSpace, / or >:(:main:, row:1, col:491)
         at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1590)
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1710)
         at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843)
         at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
         ... 74 more
    Regards,
    Hiromitsu

    Hi,
    I found the note 990460.
    Does my case apply to this?
    Where can I get the "SAP-EU Netweaver 7.0 SP 9 Patch 1"?
    Regards,
    Hiromitsu

  • Exception Message when calling WebService component

    Hi,
    We are using a Webservice component in our workflow. I want to know if there is a way to get the Exception message when an exception occurs in the Webservice call. We want to be able to handle the exception in the Livecycle layer and not the Flex layer.
    When I draw a route from the Exception lightning bolt and select the type of Exception, it goes to the route when an exception occurs but I have not found a way to get the Exception message.
    Does anyone know how to do that?
    Thanks in Advance.
    A

    I'm using Linux in my server, and yes, my application is configured to run through an Http Proxy-server =)
    When running the application on local, I included the Ip of my webservice in the proxy exceptions, so It wasn't blocked.
    Maybe I have to remove the webService Ip from the exceptions, when running in the server.
    I'll provide you with more details of my server as soon as the person in charge arrives.
    But then, you think that exception is raised whenever the proxy or the application is blocking the webservice ip?
    If that's so, I think I have a good track to keep searching.

  • I keep on getting an error message that reads uninstal javascript set, how do I find out how to do this? This does not happen when I use IE for broswer.

    This may have happened when Firefox was updating to version 4 it was trying to connect forever and I x'ed out of the update screen. But I am not sure that this caused the problem. I have reinstalled Java, but this did not help. I tried to reset the computer do an older date, and the system will not let me reset.

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • What happens when calls/txts are blocked for a number?

    I figured out how to block incoming calls/txts from a phone number in spam controls. What happens if they try to call or text? Are they aware that the number is blocked or does it seem "normal" except I don't receive anything?

    Blocked individuals who call a customer will hear the message:
    "Welcome to Verizon Wireless. The number you were trying to reach has calling restrictions which has prevented the completion of your call."
    If someone tries to text you from a number you have blocked they will get an error that the text failed to send. You will not receive any notification that a blocked number attempted to text you.
    Taken from MorganB HERE and HERE

  • Error when calling getLocalSocketAddress() on for a newly created socket

    Hello,
    I have an issue when using JVM 1.5.0.12 on HP-UX (IA64N):
    java.lang.Error: java.net.SocketException: Bad file number (errno:9)
         at sun.nio.ch.Net.localAddress(Net.java:123)
         at sun.nio.ch.SocketChannelImpl.localAddress(SocketChannelImpl.java:394)
         at sun.nio.ch.SocketAdaptor.getLocalAddress(SocketAdaptor.java:147)
         at java.net.Socket.getLocalSocketAddress(Socket.java:708)
    I get this error when I accept a connection from a remote peer and I try to call getLocalSocketAddress() method on the new accepted socket connection object.
    Does anyone have an idea about the cause for this error?
    I also get 2 other errors but in different places in the code:
    1/ java.io.IOException: No buffer space available (errno:233)
         at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
         at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145)
    This one I get when my server socket accepts a connection. But even if the connection is accepted succesfully, I might get the "java.lang.Error: java.net.SocketException: Bad file number (errno:9)" when trying to call getLocalSocketAddress()
    2/ Once I accept the new connection I call "socketChannel.socket().setTcpNoDelay(true)" but sometimes this fails with a SocketException: Invalid argument (errno:22).
    Al the 3 errors are manifesting sporadically and I cannot find the cause.

    Hello,
    Thanks for your quick response!
    We actually do something like this:
    // NIO engine build around a Selector for asynchronous IO developpement.
    public class NIOCore implements Runnable {
    private final Selector selector;
    private final Set<SelectableChannelListener> channels = new HashSet<SelectableChannelListener>();
    public void run() {
    for (final Iterator<SelectionKey> i = selector.selectedKeys().iterator(); i.hasNext();) {
    final SelectionKey selectionKey = i.next();
    i.remove();
    final SelectableChannelListener selectableChannelListener = (SelectableChannelListener) selectionKey.attachment();
    if (!selectionKey.isValid()) {
    continue;
    // Check what event is available and deal with it
    if (selectionKey.isAcceptable()) {
    if (log.isTraceEnabled()) {
    log.debug("Processing ACCEPT event for listener: " + selectableChannelListener);
    try {
    selectableChannelListener.acceptEvent();
    } catch (final Throwable t) {
    log.error("Error on ACCEPT event for listener " + selectableChannelListener, t);
    selectableChannelListener.close();
    As you ca see, we use to do a callback on our SelectableChannelListener objects. In our case the SelectableChannelListener object that actually propagates the JVM Error is this one:
    public final class Acceptor extends SelectableChannelListener {
    protected NIOCore core;
    public void acceptEvent() {
    SocketChannel socketChannel = serverSocketChannel.accept();
    if (socketChannel == null) {
    throw new NIOCoreException("No incoming connection to accept");
    // Socket options
    if (params.getSocketBufferSize() > 0) {
    socketChannel.socket().setSendBufferSize(params.getSocketBufferSize());
    try {
    socketChannel.socket().setTcpNoDelay(true);
    } catch (SocketException ex) {
    if (log.isDebugEnabled() || log.isTraceEnabled())
    log.warn(logPrefix + "could not set TCP_NODELAY socket option.You may experience performance loss", ex);
    else
    log.warn(logPrefix + "could not set TCP_NODELAY socket option. You may experience performance loss. Cause : " + ex.getMessage());
    // later if the connection is accepted succesfully this line is executed
    SocketAddress localAddress = socketChannel.socket().getLocalSocketAddress();
    @Override
    public void close() {
    core.unregister(this);
    try {
    selectableChannel.close();
    } catch (final IOException e) {
    // Ignore
    NIOPortManager.getInstance().setListenBindSapState(getBoundSAP(), true);
    So bassically when we call selectableChannelListener.close() we indeed close the ServerSocketChannel channel, but we also unregister the Acceptor observer object from NIOCore in order to free memory and set the SAP as available.
    The problem is that we cannot reproduce this issue (it reproduces only on our customers environment) and I consider rather risky to remove the selectableChannelListener.close() call.
    Actually I would catch the Error and package it in an internal runtime exception:
    SocketAddress localAddress = null;
    try {
    localAddress = socketChannel.socket().getLocalSocketAddress();
    catch (Throwable t) {
    throw new MyRunntimeException(t);
    And then to catch this new runtime exception in NIOCore class when this call is made:
    try {
    selectableChannelListener.acceptEvent();
    } catch (final MyRunntimeException e) {
    log.debug("JVM error occured!");
    } catch (final Throwable t) {
    log.error("Error on ACCEPT event for listener " + selectableChannelListener, t);
    selectableChannelListener.close();
    I know this is silly but at least we can use it as a temporary workaround until these JVM issues are fixed.
    Also since socketChannel.socket().getLocalSocketAddress() API call only throws that specific error from time to time, we could implement a retry mechanism. What I mean is to call getLocalSocketAddress() in a while loop and if the call fails with Error just continue to retry...we could provide 3 retries for example. If on the 3 ^rd^ retry the call also fails, just let it be failed and treat it in normal way.
    Best regards,
    Alex

  • URL Escaping when calling Webservices API Changed?

    Hello,
    It seems that something has changed recently with the Adobe Connect Webservices API. In the past, when I would call 'principal-update' to create or update a user, I would sanitize all my strings using urlencode() in PHP, which takes any non-alphanumeric characters (or dashes and underscores) and "percent encodes" them. For example, a "@" character in an email address becomes "%40".
    This is important especially in the case that a string contains an ampersand (&) or question mark (?) since those characters are used to pass the parameters themselves in the URL string.
    This has always worked fine until I noticed a few days ago it was no longer working.
    If I attempt to create a user with an email address formatted with the "%40", Connect now comes back with an error message saying it wasn't formatted properly. Removing the encoding fixes the problem.
    However, this is NOT best practice. And especially for passwords, which could theoretically contain ampersands and question marks, you cannot simply pass the raw string in the URL as it will create a malformed URL.
    Has anyone noticed this, and does Adobe know about it? Seems like a major problem, and means I will have to prevent users from using these special characters in their passwords until this is fixed.
    -Jeff

    Jeff,
    Thanks for the posting. I suggest you should call this into Support as a bug. It's possible that they changed something that affected this without seeing the ramifications.

  • Failed to load TemplateStream when called from API, but OK in Workbench

    I am getting a "Failed to load TemplateStream for FormQuery" error when I invoke a simple process using the Java API.  When I invoke the same process from WorkBench it's fine.  I am using the FormsService in ES 8.2 turnkey installation.  The operation is "renderPDFForm".  Content Root URI is set to repository:// and Form to Render is set to /CANS_ASP/CANS_ASP.pdf, which is in the repository.  Why would this work when invoked by way of right clicking in WorkBench, but not work when the process is invoked by the Java API?
    Here's the whole error:
    2009-08-25 20:31:23,109 ERROR [com.adobe.workflow.AWS] An exception was thrown with name com.adobe.livecycle.formsservice.exception.RenderFormException message:Failed to load TemplateStream for FormQuery=/CANS_ASP/CANS_ASP.pdf from location URI =repository://. while invoking service FormsService and operation renderPDFForm and no fault routes were found to be configured.
    Thanks.
    Jared

    This problem is not solved, but I have a workaround.  I have gotten it working by avoiding the repository and specifying the form location from the file system.  This works:
    Content Root URI: file:///C:\\
    Form to Render: CANS_ASP.pdf
    In case it wasn't clear, I'm not using a FormServiceClient object.  I'm invoking an orchestration using a ServiceClient.  The Content Root URI and Form To Render are specified in the properties of my renderPDFForm component in Workbench.  I'm able to move ahead with development using this workaround for now, but the question remains about why repository:// does not work when my orchestration is invoked using the Java API but it works fine when tested from WorkBench.
    Jared Langdon

Maybe you are looking for

  • Can't print JFrame

    Hi, i am trying to print out a JFrame that contains other Swing and AWT components, such as JTables and menus etc. The problem is that the options that i select from the pageformat dialog, so not get set when the printing is taking place. As a result

  • Design issue with the multiprovider

    Design issue with the multiprovider : I have the following problem when using my multiprovider. The data flow is like this. I have the info-objects IobjectA, IobjectB, IobjectCin my Cube.(Source for this data is s-systemA) And from another s-system I

  • ABAP HR Overview

    I have good idea about HR. But I’m not that much expert .I’d like if you guys share your ABAP HR experience and give me some hints like how to read time data what are the basic ways and macros to read time management data. What are the different ways

  • I cannot launch Firefox, because it crashes on startup

    Hello, I have problem, if I launch FIrefox, it will crash on startup, but if I will reinstall it, it still doesn´t work. Problem has started, when I actualized WIndows. I have Windows 7 and i didn´t experienced crash all time, only this time. It coul

  • Downloading and installing Mediasource off the internet

    how do you download and install creative mediasource? my cd-dri've is broken and cant use the installation cds that came with my zen vision m 30gb player. any help would be appreciated. thanks.