In my server.xml as below.
So I should be able to see the site on testsite.mydomain.co.uk:4001. It renders part of the page but has the NoClassDefFoundError: org/apache/xpath/XPathException in the error log.

<Server port="8005" shutdown="SHUTDOWN">

<GlobalNamingResources>
<Resource name="jdbc/DbConn"
         auth="Container"
         type="javax.sql.DataSource"
         driverClassName="com.mysql.jdbc.Driver"
         factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
         url="jdbc:mysql://localhost/myDB"
         username="myUsername"
         password="myPword"
         maxActive="20"
         maxIdle="10"
         maxWait="-1" />
 </GlobalNamingResources>

 <Service name="Tomcat-Standalone">
   <Connector port="4001" maxHttpHeaderSize="8192"
              maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
              enableLookups="false" acceptCount="100"
              connectionTimeout="20000" disableUploadTimeout="true"
               defaultHost="testsite.mydomain.co.uk" />
<Engine name="Standalone" defaultHost="testsite.mydomain.co.uk" debug="0">
    <Host name="testsite.mydomain.co.uk"
        appBase="/home/myUser/myWebapps/" unpackWARs="false"
        autoDeploy="true">
      <Context path="" docBase="testsite/web/" debug="0"> </Context>
    </Host>
   </Engine>
 </Service>
</Server>


Thanks
Barclay

Mark Thomas wrote:
Barclay Curtis wrote:
I have the latest version, Apache Tomcat 5.5.17, and have set it up to
use /home/myUser/myWebapps/ as the webapps dir.

How did you do this?

Mark

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Barclay Curtis
Chief Software Architect

Nexus Media Communications Ltd
Media House, Azalea Drive, Swanley, Kent BR8 8HY
_____________________________________________
+44 (0) 1322 611460
www.nexusmedia.co.uk
----------------------------------------------------------------------------------------
This message (and any [associated] attached files) is intended only for the use 
of the individual or
entity to which it is addressed and may contain information that is 
confidential, subject to copyright or constitutes a trade secret. If you are 
not the intended recipient you are hereby notified that any dissemination, 
copying or distribution of this message, or files associated with this message, 
or the use of any information contained either in the email or in the 
attachment is strictly prohibited. If you have received this message in error, 
please notify us immediately by replying to the message and deleting it, and 
any attachment, from your computer. Messages sent to and from us may be 
monitored by us.

Internet communications cannot be guaranteed to be secure or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. Therefore, we do not accept responsibility of 
any kind or nature for any errors or omissions that are present in this 
message, or any attachment, that have arisen as a result of e-mail 
transmission.  Neither will be responsible for any viruses or other file that 
is capable of altering, corrupting or otherwise changing files or computer 
software on your computer system. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of the company Nexus 
Media Communications.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to