You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Eric Pugh <ep...@upstate.com> on 2004/02/03 15:37:39 UTC
RE: Use of turbine and simple HOW-TO
Did you ever get the answers you needed?
> -----Original Message-----
> From: Federico Piccinin [mailto:federico.piccinin@overit.it]
> Sent: Friday, January 30, 2004 9:01 AM
> To: turbine-user@jakarta.apache.org
> Subject: Use of turbine and simple HOW-TO
>
>
> Good Morning to everyone.
>
> I'm trying to use Turbine and find that's not so simple.
>
> What i want to do is to use Turbine + Hibernate + JSP.
> JSP produce
> HTML rendered by Cocoon or another XSLT tools.
> My steps:
> 1) build turbine .. OK
> 2) learn hibernate OK doc. very complete
> 3) Use tdk 2.3 and make a simple application: OK
> 4) USE Hibernate insted of Torque ... :°°°( NO OK
>
> How can i make ?
> Modify build. properties ?
>
> Can TDK 2.3 use the *.hbm.xml files ti build the database
> structure ?
> POJO objects about Turbine USER, Turbine ROLE, ecc are Torque
> objects ? I have to write the source code to myself ?
>
> I've read the Hibernate Howto but nothing change, maven create
> Torque objects; It seems nothing is changed.
> Conclusion :
> can anyone post a list of step to use hibernate with turbine
>
> thanks to everyone
>
>
>
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: Use of turbine and simple HOW-TO
Posted by Federico Piccinin <fe...@overit.it>.
In the previous test i've tryed to use first torque as avalon component
for the first test and after hibernate, but starting from the standard
configuration (Torque )
've encountered problems
Federico Piccinin wrote:
> No, anyone answer to me. (Excuse for my english !!)
>
> In these days i've made some test and so in turbine.properties i've
> uncommented the line
>
> services.AvalonComponentService.classname=org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
>
>
> and comment the line
>
> #services.ComponentService.classname=org.apache.turbine.services.component.TurbineComponentService
>
>
> The results and in my second e-mail
>
> >can anyone explain the cause of this error ??
> >
> >2004-02-03 14:02:47,265 [main] DEBUG
> org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
> - Config File:
> >E:\lib\tdk-2.3\bin\..\webapps\newapp\WEB-INF\conf\componentConfiguration.xml
>
> >2004-02-03 14:02:47,265 [main] DEBUG
> org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
> - Role File:
> >E:\lib\tdk-2.3\bin\..\webapps\newapp\WEB-INF\conf\roleConfiguration.xml
> >2004-02-03 14:02:47,343 [main] DEBUG
> org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
> -
> >2004-02-03 14:02:47,343 [main] DEBUG
> org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
> >- Application Root is E:\lib\tdk-2.3\bin\..\webapps\newapp
> >2004-02-03 14:02:47,359 [main] ERROR
> org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
> >- Lookup for Component org.apache.torque.avalon.Torque failed!
> >2004-02-03 14:02:47,359 [main] INFO
> org.apache.turbine.services.BaseServiceBroker - Finish Initializing
> service (early): AvalonComponentService
> >2004-02-03 14:02:47,359 [main] INFO
> org.apache.turbine.services.BaseServiceBroker - Start Initializing
> service (early): SchedulerService
> >2004-02-03 14:02:47,468 [main] ERROR
> org.apache.turbine.services.BaseServiceBroker -
> org.apache.turbine.services.InitializationException: Could not
> initialize >the scheduler service: There was no DataSourceFactory
> configured for the connection default
> >
> >Why Lookup for Component org.apache.torque.avalon.Torque fails ?????
>
> Can you help me ???
>
> thanks in advance
>
> Eric Pugh wrote:
>
>> Did you ever get the answers you needed?
>>
>>
>>
>>> -----Original Message-----
>>> From: Federico Piccinin [mailto:federico.piccinin@overit.it]
>>> Sent: Friday, January 30, 2004 9:01 AM
>>> To: turbine-user@jakarta.apache.org
>>> Subject: Use of turbine and simple HOW-TO
>>>
>>>
>>> Good Morning to everyone.
>>>
>>> I'm trying to use Turbine and find that's not so simple.
>>>
>>> What i want to do is to use Turbine + Hibernate + JSP.
>>> JSP produce
>>> HTML rendered by Cocoon or another XSLT tools.
>>> My steps:
>>> 1) build turbine .. OK
>>> 2) learn hibernate OK doc. very complete
>>> 3) Use tdk 2.3 and make a simple application: OK
>>> 4) USE Hibernate insted of Torque ... :°°°( NO OK
>>>
>>> How can i make ?
>>> Modify build. properties ?
>>>
>>> Can TDK 2.3 use the *.hbm.xml files ti build the database
>>> structure ?
>>> POJO objects about Turbine USER, Turbine ROLE, ecc are Torque
>>> objects ? I have to write the source code to myself ?
>>>
>>> I've read the Hibernate Howto but nothing change, maven create
>>> Torque objects; It seems nothing is changed.
>>> Conclusion :
>>> can anyone post a list of step to use hibernate with turbine
>>>
>>> thanks to everyone
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>>
>>
>>
Re: Use of turbine and simple HOW-TO
Posted by Federico Piccinin <fe...@overit.it>.
No, anyone answer to me. (Excuse for my english !!)
In these days i've made some test and so in turbine.properties i've
uncommented the line
services.AvalonComponentService.classname=org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
and comment the line
#services.ComponentService.classname=org.apache.turbine.services.component.TurbineComponentService
The results and in my second e-mail
>can anyone explain the cause of this error ??
>
>2004-02-03 14:02:47,265 [main] DEBUG
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
- Config File:
>E:\lib\tdk-2.3\bin\..\webapps\newapp\WEB-INF\conf\componentConfiguration.xml
>2004-02-03 14:02:47,265 [main] DEBUG
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
- Role File:
>E:\lib\tdk-2.3\bin\..\webapps\newapp\WEB-INF\conf\roleConfiguration.xml
>2004-02-03 14:02:47,343 [main] DEBUG
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService -
>2004-02-03 14:02:47,343 [main] DEBUG
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
>- Application Root is E:\lib\tdk-2.3\bin\..\webapps\newapp
>2004-02-03 14:02:47,359 [main] ERROR
org.apache.turbine.services.avaloncomponent.TurbineAvalonComponentService
>- Lookup for Component org.apache.torque.avalon.Torque failed!
>2004-02-03 14:02:47,359 [main] INFO
org.apache.turbine.services.BaseServiceBroker - Finish Initializing
service (early): AvalonComponentService
>2004-02-03 14:02:47,359 [main] INFO
org.apache.turbine.services.BaseServiceBroker - Start Initializing
service (early): SchedulerService
>2004-02-03 14:02:47,468 [main] ERROR
org.apache.turbine.services.BaseServiceBroker -
org.apache.turbine.services.InitializationException: Could not
initialize >the scheduler service: There was no DataSourceFactory
configured for the connection default
>
>Why Lookup for Component org.apache.torque.avalon.Torque fails ?????
Can you help me ???
thanks in advance
Eric Pugh wrote:
>Did you ever get the answers you needed?
>
>
>
>>-----Original Message-----
>>From: Federico Piccinin [mailto:federico.piccinin@overit.it]
>>Sent: Friday, January 30, 2004 9:01 AM
>>To: turbine-user@jakarta.apache.org
>>Subject: Use of turbine and simple HOW-TO
>>
>>
>>Good Morning to everyone.
>>
>> I'm trying to use Turbine and find that's not so simple.
>>
>> What i want to do is to use Turbine + Hibernate + JSP.
>>JSP produce
>>HTML rendered by Cocoon or another XSLT tools.
>> My steps:
>> 1) build turbine .. OK
>> 2) learn hibernate OK doc. very complete
>> 3) Use tdk 2.3 and make a simple application: OK
>> 4) USE Hibernate insted of Torque ... :°°°( NO OK
>>
>> How can i make ?
>> Modify build. properties ?
>>
>> Can TDK 2.3 use the *.hbm.xml files ti build the database
>>structure ?
>> POJO objects about Turbine USER, Turbine ROLE, ecc are Torque
>>objects ? I have to write the source code to myself ?
>>
>> I've read the Hibernate Howto but nothing change, maven create
>>Torque objects; It seems nothing is changed.
>> Conclusion :
>> can anyone post a list of step to use hibernate with turbine
>>
>> thanks to everyone
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
>