Servlet request terminated with IOException:java.io.IOException: There is no process to read data written to a pipe.

Hi,
I am getting this following error. Could anyone please throw some light.
Thanks
Nilesh
<HTTP> Servlet request terminated with IOException:
java.io.IOException: There is no process to read data written to a pipe.
     at java.net.SocketOutputStream.socketWrite(Native Method)
     at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
     at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java(Compiled
Code))
     at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java(Compiled
Code))
     at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java(Compiled
Code))
     at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java(Compiled
Code))
     at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java(Compiled
Code))
     at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java(Compiled
Code))
     at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java(Compiled
Code))
     at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java(Compiled
Code))
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

I forgot to mention.
I am using Weblogic 5.1 with SP 9
Nilesh
"Nilesh Shah" <[email protected]> wrote:
>
Hi,
I am getting this following error. Could anyone please throw some light.
Thanks
Nilesh
<HTTP> Servlet request terminated with IOException:
java.io.IOException: There is no process to read data written to a pipe.
     at java.net.SocketOutputStream.socketWrite(Native Method)
     at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled
Code))
     at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java(Compiled
Code))
     at weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java(Compiled
Code))
     at weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseImpl.java(Compiled
Code))
     at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java(Compiled
Code))
     at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java(Compiled
Code))
     at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java(Compiled
Code))
     at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java(Compiled
Code))
     at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java(Compiled
Code))
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

Similar Messages

  • Java.sql.SQLException : There is no process to read data written to a pipe

    I have an IDoc being sent from SAP R/3 to Oracle using JDBC Adapter
    I get the following error message:
    Last message processing started 02:03:43 2004-12-14, Error: Transform error in xml processor class, rollback:
    ERROR:Processing request: Error when executing statement for table/stored proc. 'MATERIAL_MASTER': java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
    did anybody encounter this exception before..? any solutions?
    Thanks in advance.
    Anand

    Hi Friends,
    This problem was fixed when I increased the "number of retries" in the JDBC adapter configuration.
    Thanks
    Anand

  • Java.io.IOException: There is no process to read data written to a pipe.

    Hi all
    I am facing a problem when i run my application
    I am using jdk1.3 and Tomcat 4.0.3
    Actually my application works absolutely fine but when i check the
    local_host log file of tomcat i find the following stack trace in it
    2006-01-04 10:59:00 StandardWrapperValve[default]: Servlet.service() for servlet default threw exception
    java.io.IOException: There is no process to read data written to a pipe.
         at java.net.SocketOutputStream.socketWrite(Native Method)
         at java.net.SocketOutputStream.write(SocketOutputStream.java(Compiled Code))
         at org.apache.catalina.connector.ResponseBase.flushBuffer(ResponseBase.java(Compiled Code))
         at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
         at org.apache.catalina.connector.ResponseBase.write(ResponseBase.java(Compiled Code))
         at org.apache.catalina.connector.ResponseStream.write(ResponseStream.java:312)
         at org.apache.catalina.connector.http.HttpResponseStream.write(HttpResponseStream.java:189)
         at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:1903)
         at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1652)
         at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:1197)
         at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:519)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:498)
    2006-01-04 10:59:00 ErrorDispatcherValve[localhost]: Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error]
    java.lang.IllegalStateException
         at java.lang.RuntimeException.<init>(RuntimeException.java:39)
         at java.lang.IllegalStateException.<init>(IllegalStateException.java:36)
         at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243)
         at org.apache.catalina.valves.ErrorDispatcherValve.custom(ErrorDispatcherValve.java:384)
         at org.apache.catalina.valves.ErrorDispatcherValve.throwable(ErrorDispatcherValve.java:250)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:178)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java(Compiled Code))
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:498)
    What i dont get is in the entire stack trace i am not able to locate which of my application files is causing the errors
    I searched on net and found a few root causes but i am not able to find out exactly which class file is causing the stack trace
    Any suggestions are most welcome
    Thanking in advance

    Did you do something strange like writing the object out using the Servlet response's output stream and then attempted to redirect or forward a user to another page? That is usually how the IllegalStateException gets generated. You would still see a valid response from the caller's perspective, but since you attempted to forward or redirect after data has already been written to the stream on the server, an exception is thrown there.
    - Saish

  • IOException: There is no process to read data written to a pipe

    Do anyone know what is the meaning of this exception?

    I would like to pose this question again. I am having the same exception occuring when I try to write data over a Socket via the OutputStream I get from the Socket. This Socket is intended to be kept open between my application and a third part application sitting on a different server. This means that I am not reestablishing a new Socket for each data call but rather reusing an existing (hopefully open and valid) Socket.
    I think it has something to do with the state of the Socket I am trying to write the data to, however since I am running JDK 1.3 I have none of the handy 1.4 features for testing the state of the socket before I write this data to it.
    I was hoping for some more clarification as to the exception, has anyone had a similar problem in the past.
    Some basic info:
    I am on an AIX server running JDK 1.3.
    I am simply establishing the Socket connection using the (String host, int, port) cinstructor in the java.net.Socket class.
    I am setting the keep alive option to true.
    Thanks in advance for any help you may be able to give!

  • Java.io.IOException: java.io.IOException

    Hello
    I am trying to build my application on Linux using Weblogic 8.1 sp2 jars However the Build is Successful the application while building throws : java.io.IOException: java.io.IOException: javac Warning.
    the same build is successful without warnings if we use Weblogic 7.0 jars
    Please help if anybody has a know how on this
    THE FOLLOWING IS FULL WARNING:
    Building jar: /home/monish/dbor_nefms.042/nefms/build/voiceEjb.jar
    [java] java.io.IOException: java.io.IOException: javac: not found
    [java] at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)
    [java] at java.lang.Runtime.execInternal(Native Method)
    [java] at java.lang.Runtime.exec(Runtime.java:566)
    [java] at java.lang.Runtime.exec(Runtime.java:491)
    [java] at java.lang.Runtime.exec(Runtime.java:457)
    [java] at weblogic.utils.Executable.exec(Executable.java:227)
    [java] at weblogic.utils.Executable.exec(Executable.java:156)
    [java] at weblogic.utils.Executable.exec(Executable.java:142)
    [java] at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:329)
    [java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:337)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:146)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:103)
    [java] at weblogic.ejbc.main(ejbc.java:29)
    [java] Exec failed .. exiting
    [java] Java Result: 1
    Thanks
    Monish

    Thanx Saish
    I was wondering like " jwenting" did how was build successful then ?? and even teh ear file deployed successfully , the application dint gave any error while testing either,,,,,,,
    but i just added again on command prompt
    export PATH=/opt/edb/bea81sp1/jdk141_03/jre/bin:$PATH
    which is path for my javac and the Warning was gone.
    Thanks Saish
    Regards

  • StartApp: IOException: java.io.IOException

    Lesson 2 - when running the first GPIOLEDtest.java I received the following error:
    [ERROR] [DAAPI] iso=-1:There is unexpected error, when open GPIO pin 23
    startApp: IOException: java.io.IOException
    Uncaught exception: java.lang.NullPointerException
    - gpioledtest.GPIOLED.getValue(GPIOLED.java:69)
    - gpioledtest.GPIOLED$1.run(GPIOLED.java:94)
    - java.lang.Thread.run(), bci=5
    [ERROR] [AMS] iso=1:OOM/EXCEPTION_HANDLED: Invalid App Id
    [ERROR] [AMS] iso=1:RemoveCommand: the MIDlet suite is locked: com.sun.midp.midletsuite.MIDletSuiteLockedException
    TRACE: <at com.sun.midp.midletsuite.MIDletSuiteLockedException>, RemoveCommand
    com.sun.midp.midletsuite.MIDletSuiteLockedException
    - com/sun/midp/midletsuite/MIDletSuiteImpl.lockMIDletSuite(), bci=0
    - com/sun/midp/midletsuite/MIDletSuiteStorage.getMIDletSuite(), bci=15
    - com/sun/midp/midletsuite/MIDletSuiteStorage.remove(), bci=5
    - com/oracle/midp/proxy/ProxyEventListener.handleRemoveCommand(), bci=60
    - com/oracle/midp/proxy/ProxyEventListener.handleDeveloperAgentEvent(), bci=167
    - com/oracle/midp/proxy/ProxyEventListener.packetReceived(), bci=10
    - com/oracle/midp/proxy/JavaChannelDispatcher.process(), bci=150
    - com/sun/midp/events/EventQueue.run(), bci=129
    - java/lang/Thread.run(), bci=5
    Starting GPIOLEDTest....
    [ERROR] [DAAPI] iso=-1:There is unexpected error, when open GPIO pin 23
    startApp: IOException: java.io.IOException
    Any idea pls ?
    TIA

    Thanks Tom,
    No, not running - I now run the TestIMLetListener and it does not compile either throwing:
    Building jar: D:\MeineDaten2014\8-IoT\MOOC-Java8ME-Sessions\Lesson1\TestIMletListener\dist\TestIMletListener.jar
    D:\MeineDaten2014\8-IoT\MOOC-Java8ME-Sessions\Lesson1\TestIMletListener\nbproject\build-impl.xml:468: Problem: failed to create task or type nb-copyliblets
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    BUILD FAILED (total time: 2 seconds)
    Is there any substantial lib or java functionality missing ? do I have to hook/check more "optional packages" under Netbeans 8.0/properties/platform ?
    My Raspi OS is: Linux raspberrypi 3.10.33+ #1 PREEMPT
    I will re-install the OS for new...(2014-01-07-wheezy-raspbian) and keep this updated...

  • Help with a java.io.IOException

    input : MemoryAccess - to load process into the disk
    output : true if file opened, flase if fails
    purpose : to open a file and read in the processes
    code sourse: http://javaalmanac.com/egs/java.io/ReadLinesFromFile.html
    public boolean openFile(MemoryAccess ma)
    Process p;
    String file, inputString;
    char name = ' ';
    int mem = 0, quantum = 0, numProc;
    char[] charArray;
    //Ask user for file name
    System.out.print("Enter file name:");
    BufferedReader stdin = new BufferedReader(new InputStreamReader( System.in ));
    file = stdin.readLine();
    //We are writing this code under the assumption that the memory column(in small.dat) is formated to 2 spa\
    ces
    //and all other columns are one space.
    try {
    BufferedReader in = new BufferedReader(new FileReader(file));
    numProc = new Integer(in.readLine()).intValue();
    while ((inputString = in.readLine()) != null)
    charArray = inputString.toCharArray();
    name = charArray[0];
    if((charArray[2] != ' ') && (charArray[3] != ' '))
    mem = ((int)(charArray[2] * 10) + (int)charArray[3]);
    else if(charArray[2] != ' ')
    mem = charArray[2];
    else
    mem = charArray[3];
    quantum = (int)charArray[5];
    System.out.print(name + " ");
    System.out.print(mem + " ");
    System.out.println(quantum);
    in.close();
    return true;
    } catch (IOException e)
    return false;
    Pwnix.java:67: unreported exception java.io.IOException; must be caught or declared to be thrown
    file = stdin.readLine();
    ^
    1 error
    That is my code and my error, I can't figure out what's wrong.

    >
    Pwnix.java:67: unreported exception
    java.io.IOException; must be caught or declared to be
    thrown
    file = stdin.readLine();
    ^
    1 error
    http://forum.java.sun.com/help.jspa?sec=formatting
    http://forum.java.sun.com/help.jspa?sec=formatting
    That is my code and my error, I can't figure out
    what's wrong.http://forum.java.sun.com/help.jspa?sec=formatting
    Please use the code tags around your code samples. It is much easier to read.
    http://forum.java.sun.com/help.jspa?sec=formatting
    The error message you see indicates that the readLine() method could throw an IOException. Therefore, you must either place that method call inside a try block, or declare to throw the IOException from your own method where the call to readLine is made.

  • Terminated with error: br REP-501: Unable to connect to the specified data

    Dear All,
    Oracle DB 10g installed on Windows 2003 Server machine and client is Windows 7 Pro. Forms are running fine. If I run report by puting everything in URL it is also giving result. But only when i am trying to call report via form I get an error REP-501: Unable to connect to the specified data. The report log file contains below result. Is this something to to AUTHID=ANONYMOUS??? I need your assistance in this regard as I have been facing this problem since quite a long time now.
    [2011/10/22 3:55:55:34] Info 56013 (ConnectionManager:release): Connection 0 is released
    [2011/10/22 3:55:55:34] Info 50132 (JobObject:reset): jobid = 72 Get command line: REPORT=E:\AuditSys\twoconsecutive_estimate.jsp USERID=AUDITSYS@customerdb P_USERID="MAJAN" P_REPORTNAME="Bills which have been estimated for 3 months consecutively" P_REGIONCODE="" P_TARIFF="" P_PRIGOV="" P_AREAFROM="2" P_AREATO="91" P_BILLMONTH="9" P_BILLYEAR="2011" P_MONTHS="3" BATCH=YES DESTYPE=cache DESFORMAT=HTML AUTHID=ANONYMOUS
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): Job queue for jobid = 72 is 0
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): jobid = 72 is in current queue
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): Calling findDuplicatedJob for jobid = 72
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:findDuplicatedJob): Found no duplicated job for job 72
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): No Duplicate jobs for jobid = 72
    [2011/10/22 3:55:55:34] Debug 50103 (ConnectionImpl:runJob): Job 72 is Enqueued
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:firstToRun): job 72 is first to run
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager.runJobLocal): Trying to get engine for Job 72
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:getIdleEngine): Target max engines = 1
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:getIdleEngine): rwEng-0 is used = true
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:getIdleEngine): rwEng-0 state is 1
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Reserved
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager.runJobLocal): Job 72 got Engine rwEng-0
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:runJobInEngine): Job 72 calling setCommand on engine rwEng-0
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 3
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 5
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Idle
    [2011/10/22 3:55:55:34] Debug 50103 (JobManager:runJobInEngine): Send job 72 to engine rwEng-0
    [2011/10/22 3:55:55:34] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 3
    [2011/10/22 3:55:55:34] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Running
    [2011/10/22 3:55:55:96] State 56016 (JobManager:updateJobStatus): Job 72 status is: Terminated with error:
    REP-501: Unable to connect to the specified database.
    [2011/10/22 3:55:55:96] Debug 50103 (JobManager:notifyWaitingJobs): Master job 72 notify its duplicated jobs.
    [2011/10/22 3:55:55:96] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 72
    [2011/10/22 3:55:55:96] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 1
    [2011/10/22 3:55:55:96] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Ready
    [2011/10/22 3:55:55:96] Exception 501 (): Unable to connect to the specified database.
    Thanks,
    Zia

    Dear guys, it is quite an urgency here and I am not getting any clue from anywhere else .... please give me some tips to handle the issue if anybody has some...
    Regards,

  • Urgent help with simple BPEL process for reading data from database

    Hello there,
    I need help with BPEL project.
    i have created a table Employee in Database.
    I did create application, BPEL project and connection to the database properly using Database Adapter.
    I need to read the records from the database and convert into xml fomat and it should to go approval for BPM worklist.
    Can someone please describe me step by step what i need to do.
    Thx,
    Dps

    I have created a table in Database with data like Empno,name,salary,comments.
    I created Database Connection in jsp page and connecting to BPEL process.
    It initiates the process and it goes automatically for approval.
    Please refer the code once which i created.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="java.util.Map" %>
    <%@page import="com.oracle.bpel.client.Locator" %>
    <%@page import="com.oracle.bpel.client.NormalizedMessage" %>
    <%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
    <%@page import="javax.naming.Context" %>
    <%@page import="java.util.Hashtable" %>
    <%@page import="java.util.HashMap" %>
    <%@ page import="java.sql.*"%>
    <%@ page import= "jspprj.DBCon"%>
    <html>
    <head>
    <title>Invoke CreditRatingService</title>
    </head>
    <body>
    <%
    DBCon dbcon=new DBCon();
    Connection conn=dbcon.createConnection();
    Statement st=null;
    PreparedStatement pstmt=null;
    Hashtable env= new Hashtable();
    ResultSet rs = null;
    Map payload =null;
    try
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "opmn:ormi://localhost:port:home/orabpel");//bpel server
    env.put("java.naming.security.principal", "username");
    env.put("java.naming.security.credentials", "password");//bpel console
    Locator locator = new Locator("default","password",env);
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
    // construct the normalized message and send to Oracle BPEL Process Manager
    NormalizedMessage nm = new NormalizedMessage();
    java.util.HashMap map = new HashMap();
    st=conn.createStatement();
    out.println("connected");
    String query1="Select * from EMPLOYEE";
    rs=st.executeQuery(query1);
    /*reading Data From Database and converting into XML format
    so that no need of going to BPEL console and entering the details.
    while (rs.next()){
    String xml1 = "<AsynchBPELProcess1ProcessRequest xmlns='http://xmlns.oracle.com/AsynchBPELProcess1'>"+
    "<Empno>"+rs.getString(1)+"</Empno>"+
    "<EmpName>"+rs.getString(2)+"</EmpName>"+
    "<Salary>"+rs.getString(3)+"</Salary>"+
    "<Comments>"+rs.getString(4)+"</Comments>"+
    "</AsynchBPELProcess1ProcessRequest>";
    out.println(xml1);
    nm.addPart("payload", xml1 );
    // EmployeeApprovalProcess is the BPEL process in which human task is implemented
    deliveryService.post("EmployeeApprovalProcess", "initiate", nm);
    // payload = res.getPayload();
    out.println( "BPELProcess CreditRatingService executed!<br>" );
    // out.println( "Credit Rating is " + payload.get("payload") );
    //Incase there is an exception while invoking the first server invoke the second server i.e lsgpas13.
    catch(Exception ee) {
    //("BPEL Server lsgpas14 invoking error.\n"+ee.toString());
    %>
    </body>
    </html>
    Its working fine.And i want it for Bulk approvals.please help me step by step procedure if any other way to implement this.

  • How to restore the appearance of this message? "Requested an encrypted connection to a page [...] Probability of read data [...] [Optional] Always warn me before [...]" Is disabled by default and now I have it shut off permanently.

    Hello!
    I have a problem, because when the message appeared:
    (original)
    "Zabezpieczenia
    Zażądano połączenia szyfrowanego ze stroną, która zawiera elementy niezaszyfrowane.
    Prawdopodobieństwo odczytania przesyłanych danych przez osoby trzecie jest duże.
    [Opcja] Zawsze ostrzegaj przed nawiazaniem połączenia szyfrowanego ze stroną zawierającą elementy niezaszyfrowane."
    (in translation)
    "Security
    Requested an encrypted connection to a page that contains the elements unencrypted.
    Probability of read data transmitted by third parties is large.
    [Optional] Always warn me before you make an encrypted connection to the page containing the unencrypted parts."
    option "Always warn ..." is disabled by default and by chance it shut off permanently.
    How to restore the appearance of this message?
    Sincerely,
    Jadwiga Zabagło

    Hello!
    I have a problem, because when the message appeared:
    (original)
    "Zabezpieczenia
    Zażądano połączenia szyfrowanego ze stroną, która zawiera elementy niezaszyfrowane.
    Prawdopodobieństwo odczytania przesyłanych danych przez osoby trzecie jest duże.
    [Opcja] Zawsze ostrzegaj przed nawiazaniem połączenia szyfrowanego ze stroną zawierającą elementy niezaszyfrowane."
    (in translation)
    "Security
    Requested an encrypted connection to a page that contains the elements unencrypted.
    Probability of read data transmitted by third parties is large.
    [Optional] Always warn me before you make an encrypted connection to the page containing the unencrypted parts."
    option "Always warn ..." is disabled by default and by chance it shut off permanently.
    How to restore the appearance of this message?
    Sincerely,
    Jadwiga Zabagło

  • How to read data from Linux named pipes using java?

    In linux box I want to get data from a named pipe(created using "mkfifo <filename>".
    How I can read the incoming data from the named pipe?

    there are some caveats though: if i remember correctly, when you reach the end of data in a fifo it will look like end-of-file and that may confuse some classes. So your mileage may vary

  • Server Java - Client Flash, there is no IP,  Why?

    Hi Folks!
    I apologize for my English writting is not my mother tongue.
    Well, I hope to able to explain my problem.
    I have a Server of sockets made in Java and a Flash client (it's a simple Chat real-time). Everything goes great when my server is activated and when I excecute SWF Client: We can chat and there is not problem because I work XML Standard with. Flash receives XML file from Server Java that it sends to all clients connected.
    Each SWF client connected is showed at CMD Console (by the way I'm working in WINDOWS plataform) and it shows Client's IP and connection moment.
    The problem come out when I use a browser (anyone: IE, FireFox, Opera, etc) to open my SWF Client, like should be, but there is not connection and CMD Console shows something like this:
    Cliente -> 0:0:0:0:0:0:0:1 IP , Conexion [...]Someone knows wich would be the problem?!!
    Heres the code of my classes
    import java.net.*;
    import java.io.*;
    import java.util.*;
    * A MEJORAR
    * 1. Configurable. Tomar datos desde consola.
    * DATOS
    * XXXX puerto
    * 2. Escanear el puerto para comprobar que esta libre.
    * Libre: continua y reserva.
    * Ocupado: Indicar que esta ya reservado el puerto.
    * Dar opcion a realizar un escaneo de puertos para seleccionar un puerto seguro y libre.
    * Tomar el 1er puerto libre, reservarlo e indicar cual es.
    * 3. Validar la IP del usuario para que solo tenga UNA SOLA SESION DE CHAT
    * 4. Generar un XML en un directorio con los parametros de conexion (PUERTO, IP, Dominio, etc)
    * cuando el servidor sea iniciado. Y debe ser borrado cuando se "tumbe".
    * Asi todos los clientes tomaran el XML generado por el servidor y podran conectarse sin
    * problemas de reconfiguracion o modificacion al codigo de FLASH.
    public class BlueServer {
    static Vector clientList = new Vector(); // Vector/array que guardara los clientes conectados
    static PrintWriter screenOut = new PrintWriter(System.out, true); // Abreviar la salida en pantalla
    public static int PORT; // Puerto al que daremos servicio
    * Clase principal BlueServer
    public static void main(String[] args) throws IOException {
    ServerSocket serverSocket = null; // Nuestro socket SERVIDOR
    boolean listening = true; // Bandera del SERVIDOR para estar simpre a la escucha
    Thread tempThread; // Thread/Hilo de proceso
    BlueClientThread tempClient; // Hilo temporal del clietne para asignar el nombre "BlueClientThread"
    int currentNode; // En caso de ser necesario para saber en que nodo se esta trabajando
    Date horaDeInicio = new Date(); // La hora de ACTIVACION del servidor
    screenOut.println("\n\n\n**************************************************************");
    screenOut.println("BlueServer v0.01\n\n");
    screenOut.println("BlueServer es un servidor de sockets para multiples clientes ");
    screenOut.println("desarrollados en JAVA o FLASH.\n");
    screenOut.println("Basado en el estandar XML administra los mensajes recibidos");
    screenOut.println("hacia todos los clientes conectados.\n");
    screenOut.println("Primera version BETA.");
    screenOut.println(" Jun '08 by Ralph Moran");
    screenOut.println("**************************************************************\n\n\n");
    * Es necesario al menos 1 argumento que defina el nuemero de puerto.
    if ( args.length >= 1 ){
    PORT = new Integer(args[0]); // Numero de puerto que se reservara
    * Se intenta crear el socket SERVIDOR que estara dando servicio a los clientes FLASH
    * en el numero de puerto PORT.
    try{
    serverSocket = new ServerSocket(PORT);
    }catch(IOException e){
    System.err.println("No se puede escuchar el puerto: "+PORT);
    System.exit(-1);
    // Mensaje de activacion sin problemas
    screenOut.println("Servidor BlueServer v0.01 activado en puerto "+PORT+".\n");
    screenOut.println("ADMINISTRADOR");
    screenOut.println("Hora de activacion: " + horaDeInicio.toString());
    screenOut.println("..............................................................\n\n");
    * Comienza a la escucha de cualquier cliente FLASH/JAVA que se conecte a PORT
    while (listening){
    tempClient = new BlueClientThread( serverSocket.accept() );
    clientList.add(tempClient);
    tempThread = new Thread(tempClient);
    tempThread.start();
    * Cerramos la conexion del SERVIDOR
    serverSocket.close();
    }else{
    * En caso de NO traer los argumentos necesarios (PUERTO, etc)
    screenOut.println(" ..............................................................\n\n");
    screenOut.println("\n\n\n ERROR: Numero incorrecto de argumentos/parametros.\n");
    screenOut.println(" EJECUCION\n java BlueServer <puerto>\n");
    screenOut.println(" Donde <puerto> es un puerto no reservado y debe ser mayor a 1024 para que el");
    screenOut.println(" servidor comience a escuchar.\n\n\n");
    screenOut.println(" ..............................................................\n\n");
    System.exit(-1);
    * Metodo que envia el mensaje recibido del cliente a TODOS los clientes conectados.
    * Usa el metodo send( String msg ) de la clase Thread BlueClientThread
    static void sendToAllClients(String message){
    int i;
    BlueClientThread foo;
    //BlueClientThread fooip;
    BlueClientThread tempClient;
    for ( i=0; i<clientList.size(); ++i ){
    foo = (BlueClientThread)clientList.get(i);
    foo.send(message);
    * Metodo que borra de nuestro Vector clientList todo rastro del CLIENTE (IP, HostName, etc)
    static void deleteClient(BlueClientThread deadClient){
    int num;
    Date horaConexion = new Date();
    screenOut.println("ClienteIP -> "+ deadClient.clientIP + ", Desconexion -> " + horaConexion.toString());
    num = clientList.indexOf(deadClient);
    clientList.remove(num);
    * Clase BlueClientThread que deriba/hereda de la clase Padre Thread.
    * Generamos nuestra propa clase con metodos personalizados aprovechando metodos heredados.
    * METODOS PERSONALIZADOS
    * BlueClientThread.send(String msg);
    * Envia un mensaje a un cliente especifico.
    * Cada Hilo de Cliente se encarga de enviar el mensaje recibido a TODOS LOS DEMAS CLIENTES
    class BlueClientThread extends Thread {
    PrintWriter screenOut = new PrintWriter(System.out, true);
    private Socket socket = null;
    public String clientIP;
    public PrintWriter out;
    public BufferedReader in;
    * Todos los Threads se llamaran BlueClientThread
    public BlueClientThread(Socket socket){
    super("BlueClientThread");
    this.socket = socket;
    * Ejecucion del Thread
    public void run(){
    clientIP = socket.getInetAddress().getHostAddress(); // Tomamos la IP del cliente
    Date horaConexion = new Date(); // Determinamos el instante de conexion
    // Indicamos que IP se conecto y el instante en que fue
    screenOut.println("ClienteIP -> "+ clientIP + ", Conexion -> " + horaConexion.toString());
    // Al conectarse el cliente mandar aviso a todos los CONECTADOS
    //BlueServer.sendToAllClients("<doc><mensaje from=\"Nuevo\">Otro conectado</mensaje></doc>");
    * Intentamos tomar los Stream de Lectura y Escritura del Cliente conectado
    try{
    out = new PrintWriter(socket.getOutputStream(), true);
    in = new BufferedReader (new InputStreamReader(socket.getInputStream()));
    String inputLine;
    // Array que tomara cada uno de los caracteres del mensaje
    char buf[] = new char[1];
    * El Thread del cliente comienza a escuchar TODOS los mensajes que su cliente
    * envia, este Thread se encarga de enviar el a todos los demas clientes conectados.
    while ( in.read(buf, 0 ,1)!= -1 ){ // Siempre es diferente de -1 por que nuestro array se esta
    // validando completamente, esto es que se esta tomando el
    // el largo del array y no alguna posicion dentro de este.
    inputLine = "";
    // En caso que exista mas de 1 mensaje solo se toma el primero
    while( buf[0]!='\u0000' ){
    inputLine = inputLine + buf[0];
    in.read(buf, 0 ,1);
    // Solo mandar el mensaje que fue recibido del cliente
    inputLine = inputLine + '\u0000';
    // Va el mensaje a TODOS LOS CLIENTES
    BlueServer.sendToAllClients(inputLine);
    BlueServer.deleteClient(this); // Se manda eliminar TODO rastro del cliente conectado (IP, HostNAme, etc)
    in.close(); // Cerramos Stream de Lectura
    out.close(); // Cerramos Stream de Escritura
    socket.close(); // Cerramos el socket del CLIENTE
    }catch(IOException e){
    e.printStackTrace();
    * Mandar mensaje
    public void send(String message){
    out.println(message);
    } THANK YOU SO MUCH!
    I hope your help.
    *{color:#993300}Ralph Moran{color}*

    Hi,
    The "There is no process to read data written to a pipe" error is an
    AIX-specific error message, which lies in the native method
    implementation of the corresponding Java code.
    It happens when the message written to a pipe is
    not read by any process. When plenty of requests are sent to the
    accepting side, the accepting side might fail to read the request
    because of timeouts, blocked threads or other reasons, and then this
    exception is thrown.
    #1289145    Axis adapter's connection timeout value setting
    http://www.ibm.com/developerworks/aix/library/au-aix-javatraps/index.html
    Regards,
    Aidan

  • Pb with reading data from tubes

    Hello !
    Sometimes when I try to display contents on my web site (Servlet with Websphere), I catch this exception :
    java.io.IOException: There is no process to read data from a tube (It's the translation of "Il n'existe pas de processus pour lire les donn�es dirig�es vers un tube").
    and a wite page will be displayed.
    The exception comes from :
    java.net.SocketOutputStream.socketWrite()
    but I can't understand the cause of this problem.
    If someone knows something about this, please help !
    Thanks

    Hi,
    Create a context node for the screen fields for which you want to enter the values with cardinality 1.1.....
    Now in the layout of your view bind the screen input fields to that context node(attributes) to the value property of the input fields...
    Now in the action of ADD button....
    --> go the wizard and select the read node button and select the node which you have created it generates the auto code for you.....
    for example if the node is contains aone attribute like MATNR
    reading the node from wizard will generate the code as....
    DATA lo_nd_matnr TYPE REF TO if_wd_context_node.
      DATA lo_el_matnr TYPE REF TO if_wd_context_element.
      DATA ls_matnr TYPE wd_this->element_matnr.
      DATA lv_matnr TYPE wd_this->element_matnr-matnr.
    * navigate from <CONTEXT> to <MATNR> via lead selection
      lo_nd_matnr = wd_context->get_child_node( name = wd_this->wdctx_matnr ).
    * @TODO handle non existant child
    * IF lo_nd_matnr IS INITIAL.
    * ENDIF.
    * get element via lead selection
      lo_el_matnr = lo_nd_matnr->get_element( ).
    * @TODO handle not set lead selection
      IF lo_el_matnr IS INITIAL.
      ENDIF.
    * get single attribute
      lo_el_matnr->get_attribute(
        EXPORTING
          name =  `MATNR`
        IMPORTING
          value = lv_matnr ).
    here the variable lv_matnr will contain the entered value......
    now you can use this value for further process.
    Thanks,
    Shailaja Ainala.

  • Java.io.IOException: Connection failure with 401

    Hi all,
    i recently moved an applet that uses JavaHelp on a new intranet server. I got an error during applet loading since i moved all the files.
    The structure of files is:
    -Tarish2Applet.html
    -tarish2.jar
    +Tarish2Help
    ooooo|---helpset.hs
    ooooo|---toc.xml
    ooooo|---map.xml
    ooooo|---index.xml
    ooooo|--+HTML
    +package
    I use the following HTML code to call the applet in IE6:
    Tarish2Applet.html:
    <!--"CONVERTED_APPLET"-->
    <!-- CONVERTER VERSION 1.0 -->
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = "200" HEIGHT = "200" codebase="http://intranet/plugin/j2re-1.3.1_02-win-i.exe#Version=1,3,1,2">
    <PARAM NAME = CODE VALUE = "tarish2.Tarish2Applet.class" >
    <PARAM NAME = "cache_option" VALUE = "Plugin" >
    <PARAM NAME = "cache_archive" VALUE = "tarish2.jar,package/jbcl.jar,package/rchartTarish2.jar,package/jhall.jar" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
    <COMMENT>
    </OBJECT>
    And i have the following output and error in the java console:
    /*This first IOException seems to be due to the parameters cache_archive and cache_option in the applet call: if i remove them from the html file, this first exception disapears*/
    java.io.IOException: Connection failure with 401
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown Source)
    at sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown Source)
    at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Dll detected //A Dll is loaded with success in the System
    //Then, the Help system is loaded, and it gives:
    java.io.IOException: Connection failure with 401
    at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.sun.java.help.impl.XmlReader.createReader(XmlReader.java:99)
    at javax.help.HelpSet.parseInto(HelpSet.java:568)
    at javax.help.HelpSet.<init>(HelpSet.java:129)
    at tarish2.Tarish2Applet.init(Tarish2Applet.java:221)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Parsing failed for null
    Got an IOException (Connection failure with 401)
    Error during Helpset loading: javax.help.HelpSetException: Could not parse
    HelpSet not found
    Here is the code that loads the Helpset:
    Source:
    try
    URL hsURL = HelpSet.findHelpSet(null, "helpset");
    if (hsURL==null)
    hsURL = new URL(getCodeBase(), "Tarish2Help/helpset.hs");
    hs = new HelpSet(null, hsURL);
    catch (Exception ee)
    System.out.println("Error during Helpset loading: "+ee);
    System.out.println("HelpSet not found");
    return;
    Has anybody an idea about this "Connection failure with 401" that happens on .jar caching and helpset loading????
    What does it come from? Is it due to the http server configuration, the java.policy file?? The code???
    If you have any clue, please help me...
    Romain

    Hi
    I have the same problem but with the
    java.io.IOException: Connection failure with 500:
    Does anybody sorted this, please let me know, what is the cause???
    Thanks in advance...
    Saran

  • Java.io.IOException: unable to find the type mapping resource file

    Hi,
    I am using weblogic7.0 to deploy my applications. I wrote a web service and
    was able to deploy it sucessfully. I am trying to access the web service through
    a jsp page. I am the error posted below on my server and " error:505 internal
    server error" on the browser. Can any one please help me out with the problem.
    My jsp page just displays the float value i am returing from the session bean
    method.
    Thanks,
    Ramya.
    <Apr 14, 2003 4:32:51 PM PDT> <Error> <HTTP> <101019> <[ServletContext(id=64204
    55,name=bankwebapp,context-path=/bankwebapp)] Servlet failed with IOException
    java.io.IOException: unable to find the type mapping resource file for:bank.Ban
    kService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149400> <Activatin
    g application: appsdirbankwebapp_war>
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbankwebapp_war on myserver - Running>
    <Apr 14, 2003 4:41:01 PM PDT> <Notice> <Application Poller> <149404> <Activate
    application appsdirbankwebapp_war on myserver - Completed>
    The url value from the jsp page ishttp://localhost:7001
    The wsdl value from the jsp page ishttp://localhost:7001/web_services/BankServi
    ce
    <Apr 14, 2003 4:41:06 PM PDT> <Error> <HTTP> <101019> <[ServletContext(id=72463
    20,name=bankwebapp,context-path=/bankwebapp)] Servlet failed with IOException
    java.io.IOException: unable to find the type mapping resource file for:bank.Ban
    kService
    at weblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    at weblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

    Hi Manoj,
    Thanks a lot for your hepl. I tried as you said and its working now.
    Ramya
    "manoj cheenath" <[email protected]> wrote:
    Make sure that you put the client jar file generated by
    clientgen in the lib directory of the jsp web app.
    It looks like the runtime is unable to load
    <service>.xml type mapping file. This xml file
    should be in the classpath (web-inf/lib or
    web-inf/classes).
    -manoj
    "Ramya" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am using weblogic7.0 to deploy my applications. I wrote a web serviceand
    was able to deploy it sucessfully. I am trying to access the web servicethrough
    a jsp page. I am the error posted below on my server and " error:505internal
    server error" on the browser. Can any one please help me out with theproblem.
    My jsp page just displays the float value i am returing from the sessionbean
    method.
    Thanks,
    Ramya.
    <Apr 14, 2003 4:32:51 PM PDT> <Error> <HTTP> <101019><[ServletContext(id=64204
    55,name=bankwebapp,context-path=/bankwebapp)] Servlet failed withIOException
    java.io.IOException: unable to find the type mapping resource filefor:bank.Ban
    kService
    atweblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    atweblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149400><Activatin
    g application: appsdirbankwebapp_war>
    <Apr 14, 2003 4:40:59 PM PDT> <Notice> <Application Poller> <149404><Activate
    application appsdirbankwebapp_war on myserver - Running>
    <Apr 14, 2003 4:41:01 PM PDT> <Notice> <Application Poller> <149404><Activate
    application appsdirbankwebapp_war on myserver - Completed>
    The url value from the jsp page ishttp://localhost:7001
    The wsdl value from the jsp page
    ishttp://localhost:7001/web_services/BankServi
    ce
    <Apr 14, 2003 4:41:06 PM PDT> <Error> <HTTP> <101019><[ServletContext(id=72463
    20,name=bankwebapp,context-path=/bankwebapp)] Servlet failed withIOException
    java.io.IOException: unable to find the type mapping resource filefor:bank.Ban
    kService
    atweblogic.webservice.core.encoding.DefaultRegistry.<init>(DefaultRegi
    stry.java:62)
    atweblogic.webservice.core.rpc.ServiceImpl.<init>(ServiceImpl.java:72)
    at bank.BankService_Impl.<init>(BankService_Impl.java:23)
    at jsp_servlet.__getbal._jspService(__getbal.java:106)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.ru
    n(ServletStubImpl.java:1058)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:401)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:445)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubI
    mpl.java:306)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationActi
    on.run(WebAppServletContext.java:5412)
    atweblogic.security.service.SecurityServiceManager.runAs(SecurityServi
    ceManager.java:744)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppS
    ervletContext.java:3086)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestI
    mpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

Maybe you are looking for

  • Runtime Error R6034

    My Itunes wont open and i get a message which reads as follows: Runtime Error! R6034 An Application has made an attempt to load the C Runtime Library incorrectly. Please can someone assist to resolve this problem.

  • Insert image into table

    Please let me know how to insert images to table using SQLDeveloper?

  • Creating and saving a photo from video clip in iMovie '11

    Hello, My dad took what he thought were photos from his iPhone. Turned out to be a bunch of one second video clips as he accidentally had it on the video camera mode. Trying to create a still photo image from these clips. What's the best way to do th

  • Does anyone make a display for iPod song/artist/album info?

    My old man turned 90 recently. I gave him an iPod and he absolutely loves it! But his wife (my mother) is always asking him who's singing and he's forced to get up from the table each time to look -- with the help of a magnifying glass! -- into the i

  • Wrong exchange rate is transferred from CRM to ERP R3 via BDoc.

    Hi All, In CRM system, whenever quantity contract(QC) is created, it is sent to R3 with all details via Bdocs Exchange rate of QC which is present in CRM  is different than in R3. But when same contract is opened in R3 in change moce and do some chan