JSF 1.2 and Tomcat 6.0.16, error parsing 'jsf-ri-runtime.xml'

I am working on an application that used jsf 1.1 but would like to move to jsf 1.2. I've added the 1.2 jars (jsf-api.jar and jsf-impl.jar) and jstl-1.2.jar to the app. When I deploy to tomcat 6, i get the following error:
15-Feb-2008 11:30:36 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! Unable to parse document 'jar:file:/C:/servers/apache-tomcat-6.0.16/webapps/myWebApp/WEB-INF/lib/jsf-impl-1.2.jar!/com/sun/faces/jsf-ri-runtime.xml': This parser does not support specification "null" version "null"
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:174)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
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:829)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
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.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: com.sun.faces.config.ConfigurationException: Unable to parse document 'jar:file:/C:/servers/apache-tomcat-6.0.16/webapps/myWebApp/WEB-INF/lib/jsf-impl-1.2.jar!/com/sun/faces/jsf-ri-runtime.xml': This parser does not support specification "null" version "null"
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:409)
at com.sun.faces.config.ConfigManager$ParseTask.call(ConfigManager.java:353)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
I thought this would have something to do with the xml parser so i added jaxb and jaxp to the application but I still get the same error. Can anyone help? Is there a possibility that a library in the app is overriding jaxb/jaxp?

I had a similar problem on OC4J. For some crazy reason, Oracle still bundles their own XML parser (I say still. It's OC4J 10.1.3 we have in production, so we're just a wee bit behind the curve). At any rate, I had to tell OC4j not to use Oracle's XML parser and just the one bundle with the JRE (1.5). IIRC (and I should know this since I work on Mojarra :), that's caused by an older version of JAXB, so I think you're on the right track. You might check to see if Tomcat 6 bundles JAXB. If it does, you'll need to remove it or update it. If you're on 1.5 or greater, I don't think you need to have that in the app server lib anyway, as the JDK/JRE bundles it.
Hope that helps. :)

Similar Messages

  • Can't parse configuration  jsf-ri-runtime.xml

    When I try to do the Example about JSF in (How To Use JSF with JDeveloper 10g) and run it I found this problem
    SEVERE: Can't parse configuration file:classloader:/com/sun/faces/jsf-ri-runtime.xml
    and I have jDeveloper ver 9.0.5.2
    and java ver 1.4.2.04
    Plz Help
    Alaa

    I installed the 9.052 build of JDeveloper and it solved the problem. Per forum thread: Re: JSF Configuration error in JDeveloper10g

  • ADF Event  and Tomcat 5.0.16 Error

    I've deployed an ADF application to a Tomcat 5.0.16 server. I noticed the Tomcat logs contain this error:
    2004-10-28 13:38:27 StandardContext[HETA]No Method onAddAccounting and no actionBinding AddAccounting found.
    I've got a JSP with an Add Accounting button like this:
    <input type="SUBMIT" value="Add New Accounting" name="event_AddAccounting" >
    The struts-config.xml for this JSP looks like this:
    <action name="DataForm" path="/clientAccounting" className="oracle.adf.controller.struts.actions.DataActionMapping" parameter="/clientAccounting.jsp" type="oracle.adf.controller.struts.actions.DataForwardAction">
    <set-property property="modelReference" value="clientAccountingUIModel"/>
    <set-property property="methodName" value="clientAccountingUIModel.setUpClientAccountingList"/>
    <set-property property="resultLocation" value="${requestScope.methodResult}"/>
    <set-property property="numParams" value="1"/>
    <set-property property="paramNames[0]" value="${sessionScope.CaseHeader.clntIdSeq}"/>
    <forward name="AddAccounting" path="/clientAccountingEdit.do"/>
    </action>
    The forward works just fine, but it bugs me that this message is being logged each time the Add Accounting button is pressed.
    Any idea why this message is being logged in the Tomcat logs?

    I had a similar problem on OC4J. For some crazy reason, Oracle still bundles their own XML parser (I say still. It's OC4J 10.1.3 we have in production, so we're just a wee bit behind the curve). At any rate, I had to tell OC4j not to use Oracle's XML parser and just the one bundle with the JRE (1.5). IIRC (and I should know this since I work on Mojarra :), that's caused by an older version of JAXB, so I think you're on the right track. You might check to see if Tomcat 6 bundles JAXB. If it does, you'll need to remove it or update it. If you're on 1.5 or greater, I don't think you need to have that in the app server lib anyway, as the JDK/JRE bundles it.
    Hope that helps. :)

  • TS5376 I have been trying to install Itunes for the past 1.5 days without success.  The method outlined here did not work and gave me the same error messages as before  Runtime error R6034 and  also error 7

    I tried the latest Apple fix to resolve the installation issues of iTunes 11.1.4 and had no success at all.  This was the fix that asked you to remove .dll files and place them on the desktop before unistalling and reinstalling iTunes.  I followed the procedure exactly and obtained the same results as before.
    Namely,
    Runtime Error: R6034 -An application has made an attempt to load the C runtime library incorrectly
    iTunes was not installed correctly.  Error 7.
    At this point, after spending 1.5 days attempting to install iTunes I am giving up.  Hopefully, someone will come up with a fix that really works and I will install it then.

    Hi
    I had the same problem on my PC's with Win 7 and Win XP.
    I solved it this way:
    - De-install iTunes, best with a special tool, like, for example "Your Uninstaller" from Ursoft. Any other un-installer will do the job, provided it cleans the registry of traces from iTunes
    - De-install "Apple Mobile Device Support". This seems to be the culprit. It is a sub-program of iTunes. But if you just de-install iTunes this sub-program stays in your PC. If you still have it on your PC and you try to update to 11.1.4, it will cause these problems.
    - De-install also "Apple Application Support", but I am not sure it is really necessary, but de-installing does no harm, since it will be re-installed automatically.
    - De-install also "Apple Software Support", but I am not sure it is really necessary, but de-installing does no harm, since it will be re-installed automatically.
    - Re-start your PC
    - Download the latest version of iTunes from the Apple webpage and install it.
    For me this worked on both of my PC's.
    Regards
    goletto

  • Sybase jconnect and tomcat 5. Getting error:Cannot get a connection, pool

    Hi,
    I am not sure why i am getting this error.
    All the drivers are in the write location. Tomcat does find and load the driver correctly.
    But... when i try to connect, i get this error.
    org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted, cause:
    java.util.NoSuchElementException: Could not create a validated object
    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:851)
    at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:140)
    at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
    at com.aoltw.ic.ars.data.DAO.connect(DAO.java:233)
    at com.aoltw.ic.ars.data.authenticateDAO.getGroups(authenticateDAO.java:114)
    at com.aoltw.ic.ars.data.authenticateDAO.getUserInfo(authenticateDAO.java:97)
    at com.aoltw.ic.ars.helpcentral.presentation.action.loginAction.authenticate(loginAction.java:35)
    at com.aoltw.ic.ars.helpcentral.presentation.action.loginAction.execute(loginAction.java:86)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
    Thanks
    --Arun

    What is the "right" location? I'll assume you mean your app's WEB-INF/lib.
    Sounds like your Java code isn't closing statements and/or connections properly, or perhaps you need to increase the number of connections in the pool. I'm guessing it's the former.
    MOD

  • Error : XDK 902b,  jdk 1.3.1_02, Tomcat 3.2.3, server can't  find XSQLConfig.xml

    Hi xml-folks :
    I am having a show stopping problem with my IBM NT server 4.0 s-pac 6 env. Error : XDK 902b with jdk 1.3.1_02 and Tomcat 3.2.3, server can't find XSQLConfig.xml file.
    Components : IIS 4.0, Tomcat 3.2.3, JDK 1.3.1_02, XDK 9.0.2b
    - all components were down loaded and installed from apache.org, sun.java and otn this week.
    ERROR : in Internet Explorer
    I type in ...
         Http://geoweb:8080/geoapp/helloworld/helloworld.xsql
    I recieve ...
         Oracle XSQL Servlet Page Processor 9.0.2.0.0(Beta)
         XSQL - 003 : Failed to find 'XSQLConfig.xml' in file server CLASSPATH.
    ( ... seems straight forward to fix, doesn't it.)
    - history IIS works, jakarta is up as a service, it's mapped as an IIS vritual directory, Tomcat serves the demo t-c JSP and Servlets from : Http://geoweb:8080/geoapp, the java env works (java, javac, jar, etc). I've done everything to try to get the CLASSPATH to recognized the XSQLConf file, jar'ed it, renamed it to zip. And of course the file still resides in my XDK home E:\xdk_java_902b\lib, I've tried that in the path too.
    < nt_system_variables >
    CLASSPATH=E:\Tomcat3.2.3
    \lib\XSQLConfig.jar;E:\xdk_java_902b\lib\classes12.zip;E:\xdk_java_902b\lib\classgen.jar;E:\xdk_java_902b\lib\oraclexsql.jar;E:\xdk_java_902b\lib\transx.zip;E:\xdk_java_902b\lib\xmlmesg.jar;E:\xdk_java_902b\lib\xmlparserv2.jar;E:\xdk_java_902b\lib\xschema.jar;E:\xdk_java_902b\lib\xsqlserializers.jar;E:\xdk_java_902b\lib\xsu12.jar;E:\xdk_java_902b\xdk\admin
    COMPUTERNAME=GEOWEB
    ComSpec=C:\WINNT\system32\cmd.exe
    DiskeeperIcon=C:\Program Files\Executive Software\DiskeeperServer\
    HOMEDRIVE=C:
    HOMEPATH=\
    INCLUDE=E:\Program Files\Mts\Include
    JAVA_HOME=e:\jdk1.3.1_02
    LIB=E:\Program Files\Mts\Lib
    LOGONSERVER=\\GEO3
    NUMBER_OF_PROCESSORS=4
    OS=Windows_NT
    Os2LibPath=C:\WINNT\system32\os2\dll;
    Path=E:\jdk1.3.1_02\bin;E:\Perl\bin\;E:\Oracle8i\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\PROGRA~1\IBM\UMS\DMI\bin;C:\Program Files\IBM\UMS;C:\WINNT\system32;C:\WINNT;E:\Program Files\Mts;C:\WINNT\System32\WBEM;C:\PROGRA~1\IBM\UMS\Director\Bin;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 1, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0a01
    PROMPT=$P$G
    SystemDrive=C:
    SystemRoot=C:\WINNT
    TEMP=C:\TEMP
    TMP=C:\TEMP
    TOMCAT_HOME=e:\Tomcat3.2.3
    UMS_DRIVE=C:
    UMS_HOME=C:\Program Files\IBM\UMS
    USERDOMAIN=GEO
    USERNAME=GEONETADMIN
    USERPROFILE=C:\WINNT\Profiles\geonetadmin
    WIN32DMIPATH=C:\PROGRA~1\IBM\UMS\DMI
    windir=C:\WINNT
    </ nt_system_variables >
    Anyone have any Ideas ?

    I should have included my wrappers.properties in the original part of the thread. Here it is with the working corrections.
    Once I added : wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    to my wrappers.properties file the XML-003 error went away, i.e. its working ... I can see the XSQLCOnfig.xml file now. I don't think this is the nornal way this should be fixed but literally nothing else I did worked. I tried things like adding a system variable XML_CONF=%XML_HOME%\lib and modified my CLASSPATH to simply poiint to the %TOMCAT_HOME%\lib ( where my XSQLConfig.xml file is located). those did not get this woring ... only by adding the "wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    " to my wrappers.properties file did it work.
    I hope this helps people, but I do believe this is very non-standard (this isn't the way this is supposed to be working). Everything I've read by Oracle OTN, Steve M. etc. and the boards here suggest this isn't supposed to be this hard. But it was for me.
    now I'm dealing with a XML-007 error, but thats very solvable, theres plenty of documentation on why your JDBC connection is failing, worse comes to worse I'll re-install the JDBC-Oracle 8i client software.
    E#
    # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v 1.2.2.1 2000/10/16 01:59:22 larryi Exp $
    # $Revision: 1.2.2.1 $
    # $Date: 2000/10/16 01:59:22 $
    # jk_service.properties - a bootstrup file for the Tomcat NT service.
    # This file provides jk_nt_service with the needed information to
    # start tomcat at a different process.
    # As a general note, the characters $( and ) are used internally to define
    # macros. Do not use them!!!
    # Whenever you see a set of lines such as:
    # x=value
    # y=$(x)\something
    # the final value for y will be value\something
    # Normaly all you will need to modify is the first two properties, i.e.
    # wrapper.tomcat_home and wrapper.java_home. Most of the configuration
    # is derived from these two.
    # wrapper.tomcat_home should point to the location where you
    # installed tomcat. This is where you have your conf, webapps and lib
    # directories.
    wrapper.tomcat_home=E:\Tomcat3.2.3
    # wrapper.java_home should point to your Java installation. Normally
    # you should have a bin and lib directories beneath it.
    wrapper.java_home=E:\jdk1.3.1_02
    #------ ADVANCED MODE ------------------------------------------------
    # Make sure that you read the how-to before making too many changes.
    # Defining where the service is going to put the standard
    # output of Tomcat. This is where System.out.println and
    # System.err.println goes to.
    wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
    wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr
    # Additions to the path. put here directories where you store DLLs for
    # native methods etc.
    wrapper.ld_path=e:\
    wrapper.ld_path=c:\
    # Defining the classpath. All the rows that belongs to the class_path
    # property are concatenated to create the classpath for Tomcat.
    # If you have additional locations that you would like to add to the
    # claspath you should add a new wrapper.class_path=<location> line.
    wrapper.class_path=$(wrapper.tomcat_home)\classes
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
    wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
    # Here we add the classes required for the xsql servlet and any
    # other apps.
    wrapper.class_path=E:\xdk_java_902b\lib\XSQLConfig.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classes12.jar
    wrapper.class_path=E:\xdk_java_902b\lib\classgen.jar
    wrapper.class_path=E:\xdk_java_902b\lib\oraclexsql.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlmesg.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xmlparserv2.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xschema.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsqlserializers.jar
    wrapper.class_path=E:\xdk_java_902b\lib\xsu12.jar
    wrapper.class_path=E:\xdk_java_902b\xdk\admin
    # This is where Javac is located in JDK1.3.x
    wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
    # and a tribute to JDK1.1.x
    # wrapper.class_path=$(wrapper.java_home)\lib\classes.zip
    # This is the Java interpreter used for running Tomcat
    wrapper.javabin=$(wrapper.java_home)\bin\java.exe
    # This is Tomcat's startup class (the class that contains Tomcat's
    # starting point.
    wrapper.startup_class=org.apache.tomcat.startup.Tomcat
    # This is the location where tomcat's server.xml configuration file
    # is located.
    wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml
    # The NT service uses AJP12/AJP13 to shutdown Tomcat. The
    # wrapper.shutdown_port tells the service the identity of the port that
    # is used by AJP12/AJP13.
    wrapper.shutdown_port=8007
    # Can either be ajp12 or ajp13 depending on your configuration.
    # Default value is ajp12
    wrapper.shutdown_protocol=ajp12
    # This is the command line that is used to start Tomcat. You can add extra
    # parameters to it but you can not remove anything.
    wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path) $(wrapper.startup_class) -config $(wrapper.server_xml) -home $(wrapper.tomcat_home)

  • Itunes recently attemped to upgrade to the next version on two of my Windows computers, and now I get an error message

    My Windows computers (one Windows Vista computer, one XP sp3 computer)  recently attemped to upgrade Itunes to the latest version, and now, I get an error message that reads:
    Runtime Error
    R6034
    An application has made an attempt to load the C runtime Library incorrectly.  Please contact the application's support team for more information.  When I click OK, I get another error message tat states "Itunes was not installed correctly.  Please re-install Itunes.  Error 7 (Windows Error 1114).When I re-install
    When I re-install Itunes, I get the same result.
    Now, Itunes will not work.  I cannot play any of my Pod Casts, or downloaded music.  Quick Time Player, and any other Apple application does not work.  What, if anything, is being done to fix this?

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    The information in the first link is Apple's only public acknowledgement of this issue. No other actions they're taking to address this are publicly known.
    (100293)

  • JSF JDK and Tomcat related

    Hi All,
    Can JSF work on JDK 1.3.1 and tomcat 4.0.3

    I think not to both questions.
    https://javaserverfaces.dev.java.net/faq.html#Code_build

  • Communication problem between NetBeans and Tomcat

    hi!
    i got a quite mysterious problem. here is what happens:
    - i start NetBeans 5.5.1 (the first time)
    - i want to debug my JSF-Project, the Debugger starts
    - After a few seconds the debugger waits for tomcat (it sais: "Waiting for Tomcat...") and tomcat starts
    - Again after a few seconds the tomcat-debugger-output sais "Tomcat startet in 3333 ms".
    okay.
    when i enter http://localhost:8084/ in my browser i get the tomcat homepage, so the server has definitely started! But nothing happens in NetBeans and nothing happens with my project....
    In the lower-right corner i see this blue working-bar that sais "deploying project" but nothing happens. The Project-Debugger-Output still sais "Waiting for Tomcat..." but nothing happens...
    And after something around 3 minutes (i guess it's a timeout) i get the error "Starting of Tomcat failed." But is HAS started, i can login to the Administration-Area in my browser!
    so i guess there is a communication problem between netbeans an tomcat. Netbeans waits for a message from tomcat but tomcat doesn't send it..or netbeans doesn't understand it.
    But the story goes on:
    When i press the debug-button a second time it takes only a few seconds till i get the message: "Tomcat server port 8084 already in use". OF COURSE! Because Tomcat has already startet and can't be stoped by NetBeans.
    i'm trying to solve this problem for 4 days now, so i would be very happy if anyone has an idea where to start/continue the search...
    thanks,
    flo.
    some system-info:
    - windows vista business 32-bit
    - no firewall is running
    - AntiVir Personal Edition IS running
    - Yahoo Widgets Engine IS running
    - no other software is running
    and finally the tomcat-log:
    Using CATALINA_BASE: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base
    Using CATALINA_HOME: C:\Program Files\NetBeans\enterprise3\apache-tomcat-5.5.17
    Using CATALINA_TMPDIR: C:\Users\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\temp
    Using JRE_HOME: C:\Program Files\Java\jdk1.5.0_12
    Listening for transport dt_shmem at address: tomcat_shared_memory_id
    21.09.2007 18:27:50 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_12\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\cvsnt;
    21.09.2007 18:27:50 org.apache.coyote.http11.Http11BaseProtocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:50 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1862 ms
    21.09.2007 18:27:50 org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    21.09.2007 18:27:50 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
    21.09.2007 18:27:50 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    21.09.2007 18:27:53 org.apache.coyote.http11.Http11BaseProtocol start
    INFO: Starting Coyote HTTP/1.1 on http-8084
    21.09.2007 18:27:54 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    21.09.2007 18:27:54 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/31 config=null
    21.09.2007 18:27:54 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    21.09.2007 18:27:54 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 3626 ms

    As i wrote before, the same problem occured for me. I have found a solution which is : Go to tools menu and then select options . In the proxy info, select No Proxy.
    I hope this help you

  • EA4 and Tomcat

    Ok, after downloading over 50 MB of JWSDP 1.2 just to get the 6 MB of JSF, I install it and it won't start. Ok, I couldn't care less about JWSDP. So I take jsf-guessNumber.war and drop it into my Tomcat's webapps directory. First error I get:
    org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distr
    ibutable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
    me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-
    entry*,ejb-ref*,ejb-local-ref*)".
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    It looks like your web.xml files are incorrect. I fix this, and I get this new error:
    Apache Tomcat/4.1.24
    org.xml.sax.SAXParseException: Document root element "taglib", must match DOCTYPE root "null".
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    <rant>
    I said it for the last EA, but what are you guys thinking about? JSF should work out of the box with Tomcat 4.1.x, or come with clear instructions to make it work.
    </rant>
    -Erik

    I'm using Tomcat 4.1.24 that is bundled with JBoss 3.2.x. I followed the instructions from the web page but run into the following errors:
    23:55:27,250 ERROR [Engine] StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw excep
    tion
    org.apache.jasper.JasperException: Unable to compile class for JSP
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:478)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
    at com.sun.faces.context.ExternalContextImpl.dispatchMessage(ExternalContextImpl.java:298)
    at com.sun.faces.lifecycle.ViewHandlerImpl.renderView(ViewHandlerImpl.java:53)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:89)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:169)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    [snip]
    23:55:27,296 ERROR [Engine] ----- Root Cause -----
    java.lang.NullPointerException
    at org.apache.tools.ant.Project.setSystemProperties(Project.java:862)
    at org.apache.tools.ant.Project.init(Project.java:316)
    at org.apache.jasper.compiler.Compiler.getProject(Compiler.java:172)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:273)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
    at com.sun.faces.context.ExternalContextImpl.dispatchMessage(ExternalContextImpl.java:298)
    at com.sun.faces.lifecycle.ViewHandlerImpl.renderView(ViewHandlerImpl.java:53)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:89)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:169)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    Can anyone offer some insight?

  • Problem with ssl and tomcat

    Hi to all, I'm trying to do ssl in a intranet. I have tomcat 4.1 and JDK 4.1_02. I have following all steps thats indicate the tomcat ssl documentation, I have copied the jcert.jar jnet.jar and jsse.jar to the directorie jre\lib\ext I have generated the keystore and verisign have sent me the keys. I have modified the server.xml where I have put the new port and the factory tag but I cannot see a page through https.
    I have port 8080 that redirects to 8443, which have the scheme=https.
    if I put http:\\localhost:8080 appear the tomcat home page.
    if I put https:\\localhost:8443 not appear nothing.
    if I put http:\\localhost:8443 not appear error but don't show nothing.
    I have seen the log of tomcat and appear an exception:
    org.apache.commons.digester.Digester error
    Parse Error al line 89 column 11: the content element type "web-app" must match (icon?,display-name?....
    this exception don't appear previously,it seems that is a problem of xerces.
    Any idea or help it is welcome.
    THANKS.

    Obviously you have a syntax error in your one of your .xml files. Most likely in either the global web.xml or the application specific one.

  • Problem launching a jsp page with eclipse and tomcat

    Hi,
    I have just started using eclipse and tomcat for creating dynamic web pages. I tried to launch a jsp page after starting the tomcat server with the URL: http://locahost:8080/HelloWorld/, an error page was displayed as below:
    HTTP Status 404 -/
    type Status report
    message /_
    description The requested resource (-) is not available
    Apache Tomcat/5.5.17
    I didn't get any error at the console and when i just typed http://localhost, a pop up menu saying that the connection was refused when attempting to contact localhost.
    I'm not sure what is the problem here. Could it be the permssion to the localhost is not granted by the system as the eclipse IDE is running using linux?
    Hope someone can help.
    Thanks.

    http://www-128.ibm.com/developerworks/library/os-ectom/

  • Right problem with apache and tomcat

    Bonjour;
    I use a user login "apache" to stop/start Apache and tomcat. Because never launching apache et tomcat as root.
    But I have the following problem with apache (file error.log) :
    [Tue May  6 17:26:22 2003] [error] Connection "warpConnection" cannot connect
    [Tue May  6 17:26:22 2003] [error] Cannot open connection "warpConnection"
    [Tue May  6 17:27:01 2003] [error] Re-Trying to deploy connections
    As root the error msg does'nt exists (lost)
    Best regards;
    A+;

    Run it from the shell to see whats wrong:
    # httpd

  • Authentication problem with JWS and TOMCAT

    Hi everyone !
    I have a problem with Java Web Start (1.0.1) and Tomcat (4.0.4).
    I'm trying to call my application via Web server Tomcat with restricting access.
    My configuration is the following :
    The deployment descriptor web.xml is:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <mime-mapping>
    <extension>jar</extension>
    <mime-type>application/java-archive</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>java</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jnlp</extension>
    <mime-type>application/x-java-jnlp-file</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>JNLP</extension>
    <mime-type>application/x-java-jnlp-file</mime-type>
    </mime-mapping>
    <!-- Define a Security Constraint on this Application -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Entire Application</web-resource-name>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <!-- NOTE: This role is not present in the default users file -->
    <role-name>standard</role-name>
    </auth-constraint>
    </security-constraint>
    <!-- Define the Login Configuration for this Application -->
    <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>MY APPL</realm-name>
    </login-config>
    </web-app>
    And jnlp File is:
    <jnlp
    spec="1.0+"
    codebase="http://host:8080/Official/"
    href="Application.jnlp">
    <information>
    <title>Application release 0.10</title>
    <vendor> XXXX </vendor>
    <homepage href="/"/>
    <description>Application</description>
    <description kind="short">My Application</description>
    <icon href="Icon.gif"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3"/>
    <jar href="Jar1.jar"/>
    <jar href="Jar2.jar"/>
    <jar href="Jar3.jar"/>
    <jar href="Jar4.jar"/>
    <jar href="Jar5.jar"/>
    <jar href="Jar6.jar"/>
    <jar href="Jar7.jar"/>
    <jar href="Jar8.jar"/>
    <jar href="Jar9.jar"/>
    <jar href="Jar10.jar"/>
    <jar href="MyApplication.jar"/>
    </resources>
    <application-desc main-class="com.xxxx.tool.cm.MyApplication"/>
    </jnlp>
    With the above configuration the Java Web Start not work.
    I'm expecting the message box for insert username and password instead it returns the messagge error :
    An error occurred while launching/running the application.
    Vendor: XXXX
    Category: Download Error
    Unable to load resource: http://host:8080/Official/Application.jnlp
    The Exception error is:
    JNLPException[category: Download Error : Exception: java.lang.NullPointerException : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I have tried to remove the restrict access in the deployment descriptor (web.xml) and java Web Start WORKS !!!!!!
    I'll appreciate any idea or hint!
    Thanks in advance

    Check this out
    http://forum.java.sun.com/thread.jsp?forum=38&thread=456250
    Mad Einstein

  • Why do I need to restart Apache and Tomcat every time a java file is change

    If a java file is changed and complied the changes are not reflected if Tomcat is not restarted.
    The settings in server.xml are as:
    <!-- Tomcat Manager Context -->
    <Context path="/manager" docBase="manager" debug="0" privileged="true"/>
         <Context path="/cf" docBase="cf" debug="0" reloadable="false"/>
    Here "cf" is my Application folder under webapps. The reloadable property when set to "true" for standalone Tomcat on Windows98 reflects the changes for compiled java files without restarting Tomcat. But on Linux 7.1 with Apache 1.3.19 and Tomcat 4.0.3 this is not working.
    Also tried out with Manager Application of tomcat-users.xml with reloadable="false" as well as reloadable="true",
    But when I reload the application using the command
    http://servername:8080/manager/reload?path=/appli.name
    It tells me that the application is reloaded but changes in the java file are still not reflected.
    Also when reloaded through Manager Servlet, Only my load-on-startup servlet is reloaded, but other java classes are not.
    Is it neccessary to execute this reload command from the server itself. I m executing it from a remote m/c. and have mapped the application with a domain name virtually.
    Is it the case with Tomcat on Linux with Apache. Or is something going wrong on my part.
    Can someone Help out plz.
    Regards,
    Rupali

    or you can "touch" your web.xml file.
    touch web.xmlor that command is for *nix systems, not sure what the Windows command is.  But basically, when you edit the web.xml, even if it means updating the last modified time, it will restart only your application and you should see the changes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Kodo 3.0.0 beta now available

    All, Kodo JDO 3.0.0 beta 1 is now available at: http://solarmetric.com/Software/beta/3.0.0/ Kodo JDO 3.0.0 is a major release, and contains significant changes to properties, mapping information, and Kodo-specific APIs. To read more about these, and

  • FCP 6: poor export quality in mp4

    Hello, I have a Final Cut Pro 6 project, 90 minutes. It is a multiclip project: 2 little minidv tapes of a live concert of my band. I have done all the editing and I have just exported the project in mpeg4. This is not the first time, I have done thi

  • HT4623 I  don't have that option in my settings I only have a generation 4 iPod?

    I am loosing programs cause I can't update my iPod. It does not have IOS. In settings there is no where that I can update by pushing a button. How do I update it?

  • Convert number to words

    is there a way in numbers to convert numbers to words, for example"2300" to"two thousand and three hundred".

  • Error message while trying video and audio chat.

    I have tiger 10.4.11 and tried to video chat with leopard, without success. Writing is ok. However, my friend on leopard was capable to chat with another friend, so the issue is with me. Now I remember that I tried to set up a video chat with amsn, w