users@glassfish.java.net

java system application server (glassfish(?)) on a Virtual Private Server

From: <glassfish_at_javadesktop.org>
Date: Mon, 10 Sep 2007 10:28:37 PDT

Hi, I currently have a VPS with 512mb of RAM (464mb available to me) running CentOS 5.

It seems like java does not obey the memory limits I use with _JAVA_OPTIONS="-Xms16m -Xmx32m". Here's how it goes:

--- Memory available before starting : total: 464 mb used: 23 mb free: 441 mb
[root_at_unnamedservice /]# asadmin start-domain unnamedservice
Picked up _JAVA_OPTIONS: -Xms16m -Xmx32m #note
Starting Domain unnamedservice, please wait.
Log redirected to /opt/AppServer/domains/unnamedservice/logs/server.log.
Redirecting output to /opt/AppServer/domains/unnamedservice/logs/server.log
Picked up _JAVA_OPTIONS: -Xms16m -Xmx32m
unable to create new native thread
---------------

--- Second try with _JAVA_OPTIONS="-Xms8m -Xmx16m"
[root_at_unnamedservice /]# asadmin start-domain unnamedservice
Picked up _JAVA_OPTIONS: -Xms8m -Xmx16m
Starting Domain unnamedservice, please wait.
Log redirected to /opt/AppServer/domains/unnamedservice/logs/server.log.
Redirecting output to /opt/AppServer/domains/unnamedservice/logs/server.log
Picked up _JAVA_OPTIONS: -Xms8m -Xmx16m
Domain unnamedservice is ready to receive client requests. Additional services are being started in background.
Domain [unnamedservice] is running [Sun Java System Application Server 9.1 (build b41d-beta2)] with its configuration and logs at: [/opt/AppServer/domains].
Admin Console is available at [http://209.40.202.134:4848].
Use the same port [4848] for "asadmin" commands.
User web applications are available at these URLs:
[http://209.40.202.134:80 https://209.40.202.134:443 ].
Following web-contexts are available:
[/web1 /__wstx-services portletdriver amserver ].
Standard JMX Clients (like JConsole) can connect to JMXServiceURL:
[service:jmx:rmi:///jndi/rmi://unnamedservice.com:8686/jmxrmi] for domain management purposes.
Domain listens on at least following ports for connections:
[80 443 4848 3700 3820 3920 8686 ].
Domain does not support application server clusters and other standalone instances.
---------------
At this point my memory looks like this:
                                    total: 464 mb used: 245 mb free: 219 mb
---------------

When I try to visit the webpage i get either HTTP503 (with this error: descriptionThe requested service () is not currently available.) or a blank page, same if I try to visit the admin panel on port 4848.

When I view the server.log there's a couple of java.io.EOFException and this:
java.lang.OutOfMemoryError: Java heap space


Please help, thanks

Here's the log from this try:

###########################################################
###########################################################

2007-sep-10 17:13:48 com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
INFO:
/opt/AppServer/jdk/bin/java
-client
-XX:+UnlockDiagnosticVMOptions
-XX:MaxPermSize=128m
-Xmx256m
-XX:NewRatio=2
-XX:+LogVMOutput
-XX:LogFile=/opt/AppServer/domains/unnamedservice/logs/jvm.log
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=/opt/AppServer/addons/accessmanager/amWebServicesProvider.jar
-Dcom.sun.aas.ServerClassPath=
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.classloader.optionalOverrideableChain=webservices-rt.jar,webservices-tools.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=Does not exist/lib/hadbjdbc4.jar,/opt/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbm.jar,Does not exist/lib/hadbmgt.jar,/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.serverClassPath=/opt/AppServer/lib/install/applications/jmsra/imqjmsra.jar,/opt/AppServer/imq/lib/jaxm-api.jar,/opt/AppServer/imq/lib/fscontext.jar,/opt/AppServer/imq/lib/imqbroker.jar,/opt/AppServer/imq/lib/imqjmx.jar,/opt/AppServer/lib/ant/lib/ant.jar,/opt/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,Does not exist/lib/dbstate.jar,Does not exist/lib/hadbjdbc4.jar,jgroups-all.jar,/opt/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,/opt/AppServer/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,/opt/AppServer/imq/lib/jaxm-api.jar,/opt/AppServer/imq/lib/fscontext.jar,/opt/AppServer/imq/lib/imqbroker.jar,/opt/AppServer/imq/lib/imqjmx.jar,/opt/AppServer/imq/lib/imqxm.jar,/opt/AppServer/lib/ant/lib/ant.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,/opt/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,/opt/AppServer/updatecenter/lib/updatecenter.jar,/opt/AppServer/jbi/lib/jbi.jar
-Dcom.sun.aas.configName=server-config
-Dcom.sun.aas.configRoot=/opt/AppServer/config
-Dcom.sun.aas.defaultLogFile=/opt/AppServer/domains/unnamedservice/logs/server.log
-Dcom.sun.aas.domainName=unnamedservice
-Dcom.sun.aas.installRoot=/opt/AppServer
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.instanceRoot=/opt/AppServer/domains/unnamedservice
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.help,javax.portlet
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar,ajax-wrapper-comp.jar,bp-ui-simple-5.jar,jsf-extensions-dynamic-faces.jar,jsf-extensions-flash.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar,jsf-extensions-dynamic-faces.jar
-Dcom.sun.identity.amclientsdk.configpath=/opt/AppServer/domains/unnamedservice/config
-Dcom.sun.updatecenter.home=/opt/AppServer/updatecenter
-Ddomain.name=unnamedservice
-Djava.endorsed.dirs=/opt/AppServer/lib/endorsed
-Djava.ext.dirs=/opt/AppServer/jdk/lib/ext:/opt/AppServer/jdk/jre/lib/ext:/opt/AppServer/domains/unnamedservice/lib/ext:/opt/AppServer/javadb/lib
-Djava.library.path=/opt/AppServer/lib:/opt/AppServer/lib:/opt/AppServer/lib
-Djava.security.auth.login.config=/opt/AppServer/domains/unnamedservice/config/login.conf
-Djava.security.policy=/opt/AppServer/domains/unnamedservice/config/server.policy
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Djavax.net.ssl.keyStore=/opt/AppServer/domains/unnamedservice/config/keystore.jks
-Djavax.net.ssl.trustStore=/opt/AppServer/domains/unnamedservice/config/cacerts.jks
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djmx.invoke.getters=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
-cp
:/opt/AppServer/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start
2007-sep-10 17:13:48 com.sun.enterprise.admin.servermgmt.launch.ASLauncher process
INFO: goodbye
Picked up _JAVA_OPTIONS: -Xms8m -Xmx16m
[#|2007-09-10T17:13:49.032+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Starting Sun Java System Application Server 9.1 (build b41d-beta2) ...|#]

[#|2007-09-10T17:13:49.755+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5098: AS Socket Service Initialization has been completed.|#]

[#|2007-09-10T17:13:49.806+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;Java HotSpot(TM) Client VM;1.6.0_01;Sun Microsystems Inc.;|CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.6.0_01] from [Sun Microsystems Inc.]|#]

[#|2007-09-10T17:13:49.845+0000|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;|SEC1002: Security Manager is OFF.|#]

[#|2007-09-10T17:13:50.648+0000|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:MBeanServer initialized successfully|#]

[#|2007-09-10T17:13:50.754+0000|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=10;_ThreadName=main;com.sun.enterprise.security.provider.PolicyWrapper;|SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.|#]

[#|2007-09-10T17:13:51.137+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;server;|WEB0114: SSO is disabled in virtual server [server]|#]

[#|2007-09-10T17:13:51.149+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;__asadmin;|WEB0114: SSO is disabled in virtual server [__asadmin]|#]

[#|2007-09-10T17:13:51.360+0000|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=11;_ThreadName=pool-1-thread-1;|RMIClient.getRMIClient: server|#]

[#|2007-09-10T17:13:51.722+0000|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM1079: Initialization of AMX MBeans successful|#]

[#|2007-09-10T17:13:52.152+0000|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;service:jmx:rmi:///jndi/rmi://unnamedservice.com:8686/jmxrmi;|ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://unnamedservice.com:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors|#]

[#|2007-09-10T17:13:52.152+0000|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=12;_ThreadName=Thread-16;true;|ADM1506: Status of Standard JMX Connector: Active = [true]|#]

[#|2007-09-10T17:13:54.469+0000|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=13;_ThreadName=pool-1-thread-2;|JBIFW0010: JBI framework ready to accept requests.|#]

[#|2007-09-10T17:13:54.474+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0302: Starting Sun-Java-System/Application-Server.|#]

[#|2007-09-10T17:13:54.723+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;80;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 80|#]

[#|2007-09-10T17:13:54.930+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;443;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 443|#]

[#|2007-09-10T17:13:55.098+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]

[#|2007-09-10T17:14:00.384+0000|SEVERE|sun-appserver9.1|org.apache.catalina.session.ManagerBase|_ThreadID=14;_ThreadName=pool-1-thread-8;_RequestID=eec05d81-5379-43e4-95c1-3f95e664f81d;|PWC2768: IOException while loading persisted sessions: java.io.EOFException
java.io.EOFException
        at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2748)
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:415)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:359)
        at org.apache.catalina.session.StandardManager.start(StandardManager.java:751)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5096)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:308)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:45)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283)
        at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:317)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
|#]

[#|2007-09-10T17:14:00.739+0000|SEVERE|sun-appserver9.1|org.apache.catalina.session.ManagerBase|_ThreadID=14;_ThreadName=pool-1-thread-8;_RequestID=eec05d81-5379-43e4-95c1-3f95e664f81d;|PWC2773: Exception loading sessions from persistent storage
java.io.EOFException
        at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2279)
        at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2748)
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
        at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:415)
        at org.apache.catalina.session.StandardManager.load(StandardManager.java:359)
        at org.apache.catalina.session.StandardManager.start(StandardManager.java:751)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5096)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:308)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:45)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283)
        at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:317)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
|#]

[#|2007-09-10T17:14:02.364+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=15;_ThreadName=pool-1-thread-4;;|Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context ''|#]

[#|2007-09-10T17:14:02.720+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=16;_ThreadName=pool-1-thread-6;;|Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context ''|#]

[#|2007-09-10T17:14:02.897+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=pool-1-thread-7;/web1;|Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/web1'|#]

[#|2007-09-10T17:14:02.899+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=14;_ThreadName=pool-1-thread-8;/__wstx-services;|Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/__wstx-services'|#]

[#|2007-09-10T17:14:02.906+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=18;_ThreadName=pool-1-thread-9;/__JWSappclients;|Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/__JWSappclients'|#]

[#|2007-09-10T17:14:03.259+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=19;_ThreadName=pool-1-thread-10;/amserver;|Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/amserver'|#]

[#|2007-09-10T17:14:04.396+0000|INFO|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=20;_ThreadName=pool-1-thread-5;/portletdriver;|Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/portletdriver'|#]

[#|2007-09-10T17:14:17.725+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=19;_ThreadName=pool-1-thread-10;_RequestID=aae97616-4864-46db-9287-c8266ed27614;|WebModule[/amserver]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:17.725+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=17;_ThreadName=pool-1-thread-7;_RequestID=0d6c8b71-1de3-4e8b-9a46-274570ac978c;|WebModule[/web1]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:18.291+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=21;_ThreadName=SelectorThread-80;_RequestID=5e7b58b7-2f12-4d33-9fe3-2c76660d4fb2;|WEB0756: Caught exception during HTTP processing.
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:22.104+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=15;_ThreadName=pool-1-thread-4;_RequestID=5abbd94e-f116-4de2-be80-6ce795f58427;|WebModule[]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:25.233+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=17;_ThreadName=pool-1-thread-7;_RequestID=0d6c8b71-1de3-4e8b-9a46-274570ac978c;|WebModule[/web1]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.extensions.avatar.event.DynaFacesContextListener
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:25.582+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=17;_ThreadName=pool-1-thread-7;_RequestID=0d6c8b71-1de3-4e8b-9a46-274570ac978c;|PWC1306: Context startup failed due to previous errors|#]

[#|2007-09-10T17:14:28.171+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=15;_ThreadName=pool-1-thread-4;_RequestID=5abbd94e-f116-4de2-be80-6ce795f58427;|PWC1306: Context startup failed due to previous errors|#]

[#|2007-09-10T17:14:29.744+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=19;_ThreadName=pool-1-thread-10;_RequestID=aae97616-4864-46db-9287-c8266ed27614;|PWC1306: Context startup failed due to previous errors|#]

[#|2007-09-10T17:14:31.717+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=pool-1-thread-6;_RequestID=b9554493-4dc7-4b78-b603-1d91af87a1e7;|WebModule[]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: Java heap space
        at com.sun.org.apache.xerces.internal.util.NamespaceSupport.<init>(NamespaceSupport.java:92)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.<init>(XMLDocumentScannerImpl.java:205)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.<init>(XMLNSDocumentScannerImpl.java:86)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.<init>(XML11Configuration.java:522)
        at com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>(XIncludeAwareParserConfiguration.java:125)
        at com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>(XIncludeAwareParserConfiguration.java:86)
        at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at com.sun.org.apache.xerces.internal.parsers.ObjectFactory.newInstance(ObjectFactory.java:349)
        at com.sun.org.apache.xerces.internal.parsers.ObjectFactory.createObject(ObjectFactory.java:154)
        at com.sun.org.apache.xerces.internal.parsers.ObjectFactory.createObject(ObjectFactory.java:97)
        at com.sun.org.apache.xerces.internal.parsers.SAXParser.<init>(SAXParser.java:98)
        at com.sun.org.apache.xerces.internal.parsers.SAXParser.<init>(SAXParser.java:83)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.<init>(SAXParserImpl.java:332)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:122)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:76)
        at com.sun.org.apache.commons.digester.Digester.getParser(Digester.java:686)
        at com.sun.org.apache.commons.digester.Digester.getXMLReader(Digester.java:902)
        at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
        at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1444)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:369)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4493)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5150)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:308)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:45)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283)
        at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:317)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
|#]

[#|2007-09-10T17:14:31.893+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=16;_ThreadName=pool-1-thread-6;_RequestID=b9554493-4dc7-4b78-b603-1d91af87a1e7;|PWC1306: Context startup failed due to previous errors|#]

[#|2007-09-10T17:14:31.895+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=14;_ThreadName=pool-1-thread-8;_RequestID=eec05d81-5379-43e4-95c1-3f95e664f81d;|WebModule[/__wstx-services]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:31.898+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=14;_ThreadName=pool-1-thread-8;_RequestID=eec05d81-5379-43e4-95c1-3f95e664f81d;|PWC1306: Context startup failed due to previous errors|#]

[#|2007-09-10T17:14:32.069+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=pool-1-thread-5;_RequestID=5b9229ac-ded5-46e4-a6bb-53b8b6c66d00;|WebModule[/portletdriver]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:32.069+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0001 : Started initializing CacheManager|#]

[#|2007-09-10T17:14:32.069+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0002 : Finished initializing CacheManager|#]

[#|2007-09-10T17:14:32.070+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0003 : Started initializing PreferenceManager|#]

[#|2007-09-10T17:14:32.070+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0004 : Finished initializing PreferenceManager|#]

[#|2007-09-10T17:14:32.070+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0005 : Started initializing PortalDataContext|#]

[#|2007-09-10T17:14:32.070+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0006 : Finished initializing PortalDataContext|#]

[#|2007-09-10T17:14:32.070+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0007 : Started initializing PortletEventDataContext|#]

[#|2007-09-10T17:14:32.070+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=pool-1-thread-9;_RequestID=ae1fcece-0394-4c32-b747-6231c0cdee3c;|WebModule[/__JWSappclients]PWC1275: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.OutOfMemoryError: Java heap space
|#]

[#|2007-09-10T17:14:32.070+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.driver.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPCD_CSPPD0008 : Finished initializing PortletEventDataContext|#]

[#|2007-09-10T17:14:32.071+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPL_PCCSPCPCI0003 : Started initializing PortletContainer|#]

[#|2007-09-10T17:14:32.071+0000|INFO|sun-appserver9.1|com.sun.portal.portletcontainer.impl|_ThreadID=20;_ThreadName=pool-1-thread-5;|PSPL_PCCSPCPCI0004 : Finished initializing PortletContainer|#]

[#|2007-09-10T17:14:32.071+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=18;_ThreadName=pool-1-thread-9;_RequestID=ae1fcece-0394-4c32-b747-6231c0cdee3c;|PWC1306: Context startup failed due to previous errors|#]

[#|2007-09-10T17:14:32.072+0000|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardContext|_ThreadID=20;_ThreadName=pool-1-thread-5;_RequestID=5b9229ac-ded5-46e4-a6bb-53b8b6c66d00;|PWC1306: Context startup failed due to previous errors|#]

[#|2007-09-10T17:14:33.474+0000|INFO|sun-appserver9.1|javax.enterprise.system.core.selfmanagement|_ThreadID=10;_ThreadName=main;|SMGT0007: Self Management Rules service is enabled|#]

[#|2007-09-10T17:14:33.483+0000|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=pool-1-thread-5;|
INFO: AM configuration already done!|#]

[#|2007-09-10T17:14:33.483+0000|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=20;_ThreadName=pool-1-thread-5;|
INFO: Access Manager post configuration successful.|#]

[#|2007-09-10T17:14:33.673+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Application server startup complete.|#]

###########################################################
###########################################################
[Message sent by forum member 'nnm1' (nnm1)]

http://forums.java.net/jive/thread.jspa?messageID=234709