Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    Java Programming

    AJP Connector on Tomcat


    Hi there,

    I'm trying to use connector between Apache and Tomcat 5.5.
    Do to that, I've added some lines to server.xml:
           <Connector
                   address="192.168.2.101" port="8009"
                   protocol="AJP/1.3"
                   tomcatAuthentication="false" />

    When I start Tomcat (on Windows XP, for test purposes), I obtain a stack
    trace error:
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.apache.catalina.startup.Bootstrap.start
    (Bootstrap.java:294)
            at org.apache.catalina.startup.Bootstrap.main
    (Bootstrap.java:432)
    Caused by: javax.xml.parsers.FactoryConfigurationError: Provider
    org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not f
    ound
            at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown
    Source)
            at org.apache.commons.modeler.util.DomUtil.readXml
    (DomUtil.java:284)
    ...

    This error disappears if I remove inserted lines.
    Does anybody can hel me ?

    Thanks for your answers

    Armel

    In article <MPG.20ae4a2820062a9e989@news.free.fr>,
    enlever_ceci_armel.herve.enlever_c@laposte.net says...

    Actually, I have the same problem on Fedora...

    Armel

    copy/paste whole server.xml
    In article <1178885524.063973.9@l77g2000hsb.googlegroups.com>,
    rng@gmail.com says...
    > copy/paste whole server.xml

    I have found what's wrong: tomcat does not have xerces installed. If I
    put xercesimpl.jar in {tomcat_home}/server/lib, all works fine.

    for information, this is my server.xml:

    <Server port="8005" shutdown="SHUTDOWN">
      <Service name="Catalina">
           <Connector
                   address="192.168.2.101" port="8009"
                   protocol="AJP/1.3"
                   tomcatAuthentication="false" />

        <!-- Define the top level container in our container hierarchy -->
        <Engine name="Catalina" defaultHost="192.168.2.101">
           <Host
                   name="192.168.2.101" appBase="/d:/ProgramShop/server"
                   unpackWARs="false" autoDeploy="false"
                   xmlValidation="false" xmlNamespaceAware="false">
            <Valve className="org.apache.catalina.valves.AccessLogValve"
                    directory="logs"  prefix="localhost_access_log."
    suffix=".txt" pattern="combined" resolveHosts="false"/>

          </Host>
        </Engine>
      </Service>
    </Server>

    Thanks

    Armel

    Armel HERVE wrote:
    > I have found what's wrong: tomcat does not have xerces installed. If I
    > put xercesimpl.jar in {tomcat_home}/server/lib, all works fine.

    Tomcat should not need Xerces there.

    Are you by any chance running Tomcat on an old Java version
    without builtin XML parser ?

    Arne

    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc