Tomcat server 6.0.35 on jdeveloper 11.1.1.5

Hi Experts,
I am using tomcat server 6.0.35 and Jdeveloper 11.1.1.5 Trying to run my application on tomcat server but its not showing at all
I have tried all the things which they showed on blogs but I don't know why it is not working out?
In my tomcat Logs tomcat6 stderr it is showing like this
2012-05-22 09:47:03 Commons Daemon procrun stderr initialized
May 22, 2012 9:47:04 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
May 22, 2012 9:47:04 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
May 22, 2012 9:47:05 AM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 22, 2012 9:47:05 AM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
May 22, 2012 9:47:05 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1333 ms
May 22, 2012 9:47:05 AM org.apache.catalina.users.MemoryUserDatabase open
WARNING: Exception configuring digester to permit java encoding names in XML files. Only IANA encoding names will be supported.
org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/allow-java-encodings
     at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:129)
     at org.apache.tomcat.util.digester.Digester.setFeature(Digester.java:556)
     at org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:391)
     at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:103)
     at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
     at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
     at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:113)
     at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)
     at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:137)
     at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:109)
     at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:81)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:747)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
     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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
May 22, 2012 9:47:05 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 22, 2012 9:47:05 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
May 22, 2012 9:47:05 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
May 22, 2012 9:47:06 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:06 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webapp1.war
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [webapp1] startup failed due to previous errors
May 22, 2012 9:47:07 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:07 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
May 22, 2012 9:47:08 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:08 AM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 22, 2012 9:47:08 AM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
May 22, 2012 9:47:08 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2630 ms
__In catalina folder it is showing like this__
May 22, 2012 9:47:04 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
May 22, 2012 9:47:04 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
May 22, 2012 9:47:05 AM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 22, 2012 9:47:05 AM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
May 22, 2012 9:47:05 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1333 ms
May 22, 2012 9:47:05 AM org.apache.catalina.users.MemoryUserDatabase open
WARNING: Exception configuring digester to permit java encoding names in XML files. Only IANA encoding names will be supported.
org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/allow-java-encodings
     at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:129)
     at org.apache.tomcat.util.digester.Digester.setFeature(Digester.java:556)
     at org.apache.catalina.users.MemoryUserDatabase.open(MemoryUserDatabase.java:391)
     at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:103)
     at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
     at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
     at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
     at org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(NamingContextBindingsEnumeration.java:113)
     at org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBindingsEnumeration.java:71)
     at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:137)
     at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:109)
     at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:81)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:747)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
     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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
May 22, 2012 9:47:05 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 22, 2012 9:47:05 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
May 22, 2012 9:47:05 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
May 22, 2012 9:47:06 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:06 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive webapp1.war
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [webapp1] startup failed due to previous errors
May 22, 2012 9:47:07 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:07 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
May 22, 2012 9:47:08 AM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
May 22, 2012 9:47:08 AM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 22, 2012 9:47:08 AM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
May 22, 2012 9:47:08 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2630 ms
**In local host folder it is showing like this**
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
java.lang.ClassNotFoundException: oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4149)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
     at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
     at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
     at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
     at org.apache.catalina.core.StandardService.start(StandardService.java:525)
     at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
     at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
     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 org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
May 22, 2012 9:47:07 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
I do have a question whether Tomcat server will work on 11.1.1.5 or not
If not which version of jdeveloper and tomcat can I use and make it work properly
Can anyone help me out?
Thanks in Advance
Santosh

I think that no one ADF version is certified to the tomcat container. If you want to deploy in tomcat you could use apache myfaces trinidad, which is the opensource ADF Faces donated from Oracle to the Apache Foundation.
Regards,

Similar Messages

  • Integration  Of Standalone Tomcat Server to JDeveloper 11gR2

    Please tell me how to add & start using external standalone apache tomcat server 7.0.32 with JDeveloper IDE 11gR2.

    For only Tomcat 7 is certified
    http://www.oracle.com/technetwork/developer-tools/jdev/jdev11gr2-cert-405181.html#Application_Servers
    Also in case you want to deploy a ADF app on Tomcat 6.x this should help -
    https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
    Edited by: Sudipto Desmukh on Oct 29, 2012 5:25 PM

  • Reloading a new JSP/Jar in Tomcat Server

    HI,
    I face these problems now.
    My environment is Oracle Jdev 3.2.3 for JSP development. Tomcat4.0.1 as Application server plugged into IIS webserver and Using oracle 8i as the database
    1. Whenever I update my JSP's and Application jar files, I copy from staging area to the deployment Tomcat Server application specific directories. The files are getting copied(overwritten). After that when i try to access my context/application in Tomcat server, my browser simply tries to browse and doesn't bring up the homepage of my application(say index.jsp).
    I need to stop the tomcat server and restart again. Then I get it.
    Is there anyone who came across this error and possibly help me to solve this?
    2. I have a JSP (say emplist) which shows all the employees details with empno, ename, depyno and sal as 4 columns.
    I have a up and down arrow images near the column names. Upon clicking it, it will call the same page and sort the column either desc or asc based on the previous display order. The column on which the Arrow button displayed is stored in session variable.
    This sorting in JSP perfectly works in JDeveloper and when i run using WebToGo Server. But when i deployed in Tomcat,This sorting doesn't work.
    The page simply stands. and when i go back and front browsing my other pages of application, i lose the position of the arrow button and it behaves unexpectedly by showing up in some other columns.
    is there any reason for this kind of behaviour?
    3. In my JSP files, I log the user actions into a text file in the server. IN WTG, I am able to specify the path of the output directory.
    But in Tomcat Server, by default the output files are getting created in C:/Tomcat/bin directory.
    I donno how to set an output directory, where the files will be written to and set an input directory from where my custom application properties files will be read from.
    Can anyone help me in telling in which file and what attributes, i need to set the input and output directory path in Tomcat Server?
    Can someone help me in giving suggestions or solutions for the above problems?
    Thanks a lot in advance.
    Thanks
    Hari

    I added a Context Tag in server.xml file in the Host Tag
    <Context docBase="struts-blank">
    </Context>and so following comes up in the Server Console Window
    INFO: Starting service Catalina
    Feb 7, 2005 11:06:30 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.2
    Feb 7, 2005 11:06:30 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Caused by: java.lang.NullPointerException
            at java.util.Hashtable.put(Hashtable.java:396)
            at org.apache.catalina.core.StandardContext.resourcesStart(StandardConte
    xt.java:3707)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    934)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1003)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:420
            at org.apache.catalina.core.StandardService.start(StandardService.java:4
    50)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:196
    7)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:541)
            ... 6 moreThanks in advance
    CSJakharia

  • MDS on Tomcat server

    Hi,
    JDeveloper 11g, Tomcat server.
    I am planning to deploy the ADF Application on Tomcat server. My question is, Is it possible to configure the MDS on Tomcat server?
    Please let me know.
    Thanks.

    Nope, not at this time. It's only certified on WLS

  • Configuration issues in Tomcat Server

    Hi,
    If someone has come across these issues with Tomcat server and have overcome, plese let me know.
    1. After updating JSP/jar files in Tomcat server, do we need not stop and restart the server?. if i don't, it hangs. if i restart, i am able to access my pages from browser. Any solution????
    2. How do i set output log directory for my application in Tomcat server.
    3. How do i increase session time for my application in Tomcat server?
    I don't face these problems when i run through WebToGo Server if i use Jdeveloper.
    For more details on this problem, please refer to my post
    "reloading jsp/jar files in tomcat server as on Feb 6th 2002.
    Thanks for your help in advance.
    Thanks
    Hari

    What does Jakarta support say about this? (By the way, maybe it fails shutdown because it's not running.)

  • What are the Jar files required for Tomcat server of jdev 11.1.2.0.0

    Hello Experts,
    My client wants to just check the adf application on tomcat server
    how do I create a war file and then deploy it into Tomcat server
    and what all JAR files do I require to do it??
    I am using jdev 11.1.2.0.0 and tomcat server is 6.0.35
    Thanks for the help..
    933601.

    https://blogs.oracle.com/dana/entry/how_to_deploy_a_11g_adf_applic_1
    http://docs.oracle.com/cd/B31017_01/web.1013/b28967/deployment_topics012.htm
    Tomcat Extension for JDeveloper is available.
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/130355.xml#shay.tomcat

  • Connection to tomcat server

    Hello all,
    I would like to deploy my application with Jdeveloper 11 to tomcat server. For that I created a new connection to my tomcat server, but it says after opening the deplyments in the tree of Application Server Navigator: Connection Error
    What is this connection error? Where can I check the reason of it? What can be teh reason of that?
    The tomcat is different machine. I am connected to the file system via samba share.
    What is needed to be configured in the remote machine to be reachable from jdeveloper?
    Thanks,
    Csaba

    We are not making a JSR-160 connection to Tomcat in JDeveloper 11g, thus the ability to expand the nodes within the Application Server Navigator and perform any interaction is non-existent. We only expose the web application directory location so that archive files can be copied for the Tomcat server deployment. The Tomcat support is thus limited. Once the application is deployed you'll want to use the Tomcat console for further interaction.

  • Creating a link to text file in a tomcat server not working in JSP webapp

    I am using netbeans to create an web application within my desktop, and then I load the build/web folder to a tomcat server to test the application. Everything works fine. However, when I try to link up my JSP pages to text files (.txt) create by the application on the server, I seem to be getting files that might be kept in a terminal.
    When I get the Real path of the servlet context, I find that it is to a C:\ type file rather than a //hostname type of directory. So obviously those files are not being reached.
    Does anybody know how to deal this problem?

    There are a number of ways to get to the Flash Global Security settings dialog.
    My favourite way is just to double click on a Captivate SWF (not the HTM file) to open it in a web browser, then right click on the playing screen to get the Flash context menu.  On the context menu, click the Global Settings option.
    In the web page that opens, click the link on the left to Global Security Settings.
    Add the folder or drive location of your published Captivate content to the Trusted Locations.

  • I want to write in a XML file which is located on the TOMCAT server

    hello all,
    can anybody tell me or give me code snippet for writing some data through my application i.e from client side on te file which is located on the TOMCAT server(especially XML file).
    tell me how can i do that?
    it is urgent
    cya
    sush

    Hello sush,,,,
    I am sending you some API / classes that will definetely help you for writing XML file through java.
    1) TransformerFactory.newInstance();
    2)Transformer serializer
    3)StreamResult
    4)serializer.transform(source,result);
    5)DOMSource
    From Vikas_khengare
    [ [email protected] ]

  • Write Access to a file in Tomcat server via J2me Midlet

    How to make write access to a file using midlet and HTTP connection?
    I have text file in the Tomcat server and I am able to read it with HTTP connection using emulator, but don't have idea how to make write access to the file. I'd like to write some text to the file.

    Thanks, but could you be more accurate. What methods should I use in the servlet and what methods in the midlet?
    Some links which concern this subject, would be nice too. I have tried with google, no success.

  • Problem with Java Studio Creator and Tomcat Server

    Hi Gays ,
    I have problem:
    here is the error from tomcat 5
    com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: statement handle not executed: getMetaData
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java: 601)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:316)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87 )
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    if i develop application on my pc ( java studio creator with sun apps bundlled) is working perfectly,
    but i migrated application to Tomcat Server ( Database the same - Oracle 10 g)
    i can't show value ( as text) from datasoruce ( is in SessionBean1)
    (Category-.>Subcat->Items->details( url from items table[items.jsp])
    this is a working url "/faces/testpage.jsp?auk_id=31 "
    ( working with sun apps server , but not on Tomcat 5)
    below prerender method in details.java and fragment of details.jsp
    public void prerender() {
    try {
    String idauk = (getExternalContext().getRequestParameterMap().get("auk_id").toString());
    System.out.println("wartosc auk_id " + idauk);
    if (idauk != null) {
    getSessionBean1().getDetailsRowSet().setObject(1,idauk);
    getSessionBean1().getDetailsDataProvider().refresh();
    details.jsp
    xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{testpage.page1}" id="page1">
    <ui:html binding="#{testpage.html1}" id="html1">
    <ui:head binding="#{testpage.head1}" id="head1">
    <ui:link binding="#{testpage.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{testpage.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{testpage.form1}" id="form1">
    <ui:staticText binding="#{testpage.staticText1}" id="staticText1" style="position: absolute; left: 120px; top: 96px" text="#{SessionBean1.testDataProvider.value['Name']}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    Help People ! Any Ideas I'm stuck, why is working with Sun Servet but not with Tomcat and only just thing ?
    Thanks in advance for helping me to resolve the night problem :)

    Hi I found solution, i puted on the page a table -component (with brand new automaticly created dataprovider) , then i set properties visible= false for table, and now I can bind statictext with database field and deploy on tomcat server .
    But i think it is not a elegant solution in page source i habe noused-code.
    Have Any another Ideas. HELP PEOPLE !!!!
    Mariuszek: I use Creator.because right now I can see result of my job and i can qickly change ideas ,
    I tried with JDeveleper but i did'nt find this functionality (wich version do you prefered ?) , unfortunately i have to deploy my application on Tomcat. This is my study project, and i make this to become a Master of Techinal Univeristy ;), Deadline time is 30 th September :(
    greetings

  • 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

  • How can i avoid restarting tomcat server when servlet is modified?

    please advice me that how can i avoid restarting the tomcat server, whenever a servlet file is modified in my application. is their any way ?

    No probs. Here's how I do things...
    1. Install tomcat as normal (e.g. I install to C:\Apps\jakarta-tomcat-5.5.4)
    2. Create a webapps directory in your eclipse project with the following directory structure
    MyEclipseProject
       - src
       - conf
       - webapps
          - MyApplication
             - META-INF
             - WEB-INF
                - classes
                - lib
                - pages3. Set the project's output folder (e.g. bin folder) to webapps/MyApplication/WEB-INF/classes
    4. Put all your jar files in the lib directory
    5. Put JSPs / HTML in the pages directory (you may also want to create additional directories for TLDs, config files etc)
    6. Ensure your web.xml is in the WEB-INF directory
    7. Although it isn't essential I create a context.xml file and store it in META-INF, e.g.
    <Context reloadable="true">
        <!-- Default set of monitored resources -->
         <WatchedResource>WEB-INF/web.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/struts-config.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/tiles-defs.xml</WatchedResource>
         <WatchedResource>WEB-INF/conf/struts/validation.xml</WatchedResource>     
    </Context>I use this to set monitored resources that will trigger an automatic appliation reload and to configure JAAS (not shown). See the Tomcat documentation for additional information.
    8. In the 'conf' directory I create a server.xml file used to configure Tomcat (you can copy the one from your <TOMCAT_HOME>/conf/server.xml).
    After copying the file change appBase attribute in the host element to be the full path to the webapps directory. You can also change the HTTP and HTTPS ports if you wish
    9. Download and install the Tomcat Launcher plugin from Sysdeo.
    10. In Eclipse's Preferences menu you will see a new entry for Tomcat. Click this then
    a. Set your Tomcat Version
    b. Set your Tomcat Home
    c. Set "Context declaration mode" to server.xml
    d. Set the configuration file to the full path to your server.xml file created in step 8
    On the "Advanced " sub page select all relevant projects to add to the Tomcat classpath
    On the "JVM Settings" page add all the jars in your WEB-INF lib directory to the class path
    On the "Source Path" page select all relevant projects
    Now if you start Tomcat using the Tomcat icon, you will be able to remote debug your application. If you change web.xml (or any other file in your context.xml watched resources) it will automatically reload. Any changes to JSPs will automatically be picked up (providing your tell your browser not to use the page in cache - e.g. CTRL+F5 in IE)
    There are some limitations that I'm still working on however. Primarily that I haven't included the Tomcat Manager application in my webapps directory, so Sysdeo cannot perform a reload. This means that if I change a source file, and eclipse auotmatically rebuilds, Tomcat doesn't pick up the change unless I either change a watched resource file (e.g. web.xml) or stop and restart Tomcat.
    There's no reason why this can't be fixed, I just haven't got round to it yet.
    I'm sure there are lots of other (probably better) ways of achieving the same thing. This was the first method I tried and it worked, so I stuck with it. I'm not a Tomcat config guru and I'm sure other forum users could provide some improvements should they wish.
    Post if you get into trouble, however I won't be able to respond until next week.
    Cheers,
    Steve

  • Tomcat : Hlow to run more than 1 instance of tomcat server on same machine?

    Hi,
    How to run more than 1 instance of tomcat server on the same machine.
    I use tomcat 5.5. ,updated port number for second instance and tried to run,it takes the same old port number .No batch file available with this version to update the home directory to second instance to run the second server..
    How to work on clustering and load balancing on tomcat server?
    Any inputs?
    Thanks in advance..
    Ani

    Anitha123 wrote:
    We have only 1 dedicated server maintained by third party for hosting..
    If are only getting your site hosted, then, normally, the host would handle clustering (to your sepcifications, of course, but it is normally the hosts responsibility).
    If i need to implement clustering and load balancing for tomcat server then do we need to go for 2 different servers for production environment?
    Yes, you would need two, or more, servers.
    Also please guide me on how to implement clustering and load balancing for tomcat server by running 2 instances on 2 different machine? I'm a newbie to it..
    It should have no (or at least minimal) impact on the code (as long as you are using beans, sessions, and the other components properly). It is handled by the web container (by the tomcat in this case). The tomcat documentation should show how to set it up (if it supports it all, I don't know, we don't have Tomcat at work, and at home I use only a single).

  • How can I debug a tomcat server from JSC (ea2)

    I am attempting to use JSC (ea2) for my development but cannot get the enviroment right in SunAppServer8 for some "custom JNDI resources". Is there anyway I can get JSC to connect to a (running) tomcat server for debugging?

    Hi,
    Please post messages related to Creator 2 EA at the feedbacks programs portal. The URL is:
    https://feedbackprograms.sun.com/login.html
    Thanks,
    RK.

Maybe you are looking for

  • Prefer-web-inf-classes Problem

    Hi , I have an web application war file which has some jsp's and jar files in the lib directory of the war file . Also one of the jar files which is of different version is present in the classpath of WLS . My prb is that the my web application does

  • Display driver AMD driver has stopped reponding

    it's happen about 3/4 times a day how to stop this from happening? i only bought this pc 4 days ago

  • How do I get rid of Firefox? I hate it.

    How do I get rid of Firefox? I just don't like it, unequicably.

  • Add % Sign to Values in report VBA

    Hi Gurus, i'm trying to Add the sign to the Values in the workbook. problem is that excel calculate the values into percent the code is as follow For x = 2 To f_clmn    For y = 18 To 21        If resultArea.Cells(x, y).Value <> "" Then        resultA

  • Update mode and rsa3

    Dear Experts, Sometimes though basically certain extractor like generic extractor based on a view is working, in RSA3, when I select the update mode as Delta, there is an error produced when executing the extractor checker. This generic extractor is