Deploying JSF application on Tomcat 5.0.28

Hi,
I am having problems deploying JSF application (developed using Studio Creator) on Tomcat. Any suggessions ....
HTTP Status 404 - Servlet Faces Servlet is not available....
Thanks in advance

I ran into this same problem moving from Tomcat 4.1.31 to Tomcat 5.0.28. This one was definitely a headscratcher, but the solution turned out to be simple as I had an older servlet api jar (2.3) in my J2SE's jre/lib/ext directory. I replaced the existing servlet.api with servlet-api.jar and jsp-api.jar from the Tomcat 5.0.28 common/lib directory, restarted Tomcat, and the problem disappeared.

Similar Messages

  • I've problem deploying JSF applications

    Hi guys;
    I've created simple JSF Web Application. Its only blank page contains button that brings u to other page. When I run it from NetBeans IDE it runs perfect. But when I take the application folder to deploy it to tomcat manually it won't run even with the server used by the IDE itself. I noticed that when the IDE starts the server it initializes also sun JSF implementation which I think the key to make JSF run on tomcat server.
    Any body knows how to deploy JSF Applications, or how to generate distributable package..
    Thanks alot to all
    Edited by: Shampion on Oct 12, 2008 2:02 AM
    Edited by: Shampion on Oct 12, 2008 2:05 AM

    You'll probably get better answers if you post in the correct forum. JSF questions should be asked in the JSF forum:
    [http://forums.sun.com/forum.jspa?forumID=427]
    Kaj

  • Problem to deploy ADF application on tomcat server

    Hi all,
    i 'm using this tutorial link to deploy adf application on tomcat server.
    https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
    but when i have run my application i have got following error
    java.sql.SQLException: invalid arguments in call
    log-
    Jul 29, 2013 11:35:16 AM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS) for context '/TestApacheApp_ViewController_webapp1'
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
    SEVERE: ADFConnection mbean not registered for defaultApplicationName.
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack contextInitialized
    SEVERE:
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
      at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
      at oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack.contextInitialized(ADFConnectionLifeCycleCallBack.java:82)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
      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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
      at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
    SEVERE: Failed to register config mbean for defaultApplicationName.
    Jul 29, 2013 11:35:19 AM oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack contextInitialized
    SEVERE:
    oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
      at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
      at oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack.contextInitialized(ADFConfigLifeCycleCallBack.java:79)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:515)
      at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1231)
      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 org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
      at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1471)
      at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:243)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
      at java.lang.Thread.run(Thread.java:662)
    Jul 29, 2013 11:35:19 AM oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack contextInitialized
    SEVERE: Not able to get Deployment Name
    Jul 29, 2013 11:35:28 AM oracle.adfinternal.controller.state.ControllerState initializeRequest
    WARNING: ADFc: Deserialization of session state detected but ADF scope HA support is not enabled.  Please enable ADF scope HA support in the adf-config.xml file to ensure correct functioning of your applicaiton.
    Jul 29, 2013 11:35:28 AM oracle.adf.share.http.ServletADFContext initialize
    WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
    Jul 29, 2013 11:35:28 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
    INFO: jndi:/localhost/TestApacheApp_ViewController_webapp1/WEB-INF/classes/com/in/jagran/view/DataBindings.cpx
    Jul 29, 2013 11:35:28 AM oracle.adf.share.jndi.MDSBackingStore documentExists
    INFO: MDS-00013: no metadata found for metadata object "/META-INF/connections.xml"
    Jul 29, 2013 11:35:32 AM oracle.adf.share.http.ServletADFContext initialize
    WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
    Jul 29, 2013 11:35:33 AM oracle.adf.share.http.ServletADFContext initialize
    WARNING: Found wrong applictionScope sticking to oldContext for oldApplication defaultApplicationName, while the current one is null
    Jul 29, 2013 11:35:47 AM org.apache.coyote.http11.Http11AprProtocol pause
    INFO: Pausing Coyote HTTP/1.1 on http-8086
    Jul 29, 2013 11:35:47 AM org.apache.coyote.ajp.AjpAprProtocol pause
    INFO: Pausing Coyote AJP/1.3 on ajp-8009
    Jul 29, 2013 11:35:48 AM org.apache.catalina.core.StandardService stop
    INFO: Stopping service Catalina
    Jul 29, 2013 11:35:48 AM org.apache.coyote.http11.Http11AprProtocol destroy
    INFO: Stopping Coyote HTTP/1.1 on http-8086
    Jul 29, 2013 11:35:48 AM org.apache.coyote.ajp.AjpAprProtocol destroy
    INFO: Stopping Coyote AJP/1.3 on ajp-8009

    There is no guideline I know of as this depends on the app itself.
    What you should do is to deploy the application onto a test server and check the metrics of the app over a defined period of time with a defined amount of traffic.
    Timo

  • Stange problem in deploying  JSF application to weblogic 10

    hi,OTN
    I think this is the suitable forum for my problem,I had an ADF 10g application which I migrate to Jdeveloper 11g,I want to deploy it to A standalone weblogic server,so I made a Jar file for the model,Awar File for the viewController, and an ear file in the application Assembly of the ear File I check both the Archive and webapp,this is all the libraries which is selected for Deployment
    JSF 1.2
    JSTL 1.2
    JSTL 1.2 Tags
    BC4j Runtime
    ADF Model Runtime
    BC4J Tester
    Oracle JDBC
    BC4J Oracle Domains
    MDS RunTime
    MDS RunTime Dependencies
    BC4J security
    afc.jar
    JSP RunTime
    ADF Common RunTIme
    ADF Faces Cache
    ADF Controller RunTime
    ADF Web RunTime
    ADF Controller Schema
    JPS Design Time
    ADF Controller.jar
    but when I Deploy the Ear File I got an exception
    <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'application20'
    <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'Reg' at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    Truncated. see log file for complete stacktrace
    >
    there is a problem in the webapp for this class javax.faces.webapp.UIComponentTag ? How i can solve this?

    thanks for help,but I try and also got the same Error:
    <10/10/2010 EET 08:50:26 ع> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\application3\c2qh5c\webapp30.war. Please make sure that the annotations are valid. The error is >
    <10/10/2010 EET 08:50:27 ع> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1286736611640' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Reg''
    weblogic.application.ModuleException: Failed to load webapp: 'Reg'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
    Caused By: java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentTag
    also, I did not succeed to run it from my Integrated weblogic server see this
    Re: Unable to find class oracle.adf.controller.faces.lifecycle.ADFPhaseListener
    so I try to deploy it in a standalone weblogic but this different problem appear to me,I think all this problems because of migration ADF faces to Apache trinanad although I fixed all my code after migration and compile it without any problems.can I deploy my app to weblogic 10 from my Jdeveloper 10g without migrating my Application To Apache?
    Edited by: Miar on Oct 10, 2010 12:12 PM

  • How can I deploy an application in Tomcat 4.0.3???

    i'm learning JSP now and I want to deploy a simple application in Tomcat 4.0.3 The JSP file has a "page import" directive that tries to connect to a Bean which is put in the /web-inf/classes directory. But when I try to load the page in the browser it says that it cannot load the bean. Is there any specification that should be made in some of the Tomcat's config files [server.xml ...]? Because I followed the example in the JSP Tutorial with the "hellouser" application totally and it still doesn't work. I only worked when I copy/pasted the content of my JSP file in the hellouser.jsp and the content of the bean in "NameHandlerBean.java" from the hellouser application.
    Thanks a lot, I hope there will be somebody to help me, because otherwise i can't go further in learning JSp

    You can simply open your server.xml file by
    tomcat-Installiton-Directory/conf/server.xml
    Open server.xml in some editor and search for a tag named "Context"
    <context path="myApp" docBase="Path of your application"........>
    then in your browser you can run your application like
    http://localhost:8080/myApp/.....
    where myApp is the name that you have specified in context path above.

  • Error while deploying struts application in tomcat

    Hi,
    I'm getting the following error when I start Tomcat using while auto-deploying a struts application.
    2005-09-21 15:28:17 - ContextManager: Adding DEFAULT:/cna
    2005-09-21 15:28:18 - Ctx(/cna) : Validating web.xml
    2005-09-21 15:28:18 - Ctx(/cna) : Class not found: org.apache.struts.action.Acti
    onServlet
    2005-09-21 15:28:18 - Ctx(/cna) : Class not found: org.apache.axis.transport.htt
    p.AdminServlet
    In case anyone is aware how to resolve this issue, please help.
    Thanks,
    Roseline

    Hi,
    1] Remove following from server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    2] Paste SEA.WAR (test WAR file) into /webapps of TOMCAT
    3] Start Tomcat Server - This will create SEA folder under webapps
    4] Stop server.
    5] Add following to server.xml
    <Context path="/SEA" docBase="SEA" debug="0"/>
    6] Start Tomcat Server
    7] Access the URL.
    This will work. Somehow Tomcat does not extract war file contents which are mentioned in server.xml.
    I have Apache Tomcat 4.0.3 and faced this problem. The above solution works for it.
    Regards,
    Sandesh
    hi.
    I have put my SEA.WAR (test WAR file) into /webapps of
    TOMCAT.
    I checked the server.xml and put:
         <Context path="/SEA" docBase="SEA" debug="0"/>
    I restarted TOMCAT and tried to execute the file:
         http://localhost:8080/SEA/index.jsp
    But I got error message:
    Apache Tomcat/4.0.3 - HTTP Status 404 -
    /SEA/index.jsp
    What was happenning?
    Anyone can help me?
    Thank you.

  • Deploying Web application in Tomcat

    Hi,
    I am trying to deploy a web application "Simulator" in Tomcat. I am getting an error HTTP Status 404.
    1> Here is my web.xml file........
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!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>
    <servlet>
    <servlet-name>IOServlet</servlet-name>
    <servlet-class>com.iflex.fcc.xmlgateway.IOServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>com.iflex.fcc.xmlgateway.IOServlet</servlet-name>
    <url-pattern>/servlet/com.iflex.fcc.xmlgateway.IOServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    2> The folder structure which I created is............
    D:\tomcat\tomcat-jwsdp-1.4\webapps\Simulator\WEB-INF\classes\
    (followed by my package structure) com\iflex\fcc\xmlgateway\IOServlet
    3> The Url which I use to access this servlet is,
    http://localhost:8888/Simulator/servlet/com.iflex.fcc.xmlgateway.IOservlet
    Pls. Help me.

    Change this line in ur web.xml
    <servlet-name>com.iflex.fcc.xmlgateway.IOServlet</servlet-name>
    to
    <servlet-name>IOServlet</servlet-name>
    By the way, kya iflex recruit kar rahi hai ??
    -L.

  • Deploying ADF Applications on Tomcat

    Hi everybody,
    I'm wondering if is there any "secure and stable" way for deploying ADF web applications developed with JDeveloper 11g on Tomcat. JDev is amazing, so I hope that deployment is not restricted to Oracle AS.
    Thank you very much in advance!

    The only certified application server is Weblogic at this time.
    Some people did manage to deploy apps to other app servers, but that is not supported. Also, you'd need a separate ADF license.

  • Deploy JSF Application in JBOSS

    hello everyone,
    can anyone tell me where to place the JSF jar files and other like faces-config.xml, web.xml in JBOSS.

    I assume you mean WAR file when you say "JSF jar" as opposed to the JSF libraries.
    Your faces-config.xml and web.xml should be in the WEB-INF folder of your WAR file.
    Your WAR file should be placed in the "deploy" folder of your JBoss profile folder. Typically something like:
    (JBoss Install Dir)/server/default/deploy
    That should get you going.

  • Exception when deploying jsf application

    11:38:44,977 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigDecimal)
    11:38:44,980 WARN [Digester] [ConverterRule]{faces-config/converter} Merge(null,java.math.BigInteger)
    11:38:45,024 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandButton)
    11:38:45,026 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlCommandLink)
    11:38:45,026 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlDataTable)
    11:38:45,027 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputHidden)
    11:38:45,037 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputText)
    11:38:45,038 WARN [Digester] [ComponentRule]{faces-config/component} Merge(org.apache.myfaces.HtmlInputTextarea)
    Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    javax.faces.FacesException: java.lang.ClassCastException
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)

    Maybe your web.xml is wrong. Doublecheck it.

  • Deploy adf uix application to tomcat 4.1.29

    Hi,
    I test this interessant tutorial at http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html.
    I can run application in jdev10g.
    I try to deploy this application in tomcat 4.1.29.
    But when I try to display the first page (uix with no access database, only a sample page with welcome), I obtain this error: java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
    I install all the libraries ADF and UIX (with jdev tools) on tomcat.
    Can anyone help me?

    We should have this working for 10g Production.
    In the meantime, try Tomcat 5.0.16 instead.
    Kind Regards.

  • Deployment of BC4J/JSP/Struts application to tomcat-4.18

    Hi,
    I made an application with BC4J/Struts, with embedded OC4J Server the application work fine but when I deploy the application to tomcat-4.18 I get the following error in the Edit page :
    javax.servlet.jsp.JspTagException: Illegal to flush within a custom tag
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:75)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_jbo_DataEdit_0(automate_edit_jsp.java:421)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_uix_rawText_0(automate_edit_jsp.java:395)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_uix_contents_0(automate_edit_jsp.java:367)
         at org.apache.jsp.automate_edit_jsp._jspx_meth_uix_pageLayout_0(automate_edit_jsp.java:201)
         at org.apache.jsp.automate_edit_jsp._jspService(automate_edit_jsp.java:146)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.Long postings are being truncated to ~1 kB at this time.

    Please see the online help for deploying JSP web applications. The instructions are under User Guides, Developing Web Applications, Developing JSPs and Servlets...
    There are a number of dependency archives that need to be deployed to your webserver in order for the BC4J JSPs to run correctly.
    IF you look at the Project Properties for your JSP project, you will see a number of them such as Connection Manager, ORacl e8.1.5 JDBC, etc. EAch of these libraries is based on one or more .jar or .zip files which need to be present in your webserver.
    Which ones you deploy somewhat depends on how you have deployed your Business Components app module. The online help provides more details.
    The Oracle JDBC classes are all located in <JDEV_HOME>/jdbc/lib/oraclex.x.x/classes111.zip. Where x.x.x is the version of the drivers. 8.1.5 is the default in JDev 2. and 3.0.
    Laura

  • Jar not loaded Error when deploying weblogic.jar in tomcat

    Hi experts,
    This time i have one more problem,
    i have deployed my application in tomcat such that when tomcat starts my java program also gets started, for my java program i had to use a weblogic library which is in "web-inf / lib / weblogic.jar" . but when i start tomcat i get error like
    INFO: validateJarFile (C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MyApp\WEB-INF\lib\weblogic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Dec 4, 2006 8:27:18 PM org.apache.catalina.core.StandardPipeline registerValve
    INFO: Can't register valve org.apache.catalina.core.StandardContextValve@1362012
    org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7
    for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
            at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
    what could be the problem in loading weblogic.jar
    my platform configuations are
    TOMCAT 5.5
    OS - windows 2000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

              have u done the servlet naminga and mapping in the web.xml file??
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >Have you registered the servlet in web.xml?
              ><p>--
              ><br>Kumar
              ><p>Deepak Balakrishna wrote:
              ><blockquote TYPE=CITE>Hi.
              ><p>I am having trouble deploying a servlet to WLS 6.1
              ><p>a) The name of the servlet is HaServlet and it's duly noted in web.xml
              ><br>b) I created a directory
              ><br>config/examples/applications/cluster-servlet/WEB-INF
              ><br>c) Added web.xml under WEB-INF/. web.xml was created using the weblogic
              ><br>DDInit CLI
              ><br>d) Added the servlet classfile (HaServlet.class) under
              ><br>WEB-INF/classes/samples/cluster/servlet/.
              ><br>e) Tried to access it by http://host:port/cluster-servlet/HaServlet
              ><p>I get
              ><br>Error 404--Not Found
              ><p>What am I missing? I also tried restarting the app server to no avail.
              ><p>Thx,
              ><br>- deepak</blockquote>
              ></html>
              >
              

  • Can't Deploy Web Application

    We recently upgraded to Netbean 6.01, but we have Netbeans 6.0 still installed on the computer. I'm trying to deploy a web application to Tomcat. I can deploy to GlassFish, but whenever I try to deploy the application to Tomcat, it gives me this message.
    Deployement error:
    The module has not been deployed.
    See the server log for details.
    ...a bunch of other useless messages...
    It gives me this error even with the brand new web application that Netbeans creates when you create a new project. When I check the server log like it says to, it's completely blank. However, when I check the IDE log, it says this:
    INFO [org.netbeans.modules.tomcat5.TomcatManagerImpl]: TomcatManagerImpl connecting to: http://localhost/8084/manager/list
    java.io.FileNotFoundException: http://localhost:8084/manager/list
    INFO [org.netbeans.modules.tomcat5.TomcatManagerImpl]: TomcatManagerImpl connecting to: http://localhost:8084/manager/deploy?config=file:/C:/DOCUME~1/Temp/context64322.xml&path=/WebApplication3
    java.io.FileNotFoundException: http://localhost:8084/manager/deploy?config=file:/C:/DOCUME~1/Temp/context64322.xml&path=/WebApplication3
    ...bunch of other stuff...
    INFO [global]
    The module has not been deployed.
    ...bunch of messages..
    java.io.IOException: Bad pathname
    I checked this file: C:/DOCUME~1/Temp/context64322.xml and it exists, but when I try to go to http://localhost:8084/manager or http://localhost:8084/manager/list it comes up blank. Is there something wrong with the configuration of Netbeans? It is because there's a Netbeans 6.0 and 6.01 on the same box? I did notice that it appears that Netbeans 6.0 and 6.01 are using the same configuration folder ({USER_HOME}/.netbeans/6.0) How do I fix this?

    looks like you have to add getter/setter for every one of your field (or at least firstName) in the class User

  • Deploying JSF in Websphere

    Hi,
    I am getting below exception While deploying JSF application in Websphere.
    [5/7/13 14:19:10:585 IST] 0000002d FacesConfigur I Reading config /WEB-INF/faces-config.xml
    [5/7/13 14:19:10:636 IST] 0000002d FacesConfigur E Circular references detected when sorting application config resources. Use absolute ordering instead.
    [5/7/13 14:19:10:638 IST] 0000002d AbstractFaces E An error occured while initializing MyFaces: Circular references detected when sorting application config resources. Use absolute ordering instead.
    javax.faces.FacesException: Circular references detected when sorting application config resources. Use absolute ordering instead.
    at org.apache.myfaces.config.FacesConfigurator.applySortingAlgorithm(FacesConfigurator.java:1232)
    at org.apache.myfaces.config.FacesConfigurator.orderAndFeedArtifacts(FacesConfigurator.java:1016)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1620)
    [5/7/13 14:19:10:775 IST] 0000002d servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper init Uncaught.init.exception.thrown.by.servlet
    [5/7/13 14:19:10:768 IST] 0000002d FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on E:\IBM\WAS8.0\AppServer\profiles\AppSrv02\logs\ffdc\server1_1a04d15d_13.05.07_14.19.10.6708028578684570000270.txt com.ibm.ws.webcontainer.servlet.ServletInstance.init 181
    [5/7/13 14:19:10:798 IST] 0000002d webapp E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: Error occured while initializing servlets: {0}
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:391)
    at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1274)
    at com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:575)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1620)
    Caused by: java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
    If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
    A typical config looks like this;
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
    at javax.faces.webapp.FacesServlet.init(FacesServlet.java:112)
    at com.ibm.ws.cache.servlet.ServletWrapper.init(ServletWrapper.java:238)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:329)
    ... 113 more
    Please help me to resolve this problem.

    Now, got that resolved. As I stated in my previous post, I had to change the classloading policy to "Parent Last" and
    found that mojarra is now loaded (see the last line):
    [07/10/09 11:00:12:013 EDT] 00000014 ApplicationMg A WSVR0200I: Starting application: JSFEAR
    [07/10/09 11:00:12:013 EDT] 00000014 ApplicationMg A WSVR0204I: Application: JSFEAR Application build level: Unknown
    [07/10/09 11:00:13:201 EDT] 00000014 ResourceMgrIm I WSVR0049I: Binding DefaultEJBTimerDataSource as jdbc/DefaultEJBTimerDataSource
    [07/10/09 11:00:13:248 EDT] 00000014 webapp I com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web Module: webJSF.
    [07/10/09 11:00:13:263 EDT] 00000014 WASSessionCor I SessionContextRegistry getSessionContext SESN0176I: Will create a new session context for application key SCD/webJSF
    [07/10/09 11:00:13:373 EDT] 00000014 FacesConfigur I org.apache.myfaces.config.FacesConfigurator feedStandardConfig Reading standard config META-INF/standard-faces-config.xml
    [07/10/09 11:00:13:497 EDT] 00000014 FacesConfigur I org.apache.myfaces.config.FacesConfigurator feedWebAppConfig Reading config /WEB-INF/faces-config.xml
    [07/10/09 11:00:13:513 EDT] 00000014 LocaleUtils W org.apache.myfaces.shared_impl.util.LocaleUtils toLocale Locale name in faces-config.xml null or empty, setting locale to default locale : en_CA
    [07/10/09 11:00:13:622 EDT] 00000014 FacesConfigur I org.apache.myfaces.config.FacesConfigurator handleSerialFactory Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
    [07/10/09 11:00:13:622 EDT] 00000014 AbstractFaces I org.apache.myfaces.webapp.AbstractFacesInitializer initFaces ServletContext 'C:\Program Files\IBM\SDP75\runtimes\base_v7\profiles\profil_CGE\installedApps\cellule\JSFEAR.ear\webJSF.war' initialized.
    [07/10/09 11:00:13:701 EDT] 00000014 config I Initializing Mojarra 2.0.0 (SNAPSHOT 20090924) for context '/webJSF'
    Now I will be looking for what I have to set next...

Maybe you are looking for

  • Seems silly , but plz...

    This sounds dumb, and I'm sure it is: (1) I need to know which applications that came with my new MacBook that are free (not trial) that can create 2D graphics/illustrations, or anything similar, to use with Adobe Dw as I make web designs. (2) Then,

  • How to invert order of images in CS4?

    hello I got a range of frames, starting -130 to zero . When played, its like my animation plays backwards. How to invert the order of the images? zero to 160 plays fine. thanks for your time.

  • Show message when not logged on

    I would like to show a message (in place of the portlet) to the users who don't have the privileges to view a page or portlet, or who aren't logged on. Can anyone help me?

  • Help with Reg Expression Start method

    Hi there, I've been looking through some examples of regular expressions and I've became totally unglued at what the start method of the Matcher class returns. Here's the example... Passing in "\d*" ab34ef to the following code import java.util.regex

  • Using two mice simultaneously

    I work on a laptop and HATE using the touchpad,  so whenever I am docked I like to use a mouse. I have a lLgitech G5 and a Synaptics touchpad and have attempted to configure them with various xorg settings. This used to work for me with xorg 7.1, but