You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Diogo Saad <di...@ibnetwork.com.br> on 2003/12/01 21:03:05 UTC
TURBINE_2_3
Hi ..
I've just chekedout TURBINE_2_3 and when I try to run a simple page i
get the following exception
What am I doing wrong??
I don't wanna use torque at all, I'll use OJB...how do I desable it?
Thanks all
2003-12-01 17:58:11,812 -- ERROR scheduler -- - Could not initialize the
scheduler service
java.lang.NullPointerException: There was no DataSourceFactory
configured for the connection default
at
org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:749)
at org.apache.torque.Torque.getConnection(Torque.java:306)
at
org.apache.torque.util.Transaction.beginOptional(Transaction.java:118)
at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1365)
at
org.apache.turbine.services.schedule.BaseJobEntryPeer.doSelectVillageRec
ords(BaseJobEntryPeer.java:396)
at
org.apache.turbine.services.schedule.BaseJobEntryPeer.doSelectVillageRec
ords(BaseJobEntryPeer.java:364)
at
org.apache.turbine.services.schedule.BaseJobEntryPeer.doSelect(BaseJobEn
tryPeer.java:333)
at
org.apache.turbine.services.schedule.TurbineSchedulerService.init(Turbin
eSchedulerService.java:123)
at
org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBro
ker.java:321)
at
org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceB
roker.java:401)
at
org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBr
oker.java:373)
at
org.apache.turbine.services.BaseServiceBroker.init(BaseServiceBroker.jav
a:190)
at org.apache.turbine.Turbine.configure(Turbine.java:423)
at org.apache.turbine.Turbine.init(Turbine.java:230)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
com.caucho.server.http.Application.createServlet(Application.java:3111)
at com.caucho.server.http.Application.loadServlet(Application.java:3062)
at
com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:43
5)
at
com.caucho.server.http.Application.getFilterChainServlet(Application.jav
a:2806)
at
com.caucho.server.http.Application.buildFilterChain(Application.java:276
2)
at com.caucho.server.http.Invocation.service(Invocation.java:313)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163
)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:534)
rethrown as
org.apache.torque.TorqueException: There was no DataSourceFactory
configured for the connection default
at
org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:236)
at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1374)
at
org.apache.turbine.services.schedule.BaseJobEntryPeer.doSelectVillageRec
ords(BaseJobEntryPeer.java:396)
at
org.apache.turbine.services.schedule.BaseJobEntryPeer.doSelectVillageRec
ords(BaseJobEntryPeer.java:364)
at
org.apache.turbine.services.schedule.BaseJobEntryPeer.doSelect(BaseJobEn
tryPeer.java:333)
at
org.apache.turbine.services.schedule.TurbineSchedulerService.init(Turbin
eSchedulerService.java:123)
at
org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBro
ker.java:321)
at
org.apache.turbine.services.BaseServiceBroker.doInitService(BaseServiceB
roker.java:401)
at
org.apache.turbine.services.BaseServiceBroker.initServices(BaseServiceBr
oker.java:373)
at
org.apache.turbine.services.BaseServiceBroker.init(BaseServiceBroker.jav
a:190)
at org.apache.turbine.Turbine.configure(Turbine.java:423)
at org.apache.turbine.Turbine.init(Turbine.java:230)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
com.caucho.server.http.Application.createServlet(Application.java:3111)
at com.caucho.server.http.Application.loadServlet(Application.java:3062)
at
com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:43
5)
at
com.caucho.server.http.Application.getFilterChainServlet(Application.jav
a:2806)
at
com.caucho.server.http.Application.buildFilterChain(Application.java:276
2)
at com.caucho.server.http.Invocation.service(Invocation.java:313)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163
)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.NullPointerException: There was no
DataSourceFactory configured for the connection default
at
org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:749)
at org.apache.torque.Torque.getConnection(Torque.java:306)
at
org.apache.torque.util.Transaction.beginOptional(Transaction.java:118)
at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:1365)
... 21 more
Diogo Saad
diogo@ibnetwork.com.br
Inter Business Tecnologia e Servicos
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
RE: TURBINE_2_3
Posted by Daniel <da...@yorku.ca>.
Hehehe, :)
Cool, glad to see interest!
Regards,
Daniel
On Fri, 5 Dec 2003, Greg Kerdemelidis wrote:
>
> Skeletons are gold! You just have to crack the bones open to get to it ;-)
>
> We always end up stripping back the demo to create a base for new projects,
> so that'd be mighty handy!
>
> Regards,
>
> -Greg
>
> > -----Original Message-----
> > From: Daniel [mailto:dantest@yorku.ca]
> > I'm working on a new version of a "skeleton" webapp for Turbine 2.3. Does
> > anyone think that would be useful as an extra demo?
>
>
>
> ---------------------------------------------------------------------
> 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_2_3
Posted by Greg Kerdemelidis <gk...@snap.net.nz>.
Skeletons are gold! You just have to crack the bones open to get to it ;-)
We always end up stripping back the demo to create a base for new projects,
so that'd be mighty handy!
Regards,
-Greg
> -----Original Message-----
> From: Daniel [mailto:dantest@yorku.ca]
> I'm working on a new version of a "skeleton" webapp for Turbine 2.3. Does
> anyone think that would be useful as an extra demo?
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: TURBINE_2_3
Posted by Daniel <da...@yorku.ca>.
Great, looking forward to it!
Regards,
Daniel
On Thu, 4 Dec 2003, Jeff Painter wrote:
>
> I've almost finished putting together a tdk-2.3 with a new sample app and
> will hopefully have it ready by the end of the week
>
> On Thu, 4 Dec 2003, Daniel wrote:
>
> >
> > Hi Diogo,
> >
> > You can take a look at my TurbineResources.properties file at:
> >
> > http://esprit.ccs.yorku.ca/pub/java/turbine23/TR.props/
> >
> > I've commented out alot of the "unnecessary" services, including Torque
> > and Intake.
> >
> > Also note that I've changed the "Framework Settings" section (template.*
> > stuff) that you might want to change to reflect your setup.
> >
> > I'm working on a new version of a "skeleton" webapp for Turbine 2.3. Does
> > anyone think that would be useful as an extra demo?
> >
> > Regards,
> > Daniel
> >
> > On Tue, 2 Dec 2003 diogo@216.12.215.37 wrote:
> >
> > > i dont wanna use torque at all.. how do i disable it??
> > > Which lines in tr.properties do I have to change?
> > >
> > > Thanks
> > > Diogo
> > >
> > > > Diogo Saad wrote:
> > > >
> > > >>I've just chekedout TURBINE_2_3 and when I try to run a simple page i
> > > >>get the following exception
> > > >>
> > > >>
> > > >>What am I doing wrong??
> > > >>I don't wanna use torque at all, I'll use OJB...how do I desable it?
> > > >>
> > > >>
> > > > Comment out all of the services.SchedulerService lines in
> > > > TurbineResources.properties.
> > > >
> > > > Make sure you select the appropriate SecurityService in TR.props.
> > > >
> > > > Don't configure Torque vie the ComponentService in TR.props.
> > > >
> > > > Don't have a Turbine.properties file.
> > > >
> > > > OTOH Torque does generate some code for OJB so it may be of some use.
> > > >
> > > > 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
> >
>
> --
> Regards,
>
> Jeffery Painter
>
> - --
> painter@kiasoft.com http://kiasoft.com
> PGP FP: 9CE8 83A2 33FA 32B1 0AB1 4E62 E4CB E4DA 5913 EFBC
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE/qEQE5Mvk2lkT77wRAnMJAJ9vJ6qOkg/mvqqIpz7troCEQJ8bFACglu/U
> YNXabx7DZOV2Hd9LwSTmGpY=
> =dWiu
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> 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_2_3
Posted by Jeff Painter <pa...@kiasoft.com>.
I've almost finished putting together a tdk-2.3 with a new sample app and
will hopefully have it ready by the end of the week
On Thu, 4 Dec 2003, Daniel wrote:
>
> Hi Diogo,
>
> You can take a look at my TurbineResources.properties file at:
>
> http://esprit.ccs.yorku.ca/pub/java/turbine23/TR.props/
>
> I've commented out alot of the "unnecessary" services, including Torque
> and Intake.
>
> Also note that I've changed the "Framework Settings" section (template.*
> stuff) that you might want to change to reflect your setup.
>
> I'm working on a new version of a "skeleton" webapp for Turbine 2.3. Does
> anyone think that would be useful as an extra demo?
>
> Regards,
> Daniel
>
> On Tue, 2 Dec 2003 diogo@216.12.215.37 wrote:
>
> > i dont wanna use torque at all.. how do i disable it??
> > Which lines in tr.properties do I have to change?
> >
> > Thanks
> > Diogo
> >
> > > Diogo Saad wrote:
> > >
> > >>I've just chekedout TURBINE_2_3 and when I try to run a simple page i
> > >>get the following exception
> > >>
> > >>
> > >>What am I doing wrong??
> > >>I don't wanna use torque at all, I'll use OJB...how do I desable it?
> > >>
> > >>
> > > Comment out all of the services.SchedulerService lines in
> > > TurbineResources.properties.
> > >
> > > Make sure you select the appropriate SecurityService in TR.props.
> > >
> > > Don't configure Torque vie the ComponentService in TR.props.
> > >
> > > Don't have a Turbine.properties file.
> > >
> > > OTOH Torque does generate some code for OJB so it may be of some use.
> > >
> > > 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
>
--
Regards,
Jeffery Painter
- --
painter@kiasoft.com http://kiasoft.com
PGP FP: 9CE8 83A2 33FA 32B1 0AB1 4E62 E4CB E4DA 5913 EFBC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE/qEQE5Mvk2lkT77wRAnMJAJ9vJ6qOkg/mvqqIpz7troCEQJ8bFACglu/U
YNXabx7DZOV2Hd9LwSTmGpY=
=dWiu
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: TURBINE_2_3
Posted by Daniel <da...@yorku.ca>.
Hi Diogo,
You can take a look at my TurbineResources.properties file at:
http://esprit.ccs.yorku.ca/pub/java/turbine23/TR.props/
I've commented out alot of the "unnecessary" services, including Torque
and Intake.
Also note that I've changed the "Framework Settings" section (template.*
stuff) that you might want to change to reflect your setup.
I'm working on a new version of a "skeleton" webapp for Turbine 2.3. Does
anyone think that would be useful as an extra demo?
Regards,
Daniel
On Tue, 2 Dec 2003 diogo@216.12.215.37 wrote:
> i dont wanna use torque at all.. how do i disable it??
> Which lines in tr.properties do I have to change?
>
> Thanks
> Diogo
>
> > Diogo Saad wrote:
> >
> >>I've just chekedout TURBINE_2_3 and when I try to run a simple page i
> >>get the following exception
> >>
> >>
> >>What am I doing wrong??
> >>I don't wanna use torque at all, I'll use OJB...how do I desable it?
> >>
> >>
> > Comment out all of the services.SchedulerService lines in
> > TurbineResources.properties.
> >
> > Make sure you select the appropriate SecurityService in TR.props.
> >
> > Don't configure Torque vie the ComponentService in TR.props.
> >
> > Don't have a Turbine.properties file.
> >
> > OTOH Torque does generate some code for OJB so it may be of some use.
> >
> > 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
Re: TURBINE_2_3
Posted by di...@216.12.215.37.
i dont wanna use torque at all.. how do i disable it??
Which lines in tr.properties do I have to change?
Thanks
Diogo
> Diogo Saad wrote:
>
>>I've just chekedout TURBINE_2_3 and when I try to run a simple page i
>>get the following exception
>>
>>
>>What am I doing wrong??
>>I don't wanna use torque at all, I'll use OJB...how do I desable it?
>>
>>
> Comment out all of the services.SchedulerService lines in
> TurbineResources.properties.
>
> Make sure you select the appropriate SecurityService in TR.props.
>
> Don't configure Torque vie the ComponentService in TR.props.
>
> Don't have a Turbine.properties file.
>
> OTOH Torque does generate some code for OJB so it may be of some use.
>
> 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: TURBINE_2_3
Posted by Scott Eade <se...@backstagetech.com.au>.
Diogo Saad wrote:
>I've just chekedout TURBINE_2_3 and when I try to run a simple page i
>get the following exception
>
>
>What am I doing wrong??
>I don't wanna use torque at all, I'll use OJB...how do I desable it?
>
>
Comment out all of the services.SchedulerService lines in
TurbineResources.properties.
Make sure you select the appropriate SecurityService in TR.props.
Don't configure Torque vie the ComponentService in TR.props.
Don't have a Turbine.properties file.
OTOH Torque does generate some code for OJB so it may be of some use.
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