I had picked the TR.props from a TDK version that was incompatible with the jar version.
Regards, Akshay
I will really appreciate if you can answer some more questions on the same issue -
1. I had picked the TR.props from the TDK. Please let me
At 04:32 PM 6/11/2003 -0500, you wrote:
Try this instead...
services.ComponentService.name = torque services.ComponentService.torque.classname = org.apache.torque.Torque services.ComponentService.torque.config = /WEB-INF/conf/Torque.properties
-------------------------------------------- Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com
> -----Original Message----- > From: Akshay Kapur [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 11, 2003 4:23 PM > To: [EMAIL PROTECTED] > Subject: "Horrible Exception" on Turbine 2.2 startup > > > My Turbine 2.2 app displays a "Horrible Exception" when the > URL is accessed > for the first time. > The exception in the log is as follows - > > [Wed Jun 11 13:59:06 PDT 2003] -- INFO -- Turbine: init() failed: > java.lang.NullPointerException > at > org.apache.turbine.services.component.TurbineComponentService. > init(TurbineComponentService.java:129) > at > org.apache.turbine.services.TurbineBaseService.init(TurbineBas > eService.java:108) > at > org.apache.turbine.services.BaseInitableBroker.initClass(BaseI > nitableBroker.java:149) > at > org.apache.turbine.services.BaseServiceBroker.doInitService(Ba > seServiceBroker.java:224) > at > org.apache.turbine.services.BaseServiceBroker.initServices(Bas > eServiceBroker.java:193) > at org.apache.turbine.Turbine.init(Turbine.java:257) > > Basically I found out that in the source code of > TurbineComponentService.java, the following line throws the > NullPointerException :- > String [] names = getConfiguration().getStringArray(NAME); > > The getConfiguration() was returning a NULL for "ComponentService". I > opened the source code and put an if-else around the > getConfiguration() > block to prevent the NullPointerException. After this, the > Turbine app runs > smooth as ever. > > Thus, my question is - > Is there any configuration in TR.props that I need to > do to get rid of the > exception? > > The current TR.props configuration is as follows - > > # ------------------------------------------------------------------- > # > # C O M P O N E N T S > # > # ------------------------------------------------------------------- > # Components implementing the lifecycle interfaces can be loaded, > # configured and initialized by Turbine > # ------------------------------------------------------------------- > > component.name = torque > component.torque.classname = org.apache.torque.Torque > component.torque.config = > ${webappRoot}/WEB-INF/conf/Torque.dev.properties > > #component.name = fulcrum > #component.fulcrum.classname = org.apache.fulcrum.Fulcrum > #component.fulcrum.config = > ${webappRoot}/WEB-INF/conf/Fulcrum.properties > > > > --------------------------------------------------------------------- > 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
