Sun One web server problems

I have a similar problem when hitting a servlet that navigates to a .jspx, the code was working fine with sun one server 6.1 SP6 but not in sun one server 7.0
I get the below exception. Can you please help me to resolve this?
I use JDK 1.6.0_17 and Icefaces 1.8.2 on sun one server 7 u6.
I use the below code
NavigationHandler navigationHandler = application
.getNavigationHandler();
navigationHandler.handleNavigation(facesContext, null,"index" );
lifecycle.render(facesContext);
I checked and facesContext and navigationHandler are not null
[08/Feb/2010:14:37:48] warning ( 5708): for host 127.0.0.1 trying to GET /vt/Odin, service-j2ee reports: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@12dab50) threw exception java.lang.NullPointerException
at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:169)
at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:82)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:168)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:145)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.telefonica.vt.servlet.OdinServlet.doGet(OdinServlet.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
[08/Feb/2010:14:37:48] failure ( 5708): for host 127.0.0.1 trying to GET /vt/Odin, service-j2ee reports: StandardWrapperValve[OdinServlet]: PWC1406: Servlet.service() for servlet OdinServlet threw exception
javax.faces.FacesException: java.lang.NullPointerException
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:306)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.telefonica.vt.servlet.OdinServlet.doGet(OdinServlet.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
Caused by: java.lang.NullPointerException
at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:169)
at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:82)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:168)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:145)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
... 14 more
Jars used are
acnarq-1.0.jar
activation-1.1.jar
annogen-0.1.0.jar
aopalliance-1.0.jar
asm-2.2.3.jar
avalon-framework-4.0.jar
backport-util-concurrent-2.2.jar
batik-1.5-fop-0.20-5.jar
commons-beanutils-1.8.0.jar
commons-beanutils-core-1.8.0.jar
commons-codec-20041127.091804.jar
commons-collections-3.2.1.jar
commons-configuration-1.6.jar
commons-digester-1.8.jar
commons-discovery-0.2.jar
commons-fileupload-1.2.1.jar
commons-httpclient-3.1.jar
commons-io-1.4.jar
commons-lang-2.4.jar
commons-logging-1.1.1.jar
el-api-1.0.jar
fop-0.93-jdk15.jar
fop-hyph.jar
icefaces_1.8.2.jar
icefaces-comps_1.8.2.jar
jaxen-1.1.1.jar
jsf-api-1.1_02.jar
jsf-impl-1.1_02.jar
jsp-api-2.0.jar
jstl-1.1.2.jar
keyexport.jar
log4j-1.2.15.jar
org.springframework.context.support-3.0.0.RELEASE.jar
pkcs12import.jar
servlet-api-2.4.jar
slf4j-api-1.5.8.jar
slf4j-jdk14-1.5.8.jar
spring-aop-3.0.0.RELEASE.jar
spring-asm-3.0.0.RELEASE.jar
spring-beans-3.0.0.RELEASE.jar
spring-context-3.0.0.RELEASE.jar
spring-core-3.0.0.RELEASE.jar
spring-expression-3.0.0.RELEASE.jar
spring-oxm-3.0.0.RELEASE.jar
spring-test-3.0.0.RELEASE.jar
spring-web-3.0.0.RELEASE.jar
sr-webservices-jwsdp-security.jar
teac_ap_configuracion-1.0.jar
wss-provider-update.jar
xml-apis-1.3.04.jar
xmlbeans-2.4.0.jar
xmlgraphics-commons-1.3.jar
xmlParserAPIs-2.6.0.jar
xml-resolver-1.2.jar
XmlSchema-1.4.5.jar
xstream-1.2.jar

I have a similar problem when hitting a servlet that navigates to a .jspx, the code was working fine with sun one server 6.1 SP6 but not in sun one server 7.0
I get the below exception. Can you please help me to resolve this?
I use JDK 1.6.0_17 and Icefaces 1.8.2 on sun one server 7 u6.
I use the below code
NavigationHandler navigationHandler = application
.getNavigationHandler();
navigationHandler.handleNavigation(facesContext, null,"index" );
lifecycle.render(facesContext);
I checked and facesContext and navigationHandler are not null
[08/Feb/2010:14:37:48] warning ( 5708): for host 127.0.0.1 trying to GET /vt/Odin, service-j2ee reports: executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@12dab50) threw exception java.lang.NullPointerException
at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:169)
at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:82)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:168)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:145)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.telefonica.vt.servlet.OdinServlet.doGet(OdinServlet.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
[08/Feb/2010:14:37:48] failure ( 5708): for host 127.0.0.1 trying to GET /vt/Odin, service-j2ee reports: StandardWrapperValve[OdinServlet]: PWC1406: Servlet.service() for servlet OdinServlet threw exception
javax.faces.FacesException: java.lang.NullPointerException
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:306)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at com.telefonica.vt.servlet.OdinServlet.doGet(OdinServlet.java:149)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:796)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:917)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
Caused by: java.lang.NullPointerException
at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.java:169)
at com.icesoft.faces.renderkit.D2DRenderKit.createResponseWriter(D2DRenderKit.java:82)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:168)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:145)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
... 14 more
Jars used are
acnarq-1.0.jar
activation-1.1.jar
annogen-0.1.0.jar
aopalliance-1.0.jar
asm-2.2.3.jar
avalon-framework-4.0.jar
backport-util-concurrent-2.2.jar
batik-1.5-fop-0.20-5.jar
commons-beanutils-1.8.0.jar
commons-beanutils-core-1.8.0.jar
commons-codec-20041127.091804.jar
commons-collections-3.2.1.jar
commons-configuration-1.6.jar
commons-digester-1.8.jar
commons-discovery-0.2.jar
commons-fileupload-1.2.1.jar
commons-httpclient-3.1.jar
commons-io-1.4.jar
commons-lang-2.4.jar
commons-logging-1.1.1.jar
el-api-1.0.jar
fop-0.93-jdk15.jar
fop-hyph.jar
icefaces_1.8.2.jar
icefaces-comps_1.8.2.jar
jaxen-1.1.1.jar
jsf-api-1.1_02.jar
jsf-impl-1.1_02.jar
jsp-api-2.0.jar
jstl-1.1.2.jar
keyexport.jar
log4j-1.2.15.jar
org.springframework.context.support-3.0.0.RELEASE.jar
pkcs12import.jar
servlet-api-2.4.jar
slf4j-api-1.5.8.jar
slf4j-jdk14-1.5.8.jar
spring-aop-3.0.0.RELEASE.jar
spring-asm-3.0.0.RELEASE.jar
spring-beans-3.0.0.RELEASE.jar
spring-context-3.0.0.RELEASE.jar
spring-core-3.0.0.RELEASE.jar
spring-expression-3.0.0.RELEASE.jar
spring-oxm-3.0.0.RELEASE.jar
spring-test-3.0.0.RELEASE.jar
spring-web-3.0.0.RELEASE.jar
sr-webservices-jwsdp-security.jar
teac_ap_configuracion-1.0.jar
wss-provider-update.jar
xml-apis-1.3.04.jar
xmlbeans-2.4.0.jar
xmlgraphics-commons-1.3.jar
xmlParserAPIs-2.6.0.jar
xml-resolver-1.2.jar
XmlSchema-1.4.5.jar
xstream-1.2.jar

Similar Messages

  • Problem with maxprocs 1 on Sun One Web server 6.1

    I am using sun one web server on Unix with maxprocs set to 3.
    This means that there are 3 jvms running my application under 1 instance. However I have certain components like an application cache that I would like to share between these 3 processes.
    Additionally is there a way to configure the server so that requests from 1 session are served by 1 process only.
    I am really stuck here. Have searched in all the documentation, but in vain. Would really help if some one of the Sun Developers could answer this.
    Thanks
    Chetan

    Elving,
    It is great to hear that there is no predefined limit on number of sessions but if that's the case why the webserver always starts with 1000 allowed by default. Are there any potential performance reasons behind it?
    I have your link open in my browser for a few days now as a reference because I am experimenting with different Session Managers. I am trying to find a solution for BheegaChicken to be able to accomodate several thousand simultaneous sessions for his application.
    We use V6.0SP2 and SP6 and for BheegaChicken's app specifically V6.1SP2...
    I have spent some time in the past looking for the answers how to handle higher then 1000 sessions capacity on one instance and that was even before V6.1 was out. I have found the following reco that talks about optimal performance for sites using threads:
    http://docs.sun.com/source/816-5690-10/perf6.htm#17580
    *** start qoute
    Multi-Process Mode
    You can configure the server to handle requests using multiple processes with multiple threads in each process. This flexibility provides optimal performance for sites using threads, and also provides backward compatibility to sites running legacy applications that are not ready to run in a threaded environment. Because applications on Windows NT generally already take advantage of multi-thread considerations, this feature applies to Unix/Linux platforms.
    The advantage of multiple processes is that legacy applications that are not thread-aware or thread safe can be run more effectively in iPlanet Web Server. However, because all the Netscape/iPlanet extensions are built to support a single-process threaded environment, they may not run in the multi-process mode, and the Search plug-ins will fail on startup if the server is in multi-process mode.
    In the multi-process mode, the server spawns multiple server processes at startup. Each process contains one or more threads (depending on the configuration) which receive incoming requests. Since each process is completely independent, each one has its own copies of global variables, caches, and other resources. Using multiple processes requires more resources from your system. Also, if you try to install an application which requires shared state, it has to synchronize that state across multiple processes. NSAPI provides no helper functions for implementing cross-process synchronization.
    If you are not running any NSAPI in your server, you should use the default settings: one process and many threads. If you are running an application which is not scalable in a threaded environment, you should use a few processes and many threads, for example, 4 or 8 processes and 128 or 512 threads per process.
    MaxProcs (Unix/Linux)
    Use this directive to set your Unix/Linux server in multi-process mode, which may allow for higher scalability on multi-processor machines. If you set the value to less than 1, it will be ignored and the default value of 1 will be used.
    Tuning
    You can set the value for MaxProcs by:
    Editing the MaxProcs parameter in magnus.conf
    Setting or changing the MaxProcs value in the Magnus Editor of the Server Manager
    Note      You will receive duplicate startup messages when running your server in MaxProcs mode.
    *** end quote
    If it is not relevant anymore please explane.
    I am still interested to understand which of the SessionManagers is recommended by Sun to have optimal performance for sites with high number of sessions and using threads. It is not really obvious from http://docs.sun.com/source/817-6251/pwasessn.html. On top of this that's documented just for V6.1. What about V6.0?
    Thank you very much for your cooperation!
    Sasha aka ttalex

  • Problems with Sun One Web Server  6.1 with SP1

    I get errors while compiling my JSP files on SUN one Web Server which is deployed on Solaris 9. it states that cannot compile JSP pages. here is the stack trace that i get.
    [03/Feb/2007:19:11:17] warning (  354): CORE3283: stderr: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
    [03/Feb/2007:19:11:17] warning (  354): CORE3283: stderr:      at org.apache.jasper.compiler.SunJava14Compiler$JavacTask.run(SunJava14Compiler.java:207)
    [03/Feb/2007:19:11:17] failure (  354): for host 192.168.123.2 trying to GET /reports1/jsp/common/ClientInstall.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:756)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:616)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         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: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:586)Please help. The Java version i am using is j2sdk1.4.2_08.

    It looks like the Web Server has somehow been configured to use a JRE. Web Server requires a JDK. The following message in particular indicates that a JRE, not a JDK, is being used:java.lang.NoClassDefFoundError: com/sun/tools/javac/MainAre you using the JDK that shipped with Web Server, or did you attempt to configure Web Server to use a different JDK?

  • Problems with Sun One Web Server 6.1 javax.xml.xpath package not found

    I used myeclipse to build an xml app and tested on jboss. it worked perfectly. However when i deployed it to our solaris sun one web server the app fell apart completely with the following error. I m unable to figure out what went wrong. Any help will be much appreciated.
    Thanks.
    [11/Dec/2007:22:12:37] failure (13539):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP
         /opt/SUNWwbsvr/test/ClassCache/test/_jsps/_feeds/_rss_jsp.java:8: package javax.xml.xpath does not exist
         import javax.xml.xpath.*;
         ^

    Thanks for the response. I tried to use xalan package which resolved the javax.xml.xpath package not found error (xalan.jar in WEB-INF/lib folder). However I m now getting the following error. Probably incompatible version is the reason. Please advise!
    [11/Dec/2007:23:46:28] failure (17028):      for host 121.247.233.169 trying to GET /feeds/rss.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         javax.servlet.ServletException: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at _jsps._feeds._rss_jsp._jspService(_rss_new_jsp.java:627)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         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: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:580)
         ----- Root Cause -----
         java.lang.NoSuchMethodError: org.apache.xpath.XPathContext.<init>(Z)V
         at org.apache.xpath.jaxp.XPathImpl.eval(XPathImpl.java:207)
         at org.apache.xpath.jaxp.XPathImpl.evaluate(XPathImpl.java:281)
         at _jsps._feeds._rss_new_jsp._jspService(_rss_jsp.java:165)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         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: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:580)

  • How do you get Sun One Web Server to read white spacing in a url

    Hi guys,
    I am currently using Sun One Web Server and this is the problem that i am currently facing.
    The url which is i am trying to read from the Sun One Web Server is http://test:8000/test/Testing%20A%20B
    The error which i am getting is java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path
    The reason why this is happening is because the original url is http://test:8000/test/Testing A B It has spacing in between the url. I cannot get rid of the spacing thru the code where its bound to a Content Management System. So the only way is to get the Sun One Web Server to be able to read this kind of url. There are about 300 to 400 of this types of url as they are dynamically generated.
    I was looking at the obj.conf and magnum.conf file to see whether i can manipulate this url to work for this situation. But with no luck.
    Can anyone please let me know if they have came across this problem.
    Thanks.

    Hi,
    This is the stack Trace:
    Error 500--Internal Server Error
    java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:329)
         at au.com.holden.web.mvc.ViewUtil.getInputModelAndView(ViewUtil.java:29)
         at au.com.holden.web.mvc.navigation.ModelNavigationController.handleNoSuchRequestHandlingMethod(ModelNavigationController.java:17)
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:375)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         at java.net.URI$Parser.fail(URI.java:2809)
         at java.net.URI$Parser.checkChars(URI.java:2982)
         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
         at java.net.URI$Parser.parse(URI.java:3024)
         at java.net.URI.(URI.java:578)
         at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:326)
         ... 26 more
    This is the path which was access by me using Sun One Web Server: http://poll:8006/models/Sportwagon/Sportwagon%20SS%20V-Series
    As you can see that Sun One Web Server dont like spacing between url.
    Does anyone know how to fix this problem thru configuration in Sun One Web Server?

  • Sslext NOt working Sun ONE Web Server 6.0?

    Hi,
    I have implemented the sslext tag for dynamic switching of http to https.
    I am using ATG Dynamo Server ONLY in the Development Env. (using the default Web Server of ATG) for testing this and sslext tag works fine using the Plug-In of struts which is in sslext.jar.
    but in producation the ATG Dynamo Server 6.0 is configured with Sun ONE Web Server 6.0, as forwarding request throught the Web Server to the App Server.
    But here sslext stop working?? any guss why?
    Sun ONE Server 6.0 is configured with ATG Dynamo Server 6.0 as Connection Module.
    There are three ways a Connection Module can handle requests for files whose MIME type is text/html.
    1)You can choose to have the files served by the Sun ONE Web Server,
    2)by the Dynamo server,
    3)or by the Sun ONE Web Server (but also send requests to Dynamo for logging).
    we select the 3rd option.
    any Guess why this is happening???
    regards
    DJ

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • Poor Performance of Sun One Web Server 6.0 SP6

    We are running on an E450 with 2GB of memory, Solaris 8 2/02 with Recommended and Security Patch Cluster from 31 Jul 03, Sun One Web Server 6.0 SP6, Macromedia ColdFusion 5, JDK 1.4.1_02. We are seeing intermittent (three or four times a day) performance problems, extremely poor response time.
    A vanilla, �test� iPlanet web server was put up on port 2443 with https turned on and off. Repeated control tests on file operations (�copy link as�) showed similar results as those described in High Impact above. Changes to add KeepAlive parameters (in magnus.conf) showed no noticeable improvement.
    Tests were conducted -- on the test server -- accessing the same file from two clients, one a thin client (TC), the other a Unix workstation (UW).
    Results:
    1) Sometimes process TC was started first and continued normally while process UW hung up; when this happened, only one httpd process was building cpu time;
    2) Sometimes process UW was started first and continued normally while process TC hung up; when this happened, only one httpd process was building cpu time;
    3) Sometimes both process TC and process UW continued normally regardless of which was started first; when this happened, two different httpd processes were building cpu time together;
    Speculation on Process Management - speculation is that, in the case of the 3rd bullet above, iPlanet assigned different httpd processes to the two requests. In the case of the first two bullets, however, the belief is that iPlanet actually assigned the second request to the same process it had previously assigned the first request. In this case, the second request was left to wait. It appears that most of the work done by httpd children is performed by only two or three children, even when there are 10 available.
    Questions;
    Why are the other httpd children are not more fully utilized?
    What about changing the number of Acceptor Threads?
    Could turning on Native Polling help (UseNativePoll in magnus.conf)?
    Any other thoughts about what is going on or how to fix the issue?
    Thanks for any assistance
    Excerpt from /etc/system
    * Web Server and ColdFusion Setting
    set shmsys: shminfo_shmmax = 2147483647
    set shmsys: shminfo_shmmin = 1
    set shmsys: shminfo_shmmni = 100
    set shmsys: shminfo_shmseg = 50
    set semsys: seminfo_semmns = 1750
    set semsys: seminfo_semmni = 70
    set msgsys:msginfo_msgmax = 65535
    set msgsys:msginfo_msgmnb = 65535
    set msgsys:msginfo_msgseg = 8192
    set msgsys:msginfo_msgssz = 16
    * Default is 512, which handles several thousand connections
    *set tcp:tcp_conn_hash_size=262144
    * Do not set to 0 in solaris 8 on Production Systems
    *set sq_max_size=0
    set rlim_fd_max=8192
    set rlim_fd_cur=8192
    * END of Web / ColdFusion Settings
    Excerpt from /etc/rc2.d/S69inet
    ## Web Server and ColdFusion Settings
    # Comment out tcp_slow_start_initial, because default is 4
    #ndd -set /dev/tcp tcp_slow_start_initial 2
    ndd -set /dev/tcp tcp_xmit_hiwat 32768
    ndd -set /dev/tcp tcp_recv_hiwat 32768
    ndd -set /dev/tcp tcp_conn_req_max_q 1024
    ndd -set /dev/tcp tcp_conn_req_max_q0 4096
    ndd -set /dev/tcp tcp_time_wait_interval 60000
    ndd -set /dev/tcp tcp_keepalive_interval 900000
    # Comment out next 4 to accept default
    # - change only if tcp longer than 10 seconds expected
    #ndd -set /dev/tcp tcp_ip_abort_interval 60000
    #ndd -set /dev/tcp tcp_rexmit_interval_max 10000
    #ndd -set /dev/tcp tcp_rexmit_interval_initial 3000
    #ndd -set /dev/tcp tcp_rexmit_interval_min 3000
    # Left out changing ephemeral (short lived) port
    #ndd -set /dev/tcp tcp_smallest_anon_port 1024
    # Keep default of 1480576
    #ndd -set /dev/tcp tcp_cwnd_max 65535
    ## End of Web / ColdFusion Settings
    Excerpt from magnus.conf
    RqThrottle 1
    MaxProcs 10
    StackSize 131072
    ## Added for lightly loaded systems
    KeepAliveQueryMeanTime 1
    KeepAliveQueryMaxSleepTime 0

    Because the security context is set as a process context, the NSAPI thread locks the process prior to setting the security context. The older NASPI plugin that we are using is not reentrant, it will not work with the mulitthreading model. Under multithreading each thread would have access to the security context of each thread.

  • Deployement of package in sun one web server 6.1

    I m using Sun One Web Server 6.1 but i m facing one problem in deploying my application. I deployed the application but the packages i have written are not found.
    How to add packages to the application. Can anybody tell me.
    Thanks.

    Can you tell us how you deployed the application on WS 6.1? And can you send your server.xml? What is the problem you are getting? Can you send error logs of the server instance.

  • NetBeans and Sun ONE Web Server 6.1

    I have a JSP / Beans / Servlet Web application working in Tomcat on my local machine, a Macintosh laptop. I used NetBeans to create it all, and everything works fine there. I have tried to upload everything to another computer (Solaris based) which is running Sun ONE Web Server 6.1, but am having problems.
    I uploaded the WAR file that NetBeans created, and uploaded the 'web' directory that NetBeans created. I can access HTML files from that web folder, but when I ask it to go to the first page, index.jsp, it has a problem with the beans. In my JSP file I do:
    <jsp:useBean id="db" class="drc.database" scope="session" />
    It seems to be having problems loading that class. What do I need to do? Here is the error code:
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, ntrans-j2ee reports: mapped uri "/index.jsp" in context "" to resource "jsp"
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: context = StandardEngine[null].StandardHost[drc].StandardContext[]
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: contextPath =
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: wrapper = StandardEngine[null].StandardHost[drc].StandardContext[].StandardWrapper[jsp]
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: servletPath = /index.jsp
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: pathInfo = null
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): JspEngine --> /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): ServletPath: /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): PathInfo: null
    [04/Aug/2005:17:15:36] fine (15708):      for host 0.0.0.0 trying to GET /index.jsp, ntrans-j2ee reports: mapped uri "/index.jsp" in context "" to resource "jsp"
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): RealPath: /www/html/drc/index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): RequestURI: /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): QueryString: null
    [04/Aug/2005:17:15:36] failure (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSPWEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:66: package drc does not exist
         drc.database db = null;
         ^
         WEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:69: package drc does not exist
         db= (drc.database)
         ^
         WEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:74: package drc does not exist
         db = (drc.database) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "drc.database");
         ^
         3 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:412)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         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: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)

    it is certifying / authenticating that the secured
    web site is owned by the genune party and the
    transactions with the party is doing through a
    encrypted format.
    Am i correct up to this???Correct, that is what SSL/certificates are for.
    >
    Then my dowt is that
    Is it possible to make my server SSL enabled with
    h out using any certificate ????( the documents you
    are given is telling about certificates)No it is not possible - the whole idea behind SSL communication is that it is based on TRUSTED secure communication. If a client can not check validity of server's certificate it is not trusted any more.
    It might not seem to be the case when you create a self-signed certificate, but it really is so. In case of a self signed certificate you(i.e your browser) trust yourself with whatever you do with your application on your webserver.
    After all can I install some certificates lateron ??
    If you really need SSL with your webserver you have to either create a self signed certificate, see this: http://sial.org/howto/openssl/self-signed/
    or request a test certificate from www.verisign.com or www.thawtee.com

  • Sun One Web Server 6.1 | Install wildcard certificate

    Hello everyone. I am new to this forum. I'll start off by saying that I am very "green" with the Sun One Web Server as well.
    My question/problem pertains to installing a wildcard certificate on our server. I am not able to find good documentation on this, so I am hoping that some of you could provide some guidance or, better yet, a link to documentation specifically for the Sun One Web Server 6.1.

    There is no difference with installing a wildcard or any other certificate. You simply create a CSR and specify an asterix instead of the hostname followed by a . and your domainname for the subject, send it to a CA and get back a certificate that you import.

  • Sun One Web Server 6.0 Service Pack 5

    I installed Windows 2000 SP3, Coldfusion MX Updater 1, and Sun One Web Server 6.0 Service Pack 5. In 2 separate instances I had the Sun One Web Server Stop serving all html pages immediately after I set automatic access log rotation in the web server administrator. I had the access log rotate every 1440 minutes at 12:00 AM. Although the web server instance appeared to be started, no html pages could be served. In addition, I was not able to undo the changes through the web server administrator. I finally tried to edit the magnus.conf file to remove the new log settings. However, nothing could bring back the web server into a working state. Web Server restarts and entire server reboots did not resolve this issue. I was wondering if anybody else has seen this issue and if so, how did you resolve it? I was forced to completely uninstall the web server and reinstall it. This makes me hesitant to put Sun One Web Server 6.0 SP5 into production. Any other thoughts or experiences with SP5 in a Windows/ColdfusionMX environment? Thanks for any help?

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

  • Sun One Web Server 6.1 SP4 crashes when filters are built with CC ver. 5.6

    Hi All
    We are using NSAPI interfaces to develop the filter for Sun ONE 6.1 SP4 Web Server. Filter was working perfectly fine when it was built using Sun WorkShop 6.0, CC Compiler ver 5.2.
    After we upgarded to Sun WorkShop 9.0, CC Compiler ver. 5.6, it no longer works. The web server crashes with Core. Please see the snippet below. There was however no change of code required for the upgrade.
    Please let me know if some specific compiler/linker flags has to be used for building filters with CC Compiler ver. 5.6.
    bash-2.03$ ./start
    Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
    warning: CORE3283: stderr: 6950: CSemCounter created a semaphore with ID 25 using key 990470909.
    warning: CORE3283: stderr: [10/Nov/2005:18:50:35] [Information] Agent
    warning: CORE3283: stderr: Agent is enabled.
    warning: CORE3283: stderr: 6950: Cache - created semaphore 26 using key 487154429
    warning: CORE3283: stderr: 6950: ResourceCache - created semaphore 27 using key 772367101
    warning: CORE3283: stderr: 6950: Cache - created semaphore 28 using key 503931645
    warning: CORE3283: stderr: 6950: Cache - created semaphore 29 using key 520708861
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.2_04] from [Sun Microsystems Inc.]
    catastrophe: CORE3260: Server crash detected (signal SIGBUS)
    info: CORE3262: Crash occurred in function realloc from module /usr/lib/libc.so.1
    Back Trace of Core
    #0 0xfe042974 in t_splay () from /usr/lib/libc.so.1
    (gdb) bt
    #0 0xfe042974 in t_splay () from /usr/lib/libc.so.1
    #1 0xfe0427e0 in t_delete () from /usr/lib/libc.so.1
    #2 0xfe0423e4 in realfree () from /usr/lib/libc.so.1
    #3 0xfe041f48 in mallocunlocked () from /usr/lib/libc.so.1
    #4 0xfe041ce0 in malloc () from /usr/lib/libc.so.1
    #5 0xfe04f568 in strdup () from /usr/lib/libc.so.1
    #6 0xff1c3038 in INTsystem_strdup_perm ()
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #7 0xff1c84c8 in INTvs_get_doc_root ()
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #8 0xfdb57f4c in __1cKJ2EERunnerIcreateVS6FpkcpknNConfiguration_pnRJ2EEVirtualServer__i_ ()
    from /home/porting/project/sunone/bin/https/lib/libj2eeplugin.so
    #9 0xfdb528bc in j2ee_vs_create ()
    from /home/porting/project/sunone/bin/https/lib/libj2eeplugin.so
    #10 0xff1c9444 in __1cPNSAPIVSListenerGinitVS6MpnNVirtualServer_pk1_nIPRStatus__ () from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #11 0xff2273e4 in __1cXVSConfigurationListenerQsetConfiguration6MpnNConfiguration_pk1_nIPRStatus__ ()
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #12 0xff225dc8 in __1cUConfigurationManagerQsetConfiguration6FpnNConfiguration__2_ () from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #13 0xff245b30 in __1cJWebServerDRun6F_nIPRStatus__ ()
    ---Type <return> to continue, or q <return> to quit---
    from /home/porting/project/sunone/bin/https/lib/libns-httpd40.so
    #14 0x10ab8 in main ()
    Thanks

    I could trace down the problem to the fact that if I don't use the map file (which is passed to the linker using -M mapfile), the plugin works perfectly fine. Further to this if I comment out the local part of the mapfile, it starts working.
    mapfile :
    NSAPIPlugin.so {
    global:
    symbol1;
    symbol2;
    symbol3;
    # local:
    Is there is any specific linker flag that I have to pass along with -M mapfile with the sun studio 9. What are possibe consequencies if I go ahead with this workaround of commenting out the local directive.

  • Sun One Web Server Start Up Error

    I have added filters in my application. I get the below error when I try to restart my application from Sun One Web Server,
    info: CORE3282: stdout: PARSE error at line 6 column 10
    info: CORE3282: stdout: org.xml.sax.SAXParseException: Element type "filter" must be declared.
    failure: ContextConfig[] WEB3524: Parse error in application web.xml
    org.xml.sax.SAXParseException: Element type "filter" must be declared.
    at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1016)
    at org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1252)
    at org.apache.xerces.validators.common.XMLValidator.validateElementAndAttributes(XMLValidator.java:2721)
    at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:823)
    at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1222)
    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:314)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:89)
    at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
    at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:312)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1005)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:257)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3702)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    failure: ContextConfig[]: WEB3525: Occurred at line 6 column 10
    failure: ContextConfig[]: WEB3541: Marking this application unavailable due to previous error(s)
    failure: WebModule[]: WEB2705: Context startup failed due to previous errors
    failure: WebModule[]: WEB2720: Error initializing naming context for context
    javax.naming.NamingException: WEB3880: Unknown context name : StandardEngine[null].StandardHost[https-sitarmor84].StandardContext[]
    at org.apache.naming.ContextBindings.bindThread(ContextBindings.java:207)
    at org.apache.catalina.core.StandardContext.bindThread(StandardContext.java:4123)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3811)
    at com.iplanet.ias.web.WebModule.stop(WebModule.java:329)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3782)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    Please help.

    Which version of Sun web server are you using? Is it 6.1, 7.0 or 7.0 Update2.
    6.1 supports Servlet 2.3 spec. 7.0 supports Servlet 2.4 spec and 7.0 Update 1 and 2 support Servlet 2.5.
    Servlet 2.3 is DTD based and Servlet 2.4 onwards are schema based.
    The DTD or schema will be right after XML prolog in web.xml.
    You can use one of the following:
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    I am sure your web.xml is not correctly written for the DTD/schema used.
    If you take care of that I am sure th problem will go away.
    If not, let us know if your webapp's WEB-INF/lib has xerces.jar.

  • Sun one web server 6.0 sp9. Crash occurred in function JVM_NewArray or JVM_

    We have a web page with 2 frame set (fa, and fb)
    fb has a table with a cell containing div of another table xx.
    We face the case where the result in the table xx is not completely displayed due to server crash.
    Each time this page is serviced the server crash with the following exception in server was shown from the errors log:
    Server crash detected (signal SIGBUS)
    Crash occurred in function JVM_FillInStackTrace from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    Occasionally the server crash with the following exception:
    Server crash detected (signal SIGSEGV)
    Crash occurred in function JVM_NewArray from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    We were not able to simulate this problem in another instance in �dev� box.
    We were also not able to simulate this problem in another instance in same �final� box.
    The following was googled for JVM_NewArray :
    bug id : 4839641 <http://developer.java.sun.com/developer/bugParade/bugs/4839641.html>
    bug id : 4720694 <http://developer.java.sun.com/developer/bugParade/bugs/4720694.html>
    The web service is in �final� box using the following:
    - Sun one web server 6.0 sp9.
    -SunFire 880
    -OS: Solaris 9
    - Using the Java HotSpot(TM) Client VM v1.4.1_01a from Sun Microsystems Inc.
    -JSP
    -Java
    Would this problem we are facing be a sunone server issue or JVM issue?
    Or would there be other issues?

    It sure sounds like a JVM bug. I think you should try
    using either a) the JVM shipped with Web Server 6.0
    SPx (as this is the JVM version that's received the
    most testing with Web Server 6.0 SPx) or b) the
    latest 1.4-series JVM (as this will include bug fixes
    made since 1.4.1_01a).Thanks for the prompt reply.
    Would have to upgrade the JVM then.
    Will get back again if the upgrade of the JVM solves this issue.

  • Sun one web server 6.0 sp9. Crash occurred in function JVM_NewArray

    We have a web page with 2 frame set (fa, and fb)
    fb has a table with a cell containing div of another table xx.
    We face the case where the result in the table xx is not completely displayed due to server crash.
    Each time this page is serviced the server crash with the following exception in server was shown from the errors log:
    Server crash detected (signal SIGBUS)
    Crash occurred in function JVM_FillInStackTrace from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    Occasionally the server crash with the following exception:
    Server crash detected (signal SIGSEGV)
    Crash occurred in function JVM_NewArray from module /usr/j2se/jre/lib/sparc/client/libjvm.so
    We were not able to simulate this problem in another instance in �dev� box.
    We were also not able to simulate this problem in another instance in same �final� box.
    The following was googled for JVM_NewArray :
    bug id : 4839641 <http://developer.java.sun.com/developer/bugParade/bugs/4839641.html>
    bug id : 4720694 <http://developer.java.sun.com/developer/bugParade/bugs/4720694.html>
    The web service is in �final� box using the following:
    - Sun one web server 6.0 sp9.
    -SunFire 880
    -OS: Solaris 9
    - Using the Java HotSpot(TM) Client VM v1.4.1_01a from Sun Microsystems Inc.
    -JSP
    -Java
    Would this problem we are facing be a sunone server issue or JVM issue?
    Or would there be other issues?

    It sure sounds like a JVM bug. I think you should try
    using either a) the JVM shipped with Web Server 6.0
    SPx (as this is the JVM version that's received the
    most testing with Web Server 6.0 SPx) or b) the
    latest 1.4-series JVM (as this will include bug fixes
    made since 1.4.1_01a).Thanks for the prompt reply.
    Would have to upgrade the JVM then.
    Will get back again if the upgrade of the JVM solves this issue.

Maybe you are looking for