tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petr Prochazka <pprocha...@gk-software.com>
Subject Different context path of deployed application
Date Fri, 17 Dec 2010 16:05:37 GMT
Hi all,
I have problem with deploying application to Tomcat with different
context path.

I prepared war *attendance-0.4.war* and I want that will be access in
context path */attendance*.
I create context config file *attendance-0.4.xml* and copy to
$CATALINA_BASE/conf/Catalina/localhost directory
Content of config file is:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/attendance" />

After running of server is deployed context path of application
*/attendance-0.4*.

Envirnment configuration:

    * Using CATALINA_BASE:   "D:\java\apache-tomcat"
    * Using CATALINA_HOME:   "D:\java\apache-tomcat"
    * Using CATALINA_TMPDIR: "D:\java\apache-tomcat\temp"
    * Using JRE_HOME:        "D:\java\jdk"
    * Using CLASSPATH:       "D:\java\apache-tomcat\bin\bootstrap.jar"
    * Java Version:          "1.6.0_21"
    * Default locale:        cs_CZ, platform encoding: Cp1250
    * OS name:               "windows xp" version: "5.1" arch: "x86"
      Family: "windows"


Fragment of catalina.out is:
17.12.2010 17:01:22 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
17.12.2010 17:01:22 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 506 ms
17.12.2010 17:01:22 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
17.12.2010 17:01:22 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
17.12.2010 17:01:22 org.apache.catalina.startup.HostConfig start
FINE: HostConfig: Processing START
17.12.2010 17:01:22 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor attendance-0.4.xml
17.12.2010 17:01:23 org.apache.catalina.session.ManagerBase init
FINE: Registering Catalina:type=Manager,path=/attendance-0.4,host=localhost
17.12.2010 17:01:23 org.apache.catalina.session.StandardManager start
FINE: Force random number initialization starting
17.12.2010 17:01:23 org.apache.catalina.session.ManagerBase getDigest
FINE: Getting message digest component for algorithm MD5
17.12.2010 17:01:23 org.apache.catalina.session.ManagerBase getDigest
FINE: Completed getting message digest component
17.12.2010 17:01:23 org.apache.catalina.session.ManagerBase getDigest
FINE: getDigest() 0


Am I doing something wrong?

Thanks for any reply


Petr P.

Mime
View raw message