Web2664
Hi,
What is reason to have following exception in Sun Web Server 6.1 sp4?
javax.servlet.ServletException: WEB2664: Servlet execution threw an exception
most likely that you have some mis configuration while configuring 'filters' in your web application's web.xml (/app/WEB-INF/web.xml )
please note that web server 6.1 is compliant to J2EE 1.3 specification and please make sure your 'web.xml' adhere to this specification
http://jcp.org/en/jsr/detail?id=53
Similar Messages
-
Out of Memory Error in iplanet 6.1
While starting iplanet 6.1 sp2 in HP-UX 11.00 , out of memory error occurs. Value for JVM heapsize is set to min 128 MB and Max of 512 MB. Tried changing both the values to 512 MB, still the error occurs.
Please revert with any solution.Please find the values of JVM HeapSIze and HP-UX process and address space limits.
JVM Heap size has been changed to
Min 128MB
Max 2GB
max_thread_proc 2048
maxdsiz 1073741824
maxssiz 401604608
maxtsiz 1073741824
After the modification of the above changes , out of memory errors occurs.Find the logfile below.
[21/Feb/2005:09:37:31] failure ( 8528): for host 163.38.174.17 trying to POST /wect/servlets/com.citicorp.treasury.westerneurope.maintenance.PageLinksServlet, service-j2ee reports: StandardWrapperValve[PageLinksServlet]: WEB2792: Servlet.service() for servlet PageLinksServlet threw exception
javax.servlet.ServletException: WEB2664: Servlet execution threw an exception
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:793)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)
----- Root Cause -----
java.lang.OutOfMemoryError
[21/Feb/2005:09:45:04] warning ( 8528): HTTP3039: terminating with 6 sessions st
ill in progress
[21/Feb/2005:09:45:04] failure ( 8528): CORE3189: Restart functions not called since 6 sessions still active
Please suggest. -
Error creating DaemonSession thread
Hi All,
I am having the "JVMCI015:OutOfMemoryError" with my Sun ONE Web Server 6.1 SP1 on IBM AIX platform. I am using IBM JDK 1.4.1.
I always hit this error when trying to load test the web server with 1500 concurrent users. I have set yhr RqThrottle tp 1536 and the MaxKeepAliveConnections is 1024. Java Heap Size is 512m. I even tried increase the heap size to 1.5 G, but the error still occur.
Would appreciate if any solution is given.
The detailed error is :
[28/May/2004:17:04:09] info (28120): CORE3274: successful server startup
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120): Error creating DaemonSession thread
[28/May/2004:17:05:50] failure (28120) https-uob: for host 10.128.1.33 trying to POST /servlet/LiveGiverServlet, service-j2ee
reports: StandardWrapperValve[LiveGiverServlet]: WEB2792: Servlet.service() for servlet LiveGiverServlet threw exception
javax.servlet.ServletException: WEB2664: Servlet execution threw an exception
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:793)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
----- Root Cause -----
java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError, cannot create anymore threads due to memory or resource constraints
at java.lang.Thread.start(Native Method)
at com._3rdfrontier.livegiver.servers.pushchannel.LiveGiverClientConsumer.<init>(LiveGiverClientConsumer.java(Compiled
Code))
at com._3rdfrontier.livegiver.servers.pushchannel.LiveGiverAggregator.subscribe(LiveGiverAggregator.java(Compiled Code
at com._3rdfrontier.livegiver.servers.pushchannel.LiveGiverAggregator.handleRequest(LiveGiverAggregator.java:838)
at LiveGiverServlet.doPost(LiveGiverServlet.java:1094)
at LiveGiverServlet.service(LiveGiverServlet.java:437)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java(Compiled Code))
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:586)
magnus.conf
# The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
# They will not be supported in future releases of the Web Server.
NetsiteRoot /package/SUNWwbsvr
ServerName AIX1
ServerID https-test
RqThrottle 1536
DNS off
Security off
PidLog /package/SUNWwbsvr/https-test/logs/pid
User qgdev
#StackSize 131072
StackSize 524288
TempDir /tmp/https-test-5328a767
PostThreadsEarly on
KernelThreads off
#enabling statistic
UseNativePoll off
KeepAliveThreads 2
MaxKeepAliveConnections 1024
AsyncDNS off
Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
Init fn="load-modules" shlib="/package/SUNWwbsvr/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"
Init fn="stats-init" update-interval="5" virtual-servers="1" profiling="yes"
server.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
-->
<!DOCTYPE SERVER PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Web Server 6.1//EN" "file:///package/SUNWwbsvr/bin/https/dtds/sun-web-server_6_1.dtd">
<SERVER qosactive="false">
<PROPERTY name="docroot" value="/package/SUNWwbsvr/docs"/>
<PROPERTY name="accesslog" value="/package/SUNWwbsvr/https-test/logs/access"/>
<PROPERTY name="user" value=""/>
<PROPERTY name="group" value=""/>
<PROPERTY name="chroot" value=""/>
<PROPERTY name="dir" value=""/>
<PROPERTY name="nice" value=""/>
<LS id="ls1" port="5050" servername="AIX1" defaultvs="https-test" ip="any" security="off" acceptorthreads="4" blocking="false"/>
<MIME id="mime1" file="mime.types"/>
<ACLFILE id="acl1" file="/package/SUNWwbsvr/httpacl/generated.https-test.acl"/>
<VSCLASS id="vsclass1" objectfile="obj.conf" rootobject="default" acceptlanguage="false">
<VS id="https-test" connections="ls1" mime="mime1" aclids="acl1" urlhosts="AIX1" state="on">
<USERDB id="default"/>
<WEBAPP uri="/" path="/projects/test/web/http" enabled="true"/>
</VS>
</VSCLASS>
<JAVA javahome="/package/SUNWwbsvr/bin/https/jdk" serverclasspath="" classpathsuffix="" envclasspathignored="true" nativelibrarypathprefix="" debug="off" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1">
<JVMOPTIONS>-Djava.security.auth.login.config=/package/SUNWwbsvr/https-test/config/login.conf</JVMOPTIONS>
<JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
<JVMOPTIONS>-Dorg.omg.CORBA.ORBClass=com.ibm.CORBA.iiop.ORB</JVMOPTIONS>
<JVMOPTIONS>-Dorg.omg.CORBA.ORBSingletonClass=com.ibm.rmi.corba.ORBSingleton</JVMOPTIONS>
<JVMOPTIONS>-Djavax.rmi.CORBA.UtilClass=com.ibm.CORBA.iiop.UtilDelegateImpl</JVMOPTIONS>
<JVMOPTIONS>-Djavax.rmi.CORBA.StubClass=com.ibm.rmi.javax.rmi.CORBA.StubDelegateImpl</JVMOPTIONS>
<JVMOPTIONS>-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.ibm.rmi.javax.rmi.PortableRemoteObject</JVMOPTIONS>
<JVMOPTIONS>-Xms512m</JVMOPTIONS>
<JVMOPTIONS>-Xmx512m</JVMOPTIONS>
<SECURITY defaultrealm="file" anonymousrole="ANYONE" audit="false">
<AUTHREALM name="file" classname="com.iplanet.ias.security.auth.realm.file.FileRealm">
<PROPERTY name="file" value="/package/SUNWwbsvr/https-test/config/keyfile"/>
<PROPERTY name="jaas-context" value="fileRealm"/>
</AUTHREALM>
<AUTHREALM name="native" classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm">
<PROPERTY name="jaas-context" value="nativeRealm"/>
</AUTHREALM>
<AUTHREALM name="ldap" classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm">
<PROPERTY name="directory" value="ldap://localhost:389"/>
<PROPERTY name="base-dn" value="o=isp"/>
<PROPERTY name="jaas-context" value="ldapRealm"/>
</AUTHREALM>
</SECURITY>
<RESOURCES/>
</JAVA>
<LOG file="/package/SUNWwbsvr/https-test/logs/errors" loglevel="info" logvsid="true" logstdout="false" logstderr="true" logtoconsole="false" createconsole="false" usesyslog="false"/>
</SERVER>Hi Elving,
I agree with you that we don't need so many threads to support concurrent many users for normal web application.
But what happen is that if i have an application which will take a very long time to process a request and probably will not complete the request for a few hours. So if i want to test for 1500 concurrent users, i need to have at least 1500 threads to service this kind of request. Otherwise, some of the users may need to wait for a few hours in order to get serviced by web server.
Thus, is there a way to allow OS or web server to create this many of threads?
Maybe you are looking for
-
MY OLD COMPUTER HAS THE CORRECT MUSIC INSTALLED IN ITUNES. I HAVE NOW INSTALLED THE CORRECT MUSIC ON MY IPOD-NANO I HAVE A 2ND COMPUTER WITH AN INCORRECT MUSIC LIST IN ITUNES. I NEED TO COPY THE CORRECT MUSIC TO COMPUTER 2 FROM MY IPOD WITHOUT LOOSIN
-
I am using webflow and would like to invoke declarative security on certain events in the webflow. These events are in the http query string, can I use an url-pattern like "event=link.account_info" if the query string is http://localhost:7001/applica
-
Settings get changed although no system update or manual change
I changed some settings in Gnome under Settings>>Preferences>>Keyboard and all was working fine. I enjoyed the new settings for a few days, then today I just noticed that the settings are back to default, but I haven't performed a system update or ch
-
Hi, i have created a webservice and am trying to test it using "test Webservices" option in jdev 11. When i run it, following is the error i get. I need help resolving it . [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.] D:
-
Hi all, Mail has gone crazy, cannot login to my original account, 1st .mac temporary account disappeared - now I'm - [email protected] -- keeps asking for password & refuses to send emails..incoming are ok...(elmac2)..L