You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Andrew Zahra <wo...@zguy.com> on 2004/01/22 04:55:27 UTC

TDK demo app probs

I've just installed the TDK 2.2_01 and after install I go to tomcat, log in
OK and then get the error below. Where do I start figuring this out?

BTW, archives.apache.org isn't in DNS so I couldn't look thru the email
archives.

java.lang.NoClassDefFoundError at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:153) at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:241) at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse
r(BaseSecurityService.java:308) at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu
rbineSecurity.java:194) at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
at org.apache.turbine.modules.Action.perform(Action.java:87) at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
org.apache.turbine.Turbine.doGet(Turbine.java:509) at
org.apache.turbine.Turbine.doPost(Turbine.java:658) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:475) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027) at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
) at java.lang.Thread.run(Thread.java:536)


---
Andrew Zahra
Wollongong, NSW
Australia


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


Re: TDK demo app probs

Posted by Andrew Zahra <wo...@zguy.com>.
Thanks Jeff,
    that works - I'm not sure what difference there is. Are there any key
files to check other than the ones you suggested I edit?

Andrew

----- Original Message ----- 
From: "Jeff Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Friday, January 23, 2004 10:29 AM
Subject: Re: TDK demo app probs


>
> I put the tdk together on a vanilla redhat 9 box so I don't think you
> should be having all these troubles.
>
> things to check:
> what jdk are you using?
> what version of ant are you using?
> make sure jdbc access is allowed (mysql can be picky)
>
> I just unpacked the tdk tarball, created the newapp sample project and got
> it running in about 2 minutes, but i built the thing so it should be easy
> for me ;)
>
> I went ahead and stuffed everything under my webapps/newapp into a tarball
>
> http://kiasoft.com/~painter/newapp_tdk_sample.tgz
>
> wipe out your newapp and unpack the tar file in
>
>  ${TDK}/webapps directory
>
> It is already compiled and should be ready to go
>
> You should only need change two files if you have already run ant init and
> built the database structure
>
> Change username from "myuser" to your username and password "mypassword"
> to your password here:
>
>  ${TDK}/webapps/newapp/WEB-INF/build/build.properties
>  ${TDK}/webapps/newapp/WEB-INF/conf/Torque.properties
>
> then, run ${TDK}/bin/catalina.sh start
> try to access http://localhost:8080/newapp/servlet/newapp
>
> it is alreay compiled and if your database access is up and running it
> should run properly. if not then there is something in your environment
> that is not setup correctly
>
> hope this helps
>
> -- 
> 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: TDK demo app probs

Posted by Jeff Painter <pa...@kiasoft.com>.
I put the tdk together on a vanilla redhat 9 box so I don't think you 
should be having all these troubles.

things to check:
	what jdk are you using?
	what version of ant are you using?
	make sure jdbc access is allowed (mysql can be picky)

I just unpacked the tdk tarball, created the newapp sample project and got 
it running in about 2 minutes, but i built the thing so it should be easy 
for me ;)

I went ahead and stuffed everything under my webapps/newapp into a tarball

http://kiasoft.com/~painter/newapp_tdk_sample.tgz

wipe out your newapp and unpack the tar file in

 ${TDK}/webapps directory

It is already compiled and should be ready to go

You should only need change two files if you have already run ant init and 
built the database structure

Change username from "myuser" to your username and password "mypassword" 
to your password here:

 ${TDK}/webapps/newapp/WEB-INF/build/build.properties 
 ${TDK}/webapps/newapp/WEB-INF/conf/Torque.properties 

then, run ${TDK}/bin/catalina.sh start
try to access http://localhost:8080/newapp/servlet/newapp

it is alreay compiled and if your database access is up and running it 
should run properly. if not then there is something in your environment 
that is not setup correctly

hope this helps

-- 
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: TDK demo app probs

Posted by Andrew Zahra <wo...@zguy.com>.
Redhat linux 8 and MySql 3.23.55.

----- Original Message ----- 
From: "Jeff Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Friday, January 23, 2004 9:57 AM
Subject: Re: TDK demo app probs


>
> What OS and version of mysql are you using Andrew?
>
>
> -- 
> 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: TDK demo app probs

Posted by Jeff Painter <pa...@kiasoft.com>.
What OS and version of mysql are you using Andrew?


-- 
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: TDK demo app probs

Posted by Andrew Zahra <wo...@zguy.com>.
I added the servlet mapping to no avail. I don't see any other errors in the
build - I have attached a full log of it.
The database tables are created as follows:

Database newapp running on localhost
       Table  Records Type Size
       ID_TABLE    8   MyISAM    4.3 KB
       NOTE    0   MyISAM    1.0 KB
       TURBINE_GROUP    1   MyISAM    3.0 KB
       TURBINE_PERMISSION    1   MyISAM    3.0 KB
       TURBINE_ROLE    1   MyISAM    3.0 KB
       TURBINE_ROLE_PERMISSION    1   MyISAM    2.0 KB
       TURBINE_SCHEDULED_JOB    0   MyISAM    1.0 KB
       TURBINE_USER    1   MyISAM    3.1 KB
       TURBINE_USER_GROUP_ROLE    1   MyISAM    2.0 KB
       9 table(s)   14  --  22.4 KB


----- Original Message ----- 
From: "David Demner" <tu...@demner.com>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Thursday, January 22, 2004 4:25 PM
Subject: RE: TDK demo app probs


Oh yeah.  One more thing to check:

In your WEB-INF/web.xml file, you need to have the following inside your
<web-app>:

  <servlet-mapping>
    <servlet-name>newapp</servlet-name>
    <url-pattern>/servlet/newapp/*</url-pattern>
  </servlet-mapping>

This could also be your problem.

David

-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com]
Sent: Wednesday, January 21, 2004 9:06 PM
To: Turbine Users List
Subject: Re: TDK demo app probs


Still having problems...

Notice this several times during "ant init":
[torque-data-model] log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine
[torque-data-model] log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".

Stuff like this is on the login page:
----

Intake Validation Error
$loginGroup.Username.Message


Intake Validation Error
$loginGroup.Password.Message

 $intake.declareGroups()
-----

And when I login it says "System Error:" in the main part of the page. If I
click on any of the links down the side I end up back at the login screen.

When I stop tomcat I get:
----
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
----

Which I'm guessing is because of the log4j error front ant. I haven't used
log4j before, what's the correct value for the log4j key?

----- Original Message ----- 
From: "David Demner" <tu...@demner.com>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Thursday, January 22, 2004 3:15 PM
Subject: RE: TDK demo app probs


Hi Andrew,

There was an 'unofficial' TDK-2.3 release created very kindly by Jeff
Painter:

-----------
I have put together a tdk-2.3 that a few have tested and said is working
for them. no word yet on if it will be officially posted

until then, you can download from me

http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz

there is one bug if you change the package of the sample app my intake
examples seem to fail, but other than that it works alright. I haven't had
time to figure out the problem... running the sample app out of the box
seems to work just fine
-----------

I've been running it for a while now, as I'm sure others have too, and it
seems to work properly.  Maybe you will have more luck with this version?

Good luck,

David

PS: The mail archives are now at
http://www.mail-archive.com/turbine-user@jakarta.apache.org/ (which is
accessible from the Mailing List link on the main jakarta page).


-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com]
Sent: Wednesday, January 21, 2004 7:55 PM
To: turbine-user@jakarta.apache.org
Subject: TDK demo app probs


I've just installed the TDK 2.2_01 and after install I go to tomcat, log in
OK and then get the error below. Where do I start figuring this out?

BTW, archives.apache.org isn't in DNS so I couldn't look thru the email
archives.

java.lang.NoClassDefFoundError at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:153) at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:241) at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse
r(BaseSecurityService.java:308) at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu
rbineSecurity.java:194) at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
at org.apache.turbine.modules.Action.perform(Action.java:87) at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
org.apache.turbine.Turbine.doGet(Turbine.java:509) at
org.apache.turbine.Turbine.doPost(Turbine.java:658) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:475) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027) at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
) at java.lang.Thread.run(Thread.java:536)


---
Andrew Zahra
Wollongong, NSW
Australia


---------------------------------------------------------------------
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



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


RE: TDK demo app probs

Posted by David Demner <tu...@demner.com>.
Oh yeah.  One more thing to check:

In your WEB-INF/web.xml file, you need to have the following inside your
<web-app>:

  <servlet-mapping>
    <servlet-name>newapp</servlet-name>
    <url-pattern>/servlet/newapp/*</url-pattern>
  </servlet-mapping>

This could also be your problem.

David

-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com] 
Sent: Wednesday, January 21, 2004 9:06 PM
To: Turbine Users List
Subject: Re: TDK demo app probs


Still having problems...

Notice this several times during "ant init":
[torque-data-model] log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine
[torque-data-model] log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".

Stuff like this is on the login page:
----

Intake Validation Error
$loginGroup.Username.Message


Intake Validation Error
$loginGroup.Password.Message

 $intake.declareGroups()
-----

And when I login it says "System Error:" in the main part of the page. If I
click on any of the links down the side I end up back at the login screen.

When I stop tomcat I get:
----
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
----

Which I'm guessing is because of the log4j error front ant. I haven't used
log4j before, what's the correct value for the log4j key?

----- Original Message ----- 
From: "David Demner" <tu...@demner.com>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Thursday, January 22, 2004 3:15 PM
Subject: RE: TDK demo app probs


Hi Andrew,

There was an 'unofficial' TDK-2.3 release created very kindly by Jeff
Painter:

-----------
I have put together a tdk-2.3 that a few have tested and said is working
for them. no word yet on if it will be officially posted

until then, you can download from me

http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz

there is one bug if you change the package of the sample app my intake
examples seem to fail, but other than that it works alright. I haven't had
time to figure out the problem... running the sample app out of the box
seems to work just fine
-----------

I've been running it for a while now, as I'm sure others have too, and it
seems to work properly.  Maybe you will have more luck with this version?

Good luck,

David

PS: The mail archives are now at
http://www.mail-archive.com/turbine-user@jakarta.apache.org/ (which is
accessible from the Mailing List link on the main jakarta page).


-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com]
Sent: Wednesday, January 21, 2004 7:55 PM
To: turbine-user@jakarta.apache.org
Subject: TDK demo app probs


I've just installed the TDK 2.2_01 and after install I go to tomcat, log in
OK and then get the error below. Where do I start figuring this out?

BTW, archives.apache.org isn't in DNS so I couldn't look thru the email
archives.

java.lang.NoClassDefFoundError at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:153) at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:241) at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse
r(BaseSecurityService.java:308) at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu
rbineSecurity.java:194) at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
at org.apache.turbine.modules.Action.perform(Action.java:87) at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
org.apache.turbine.Turbine.doGet(Turbine.java:509) at
org.apache.turbine.Turbine.doPost(Turbine.java:658) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:475) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027) at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
) at java.lang.Thread.run(Thread.java:536)


---
Andrew Zahra
Wollongong, NSW
Australia


---------------------------------------------------------------------
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



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


RE: TDK demo app probs

Posted by David Demner <tu...@demner.com>.
Were there any other errors?  Was the last ant init step the compilation of
your java files?

In your database, were any tables created?  For example, 'turbine_user'?

I get the log4j errors too, and tried briefly to fix them, but everything
still worked ok so I gave up.

David

-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com] 
Sent: Wednesday, January 21, 2004 9:06 PM
To: Turbine Users List
Subject: Re: TDK demo app probs


Still having problems...

Notice this several times during "ant init":
[torque-data-model] log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine
[torque-data-model] log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".

Stuff like this is on the login page:
----

Intake Validation Error
$loginGroup.Username.Message


Intake Validation Error
$loginGroup.Password.Message

 $intake.declareGroups()
-----

And when I login it says "System Error:" in the main part of the page. If I
click on any of the links down the side I end up back at the login screen.

When I stop tomcat I get:
----
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
----

Which I'm guessing is because of the log4j error front ant. I haven't used
log4j before, what's the correct value for the log4j key?

----- Original Message ----- 
From: "David Demner" <tu...@demner.com>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Thursday, January 22, 2004 3:15 PM
Subject: RE: TDK demo app probs


Hi Andrew,

There was an 'unofficial' TDK-2.3 release created very kindly by Jeff
Painter:

-----------
I have put together a tdk-2.3 that a few have tested and said is working
for them. no word yet on if it will be officially posted

until then, you can download from me

http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz

there is one bug if you change the package of the sample app my intake
examples seem to fail, but other than that it works alright. I haven't had
time to figure out the problem... running the sample app out of the box
seems to work just fine
-----------

I've been running it for a while now, as I'm sure others have too, and it
seems to work properly.  Maybe you will have more luck with this version?

Good luck,

David

PS: The mail archives are now at
http://www.mail-archive.com/turbine-user@jakarta.apache.org/ (which is
accessible from the Mailing List link on the main jakarta page).


-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com]
Sent: Wednesday, January 21, 2004 7:55 PM
To: turbine-user@jakarta.apache.org
Subject: TDK demo app probs


I've just installed the TDK 2.2_01 and after install I go to tomcat, log in
OK and then get the error below. Where do I start figuring this out?

BTW, archives.apache.org isn't in DNS so I couldn't look thru the email
archives.

java.lang.NoClassDefFoundError at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:153) at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:241) at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse
r(BaseSecurityService.java:308) at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu
rbineSecurity.java:194) at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
at org.apache.turbine.modules.Action.perform(Action.java:87) at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
org.apache.turbine.Turbine.doGet(Turbine.java:509) at
org.apache.turbine.Turbine.doPost(Turbine.java:658) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:475) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027) at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
) at java.lang.Thread.run(Thread.java:536)


---
Andrew Zahra
Wollongong, NSW
Australia


---------------------------------------------------------------------
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



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


Re: TDK demo app probs

Posted by Andrew Zahra <wo...@zguy.com>.
Still having problems...

Notice this several times during "ant init":
[torque-data-model] log4j:ERROR Could not find value for key
log4j.appender.org.apache.torque.engine
[torque-data-model] log4j:ERROR Could not instantiate appender named
"org.apache.torque.engine".

Stuff like this is on the login page:
----

Intake Validation Error
$loginGroup.Username.Message


Intake Validation Error
$loginGroup.Password.Message

 $intake.declareGroups()
-----

And when I login it says "System Error:" in the main part of the page. If I
click on any of the links down the side I end up back at the login screen.

When I stop tomcat I get:
----
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
log4j:WARN Please initialize the log4j system properly.
----

Which I'm guessing is because of the log4j error front ant. I haven't used
log4j before, what's the correct value for the log4j key?

----- Original Message ----- 
From: "David Demner" <tu...@demner.com>
To: "'Turbine Users List'" <tu...@jakarta.apache.org>
Sent: Thursday, January 22, 2004 3:15 PM
Subject: RE: TDK demo app probs


Hi Andrew,

There was an 'unofficial' TDK-2.3 release created very kindly by Jeff
Painter:

-----------
I have put together a tdk-2.3 that a few have tested and said is working
for them. no word yet on if it will be officially posted

until then, you can download from me

http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz

there is one bug if you change the package of the sample app my intake
examples seem to fail, but other than that it works alright. I haven't had
time to figure out the problem... running the sample app out of the box
seems to work just fine
-----------

I've been running it for a while now, as I'm sure others have too, and it
seems to work properly.  Maybe you will have more luck with this version?

Good luck,

David

PS: The mail archives are now at
http://www.mail-archive.com/turbine-user@jakarta.apache.org/ (which is
accessible from the Mailing List link on the main jakarta page).


-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com]
Sent: Wednesday, January 21, 2004 7:55 PM
To: turbine-user@jakarta.apache.org
Subject: TDK demo app probs


I've just installed the TDK 2.2_01 and after install I go to tomcat, log in
OK and then get the error below. Where do I start figuring this out?

BTW, archives.apache.org isn't in DNS so I couldn't look thru the email
archives.

java.lang.NoClassDefFoundError at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:153) at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:241) at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse
r(BaseSecurityService.java:308) at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu
rbineSecurity.java:194) at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
at org.apache.turbine.modules.Action.perform(Action.java:87) at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
org.apache.turbine.Turbine.doGet(Turbine.java:509) at
org.apache.turbine.Turbine.doPost(Turbine.java:658) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:475) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027) at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
) at java.lang.Thread.run(Thread.java:536)


---
Andrew Zahra
Wollongong, NSW
Australia


---------------------------------------------------------------------
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: TDK demo app probs

Posted by David Demner <tu...@demner.com>.
Hi Andrew,

There was an 'unofficial' TDK-2.3 release created very kindly by Jeff
Painter:

-----------
I have put together a tdk-2.3 that a few have tested and said is working 
for them. no word yet on if it will be officially posted

until then, you can download from me

http://kiasoft.com/~painter/tdk-2.3_20031210.tar.gz

there is one bug if you change the package of the sample app my intake 
examples seem to fail, but other than that it works alright. I haven't had 
time to figure out the problem... running the sample app out of the box 
seems to work just fine
-----------

I've been running it for a while now, as I'm sure others have too, and it
seems to work properly.  Maybe you will have more luck with this version?

Good luck,

David

PS: The mail archives are now at
http://www.mail-archive.com/turbine-user@jakarta.apache.org/ (which is
accessible from the Mailing List link on the main jakarta page).


-----Original Message-----
From: Andrew Zahra [mailto:work@zguy.com] 
Sent: Wednesday, January 21, 2004 7:55 PM
To: turbine-user@jakarta.apache.org
Subject: TDK demo app probs


I've just installed the TDK 2.2_01 and after install I go to tomcat, log in
OK and then get the error below. Where do I start figuring this out?

BTW, archives.apache.org isn't in DNS so I couldn't look thru the email
archives.

java.lang.NoClassDefFoundError at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:153) at
org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager
.java:241) at
org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse
r(BaseSecurityService.java:308) at
org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu
rbineSecurity.java:194) at
org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
at org.apache.turbine.modules.Action.perform(Action.java:87) at
org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at
org.apache.turbine.Turbine.doGet(Turbine.java:509) at
org.apache.turbine.Turbine.doPost(Turbine.java:658) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:243) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:190) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:475) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174) at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66) at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1027) at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
) at java.lang.Thread.run(Thread.java:536)


---
Andrew Zahra
Wollongong, NSW
Australia


---------------------------------------------------------------------
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