You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Jürgen Hoffmann <jh...@byteaction.de> on 2003/09/02 18:22:48 UTC

Turbine Error

Hi,

I have managed to get Torque started as an Avalon Component =) Although
Turbine still gives me a NPE does anyone know what this could be?

The Log extract is complete Logfile starting Tomcat making the first
request and then shutting down tomcat. I see no errors =(

In Line 692 Turbine tries to retrieve the RunDataService from the
Services. If I set services.RunDataService.earlyInit=true I get an NPE
in Line 876 of Turbine. 

2003-09-02 18:06:45,328 [main] INFO  org.apache.turbine.Turbine-
Configured log4j from M:\borc\src\webapp\WEB-INF\conf\Log4j.properties
2003-09-02 18:06:45,328 [main] INFO  org.apache.turbine.Turbine- Loaded
configuration  (Properties) from
/WEB-INF/conf/TurbineResources.properties
(M:\borc\src\webapp\WEB-INF\conf\TurbineResources.properties)
2003-09-02 18:06:45,388 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: ComponentService
2003-09-02 18:06:45,388 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: AvalonComponentService
2003-09-02 18:06:45,388 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: FactoryService
2003-09-02 18:06:45,388 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: PoolService
2003-09-02 18:06:45,388 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: RunDataService
2003-09-02 18:06:45,398 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: ServletService
2003-09-02 18:06:45,398 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: AssemblerBrokerService
2003-09-02 18:06:45,398 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: LocalizationService
2003-09-02 18:06:45,398 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: MimeTypeService
2003-09-02 18:06:45,398 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: GlobalCacheService
2003-09-02 18:06:45,398 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: UniqueIdService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: UploadService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: SecurityService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: PullService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: IntakeService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: CryptoService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: TemplateService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: XSLTService
2003-09-02 18:06:45,408 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: SecurityContextService
2003-09-02 18:06:45,418 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: SessionService
2003-09-02 18:06:45,418 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: VelocityService
2003-09-02 18:06:45,418 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Added Mapping for
Service: LuceneService
2003-09-02 18:06:45,428 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (early): ComponentService
2003-09-02 18:06:45,438 [main] WARN
org.apache.turbine.services.component.TurbineComponentService- The
ComponentService is deprecated!
2003-09-02 18:06:45,438 [main] DEBUG
org.apache.turbine.services.component.TurbineComponentService- Fixing up
/WEB-INF/conf/Fulcrum.properties
2003-09-02 18:06:45,438 [main] DEBUG
org.apache.turbine.services.component.TurbineComponentService- Now:
M:\borc\src\webapp\WEB-INF\conf\Fulcrum.properties
2003-09-02 18:06:45,438 [main] INFO
org.apache.turbine.services.component.TurbineComponentService- Added
fulcrum as a component
2003-09-02 18:06:45,438 [main] DEBUG
org.apache.turbine.services.component.TurbineComponentService- Fixing up
/WEB-INF/conf/menu.properties
2003-09-02 18:06:45,448 [main] DEBUG
org.apache.turbine.services.component.TurbineComponentService- Now:
M:\borc\src\webapp\WEB-INF\conf\menu.properties
2003-09-02 18:06:45,458 [main] INFO
org.apache.turbine.services.component.TurbineComponentService- Added
menu as a component
2003-09-02 18:06:45,558 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (late): ServletService
2003-09-02 18:06:45,558 [main] DEBUG
org.apache.turbine.services.servlet.TurbineServletService- Initializing
with ServletConfig
2003-09-02 18:06:45,558 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (late): ServletService
2003-09-02 18:06:45,598 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (early): ComponentService
2003-09-02 18:06:45,598 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (early): AvalonComponentService
2003-09-02 18:06:45,669 [main] DEBUG
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentServic
e- Config File:
M:\borc\src\webapp\WEB-INF\conf\componentConfiguration.xml
2003-09-02 18:06:45,669 [main] DEBUG
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentServic
e- Role File:   M:\borc\src\webapp\WEB-INF\conf\roleConfiguration.xml
2003-09-02 18:06:45,739 [main] DEBUG
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentServic
e- Application Root is M:\borc\src\webapp
2003-09-02 18:06:46,490 [main] INFO
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentServic
e- Lookup for Component org.apache.torque.avalon.Torque successful
2003-09-02 18:06:46,500 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (early): AvalonComponentService
2003-09-02 18:06:46,500 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (early): PullService
2003-09-02 18:06:46,530 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (late): PoolService
2003-09-02 18:06:46,540 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (late): FactoryService
2003-09-02 18:06:46,540 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (late): FactoryService
2003-09-02 18:06:46,540 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (late): PoolService
2003-09-02 18:06:46,540 [main] INFO
org.apache.turbine.services.pull.TurbinePullService- Pull Model tools
will be refreshed on a per request basis.
2003-09-02 18:06:46,570 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (late): VelocityService
2003-09-02 18:06:46,660 [main] DEBUG
org.apache.turbine.services.velocity.TurbineVelocityService- Translating
/templates/app
2003-09-02 18:06:46,660 [main] DEBUG
org.apache.turbine.services.velocity.TurbineVelocityService- Result
(normal fs reference): M:\borc\src\webapp\templates\app
2003-09-02 18:06:46,660 [main] DEBUG
org.apache.turbine.services.velocity.TurbineVelocityService- Adding
file.resource.loader.path -> M:\borc\src\webapp\templates\app
2003-09-02 18:06:46,660 [main] DEBUG
org.apache.turbine.services.velocity.TurbineVelocityService- Translating
/templates/flux
2003-09-02 18:06:46,670 [main] DEBUG
org.apache.turbine.services.velocity.TurbineVelocityService- Result
(normal fs reference): M:\borc\src\webapp\templates\flux
2003-09-02 18:06:46,670 [main] DEBUG
org.apache.turbine.services.velocity.TurbineVelocityService- Adding
file.resource.loader.path -> M:\borc\src\webapp\templates\flux
2003-09-02 18:06:47,741 [main] DEBUG
org.apache.turbine.services.velocity.TurbineVelocityService- Activated
Pull Tools
2003-09-02 18:06:47,751 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (late): TemplateService
2003-09-02 18:06:47,751 [main] DEBUG
org.apache.turbine.services.template.TurbineTemplateService- Default
Extension: 
2003-09-02 18:06:47,751 [main] DEBUG
org.apache.turbine.services.template.TurbineTemplateService- Default
Template:  Default
2003-09-02 18:06:47,751 [main] DEBUG
org.apache.turbine.services.template.TurbineTemplateService- Use
Caching:       false
2003-09-02 18:06:47,792 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Start Initializing
service (late): AssemblerBrokerService
2003-09-02 18:06:47,792 [main] INFO
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerServic
e- Registering 1 action factories.
2003-09-02 18:06:47,802 [main] DEBUG
org.apache.turbine.services.assemblerbroker.util.java.JavaBaseFactory-
Added the following packages: [de.byteaction.commons.turbine.modules,
com.ba.borc.modules, de.byteaction.taskwatcher.modules,
org.apache.turbine.flux.modules, org.apache.turbine.modules]
2003-09-02 18:06:47,802 [main] INFO
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerServic
e- Registering 1 screen factories.
2003-09-02 18:06:47,802 [main] INFO
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerServic
e- Registering 1 navigation factories.
2003-09-02 18:06:47,802 [main] INFO
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerServic
e- Registering 1 layout factories.
2003-09-02 18:06:47,812 [main] INFO
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerServic
e- Registering 1 page factories.
2003-09-02 18:06:47,812 [main] INFO
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerServic
e- Registering 1 scheduledjob factories.
2003-09-02 18:06:47,812 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (late): AssemblerBrokerService
2003-09-02 18:06:47,832 [main] INFO
org.apache.turbine.services.template.TurbineTemplateService- Using
org.apache.turbine.services.template.mapper.DirectMapper to map page
elements
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.template.TurbineTemplateService- Using
org.apache.turbine.services.template.mapper.ClassMapper to map screen
elements
2003-09-02 18:06:47,842 [main] DEBUG
org.apache.turbine.services.template.mapper.ClassMapper- Loader is {}
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.template.TurbineTemplateService- Using
org.apache.turbine.services.template.mapper.ClassMapper to map layout
elements
2003-09-02 18:06:47,842 [main] DEBUG
org.apache.turbine.services.template.mapper.ClassMapper- Loader is {}
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.template.TurbineTemplateService- Using
org.apache.turbine.services.template.mapper.ClassMapper to map
navigation elements
2003-09-02 18:06:47,842 [main] DEBUG
org.apache.turbine.services.template.mapper.ClassMapper- Loader is {}
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.template.TurbineTemplateService- Using
org.apache.turbine.services.template.mapper.LayoutTemplateMapper to map
layout.template elements
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.template.TurbineTemplateService- Using
org.apache.turbine.services.template.mapper.ScreenTemplateMapper to map
screen.template elements
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.template.TurbineTemplateService- Using
org.apache.turbine.services.template.mapper.DirectTemplateMapper to map
navigation.template elements
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (late): TemplateService
2003-09-02 18:06:47,842 [main] INFO
org.apache.turbine.services.BaseServiceBroker- Finish Initializing
service (late): VelocityService
2003-09-02 18:06:47,842 [main] DEBUG
org.apache.turbine.services.pull.TurbinePullService- Global Tools:
2003-09-02 18:06:58,156 [HttpProcessor[8080][4]] INFO
org.apache.turbine.Turbine- Double initialization of Turbine was
attempted!
2003-09-02 18:06:58,166 [HttpProcessor[8080][4]] ERROR
org.apache.turbine.Turbine- Turbine.handleException: 
java.lang.NullPointerException
	at org.apache.turbine.Turbine.doGet(Turbine.java:692)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.
java:466)
	at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:18
0)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:494)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
6)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1040)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1151)
	at java.lang.Thread.run(Thread.java:534)
2003-09-02 18:06:58,186 [HttpProcessor[8080][4]] ERROR
org.apache.turbine.Turbine- 
java.lang.NullPointerException
	at org.apache.turbine.Turbine.handleException(Turbine.java:991)
	at org.apache.turbine.Turbine.doGet(Turbine.java:867)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.
java:466)
	at
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:18
0)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
Base.java:494)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
6)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577
)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:174)
	at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
ava:1040)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
1151)
	at java.lang.Thread.run(Thread.java:534)
2003-09-02 18:07:04,505 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down all
services!
2003-09-02 18:07:04,505 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
LuceneService
2003-09-02 18:07:04,505 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
VelocityService
2003-09-02 18:07:04,505 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
SessionService
2003-09-02 18:07:04,515 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
SecurityContextService
2003-09-02 18:07:04,535 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
XSLTService
2003-09-02 18:07:04,535 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
TemplateService
2003-09-02 18:07:04,535 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
CryptoService
2003-09-02 18:07:04,545 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
IntakeService
2003-09-02 18:07:04,555 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
PullService
2003-09-02 18:07:04,555 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
SecurityService
2003-09-02 18:07:04,586 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
UploadService
2003-09-02 18:07:04,606 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
UniqueIdService
2003-09-02 18:07:04,606 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
GlobalCacheService
2003-09-02 18:07:04,626 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
MimeTypeService
2003-09-02 18:07:04,626 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
LocalizationService
2003-09-02 18:07:04,636 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
AssemblerBrokerService
2003-09-02 18:07:04,636 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
ServletService
2003-09-02 18:07:04,636 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
RunDataService
2003-09-02 18:07:04,696 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
PoolService
2003-09-02 18:07:04,696 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
FactoryService
2003-09-02 18:07:04,696 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
AvalonComponentService
2003-09-02 18:07:04,696 [Thread-1] INFO
org.apache.turbine.services.BaseServiceBroker- Shutting down service:
ComponentService
2003-09-02 18:07:04,696 [Thread-1] DEBUG
org.apache.turbine.services.component.TurbineComponentService- Disposing
a org.apache.fulcrum.Fulcrum object
2003-09-02 18:07:04,696 [Thread-1] DEBUG
org.apache.turbine.services.component.TurbineComponentService- Not
disposing de.byteaction.commons.turbine.components.menu.MenuLoader, not
a Disposable Object
2003-09-02 18:07:04,866 [Thread-1] INFO  org.apache.turbine.Turbine-
Turbine: Done shutting down!

Für Rückfragen stehen wir Ihnen gerne unter den unten genannten
Rufnummern zur Verfügung.
Mit freundlichen Grüßen
 
Jürgen Hoffmann
Leiter der Softwareentwicklung
(cert. Java Programmer)
(cert. Perl Programmer)
(cert. Linux Systems Administrator)

ByteAction GmbH
Auf der Beune 83-85
64839 Münster
HRB33271

mobil:     +49 (0)163 29 83 002
phone:     +49 (0)6071 9216-0 (09:00-18:00 Uhr)
           0700 byteaction / 0700 29832284 (24x7)
fax:       +49 (0)6071 9216-20
           0700 29832284
Email:     jh@byteaction.de
Internet:  www.byteaction.de

------------------------------------------------------------------------
--
This communication is intended only for the party to whom
it is addressed, and may contain information which is privileged
or confidential. Any other delivery, distribution, copying or
disclosure is strictly prohibited and is not a waiver of privilege
or confidentiality. If you have received this telecommunication in
error, please notify the sender immediately by return electronic
mail and destroy the message.
------------------------------------------------------------------------
--
 
 



AW: Turbine Error

Posted by Jürgen Hoffmann <jh...@byteaction.de>.
Hi David, 

I solved my lookup problems by using the newest
commons-pool-20030825.183949.jar and commons-dbcp-20030825.184428.jar I
would have those attached to this mail but it would have gotten to big.
I took them from the torque-3.1 release lib dir.
After that the Lookup worked with the SharedPoolDataSourceFactory.

Kind regards
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer



-----Ursprüngliche Nachricht-----
Von: David Wynter [mailto:david@roamware.co.uk] 
Gesendet: Mittwoch, 3. September 2003 12:22
An: Turbine Users List
Betreff: RE: Turbine Error


Hi Jurgen,

I get the same error as you do , line 692 of Turbine.java. But also
cannot get my Avalon components to load.

I cannot get the ECM to find my component nor the Torque component. I
have traced into ExcaliburComponentManager.lookup to see how it does it.
It looks in m_componentHandlers for the role (it is not there as I see
no where where it would put it in there?) and the looks for the
m_parentManager.lookup if a m_parentManager exists (it doesn't) and then
sets the log message that it cannot find anything and returns. I am
clearly missing something here?

Here is my componentConfiguration.xml

<rwtransform>
  <componentConfig>
    <torque>
      <configFile>/WEB-INF/conf/Torque.properties</configFile>
    </torque>
  </componentConfig>
  <component>
      <role>com.roamware.rwtransform.scheduler.ECMScheduler</role>

<implementation>com.roamware.rwtransform.scheduler.DefaultDbScheduler</i
mple
mentation>
      <configuration>
        <scheduler>
          <property name="org.quartz.scheduler.instanceName"
value="rwtscheduler"/>

          <property name="org.quartz.threadPool.class"
value="org.quartz.simpl.SimpleThreadPool"/>
          <property name="org.quartz.threadPool.threadCount"
value="15"/>
          <property name="org.quartz.threadPool.threadPriority"
value="4"/>

          <property name="org.quartz.jobStore.class"
value="org.quartz.impl.jdbcjobstore.JobStoreTX"/>
          <property name="org.quartz.jobStore.driverDelegateClass =
org.quartz.impl.jdbcjobstore.oracle.OracleDelegate"/>
          <property name="org.quartz.jobStore.useProperties = false"/>
          <property name="org.quartz.jobStore.dataSource =
rwtransform"/>
          <property name="org.quartz.jobStore.tablePrefix = RWTSCH_"/>
          <property name="org.quartz.jobStore.isClustered = false"/>

          <property name="org.quartz.dataSource.rwtransform.driver =
oracle.jdbc.driver.OracleDriver"/>
          <property name="org.quartz.dataSource.rwtransform.URL =
jdbc:oracle:thin:@localhost:1521:roamware"/>
          <property name="org.quartz.dataSource.rwtransform.user =
David"/>
          <property name="org.quartz.dataSource.rwtransform.password =
David"/>
          <property
name="org.quartz.dataSource.rwtransform.maxConnections = 5"/>

        </scheduler>
      </configuration>
  </component>
</rwtransform>

And my roleConfiguration.xml

<role-list>
 <role
    name="org.apache.torque.avalon.Torque"
    shorthand="torque"
    default-class="org.apache.torque.avalon.TorqueComponent"/>
 <role
    name="com.roamware.rwtransform.scheduler.ECMScheduler"
    shorthand="scheduler"
 
default-class="com.roamware.rwtransform.scheduler.DefaultDbScheduler"/>
</role-list>

I have tried it ithout my scheduler component and just TorqueComponent,
and still cannot get the component role to work.

Here is my Avalon config stuff from TR.props.
...
services.AvalonComponentService.lookup = org.apache.torque.Torque
services.AvalonComponentService.lookup =
com.roamware.rwtransform.scheduler.ECMScheduler
services.AvalonComponentService.componentConfiguration =
/WEB-INF/conf/componentConfiguration.xml
services.AvalonComponentService.componentRoles =
/WEB-INF/conf/roleConfiguration.xml
...

Ideas?

Regards

David


> -----Original Message-----
> From: Jürgen Hoffmann [mailto:jh@byteaction.de]
> Sent: 03 September 2003 10:37
> To: 'Turbine Users List'; hps@intermeta.de
> Subject: AW: Turbine Error
>
>
> Hi Henning,
>
> It seems to me that Torque initializes correctly despite the Error 
> Messages. These Settings hav worked with the old Torque and Turbine 
> but with Turbine 2.3 and Torque 3.1 they don't anymore.
>
> Here is my torque.log from the same procedure
> - starting tomcat
> - pointing IE to my webapp
> - stopping tomcat
>
> 2003-09-03 11:29:35,562 [main] DEBUG org.apache.torque.TorqueInstance-
> init(M:\borc\src\webapp/WEB-INF/conf/Torque.properties)
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-

> Config Object is 
> org.apache.commons.configuration.PropertiesConfiguration@1e228bc
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
> init(org.apache.commons.configuration.PropertiesConfiguration@1e228bc)
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-

> setConfiguration(org.apache.commons.configuration.PropertiesConfigurat
> io
> n@1e228bc)
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
> initialize()
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
>
setConfiguration(org.apache.commons.configuration.BaseConfiguration@e069
> 40)
> 2003-09-03 11:29:35,612 [main] DEBUG org.apache.torque.TorqueInstance-
>
initAdapters(org.apache.commons.configuration.BaseConfiguration@e06940)
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
> Adding mysql -> borc as Adapter
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
> Adding mysql -> oldborc as Adapter
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
>
initDataSourceFactories(org.apache.commons.configuration.BaseConfigurati
> on@e06940)
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
> handle: borc DataSourceFactory:
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory
> 2003-09-03 11:29:35,702 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Starting
initCPDS
> 2003-09-03 11:29:35,702 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,712 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@54
> c4ad, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@13c7378)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, url, jdbc:mysql://192.168.0.113/borc)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, user, buddy)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, password, ********)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@ba
> 5c7a, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@13c7378)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, url, jdbc:mysql://192.168.0.113/borc)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, user, buddy)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, password, ********)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory- Starting
> initJdbc2Pool
> 2003-09-03 11:29:35,892 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,892 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@19
> 77b9b,
org.apache.commons.dbcp.datasources.SharedPoolDataSource@340101)
> 2003-09-03 11:29:35,912 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> logInterval value: 0 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,912 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> connectionWaitTimeout value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxConnections value: 80 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> maxExpiryTime value: 3600 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@1a
> 001ff,
org.apache.commons.dbcp.datasources.SharedPoolDataSource@340101)
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxActive value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> testOnBorrow value: true is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> validationQuery value: SELECT 1 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,932 [main] DEBUG org.apache.torque.TorqueInstance-
> handle: oldborc DataSourceFactory:
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Starting
initCPDS
> 2003-09-03 11:29:35,932 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@12
> 67649, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@1fe88d)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, url, jdbc:mysql://192.168.0.113/borc)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, user, buddy)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, password, *******)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@dc
> b03b, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@1fe88d)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, url, jdbc:mysql://192.168.0.113/BORC)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, user, buddy)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, password, ********)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory- Starting
> initJdbc2Pool
> 2003-09-03 11:29:35,942 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@b6
> 0b93,
org.apache.commons.dbcp.datasources.SharedPoolDataSource@1b1fbf4)
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> logInterval value: 0 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> connectionWaitTimeout value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxConnections value: 80 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> maxExpiryTime value: 3600 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
>
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@14
> 8662,
org.apache.commons.dbcp.datasources.SharedPoolDataSource@1b1fbf4)
> 2003-09-03 11:29:35,952 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxActive value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,952 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> testOnBorrow value: true is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,952 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> validationQuery value: SELECT 1 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,952 [main] DEBUG org.apache.torque.TorqueInstance-
> Adding a dummy entry for default, mapped onto borc
>
> Mit freundlichen Grüssen
>
> Jürgen Hoffmann
> ByteACTION GmbH
>
> cert. Perl Programmer
> cert. Linux System Administrator
> cert. Java Programmer
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> Gesendet: Mittwoch, 3. September 2003 11:20
> An: turbine-user@jakarta.apache.org
> Betreff: Re: Turbine Error
>
>
> =?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh...@byteaction.de> writes:
>
> >Hi,
>
> >I have managed to get Torque started as an Avalon Component =) 
> >Although
>
> >Turbine still gives me a NPE does anyone know what this could be?
>
> Using Torque 3.1 release? Make sure that you have the right 
> commons-dbcp version.
>
> 	Regards
> 		Henning
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +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
>
> "Dominate!! Dominate!! Eat your young and aggregate! I have grotty 
> silicon!"
>       -- AOL CD when played backwards  (User Friendly - 200-10-15)
>
> ---------------------------------------------------------------------
> 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
>


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




RE: Turbine Error

Posted by David Wynter <da...@roamware.co.uk>.
Hi Jurgen,

I get the same error as you do , line 692 of Turbine.java. But also cannot
get my Avalon components to load.

I cannot get the ECM to find my component nor the Torque component. I have
traced into ExcaliburComponentManager.lookup to see how it does it. It looks
in m_componentHandlers for the role (it is not there as I see no where where
it would put it in there?) and the looks for the m_parentManager.lookup if a
m_parentManager exists (it doesn't) and then sets the log message that it
cannot find anything and returns. I am clearly missing something here?

Here is my componentConfiguration.xml

<rwtransform>
  <componentConfig>
    <torque>
      <configFile>/WEB-INF/conf/Torque.properties</configFile>
    </torque>
  </componentConfig>
  <component>
      <role>com.roamware.rwtransform.scheduler.ECMScheduler</role>

<implementation>com.roamware.rwtransform.scheduler.DefaultDbScheduler</imple
mentation>
      <configuration>
        <scheduler>
          <property name="org.quartz.scheduler.instanceName"
value="rwtscheduler"/>

          <property name="org.quartz.threadPool.class"
value="org.quartz.simpl.SimpleThreadPool"/>
          <property name="org.quartz.threadPool.threadCount" value="15"/>
          <property name="org.quartz.threadPool.threadPriority" value="4"/>

          <property name="org.quartz.jobStore.class"
value="org.quartz.impl.jdbcjobstore.JobStoreTX"/>
          <property name="org.quartz.jobStore.driverDelegateClass =
org.quartz.impl.jdbcjobstore.oracle.OracleDelegate"/>
          <property name="org.quartz.jobStore.useProperties = false"/>
          <property name="org.quartz.jobStore.dataSource = rwtransform"/>
          <property name="org.quartz.jobStore.tablePrefix = RWTSCH_"/>
          <property name="org.quartz.jobStore.isClustered = false"/>

          <property name="org.quartz.dataSource.rwtransform.driver =
oracle.jdbc.driver.OracleDriver"/>
          <property name="org.quartz.dataSource.rwtransform.URL =
jdbc:oracle:thin:@localhost:1521:roamware"/>
          <property name="org.quartz.dataSource.rwtransform.user = David"/>
          <property name="org.quartz.dataSource.rwtransform.password =
David"/>
          <property name="org.quartz.dataSource.rwtransform.maxConnections =
5"/>

        </scheduler>
      </configuration>
  </component>
</rwtransform>

And my roleConfiguration.xml

<role-list>
 <role
    name="org.apache.torque.avalon.Torque"
    shorthand="torque"
    default-class="org.apache.torque.avalon.TorqueComponent"/>
 <role
    name="com.roamware.rwtransform.scheduler.ECMScheduler"
    shorthand="scheduler"
    default-class="com.roamware.rwtransform.scheduler.DefaultDbScheduler"/>
</role-list>

I have tried it ithout my scheduler component and just TorqueComponent, and
still cannot get the component role to work.

Here is my Avalon config stuff from TR.props.
...
services.AvalonComponentService.lookup = org.apache.torque.Torque
services.AvalonComponentService.lookup =
com.roamware.rwtransform.scheduler.ECMScheduler
services.AvalonComponentService.componentConfiguration =
/WEB-INF/conf/componentConfiguration.xml
services.AvalonComponentService.componentRoles =
/WEB-INF/conf/roleConfiguration.xml
...

Ideas?

Regards

David


> -----Original Message-----
> From: Jürgen Hoffmann [mailto:jh@byteaction.de]
> Sent: 03 September 2003 10:37
> To: 'Turbine Users List'; hps@intermeta.de
> Subject: AW: Turbine Error
>
>
> Hi Henning,
>
> It seems to me that Torque initializes correctly despite the Error
> Messages. These Settings hav worked with the old Torque and Turbine but
> with Turbine 2.3 and Torque 3.1 they don't anymore.
>
> Here is my torque.log from the same procedure
> - starting tomcat
> - pointing IE to my webapp
> - stopping tomcat
>
> 2003-09-03 11:29:35,562 [main] DEBUG org.apache.torque.TorqueInstance-
> init(M:\borc\src\webapp/WEB-INF/conf/Torque.properties)
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
> Config Object is
> org.apache.commons.configuration.PropertiesConfiguration@1e228bc
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
> init(org.apache.commons.configuration.PropertiesConfiguration@1e228bc)
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
> setConfiguration(org.apache.commons.configuration.PropertiesConfiguratio
> n@1e228bc)
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
> initialize()
> 2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
> setConfiguration(org.apache.commons.configuration.BaseConfiguration@e069
> 40)
> 2003-09-03 11:29:35,612 [main] DEBUG org.apache.torque.TorqueInstance-
> initAdapters(org.apache.commons.configuration.BaseConfiguration@e06940)
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
> Adding mysql -> borc as Adapter
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
> Adding mysql -> oldborc as Adapter
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
> initDataSourceFactories(org.apache.commons.configuration.BaseConfigurati
> on@e06940)
> 2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
> handle: borc DataSourceFactory:
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory
> 2003-09-03 11:29:35,702 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Starting initCPDS
> 2003-09-03 11:29:35,702 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,712 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@54
> c4ad, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@13c7378)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, url, jdbc:mysql://192.168.0.113/borc)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, user, buddy)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, password, ********)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@ba
> 5c7a, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@13c7378)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, url, jdbc:mysql://192.168.0.113/borc)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, user, buddy)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 13c7378, password, ********)
> 2003-09-03 11:29:35,872 [main] DEBUG
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory- Starting
> initJdbc2Pool
> 2003-09-03 11:29:35,892 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,892 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@19
> 77b9b, org.apache.commons.dbcp.datasources.SharedPoolDataSource@340101)
> 2003-09-03 11:29:35,912 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> logInterval value: 0 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,912 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> connectionWaitTimeout value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxConnections value: 80 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> maxExpiryTime value: 3600 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@1a
> 001ff, org.apache.commons.dbcp.datasources.SharedPoolDataSource@340101)
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxActive value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> testOnBorrow value: true is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,922 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> validationQuery value: SELECT 1 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,932 [main] DEBUG org.apache.torque.TorqueInstance-
> handle: oldborc DataSourceFactory:
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Starting initCPDS
> 2003-09-03 11:29:35,932 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@12
> 67649, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@1fe88d)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, url, jdbc:mysql://192.168.0.113/borc)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, user, buddy)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, password, *******)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@dc
> b03b, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@1fe88d)
> 2003-09-03 11:29:35,932 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, driver, org.gjt.mm.mysql.Driver)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, url, jdbc:mysql://192.168.0.113/BORC)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, user, buddy)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
> 1fe88d, password, ********)
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.SharedPoolDataSourceFactory- Starting
> initJdbc2Pool
> 2003-09-03 11:29:35,942 [main] DEBUG org.apache.torque.TorqueInstance-
> getConfiguration() =
> org.apache.commons.configuration.BaseConfiguration@e06940
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@b6
> 0b93, org.apache.commons.dbcp.datasources.SharedPoolDataSource@1b1fbf4)
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> logInterval value: 0 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> connectionWaitTimeout value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxConnections value: 80 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> maxExpiryTime value: 3600 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,942 [main] DEBUG
> org.apache.torque.dsfactory.AbstractDataSourceFactory-
> applyConfiguration(org.apache.commons.configuration.BaseConfiguration@14
> 8662, org.apache.commons.dbcp.datasources.SharedPoolDataSource@1b1fbf4)
> 2003-09-03 11:29:35,952 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> defaultMaxActive value: 10 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,952 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> testOnBorrow value: true is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,952 [main] ERROR
> org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
> validationQuery value: SELECT 1 is not supported by DataSource:
> org.apache.commons.dbcp.datasources.SharedPoolDataSource
> 2003-09-03 11:29:35,952 [main] DEBUG org.apache.torque.TorqueInstance-
> Adding a dummy entry for default, mapped onto borc
>
> Mit freundlichen Grüssen
>
> Jürgen Hoffmann
> ByteACTION GmbH
>
> cert. Perl Programmer
> cert. Linux System Administrator
> cert. Java Programmer
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> Gesendet: Mittwoch, 3. September 2003 11:20
> An: turbine-user@jakarta.apache.org
> Betreff: Re: Turbine Error
>
>
> =?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh...@byteaction.de> writes:
>
> >Hi,
>
> >I have managed to get Torque started as an Avalon Component =) Although
>
> >Turbine still gives me a NPE does anyone know what this could be?
>
> Using Torque 3.1 release? Make sure that you have the right commons-dbcp
> version.
>
> 	Regards
> 		Henning
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +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
>
> "Dominate!! Dominate!! Eat your young and aggregate! I have grotty
> silicon!"
>       -- AOL CD when played backwards  (User Friendly - 200-10-15)
>
> ---------------------------------------------------------------------
> 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
>


AW: Turbine Error

Posted by Jürgen Hoffmann <jh...@byteaction.de>.
Hi Henning,

It seems to me that Torque initializes correctly despite the Error
Messages. These Settings hav worked with the old Torque and Turbine but
with Turbine 2.3 and Torque 3.1 they don't anymore.

Here is my torque.log from the same procedure
- starting tomcat
- pointing IE to my webapp
- stopping tomcat

2003-09-03 11:29:35,562 [main] DEBUG org.apache.torque.TorqueInstance-
init(M:\borc\src\webapp/WEB-INF/conf/Torque.properties)
2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
Config Object is
org.apache.commons.configuration.PropertiesConfiguration@1e228bc
2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
init(org.apache.commons.configuration.PropertiesConfiguration@1e228bc)
2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
setConfiguration(org.apache.commons.configuration.PropertiesConfiguratio
n@1e228bc)
2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
initialize()
2003-09-03 11:29:35,602 [main] DEBUG org.apache.torque.TorqueInstance-
setConfiguration(org.apache.commons.configuration.BaseConfiguration@e069
40)
2003-09-03 11:29:35,612 [main] DEBUG org.apache.torque.TorqueInstance-
initAdapters(org.apache.commons.configuration.BaseConfiguration@e06940)
2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
Adding mysql -> borc as Adapter
2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
Adding mysql -> oldborc as Adapter
2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
initDataSourceFactories(org.apache.commons.configuration.BaseConfigurati
on@e06940)
2003-09-03 11:29:35,682 [main] DEBUG org.apache.torque.TorqueInstance-
handle: borc DataSourceFactory:
org.apache.torque.dsfactory.SharedPoolDataSourceFactory
2003-09-03 11:29:35,702 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory- Starting initCPDS
2003-09-03 11:29:35,702 [main] DEBUG org.apache.torque.TorqueInstance-
getConfiguration() =
org.apache.commons.configuration.BaseConfiguration@e06940
2003-09-03 11:29:35,712 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@54
c4ad, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@13c7378)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, driver, org.gjt.mm.mysql.Driver)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, url, jdbc:mysql://192.168.0.113/borc)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, user, buddy)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, password, ********)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@ba
5c7a, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@13c7378)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, driver, org.gjt.mm.mysql.Driver)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, url, jdbc:mysql://192.168.0.113/borc)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, user, buddy)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
13c7378, password, ********)
2003-09-03 11:29:35,872 [main] DEBUG
org.apache.torque.dsfactory.SharedPoolDataSourceFactory- Starting
initJdbc2Pool
2003-09-03 11:29:35,892 [main] DEBUG org.apache.torque.TorqueInstance-
getConfiguration() =
org.apache.commons.configuration.BaseConfiguration@e06940
2003-09-03 11:29:35,892 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@19
77b9b, org.apache.commons.dbcp.datasources.SharedPoolDataSource@340101)
2003-09-03 11:29:35,912 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
logInterval value: 0 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,912 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
connectionWaitTimeout value: 10 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,922 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
defaultMaxConnections value: 80 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,922 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
maxExpiryTime value: 3600 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,922 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@1a
001ff, org.apache.commons.dbcp.datasources.SharedPoolDataSource@340101)
2003-09-03 11:29:35,922 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
defaultMaxActive value: 10 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,922 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
testOnBorrow value: true is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,922 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
validationQuery value: SELECT 1 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,932 [main] DEBUG org.apache.torque.TorqueInstance-
handle: oldborc DataSourceFactory:
org.apache.torque.dsfactory.SharedPoolDataSourceFactory
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory- Starting initCPDS
2003-09-03 11:29:35,932 [main] DEBUG org.apache.torque.TorqueInstance-
getConfiguration() =
org.apache.commons.configuration.BaseConfiguration@e06940
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@12
67649, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@1fe88d)
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, driver, org.gjt.mm.mysql.Driver)
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, url, jdbc:mysql://192.168.0.113/borc)
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, user, buddy)
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, password, *******)
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@dc
b03b, org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@1fe88d)
2003-09-03 11:29:35,932 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, driver, org.gjt.mm.mysql.Driver)
2003-09-03 11:29:35,942 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, url, jdbc:mysql://192.168.0.113/BORC)
2003-09-03 11:29:35,942 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, user, buddy)
2003-09-03 11:29:35,942 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
setSimpleProperty(org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS@
1fe88d, password, ********)
2003-09-03 11:29:35,942 [main] DEBUG
org.apache.torque.dsfactory.SharedPoolDataSourceFactory- Starting
initJdbc2Pool
2003-09-03 11:29:35,942 [main] DEBUG org.apache.torque.TorqueInstance-
getConfiguration() =
org.apache.commons.configuration.BaseConfiguration@e06940
2003-09-03 11:29:35,942 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@b6
0b93, org.apache.commons.dbcp.datasources.SharedPoolDataSource@1b1fbf4)
2003-09-03 11:29:35,942 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
logInterval value: 0 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,942 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
connectionWaitTimeout value: 10 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,942 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
defaultMaxConnections value: 80 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,942 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
maxExpiryTime value: 3600 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,942 [main] DEBUG
org.apache.torque.dsfactory.AbstractDataSourceFactory-
applyConfiguration(org.apache.commons.configuration.BaseConfiguration@14
8662, org.apache.commons.dbcp.datasources.SharedPoolDataSource@1b1fbf4)
2003-09-03 11:29:35,952 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
defaultMaxActive value: 10 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,952 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
testOnBorrow value: true is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,952 [main] ERROR
org.apache.torque.dsfactory.AbstractDataSourceFactory- Property:
validationQuery value: SELECT 1 is not supported by DataSource:
org.apache.commons.dbcp.datasources.SharedPoolDataSource
2003-09-03 11:29:35,952 [main] DEBUG org.apache.torque.TorqueInstance-
Adding a dummy entry for default, mapped onto borc

Mit freundlichen Grüssen
 
Jürgen Hoffmann
ByteACTION GmbH
 
cert. Perl Programmer
cert. Linux System Administrator
cert. Java Programmer



-----Ursprüngliche Nachricht-----
Von: Henning P. Schmiedehausen [mailto:hps@intermeta.de] 
Gesendet: Mittwoch, 3. September 2003 11:20
An: turbine-user@jakarta.apache.org
Betreff: Re: Turbine Error


=?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh...@byteaction.de> writes:

>Hi,

>I have managed to get Torque started as an Avalon Component =) Although

>Turbine still gives me a NPE does anyone know what this could be?

Using Torque 3.1 release? Make sure that you have the right commons-dbcp
version.

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +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

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty
silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

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




AW: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by Jürgen Hoffmann <jh...@byteaction.de>.
Hi David,

We here had exactly the same Problem. When you step into configure and
see how all the services initialize (thats what we did) you will get to
the point where the PullService initializes. What my Problem was, was
that we had Method Calls to: NameGenerator.CONV_METHOD_UNDERSCORE and
NameFactory.generateName(NameFactory.JAVA_GENERATOR, inputs); which are
now inside of torque-gen-3.1.jar We had the gen on our build path, but
not in the WEB-INF/lib directory. So There was no error, no nothing.

Make sure that you have no calls to static methods inside of your Pull
Tools which might have moved to a separate package now.

Kind regards
 
A finally pleased User of T2.3 
Jürgen Hoffmann

P.S. To the whole Team. GREAT WORK! 


-----Ursprüngliche Nachricht-----
Von: David Wynter [mailto:david@roamware.co.uk] 
Gesendet: Donnerstag, 4. September 2003 23:43
An: Turbine Users List
Betreff: RE: Torque as an Avalon Component [was: Re: Turbine Error]


Hi,

More information.

I used the standard TR.props file distributed with T2.3 for my test with
T2.3 release on JDK 1.4.2 on W2K.

I get:
...
[DEBUG] TurbineAvalonComponentService - -Application Root is
C:\tdk-2.3\webapps\rwtransform [INFO] Turbine - -Double initialization
of Turbine was attempted! [INFO] Turbine - -Double initialization of
Turbine was attempted! Starting service Tomcat-Apache Apache
Tomcat/4.0.4 [ERROR] Turbine - -Turbine.handleException:
<java.lang.NullPointerException>java.lang.NullPointerException
	at org.apache.turbine.Turbine.doGet(Turbine.java:692)

I traced into init() in Turbine.java

    public final void init() throws ServletException
    {
        synchronized (this.getClass())
        {
            super.init();
            ServletConfig config = getServletConfig();

            if (!firstInit)
            {
                log.info("Double initialization of Turbine was
attempted!"); <-------------2nd time through
                return;
<-----------------------------------------------------------returns from
here
            }
            // executing init will trigger some static initializers, so
we have
            // only one chance.
            firstInit = false;

            try
            {
                ServletContext context = config.getServletContext();

                configure(config, context);
<------------------------------------1st time through

                templateService = TurbineTemplate.getService();
                rundataService = TurbineRunDataFacade.getService();
<----------------------never gets called

The first time thorugh it goes into configure(), never comes out but
does call init() again which means it returns from the spot shown, which
means that TurbineRunDataFacade.getService() nevers gets called. Which
is why rundataService is null when line 692 is reached.

The only thing I can think of is that there are 2 other T2.3 apps under
my webapp directory and maybe they are being intialized by Tomcat?

Regards,

David



> -----Original Message-----
> From: David Wynter [mailto:david@roamware.co.uk]
> Sent: 04 September 2003 20:14
> To: Turbine Users List; hps@intermeta.de
> Subject: RE: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> Hi,
>
> My objective is to get 2 Avalon components working, Torque and a 
> Scheduler based on Quartz. When both failed I fell back to try to get 
> just the Torque component to work. I discovered that T2.3 had been 
> released and upgraded to
> that. Also Torque 3.1. Then I discovered that when I traced through
the
> Avalon component configuration into
> TorqueComponent.configure(Configuration
> configuration) that there seemed to be a misalignment between
> Torque source
> I had attached the jar to while tracing. So I downloaded the Torque
3.1
> source and built it using maven b10. This made no difference. Now this
was
> outside anything I had ever seen, call to that method on line 148
enters
> code in TorqueComponent at line 126?
>
> So I tried downloading and building T2.3 release from 
> http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/ and 
> copied these into a clean directory. Then I ran maven, with no target 
> (default is jar). I get
>
> ....
> generate-om:
>
>
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac] Compiling 401 source files to 
> C:\jakarta-turbine-2.3\target\classes
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:64: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:65: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
>     [javac]                                                    ^
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:89: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: class org.apache.turbine.modules.ActionLoader
>     [javac]     private static AssemblerBrokerService ab =
> TurbineAssemblerBroker.getService();
>     [javac]                    ^
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:65: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:66: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
>     [javac]                                                    ^
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:93: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: class org.apache.turbine.modules.LayoutLoader
>     [javac]     private static AssemblerBrokerService ab =
> TurbineAssemblerBroker.getService();
>     [javac]                    ^
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Navig
> ationLoade
> r.java:66: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac] 
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Navig
> ationLoade
> r.java:67: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>
> etc. up to 100 errors before it craps out. Just checked it again and 
> it behaves exactly the same.
>
> Then I had a look and found that it had copied the entire src tree 
> into the target tree.
>
> So then I pointed to the src but used the jar downloaded for JDK 1.4.2

> (which I have switched to from 1.4.1_01 to be able to use the ready 
> built jar). Still no joy with my TorqueComponent.configure problem. 
> Interestingly I have another directory with HEAD (2.4 dev) in it and 
> it builds fine on the
> same PC.
>
> Just now I fixed the config for the Avalon Scheduler component and 
> when I have both roles specified in roleConfigutration.xml and 
> componentConfiguration.xml not only does the Scheduler component work 
> so does TorqueComponent, why the change - I have no idea.
>
> Now I am the point where the Avalon components load and configure OK 
> but I have exactly the same problem as Jurgen, see his email and my 
> last one for details.
>
> That adds up to about 3 days work, bit at least I am closer now and 
> know more about Avalon. I am on W2K server
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> > Sent: 04 September 2003 13:18
> > To: turbine-user@jakarta.apache.org
> > Subject: Re: Torque as an Avalon Component [was: Re: Turbine Error]
> >
> >
> > "David Wynter" <da...@roamware.co.uk> writes:
> >
> > Could you please, at some point, tell us what exactly you're trying 
> > to do? You postings are so vague that at last I simply don't 
> > understand what you're trying to do how. So please tell us:
> >
> > - Your OS environment
> > - Your JDK
> > - Version of Maven that you're using
> > - What source base you're trying to compile
> > - How do you try to compile?
> > - How does the build fail (exact error message).
> >
> > As for the 2.3 release code:
> >
> > (RedHat Linux 9, JDK 1.4.2, maven-1.0-beta-9-SNAPSHOT)
> >
> > % cd /tmp
> > % wget 
> > http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> > rta-turbine-2.3.tar.gz
> > --13:51:31-- 
> > http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> > rta-turbine-2.3.tar.gz
> >            => `jakarta-turbine-2.3.tar.gz'
> > Resolving www-cache.intermeta.de... done.
> > Connecting to www-cache.intermeta.de[192.168.2.3]:3128... connected.

> > Proxy request sent, awaiting response... 200 OK
> > Length: 1,164,296 [application/x-tar]
> >
> > 100%[=============================================================
> ==================================================================
> ==========
> ==============>] 1,164,296    128.68K/s    ETA > 00:00
> >
> > 13:51:40 (128.68 KB/s) - `jakarta-turbine-2.3.tar.gz' saved 
> > [1164296/1164296]
> >
> > % tar xzf jakarta-turbine-2.3.tar.gz
> > % cd jakarta-turbine-2.3
> > % maven java:jar > & /tmp/logfile
> > % ls -la target/turbine-2.3.jar
> > -rw-r--r--    1 henning  users      764860 Sep  4 14:15
> > target/turbine-2.3.jar
> >
> > => This code definitely builds fine from the release archive.
> >
> > 	Regards
> > 		Henning
> >
> > --
> > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> > hps@intermeta.de        +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
> >
> > "Dominate!! Dominate!! Eat your young and aggregate! I have grotty 
> > silicon!"
> >       -- AOL CD when played backwards  (User Friendly - 200-10-15)
> >
> > --------------------------------------------------------------------
> > -
> > 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
>


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




RE: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by David Wynter <da...@roamware.co.uk>.
Hi,

More information.

I used the standard TR.props file distributed with T2.3 for my test with
T2.3 release on JDK 1.4.2 on W2K.

I get:
...
[DEBUG] TurbineAvalonComponentService - -Application Root is
C:\tdk-2.3\webapps\rwtransform
[INFO] Turbine - -Double initialization of Turbine was attempted!
[INFO] Turbine - -Double initialization of Turbine was attempted!
Starting service Tomcat-Apache
Apache Tomcat/4.0.4
[ERROR] Turbine - -Turbine.handleException:
<java.lang.NullPointerException>java.lang.NullPointerException
	at org.apache.turbine.Turbine.doGet(Turbine.java:692)

I traced into init() in Turbine.java

    public final void init() throws ServletException
    {
        synchronized (this.getClass())
        {
            super.init();
            ServletConfig config = getServletConfig();

            if (!firstInit)
            {
                log.info("Double initialization of Turbine was attempted!");
<-------------2nd time through
                return;
<-----------------------------------------------------------returns from
here
            }
            // executing init will trigger some static initializers, so we
have
            // only one chance.
            firstInit = false;

            try
            {
                ServletContext context = config.getServletContext();

                configure(config, context);
<------------------------------------1st time through

                templateService = TurbineTemplate.getService();
                rundataService = TurbineRunDataFacade.getService();
<----------------------never gets called

The first time thorugh it goes into configure(), never comes out but does
call init() again which means it returns from the spot shown, which means
that TurbineRunDataFacade.getService() nevers gets called. Which is why
rundataService is null when line 692 is reached.

The only thing I can think of is that there are 2 other T2.3 apps under my
webapp directory and maybe they are being intialized by Tomcat?

Regards,

David



> -----Original Message-----
> From: David Wynter [mailto:david@roamware.co.uk]
> Sent: 04 September 2003 20:14
> To: Turbine Users List; hps@intermeta.de
> Subject: RE: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> Hi,
>
> My objective is to get 2 Avalon components working, Torque and a Scheduler
> based on Quartz. When both failed I fell back to try to get just
> the Torque
> component to work. I discovered that T2.3 had been released and
> upgraded to
> that. Also Torque 3.1. Then I discovered that when I traced through the
> Avalon component configuration into
> TorqueComponent.configure(Configuration
> configuration) that there seemed to be a misalignment between
> Torque source
> I had attached the jar to while tracing. So I downloaded the Torque 3.1
> source and built it using maven b10. This made no difference. Now this was
> outside anything I had ever seen, call to that method on line 148 enters
> code in TorqueComponent at line 126?
>
> So I tried downloading and building T2.3 release from
> http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/ and copied
> these into a clean directory. Then I ran maven, with no target (default is
> jar). I get
>
> ....
> generate-om:
>
>
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac] Compiling 401 source files to
> C:\jakarta-turbine-2.3\target\classes
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:64: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:65: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:89: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: class org.apache.turbine.modules.ActionLoader
>     [javac]     private static AssemblerBrokerService ab =
> TurbineAssemblerBroker.getService();
>     [javac]                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:65: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:66: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:93: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: class org.apache.turbine.modules.LayoutLoader
>     [javac]     private static AssemblerBrokerService ab =
> TurbineAssemblerBroker.getService();
>     [javac]                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Navig
> ationLoade
> r.java:66: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Navig
> ationLoade
> r.java:67: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>
> etc. up to 100 errors before it craps out. Just checked it again and it
> behaves exactly the same.
>
> Then I had a look and found that it had copied the entire src
> tree into the
> target tree.
>
> So then I pointed to the src but used the jar downloaded for JDK 1.4.2
> (which I have switched to from 1.4.1_01 to be able to use the ready built
> jar). Still no joy with my TorqueComponent.configure problem.
> Interestingly
> I have another directory with HEAD (2.4 dev) in it and it builds
> fine on the
> same PC.
>
> Just now I fixed the config for the Avalon Scheduler component and when I
> have both roles specified in roleConfigutration.xml and
> componentConfiguration.xml not only does the Scheduler component work so
> does TorqueComponent, why the change - I have no idea.
>
> Now I am the point where the Avalon components load and configure OK but I
> have exactly the same problem as Jurgen, see his email and my last one for
> details.
>
> That adds up to about 3 days work, bit at least I am closer now and know
> more about Avalon. I am on W2K server
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> > Sent: 04 September 2003 13:18
> > To: turbine-user@jakarta.apache.org
> > Subject: Re: Torque as an Avalon Component [was: Re: Turbine Error]
> >
> >
> > "David Wynter" <da...@roamware.co.uk> writes:
> >
> > Could you please, at some point, tell us what exactly you're trying to
> > do? You postings are so vague that at last I simply don't understand
> > what you're trying to do how. So please tell us:
> >
> > - Your OS environment
> > - Your JDK
> > - Version of Maven that you're using
> > - What source base you're trying to compile
> > - How do you try to compile?
> > - How does the build fail (exact error message).
> >
> > As for the 2.3 release code:
> >
> > (RedHat Linux 9, JDK 1.4.2, maven-1.0-beta-9-SNAPSHOT)
> >
> > % cd /tmp
> > % wget
> > http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> > rta-turbine-2.3.tar.gz
> > --13:51:31--
> > http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> > rta-turbine-2.3.tar.gz
> >            => `jakarta-turbine-2.3.tar.gz'
> > Resolving www-cache.intermeta.de... done.
> > Connecting to www-cache.intermeta.de[192.168.2.3]:3128... connected.
> > Proxy request sent, awaiting response... 200 OK
> > Length: 1,164,296 [application/x-tar]
> >
> > 100%[=============================================================
> ==================================================================
> ==========
> ==============>] 1,164,296    128.68K/s    ETA > 00:00
> >
> > 13:51:40 (128.68 KB/s) - `jakarta-turbine-2.3.tar.gz' saved
> > [1164296/1164296]
> >
> > % tar xzf jakarta-turbine-2.3.tar.gz
> > % cd jakarta-turbine-2.3
> > % maven java:jar > & /tmp/logfile
> > % ls -la target/turbine-2.3.jar
> > -rw-r--r--    1 henning  users      764860 Sep  4 14:15
> > target/turbine-2.3.jar
> >
> > => This code definitely builds fine from the release archive.
> >
> > 	Regards
> > 		Henning
> >
> > --
> > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> > hps@intermeta.de        +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
> >
> > "Dominate!! Dominate!! Eat your young and aggregate! I have
> > grotty silicon!"
> >       -- AOL CD when played backwards  (User Friendly - 200-10-15)
> >
> > ---------------------------------------------------------------------
> > 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
>


RE: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by David Wynter <da...@roamware.co.uk>.
Hi Scot,

I always check the archives ;) I had modified the server.xml a while ago to
remove the context entries made by the Eclipse Sysdeo Tomcat plugin. I think
that what Jurgen has said is probably more likely the cause. I will have a
look through the 2 Turbine apps I removed from the directory to see if they
have any references to packages that have moved, they are running on older
versions of T2.3 dev.

Thanks

David

> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: 05 September 2003 00:42
> To: Turbine Users List
> Subject: Re: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> David Wynter wrote:
>
> >I played my hunch, T2.3 seems to only tolerate 1 application
> under webapps
> >directory. I moved the other 2 T2.3 applications out from under
> webapps and
> >the one remaining now initialises just fine. A bit of a limitation.
> >
> I have multiple turbine apps running under the same tomcat instance with
> no problems, though only 1 of them is T2.3 at present.
>
> Check the archives for info on double initialisation, I recall
> experiencing
> problems in the past related to modwebapp (for connecting to Apache httpd)
> and other causes of this problem.
>
> I am reasonably sure you will find the limitation stems from a problem in
> your environment.
>
> Scott
>
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>


Re: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by Scott Eade <se...@backstagetech.com.au>.
David Wynter wrote:

>I played my hunch, T2.3 seems to only tolerate 1 application under webapps
>directory. I moved the other 2 T2.3 applications out from under webapps and
>the one remaining now initialises just fine. A bit of a limitation.
>
I have multiple turbine apps running under the same tomcat instance with
no problems, though only 1 of them is T2.3 at present.

Check the archives for info on double initialisation, I recall experiencing
problems in the past related to modwebapp (for connecting to Apache httpd)
and other causes of this problem.

I am reasonably sure you will find the limitation stems from a problem in
your environment.

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





RE: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by David Wynter <da...@roamware.co.uk>.
Hi,

I played my hunch, T2.3 seems to only tolerate 1 application under webapps
directory. I moved the other 2 T2.3 applications out from under webapps and
the one remaining now initialises just fine. A bit of a limitation.

David

> -----Original Message-----
> From: David Wynter [mailto:david@roamware.co.uk]
> Sent: 04 September 2003 20:14
> To: Turbine Users List; hps@intermeta.de
> Subject: RE: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> Hi,
>
> My objective is to get 2 Avalon components working, Torque and a Scheduler
> based on Quartz. When both failed I fell back to try to get just
> the Torque
> component to work. I discovered that T2.3 had been released and
> upgraded to
> that. Also Torque 3.1. Then I discovered that when I traced through the
> Avalon component configuration into
> TorqueComponent.configure(Configuration
> configuration) that there seemed to be a misalignment between
> Torque source
> I had attached the jar to while tracing. So I downloaded the Torque 3.1
> source and built it using maven b10. This made no difference. Now this was
> outside anything I had ever seen, call to that method on line 148 enters
> code in TorqueComponent at line 126?
>
> So I tried downloading and building T2.3 release from
> http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/ and copied
> these into a clean directory. Then I ran maven, with no target (default is
> jar). I get
>
> ....
> generate-om:
>
>
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac] Compiling 401 source files to
> C:\jakarta-turbine-2.3\target\classes
>     [javac] Since fork is true, ignoring compiler setting.
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:64: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:65: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Actio
> nLoader.ja
> va:89: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: class org.apache.turbine.modules.ActionLoader
>     [javac]     private static AssemblerBrokerService ab =
> TurbineAssemblerBroker.getService();
>     [javac]                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:65: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:66: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Layou
> tLoader.ja
> va:93: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: class org.apache.turbine.modules.LayoutLoader
>     [javac]     private static AssemblerBrokerService ab =
> TurbineAssemblerBroker.getService();
>     [javac]                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Navig
> ationLoade
> r.java:66: cannot resolve symbol
>     [javac] symbol  : class AssemblerBrokerService
>     [javac] location: package assemblerbroker
>     [javac] import
> org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
>     [javac]                                                    ^
>     [javac]
> C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\Navig
> ationLoade
> r.java:67: cannot resolve symbol
>     [javac] symbol  : class TurbineAssemblerBroker
>
> etc. up to 100 errors before it craps out. Just checked it again and it
> behaves exactly the same.
>
> Then I had a look and found that it had copied the entire src
> tree into the
> target tree.
>
> So then I pointed to the src but used the jar downloaded for JDK 1.4.2
> (which I have switched to from 1.4.1_01 to be able to use the ready built
> jar). Still no joy with my TorqueComponent.configure problem.
> Interestingly
> I have another directory with HEAD (2.4 dev) in it and it builds
> fine on the
> same PC.
>
> Just now I fixed the config for the Avalon Scheduler component and when I
> have both roles specified in roleConfigutration.xml and
> componentConfiguration.xml not only does the Scheduler component work so
> does TorqueComponent, why the change - I have no idea.
>
> Now I am the point where the Avalon components load and configure OK but I
> have exactly the same problem as Jurgen, see his email and my last one for
> details.
>
> That adds up to about 3 days work, bit at least I am closer now and know
> more about Avalon. I am on W2K server
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> > Sent: 04 September 2003 13:18
> > To: turbine-user@jakarta.apache.org
> > Subject: Re: Torque as an Avalon Component [was: Re: Turbine Error]
> >
> >
> > "David Wynter" <da...@roamware.co.uk> writes:
> >
> > Could you please, at some point, tell us what exactly you're trying to
> > do? You postings are so vague that at last I simply don't understand
> > what you're trying to do how. So please tell us:
> >
> > - Your OS environment
> > - Your JDK
> > - Version of Maven that you're using
> > - What source base you're trying to compile
> > - How do you try to compile?
> > - How does the build fail (exact error message).
> >
> > As for the 2.3 release code:
> >
> > (RedHat Linux 9, JDK 1.4.2, maven-1.0-beta-9-SNAPSHOT)
> >
> > % cd /tmp
> > % wget
> > http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> > rta-turbine-2.3.tar.gz
> > --13:51:31--
> > http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> > rta-turbine-2.3.tar.gz
> >            => `jakarta-turbine-2.3.tar.gz'
> > Resolving www-cache.intermeta.de... done.
> > Connecting to www-cache.intermeta.de[192.168.2.3]:3128... connected.
> > Proxy request sent, awaiting response... 200 OK
> > Length: 1,164,296 [application/x-tar]
> >
> > 100%[=============================================================
> ==================================================================
> ==========
> ==============>] 1,164,296    128.68K/s    ETA > 00:00
> >
> > 13:51:40 (128.68 KB/s) - `jakarta-turbine-2.3.tar.gz' saved
> > [1164296/1164296]
> >
> > % tar xzf jakarta-turbine-2.3.tar.gz
> > % cd jakarta-turbine-2.3
> > % maven java:jar > & /tmp/logfile
> > % ls -la target/turbine-2.3.jar
> > -rw-r--r--    1 henning  users      764860 Sep  4 14:15
> > target/turbine-2.3.jar
> >
> > => This code definitely builds fine from the release archive.
> >
> > 	Regards
> > 		Henning
> >
> > --
> > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> > hps@intermeta.de        +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
> >
> > "Dominate!! Dominate!! Eat your young and aggregate! I have
> > grotty silicon!"
> >       -- AOL CD when played backwards  (User Friendly - 200-10-15)
> >
> > ---------------------------------------------------------------------
> > 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
>


RE: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by David Wynter <da...@roamware.co.uk>.
Hi,

My objective is to get 2 Avalon components working, Torque and a Scheduler
based on Quartz. When both failed I fell back to try to get just the Torque
component to work. I discovered that T2.3 had been released and upgraded to
that. Also Torque 3.1. Then I discovered that when I traced through the
Avalon component configuration into TorqueComponent.configure(Configuration
configuration) that there seemed to be a misalignment between Torque source
I had attached the jar to while tracing. So I downloaded the Torque 3.1
source and built it using maven b10. This made no difference. Now this was
outside anything I had ever seen, call to that method on line 148 enters
code in TorqueComponent at line 126?

So I tried downloading and building T2.3 release from
http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/ and copied
these into a clean directory. Then I ran maven, with no target (default is
jar). I get

....
generate-om:


    [javac] Since fork is true, ignoring compiler setting.
    [javac] Compiling 401 source files to
C:\jakarta-turbine-2.3\target\classes
    [javac] Since fork is true, ignoring compiler setting.
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\ActionLoader.ja
va:64: cannot resolve symbol
    [javac] symbol  : class AssemblerBrokerService
    [javac] location: package assemblerbroker
    [javac] import
org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
    [javac]                                                    ^
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\ActionLoader.ja
va:65: cannot resolve symbol
    [javac] symbol  : class TurbineAssemblerBroker
    [javac] location: package assemblerbroker
    [javac] import
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
    [javac]                                                    ^
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\ActionLoader.ja
va:89: cannot resolve symbol
    [javac] symbol  : class AssemblerBrokerService
    [javac] location: class org.apache.turbine.modules.ActionLoader
    [javac]     private static AssemblerBrokerService ab =
TurbineAssemblerBroker.getService();
    [javac]                    ^
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\LayoutLoader.ja
va:65: cannot resolve symbol
    [javac] symbol  : class AssemblerBrokerService
    [javac] location: package assemblerbroker
    [javac] import
org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
    [javac]                                                    ^
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\LayoutLoader.ja
va:66: cannot resolve symbol
    [javac] symbol  : class TurbineAssemblerBroker
    [javac] location: package assemblerbroker
    [javac] import
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBroker;
    [javac]                                                    ^
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\LayoutLoader.ja
va:93: cannot resolve symbol
    [javac] symbol  : class AssemblerBrokerService
    [javac] location: class org.apache.turbine.modules.LayoutLoader
    [javac]     private static AssemblerBrokerService ab =
TurbineAssemblerBroker.getService();
    [javac]                    ^
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\NavigationLoade
r.java:66: cannot resolve symbol
    [javac] symbol  : class AssemblerBrokerService
    [javac] location: package assemblerbroker
    [javac] import
org.apache.turbine.services.assemblerbroker.AssemblerBrokerService;
    [javac]                                                    ^
    [javac]
C:\jakarta-turbine-2.3\target\src\org\apache\turbine\modules\NavigationLoade
r.java:67: cannot resolve symbol
    [javac] symbol  : class TurbineAssemblerBroker

etc. up to 100 errors before it craps out. Just checked it again and it
behaves exactly the same.

Then I had a look and found that it had copied the entire src tree into the
target tree.

So then I pointed to the src but used the jar downloaded for JDK 1.4.2
(which I have switched to from 1.4.1_01 to be able to use the ready built
jar). Still no joy with my TorqueComponent.configure problem. Interestingly
I have another directory with HEAD (2.4 dev) in it and it builds fine on the
same PC.

Just now I fixed the config for the Avalon Scheduler component and when I
have both roles specified in roleConfigutration.xml and
componentConfiguration.xml not only does the Scheduler component work so
does TorqueComponent, why the change - I have no idea.

Now I am the point where the Avalon components load and configure OK but I
have exactly the same problem as Jurgen, see his email and my last one for
details.

That adds up to about 3 days work, bit at least I am closer now and know
more about Avalon. I am on W2K server

Thanks

David

> -----Original Message-----
> From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> Sent: 04 September 2003 13:18
> To: turbine-user@jakarta.apache.org
> Subject: Re: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> "David Wynter" <da...@roamware.co.uk> writes:
>
> Could you please, at some point, tell us what exactly you're trying to
> do? You postings are so vague that at last I simply don't understand
> what you're trying to do how. So please tell us:
>
> - Your OS environment
> - Your JDK
> - Version of Maven that you're using
> - What source base you're trying to compile
> - How do you try to compile?
> - How does the build fail (exact error message).
>
> As for the 2.3 release code:
>
> (RedHat Linux 9, JDK 1.4.2, maven-1.0-beta-9-SNAPSHOT)
>
> % cd /tmp
> % wget
> http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> rta-turbine-2.3.tar.gz
> --13:51:31--
> http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jaka
> rta-turbine-2.3.tar.gz
>            => `jakarta-turbine-2.3.tar.gz'
> Resolving www-cache.intermeta.de... done.
> Connecting to www-cache.intermeta.de[192.168.2.3]:3128... connected.
> Proxy request sent, awaiting response... 200 OK
> Length: 1,164,296 [application/x-tar]
>
> 100%[=============================================================
============================================================================
==============>] 1,164,296    128.68K/s    ETA > 00:00
>
> 13:51:40 (128.68 KB/s) - `jakarta-turbine-2.3.tar.gz' saved
> [1164296/1164296]
>
> % tar xzf jakarta-turbine-2.3.tar.gz
> % cd jakarta-turbine-2.3
> % maven java:jar > & /tmp/logfile
> % ls -la target/turbine-2.3.jar
> -rw-r--r--    1 henning  users      764860 Sep  4 14:15
> target/turbine-2.3.jar
>
> => This code definitely builds fine from the release archive.
>
> 	Regards
> 		Henning
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +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
>
> "Dominate!! Dominate!! Eat your young and aggregate! I have
> grotty silicon!"
>       -- AOL CD when played backwards  (User Friendly - 200-10-15)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>


Re: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"David Wynter" <da...@roamware.co.uk> writes:

Could you please, at some point, tell us what exactly you're trying to
do? You postings are so vague that at last I simply don't understand
what you're trying to do how. So please tell us:

- Your OS environment
- Your JDK
- Version of Maven that you're using
- What source base you're trying to compile
- How do you try to compile?
- How does the build fail (exact error message).

As for the 2.3 release code:

(RedHat Linux 9, JDK 1.4.2, maven-1.0-beta-9-SNAPSHOT)

% cd /tmp
% wget http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jakarta-turbine-2.3.tar.gz
--13:51:31--  http://www.apache.org/dist/jakarta/turbine/turbine-2.3/source/jakarta-turbine-2.3.tar.gz
           => `jakarta-turbine-2.3.tar.gz'
Resolving www-cache.intermeta.de... done.
Connecting to www-cache.intermeta.de[192.168.2.3]:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1,164,296 [application/x-tar]

100%[=======================================================================================================================================================>] 1,164,296    128.68K/s    ETA 00:00

13:51:40 (128.68 KB/s) - `jakarta-turbine-2.3.tar.gz' saved [1164296/1164296]

% tar xzf jakarta-turbine-2.3.tar.gz
% cd jakarta-turbine-2.3
% maven java:jar > & /tmp/logfile
% ls -la target/turbine-2.3.jar
-rw-r--r--    1 henning  users      764860 Sep  4 14:15 target/turbine-2.3.jar

=> This code definitely builds fine from the release archive.

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +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

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)

RE: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by David Wynter <da...@roamware.co.uk>.
Hi Scott,

As I said, I already use those, although HEAD is now 2.4 dev. So I use the
ones in the T2.3 release project.xml in the download now available. But
cannot build from the source download for T2.3 release as the Maven build
copies all src tree into target directory and therefore the build fails.
Anybody experienced that?

David

> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: 04 September 2003 10:48
> To: Turbine Users List
> Subject: Re: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> David Wynter wrote:
>
> >You pointed me to the dependencies from T2.3 rc2, I used the dependencies
> >list in the project.xml for T2.3 release, and they are different. One key
> >difference is that I am using Torque 3.1 release and that is
> where I think
> >my problem lies.
> >
> David,
>
> Sorry - look at the project.xml files in cvs HEAD for the Turbine
> dependencies that work.  They should be updated on the sites fairly
> soon.
>
> Scott
>
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>


Re: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by Scott Eade <se...@backstagetech.com.au>.
David Wynter wrote:

>You pointed me to the dependencies from T2.3 rc2, I used the dependencies
>list in the project.xml for T2.3 release, and they are different. One key
>difference is that I am using Torque 3.1 release and that is where I think
>my problem lies.
>
David,

Sorry - look at the project.xml files in cvs HEAD for the Turbine
dependencies that work.  They should be updated on the sites fairly
soon.

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





RE: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by David Wynter <da...@roamware.co.uk>.
Hi Jurgen,

Well after my Torque compoennt fails to be found then go on to get 2 double
Turbine initializations attempted (and no there are no extra contexts in my
server.xml, just the root one, but there are 2 other T2.3 apps in webapps
though?) I then get exactly the same as you.

[ERROR] Turbine - -Turbine.handleException:
<java.lang.NullPointerException>java.lang.NullPointerException
	at org.apache.turbine.Turbine.doGet(Turbine.java:692)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
....

[ERROR] Turbine - -null
<java.lang.NullPointerException>java.lang.NullPointerException
	at org.apache.turbine.Turbine.handleException(Turbine.java:991)
	at org.apache.turbine.Turbine.doGet(Turbine.java:867)

Not going too well so far.

David


> -----Original Message-----
> From: Jürgen Hoffmann [mailto:jh@byteaction.de]
> Sent: 04 September 2003 08:31
> To: 'Turbine Users List'
> Subject: AW: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> Hi David,
>
> I have Torque 3.1 Release and Torque seems to initialize correctly. My
> Problem is the NPE in the RunDataService/Turbine Servlet somewhere.
>
> Kind regards
>
> Jürgen Hoffmann
>
> -----Ursprüngliche Nachricht-----
> Von: David Wynter [mailto:david@roamware.co.uk]
> Gesendet: Donnerstag, 4. September 2003 09:24
> An: Turbine Users List
> Betreff: RE: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> Hi Scott,
>
> You pointed me to the dependencies from T2.3 rc2, I used the
> dependencies list in the project.xml for T2.3 release, and they are
> different. One key difference is that I am using Torque 3.1 release and
> that is where I think my problem lies.
>
> I have exactly Hennings config, in fact cut and paste it from the
> example in his posting to make sure. Has anyone else used Torque 3.1
> release rather than the Torque 3.1 beta or rc?.
>
> Because I got this mismatch between line numbers (The configure calls
> the TorqueComponent.configure( Configuration configuration) on line 148
> of TorqueComponent.java and the debugger takes me to line 126 I thought
> the src file I had attached to the Torque 3.1 release jar was out of
> step. So I built using Maven from that release src and used that jar. It
> still behaves the same way and this is outside my experience. So am
> still stalled. If you don't believe me I can setup VNCViewer and show
> you.
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Scott Eade [mailto:seade@backstagetech.com.au]
> > Sent: 04 September 2003 00:29
> > To: Turbine Users List
> > Subject: Torque as an Avalon Component [was: Re: Turbine Error]
> >
> >
> > David,
> >
> > Please look at the following post from Henning:
> > http://nagoya.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@ja
> > karta.apache.org&msgNo=15373
> >
> > Using the configuration provided in the above message I was able to
> > get Torque running successfully as an Avalon component.
> >
> > Make sure you also have all of the necessary dependent jar files
> > loaded - see:
> > http://jakarta.apache.org/turbine/turbine-2.3/dependencies.html
> > http://db.apache.org/torque/dependencies.html
> >
> > I have added this info to an new Avalon Component Service document
> > that will be up on the site next time it is updated.
> >
> > HTH,
> >
> > Scott
> >
> > --
> > Scott Eade
> > Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>


AW: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by Jürgen Hoffmann <jh...@byteaction.de>.
Hi David,

I have Torque 3.1 Release and Torque seems to initialize correctly. My
Problem is the NPE in the RunDataService/Turbine Servlet somewhere.

Kind regards
 
Jürgen Hoffmann

-----Ursprüngliche Nachricht-----
Von: David Wynter [mailto:david@roamware.co.uk] 
Gesendet: Donnerstag, 4. September 2003 09:24
An: Turbine Users List
Betreff: RE: Torque as an Avalon Component [was: Re: Turbine Error]


Hi Scott,

You pointed me to the dependencies from T2.3 rc2, I used the
dependencies list in the project.xml for T2.3 release, and they are
different. One key difference is that I am using Torque 3.1 release and
that is where I think my problem lies.

I have exactly Hennings config, in fact cut and paste it from the
example in his posting to make sure. Has anyone else used Torque 3.1
release rather than the Torque 3.1 beta or rc?.

Because I got this mismatch between line numbers (The configure calls
the TorqueComponent.configure( Configuration configuration) on line 148
of TorqueComponent.java and the debugger takes me to line 126 I thought
the src file I had attached to the Torque 3.1 release jar was out of
step. So I built using Maven from that release src and used that jar. It
still behaves the same way and this is outside my experience. So am
still stalled. If you don't believe me I can setup VNCViewer and show
you.

Thanks

David

> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: 04 September 2003 00:29
> To: Turbine Users List
> Subject: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> David,
>
> Please look at the following post from Henning: 
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@ja
> karta.apache.org&msgNo=15373
>
> Using the configuration provided in the above message I was able to 
> get Torque running successfully as an Avalon component.
>
> Make sure you also have all of the necessary dependent jar files 
> loaded - see: 
> http://jakarta.apache.org/turbine/turbine-2.3/dependencies.html
> http://db.apache.org/torque/dependencies.html
>
> I have added this info to an new Avalon Component Service document 
> that will be up on the site next time it is updated.
>
> HTH,
>
> Scott
>
> --
> Scott Eade
> Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au
>
>
>
>
> ---------------------------------------------------------------------
> 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




RE: Torque as an Avalon Component [was: Re: Turbine Error]

Posted by David Wynter <da...@roamware.co.uk>.
Hi Scott,

You pointed me to the dependencies from T2.3 rc2, I used the dependencies
list in the project.xml for T2.3 release, and they are different. One key
difference is that I am using Torque 3.1 release and that is where I think
my problem lies.

I have exactly Hennings config, in fact cut and paste it from the example in
his posting to make sure. Has anyone else used Torque 3.1 release rather
than the Torque 3.1 beta or rc?.

Because I got this mismatch between line numbers (The configure calls the
TorqueComponent.configure( Configuration configuration) on line 148 of
TorqueComponent.java and the debugger takes me to line 126 I thought the src
file I had attached to the Torque 3.1 release jar was out of step. So I
built using Maven from that release src and used that jar. It still behaves
the same way and this is outside my experience. So am still stalled. If you
don't believe me I can setup VNCViewer and show you.

Thanks

David

> -----Original Message-----
> From: Scott Eade [mailto:seade@backstagetech.com.au]
> Sent: 04 September 2003 00:29
> To: Turbine Users List
> Subject: Torque as an Avalon Component [was: Re: Turbine Error]
>
>
> David,
>
> Please look at the following post from Henning:
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@ja
> karta.apache.org&msgNo=15373
>
> Using the configuration provided in the above message I was able
> to get Torque running successfully as an Avalon component.
>
> Make sure you also have all of the necessary dependent jar files
> loaded - see:
> http://jakarta.apache.org/turbine/turbine-2.3/dependencies.html
> http://db.apache.org/torque/dependencies.html
>
> I have added this info to an new Avalon Component Service
> document that will be up on the site next time it is updated.
>
> HTH,
>
> Scott
>
> --
> Scott Eade
> Backstage Technologies Pty. Ltd.
> http://www.backstagetech.com.au
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>


Torque as an Avalon Component [was: Re: Turbine Error]

Posted by Scott Eade <se...@backstagetech.com.au>.
David,

Please look at the following post from Henning:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=turbine-dev@jakarta.apache.org&msgNo=15373

Using the configuration provided in the above message I was able
to get Torque running successfully as an Avalon component.

Make sure you also have all of the necessary dependent jar files
loaded - see:
http://jakarta.apache.org/turbine/turbine-2.3/dependencies.html
http://db.apache.org/torque/dependencies.html

I have added this info to an new Avalon Component Service
document that will be up on the site next time it is updated.

HTH,

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au




RE: Turbine Error

Posted by David Wynter <da...@roamware.co.uk>.
More information. If I use the componentConfig.xml file as distributed in
the Torque distribution -

  <componentConfig>
    <torque>
      <configFile>/WEB-INF/conf/Torque.properties</configFile>
    </torque>
  </componentConfig>

Then I get the error

[ERROR]
BaseServiceBroker - -org.apache.turbine.services.InitializationException:
init failed: No value is associated with the configuration element
"configfile" at -

In the console when starting Turbine.

I am using the released Turbine 2.3 and Torque 3.1. I downloaded the T2.3
release because you cannot build using maven from the sources, for some
reason it copies the whole source tree into the /target directory and then
fails the tests because of this.



> -----Original Message-----
> From: David Wynter [mailto:david@roamware.co.uk]
> Sent: 03 September 2003 15:32
> To: Turbine Users List
> Subject: RE: Turbine Error
>
>
> Hi,
>
> I have got to the point where line 240 of ConfigUtil.java calls the
> configure method of the TorqueComponent.class
>
>             ( (Configurable)object ).configure( configuration );
>
> When I trace into this it goes not the the configure method of
> TorqueComponent (line 148) but instead it goes to line 126? To make sure I
> was matching the src to the jar I used maven to build from the src for
> torque-3.1 release and used that jar.
>
> I thought that maybe I should try the latest T2.3 from HEAD, it fails on
> lots of tests at the moment so I cannot. The version I am using was built
> from the version on 1st September 2003.
>
> I am at a standstill at the moment, cannot debug furhter due to the
> mismapping above. Any ideas?
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: David Wynter [mailto:david@roamware.co.uk]
> > Sent: 03 September 2003 14:32
> > To: Turbine Users List; hps@intermeta.de
> > Subject: RE: Turbine Error
> >
> >
> > Hi Henning,
> >
> > Yes I am using the release version of torque now. But I still do
> > not pickup
> > the configuration for my components. I have traced into the
> framework and
> > excalibur. It is picking up the roles fine, but not the
> > configuration of the
> > components?
> >
> > By the way in the comment in TurbineAvalonComponentService.java
> > it tells you
> > to add "services.AvalonComponentService.lookup =
> org.apache.torque.Torque"
> > to your TR.props. I did, and it took me a while to realise it
> is wrong, it
> > should be "services.AvalonComponentService.lookup =
> > org.apache.torque.avalon.Torque"
> >
> > I alos downloaded the src for toruq 3.1 release as well as the
> > jar for same.
> > When I trace I cannot resolve the value for torqueComponent on
> line 126 of
> > TorqueComponent.java? And yes, the src file matches the jar file for
> > version? Makes it very hard to debug what is going wrong.
> >
> > With the scheduler component by the time it calls the
> > initialize() method of
> > that component the configuration object is empty. Where is it
> supposed to
> > get populated?
> >
> > Thanks
> >
> > David
> >
> > > -----Original Message-----
> > > From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> > > Sent: 03 September 2003 10:20
> > > To: turbine-user@jakarta.apache.org
> > > Subject: Re: Turbine Error
> > >
> > >
> > > =?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh...@byteaction.de> writes:
> > >
> > > >Hi,
> > >
> > > >I have managed to get Torque started as an Avalon Component
> =) Although
> > > >Turbine still gives me a NPE does anyone know what this could be?
> > >
> > > Using Torque 3.1 release? Make sure that you have the right
> commons-dbcp
> > > version.
> > >
> > > 	Regards
> > > 		Henning
> > >
> > > --
> > > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> > > hps@intermeta.de        +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
> > >
> > > "Dominate!! Dominate!! Eat your young and aggregate! I have
> > > grotty silicon!"
> > >       -- AOL CD when played backwards  (User Friendly - 200-10-15)
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>


RE: Turbine Error

Posted by David Wynter <da...@roamware.co.uk>.
Hi,

I have got to the point where line 240 of ConfigUtil.java calls the
configure method of the TorqueComponent.class

            ( (Configurable)object ).configure( configuration );

When I trace into this it goes not the the configure method of
TorqueComponent (line 148) but instead it goes to line 126? To make sure I
was matching the src to the jar I used maven to build from the src for
torque-3.1 release and used that jar.

I thought that maybe I should try the latest T2.3 from HEAD, it fails on
lots of tests at the moment so I cannot. The version I am using was built
from the version on 1st September 2003.

I am at a standstill at the moment, cannot debug furhter due to the
mismapping above. Any ideas?

Thanks

David

> -----Original Message-----
> From: David Wynter [mailto:david@roamware.co.uk]
> Sent: 03 September 2003 14:32
> To: Turbine Users List; hps@intermeta.de
> Subject: RE: Turbine Error
>
>
> Hi Henning,
>
> Yes I am using the release version of torque now. But I still do
> not pickup
> the configuration for my components. I have traced into the framework and
> excalibur. It is picking up the roles fine, but not the
> configuration of the
> components?
>
> By the way in the comment in TurbineAvalonComponentService.java
> it tells you
> to add "services.AvalonComponentService.lookup = org.apache.torque.Torque"
> to your TR.props. I did, and it took me a while to realise it is wrong, it
> should be "services.AvalonComponentService.lookup =
> org.apache.torque.avalon.Torque"
>
> I alos downloaded the src for toruq 3.1 release as well as the
> jar for same.
> When I trace I cannot resolve the value for torqueComponent on line 126 of
> TorqueComponent.java? And yes, the src file matches the jar file for
> version? Makes it very hard to debug what is going wrong.
>
> With the scheduler component by the time it calls the
> initialize() method of
> that component the configuration object is empty. Where is it supposed to
> get populated?
>
> Thanks
>
> David
>
> > -----Original Message-----
> > From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> > Sent: 03 September 2003 10:20
> > To: turbine-user@jakarta.apache.org
> > Subject: Re: Turbine Error
> >
> >
> > =?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh...@byteaction.de> writes:
> >
> > >Hi,
> >
> > >I have managed to get Torque started as an Avalon Component =) Although
> > >Turbine still gives me a NPE does anyone know what this could be?
> >
> > Using Torque 3.1 release? Make sure that you have the right commons-dbcp
> > version.
> >
> > 	Regards
> > 		Henning
> >
> > --
> > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> > hps@intermeta.de        +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
> >
> > "Dominate!! Dominate!! Eat your young and aggregate! I have
> > grotty silicon!"
> >       -- AOL CD when played backwards  (User Friendly - 200-10-15)
> >
> > ---------------------------------------------------------------------
> > 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
>


RE: Turbine Error

Posted by David Wynter <da...@roamware.co.uk>.
Hi Henning,

Yes I am using the release version of torque now. But I still do not pickup
the configuration for my components. I have traced into the framework and
excalibur. It is picking up the roles fine, but not the configuration of the
components?

By the way in the comment in TurbineAvalonComponentService.java it tells you
to add "services.AvalonComponentService.lookup = org.apache.torque.Torque"
to your TR.props. I did, and it took me a while to realise it is wrong, it
should be "services.AvalonComponentService.lookup =
org.apache.torque.avalon.Torque"

I alos downloaded the src for toruq 3.1 release as well as the jar for same.
When I trace I cannot resolve the value for torqueComponent on line 126 of
TorqueComponent.java? And yes, the src file matches the jar file for
version? Makes it very hard to debug what is going wrong.

With the scheduler component by the time it calls the initialize() method of
that component the configuration object is empty. Where is it supposed to
get populated?

Thanks

David

> -----Original Message-----
> From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> Sent: 03 September 2003 10:20
> To: turbine-user@jakarta.apache.org
> Subject: Re: Turbine Error
>
>
> =?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh...@byteaction.de> writes:
>
> >Hi,
>
> >I have managed to get Torque started as an Avalon Component =) Although
> >Turbine still gives me a NPE does anyone know what this could be?
>
> Using Torque 3.1 release? Make sure that you have the right commons-dbcp
> version.
>
> 	Regards
> 		Henning
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +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
>
> "Dominate!! Dominate!! Eat your young and aggregate! I have
> grotty silicon!"
>       -- AOL CD when played backwards  (User Friendly - 200-10-15)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>


Re: Turbine Error

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
=?iso-8859-1?Q?J=FCrgen_Hoffmann?= <jh...@byteaction.de> writes:

>Hi,

>I have managed to get Torque started as an Avalon Component =) Although
>Turbine still gives me a NPE does anyone know what this could be?

Using Torque 3.1 release? Make sure that you have the right commons-dbcp
version.

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +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

"Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" 
      -- AOL CD when played backwards  (User Friendly - 200-10-15)