Failed to run simpapp example application of Tuxedo

1. I installed WL9 SP1 on win 2003 machine and Tuxedo 9.1 on this installation
2. I installed the simpapp and follow the instructions at the instructions.html
3. The ant process and ant wtcmbeans process passed successfully
4. When I run the ant run command I got the following output
Any idea?
C:\bea9sp1\weblogic91\samples\server\examples\src\examples\wtc\atmi\simpapp>ant run
Buildfile: build.xml
run:
get_host:
generate:
[copy] Copying 1 file to C:\bea9sp1\tuxedo9.1\samples\wtc\simpapp
[copy] Copying 1 file to C:\bea9sp1\tuxedo9.1\samples\wtc\simpapp
load:
[exec] CMDTUX_CAT:6652: WARN: MAXACCESSERS is not set in UBBCONFIG. Please specify an appropriate value for your ap
plication if necessary.
[exec] CMDTUX_CAT:6653: WARN: MAXSERVERS is not set in UBBCONFIG. Please specify an appropriate value for your appl
ication if necessary.
run_server:
[exec] Booting all admin and server processes in C:\bea9sp1\tuxedo9.1/samples/wtc/simpapp/tuxconfig
[exec] INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level (none)
[exec] INFO: Serial #: 454493271161-2233863459830, Expiration 2008-02-28, Maxusers 1000000
[exec] INFO: Licensed to: BEA Partner Program
[exec] Booting admin processes ...
[exec] exec BBL -A :
[exec] process id=3332 ... Started.
[exec] Booting server processes ...
[exec] exec simpserv -A :
[exec] CMDTUX_CAT:816: ERROR: Cannot exec, executable file not found
[exec] exec DMADM -A :
[exec] process id=3276 ... Started.
[exec] exec GWADM -A :
[exec] process id=316 ... Started.
[exec] exec GWTDOMAIN -A :
[exec] process id=3832 ... Started.
[exec] 4 processes started.
BUILD FAILED
C:\bea9sp1\weblogic91\samples\server\examples\src\examples\wtc\atmi\simpapp\build.xml:31: The following error occurred
while executing this line:
C:\bea9sp1\weblogic91\samples\server\examples\src\examples\wtc\atmi\simpapp\build-run.xml:66: exec returned: 1
Total time: 32 seconds

The simpserv was not built successfully. One frequently met situation is the
vc++ environment not set properly. Before invoking the ant script, you can
find the "vcvars32.bat" in your vc++ installation and run it, then have a
try.
Wayne
<Noa Arie> wrote in message news:[email protected]...
1. I installed WL9 SP1 on win 2003 machine and Tuxedo 9.1 on this
installation
2. I installed the simpapp and follow the instructions at the
instructions.html
3. The ant process and ant wtcmbeans process passed successfully
4. When I run the ant run command I got the following output
Any idea?
C:\bea9sp1\weblogic91\samples\server\examples\src\examples\wtc\atmi\simpapp>
ant run
Buildfile: build.xml
run:
get_host:
generate:
[copy] Copying 1 file to C:\bea9sp1\tuxedo9.1\samples\wtc\simpapp
[copy] Copying 1 file to C:\bea9sp1\tuxedo9.1\samples\wtc\simpapp
load:
[exec] CMDTUX_CAT:6652: WARN: MAXACCESSERS is not set in UBBCONFIG.
Please specify an appropriate value for your ap
plication if necessary.
[exec] CMDTUX_CAT:6653: WARN: MAXSERVERS is not set in UBBCONFIG.
Please specify an appropriate value for your appl
ication if necessary.
run_server:
[exec] Booting all admin and server processes in
C:\bea9sp1\tuxedo9.1/samples/wtc/simpapp/tuxconfig
[exec] INFO: BEA Tuxedo, Version 9.1, 32-bit, Patch Level (none)
[exec] INFO: Serial #: 454493271161-2233863459830, Expiration
2008-02-28, Maxusers 1000000
[exec] INFO: Licensed to: BEA Partner Program
[exec] Booting admin processes ...
[exec] exec BBL -A :
[exec] process id=3332 ... Started.
[exec] Booting server processes ...
[exec] exec simpserv -A :
[exec] CMDTUX_CAT:816: ERROR: Cannot exec, executable file not
found
[exec] exec DMADM -A :
[exec] process id=3276 ... Started.
[exec] exec GWADM -A :
[exec] process id=316 ... Started.
[exec] exec GWTDOMAIN -A :
[exec] process id=3832 ... Started.
[exec] 4 processes started.
BUILD FAILED
C:\bea9sp1\weblogic91\samples\server\examples\src\examples\wtc\atmi\simpapp\
build.xml:31: The following error occurred
while executing this line:
C:\bea9sp1\weblogic91\samples\server\examples\src\examples\wtc\atmi\simpapp\
build-run.xml:66: exec returned: 1
Total time: 32 seconds

Similar Messages

  • Running VC example applications

    I'm trying to learn VC with the examples provided by VC Modeling Resource Center (Visual Composer Modeling Resource Center [original link is broken]).
    I downloaded an example and it comes with two files (gml and sql). I tried to follow the tutorial "How to run VC applications" (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60e62459-7975-2910-64a2-8a61b0c83208) but on beggining of tutorial says about SQL Server Enterprise Manager. Isn't that a Microsoft apllication ? I dont have that software because my server is Unix. So the begging of that tutorial don't work for me.
    Can anyone help me please ?
    Thanks

    Hi Vitor,
    I'm afraid you need an SQL DB in order to run this example.
    You can find good examples for learning Visual Composer (using R3 or BI systems) in the Modeler's guide - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe - in the "Go and Create" chapter.
    Good Luck,
    Dafna

  • ITunes failing to run with an application error

    Hi All,
    I have been running iTunes on my DELL computer with absolutely no problems until just the other day I started up the program and got this unrecoverable error:
    Remote Speakers: iTunes.exe - Application Error
    The rest of the error message basicaly says that it can't read a particular referenced memory location. It stops there and I can only ok or cancel the error message.
    I tried reinstalling the latest version of iTunes, didn't work. I then uninstalled iTunes and reinstalled it...nope didn't work either.
    I'm feeling quite frustrated, anyone have some ideas of what I can do to resolve this?
    Trying to be calm,
    Thoram

    yeah let's swap that QuickTime out.
    since that's not the most common QuickTime error message i see under these circumstances, we'll take a few additional precautions with the uninstall.
    head into your Add/Remove programs. uninstall QuickTime.
    Next, we’ll manually remove any leftover program files and folders.
    1. On the Start menu, click My Computer (or double-click My Computer on the Desktop).
    2. In My Computer, open Local Disk.
    3. Open Program Files.
    4. Right-click on the QuickTime folder and click Delete from the shortcut menu.
    5. Navigate to C:\Windows\system32\.
    6. Remove the files QuickTime.qts and QuicktimeVR.qtx.
    7. Restart your computer.
    next, we'll get a fresh copy of QuickTime into your PC by doing a repair install of itunes.
    switch off antivirus and antispyware applications prior to the repair install.
    go into Add/Remove and select itunes. click "Change" and then click "Repair".
    if the repair install goes through okay, restart the PC and try launching itunes again. does it launch properly now?

  • BSP Extensions Book - example application

    Hi all!
    I have bought the Book "BSP Extensions: How to master Web reporting with HTMLB" and i've tried to run the example application. But on half the way of the programming (the next chapter is checkbox & radioButton) i'm getting a JScript error that says "childNodes.0.tagName is null or not an object" and it occurs every time i want to create the text of a new treenode by focusing the inputfield.
    I've coded everything exactly like it is in the book so i don't know what's wrong. A little while ago i've searched the SDN forums for that case and found out that there is a SAP Note (949105) about it. After following the instructions and refreshing the cache the error still appeares. Does anyone read the book and faced the same problem?
    (I'm Using the Trial Version of Netweaver 2004s ABAP.)
    Regards
    Mark-André

    hi,
    can you tell me ..what kind of example you are trying..
    there are demo programs which are given by sap..first try it and then sort the error..
    program names :
    SBSPEXT_BSP
    SBSPEXT_HTMLB
    or
    choose bsp application from se80 and search as SB*
    you will find more programs:
    thanks
    jaideep
    if helpful reward points...

  • Error in running sample application for tuxedo

    Hi
    I received the following error when i try to run the sample application "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following error.do i have
    to install any c compiler? if so pls. suggest me some good c compiler.
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; check TUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

    Hi
    for Windows NT, which C compiler would be better for compiling the programs
    for tux clients and servers?
    do we have to use the MS-VC++ compiler and what are the environment
    variables to be set if i have to use build(client|server) ?
    pls. help me.
    thanks
    Magesh
    "Peter Holditch" <[email protected]> wrote in message
    news:[email protected]...
    Magesh,
    As I already posted, you need a C compiler installed.buildclient
    merely invoke the system compiler.
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, andBEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness ofthe
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    magesh muthukumarasamy wrote:
    Hi
    After doing the steps which you've told, I got the following error when
    I
    ran buildclient and builserver respectively :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    TUXNT_CAT:77: ERROR: Can't execute cl/MD -I"%TUXDIR%"\include -Fesimpcl
    simpcl.c "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"
    \lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.
    lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BC-5f.lib
    C:\simpapp>buildserver -o simpserv -f simpserv.c -s TOUPPER
    cl /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%TUX
    DIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.libuser32
    .lib gdi32.lib comdlg32.lib winspool.lib -link -implib:BS-1a4.lib
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    CMDTUX_CAT:4180: ERROR: can't execute cl
    /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.l
    ib "%TUXDIR%"\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib
    "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock3
    2.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BS-1a4.lib
    IS IT DUE TO C COMPILER NOT AVAILABLE OR ANY OTHER CONFIGURATIONPROBLEMS?
    >>
    pls. help me.
    THANKS
    magesh
    "LouisLiu" <[email protected]> wrote in message
    news:[email protected]...
    Three steps to solve this problem:
    1. Set the LANG environment variable: set LANG=English_United
    States.1252;
    2. In the tuxedo directory Tuxedo\locale, make a new directory named
    English_United States.1252;
    3. Copy all files in diirectory Tuxedo\locale\C into the newdirectory.
    >>>
    "MAGESH MUTHUKUMARASAMY" <[email protected]> wrote in message
    news:[email protected]...
    Hi
    I received the following error when i try to run the sample
    application
    "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following
    error.do
    i
    have
    to install any c compiler? if so pls. suggest me some good c
    compiler.
    >>>>
    >>>>
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; checkTUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

  • Application migrated from 11.1.2.3 to 12.1.2.0 fails to run in IntegratedWebLogic

    Hi,
    Can anyone help resolving the following problem.
    We've been developing an ADF application with JDeveloper 11.1.2.3 and it works fine when run both with its IntegratedWebLogic or when deployed to a standalone Glassfish server.
    We want to switch to JDeveloper 12.1.2.0. and use new UI components.
    We are able to successfully open the application in JDeveloper 12c -  the migration logs say it was successfully converted, all projects, pages, task flows, classes open and can be edited just fine. However the application fails to run with IntegratedWebLogic.
    Application is using modules included via ADF shared libraries:
    CommonUI.jar and  CommonModel.jar -> included in ApplicationModule1 and ApplicationModule2.
    Both ApplicationModule1 and ApplicationModule2 work fine when tested with IntegratedWebLogic.
    They are in turn included in the MasterApplication as ApplicationModule1.jar and ApplicationModule2.jar.
    However the MasterApplication (SLABAccountMaster) fails to run. It gets deployed, but there is an exception when accessing the first page: The UIViewRoot is null. Fatal exception during PhaseId: RESTORE_VIEW 1.
    I've posted a fragment of the logs below. I can include all of it - but it's huge.
    [Running application SLABAccountMaster on IntegratedWebLogicServer...]
    [02:31:02 PM] Web Module AccountViewWebApp.war recognized in project AccountView.jpr
    [02:31:03 PM] ----  Deployment started.  ----
    [02:31:03 PM] Target platform is  (Weblogic 12.x).
    [02:31:03 PM] Retrieving existing application information
    [02:31:03 PM] Running dependency analysis...
    [02:31:03 PM] Deploying 2 profiles...
    [02:31:06 PM] Wrote Web Application Module to C:\Users\SlawekAr.SLAB\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SLABAccountMaster\AccountViewWebApp.war
    [02:31:06 PM] Wrote Enterprise Application Module to C:\Users\SlawekAr.SLAB\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\SLABAccountMaster
    [02:31:06 PM] Deploying Application...
    <11-Sep-2013 14:31:10 o'clock BST> <Warning> <Application Client> <BEA-2162200> <No Main-Class defined in the manifest file of Java Module: empty.jar. This module will be treated as a utility JAR and subsequent initialization steps will be skipped.>
    <11-Sep-2013 14:31:13 o'clock BST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:SLABAccountMaster@SLABAccountMaster-AccountView-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    [02:31:39 PM] Application Deployed Successfully.
    [02:31:39 PM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [02:31:39 PM] http://172.16.60.102:7111/SLABAccountMaster-AccountView-context-root
    [02:31:39 PM] Elapsed time for deployment:  36 seconds
    [02:31:39 PM] ----  Deployment finished.  ----
    Run startup time: 36353 ms.
    [Application SLABAccountMaster running on IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7111/SLABAccountMaster-AccountView-context-root/faces/AccountsWorkbench.jsf
    <11-Sep-2013 14:31:48 o'clock BST> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50016> <ADFc: While handling an exception the application's exception handler threw a new exception.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:194)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
      at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:1027)
      at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1875)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
      at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:557)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:290)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Caused By: java.lang.NullPointerException
      at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:632)
      at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:764)
      at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:984)
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:158)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
    -Sep-2013 14:31:48 o'clock BST> <Error> <oracle.adfinternal.controller.application.AdfcExceptionHandler> <ADFC-50017> <ADFc: While attempting to handle this exception the application's exception handler failed.
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:194)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)
      at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:1027)
      at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:1875)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.setBindingELVariable(UpdateBindingListener.java:112)
      at oracle.adfinternal.controller.application.model.UpdateBindingListener.beforePhase(UpdateBindingListener.java:61)
      at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:557)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
      at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchBeforePagePhaseEvent(LifecycleImpl.java:147)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchBeforePagePhaseEvent(ADFPhaseListener.java:290)
      at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:76)
      at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
      at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Caused By: java.lang.NullPointerException
      at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:632)
      at oracle.adf.model.binding.DCBindingContainerDef.initializeBindingContainer(DCBindingContainerDef.java:764)
      at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:984)
      at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:158)
      at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:95)
      at oracle.adf.model.BindingContext.get(BindingContext.java:1316)

    Refer
    6365500 javax.faces.el.EvaluationException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.N…

  • Application express installation is failed while running apxdevrm.sql scrip

    Hello Experts,
    i am new to Oracle Application express. My installation is failed while running the script (apxdevrm.sql).
    here is the command i ran as sysdba
    @apexins xxxxx apex apex temp /i/
    installation is exited with the following error :
    REPORT:SYS> prompt Set Application ID...
    Set Application ID...
    REPORT:SYS>
    REPORT:SYS> begin
    2
    3 -- SET APPLICATION ID
    4 wwv_flow.g_flow_id := nvl(wwv_flow_application_install.get_application_id,4411);
    5 wwv_flow_api.g_id_offset := nvl(wwv_flow_application_install.get_offset,0);
    6 null;
    7
    8 end;
    9 /
    REPORT:SYS>
    REPORT:SYS> --application/delete_application
    REPORT:SYS>
    REPORT:SYS> begin
    2
    3 -- Remove Application
    4 wwv_flow_api.remove_flow(nvl(wwv_flow_application_install.get_application_id,4411));
    5
    6 end;
    7 /
    begin
    ERROR at line 1:
    ORA-20001: API operation includes calls that are incompatible with the current runtime.
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 32
    ORA-06512: at "APEX_030200.WWV_FLOW_API", line 247
    ORA-06512: at line 4
    here is my database version :
    REPORT:SYS> select * from v$version;
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    OS version :
    cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    any one had this issue in the past?
    your help is greatly appreciated.
    Edited by: 892564 on Oct 20, 2011 4:15 PM

    Hello experts,
    is there any best way to trouble shoot the error which i got?
    Thanks
    !# Pavan

  • I recently upgraded to Lion and i find that my computer is running slow and applications are crashing.  For example I have Word 2011 for Mac and it crashes all the time I end up losing my work.  It often happens when I'm in notebook trying to record.

    i recently upgraded to Lion and i find that my computer is running slow and applications are crashing.  For example I have Word 2011 for Mac and it crashes all the time I end up losing my work.  It often happens when I'm in class using notebook and when I press record my computer starts thinking and it freezes.
    Also, I feel that it overheats often and my battery runs out pretty quickly.  I had the macbook (black) and this never happened before.  I'm not sure if I'm doing something wrong or if there is something with my computer.I bought my computer summer 2010, I don't think this should be happening. Please Help......

    This is exactly what keeps happening to mine too.  I was at a conference taking notes, and I was
    using the Notebook template, and doing some audio recording simultaneously.  About 3 hours into the conference (not consistently recording, but on and off with the sessions) my file wouldn't save anymore, saying something like "File cannot be modified while in use with another program" and "Invalid file name" when I would go back into my folder to look for it). I tried installing some updates from Microsoft, and when I restarted, I was at least able to open my old notes again, and so far it looks like the audio was working.  However, today at the conference, the same thing happened again, but I wasn't actively recording any audio (though after I had copy and pasted my second file of notes into the original, I went back to using it after re-naming it). 
    Does the crash happen to you under similar cirucumstances?  The update might help a little, but it is definitely not the solution.  Does anyone have any solutions?  Lion shouldn't be this buggy... I moved to Mac to get away from the garbage of bugs and compatibility issues...

  • How to Run the MDK Sample Example Application in SAP NWDS

    Hi all,
    As i go through the MDK 2.5 i have physically under gone with all option that are included in
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    this site and imported the Example 1 Application in nwds, but when try to run it,this application asking to mention some main Class option .
    tell me which class should i mention to run the example1 application.
    so please help me out of it ,
    thanks and Regards,
    Venu

    hi Venu Gopal,
    Welcome to the SDN and Mobile Community.
    Pl. check my weblog on this "Execute and Debug Applications from NWDS". /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    I've explained how to run the application from NWDS itself.
    Regards
    Arunkumar R

  • Java "Application Failed to run" error in safari

    I'm getting a " Application Failed to run" error on safari when trying to upload photos to facebook via the java uploader. I can't use the iphoto uploader for this particular page so that is not a solution.
    I've uploaded photos plenty of times before but starting today, I get the following JAva Console message that I've deleted my user name from. Although I don't see anything here that indicates an erro, it is promted by an Error message that you click for details, which says the "The Application failed to run". Any thoughts on what I can do to correct this? I haven't changed anything since it's worked in the past and I've quit safari, restarted and ran disk utility.
    Java Plug-in 1.6.0_15
    Using JRE version 1.6.0_15-b03-219 Java HotSpot(TM) 64-Bit Server VM
    User home directory = /Users/
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------

    This I guess is not a Safari problem since I got the same error in Firefox. How does one fix a Java problem occurring in at least two different browsers?

  • Update Failed - You are already running the Adobe Application Manager....

    I'm on Mac OS 10.8.4. When I try to update InDesign CC to the latest version, the Adobe Application Manager launches and give me the following error:
    Update Failed
    Updates could not be applied
    You are  already running the Adobe Application Manager. Please close all instances of Adobe Application Manager before applying updates.
    So, I quit the AAM, verify that it's not running in Activity Monitor and relaunch it... to get the same error message. I haven't found a solution online, so I'm hoping someone can help me get past this.

    Rfahl have you tried rebooting and then applying the update again?  If so, and you still receive the same error, then you may want to try installing the update in Safe Boot mode.  You can find more details for starting up in Safe Boot at OS X Lion: Start up in safe mode - http://support.apple.com/kb/PH4373.

  • Failed Running Interest Example in JBoss

    Hi there,
    I try to create jar for this example using ANT, but the following mesg appears: How should i overcome this?
    -------- Error building Interest example
    D:\RereferenceJBoss\documentation-example\examples\build>ant intro-interest-jar
    Buildfile: build.xml
    validate-servlet:
    BUILD FAILED
    D:\RereferenceJBoss\documentation-example\examples\build\build.xml:36: Could not create task of type: path. Common solutions are to use taskdef to declare your task, or, if this is an optional task, to put the optional.jar in the lib directory of your ant instalation <ANT_HOME>.

    This error appears if the jndi initial context is not being set properly. You can either set the initial context by passing a jndi.properties file containing the following:
    java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
    java.naming.provider.url=jnp://localhost:1099
    java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
    or you can also pass these parameters directly in the InterestClient itself by adding these lines to the starting of the class i.e before the try statement
    * Created on Nov 26, 2003
    * To change the template for this generated file go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    import javax.rmi.PortableRemoteObject;
    import javax.naming.*;
    import src.*;
    //import java.util.*;
    * @author mazumdar
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class InterestClient {
         public static void main(String[] args) {
              try{
                   System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
                   System.setProperty(Context.PROVIDER_URL,"jnp://localhost:1099");
                   System.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
                   InitialContext jndiContext = new InitialContext();
                   System.out.println("Got Context");
                   Object ref = jndiContext.lookup("src/Interest");
                   System.out.println("Got Reference");
                   InterestHome home = (InterestHome)PortableRemoteObject.narrow(ref,InterestHome.class);
                   Interest interest = home.create();
                   System.out.println("Interest on 1000 units, at 10% per period,for 2 years is: ");
                   System.out.println(interest.calculateCompoundInterest(1000,0.10,2));
              catch(Exception e){
                   System.out.println(e.toString());
    The above is the complete source file of the InterestClient which I have successfully run on JBoss-3.2.2 and ant-1.6.
    Just make sure that all the required client jars of JBoss are passed in the classpath during compiling and running the InterestClient using ant.
    Hope this works answers your question. Happy coding....

  • Trying to run the example "rf record and playback reference application"

    http://zone.ni.com/devzone/cda/epd/p/id/5894   trying to run this example but a lot of files are not being found.  I'm using Labview 8.5 with version 4 of the sound and vibration toolkit.  I suspect the problem is the old toolkit version.  Can someone confirm? Can't find any info on upgrading to toolkit so I suppose it would mean a new purchase?  thanks

    Hello Mike,
    This example is designed for our RF Hardware platform.  You need the RFSG driver, RFSA driver, Spectral Measurements Toolkit, Modulation Toolkit, and the advanced signal processing toolkit for the example to run.  You should be able to see this under the software requirements at the bottom of the page.  The two drivers should be available for download on our website, but the toolkits must be purchased and they aren't generally available with the dev suite.
    I hope this helps,
    Paul C
    Message Edited by Paul C. on 03-11-2010 12:28 PM

  • Running the same application in different database table- giving error:

    Hi All,
    I m new to JSF, spring and Hibernate web application. I have done a web project using JSF, Hibernate and Spring. We have to maintain the Data records which is stored in mysql db. Now there are different table is there such as example Employee Details and Company Details. So we created two seperate application o tomacat, For both Application we use same functionality except the JSP FILE Name and table name (Which is changed according to Application).
    In the employee.hbm.xml
    I changed the table name according to application. Two table (Company Details & Employee Details)...
    Now while running the application on the tomcat server, only one application is running at a time. if we start running the Employee Application, then Company Application is giving the below error,
    Error in Log:
    The resourse is already in used/busy.
    Interesting thing is only one Application is running at a time and other is in stop status.
    Could you please help us, how to overcome the error,
    Is it not possible to run both the application on different browsers.
    In logs the below error is showing:
    java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
    Could you please give some idea to sort out the below issue.
    Thanks in advance.

    Yes, I've changed the DynamicJDBCBindingFilter Class in this way:
    method doFiletr
    String usrName = request.getParameter(USERNAME_PARAM);
    String pswd = request.getParameter(PASSWORD_PARAM);
    String URL = request.getParameter(URL_PARAM);
    session.setAttribute(Configuration.DB_USERNAME_PROPERTY, usrName);
    session.setAttribute(Configuration.DB_PASSWORD_PROPERTY, pswd);
    session.setAttribute(Configuration.DB_CONNECT_STRING_PROPERTY,URL);//
    This is for retrieve the JDBC URL from the login page
    Then i've modified the DynamicJDBCEnvInfoProvider to accept this new parameter
    if(mJDBCURL!=null)
    ((Hashtable) connEnvironment).put(Configuration.DB_CONNECT_STRING_PROPERTY,mJDBCURL);
    Finally i modifed the DynamicJDBCSessionCookieFactory
    tho put this new parameter in DynamicJDBCEnvInfoProvider class
    EnvInfoProvider provider = new DynamicJDBCEnvInfoProvider(
    (String)session.getAttribute(Configuration.DB_USERNAME_PROPERTY),
    (String)session.getAttribute(Configuration.DB_PASSWORD_PROPERTY),
    (String)session.getAttribute[b](Configuration.DB_CONNECT_STRING_PROPERTY));
    cookie.setEnvInfoProvider(provider);
    But when I test the application it doesn't works.
    With the correct parameter the login fails.
    I'm not using a DB on my local machine, but one on another machine which has not the Dept table.
    thanks for help

  • Problem with Configuring Tomcat for running jsp web applications..Plz HELP

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

    I am using Tomcat 5.5 and Jdk 1.5.0_12 and Oracle 10g. I am using jdbc-odbc bridge connection
    to connect to the database. I have placed my project folder called
    tdm under the webapps folder in Tomcat. This 'tdm' folder consists of
    a collection of html pages,jsp pages and images of my project. Also I created a
    WEB-INF folderand in that I have lib folder which contains catalina-root.jar
    , classes12.jar and nls_charset.jar files. And also in the WEB-INF folder I have the web.xml
    file which looks like this
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!--
    Copyright 2004 The Apache Software Foundation
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    http://www.apache.org/licenses/LICENSE-2.0
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    -->
    <web-app>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/gdn</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    My Server.xml file in Tomcat\conf folder is as follows
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    <Resource name="jdbc/gdn" auth="Container"
    type="javax.sql.DataSource" driverClassName="sun.jdbc.odbc.JdbcOdbcDriver"
    url="jdbc:odbc:gdn"
    username="system" password="tiger" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 5 documentation bundle for more detailed
    instructions):
    * If your JDK version 1.3 or prior, download and install JSSE 1.0.2 or
    later, and put the JAR files into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="5050" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
         <!-- Note : To use gzip compression you could set the following properties :
                   compression="on"
                   compressionMinSize="2048"
                   noCompressionUserAgents="gozilla, traviata"
                   compressableMimeType="text/html,text/xml"
         -->
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector port="8082"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" acceptCount="100" connectionTimeout="20000"
    proxyPort="80" disableUploadTimeout="true" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- You should set jvmRoute to support load-balancing via AJP ie :
    <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
    -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.4
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <!-- Defines a cluster for this node,
    By defining this element, means that every manager will be changed.
    So when running a cluster, only make sure that you have webapps in there
    that need to be clustered and remove the other ones.
    A cluster has the following parameters:
    className = the fully qualified name of the cluster class
    name = a descriptive name for your cluster, can be anything
    mcastAddr = the multicast address, has to be the same for all the nodes
    mcastPort = the multicast port, has to be the same for all the nodes
    mcastBindAddr = bind the multicast socket to a specific address
    mcastTTL = the multicast TTL if you want to limit your broadcast
    mcastSoTimeout = the multicast readtimeout
    mcastFrequency = the number of milliseconds in between sending a "I'm alive" heartbeat
    mcastDropTime = the number a milliseconds before a node is considered "dead" if no heartbeat is received
    tcpThreadCount = the number of threads to handle incoming replication requests, optimal would be the same amount of threads as nodes
    tcpListenAddress = the listen address (bind address) for TCP cluster request on this host,
    in case of multiple ethernet cards.
    auto means that address becomes
    InetAddress.getLocalHost().getHostAddress()
    tcpListenPort = the tcp listen port
    tcpSelectorTimeout = the timeout (ms) for the Selector.select() method in case the OS
    has a wakup bug in java.nio. Set to 0 for no timeout
    printToScreen = true means that managers will also print to std.out
    expireSessionsOnShutdown = true means that
    useDirtyFlag = true means that we only replicate a session after setAttribute,removeAttribute has been called.
    false means to replicate the session after each request.
    false means that replication would work for the following piece of code: (only for SimpleTcpReplicationManager)
    <%
    HashMap map = (HashMap)session.getAttribute("map");
    map.put("key","value");
    %>
    replicationMode = can be either 'pooled', 'synchronous' or 'asynchronous'.
    * Pooled means that the replication happens using several sockets in a synchronous way. Ie, the data gets replicated, then the request return. This is the same as the 'synchronous' setting except it uses a pool of sockets, hence it is multithreaded. This is the fastest and safest configuration. To use this, also increase the nr of tcp threads that you have dealing with replication.
    * Synchronous means that the thread that executes the request, is also the
    thread the replicates the data to the other nodes, and will not return until all
    nodes have received the information.
    * Asynchronous means that there is a specific 'sender' thread for each cluster node,
    so the request thread will queue the replication request into a "smart" queue,
    and then return to the client.
    The "smart" queue is a queue where when a session is added to the queue, and the same session
    already exists in the queue from a previous request, that session will be replaced
    in the queue instead of replicating two requests. This almost never happens, unless there is a
    large network delay.
    -->
    <!--
    When configuring for clustering, you also add in a valve to catch all the requests
    coming in, at the end of the request, the session may or may not be replicated.
    A session is replicated if and only if all the conditions are met:
    1. useDirtyFlag is true or setAttribute or removeAttribute has been called AND
    2. a session exists (has been created)
    3. the request is not trapped by the "filter" attribute
    The filter attribute is to filter out requests that could not modify the session,
    hence we don't replicate the session after the end of this request.
    The filter is negative, ie, anything you put in the filter, you mean to filter out,
    ie, no replication will be done on requests that match one of the filters.
    The filter attribute is delimited by ;, so you can't escape out ; even if you wanted to.
    filter=".*\.gif;.*\.js;" means that we will not replicate the session after requests with the URI
    ending with .gif and .js are intercepted.
    The deployer element can be used to deploy apps cluster wide.
    Currently the deployment only deploys/undeploys to working members in the cluster
    so no WARs are copied upons startup of a broken node.
    The deployer watches a directory (watchDir) for WAR files when watchEnabled="true"
    When a new war file is added the war gets deployed to the local instance,
    and then deployed to the other instances in the cluster.
    When a war file is deleted from the watchDir the war is undeployed locally
    and cluster wide
    -->
    <!--
    <Cluster className="org.apache.catalina.cluster.tcp.SimpleTcpCluster"
    managerClassName="org.apache.catalina.cluster.session.DeltaManager"
    expireSessionsOnShutdown="false"
    useDirtyFlag="true"
    notifyListenersOnReplication="true">
    <Membership
    className="org.apache.catalina.cluster.mcast.McastService"
    mcastAddr="228.0.0.4"
    mcastPort="45564"
    mcastFrequency="500"
    mcastDropTime="3000"/>
    <Receiver
    className="org.apache.catalina.cluster.tcp.ReplicationListener"
    tcpListenAddress="auto"
    tcpListenPort="4001"
    tcpSelectorTimeout="100"
    tcpThreadCount="6"/>
    <Sender
    className="org.apache.catalina.cluster.tcp.ReplicationTransmitter"
    replicationMode="pooled"
    ackTimeout="15000"/>
    <Valve className="org.apache.catalina.cluster.tcp.ReplicationValve"
    filter=".*\.gif;.*\.js;.*\.jpg;.*\.htm;.*\.html;.*\.txt;"/>
    <Deployer className="org.apache.catalina.cluster.deploy.FarmWarDeployer"
    tempDir="/tmp/war-temp/"
    deployDir="/tmp/war-deploy/"
    watchDir="/tmp/war-listen/"
    watchEnabled="false"/>
    </Cluster>
    -->
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    This access log implementation is optimized for maximum performance,
    but is hardcoded to support only the "common" and "combined" patterns.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <Context path="/tdm" docBase="tdm" debug="0" reloadable="true" />
    </Host>
    </Engine>
    </Service>
    </Server>
    I have set the context path to /tdm in the server.xml file. Should this be placed in context.xml?
    My first page in the project is called Homepage.html. To start my project I give http://localhost:5050/tdm/homepage.html
    in a browser. Here I accept a username and password from the user and then do the validation in
    a valid.jsp file, where I connect to the database and check and use jsp:forward to go to next pages
    accordingly. However when I enter the username and password and click Go in the homepage, nothing is
    displayed on the next page. The URL in the browser says valid.jsp but a blank screen appears.
    WHY DOES IT HAPPEN SO? DOES IT MEAN THAT TOMCAT IS NOT RECOGNIZING JAVA IN MY SYSTEM OR IS IT A PROBLEM
    WITH THE DATABASE CONNECTION OR SOMETHING ELSE? I FEEL THAT TOMCAT IS NOT EXECUTING JSP COMMANDS?
    IS IT POSSIBLE?WHY WILL THIS HAPPEN?
    I set the JAVA_HOME and CATALINA_HOME environment to the jdk and tomcat folders resp.
    Is there any other thing that I need to set in classpath? Should I have my project as a
    WAR file in the webapps of TOMCAT or just a folder i.e. directory structure will fine?

Maybe you are looking for

  • Get additional file attachements with file adapter

    Hello, Has anyone ever had the following situation: A Sender interface sends a little bit of data to XI. This data contains the filenames of some files on a FTP server. Based on these filename the file needs to be retreived from a FTP server and furt

  • C++ speak the text libraries, not sure which option in the project to include

    Hi, i have downloaded all the necessary libraries to speak the text, here the link to the project libraries: http://www.codeproject.com/Articles/17897/audio-ostream-A-Text-to-Speech-ostream and they require to include them in the project settings. Pr

  • How do I get out of a Photo stuck in Constraints

    I was editing a photo and I can save or get out of it? Anyone know why?

  • Browser scrollbar and Flash scrollbar ? I need help!

    Now I have a problem about the scrollbar: The height of my swf file is longer than browser height, so the scrollbar of browser's occurred, if I scroll my mouse wheel, the whole flash roll down, but the problem is that I have used a scrollPanel compon

  • Trade-in Value help?

    Hello, First of all I am a LONG time HP user and with the experience I have had so far I would like to stay that way although recently it does seem very hard to navigate hp's website for sales tech support etc... none of them are linked together so i