Sun Java System Application Server Vs Tomcat

Hello
I wonder if someone could explain the benefits that SJSA could provide over Tomcat.
Is Sun Java System Application Server a Web server like Tomcat ? Or it falls under different server category than Web server ?
Thank you
Vajra

This is a complex issue and has caused some strong words in our group as well.
Tomcat is more likened to Sun Web Server. They are both JSP/Servlet containers. Sun Application Server is the full J2EE stack.
For flexibility down the road I'd go with Sun Application Server 9.1 +
- Documentation on tuning is much more straightforward
- Sun Support as an option (if you want that :) )
- Patches deployed for Application Server by Sun
- Http server included in Sun Application Server is much more robust than the Http server in Tomcat.
- Sun Application Server is a full out J2EE server not just a JSP / Servlet container.
- Clustering options very from memory replication to full out HADB (yikes!)
What's good about Tomcat that's not in Sun Application Server?
- Very Lightweight JSP/Servlet container
- Higher degree of familiarity with developers and applications (at this point)
This is probably going to cause a flurry of activity but I'm about to head home so why not throw my 2 cents in.

Similar Messages

  • JSP newbie: local Sun Java System Application Server installation

    I am new to JSP and I am preparing to get the software I need. JDK 6 and Netbeans 6 are installed. Now I need an application server. Since the Sun tutorials use the "Sun Java System Application Server" I have choosen this one (version 9.1). As far as I know I could also use, e.g., Tomcat or Glassfish (correct?).
    I just would like to install the application server for learning JSP.
    Could I safely install the Sun Java System Application Server on my PC so that the application server only listens to local calls? Does it use a lot of system ressources while idle?
    Thanks!

    I`ve posted a shorter version of the question in the hopes of getting a timely answer. Thanks

  • Get blank page in Sun Java System Application Server Platform Edition 8

    I installed Sun Java� System Application Server Platform Edition 8 and got blank page in http://localhost:1100/ and http://localhost:1100/hello/.
    The port 1100 is my default port of HTTP port.
    My enviroment:
    Win2000 professional
    j2sdk1.4.2_05
    Tomcat 4.1 (use port : 8080, and it works fine after installing Sun Java� System Application Server Platform Edition 8 )
    Anybody can help me to solve this problem? I really want to learn J2EE by using this way.
    This is my server.log when invoking the URL http://localhost:1100/ or http://localhost:1100/hello/ .
    ===============================================================================
    |sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=12;|An exception or error occurred in the container during the request processing
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
         at java.lang.Thread.run(Thread.java:534)

    The way i solved it was the following :
    I removed all java related packages/applications/servers etc existing in my pc .
    my meaning of remove is complete uninstallation of any java application .
    then i installed back again j2sdk1.42_05 then i installed the sun application server .
    everything was succesful since then .
    If you have any java version installed in your pc , for example j2sdk1.4.2_05 and this
    package supports previous servers or other java applications and then you install
    sun application server , it doesn't work .
    It seems the previous java apps . don't "release" some java resources which are
    used or can be used by sun application server .
    I hope this can be useful to you .
    good luck .
    FGOM .

  • Sun Java System Application Server 8.0

    after succesfull installing of application server when i give URL in browser http://localhost:8080 its shows me blank screen in browser
    but when i check in log i get this error message..
    while runnig this server rest all server are stopped and i have assign port 8080 for this server only..
    sun-appserver-pe8.0.0_01|org.apache.coyote.tomcat5.CoyoteAdapter|_ThreadID=11;|An exception or error occurred in the container during the request processing
    java.lang.NoSuchMethodError: javax.servlet.http.HttpServletRequest.getLocalPort()I
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:138)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
         at java.lang.Thread.run(Thread.java:534)

    Hi,
    On a similar note, I am able to install Sun Java System Application Server 8 but I am getting following error while applying asadmin start-domain --verbose domain1 to start the default domain. I am pasting the relevant section of log file below. Can someone please help me correct the issue? Thanks-in-advance!
    [#|2009-09-16T23:44:36.203-0700|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|Service [email protected] cannot be started! : com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]|#]
    [#|2009-09-16T23:44:36.203-0700|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=10;|CORE5071: An error occured during initialization
    com.sun.appserv.server.ServerLifecycleException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]
    at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:104)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: java.io.IOException: Cannot bind to URL [rmi://Ashesh.gateway.2wire.net:8686/management/rmi-jmx-connector]: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]
    at javax.management.remote.rmi.RMIConnectorServer.newIOException(RMIConnectorServer.java:814)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:431)
    at com.sun.enterprise.admin.jmx.remote.server.JmxConnectorServerDriver.startConnectorServer(JmxConnectorServerDriver.java:177)
    at com.sun.enterprise.admin.server.core.JmxConnectorLifecycle.onStartup(JmxConnectorLifecycle.java:95)
    ... 3 more
    Caused by: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: Ashesh.gateway.2wire.net; nested exception is:
    java.net.ConnectException: Connection refused: no further information]
    at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:122)
    at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:208)
    at javax.naming.InitialContext.bind(InitialContext.java:359)
    at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:635)
    at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)
    ... 5 more

  • Wild bug on Sun Java System Application Server 9.1 (build b41d-beta2)

    i'am facing a strange problem when i try to deploy any application that utilizes ajax4jsf 1.1.1 also it works fine when i deployed the webapplication on tomcat 6 and on Sun Java System Application Server Platform Edition 9.0_01 (build b02-p01)
    please help
    the exception was
    [#|2007-07-05T13:21:48.333+0400|WARNING|sun-appserver9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1258595) threw exception
    javax.faces.FacesException: javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1550)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
    at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
    at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
    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 javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
    at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
    ... 51 more
    Caused by: java.lang.NullPointerException
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
    at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
    at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
    ... 57 more
    |#]
    [#|2007-07-05T13:21:48.333+0400|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=65;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=47a66b91-2327-48fb-ad66-52a2ded2a7d5;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
    javax.el.ELException: java.lang.NullPointerException
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
    at javax.faces.component.html.HtmlInputText.getOnchange(HtmlInputText.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at javax.faces.component.UIComponentBase$AttributesMap.get(UIComponentBase.java:1542)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:440)
    at com.sun.faces.renderkit.RenderKitUtils.renderPassThruAttributes(RenderKitUtils.java:393)
    at com.sun.faces.renderkit.html_basic.TextRenderer.getEndTextToRender(TextRenderer.java:119)
    at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:204)
    at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
    at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
    at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
    at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
    at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:260)
    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 javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
    at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:217)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)
    Caused by: java.lang.NullPointerException
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:368)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildAjaxFunction(AjaxRendererUtils.java:347)
    at org.ajax4jsf.framework.renderer.AjaxRendererUtils.buildOnEvent(AjaxRendererUtils.java:156)
    at org.ajax4jsf.ajax.UIAjaxSupport.getEventString(UIAjaxSupport.java:115)
    at org.ajax4jsf.framework.ajax.EventValueBinding.getValue(EventValueBinding.java:92)
    at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
    ... 57 more
    |#]

    Hi,
    Did you ever figure out what the problem was? I am having the same issue.
    Kind Regards,
    Andre

  • Regarding Sun Java System Application Server Issue with JVM

    Regarding Sun Java System Application Server Issue with JVM
    Hi
    I have installed SJSAS9.1 on solaris system. I m trying to deploy war file which i compiled in windows enviorment by jdk1.5.0_05. Every time i got the following error :
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: PWC6033: Unable to compile class for JSP
    PWC6199: Generated servlet error:
    [javac] javac: invalid target release: 1.5
    [javac] Usage: javac
    [javac] where possible options include:
    [javac] -g Generate all debugging info
    [javac] -g:none Generate no debugging info
    [javac] -g:{lines,vars,source} Generate only some debugging info
    [javac] -nowarn Generate no warnings
    [javac] -verbose Output messages about what the compiler is doing
    [javac] -deprecation Output source locations where deprecated APIs are used
    [javac] -classpath Specify where to find user class files
    [javac] -sourcepath Specify where to find input source files
    [javac] -bootclasspath Override location of bootstrap class files
    [javac] -extdirs Override location of installed extensions
    [javac] -d Specify where to place generated class files
    [javac] -encoding Specify character encoding used by source files
    [javac] -source Provide source compatibility with specified release
    [javac] -target Generate class files for specific VM version
    [javac] -help Print a synopsis of standard options
    note The full stack traces of the exception and its root causes are available in the Sun Java System Application Server 9.1 logs.
    I have cheked jvm version on both system the only difference is :
    Solaris points to jdk 1.5.0_09
    Windows point to jdk1.5.0_05
    Even i tried to run blank jsp also but again i got the same error.
    Can any help me to sort out the problem or give me any idea so i can do something by my own.
    Thanks in Advance
    Gagan

    Do you have ANT installed and available?
    Thanks,
    Kedar

  • Slow start-up for JSF projects on Sun Java System Application Server 8.2?

    App. Server: Sun Java System Application Server 8.2
    I really don't understand why a JSF project starts-up so slow on Sun Java System Application Server 8.2.
    I've gone through the "Overview of Sun Java System Application Server Performance" guide and tuned my server.
    It's not memory or processor, I am developing on a SunOS 5.8 Generic_117350-27 sun4u sparc SUNW,UltraAX-MP.
    The JSF project contains one index.jsp and one login.faces - that's it. But it takes up towards 15 seconds to load the page, if I type:
    http://<domain>:8080/login/
    I would believe that the application should be a lot faster.
    What can I do to solve this?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Yes I am.
    Right now I have:
    <!-- Faces Servlet -->
      <servlet>
          <servlet-name>Faces Servlet</servlet-name>
          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
          <load-on-startup> -1 </load-on-startup>
      </servlet>
      <servlet>
          <servlet-name>Persistent Faces Servlet</servlet-name>
          <servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
          <load-on-startup> 1 </load-on-startup>
      </servlet>
      <servlet>
          <servlet-name>Blocking Servlet</servlet-name>
          <servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
          <load-on-startup> 1 </load-on-startup>
      </servlet>
      <!-- Preload -->
      <servlet>
          <servlet-name>Transaction Browser</servlet-name>
          <jsp-file>/transactionbrowser.jspx</jsp-file>
          <load-on-startup> 1 </load-on-startup>
      </servlet>It still doesn't work, so you may be right.
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Solaris 10 Install - with Sun Java System Application Server (8.2)

    Hi guys:
    What is the reason for Solaris 10 to be installed with the Sun Java System Application Server (8.2). It is a really old version and gets in the way when I install GlassFish 2.1.1
    How does on avoid getting it in the install, and how does Sun stop adding it to the distribution?
    Thanks
    Leonid

    Hi guys:
    What is the reason for Solaris 10 to be installed with the Sun Java System Application Server (8.2). It is a really old version and gets in the way when I install GlassFish 2.1.1
    How does on avoid getting it in the install, and how does Sun stop adding it to the distribution?
    Thanks
    Leonid

  • Problem in starting Sun Java System Application Server

    Hi,
    Recently I installed SJSAS 8.1 on my machine (Windoes 2000), before that I was working on SJSAS8.0 and it was working file. But with 8.1 when I try to "Start Default Server". I get the following error on the console:
    Starting Domain domain1, please wait.
    Log redirected to D:\netbeans-4.1beta\SunAppServer8.1\domains\domain1\logs\server.log.
    Timeout waiting for domain domain1 to go to starting state.
    CLI156 Could not start the domain domain1.
    Press any key to continue . . .
    The contents of server.log are:
    [#|2005-03-29T15:07:14.242+0530|INFO|sun-appserver-pe8.1|javax.enterprise.tools.launcher|_ThreadID=10;|
    D:/Java/jdk1.5\bin\java
    -client
    -Xmx512m
    -XX:NewRatio=2
    -Dcom.sun.aas.defaultLogFile=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/logs/server.log
    -Djava.endorsed.dirs=D:/netbeans-4.1beta/SunAppServer8.1/lib/endorsed
    -Djava.security.policy=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/server.policy
    -Djava.security.auth.login.config=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/login.conf
    -Dsun.rmi.dgc.server.gcInterval=3600000
    -Dsun.rmi.dgc.client.gcInterval=3600000
    -Djavax.net.ssl.keyStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/keystore.jks
    -Djavax.net.ssl.trustStore=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/config/cacerts.jks
    -Djava.ext.dirs=D:/Java/jdk1.5/jre/lib/ext;D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1/lib/ext
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
    -Dcom.sun.enterprise.taglisteners=jsf-impl.jar
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    -Dcom.sun.aas.configName=server-config
    -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter
    -Ddomain.name=domain1
    -Djmx.invoke.getters=true
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
    -Dcom.sun.aas.promptForIdentity=true
    -Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
    -Dcom.sun.aas.instanceRoot=D:/netbeans-4.1beta/SunAppServer8.1/domains/domain1
    -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    -Dcom.sun.aas.domainName=domain1
    -Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
    -Dproduct.name=Sun-Java-System/Application-Server
    -Dcom.sun.enterprise.overrideablejavaxpackages=javax.faces,javax.servlet.jsp.jstl,javax.xml.bind,javax.help
    -Dcom.sun.aas.configRoot=D:/netbeans-4.1beta/SunAppServer8.1/config
    -Djava.library.path=D:\Java\jdk1.5\jre\bin\client;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\Java\jdk1.5\bin;.;D:\WINNT\system32;D:\WINNT;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\lib;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;D:\Java\jdk1.5\bin;D:\netbeans-4.1beta\SunAppServer8.1\bin;
    -Dcom.sun.aas.instanceName=server
    -Dcom.sun.aas.processLauncher=SE
    -cp
    D:/Java/jdk1.5/lib/tools.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/appserv-rt.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\activation.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\admin-cli.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-admin.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-cmp.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-ext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-jstl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-rt1.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\appserv-upgrade.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-launcher.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\commons-logging.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\dom.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee-svc.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\j2ee.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jax-qname.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxr-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jaxrpc-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jmxremote_optional.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\jsf-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\mail.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\relaxngDatatype.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\rmissl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\saaj-impl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xalan.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xercesImpl.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib\xsdlib.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/install/applications/jmsra/imqjmsra.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/jaxm-api.jar;D:/netbeans-4.1beta/SunAppServer8.1/imq/lib/fscontext.jar;D:/netbeans-4.1beta/SunAppServer8.1/lib/ant/lib/ant.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbclient.jar;D:/netbeans-4.1beta/SunAppServer8.1/pointbase/lib/pbembedded.jar
    com.sun.enterprise.server.PEMain
    start
    display
    native|#]
    *** EXITING ERROR:
    Can't create Java VM
    I guess I have searched every possible discussion/bug database/forums on this topic but unable to find a solution, please help.
    Regards
    Nitin

    Reply please.
    Thanks in advance.
    amyt

  • How to install Sun Java System Application Server PE 9 in debian

    Hi,
    I have ubuntu installed on my system. I wanted to install the Sun Java System Application Server PE 9 on it. I didn't see any debian package for it on Sun's downloads. I downloaded the linux version and tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    Or if you already have the required Java(TM) 2 Runtime Environment
    installed, try rerunning this application with the following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM) installation directory>
    root@vineet:/usr/src# ./java_ee_sdk-5-linux.bin -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    Vineet

    Hi,
    I have ubuntu installed on my system. I wanted to
    install the Sun Java System Application Server PE 9
    on it. I didn't see any debian package for it on
    Sun's downloads. I downloaded the linux version and
    tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the
    Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the
    Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime
    Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    f you already have the required Java(TM) 2 Runtime
    Environment
    installed, try rerunning this application with the
    following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM)
    installation directory>
    oot@vineet:/usr/src# ./java_ee_sdk-5-linux.bin
    -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    VineetDo you have java 5 sdk on your machine (Or at the very least java 5 re) ?
    Have you tried the command that they gave ?

  • Hello.war_deployed not generated for Sun Java System Application Server

    I have installed and started the Sun Java System Application Server successfully, and can access http://localhost:8080 without any problem. However, after I copied the hello.war following the below instruction in "QuickStart", the hello.war_deployed wasn't generated in the "autodeploy" directory.
    # Find<INSTALL_DIR>/samples/quickstart/hello.war.
    # Copy it to <INSTALL_DIR>/domains/domain1/autodeploy/
    Anybody knows why?
    Thanks.

    Hai
    I have installed Sun Java System Application Server 8
    I am able to create Application, Bean component, Appclient Client.
    But i dont know where to provide the JNDI name
    JNDI tab s'd be there for the Application(any)
    I have three tabs(default tabs), JNDI tab is not appearing
    I am following the J2EE1.4 pdf document
    tell me how to provide the JNDI name for any application
    Please do the favour

  • Can't deploy my app on  Sun Java System Application Server Platform Edition

    Hi,
    I am trying to deploy me app on the Sun's app server but I get the following error:
    I am using Sun Java System Application Server Platform Edition 8.2
    Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ejb-jar.xml
    Line 29 Column 15 -- The content of element type "session" must match
    "(description?,display-name?,small-icon?,large-icon?,ejb-name,home?,remote?,local-home?,local?,ejb-class,session-type,transaction-type,env-entry*,ejb-ref*,ejb-local-ref*,security-role-ref*,security-identity?,resource-ref*,resource-env-ref*)". "It deploys on Orion 2.02
    The ejb.xml file is as follows:
      <enterprise-beans>
        <session>
          <display-name>Facade stateless session bean</display-name>
          <ejb-name>ejb/PetardsFacade</ejb-name>
          <home>com.jag.petardscmsbeans.interfaces.PetardsFacadeHome</home>
          <remote>com.jag.petardscmsbeans.interfaces.PetardsFacade</remote>
          <local-home>com.jag.businesslogic.interfaces.FacadeLocalHome</local-home
          ><local>com.jag.businesslogic.interfaces.FacadeLocal</local>
          <ejb-class>com.jag.petardscmsbeans.ejb.PetardsFacadeEJB</ejb-class>
          <session-type>Stateless</session-type>
          <transaction-type>Container</transaction-type>
          <resource-ref>
            <res-ref-name>jdbc/OracleDSRES</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Container</res-auth>
          </resource-ref>
          <env-entry>
            <env-entry-name>DSName</env-entry-name>
            <env-entry-type>java.lang.String</env-entry-type>
            <env-entry-value>jdbc/OracleDSRES</env-entry-value>
          </env-entry>
        </session>
      </enterprise-beans>also, in the error message what does ? and * signify?
    Thanks

    This is an element ordering issue. env-entry is before resource-ref in the schema so it must be declared in the same order.
    --ken                                                                                                                                                                                                                                                                               

  • Sun Java System Application Server 9.1  errors

    Hi
    Please asiste me ,I am getting this errors from :
    |WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=29;_ThreadName=Timer-31;orcale_sage_live;Connection could not be allocated because: Io exception: Socket is not connected;Error while Resizing pool orcale_sage_live. Exception : Connection could not be allocated because: Io exception: Socket is not connected|#]Alos IO:Network adapter could not establish connection
    Thanks,PAul

    ramiro wrote:
    Hi, im not able to deploy derby.war from derby 10.4.1.3, as indicated in the Derby Server and Administration Guide, using Sun Java System Application Server 9.1 Update 2.Best I can guess is that you are attempting to remotely install derby.
    That is a pretty specific question and I suspect there is a specific derb forum as well.
    As a guess you probably failed to follow the docs on pre-reqs.

  • I can't install Sun Java System Application Server!! Who can help me??

    I download Sun Java System Application Server(sjsas_pe-9_0_01-p01-windows.exe),and the first time of my installation, it was blocked after it was istalled 14%, half an hour later I canceled the installation and wanted to re-install it, and I tried many times,but every time after I choose the "Installation Directory" and cliced the "Next" button it would be blocded, all of the bttons was disabled except "Choose directory" and "X"(close) buttons.
    OS: Win2000 Service Pack 4
    Thanks in advance

    Yeah, I had the same problem!
    And The Wiki helped me http://wiki.java.net/bin/view/Projects/WinHang
    Even my Firewall had the function "Disabled Mode", I needed to fully stop all the services of Antivirus and Firewall. After that i deleted the "productregistr*" file and ran installation from the console.
    And it was the only right way to install!
    Now enjoying =)

  • Sun Java System Application Server  into Netbean 6.1

    Hi , I am new to Java community,
    I like to lean J2EE so I downloaded
    jdk-1_5_0_16-windows-i586-p and installed
    then I installed
    java-tools-bundle-update5-windows
    I am trying to do the initial setup and do the sample
    The Java EE 5 Tutorial
    See this tutorial for information on building and deploying Java EE 5 applications.
    When I try to register the Sun Java System Application Server into Netbean 6.1
    I could not I have warning, says
    Provide a valid server installation location
    But I gave, C:\Sun\AppServer
    If you guys can give any light on this appreciated

    It doesn't sound like you have installed a Java EE (formerly J2EE) application server. Your download of "jdk-1_5_0_16-windows-i586-p" is Java Standard Edition, which you need, but you also need an implementation of Java Enterprise Edition. The [Sun Java System Application Server|http://developers.sun.com/appserver/] is certainly a valid Java EE implementation, but I don't see in your steps where you downloaded that. There are several types of NetBeans downloads ("bundles") you can perform and I believe that one or more bundles (such as "All" and "Web & Java EE") includes GlassFish as part of the download. I recommend using the GlassFish Java EE implementation that comes with NetBeans 6.1 for learning how to use Java EE with NetBeans. Alternatively, you can download GlassFish separately at [https://glassfish.dev.java.net/|https://glassfish.dev.java.net/].

Maybe you are looking for

  • How can i delete the last 48 bytes in a file ?

    I have a file where i would like to delete the only last 48 bytes. I have not heard of any function or class where i can implement such a thing. Please help me out here !

  • Not working for me. :(

    I'm getting no photos when completing the tutorial / walk through and a strange message when viewing my code / xhtml page in either firefox or ie. "component returned failure code..." This would be a perfect feature for me to use and I'm really wanti

  • Printing to Acrobat Pro 9

    I am having an issue where certain files will not print to Acrobat. It doesn't ask for a name, then appears to go through the process of creating a PDF but does not create one. I know you can export, which I am forced to do but it interferes with the

  • Notification Create time in PCO 2.1

    Hello, I am using PCo 2.1.6.0 and I have observed a difference of 4 hrs  between the Notification Create time and the time zone where actually PCo is installed. In my current scenario both PCo & the data source (OSI PI) are installed on the same serv

  • IS THERE A LIST OF APPS NO LONGER SUPPORTED BY LION?

    IS THERE A LIST OF APPS NO LONGER SUPPORTED BY LION?