----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

One thing for sure is that you are running low on the unix virtual memory.
did you try looking at the available swap space at the time when the error
occurred. I bet you are running low on resources with a high page fault
rate..memory leaks..memory leaks

-------- Original Message --------
Subject: Re: Weird JServ Behavior
Date: Thu, 20 Jan 2000 17:21:54 -0600 (CST)
From: Steve Lewis <[EMAIL PROTECTED]>
Reply-To: "Java Apache Users" <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>

----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I'm getting a set of errors in the jserv log file, at just about the time
JServ spazzes out, and I have to kill it and restart it manually.  They
come in what appears to be random order.

java.io.IOException: Too many open files
        at java.lang.UNIXProcess.<init>(Compiled Code)
        at java.lang.Runtime.exec(Compiled Code)
        at java.lang.Runtime.exec(Compiled Code)
        at util.ExecCommand.run(Compiled Code)
        at execpwgen.ExecPWGen.run(Compiled Code)
        at session.JAMSAccountManager.add(Compiled Code)
        at functions.account.AddAccountFunction.executeFunction(Compiled
Code)
        at JAMS11.attempt(Compiled Code)
        at JAMS11.handle(Compiled Code)
        at org.webmacro.servlet.WMServlet.doRequest(Compiled Code)
        at org.webmacro.servlet.WMServlet.doPost(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.jserv.JServConnection.processRequest(Compiled Code)
        at org.apache.jserv.JServConnection.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)

********************************************************

ApacheJServ/1.0: An error occurred listening to the
port: java.lang.OutOfMemoryError

********************************************************

java.sql.SQLException: The Network Adapter could not establish the
connection
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Exception.<init>(Compiled Code)
        at java.sql.SQLException.<init>(Compiled Code)
        at oracle.jdbc.dbaccess.DBError.check_error(Compiled Code)
        at oracle.jdbc.driver.OracleConnection.<init>(Compiled Code)
        at oracle.jdbc.driver.OracleDriver.getConnectionInstance(Compiled
Code
)
        at oracle.jdbc.driver.OracleDriver.connect(Compiled Code)
        at java.sql.DriverManager.getConnection(Compiled Code)
        at java.sql.DriverManager.getConnection(Compiled Code)
        at javaservlets.jdbc.ConnectionPool.fillPool(Compiled Code)
        at javaservlets.jdbc.ConnectionPool.addConnection(Compiled Code)
        at javaservlets.jdbc.ConnectionPool.getConnection(Compiled Code)
        at JAMS11.attempt(Compiled Code)
        at JAMS11.handle(Compiled Code)
        at org.webmacro.servlet.WMServlet.doRequest(Compiled Code)
        at org.webmacro.servlet.WMServlet.doGet(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.jserv.JServConnection.processRequest(Compiled Code)
        at org.apache.jserv.JServConnection.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)

*********************************************************

Any ideas as to what these might mean?  Is the fault with my code, or is
it with the Unix machine (too many files open?).  I'm not sure if the
SQLException is because of something I'm doing or not.  The servlet works
fine for quite a while, until it hits a limit (Out of memory?).

Thanks a lot,

Steve Lewis
Unix Systems Group
University of Texas at Dallas





--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to