Thanks, here is the result:

1) yes it was a double >

2) runtime.log = null 

3)default path = C:\ 

4) eclipse warning when i start:

30.04.2006 17:51:03 org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-80

30.04.2006 17:51:03 org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 1472 ms

30.04.2006 17:51:04 org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

30.04.2006 17:51:04 org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.0.28

30.04.2006 17:51:04 org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

30.04.2006 17:51:04 org.apache.catalina.core.StandardHost getDeployer

INFO: Create Host deployer for direct deployment ( non-jmx ) 

30.04.2006 17:51:04 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\balancer.xml

30.04.2006 17:51:05 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\admin.xml

30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.struts.util.LocalStrings', 
returnNull=true

30.04.2006 17:51:05 org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.struts.action.ActionResources', 
returnNull=true

30.04.2006 17:51:06 org.apache.struts.util.PropertyMessageResources <init>

INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', 
returnNull=true

30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\manager.xml

30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\Velocity.xml

30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\webdav.xml

30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\servlets-examples.xml

30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\jsp-examples.xml

30.04.2006 17:51:07 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\tomcat-docs.xml

30.04.2006 17:51:08 org.apache.catalina.core.StandardHostDeployer install

INFO: Processing Context configuration file URL file:C:\Programme\Apache 
Software Foundation\Tomcat\conf\Catalina\localhost\ROOT.xml

30.04.2006 17:51:08 org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-80

30.04.2006 17:51:08 org.apache.jk.common.ChannelSocket init

INFO: JK2: ajp13 listening on /0.0.0.0:8009

30.04.2006 17:51:08 org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/40 config=C:\Programme\Apache Software 
Foundation\Tomcat\conf\jk2.properties

30.04.2006 17:51:08 org.apache.catalina.startup.Catalina start

INFO: Server startup in 4446 ms


 
*Von:* "Velocity Developers List" <[email protected]>
*Gesendet:* 30.04.06 18:27:34
*An:* "Velocity Developers List" <[email protected]>
*Betreff:* Re: can not find velocity template vm


ok, so the if you just want to debug, allow these suggestions.

1) not sure if it was a copy/paste, but if it is there is a double >>
> <param-value>>/WEB-INF/velocity.properties</param-value>

2) check that your properties are being loaded.
System.out.println("runtime.log = " + new 
VelocityEngine().getProperty("runtime.log"));


3) check that you root path is what you think it is.
System.out.println("default path = " + new 
File("/").getAbsolutePath());

other points, not really related....

4) you mentioned you are using eclipse, pay attention to the warnings. it 
will show stuff like the double ;; and the imports, which are easy to clean 
with an organize imports (ctrl + shift + o)

5) likewise checkout veloeclipse for your templates
Help -> Software Updates -> Find and Install... -> Search for new features 
to install -> Add Update Site... ->

Name : Veloeclipse

URL: http://propsorter.sourceforge.net/veloeclipse


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
        



        
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und 
kostenguenstig. Jetzt gleich testen! *http://f.web.de/?mc=021192* 
[http://f.web.de/?mc=021192] 

Reply via email to