You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Inandjo Taurel <in...@hotmail.com> on 2004/01/21 20:00:04 UTC

Problem with Scott TDK 2.3!

hi scott,

i have the following issues with the tdk-2.3_20031210.tar you posted:

- When i first run the ant command to build the newapp, i do not have the 
turbineressources.properties, and
  the torque.properties files. Instead, i have turbineressources.template 
and torque.template.
- When i then manually startup the tomcat, i have the following output:

  log4j:WARN No appenders could be found for logger 
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
Starting service Tomcat-Standalone
Apache Tomcat/4.1.29
WebappClassLoader: 
validateJarFile(c:\tdk\webapps\newapp\WEB-INF\lib\servlet.jar
) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/
servlet/Servlet.class
WebappClassLoader: 
validateJarFile(c:\tdk\webapps\newapp\WEB-INF\lib\servletapi-
2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending 
class:
javax/servlet/Servlet.class
log4j:ERROR Could not find value for key 
log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named "org.apache.torque.engine".
2004-01-21 06:13:25,843 [main] FATAL org.apache.turbine.Turbine - Turbine: 
init() failed:
java.io.FileNotFoundException: 
c:\tdk\webapps\newapp\WEB-INF\conf\TurbineResources.properties (Le fichier 
spÚcifiÚ est introuvable)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:103)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at 
org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesConfiguration.java:190)
        at org.apache.turbine.Turbine.configure(Turbine.java:351)
        at org.apache.turbine.Turbine.init(Turbine.java:230)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3422)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3623)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Apache
Apache Tomcat/4.1.29


The tar file i downloaded was then unpacked and placed in the c:\ on a win2k 
SP4 machine.
There had been no modification on my side, the tar ball was unpacked as 
"was".
Is there anything i am doing wrong,and is there any previous setup that has 
to be done concerning
the log4j?
Thanx.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


RE: Problem with Scott TDK 2.3!

Posted by David Demner <tu...@demner.com>.
Hi Inandjo,

Did you set the tdk.home property properly in build.properties?  I think the
default is for the path to include the version (ie c:\tdk-2.3).

(The error messages says 'Le Ficher' which means the folder - so the path is
probably wrong.)

Good luck,

David

-----Original Message-----
From: Inandjo Taurel [mailto:inandjo@hotmail.com] 
Sent: Wednesday, January 21, 2004 11:00 AM
To: turbine-user@jakarta.apache.org
Subject: Problem with Scott TDK 2.3!


hi scott,

i have the following issues with the tdk-2.3_20031210.tar you posted:

- When i first run the ant command to build the newapp, i do not have the 
turbineressources.properties, and
  the torque.properties files. Instead, i have turbineressources.template 
and torque.template.
- When i then manually startup the tomcat, i have the following output:

  log4j:WARN No appenders could be found for logger 
(org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.
Starting service Tomcat-Standalone
Apache Tomcat/4.1.29
WebappClassLoader: 
validateJarFile(c:\tdk\webapps\newapp\WEB-INF\lib\servlet.jar
) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: 
javax/
servlet/Servlet.class
WebappClassLoader: 
validateJarFile(c:\tdk\webapps\newapp\WEB-INF\lib\servletapi-
2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending 
class:
javax/servlet/Servlet.class
log4j:ERROR Could not find value for key 
log4j.appender.org.apache.torque.engine

log4j:ERROR Could not instantiate appender named "org.apache.torque.engine".
2004-01-21 06:13:25,843 [main] FATAL org.apache.turbine.Turbine - Turbine: 
init() failed:
java.io.FileNotFoundException: 
c:\tdk\webapps\newapp\WEB-INF\conf\TurbineResources.properties (Le fichier 
spÚcifiÚ est introuvable)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:103)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at 
org.apache.commons.configuration.PropertiesConfiguration.<init>(PropertiesCo
nfiguration.java:190)
        at org.apache.turbine.Turbine.configure(Turbine.java:351)
        at org.apache.turbine.Turbine.init(Turbine.java:230)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
5)
        at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
        at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3422)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3623)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:497)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
        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:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Apache
Apache Tomcat/4.1.29


The tar file i downloaded was then unpacked and placed in the c:\ on a win2k

SP4 machine.
There had been no modification on my side, the tar ball was unpacked as 
"was".
Is there anything i am doing wrong,and is there any previous setup that has 
to be done concerning
the log4j?
Thanx.

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org