Sun.nio.ch.FileDispatcher.write0 hangs

Hi,
Once in a blue moon, I see my application to hang at sun.nio.ch.FileDispatcher.write0. Following is some stack dump.
"Task 26941357" prio=10 tid=0x000000010327c800 nid=0x53f6 runnable [0xffffffff53a3e000..0xffffffff53a3f8a8]
     at sun.nio.ch.FileDispatcher.write0(Native Method)
     at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
     at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
     at sun.nio.ch.IOUtil.write(IOUtil.java:75)
     at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
My analysis is that the data witten to socket is read correctly.
Any inputs to understand the problem and possible resolutions is highly appreciated.
Thanks & Regards,
Aniruddh
Edited by: Aniruddh.Munoli on Mar 24, 2010 1:38 PM

(a) Your title is wrong.
(b) If you are in blocking mode, writes will block if the socket send buffer is full, which means that the receiver's socket receive buffer is full, which means he is slow reading.

Similar Messages

  • Java.io.IOException: Not enough space at sun.nio.ch.FileChannelImpl.map0(Na

    Hi
    I am getting this error
    java.io.IOException: Not enough space
    at sun.nio.ch.FileChannelImpl.map0(Native Method)
    at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:728)
    I ahve a shell script which spawn three jvms
    Two jvms have XMX=12288M
    and the third XMX=10240M
    Basically each jvm has around 12 threads to read in xml files and process them.
    The HP machine has around 70 GB RAM.
    So, in total the java uses around 36 GB only but still it crashes.
    I then change the xml files so that the third jvm does not read any files
    but it is just spawned for the sake of it.
    Even then it crashes with the same error.
    Any idea what can be done to fix this.
    Thanks

    i have OSF DCE 1.1/HP DCE 1.8I'm afraid I'm not familiar with that.
    Other than the comments I posted above,
    perhaps ask on HP user groups to find tips
    on increasing the available memory?
    Oh, another thing: when you issue "java -Xmx", you are specifying
    the desired amount of memory. But in UNIX, there is a per-user upperlimit.
    Try typing "ulimit -a" on a command line, and it will
    tell you a hard limit that was configured by the machine's administrator.
    Eg. I have 4G on my machine, but by default, my user account
    is limited to 512M per process (and no matter what I type in Xmx,
    my java process cannot exceed the hard limit set by my
    administrator)
    % ulimit -a
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) 524288
    file size (blocks, -f) unlimited
    max locked memory (kbytes, -l) unlimited
    max memory size (kbytes, -m) unlimited
    open files (-n) 11095
    pipe size (512 bytes, -p) 1
    stack size (kbytes, -s) 65536
    cpu time (seconds, -t) unlimited
    max user processes (-u) 5547
    virtual memory (kbytes, -v) unlimited

  • What does sun.nio.cs.StreamDecoder.ready() want from ioctl()

    I am writing a user side driver for Linux (2.6.31) using the CUSE/FUSE libraries(2.8). This is a character device driver and I am reading it via Class FileReader. The java program works indicating open(), close() and read() are functioning correctly between the java.io package and the character file driver. The problem is with the FileReader.ready() method (inherited from InputStreamReader). I examined the source code (InputStreamReader.java) and found that the StreamDecoder seems to implement the InputStreamReader functionality. It is in the package sun.nio.cs and I have been unable to find the source code.
    Could someone tell me where to find the source code for this package or explain what it is doing to implement the ready() method?
    Thank you,
    Carl Davis
    In the snippet below is the method, readDevice(), in which I use the call to ready():
    public class Initiator implements Callable<String> {
    protected static int CAN = 0x18;
    public int readDevice ( FileReader device ) {
    int charIn = 0;
    boolean ready = false;
    try {
    while (!ready) {
    if (!(ready = device.ready())) {
    this.initiatorThread.sleep(100L);
    charIn = device.read();
    catch ( IOException ioe ) {
    System.out.println("Initiator IO Exception: " + ioe.getMessage());
    charIn = CAN;
    catch (Exception e) {
    System.out.println("Initiator readDevice Exception: " + e.getMessage());
    charIn = CAN;
    return charIn;
    }

    Jtahlborn:
    Thanks for the link. I knew about the OpenJDK project, but did not know that they had the sun source code. Sun's copyright in the source code header was just what I needed to make sure I wasn't looking at a re-implementation.
    I went through (a lot) of the code, tracing the calls for the I/O handling. The ready() call went very quickly to a native implementation. I expected this, but the documentation in the code didn't give me any insight either (bummer). I haven't found the native code that links with this for Linux-32bit-x86, but I did get the driver's ioctl() to respond with the correct messages to determine ready-or-not. I'm marking this question answered, but if you (or anyone reading this) has information about the native implementations for the java libraries, please add it to this post.

  • Sun.nio.cs.StreamDecoder Reference

    Hello
    Recently I am studying streaming with IO classes, I have found that the java.io.InputStreamReader (in the source code included in JDK) have imported and used a class, called sun.nio.cs.StreamDecoder. However, where can I found the API and source code of the class, so that I could know more deeply on streaming? Thanks for any advance.
    Charoite

    Please create a new thread when you ask a new question.
    The sun classes are not part of the Java API. Their behavior need not be documented and should not be relied upon in most cases.
    yes even I wanted t know this. This is wierd
    behaviour even though stream is closed it still able
    to read.From the java docs of the parent of the class you are referring to...
    http://java.sun.com/j2se/1.5.0/docs/api/java/io/InputStreamReader.html#read()
    Each invocation of one of an InputStreamReader's read() methods may cause one or more bytes to be read from the underlying byte-input stream.
    One byte read aheads are a fairly standard feature in OS/C/C++ file reading APIs.

  • Where can i get details about sun.nio.ch.SocketChannelImpl?

    i have tried in java.sun.com.... i couldn't get it. Any info on what does that SocketChannelImpl class do will be very helpful..... Any links where i can get to see some sample programs on this will help me understand this very well....
    Please help me....
    Thanks in advanve....

    What it does is what it is specified to do in java.nio.channels and java.nio.channels.spi as an implementation of java.nio.channels.SocketChannel. You don't need to know any more than that.

  • Sun Java Desktop System [ SSH hanging]

    Hello,
    I am running latest solaris 10 release (10/09 Generic_141445-09 ) using gnome-terminal GNOME Terminal 2.6.1 (supplied with solaris)
    from within gnome terminal, as root, I can start interactive ssh session from this box to anywhere fine.
    BUT
    from within gnome terminal, as ANY OTHER user, the INTERACTIVE ssh connection from this box to any server HANGS (remote commands run fine)
    This issue does not happen from within XTERM window:
    from within XTERM terminal window, I can successfully start an interactive ssh session to anywhere (as any user).
    so that means problem is either with some environment variable(since it works for root from gnome-terminal) OR with the GNOME terminal app (but it is working for root???)
    root user is using /sbin/sh shell. other users use /usr/bin/bash. there is no .bashrc file at the moment,
    can anyone help? do i need a patch? or reset some variable?
    thx.
    -BG
    Edited by: badeguruji on Dec 29, 2009 9:57 AM
    Edited by: badeguruji on Dec 30, 2009 7:42 AM

    hi,
    The session that hangs does it establish a connection first? Does it prompt for a password etc? If you could tell me the results of the below commands:
    As root
    ssh server
    ssh user@server
    As a user
    ssh server
    ssh root@server
    If the first two tests pass and the second two fail then could you please send the following output:
    As root
    ssh -v server (just login with a password then kill the connection)
    As a user
    ssh -v server (again run either until it hangs or login if you can and then kill the connection)

  • Nio, broken pipe

    Hi!
    What does this error mean?
    java.io.IOException: Broken pipe
         at sun.nio.ch.FileDispatcher.write0(Native Method)
         at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
         at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
         at sun.nio.ch.IOUtil.write(IOUtil.java:75)
         at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)Can this error take place if a peer at the another end has closed the connection?

    What does this error mean?
    java.io.IOException: Broken pipeIt means you have tried to write to a connection whose other end is closed.
    Can this error take place if a peer at the another end has closed the connection?Yes.
    It's an application protocol error. Either the peer has closed the connection too early or you are trying to write something you shouldn't.

  • Errors in alert log fileand application log file

    Hi,
    Oracle EBS version 12.1.1
    RDBMS version 11.1.0.7.0
    OS RHEL 5.4
    All of a sudden I am not able to access my R12 system.It shows me 500 Internal server error.
    I am not able to connect to database from client either.(SQLPLUS or any other tools hangs while trying to connect to DB)
    Although I can connect to database from server.
    Errors in DB alert log file is :
    =================
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:08:12
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12562_47163992198336)
    Sat Jul 30 14:10:12 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:10:12
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12599_47919733853376)
    Sat Jul 30 14:11:43 2011
    Incremental checkpoint up to RBA [0x137.8b97e.0], current log tail at RBA [0x137.8c0c4.0]
    Sat Jul 30 14:11:52 2011
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:11:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12627_47439235198144)
    Sat Jul 30 14:14:32 2011
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:14:32
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12890_47772667911360)
    Sat Jul 30 14:15:08 2011
    Beginning log switch checkpoint up to RBA [0x138.2.10], SCN: 10132185231186
    Thread 1 advanced to log sequence 312 (LGWR switch)
    Current log# 3 seq# 312 mem# 0: /u01/oracle/VIS/db/apps_st/data/log1.dbf
    Sat Jul 30 14:15:52 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:15:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (13156_47242339073216)
    Sat Jul 30 14:20:15 2011
    Completed checkpoint up to RBA [0x138.2.10], SCN: 10132185231186
    Sat Jul 30 14:32:04 2011
    Incremental checkpoint up to RBA [0x138.5646.0], current log tail at RBA [0x138.6444.0]
    Sat Jul 30 14:40:33 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:40:33
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (14536_47011734056128)
    Sat Jul 30 14:45:33 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:45:33
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (14688_47186744614080)
    Sat Jul 30 14:47:13 2011
    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:47:13
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12606
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Client address: <unknown>
    ORA-609 : opiodr aborting process unknown ospid (14684_46999375879360)
    --Repeatedly getting this error.
    Error in application log is:
    ================
    11/07/30 14:45:53.449 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:49:53.591 html: Broken pipe
    11/07/30 14:49:53.591 html: Broken pipe
    11/07/30 14:49:53.592 html: Broken pipe
    11/07/30 14:49:53.592.592 html: Broken pipe
    11/07/30 14:49:53.592 html: Broken pipe
    11/07/30 14:49:53.592.592 html: Broken pipe
    11/07/30 14:49:53.593 html: Broken pipe
    11/07/30 14:49:53.593 html: Broken pipe
    11/07/30 14:49:53.594 html: Broken pipe
    11/07/30 14:49:53.594 html: Servlet error
    java.io.IOException: Broken pipe
    11/07/30 14:49:53.594 html: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    11/07/30 14:49:53.594 html: Servlet error
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.631 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:49:57.632 html: Broken pipe
    11/07/30 14:49:57.632 html: Broken pipe
    11/07/30 14:49:57.632 html: Broken pipe
    11/07/30 14:49:57.633 html: Broken pipe
    11/07/30 14:49:57.633 html: Broken pipe
    11/07/30 14:49:57.633 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:55:33.775 html: Broken pipe
    11/07/30 14:55:33.775 html: Broken pipe
    11/07/30 14:55:33.775 html: Broken pipe
    11/07/30 14:55:33.776 html: Broken pipe
    11/07/30 14:55:33.776 html: Broken pipe
    11/07/30 14:55:33.776 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    I tried to bounce the system.
    When I executed ./adstpall.sh it took a long time (about 15 mins) and exited with status 1.
    You are running adstpall.sh version 120.10
    adstpall.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong.
    USAGE: adstpall.sh <appsusername/appspassword>
    adstpall.sh: exiting with status 1
    But I check from server that the database is up and running.
    Please help asap
    Thanks,
    Rushi

    Oracle support has given me two docs
    Note 550859.1 TROUBLESHOOTING GUIDE TNS - 12518 TNS listener could not hand off client connection
    Note 340089.1 New Connections to the Database lead to ORA-12518 or TNS-12518
    I do not any ORA-12518 or TNS-12518 errors in the log file entries you posted above. However, please see (ORA-00610 And/Or "unable to spawn jobq slave process " And/Or "Process(<>) creation failed" In The Alert Log And/Or TNS-12518/ TNS-12500 In Listener Log [ID 416244.1]).
    Thanks,
    Hussein

  • Regardig error in application.log file

    Hi Experts,
    I am seeing this error very frequently in oacore application.log file
    12/05/30 00:48:23.895 html: Servlet error
    java.io.IOException: Connection reset by peer
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:100)
    at sun.nio.ch.IOUtil.write(IOUtil.java:71)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.writeFullyImpl(Channels.java:59)
    at java.nio.channels.Channels.writeFully(Channels.java:81)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:155)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    I am using r 12 EBS instance with 10.1.0.5.0 DB
    Is this a generic error if so can we ignore it.
    If this is not a generic error what s the reason behind this error
    Thanks in Advance

    I am seeing this error very frequently in oacore application.log file Do you get any errors from the application?
    Is this a generic error if so can we ignore it.
    If this is not a generic error what s the reason behind this error Please see these docs.
    Cannot Login: mod_oc4j: Response status=499 and reason=Oracle SSO, but failed to get mod_osso global context. [ID 563940.1]
    R12 Forms Slow performance / Freezes / Hangs for large # Record details using View -> Last -> Record [ID 1369830.1]
    When does this error appear in the log file?
    Thanks,
    Hussein

  • Error using transferTo function on VMS for long files

    Here is the code snippet that fails, as you can tell I am not giving all the code since it is not required to understand the problem.
    This occurs on OpenVMS
    Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3-2
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition
    Classic VM (build 1.4.2-5, 03/06/2006-23:29, native threads, nojit)
    The error only occurs on files with very long line lengths (20 000+ characters in the line) and file size is not an issue.
    Thanks in advance for your help in resolving this issue.
    private FileChannel fileChannelInbound;
    private SocketChannel socketChannelOutbound;
    private Socket client;
    client = new Socket(hostname,portNumber);
    socketChannelOutbound = SocketChannel.open(client.getRemoteSocketAddress());
    File fIn = new File(file);
    fileChannelInbound = new FileInputStream(fIn).getChannel();
    fileChannelInbound.transferTo(0,fileChannelInbound.size(),socketChannelOutbound);
    fileChannelInbound.close();This is the trace of the error.
    java.io.IOException: invalid buffer length
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java)
    at sun.nio.ch.IOUtil.write(IOUtil.java)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java)
    at sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java)
    at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java)
    at WebReturnResult.sendFile(WebReturnResult.java)
    at WebReturnResult.sendResults(WebReturnResult.java)
    at WebReturnResult.<init>(WebReturnResult.java)
    at WebReturnResult.main(WebReturnResult.java)

    Hi ,
    Unfortunately this is an issue in the underlying driver for the USB device. It should be fixed in the next DAQ release.
    One way you could work around this problem is by having a delay after the read and the next line of code.
    i.e
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    DAQmxErrChk DAQmxReadAnalogScalarF64(taskHandle, 10#, data, ByVal 0&
    Sleep(250)
    acquisitionDataTextBox.Text = CStr(data)
    Hope this helps...
    Nandan Dharwadker
    Staff Software Engineer
    Measurement Studio Hardware Team

  • Error while trying to import workbench in EBS

    Hi,
    We are trying to import workbench in our EBS R12.1.1 production instance and frequently we get error "Internal Server Error" .. More Information is available on Server log.
    When we checked in Application.log, we found below error,
    10/06/16 07:43:56.355 html: Broken pipe
    10/06/16 07:43:56.356 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:41)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:71)
    at java.nio.channels.Channels.access$000(Channels.java:58)
    at java.nio.channels.Channels$1.write(Channels.java:145)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:735)
    Not sure, exact cause of this issue.
    Request to help me in resolving this issue.
    Thanks,
    Prasad

    Prasad,
    No similar issues are reported on My Oracle Support website, so please log a SR.
    Thanks,
    Hussein

  • Getting 500 Internal Server Error while tryig to log into freshly upgraded

    Hi
    Getting 500 Internal Server Error while tryig to log into freshly R12 upgraded.
    Below is the application.log messages.
    =================================================================================================
    12/12/31 10:02:22.295 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:41)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:71)
    at java.nio.channels.Channels.access$000(Channels.java:58)
    at java.nio.channels.Channels$1.write(Channels.java:145)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:735)
    13/01/01 23:22:07.988 html: Servlet error
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.lang.RuntimeException: oracle.apps.fnd.common.AppsException: java.sql.SQLException: The Network Adapter could not establish the connection;
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
    at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:1017)
    at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:901)
    at oracle.apps.fnd.framework.webui.OAServerDelegate.releaseWebAppsContext(OAServerDelegate.java:1823)
    at oracle.apps.fnd.framework.webui.OAJSPHelper.handleErrorStackDisplay(OAJSPHelper.java:1455)
    at OAErrorPage.jspService(_OAErrorPage.java:257)
    13/01/01 23:41:46.338 html: Error initializing servlet
    java.lang.NoClassDefFoundError: oracle.apps.fnd.sso.Utils (initialization failure)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
    at oracle.apps.fnd.sso.AppsLoginRedirect.AppsSetting(AppsLoginRedirect.java:221)
    at oracle.apps.fnd.sso.AppsLoginRedirect.init(AppsLoginRedirect.java:287)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2978)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:738)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:735)
    Caused by: java.lang.ExceptionInInitializerError
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:222)
    at oracle.apps.fnd.sso.Utils.<clinit>(Utils.java:674)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    =================================================================================================
    Current workaround is bouncing the oacore services.
    Already raised the SR with Oracle.
    Oracle support analyst suggesting to upgrade the JDK version from SR2 to SR11 or higher to fix this issue.
    Please let us know any other tips to fix this issue.
    Regards,
    Jagadeesha

    Hi,
    I have gone through the docs. , not use full. Please find the inline comments for the same.
    E-Business Suite Users Experience Intermittent HTTP-500 Errors and Database Connection Errors [ID 1314433.1] -- No solution
    R12: Http Server Crashing Frequently With Segmentation Fault (NAS or SAN filesystem) [ID 732857.1] -- Already it is under local file system only.
    How to resolve Broken Pipe errors in E-Business Suite R12 ? [ID 1480156.1] -- No solution
    Autoconfig is completed wihtout any errors.
    I have not chedked the database log file. I will check and update you soon.
    Cheers,
    Jagadeesha

  • Internal server error while logging .

    Hi Team ,
    we are using Apps 12.0.4 & Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi and running PMF module.
    It is a two node architecture with db running on one node and CP,FORMS,admin , web on the other node.
    The db node is having 4 CPUS and 8GB RAM which i suppose is very less and needs to be upgraded.
    There are approx 261 apps users and size of db is 800GB.
    on an average we have 300 sessions at a given time.
    We are receiving intermittently the below errors in the error logs on the Apache.
    [Fri Feb 1 15:29:54 2013] [warn] [client 147.149.2.71] oc4j_socket_recvfull timed out
    [Fri Feb 1 15:29:54 2013] [error] [client 147.149.2.71] [ecid: 1359732293:10.187.132.70:26522:0:33,0] mod_oc4j: request to OC
    4J rdl08956app0XXXX.XXXX.21500 failed: Connect failed
    and the page is erroring out with the message
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    Can you please let me know what can be the issue here .
    Regards,
    Atif

    Hi ,
    Please find the below exctract from the logs . I hope this helps .
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    13/02/07 07:52:39.590 html: OABodyBean, localName='body': Could not find partial target: BundleSrchRsTBRN1
    13/02/07 07:52:39.590 html: OABodyBean, localName='body': Could not find partial target: BBSrchRsTBRN
    13/02/07 07:52:39.590 html: OABodyBean, localName='body': Could not find partial target: rowLayout2
    13/02/07 07:52:39.590 html: OABodyBean, localName='body': Could not find partial target: PSTNSrchRsTBRN
    13/02/07 08:27:44.974 html: chain failed
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpIOException: Broken pipe
    13/02/07 10:46:38.671 html: BodyBean, localName='body': /apps/apps_home/tech_stack/10.1.3/uix/OA_HTML/cabo/
    13/02/07 10:46:38.671 html: BodyBean, localName='body': Please install the UIX installable resource files under one of these directories. Or, set the oracle.cabo.ui.sharedContextPath system property to point to the location of your UIX installable resource files.
    13/02/07 11:16:27.69 html: Broken pipe
    13/02/07 11:16:27.69 html: Servlet
    13/02/07 11:51:18.956 html: OABodyBean, localName='body': Could not find partial target: RequiredRelease11
    13/02/07 11:51:18.959 html: chain failed
    com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpIOException: Broken pipe
    at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1910)
    at OA.jspService(_OA.java:258)
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.5.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    13/02/07 11:51:18.960 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.
    13/02/07 12:55:46.706 html: OABodyBean, localName='body': Could not find partial target: RequiredRelease11
    13/02/07 13:11:32.763 html: Broken pipe
    13/02/07 13:11:32.764 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:72)
    at sun.nio.ch.IOUtil.write(IOUtil.java:43)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.writeFullyImpl(Channels.java:59)
    at java.nio.channels.Channels.writeFully(Channels.java:81)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:155)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    13/02/07 13:11:33.132 html: Broken pipe
    13/02/07 13:11:33.132 html: Broken pipe
    13/02/07 13:11:33.132 html: Broken pipe
    13/02/07 13:11:33.133 html: Broken pipe
    13/02/07 13:11:33.133 html: Broken pipe
    13/02/07 13:11:33.133 html: Servlet error
    java.io.IOException: Broken pipe
    Regards,
    Atif

  • FRM-92101 There was a failure in the forms server during startup

    Hi guys when running EBS i am getting this error:
    it happens when i try to load any form i.e hrms managemnet --> work structure -> organization
    error : FRM-92101 There was a failure in the forms server during startup
    this could happen due to invalid configuration
    please look into webserver log file for detail
    following are the formsweb.cfg file details:
    -------------------------------------------------------------------------------start----------------------------------------
    [oratest@kapp server]$ vi formsweb.cfg
    [oratest@kapp server]$ tail -1000 formsweb.cfg
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=/mnt/extdrive/VIS/apps/tech_st/10.1.2/
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=orac
    ------------------------------------------------------end----------------------------------------------
    plz help
    regards,
    kashif

    Hi Hussein,
    i got the error in application log that libXm.so.2 is missing, then i installed openmotif to resolve it, but after that form window is not opening.
    and application log is as follows:
    10/10/22 18:41:45.258 10.1.3.0.0 Started
    10/10/22 18:41:46.981 formsweb: FormsServlet init():
    configFileName: /mnt/extdrive/VIS/inst/apps/VIS_kapp/ora/10.1.2/forms/server/appsweb.cfg
    testMode: false
    10/10/22 18:41:46.993 formsweb: 10.1.3.0.0 Started
    10/10/22 18:44:38.873 formsweb: ListenerServlet init()
    10/10/22 18:44:40.204 formsweb: Forms session <1> failed during startup: no response from runtime process
    10/10/22 18:44:40.206 formsweb: Forms session <1> exception stack trace:
    oracle.forms.engine.RunformException: Forms session <1> failed during startup: no response from runtime process
    at oracle.forms.servlet.RunformProcess.connect(Unknown Source)
    at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source)
    at oracle.forms.servlet.RunformSession.dataToRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    10/10/23 14:57:11.795 10.1.3.0.0 Started
    10/10/23 14:57:22.415 formsweb: FormsServlet init():
    configFileName: /mnt/extdrive/VIS/inst/apps/VIS_kapp/ora/10.1.2/forms/server/appsweb.cfg
    testMode: false
    10/10/23 14:57:22.641 formsweb: 10.1.3.0.0 Started
    10/10/23 15:01:33.111 formsweb: 10.1.3.0.0 Stopped
    10/10/23 15:05:56.542 10.1.3.0.0 Started
    10/10/23 15:05:58.541 formsweb: FormsServlet init():
    configFileName: /mnt/extdrive/VIS/inst/apps/VIS_kapp/ora/10.1.2/forms/server/appsweb.cfg
    testMode: false
    10/10/23 15:05:58.652 formsweb: 10.1.3.0.0 Started
    10/10/23 15:15:29.23 formsweb: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:306)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    10/10/23 15:32:28.558 formsweb: 10.1.3.0.0 Stopped
    10/10/23 15:33:44.992 10.1.3.0.0 Started
    10/10/23 15:33:46.570 formsweb: FormsServlet init():
    configFileName: /mnt/extdrive/VIS/inst/apps/VIS_kapp/ora/10.1.2/forms/server/appsweb.cfg
    testMode: false
    10/10/23 15:33:46.610 formsweb: 10.1.3.0.0 Started
    regards,
    kashif

  • APOC startup failure

    Hi there,
    I have a little problem with apocd startup,
    i've already set up the configuration agent following documentation on docs.sun.com
    but when i try to start up apocd daemon "/usr/lib/apoc/apocd start"
    I get this error (that's the output of apocd.log.0 in /var/opa/apoc/Logs, loglevel FINEST)
    FINISSIMO: Unexpected EOF while reading client channel
    4-dic-2006 15.02.26 ClientChannel write
    MOLTO FINE: THROW
    java.io.IOException: Pipe interrotta <--(means Broken Pipe)--->
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at com.sun.apoc.daemon.transport.ClientChannel.write(Unknown Source)
    at com.sun.apoc.daemon.admin.AdminManager.authenticate(Unknown Source)
    at com.sun.apoc.daemon.admin.AdminManager.run(Unknown Source)
    Could somebody help please?
    Thanks in advance
    Francesco

    this is entire log
    5-dic-2006 10.53.02 com.sun.apoc.daemon.misc.APOCLogger config
    CONFIG: Daemon configuration:
    MaxClientThreads = 5
    Password = **, **,
    SECURITY_CREDENTIALS_ENCODING = scramble
    AuthDn = cn="Directory Manager"
    TransactionTimeout = 15
    SECURITY_CREDENTIALS = 00, 00,
    SECURITY_PRINCIPAL = cn="Directory Manager"
    LogLevel = FINEST
    InitialChangeDetectionDelay = 10
    DataDir = /var/opt/apoc
    IdleThreadDetectionInterval = 15
    MaxClientConnections = 1000
    PROVIDER_URL = ldap://x.x.x.x:389/o=some.subdomain.it
    Password_ENCODING = scramble
    ConnectionReadTimeout = 5000
    DaemonPort = 38900
    DaemonAdminPort = 3890
    ApplyLocalPolicy = true
    ThreadTimeToLive = 5
    AuthType = Anonymous
    TimeToLive = 10080
    ChangeDetectionInterval = 10
    DaemonChangeDetectionInterval = 5
    HostIdentifierType = IPAddress
    GarbageCollectionInterval = 10080
    MaxRequestSize = 4096
    5-dic-2006 10.53.02 com.sun.apoc.daemon.misc.APOCLogger info
    INFO: Daemon starting
    5-dic-2006 10.53.02 com.sun.apoc.daemon.misc.APOCLogger fine
    FINE: Garbage collection scheduled ( interval = 10080 minutes )
    5-dic-2006 10.53.02 com.sun.apoc.daemon.misc.APOCLogger fine
    FINE: Client manager started
    5-dic-2006 10.53.02 com.sun.apoc.daemon.misc.APOCLogger fine
    FINE: Channel manager started
    5-dic-2006 10.53.02 com.sun.apoc.daemon.misc.APOCLogger fine
    FINE: Admin manager started
    5-dic-2006 10.53.03 com.sun.apoc.daemon.misc.APOCLogger finest
    FINISSIMO: Authenticating user <Daemon administrator>
    5-dic-2006 10.53.03 com.sun.apoc.daemon.misc.APOCLogger finest
    FINISSIMO: Unexpected EOF while reading client channel
    5-dic-2006 10.53.03 ClientChannel write
    MOLTO FINE: THROW
    java.io.IOException: Pipe interrotta
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at com.sun.apoc.daemon.transport.ClientChannel.write(Unknown Source)
    at com.sun.apoc.daemon.admin.AdminManager.authenticate(Unknown Source)
    at com.sun.apoc.daemon.admin.AdminManager.run(Unknown Source)
    5-dic-2006 10.53.04 com.sun.apoc.daemon.misc.APOCLogger finest
    and continues in throwing this exception.
    1) The daemons are up and running
    root 4067 1 0 11:04:48 ? 0:00 sh -c java -Djava.library.path=/usr/lib/apoc -cp /usr/share/lib/apoc/apoc
    root 4068 4067 0 11:04:48 ? 0:08 java -Djava.library.path=/usr/lib/apoc -cp /usr/share/lib/apoc/apocd.jar:/usr/s
    d.jar:
    but when you do (tailing the log) an /usr/lib/apoc/apocd status you get
    Checking Configuration Agent status ... Not running
    ^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[
    //////////Begin of /usr/lib/apoc/apocd status/////////////////////////////////////////////////////////////////////////////////////
    5-dic-2006 11.09.02 com.sun.apoc.daemon.misc.APOCLogger finest
    FINISSIMO: Authenticating user <Daemon administrator>
    5-dic-2006 11.09.02 com.sun.apoc.daemon.misc.APOCLogger finest
    FINISSIMO: Unexpected EOF while reading client channel
    5-dic-2006 11.09.02 ClientChannel write
    MOLTO FINE: THROW
    java.io.IOException: Pipe interrotta
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:302)
    at com.sun.apoc.daemon.transport.ClientChannel.write(Unknown Source)
    at com.sun.apoc.daemon.admin.AdminManager.authenticate(Unknown Source)
    at com.sun.apoc.daemon.admin.AdminManager.run(Unknown Source)
    //////////////////////////////////////////End Of /usr/lib/apoc/apocd status/////////////////////////////////////////////////
    ^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[^[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Printing to printer on windows xp computer, only prints first page

    hey all, I need some help. i just switched to a mac and I am loving it, but in my small office, I am having trouble printing. Two printers are connected to a Windows XP computer. I can connect to them via the network and print, but it only prints the

  • BPM 11.1.1.5 Dynamic assignment of task to user

    Hi, I'm working with BPM 11.1.1.5 (without feature pack). I have a requirement to assign a task to a user dynamically, based on data that I pull from a DB query. If the task expires, I will assign it to another user once again based on a DB query. I

  • Why is the vcf file is empty?

    Why is the vcf file is empty (0kb) when I drag a contact directly from Contacts 8.0 to Mail 7.1?

  • QUNTITY DELIVERED

    Hi all, What is field name for Quantity Delivered in SD? Thank you, Shashikanth.

  • Can anyone send me the programme for annexure 10

    I am working on a report 57AE-India which is in SAP but i facing some problems in developing the report further, i need some clarity like what is source of data wht are the additional column i have to develop for annexure 10 India