Hi,
I am load testing my ULC applet . After the sixth client connects, I
get:
com.ulcjava.base.client.ConnectorException: could not send requests to
server
...
Caused by:
com.ulcjava.container.servlet.client.ConnectorCommandException:
unsupported HTTP response code: 500 (Internal Server Error)
...
The server side log says:
javax.servlet.ServletException: unable to get ulc session (session
already terminated)
The ULC deployment guide says "the session timeout of the web
application must be configured to be compatible with the...client
configuration (eg using keep-alive requests)", but there are no details
about what the compatibility is. An archived post on this subject
indicated that the client timeout needed to be less than the keep-alive,
which seems counter-intuitive to me.
I am using the default tomcat session timeout (30 minutes) and
keep-alive-interval of 900 (which the manual says is in seconds).
Can anyone tell me if these numbers are compatible? If so, what else
might be causing this exception? Client error and server side log is
below.
Thanks,
Mary Ann
Client error:
com.ulcjava.base.client.ConnectorException: could not send requests to
server
at
com.ulcjava.container.servlet.client.ServletConnector.sendRequests(Servl
etConnector.java:34)
at
com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:71)
at java.lang.Thread.run(Unknown Source)
Caused by:
com.ulcjava.container.servlet.client.ConnectorCommandException:
unsupported HTTP response code: 500 (Internal Server Error)
at
com.ulcjava.container.servlet.client.ConnectorCommand.handleResponse(Con
nectorCommand.java:24)
at
com.ulcjava.container.servlet.client.ConnectorCommand.execute(ConnectorC
ommand.java:9)
at
com.ulcjava.container.servlet.client.ServletConnector.executeCommand(Ser
vletConnector.java:84)
at
com.ulcjava.container.servlet.client.ServletConnector.sendRequests(Servl
etConnector.java:33)
at
com.ulcjava.base.client.UISession$k_.run(UISession$k_.java:71)
at java.lang.Thread.run(Unknown Source)
Server log error (repeated many times):
ERROR: [09.08.07 12:14:45 PM]
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/emst].[E
MSTApplet] - Servlet.service() for servlet EMSTApplet threw exception
javax.servlet.ServletException: unable to get ulc session (session
already terminated)
at
com.ulcjava.container.servlet.server.ContainerCommand.getUlcSession(Cont
ainerCommand.java:13)
at
com.ulcjava.container.servlet.server.RemoveSessionCommand.handleRequestC
ontent(RemoveSessionCommand.java:6)
at
com.ulcjava.container.servlet.server.ContainerCommand.execute(ContainerC
ommand.java:32)
at
com.ulcjava.container.servlet.server.ServletContainerAdapterHelper.b(Ser
vletContainerAdapterHelper.java:147)
at
com.ulcjava.container.servlet.server.ServletContainerAdapterHelper.servi
ce(ServletContainerAdapterHelper.java:121)
at
com.ulcjava.container.servlet.server.ServletContainerAdapter.service(Ser
vletContainerAdapter.java:5)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
48)
at
org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:425)
at
org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpApr
Protocol.java:452)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
at java.lang.Thread.run(Unknown Source)