Apache Tomcat vs IBM Websphere

Hi,
In our current deployment, I am using Apache Tomcat as the Java Application Server that comes bundled with Hyperion Planning 9.3.1 suite of applications. The documentation also suggests Oracle Application Server, IBM Websphere and BEA WebLogic. Currently the application stack is Hyperion Planning only, with Financial Reporting for the reporting needs.
For our current situation, we have shortlisted between using the bundled Apache Tomcat or IBM Websphere. For comparison I wanted to know how stable Apache Tomcat is in general compared to websphere? How many concurrent users can it handle? Are there any specific limitations of Apache Tomcat that I should consider? Can someone list the major pros and cons of each?
Thanks in advance
Shehzad

I agree with Jake.. Tomcat can handle much more than a few users. Whether it can handle the load for your environment may depend on your usage pattern, size of forms, etc.
We typically use Tomcat for our Dodeca product that uses the Java API to talk to Essbase. It doesn't product 'forms' but rather just transfers data via XML between the client and server. With that product, we do have one customer that is serving appx 7,000 users on a single Tomcat server. In that case, however, the usage pattern is that field users log in daily (or sometimes weekly) and run a few reports (that retrieve data via XML).
Note that Tomcat has a configuration parameter in the server.xml file to set the max number of threads that can be spawned by the process. You may want to tune that parameter if you decide to run Tomcat in production (and absolutely be sure to give it more heapsize in the java options).
Tim Tow
Applied OLAP, Inc

Similar Messages

  • Using ADF-FACES wih Apache Geronimo or IBM Websphere-CE?

    If you have used adf-faces with apache geronimo or IBM WASCE, could you share with me the following information:
    1. How you deploy an ear or war file.
    2. The sets of adf-faces jars you used.
    3. Did you put the adf-faces jars in the geronimo repository or sharedLib folder or in your web application WEB-INF/lib.
    4. What are the possible pitfalls and problems to watch out for.
    Please I am looking for response ONLY from people who have practical experiences of deploying adf projects to apache geronimo or IBM WASCE. 
    Thanks in advance.

    Hi,
    Did you tried keeping the jsf and jstl api and implementation jar files in your Web application and change the classloader order to parent last ?
    Regards,
    Catalin

  • IBM WebSphere Studio and Apache Tomcat Server

    Hi all of you , my question is Can I add Apache TomCat web server to my IBM WebSphere Dev. Studio 5.0. ? If it's so, How can I do ? If you hurry up,I'll be really appreciated.
    Thanks in advance.
    Ergin

    When I do an add server from WSAD 5.1.2 I see the option of Tomcat 3.2, 4.0 & 4.1. I don't know if 5.0 has them.
    You can always run tomcat outside of WSAD and point it at your webapp root in WSAD. Doesn't provide all the nice integration but works OK.
    -- Frank

  • RFC in IBM Websphere server

    Hi all,
    I want to run a Java application that calls SAP RFC in an IBM Websphere server. Right now its working fine in Tomcat server.(I have installed JCO for Tomacat).
    What all are the steps (intallations and configurations) I need to do in Websphere server.
    I came across terms like SAPODA and JCO. Is SAP ODA neccessary??? or JCO installation alone will work?
    Thanks in advance
    George

    u need only sapjco.jar file and dll files ..............
    u put sapjco.jar file in ibm/sdp/6.0/portal/eclipse/plugins/eis.webtools.sap.6.0_0
    here u copy that file.....
    go to dynamic webproject, right click>properties>java build path-->add external
    jars>add that sapjco.jar file  and click okfinish..
    now u write ur program..........
    it works fine...........

  • IBM WebSphere Community Edition

    Hi,<BR><BR>Has anyone tried IBM WebSphere Community Edition with any Hyperion product? WebSphere CE is based on Apache's Geronimo J2EE server. Any good / bad experience?<BR><BR>Regards,<BR>Gerd

    step 1: find the manual
    step 2: read the manual
    step 3: understand the manual
    step 4: follow the instructions found in the manual
    problem solved (though with IBM manuals I will have to practice caution there, they're not always good but mostly the bad parts are the obscure ones).

  • Struts problem on IBM Websphere

    Hi,
    We have a struts application that works fine when running in the IBM Webphere Studio Application Developer.
    But when it is deployed to IBM Websphere in our test environment, it spits out the following error on start up.
    RVE0100E: Did not realize  init() exception thrown by servlet action: javax.servlet.UnavailableException: Parsing error processing resource path
         at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
         at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:802)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:141)
         at com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:254)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:107)
         at com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:388)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:84)
         at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:211)
         at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:350)
         at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1217)
         at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:145)
         at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:259)
         at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:168)
         at com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:857)
         at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:43)
         at com.ibm.ws.runtime.Server.startModule(Server.java:618)
         at com.ibm.ejs.sm.active.ActiveModule.startModule(ActiveModule.java:511)
         at com.ibm.ejs.sm.active.ActiveModule.startAction(ActiveModule.java:355)
         at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:948)
         at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:137)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:93)
         at com.ibm.ejs.sm.active.ActiveObject.invokeContainedObject(ActiveObject.java:686)
         at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:110)
         at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
         at com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(_AdminAgentImpl_Tie.java:73)
         at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:532)
         at com.ibm.CORBA.iiop.ORB.process(ORB.java:2450)
         at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:186)
         at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
         at com.ibm.ws.util.CachedThread.run(ThreadPool.java(Compiled Code)) I have seen similar problems reported in forums and the cause is usually a problem with the struts-config file. But I have tried stripping our struts-conifg file right back and it still gives the same error. Our complete struts-config file is as follows:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <!--
         This is the Struts configuration file for the example application,
         using the proposed new syntax.
         NOTE:  You would only flesh out the details in the "form-bean"
         declarations if you had a generator tool that used them to create
         the corresponding Java classes for you.  Otherwise, you would
         need only the "form-bean" element itself, with the corresponding
         "name" and "type" attributes.
    -->
    <struts-config>
      <!-- ========== Form Bean Definitions =================================== -->
         <form-beans>
              <form-bean name="cardDetailForm" type="au.com.hbf.asktedadmin.form.CardDetailForm">
              </form-bean>
              <form-bean name="cardCategoryDetailForm" type="au.com.hbf.asktedadmin.form.CardCategoryDetailForm">
              </form-bean>
              <form-bean name="pollDetailForm" type="au.com.hbf.asktedadmin.form.PollDetailForm">
              </form-bean>
              <form-bean name="searchCategoryDetailForm" type="au.com.hbf.asktedadmin.form.SearchCategoryDetailForm">
              </form-bean>
         </form-beans>
      <!-- ========== Global Forward Definitions ============================== -->
      <!-- ========== Action Mapping Definitions ============================== -->
         <action-mappings>
         <action
             path="/home"
             type="au.com.hbf.asktedadmin.actions.HomeAction">
              <forward name="success" path="/home.jsp">
                   <description>Home Page</description>
              </forward>
              <forward name="error" path="/error.jsp">
              </forward>
          </action>     
         <action
             path="/viewCards"
            type="au.com.hbf.asktedadmin.actions.CardViewAction">
             <forward name="success" path="/viewCards.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/viewArchivedCards"
            type="au.com.hbf.asktedadmin.actions.ArchivedCardViewAction">
             <forward name="success" path="/viewArchivedCards.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/getCard"
             name="cardDetailForm"
             validate="false"
             scope="session"
             input="/viewCards.jsp"
            type="au.com.hbf.asktedadmin.actions.CardUpdateAction">
             <forward name="success" path="/cardDetails.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/updateCard"
             name="cardDetailForm"
             validate="true"
             scope="session"
             input="/cardDetails.jsp"
            type="au.com.hbf.asktedadmin.actions.CardUpdateAction">
             <forward name="success" path="viewCards.do"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/viewCardCategories"
            type="au.com.hbf.asktedadmin.actions.CardCategoryViewAction">
             <forward name="success" path="/viewCardCategories.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/getCardCategory"
             name="cardCategoryDetailForm"
             validate="false"
             scope="session"
             input="/viewCardCategories.jsp"
            type="au.com.hbf.asktedadmin.actions.CardCategoryUpdateAction">
             <forward name="success" path="/cardCategoryDetails.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/updateCardCategory"
             name="cardCategoryDetailForm"
             validate="true"
             scope="session"
             input="/cardCategoryDetails.jsp"
            type="au.com.hbf.asktedadmin.actions.CardCategoryUpdateAction">
             <forward name="success" path="viewCardCategories.do"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/viewPolls"
            type="au.com.hbf.asktedadmin.actions.PollViewAction">
             <forward name="success" path="/viewPolls.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/getPoll"
             name="pollDetailForm"
             validate="false"
             scope="session"
             input="/viewPolls.jsp"
            type="au.com.hbf.asktedadmin.actions.PollUpdateAction">
             <forward name="success" path="/pollDetails.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/addPoll"
             name="pollDetailForm"
             validate="false"
             scope="session"
             type="au.com.hbf.asktedadmin.actions.PollUpdateAction">
             <forward name="success" path="/pollDetails.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/updatePoll"
             name="pollDetailForm"
             validate="true"
             scope="session"
             input="/pollDetails.jsp"
            type="au.com.hbf.asktedadmin.actions.PollUpdateAction">
             <forward name="success" path="viewPolls.do"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/listSearchCategories"
            type="au.com.hbf.asktedadmin.actions.SearchCategoryListAction">
             <forward name="success" path="/listSearchCategories.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/getSearchCategory"
             name="searchCategoryDetailForm"
             validate="false"
             scope="session"
             input="/listSearchCategories.jsp"
            type="au.com.hbf.asktedadmin.actions.SearchCategoryUpdateAction">
             <forward name="success" path="/searchCategoryDetails.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/updateSearchCategory"
             name="searchCategoryDetailForm"
             validate="false"
             scope="session"
             input="/searchCategoryDetails.jsp"
            type="au.com.hbf.asktedadmin.actions.SearchCategoryUpdateAction">
             <forward name="success" path="listSearchCategories.do"></forward>
              <forward name="continue" path="/searchCategoryUrls.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         <action
             path="/updateSearchCategoryUrl"
             name="searchCategoryDetailForm"
             validate="false"
             scope="session"
             input="/searchCategoryUrls.jsp"
            type="au.com.hbf.asktedadmin.actions.SearchCategoryUrlUpdateAction">
             <forward name="success" path="/searchCategoryDetails.jsp"></forward>
              <forward name="error" path="/error.jsp"></forward>
         </action>     
         </action-mappings>
         <controller processorClass="au.com.hbf.hef.web.struts.request.StrutsRequestProcessor"/>
      <!-- ========== Message Resources Definitions =========================== -->
         <message-resources parameter="au.com.hbf.asktedadmin.resources.AskTedAdminApplicationResources"/>
    </struts-config>

    I don't think this is the problem.
    The AskTedAdminApplicationResources is included in the war under WEB-INF\classes\au\com\hbf\asktedadmin\resource\AskTedAdminApplicationResources.properties
    And like I say, it works fines in the Studio Developer, but fails when deployed to websphere.

  • Installing Demantra 7.2.0.2 with IBM Websphere as the application server

    Can anybody share the documentation / insight into installing Demantra 7.2.0.2 using IBM Websphere 6.1 (OS-Windows) ?
    Can we install the Demantra on the same machine on which Websphere is installed or we need another box.
    Which steps we need to follow ? Any setting on the Websphere for this ?
    Suppose Websphere is installed on http://webmac.xxx.com (machine name) - is this the web address we need to specify even if we are installing on the same machine.
    Thx for your help.
    Pankaj

    Hi Pankaj,
    If the other users are on the same network as the machine on which Tomcat is running, they can access demantra web applications directly. Only measure to be taken is that the url should contain either IP address or the network m/c name of the server machine alongwith the port no.
    e.g.
    http://10.32.142.123:8080/....
    http://mymachine:8080/....
    If the other users are on some different network and wanted to access Demantra web applications through Internet, then you will have to ask your networking team to open the port no (e.g. 8080) of the Tomcat server machine through the firewall of your environment. This will allow the users outside of your environment to access the application running on your specific machine through the specific port only.
    And the users who want to access these applications might also have to put host entries as suggested by Shekhar depending on the internet access policies of their organization.
    Milind...

  • Can IBM WebSphere be used as a web server?

    I have heard that IBM WebSphere be used as a web server.
    Is this true?
    If so , can an SAP EP7 be used as a web server since Websphere is a portal as well.
    Thanks!

    Hi,
    Apache in general doesn't have a good application focus, so most configuration in httpd.conf is for all applications (which to apache are only folders).
    It does however use virtual host that are commonly used to separate configuration between applications.
    For SAP NetWeaver Java (all java stackbased systems can be web servers) the configuration is either done at the virtual host level or at the Java EE application level.
    The HTTP Provider ( http://help.sap.com/saphelp_nw04s/helpdata/en/8c/541eed26ef934cb161ed0b65a050ee/frameset.htm) provides you with the possibility of setting up virtual hosts.
    These virtual hosts can have a root directory which is similar to the DocumentRoot command in httpd.conf: basically it tells you were the .html files are.
    Note that the HTTP provide cannot process dynamic files(like .jsp, .php etc), only static HTML files
    The Java EE application use the various deployment descriptors for WAR and EAR for defining security settings, servlet settings (can replace need for rewrite rules) and everything else needed for the application to run.
    Java EE application can have dynamic files in the form of .jsp and it should be trivial to create a wrapper Java EE application where you just put your html files in a folder in order to mimic a web server.
    However, you should redeploy the application when you make changes to the html files in order to make sure the application is stored correctly in the database and synchronized to all cluster nodes.
    Regards
    Dagfinn

  • SUN Cypto Accelerator 4000 -- IBM Websphere supported?

    Hi,
    We have IBM Websphere Express 5.1 and want to off-load SSL processing to a SUN Crypto Accelerator 4000, preferably SCA V2.0.
    From what I have read, SUN One and Apache Web Application Servers are supported. Does anyone know if the IBM Websphere Application Server V5.1 or later, is supported? Also, what about Webtrends.
    Any and all information would be appreciated.
    Thanks,
    ieee

    PS supports only on WebSphere 5.1 Express Edition.
    No testing has been done on Websphere ND Clustered.

  • Problem when rendering a report in BI Publisher deployed on Apache Tomcat

    Hello for all.
    First, I am going to tell you technical specifications about the software where I have deployed BI Publisher:
    1. OS: Windows XP SP3
    2. JDK and JRE: 1.6.0_24
    3. Apache Tomcat: 5.5.33 (Set JVM Max Memory in 768MB)
    4. BI Publisher EE: 10.1.3.4.1
    I have deployed BI Publisher on Apache Tomcat without any problem, I uploaded Report files (both XDO and RTF), and I can see the reports in XML output format, but when I try to see the reports rendered by using the rtf file I have configured, BI Publisher shows me an Error; I checked the Apache Tomcat log and the following error is reported:
    [042511_033325984][oracle.apps.xdo.common.xml.XSLTWrapper][ERROR] XSL error:
    <Line 3, Column 123>: XML-22002: (Fatal Error) Error while processing include XSL file (rtf2xsl://http_//localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf?sid=1&eaf=3).
    <Line 296, Column 18>: XML-22000: (Error) Error while parsing XSL file (null).
    [042511_033325984][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=247MB, total=44MB, free=15MB
    [042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
         at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
         at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
         at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
         at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.util.EmptyStackException
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 39 more
    [042511_033325984][][EXCEPTION] java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:91)
         at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
         at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:82)
         at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:255)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
         at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:94)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.util.EmptyStackException
         at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
         at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
         ... 39 more
    I checked that the url http://localhost:8080/xmlpserver/SubTemplates/sub-template-parameters.rtf would be accesible via Internet Explorer, and It is accesible.
    I am glad if you can tell me what could be the cause of the error.
    Thanks.

    Finally, I stop working in the implementation of BIP over Apache Tomcat; I installed OC4J 10.1.3.5.0 (standalone installation) and I deployed BIP on it.
    It seems the error I wrote in last post has been fixed, but actually I am obtaining the following error with the deployment on OC4J:
    [042711_055706687][][ERROR] Namespace 'http://www.oracle.com/XSL/Transform/java/
    oracle.com.xmlpublisher.reports.BIPExtension' failed Secure Java Extensions chec
    k.
    [042711_055706687][oracle.apps.xdo.template.FOProcessor][ERROR] End Memory: max=
    494MB, total=46MB, free=21MB
    [042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
    Secure Java Extensions check.
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
    ava:91)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
    java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
    va:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
    er.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:644)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    [042711_055706687][][EXCEPTION] oracle.apps.xdo.XDOException: XSLT10gR1: Failed
    Secure Java Extensions check.
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at oracle.apps.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.j
    ava:91)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:276)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.
    java:82)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:552
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.ja
    va:255)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:250)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:178)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:201)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
    er.java:94)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:644)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:391)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:908)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:458)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:226)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:127)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:116)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:662)
    May you know the cause of the error above?
    Thanks,

  • How to protect an application running on Apache Tomcat app server with OAM 11gR2

    Gurus,
    We have an Apache Tomcat based application named "ABCD" here at client site that we want OAM 11gR2 PS1 to integrate with for SSO purposes. I have successfully configured OHS to reverse proxy requests to Apache Tomcat server whenever somebody tries to access the application URL but still, I am getting the application login page once I have successfully authenticated on OAM SSO login page. The Tomcat based application is authenticating users against a "UserDatabase realm".
    I know in terms of weblogic application, there is an OAM identity asserter provider which then populates the User Principal for the java environment with the authenticated OAM user. But there is no such OAM identity provider for Tomcat.
    So my question is, is there an provider (or Tomcat equivalent) which will entrust authentication to a header, that could be used to populate the Java User Principal from the OAM_REMOTE_USER header? Is the weblogic equivalent of authentication providers present in tomcat as well? Are those called valves?
    Please advise to the earliest.
    Thanks !!

    Aakash,
    I did follow the 4 steps that you mentioned to me. Out of the 4 that you had mentioned, I already had the webgate in place on OHS server and I was already passing the remote_user http header in oam policy as action.
    As part of Step #2: Install mod_jk plugin on OHS server that you mentioned
    1.) I downloaded the tomcat connector - tomcat-connectors-1.2.37-src
    2.) I had to run ./configure,make, make install on my OHS server which runs on RHEL 6. It created the mod_jk.so file. I pasted it in the needed folder.
    3.) I then created the httpd.conf file and workers.properties file as said in the connector docs.
    4.) Restarted OHS.
    As part of Step #3: Configure tomcat's ajp connector that you mentioned and I went through all the links pasted below but didn't find actually what needs to be in place to configure tomcat's ajp connector. I do see in the server.xml of tomcat app server that the ajp 1.3 protocol is supported:
    http://tomcat.apache.org/tomcat-4.0-doc/config/ajp.html
    http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s8
    http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html
    http://www.mulesoft.com/understanding-tomcat-connectors
    <!-- A "Connector" represents an endpoint by which requests are received
             and responses are returned. Documentation at :
             Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
             Java AJP  Connector: /docs/config/ajp.html
             APR (HTTP/AJP) Connector: /docs/apr.html
             Define a non-SSL HTTP/1.1 Connector on port 8080
        -->
        <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
    Do we need to disable the HTTP protocol in Tomcat and keep only AJP connector enabled? If yes, how to do that?
    I am trying to connect to the application from OHS server like so I am using the http protocal right? How should I use the ajp protocol to connect to tomcat application? 
    http://ohs-host:ohs-port/abcd
    Thanks !!!!!

  • How to deploy a Web Application in Apache Tomcat?

    Hi,
    I am a SAP Master Data management guy.
    But I have been assigned some Java J2EE work.
    I need help.
    I want to deploy a JSP Page in Apache Tomcat 5.5.26 Server.
    The procedure I followed is:
    I wrote a JSP :
    helloworld.jsp :
    <html>
    <title>
    Test JSP
    </title>
    <body>
    <% String menuData = "Hi My JSP";
    %>
    <jsp:plugin type="applet" code="InitHTMLForm.class" codebase="./WEB-INF/classes"
    width="250"
    height="50"
    jreversion="1.5.0_15"
    >
    <jsp:fallback>
    Unable to start plugin!
    </jsp:fallback>
    </jsp:plugin>
    </body>
    </html> This JSP is embedding an Applet Code.
    import java.io.IOException;
    import java.util.Random;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Font;
    import java.awt.Event;
    import java.awt.Button;
    import java.awt.event.ActionListener;
    import java.awt.Color;
    import java.awt.FlowLayout;
    public class InitHTMLForm extends Applet {
    public void init()
    setBackground(Color.blue); // Set background color to blue.
    setForeground(Color.white); // Set foreground color to white.
    setLayout(new FlowLayout()); // Set flow style.
    ActionListener l= null;;
    Button b = new Button();
    add(b);
    b.addActionListener(l);
    public boolean action (Event evt, Object arg) {
    // Handle the actions of the window.
    // Button hit
    if (evt.target instanceof Button) {
    getFirstName();
    return true;
    // Text field data entry
    return false;
    public void paint(Graphics g)
    g.setFont(new Font("Helvetica", Font.PLAIN, 8));
    g.drawString("Hello world!", 50, 25);
    public void mouseClicked (Event e)
    int c =e.clickCount;
    System.out.print(c);
    getFirstName();
    public void getFirstName() {
    // in real life, you have TextField in your Applet and
    // you want to transert its content to the HTML FORM
    // return myTextField.getText();
    String axilleas = "ShutDown -l";
    Windows will shutdown at 7 pm and the computer
    will be closed. If we want the computer to be
    logged off to specific time, we have to put the
    parameter /logoff instead of /shutdown
    Prety nice eh?
    Runtime nikos = Runtime.getRuntime();
    try
    nikos.exec(axilleas);
    catch(IOException e)
    System.out.println(e);
    } The Applet is working fine with itself.
    I have tested it. It logs off my Computer.
    Now, the point is the JSP is failing to load the Applet in the web browser.
    I have followed this deployment structure.
    Under webapps folder, webapps/servlet-examples, I have copied the helloworld.jsp.
    Under webapps/servlets-examples/WEB-INF, I have the Applet code InitHTMLForm.class.
    The web.xml is under the webapps/servlets-examples/WEB-INF.
    I have this structure of the web.xml:
    <web-app>
    <servlet>
    <servlet-name>helloworld.jsp</servlet-name>
    <servlet-class>helloworld.jsp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>helloworld.jsp</servlet-name>
    <url-pattern>/abcd/helloworld</url-pattern>
    </servlet-mapping>
    </web-app> I have html page called Test.html which is placed under
    /webapps/servlet-exapmles/
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <form name="myform" id="myform" method="post" action="abcd/helloworld">
    <input type="Submit" value="Submit">
    </input>
    </form>
    </body>
    </html> Now, my first problem I am unable to access the html page from internet browser:
    http://localhost:8080/abcd/helloworld
    It is giving page not found error: 404 but when I am accessing the JSP by giving:
    http://localhost:8080/servlets-examples/helloworld.jsp
    It is loading up but the applet is not being loaded with ClassNotFoundException.
    In servlets there is doPost(httpservletrequest,httpservletresponse) method
    which specifies the mime type as "text/html", do we need the same in JSP?
    Anyhow the html page should be accessed.
    Please help me out.
    Regards
    Taton

    1) Check if the Applet Code is placed in the correct folder. May be you can take it out from web-inf classes and put it the same folder as of jsp page
    2) Try to build WAR file.Place the WAR file in Tomcat Web-apps directory. That solves many problems.

  • How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS

    Hi
    I have read the article on SDN called "How to Set Up SSO Between IBM WebSphere and SAP EP Using JAAS", which is also the name of my posting.
    The reason why I post this is that I've tried to follow the links in the PDF to get the file WebsphereEpSsoLib.zip but I get an error 403, which tells me that the file is not there.
    Does anybody know where this file went or can somebody tell me an alternative place to get this file?
    Jacob

    Please open the associated whitepaper, and you can find the download link to the .ZIP file on page 4.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ibm/how to set up single sign-on between an ibm websphere portal and the sap enterprise portal using jaas.pdf
    Hope that works!
    Elise

  • Unable to resolve Apache-Tomcat after 5.0.2 Upgrade / Content Server Install

    I recently upgraded from 5.0.1 to 5.0.2. With 5.0.1, I was able to resolve to http://<apache-tomcat.domain.com>:8080 as well as http://<apache-tomcat.domain.com>:8080/ptcsand http://<apache-tomcat.domain.com>:8080/ptcs/diagnosticsTest.jsp. However, after upgrading to 5.0.2, I am unable to resolve to any of these URLs. The 'Content Server' admin. folder shows up within the admin. ui and all necessary objects are there. Other than the upgrade, no other changes were made to the server. Any suggestions? Thanks.

    Did you upgrade to Tomcat 4.1.27LE version ?

  • How can I run two instances of apache tomcat in the same machine.

    Hi
    Can I run 2 instances of apache tomcat in the same machine.If yes then how.?

    Yes, you can. Just run 2 instances. Make sure that they run on different ports.

Maybe you are looking for