Web Services on TCP

Hi,
Can web services be invoked only using TCP, without going through the internet?
Elaborating :
1. Suppose I have two systems, with one hosting a web service & another being the consumer - If the consumer has the endpoint location of the service, does it still have to go through the internet to invoke the web service?
2. If no, then does it imply that a consumer on the same Local Area Network(LAN) has faster access to the webservice than the one that is accessing the service through the internet and is miles away?
I am new to web services, require help in better understanding this technology.
Thanks,
Niranjan
Some more clarification:
3. I understand that WSIF can be used to invoke webservices locally on the same JVM. Can WSIF be used to invoke a web service on a different system on the LAN?
4. If yes, can can WSIF be used to invoke any kind of web service - .Net webservice, EJB, legacy apps, etc?
Message was edited by:
Niranjan

Hi,
if your webservice runs in a different java vm (different oc4j) the request will not leave your machine.
If you run the webservice on the same oc4j the call will be done via rmi and not via tcp.

Similar Messages

  • Web services - also TCP?

    Hi,
    I'm new to "web services", so I'll take the risk of making a fool of myself...
    I have a distributes system that needs to have some centralized services. If I opt for using HTTP as my protocol, I can use a Tomcat server (or anything similar) and write servlets to provide the various services. But I suspect HTTP has a large overhead per transaction, so I want to consider using some kind of XML over TCP or something like that. Is there anything that already does that?
    Thanks,
    Zohar.

    SOAP via HTTP is definately the standard. HTTP is TCP. I would also think that HTTP would be less overhead (atleast from a resources perspective), since it is a fairly lightweight protocol.
    However, the xfire project http://xfire.codehaus.org will do SOAP over an XMPP (Jabber) connection. You can also use xfire within a servlet container like Tomcat still.

  • LabVIEW Web Services

    I am trying to figure out whether LabVIEW Web Services uses TCP/IP or UDP.
    We are serving up a web service, and all the data is being sent, but sometimes all the packets do not arrive at the other end.  The client requesting from the service doesn't know what to do.
    Does anybody have an idea if this is a UDP problem, a setting issue, or should the client have to deal with lost packets, as opposed to the TCP/IP dealing with that.
    If anybody has an idea on this, I would love to hear it.
    A. 

    We are sniffing the packets at the output from the server, and they are all present.
    We then sniff again at the client, and they don't always all arrive, i.e. sometimes packets are missing.
    There is no rebroadcast however, the software on both ends just stop communicating? thoughts?
    We haven't built in any smarts to the client software to deal with lost packets, as we believed that TCP/IP would take care of this.
    Helpful ideas/thoughts/pointers would be appreciated. 
    A. 

  • Oracle 9i Web Services Quickstart Install TCP tunneling problem

    When I try to run the OTNGUIDGenerator example using the TCP Tunneling portion of the Oracle 9i Web Services Quickstart
    Install I get this in the From localhost8900 tunnel window:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getGUID xmlns:ns1="oracle.otn.ws.emarket.OTNGUIDGenerator" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    </ns1:getGUID>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I get this in the From 127.0.0.1:8888 window:
    HTTP/1.1 404 Not Found
    Date: Mon, 28 Oct 2002 20:38:06 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 171
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator not found on this server</BODY></HTML>
    This is my webservices stub
    public class OTNGUIDGeneratorStub
    /** public String endpoint = "http://otn.oracle.com/ws/oracle.otn.ws.emarket.OTNGUIDGenerator"; */
    public String endpoint = "http://127.0.0.1:8900/j2ee-web/oracle.otn.ws.emarket.OTNGUIDGenerator";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    public OTNGUIDGeneratorStub()
    System.setProperty("oracle.soap.transport.noHTTPClient", "true");
    m_httpConnection = new OracleSOAPHTTPConnection();
    Properties props = new Properties();
    /** props.put(OracleSOAPHTTPConnection.PROXY_AUTH_TYPE, "basic");
    props.put(OracleSOAPHTTPConnection.PROXY_HOST, "proxy.scott.af.mil");
    props.put(OracleSOAPHTTPConnection.PROXY_PORT, "375");
    props.put(OracleSOAPHTTPConnection.PROXY_USERNAME, "fowlerji");
    props.put(OracleSOAPHTTPConnection.PROXY_PASSWORD, "F1234567*g"); */
    m_httpConnection.setProperties(props);
    Not sure what to call the server - this works okay when I'm not using tunneling and using our proxy server??

    I think your problem is that you have a proxy user/password and the TCP Monitor (both the command line and built-in 9.0.3 version) do not support that - they only support specification of the proxy server itself :-(
    It is a feature request that I hope will make it into the late spring/early summer release of JDeveloper - I wrote it up as a request based on the number of folks who faced this issue with these tutorials.
    Mike.

  • Web service design trade-offs (TCP read mode vs headers)

    If I use HTTP headers, I can stimulate and monitor my LV RT code from a web browser while my PC-based LV code is also talking to the LV RT app.  Sometimes, however, the header is the only part that is returned by the web service.  In order to fix this occasional nuisance, the headers can be eliminated so that the Read TCP data in Immediate mode doesn't exit when only the header has been returned.  Unfortunately, the browser interface (in native, non-JavaScript mode) doesn't work any longer so hitting a simple URL request is useless.
    Has anyone found a way to get reliable comms with HTTP headers turned on without having to parse the entire return string line-by-line?

    Zack.L wrote:
    Hi Andy,
    Sorry, forgot to post the Source that's use by both AL1.1.4 and AL2.0.1.
    Source
    begin
    insert into scott.json_demo values(:title,:description);
    end;
    it's failing during the insert?
    Yes, it failed during insert using AL2.0.1.
    So the above statement produces the following error message:
    The symbol "" was ignored.
    ORA-06550: line 2, column 74:
    PLS-00103: Encountered the symbol "" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted delimited-idThis suggests to me that an unprintable character (notice how there is nothing between the double quotes - "") has worked its way into your PL/SQL Handler. Note how the error is reported to be a column 74 on line 2, yet line 2 of the above block should only have 58 characters, so at a pure guess somehow there's extra whitespace on line 2, that is confusing the PL/SQL compiler, I suggest re-typing the PL/SQL handler manually and seeing if that cures the problem.

  • Is it possible to use TCP/IP Monitor with web services?

    Hi!
    I have created a web service in workshop 10 and deployed it on a WLS10 inside workshop. I have turned on TCP/IP monitoring and in this case it uses port 13458. I have also generated a test client using the clientgen ANT task.
    Now I'm using the generated client classes in the following way:
    TestWSXSDService service = new TestWSXSDService_Impl ("http://localhost:13458/TestWSXSD/TestWSXSD?WSDL");
    TestWSXSD port = service.getTestWSXSDSoapPort();
    Apparently the classes retrieves the WSDL file from the server and this request show up on the TCP/IP Monitor.
    However, when I finally executes my request:
    port.hello(in);
    it's apparently using the endpoint information from the retrieved WSDL file and the request goes to port 7001.
    This is the request I want to monitor! Is there a way to make this work with the client classes generated by clientgen or must I make my client in some other way in order to keep a fixed end point against the TCP/IP Monitor?
    Thank you.
    /John
    Edited by johnlindgreen at 08/10/2007 4:51 AM

    Hi!
    I tried to set the suggested properties both on the client and server side, but as far as I can tell they don't wotk with WLS 10. Maybe I'm doing something wrong?
    I tried to serach the documentation and found weblogic.webservice.verbose documented for WLS 8 and weblogic.webservice.client.verbose documented for WLS 9. I couldn't find anything for WLS 10.
    But then I re-found something about using a proxy server from a client [url http://edocs.bea.com/wls/docs100/webserv/client.html#proxy_server]. This actually does the trick. So now my code looks like this:
                   TestWSXSDService service = new TestWSXSDService_Impl ();
                   TestWSXSD port = service.getTestWSXSDSoapPort();
              Proxy p = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("localhost", 13458));
              HttpTransportInfo info = new HttpTransportInfo();
              info.setProxy(p);
              ((Stub)port)._setProperty("weblogic.wsee.connection.transportinfo",info);
    This keeps the client use my TCP/IP Monitor as endpoint.
    /John

  • Financial Reporting Web service Out of Memory (11.1.2.2.300)

    Financial Reporting web services runs out of memory. The JVM settings are currently set to 2048. The OS is windows 2008 64 bit.
    We have made the the following settings but it still does not help. The service would stay up for about 5 to 6 hours and then would go out of memory. We also see that there is a continuous activity in Financial reporting logs even when there are no users using the system.
    - Navigate to the following Windows Registry key on the server hosting the Financial Reporting web application component:
    HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\FinancialReporting0\HyS9FRReports
    - Export the above mentioned Windows Registry key for backup purposes,
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionY
    Value:-XXtlasize:min=4k,preferred=64k
    With Y being equal to (current value of JVMOptionCount) + 1
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionZ
    Value:-XXlargeObjectLimit:4k
    With Z being equal to (current value of JVMOptionCount) + 2
    - Increase the value of the JVMOptionCount parameter by 2
    - Restart the Financial Reporting web application component for the changes to be taken into account.
    [2013-06-10T05:33:38.950-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(549)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13182 ms.
    [2013-06-10T05:34:18.404-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(550)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 26365 ms.
    [2013-06-10T05:34:45.424-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(551)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25340] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13760 ms.
    [2013-06-10T05:59:50.634-04:00] [FinancialReporting0] [ERROR] [] [oracle.EPMFR.core] [tid: Thread-67] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25338] [SRC_CLASS: com.hyperion.reporting.connection.CleanConMgrThread] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: run] [[
    java.lang.OutOfMemoryError

    Financial Reporting web services runs out of memory. The JVM settings are currently set to 2048. The OS is windows 2008 64 bit.
    We have made the the following settings but it still does not help. The service would stay up for about 5 to 6 hours and then would go out of memory. We also see that there is a continuous activity in Financial reporting logs even when there are no users using the system.
    - Navigate to the following Windows Registry key on the server hosting the Financial Reporting web application component:
    HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\FinancialReporting0\HyS9FRReports
    - Export the above mentioned Windows Registry key for backup purposes,
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionY
    Value:-XXtlasize:min=4k,preferred=64k
    With Y being equal to (current value of JVMOptionCount) + 1
    - Create a new "String Value" entry with following name and value:
    Name:JVMOptionZ
    Value:-XXlargeObjectLimit:4k
    With Z being equal to (current value of JVMOptionCount) + 2
    - Increase the value of the JVMOptionCount parameter by 2
    - Restart the Financial Reporting web application component for the changes to be taken into account.
    [2013-06-10T05:33:38.950-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(549)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13182 ms.
    [2013-06-10T05:34:18.404-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(550)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25339] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 26365 ms.
    [2013-06-10T05:34:45.424-04:00] [FinancialReporting0] [NOTIFICATION] [00088] [oracle.EPMFR.core] [tid: RMI TCP Connection(551)-] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25340] [SRC_CLASS: com.hyperion.reporting.security.impl.HsSecurityHelper] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: authenticateUser] External authentication successful for user: [Server0 on host ] succeeded in 13760 ms.
    [2013-06-10T05:59:50.634-04:00] [FinancialReporting0] [ERROR] [] [oracle.EPMFR.core] [tid: Thread-67] [userId: <anonymous>] [ecid: 0000JwfYJ1xDOdk5wzXBiW1HhI4I000000,1:25338] [SRC_CLASS: com.hyperion.reporting.connection.CleanConMgrThread] [APP: FINANCIALREPORTING#11.1.2.0] [SRC_METHOD: run] [[
    java.lang.OutOfMemoryError

  • Breakpoints not working when debugging OC4J web service

    I am attempting to debug the PL/SQL web service autogenerated as part of the EMP_FETCHER tutorial example. My code has been compiled with debug information and the classes I wish to debug are not in my exclusions list.
    When using the embedded OC4J container, I've verified that it is starting up in debug mode in the log. Setting breakpoints in the Emp_Fetcher class on the line commencing
    __sJT_st = __sJT_ec.prepareOracleCall...
    however seems to have no effect. Running my web service client does not cause the web service to stop on the selected breakpoint.
    I've also tried remote debugging of the same web service on a separate database server. While I have been able to start OC4J on the server in debug mode, and connect to it from JDeveloper, setting of breakpoints seems to have no effect. I've monitored the TCP traffic on port 4000. It shows activity during the initial connection, but no traffic when I manipulate breakpoints in JDeveloper. I would have expected some traffic as breakpoints are added and removed.
    Any assistance would be appreciated.
    Regards
    Michael

    Hi Mithun Dha
    I am facing same problem !
    please let me know what is SICF user name and how to change it ?
    I am using MSS PCR application (MSS role, Personal Change Request which is standard application on portal and it calls BADI at backend, it was working fine till yday suddenly its not stopping at the ext breakpoint in BADI)
    thank you
    b

  • Can't re-add printer after removing from eprint center - 'Web Services Problem'

    I have an HP Photosmart Premium C310 series printer (Model Number CN503B) which I have been using with ePrint for about 18 months. Aside from intermittent issues it has worked, I use a chromebook most of the time so rely on the ePrint option via Google Cloud Print.
    Last week it stopped working, with every job in the list showing as cancelled. Following advice on the forum I removed the email address of the printer from the eprint center. I thought it would then be simple to add the printer back. However, I have been unable to connect the printer to the web service so I cannot create the code I need to add the printer back.
    STEPS TO REPRODUCE:
    1. Factory reset printer settings
    2. Factory reset network settings
    3. Restart printer and Reboot router
    3. Settings -> Network -> Wireless Setup Wizard
    4. Choose correct SSID, enter password for WPA
    5. ‘Connected to Network’
    6. Settings -> Web -> Enable Web Services
    7. ‘Accept terms’ screen -> Accept
    8. ‘Checking for product updates’ screen shows briefly then returns to 'accept terms' screen
    9. Next it makes a ping sound and shows ‘Web Services Problem’ ‘Problem connecting to Web Services Server’, it then pings again a few seconds later (which ties in with what I see in the network logs as a second attempt)
    10. Log on to printer via web interface and set IP address of printer to manual IP outside DHCP range (as advice on other threads in this forum). Check DNS setting valid (same as gateway server which all other devices on network are also using successfully as DNS)
    11. Repeat steps 6 and 7 - still same error message
    I consider myself technically savvy and have followed all advice I can find on this forum including the following:
    1. reverting to printer and network defaults
    2. rebooting router
    3. assigning static IP address to printer outside of DHCP range of router
    4. connecting to printer via web interface and setting DNS to variously: same as gateway, google DNS (8.8.8.8), ISP DNS
    5. adjusting firewall settings on router to explicitly allow and log outbound connection on the HP ports (already had a rule allowing all outbound connections)
    As mentioned, the printer worked fine with ePrint previously so I suspect the ePrint server is rejecting a request from my printer for some reason, maybe because there is old / corrupt  data on the server regarding my specific printer.
    I’m logging outbound traffic from the printer and here are what the router logs show me (printer IP replaced with 192.168.x.x below, even though it is not public )
    Thu, 2013-04-11 09:13:42 - TCP Packet - Source:192.168.x.x, 36475 Destination:15.201.202.81,80 - [HTTP rule match]
    Thu, 2013-04-11 09:13:43 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 51463 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:44 - TCP Packet - Source:192.168.x.x, 53044 Destination:15.201.224.79,443 - [HTTPS rule match]
    Thu, 2013-04-11 09:13:51 - TCP Packet - Source:192.168.x.x, 64270 Destination:15.201.224.79,443 - [HTTPS rule match]
    Looks like both are HP sites: first is 'g4t2674.houston.hp.com' and the second secure one is ‘registration-pro-site2eprint.houston.hp.com’ which sound likely to be correct. That suggests the DNS is working but that the registration server doesn’t like the request for some reason.
    I had the printer registered for Google Cloud Print but I have now deleted that also and it doesn’t seem to have made any difference (assume it just formats and forwards to the HP ePrint email anyway).
    One hack that sheds some further light is to switch off wifi on the printer and then switch on ePrint. Eprint gives an error but stays set as 'on'. When I then switch wifi back on I can then at least check for product updates (it tells me I have the latest product updates). However, web services are still a 'no go'. Network traffic for that product update exchange looks like this:
    Thu, 2013-04-11 10:14:51 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:00 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63960 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x,63938 Destination:15.240.238.56,80 - [Any(ALL) rule match]
    Thu, 2013-04-11 10:15:01 - TCP Packet - Source:192.168.x.x ,39054 Destination:2.16.226.12,443 - [Any(ALL) rule match]
    So clearly the printer can communicate to those servers well enough to find it has the latest firmware. 
    I realise this is a lot of information but hopefully some of it is helpful for troubleshooting.
    Thank you in advance for any help!

    The issue disappeared this weekend. I didn't change anything so it must have been something server side. I notice others with the same issue have also seen it resolved.
    Thanks to all those who contributed and tried to help out. Although disappointed I went for a long time without ePrint I'm glad that action was apparently taken to resolve in the end.

  • Invalid element RenderOptionsSpec - CB error while calling Output Service through web service

    Hi,
          I am trying to call generatePDFOutput from Output Service through web service.
    I have generated the proxy class using RAD webservice client option by http://10.235.0.232:8080/soap/services/OutputService?wsdl
    here is my code
    OutputServiceServiceLocator outputService =new OutputServiceServiceLocator();URL serviceURL =
    new URL("http://10.235.0.232:8080/soap/services/OutputService?blob=base64");OutputServiceSoapBindingStub outputClient =
    new OutputServiceSoapBindingStub(serviceURL, outputService); 
    ((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
    USERNAME_PROPERTY,DSC_CREDENTIAL_USERNAME);((javax.xml.rpc.Stub) outputClient)._setProperty(javax.xml.rpc.Stub.
    PASSWORD_PROPERTY,DSC_CREDENTIAL_PASSWORD); 
    //Reference XML data to merge into the PDF document
    BLOB inData =new BLOB();inData.setBinaryData("Input xml in bytes");
    formName =
    "/AdobePOC/Forms/sample.xdp"; 
    //Set PDF run-time options
    PDFOutputOptionsSpec pdfOptions =new PDFOutputOptionsSpec();pdfOptions.setFileURI(
    "repository://"); 
    RenderOptionsSpec renderOptions =
    new RenderOptionsSpec();renderOptions.setCacheEnabled(
    true); 
    BLOBHolder generatePDFOutputPDFDoc =
    new BLOBHolder();BLOBHolder generatePDFOutputMetaDataDoc =
    new BLOBHolder();BLOBHolder generatePDFOutputResultDoc =
    new BLOBHolder();OutputResultHolder outResultHolder =
    new OutputResultHolder(); 
    //Create a PDF Document
    outputClient.generatePDFOutput(TransformationFormat.PDFA, formName,"repository://", pdfOptions, renderOptions,inData, generatePDFOutputPDFDoc,generatePDFOutputMetaDataDoc, generatePDFOutputResultDoc,outResultHolder);
    return generatePDFOutputResultDoc.value;
    I am getting the following error while executing the above code.
    09 17:05:05:407 IST] 00000028 SystemErr R AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
    faultString: 
    org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CBfaultActor:
    faultNode:faultDetail:
    {}faultData:<ns1:exception xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/><ns2:message xmlns:ns2="http://adobe.com/idp/services">Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB</ns2:message>
    {http://xml.apache.org/axis/}hostname:A1AIGMD02018
     [6/25/09 17:05:05:407 IST] 00000028 SystemErr R org.xml.sax.SAXException: Invalid element in com.adobe.livecycle.output.client.RenderOptionsSpec - CB[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault( 
    SOAPFaultBuilder.java:222)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement( 
    SOAPFaultBuilder.java:129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement( 
    DeserializationContext.java:1087)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    [6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse( 
    DeserializationContext.java:227)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope( 
    SOAPPart.java:696)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.Message.getSOAPEnvelope( 
    Message.java:435)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke( 
    MustUnderstandChecker.java:62)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.AxisClient.invoke( 
    AxisClient.java:206)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invokeEngine( 
    Call.java:2784)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2767)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2443)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2366)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:1812)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput( 
    OutputServiceSoapBindingStub.java:579)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.adobe.idp.services.WebOutputService.call( 
    WebOutputService.java:70)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.ServiceCallThroWebService.call( 
    ServiceCallThroWebService.java:13)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform( 
    WebServiceHandler.java:92)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform( 
    ActionServlet.java:1787)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.process( 
    ActionServlet.java:1586)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at org.apache.struts.action.ActionServlet.doGet( 
    ActionServlet.java:492)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet( 
    PubServlet.java:42)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:743)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:856)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service( 
    ServletWrapper.java:966)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:478)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:463)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest( 
    WebApp.java:3129)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest( 
    WebGroup.java:238)[6/25/09 17:05:05:427 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest( 
    WebContainer.java:811)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest( 
    WebContainer.java:1433)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready( 
    WCChannelLink.java:93)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination( 
    HttpInboundLink.java:465)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation( 
    HttpInboundLink.java:394)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete( 
    HttpICLReadCallback.java:102)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted( 
    AioReadCompletionListener.java:152)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback( 
    AbstractAsyncFuture.java:213)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions( 
    AbstractAsyncFuture.java:195)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.AsyncFuture.completed( 
    AsyncFuture.java:136)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.complete( 
    ResultHandler.java:194)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop( 
    ResultHandler.java:741)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.io.async.ResultHandler$2.run( 
    ResultHandler.java:863)[6/25/09 17:05:05:437 IST] 00000028 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run( 
    ThreadPool.java:1510)
    Please help me to fix this error.
    Thanks in advance
    Lavanya.

    Hodmi, Thanks for your reply.
    If i set RenderOptionsSpec values its not throwing Invalid element RenderOptionsSpec - CB error but its throwing ALC-DSC-000-000 internal error
    [6/26/09 17:11:35:021 IST] 00000029 SystemErr R AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:
    faultString: 
    com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.faultActor:
    faultNode:faultDetail:
    {}faultData:<ns1:result xmlns:ns1="http://adobe.com/idp/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
    {http://xml.apache.org/axis/}hostname:A1AIGMD01299
     [6/26/09 17:11:35:021 IST] 00000029 SystemErr R  
    com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.createFault( 
    SOAPFaultBuilder.java:222)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.message.SOAPFaultBuilder.endElement( 
    SOAPFaultBuilder.java:129)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.endElement( 
    DeserializationContext.java:1087)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    [6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.encoding.DeserializationContext.parse( 
    DeserializationContext.java:227)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.SOAPPart.getAsSOAPEnvelope( 
    SOAPPart.java:696)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.Message.getSOAPEnvelope( 
    Message.java:435)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke( 
    MustUnderstandChecker.java:62)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.AxisClient.invoke( 
    AxisClient.java:206)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invokeEngine( 
    Call.java:2784)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2767)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2443)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:2366)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at org.apache.axis.client.Call.invoke( 
    Call.java:1812)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.OutputServiceSoapBindingStub.generatePDFOutput( 
    OutputServiceSoapBindingStub.java:579)[6/26/09 17:11:35:111 IST] 00000029 SystemErr R at com.adobe.idp.services.WebOutputService.call(WebOutputService.java)
    [6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.webService.controller.WebServiceHandler.perform( 
    WebServiceHandler.java:76)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.processActionPerform( 
    ActionServlet.java:1787)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.process( 
    ActionServlet.java:1586)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at org.apache.struts.action.ActionServlet.doGet( 
    ActionServlet.java:492)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.aig.dbg.cto.service.publishing.controller.PubServlet.doGet( 
    PubServlet.java:42)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:743)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at javax.servlet.http.HttpServlet.service( 
    HttpServlet.java:856)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service( 
    ServletWrapper.java:966)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:478)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest( 
    ServletWrapper.java:463)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest( 
    WebApp.java:3129)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest( 
    WebGroup.java:238)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest( 
    WebContainer.java:811)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest( 
    WebContainer.java:1433)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready( 
    WCChannelLink.java:93)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination( 
    HttpInboundLink.java:465)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation( 
    HttpInboundLink.java:394)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready( 
    HttpInboundLink.java:274)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators( 
    NewConnectionInitialReadCallback.java:214)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete( 
    NewConnectionInitialReadCallback.java:113)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted( 
    AioReadCompletionListener.java:152)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback( 
    AbstractAsyncFuture.java:213)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions( 
    AbstractAsyncFuture.java:195)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.AsyncFuture.completed( 
    AsyncFuture.java:136)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.complete( 
    ResultHandler.java:194)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop( 
    ResultHandler.java:741)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.io.async.ResultHandler$2.run( 
    ResultHandler.java:863)[6/26/09 17:11:35:121 IST] 00000029 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run( 
    ThreadPool.java:1510)
    Please help me to fix this also.
    Thanks in advance
    Lavanya.

  • Error while invoking web services from Proxy services in OSB

    I have a Proxy Service of message type in Oracel Service Bus 10gR3 and it passes the incoming messages from a JMS Queue to Business Service of Web Services type. This Web Service is hosted in Glass Fish v3 and it's binding style is RPC. The JRE used in both the servers are 1.6.0_20. The JMS message is of Text type. The Web Services at the Glass Fish throws MessageCreationException for any content of the JMS message. However, it works fine if Business Service's test client is invoked from the OSB'S Admin Console. However, the same will not work if Proxy Service's test client is called.
    The detailed exception stack is given below :
    Thanks for the help.
    - Raj
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
    at [row,col {unknown-source}]: [1,0]
         at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
         at com.sun.xml.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:318)
         at com.sun.xml.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:92)
         at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:501)
         at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:285)
         at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:143)
         at org.glassfish.webservices.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:116)
         at org.glassfish.webservices.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:87)
         at org.glassfish.webservices.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:196)
         at org.glassfish.webservices.EjbWebServiceServlet.service(EjbWebServiceServlet.java:127)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at com.sun.grizzly.http.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:195)
         at com.sun.grizzly.http.servlet.FilterChainImpl.invokeFilterChain(FilterChainImpl.java:139)
         at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:376)
         at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:329)
         at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
         at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
    at [row,col {unknown-source}]: [1,0]
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:267)
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:95)
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:110)
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:100)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:175)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:303)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:129)
         at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:354)

    Let me explain what I am trying to achieve. Our application receives data from multiple sources - from mainframe using FTP, JMS Queue and BPM application using Web Services. The data from all these sources are sending to a Web Service running in GlassFish V3. To handle this I have created three Proxy Services and one Business Service on OSB. The Business Service is of type Web Service using the same WSDL from the target Web Service.
    The Proxy Services are configured as follows:
    Proxy 1 (type - Messaging service) listens to the JMS Queue and receives JMS Text Message -> Business Service(B1) (Web Service).
    Proxy 2 (type - Messaging service Polls files from the FTP Server -> Business Service(B1) (Web Service).
    Proxy 3 (type - Web service) is invoked by the BPM application and sends a String -> Business Service(B1) (Web Service).
    All the Proxies route to the same Business Service - B1 which calls the Web Service in GlassFish. The only Proxy that works fine is Proxy 3 which is created using the same WSDL of the Web Service. In the other two proxies it thows the same exception in GlassFish as I mentioned before.
    com.sun.xml.ws.protocol.soap.MessageCreationException: Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:359)
    Is this configuration correct to achieve my requirements?
    Once again thanks for the help.
    - Raj

  • Unable to call a web service from BPEL Project

    I am running my BPEL PM on Windows XP SP3. The platform is weblogic 9.2, SOA 10.1.3.1.
    I created a simple BPEL project to call a web service and when I run the project from BPELConsole I getting the following error:
    exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
    I am able to call this web service from soapUI client.
    Any help or hint is appreciated.
    Thanks

    I have had this issue before when calling a .NET service, it was firewall related. I didn't actually make the fix so I can't tell you exactly how it was fixed on the server. I hope this info makes sense as this this the info I got from the IT boys
    I’ve install this tool on your computer:
    http://www.microsoft.com/downloads/details.aspx?FamilyID=05C2C932-B15A-4990-B525-66380743DA89&displaylang=en
    which does that:
    Firewall Client for ISA Server can be optionally installed on client computers protected by Microsoft ISA Server. Firewall Client for ISA Server provides enhanced security, application support, and access control for client computers. It provides authentication for Winsock applications that use TCP and UDP, supports complex secondary protocols, and supplies user and application information to the ISA Server logs.
    When a client computer running Firewall Client for ISA Server makes a request, the destination is evaluated by the Firewall Client software, and external requests are directed to the ISA Server computer for handling. No specific routing infrastructure is required. Firewall Client sends user information transparently with each request, enabling you to create a firewall policy on the ISA Server computer with rules that use the authentication credentials presented by the client. ISA Server allows you to configure automatic discovery for Firewall client computers, using a WPAD entry in DNS or DHCP to obtain correct Web proxy settings for clients, depending on their location.
    and I’ve added a exception in IE to the tools-lan settings-advanced-exceptions to be creditworks.* Did this by modifying the GPO that applies to your account, so all the users in National Office should have that exception.
    hope you can use this.
    cheers
    James

  • Invoking Web Service from JSF Managed Bean

    Hi all,
    I am trying to invoke a webservice from Managed Bean and getting an exception.
    Server : WAS 6.1.0.2
    Version :JSF 1.2
    Type of WS Invocation : JAX-WS web services
    IDE : RAD 7.0.0
    I have set up the class path correctly and added relevant WS Client in EAR ....
    Following is the exception am receiving :
    [8/31/11 7:59:25:335 EDT] 0000002d WebApp E [Servlet Error]-[Faces Servlet]: javax.faces.el.EvaluationException: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:170)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:123)
    at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
    at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:84)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:204)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:171)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:754)
    at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:627)
    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:550)
    at com.sun.faces.taglib.html_basic.InputTextareaTag.doEndTag(InputTextareaTag.java:651)
    at com.ibm._jsp._sample._jspx_meth_h_inputTextarea_0(_sample.java:107)
    at com.ibm._jsp._sample._jspx_meth_h_form_0(_sample.java:149)
    at com.ibm._jsp._sample._jspx_meth_f_view_0(_sample.java:180)
    at com.ibm._jsp._sample._jspService(_sample.java:77)
    at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:115)
    at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:168)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:308)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:325)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:249)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:239)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
    at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3129)
    at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
    Caused by: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType
    at java.lang.J9VMInternals.verifyImpl(Native Method)
    at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
    at java.lang.Class.newInstanceImpl(Native Method)
    at java.lang.Class.newInstance(Class.java:1263)
    at java.beans.Beans.instantiate(Beans.java:219)
    at java.beans.Beans.instantiate(Beans.java:63)
    at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:226)
    at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:291)
    at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:81)
    at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)
    at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:249)
    at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:140)
    Thanks in advance ..
    Steve Bob

    No you haven't, because
    Caused by: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType a relevant class can still not be found and Java really is not going to lie to you; this class is not on your application's classpath so it is either missing or put in the wrong place. Note that missing classes can be caused by you forgetting to properly redeploying your application - its usually something silly like that. Figure out what you did wrong and correct your mistake.
    The fact that you have to mention that you "setup the classpath" is questionable; in web applications you don't touch the classpath at all. So what exactly did you do?

  • Unable to call a Web Services via UTL_DBWS

    Hi all,
    I create with Apex 3.1 a web service (it works)
    Now i need to use the UTL_DBWS package to access a web services from PL/SQL
    So i get the Name 'WebServiceDemo', the URL 'http://my_url' and the Target Namespace 'http://my_target'
    from the web service reference to build PL/SQL process
    The operation 'Login' has two input parameters (username as string, password as string - nullable)
    and one ouput parameter (sessionId as string)
    When i run the following source code, i get an error
    ORA-29532: javax.xml.rpc.soap.SOAPFaultException: Well-formedness violation
    Oracle 10.2.0.4
    What am i doing wrong?
    Any help is appreciated,
    Thanks
    Grégory
    Here is my code :
    DECLARE
       service_            UTL_DBWS.service;
       call_               UTL_DBWS.CALL;
       service_qname       UTL_DBWS.qname;
       port_qname          UTL_DBWS.qname;
       operation_qname     UTL_DBWS.qname;
       string_type_qname   UTL_DBWS.qname;
       retx                ANYDATA;
       retx_string         VARCHAR2 (100);
       retx_len            NUMBER;
       params              UTL_DBWS.anydata_list;
    BEGIN
       service_qname := UTL_DBWS.to_qname (NULL, 'WebServiceDemo');
       service_ := UTL_DBWS.create_service (service_qname);
       port_qname := UTL_DBWS.to_qname (NULL, 'WebServiceDemo');
       -- target --
       operation_qname := UTL_DBWS.to_qname ('http://my_target', 'Login');
       call_ := UTL_DBWS.create_call (service_, port_qname, operation_qname);
       -- URL --
       UTL_DBWS.set_target_endpoint_address
          (call_,
           'http://my_url'
       string_type_qname :=
                  UTL_DBWS.to_qname ('http://www.w3.org/2001/XMLSchema', 'string');
       UTL_DBWS.ADD_PARAMETER (call_,
                               'name',
                               string_type_qname,
                               'ParameterMode.IN'
       UTL_DBWS.set_return_type (call_, string_type_qname);
       params (0) := ANYDATA.convertvarchar2 ('my_login');
       retx := UTL_DBWS.invoke (call_, params);
       retx_string := retx.accessvarchar2;
    END;

    I have had this issue before when calling a .NET service, it was firewall related. I didn't actually make the fix so I can't tell you exactly how it was fixed on the server. I hope this info makes sense as this this the info I got from the IT boys
    I’ve install this tool on your computer:
    http://www.microsoft.com/downloads/details.aspx?FamilyID=05C2C932-B15A-4990-B525-66380743DA89&displaylang=en
    which does that:
    Firewall Client for ISA Server can be optionally installed on client computers protected by Microsoft ISA Server. Firewall Client for ISA Server provides enhanced security, application support, and access control for client computers. It provides authentication for Winsock applications that use TCP and UDP, supports complex secondary protocols, and supplies user and application information to the ISA Server logs.
    When a client computer running Firewall Client for ISA Server makes a request, the destination is evaluated by the Firewall Client software, and external requests are directed to the ISA Server computer for handling. No specific routing infrastructure is required. Firewall Client sends user information transparently with each request, enabling you to create a firewall policy on the ISA Server computer with rules that use the authentication credentials presented by the client. ISA Server allows you to configure automatic discovery for Firewall client computers, using a WPAD entry in DNS or DHCP to obtain correct Web proxy settings for clients, depending on their location.
    and I’ve added a exception in IE to the tools-lan settings-advanced-exceptions to be creditworks.* Did this by modifying the GPO that applies to your account, so all the users in National Office should have that exception.
    hope you can use this.
    cheers
    James

  • XE web service stopped working

    I installed XE 10g rel 2 on a Ubuntu Linux server a few weeks ago (so that's how much experience I have). I've been using the web service (server:8080/apex from one Vista and one XP client) for a few days. After a few hours of light work today, a couple of simple queries seemed to hang. Eventually I tried to end the sessions under the admin panel, but they didn't stop. I tried to restart the database, but then could no longer connect. Seems port 8080 is no longer serving. Restarting the server didn't help.
    The network connection is OK. The database is up: I can access it using SQL*Plus from locally on the server.
    While hacking at this problem, I have:
    - changed tnsnames.ora, replacing server name with server IP address. NB server name is moo.mag. Oracle seems to know it as moo and sometimes as moo.mag. /etc/hosts is shown below.
    - changed the password for user oracle and added user oracle to group dba.
    Below I have:
    - tnsnames.ora
    - listener.ora
    - listener.log
    - /etc/hosts
    Help is appreciated!
    Paul
    oracle@moo:~/app/oracle/product/10.2.0/server/network/admin$ cat /etc/hosts
    127.0.0.1 localhost
    127.0.1.1 moo.mag moo
    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    lsnrctl status:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 18-APR-2009 23:08:58
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 18-APR-2009 22:39:33
    Uptime 0 days 0 hr. 29 min. 25 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.22)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    oracle@moo:~/app/oracle/product/10.2.0/server/bin$
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.22)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.22)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    listener.log from about the time of the problem I think:
    18-APR-2009 20:17:32 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.27)(PORT=53269)) * handoff * http * 0
    18-APR-2009 20:17:40 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.27)(PORT=53270)) * handoff * http * 0
    18-APR-2009 20:17:55 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.27)(PORT=53271)) * handoff * http * 0
    18-APR-2009 20:17:55 * http * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.27)(PORT=53272)) * handoff * http * 0
    18-APR-2009 20:21:08 * service_update * XE * 0
    18-APR-2009 20:21:11 * service_update * XE * 0
    18-APR-2009 20:21:11 * service_update * XE * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=moo.mag)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    18-APR-2009 20:21:17 * service_died * XE * 12537
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=moo.mag)(PORT=1521)))
    Listener completed notification to CRS on stop
    18-APR-2009 20:21:22 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * stop * 0
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 18-APR-2009 20:26:00
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=4465
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.22)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Linux Error: 99: Cannot assign requested address
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 18-APR-2009 20:38:58
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=5775
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.22)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    18-APR-2009 20:38:58 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    18-APR-2009 20:54:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.22)(PORT=1521)))
    Listener completed notification to CRS on stop
    18-APR-2009 21:07:50 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * stop * 0
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 18-APR-2009 21:07:50
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=6613
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.22)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    18-APR-2009 21:07:50 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    18-APR-2009 21:25:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=paul))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    18-APR-2009 21:25:43 * ping * 0
    18-APR-2009 21:26:15 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=paul))(COMMAND=services)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * services * 0
    18-APR-2009 21:26:32 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=paul))(COMMAND=reload)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * reload * 1190
    TNS-01190: The user is not authorized to execute the requested listener command
    18-APR-2009 21:51:32 * ping * 0
    18-APR-2009 21:51:35 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=paul))(COMMAND=reload)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * reload * 1190
    TNS-01190: The user is not authorized to execute the requested listener command
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.22)(PORT=1521)))
    Listener completed notification to CRS on stop
    18-APR-2009 22:19:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * stop * 0
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 18-APR-2009 22:21:05
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=4461
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.22)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    Linux Error: 99: Cannot assign requested address
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production on 18-APR-2009 22:39:32
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Log messages written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Trace information written to /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/trace/listener.trc
    Trace level is currently 0
    Started with pid=5612
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.22)(PORT=1521)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    18-APR-2009 22:39:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    18-APR-2009 22:44:35 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    18-APR-2009 23:08:58 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=moo)(USER=oracle))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    oracle@moo:~/app/oracle/product/10.2.0/server/network/log$

    Thanks - nothing jumps out...
    bigdelboy wrote:
    I note use of 192.168.0.22 in various configuration files .... and maybe not in some others ... this may not be helpful.
    I'm looking to make sure this is consistent.
    tnsping tns_service_name
    Returns OK on both client and server.
    sqlplus x/y@+tns_service_name+
    I haven't used this from the remote client before. I tried from the network client
    sqlplus id/pwd@XE
    Got
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    lsnrctl status
    As shown before:
    paul@moo:/usr/lib/oracle/xe/app/oracle/admin/XE/bdump$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 19-APR-2009 12:21:18
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 18-APR-2009 22:39:33
    Uptime 0 days 13 hr. 41 min. 45 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.22)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    Ensure the firewall is okay on ports 1521 and 8080.
    Suddenly stopped on two different remote clients running different OS and different firewalls, so it won't likely be a local problem. I suppose the router could have decided to block the port. Browsing on server shows server up and running on default, but not serving port 8080. (I.e., "lynx 192.168.0.22:80" is OK; "lynx 192.168.0.22:8080" returns "Unable to connect to remote host.")

Maybe you are looking for

  • Scheduled Backup & Manual Backup not Inintiating for CM

    I am trying to do a Backup for CM. But it is not getting started it showd the error "Backup initiation timed out. Master agent might still be processing this operation or may be down.". I checked the DRF Master and Local services- it was up and runni

  • Refreshing materialized view for the past days

    Hi, I have a materialized view which should get refreshed for every commit in the base table. Due to some issues in the view definition, it was not getting refreshed for the past 2 weeks. I have fixed the issues in the view definition and now it gets

  • Not Valid Activation Key

    Having gone through this issue several times with people from techical suuport I was sent here since it seems that have no idea of how to fix this issue. The bottom line is I have tried repeatedly to activate my software and it will not work.  They h

  • How can we block double invoicing ?

    Hello Experts , I have done PO for quantity 1 , with GR based IV ticked & invoice receipt ticked . When I create IR for this , it allows me to create it twice with quantity 1. Whether there is any way we can block this ?  (GR is statistical since it

  • Exams Validity

    Hi, I want to know the validity of the exams? I cleared SQL 1Z0-007 in Jan 2007. now in Aug 2008 i cleared PL/SQL Z10-147. there was a time gap of one and a half years between the two exams. Is the first exam still valid? Am i an OCA now or do i have