You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Chris Joelly <ch...@unycom.com> on 2004/04/29 15:20:48 UTC

Two Turbine apps in one tomcat / logging problems

Hello!

i have some problems getting logging working correct with two turbine
2.3 based applications in one tomcat container:

* every webapp has a different applicationRoot defined in web.xml

when i start tomcat i only can see the first turbine app "booting" in
the logfile catalina.out, so where does the log messages of the second
turbine app do?

and the second problem is, that only the first turbine app loggs to the
configured logfiles, which i have configured through:

WEB-INF/conf/TurbineResources.properties:
log4j.file = /WEB-INF/conf/Log4j.properties

Log4j.properties:

...
log4j.appender.turbine = org.apache.log4j.FileAppender
log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log
log4j.appender.turbine.layout = org.apache.log4j.PatternLayout
log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c - %m%n
log4j.appender.turbine.append = false
...


what's happening with logging of the second turbine app?

btw: the two turbine apps are almost the same, they only use different
databases configured through Torque.

thx, Chris

-- 
mit freundlichen Grüßen / with kind regards
 
Ing. Christian Jölly @ Solutions
unycom  Information Technology Services GmbH
A-8042 Graz | Schmiedlstraße 1 / III

Tel: ++43 (0)316 / 818 828 - 30
Fax: ++43 (0)316 / 818 828 - 38
chris.joelly@unycom.com
http://www.unycom.com

Entweder ich gehe links vorbei, oder ich gehe rechts vorbei.
		-- Ludwig Kögl


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


RequestDispatcher ignores request attributes

Posted by Bruce Altner <ba...@hq.nasa.gov>.
Greetings:

I'm trying to use RequestDispatcher within an action class to allow 
internal processing by another servlet. Two odd things are observed:

1) all parameters set on the request object via setAttribute() are ignored
2) given #1 above, I pass the parameters along on the url string using the 
usual delimiters (?,&,&,...etc) but only the first parameter is used...the 
others are ignored.

Is this a turbine issue?

Thanks,
Bruce


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