Hi,

Now I have changed my TDK 2.2 installation to have all the T2.3-dev required
jars in the <tdk-home>\tdk\lib and in my
<tdk-home>\webapps\<project-name>\WEB-INF\lib directories. Is this enough to
get it to work like a T2.3 app?

It appears not as I get during the startup:-

(!) NOTICE: Turbine: init() failed: java.lang.NullPointerException
        at
org.apache.turbine.services.logging.TurbineLoggingService.getResources(Turbi
neLoggingService.java:218)
        at
org.apache.turbine.services.logging.TurbineLoggingService.getLoggingConfig(T
urbineLoggingService.java:173)
        at
org.apache.turbine.services.logging.TurbineLoggingService.init(TurbineLoggin
gService.java:148)
        at
org.apache.turbine.services.TurbineBaseService.init(TurbineBaseService.java:
108)
        at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
java:149)
        at
org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBroker.
java:139)
        at
org.apache.turbine.services.TurbineServices.initPrimaryServices(TurbineServi
ces.java:204)
        at org.apache.turbine.Turbine.init(Turbine.java:247)

Because of this I am not getting any log. Here is my log file (by the way
the T2.3 howto example log4j.properties differs significantly from that
supplied with the T2.3 jar. Here is mine

#
# Currently, we use Log4J for all Torque, Fulcrum and Stratum logging
#
log4j.rootLogger = DEBUG, turbine

log4j.category.org.apache.stratum.component.ComponentLoader = ALL,
org.apache.stratum.component.ComponentLoader
log4j.appender.org.apache.stratum.component.ComponentLoader =
org.apache.log4j.FileAppender
log4j.appender.org.apache.stratum.component.ComponentLoader.file =
./logs/turbine.log
log4j.appender.org.apache.stratum.component.ComponentLoader.layout =
org.apache.log4j.PatternLayout
log4j.appender.org.apache.stratum.component.ComponentLoader.layout.conversio
nPattern = %d [%t] %-5p %c - %m%n
log4j.appender.org.apache.stratum.component.ComponentLoader.append = false

log4j.category.org.apache.torque = ALL, org.apache.torque
log4j.appender.org.apache.torque = org.apache.log4j.FileAppender
log4j.appender.org.apache.torque.file = ./logs/turbine.log
log4j.appender.org.apache.torque.layout = org.apache.log4j.PatternLayout
log4j.appender.org.apache.torque.layout.conversionPattern = %d [%t] %-5p %c-
%m%n
log4j.appender.org.apache.torque.append = false

log4j.category.org.apache.fulcrum = ALL, org.apache.fulcrum
log4j.appender.org.apache.fulcrum = org.apache.log4j.FileAppender
log4j.appender.org.apache.fulcrum.file = ./logs/turbine.log
log4j.appender.org.apache.fulcrum.layout = org.apache.log4j.PatternLayout
log4j.appender.org.apache.fulcrum.layout.conversionPattern = %d [%t] %-5p
%c- %m%n
log4j.appender.org.apache.fulcrum.append = false

log4j.category.org.apache.turbine = DEBUG, turbine
log4j.appender.turbine = org.apache.log4j.FileAppender
log4j.appender.turbine.file = ./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

 and then

org.apache.turbine.services.InstantiationException: ServiceBroker: unknown
service PoolService requested
        at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseService
Broker.java:354)
        at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:296)
        at
org.apache.turbine.util.RunDataFactory.putRunData(RunDataFactory.java:226)

in the browser when I hit the web app. I have removed all references to the
PoolBroker service from TR.props as the wiki suggests.

I am running from Eclipse and have changed the Tomcat plugin to point to the
correct directory used by the web app referred to above.

Any further hints?

Thanks

David

-----Original Message-----
From: Henning P. Schmiedehausen [mailto:[EMAIL PROTECTED]
Sent: 24 June 2003 09:18
To: [EMAIL PROTECTED]
Subject: Re: Extending TurbineURI to allow Google to include site


"David Wynter" <[EMAIL PROTECTED]> writes:

>Hi,

>See http://marc.theaimsgroup.com/?l=turbine-user&m=103008672127247&w=2 for
>details on why Google does not index pages from Turbine.

Ok, I looked into this. This is a hack. ;-) (I understand that Google
does such things, but why? Is there anything bad with the choice of
"," in an URL?

The poster above does one mistake. The Query-Pairs are (afaik) ordered and
he relies on the order to come out right. We give no guarantees about the
parameter ordering in an URL. However, I will look into this to get some
sort of "be happy with google" switch.

>I am using T2.3-dev from CVS on 10th June in ...\WEB_INF\lib, not T2.2. I
>have since realised that this will only encode query pairs as the items in
>the list added have to be URIParams. All addPathInfo methods need the
>name=vaue pair it looks like. Therefore can I just use this then?

But you deploy on Turbine-2.2 Or you have a second turbine jar in your
WEB-INF/lib directory. Are you using the tdk? Make sure that you
didn't get a turbine-2.2 jar in your WEB-INF/lib directory.

        Regards
                Henning

--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development  -- hero for hire

--- Quote of the week: "It is pointless to tell people anything when
you know that they won't process the message." --- Jonathan Revusky

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


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

Reply via email to