Re: CVS update: turbine/src/java/org/apache/turbine/util/db/poolDBConnection.java

2001-02-06 Thread Rafal Krzewski
Java Apache CVS Development wrote: User: dlr Date: 01/02/04 19:03:34 Modified:src/java/org/apache/turbine/util/db/pool DBConnection.java Log: Slightly more efficient error handling. Corrected tiny documentation deviation which slipped in unnoticed during last commit.

Log after shutdown

2001-02-06 Thread Ext-Ilkka . Priha
Could the static Log class support a spare logging mechanism (System.err?) after shutdown of the primary logging service. When shutting down all services, some objects (at least the IDBroker thread) will stop themselves asynchronously after the shutdown method has been called and may try to log a

TurbineException somewhat unfriendly

2001-02-06 Thread Ext-Ilkka . Priha
TurbineException closes the System.err stream after calling printStackTrace. -- Ilkka public void printStackTrace() { synchronized(System.err) { printStackTrace(System.err); } } public void printStackTrace(PrintStream out) {

Re: Any high level diagram of turbine velocity?

2001-02-06 Thread Rafal Krzewski
Jon Stevens wrote: on 2/5/01 8:42 AM, "Muly Oved" [EMAIL PROTECTED] wrote: Hi Does anybody have a diagram that show how turbine velocity are working, any input will be highly appriciated. Muly. Turbine + Velocity = HTML Is that good enough? :-) No it's not! Having UML

Re: I get the next error

2001-02-06 Thread Rafal Krzewski
Gustavo De Simone wrote: I get the next error trying to run the test Turbine servlet. Error: 500 Location: /prueba/servlet/Turbine Internal Servlet Error: java.lang.NoClassDefFoundError: helma/xmlrpc/XmlRpcServer at

Re: TurbineSecurity - getAllUsers()

2001-02-06 Thread Rafal Krzewski
Roall Lein-Killi wrote: How come there is no getAllUsers() method in TurbineSecurity ? Is there a good reason for this or should I make one? I believe that TurbineSecurity.getUsers(new Criteria()) will do that just fine :-) Rafal -- Rafal Krzewski Senior Internet Developer mailto:[EMAIL

RE: TDK peer newapp

2001-02-06 Thread Pere Torrodellas
Hello, By manually tweaking the build-project files, I managed to overcome the Windows + Oracle + TDK newapp problems, and the example peer newapp is now running. At runtime I found another problem: Turbine could not find my Oracle JDBC driver, which is in my Oracle directories and in my

RE: TDK peer newapp

2001-02-06 Thread NORTH
A list of how to get tdk working with oracle would be a great help. Jon North -Original Message- From: Pere Torrodellas [mailto:[EMAIL PROTECTED]] Sent: 06 February 2001 09:57 To: Turbine Subject: RE: TDK peer newapp Hello, By manually tweaking the build-project files, I

Re: TurbineException somewhat unfriendly

2001-02-06 Thread Rafal Krzewski
[EMAIL PROTECTED] wrote: TurbineException closes the System.err stream after calling printStackTrace. Oops, thanks for catching that Rafal -- Rafal Krzewski Senior Internet Developer mailto:[EMAIL PROTECTED] +48 22 8534830 http://e-point.pl

RE: Any high level diagram of turbine velocity?

2001-02-06 Thread Ext-Ilkka . Priha
A development tool and Java editor from http://www.togethersoft.com/ reverse engineers UML class diagrams from Java packages in real-time when browsing and editing code. This is of great help when integrating source code from different sources, I've used it succesfully also with Turbine.

Re: Log after shutdown

2001-02-06 Thread Rafal Krzewski
[EMAIL PROTECTED] wrote: Could the static Log class support a spare logging mechanism (System.err?) after shutdown of the primary logging service. When shutting down all services, some objects (at least the IDBroker thread) will stop themselves asynchronously after the shutdown method has

A little question

2001-02-06 Thread Antonio Ortega
In a Velocity Action, what's the difference of doing : public class GetPostData extends VelocityAction { public void doPerform( RunData data, Context context ) throws Exception { ... data.setScreenTemplate("/NewTemplate.vm"); ... } } or this : public class

RE: [WISH] Services

2001-02-06 Thread Ext-Ilkka . Priha
Yes, that would be a simple, but yet flexible way to "load" a customized broker to the framework, although bootstrap() must contain a default implementation as static abstract is not allowed ;-). -- Ilkka -Original Message- From: ext Rafal Krzewski [mailto:[EMAIL PROTECTED]] Sent:

Catalina session reloading (was Re: Infinite redirect issue)

2001-02-06 Thread Sean Legassick
On Mon, Feb 05, 2001 at 10:36:52PM -0800, Jon Stevens wrote: on 2/5/01 6:15 PM, "Will Stranathan" [EMAIL PROTECTED] wrote: Okay - the problem seems to be in Catalina - I guess. If I try to hit the site before the services are initialized, my browser gives the error, but the services

Re: Peer code extensions ?

2001-02-06 Thread Sean Legassick
On Mon, Feb 05, 2001 at 09:05:44PM +0100, Oskar ?wida wrote: Hi, I've noticed, that some time ago the code for Peer objects was extended ( "retrieveByPK" function for example). Would it be possible to add any other useful functions ? For example: getCount(Criteria) which returns

Re: Just one More Torque and database questions

2001-02-06 Thread Sean Legassick
On Tue, Feb 06, 2001 at 10:04:28AM -, Shaun Campbell wrote: Apologies if this is documented somewhere but are the keywords used to specify the mysql data types in the schema xml file defined anywhere? I have a datatype of a blob in the mysql database. When I specify a MEDIUMBLOB data

RE: Log after shutdown

2001-02-06 Thread Ext-Ilkka . Priha
Rafal, Thanks for the hint. I looked into the source of TurbineServices only as we've used its support to provide our own bootstrap logging service through the init parameter and that one doesn't maintain a defaut logger after shutdown. Obviously it should handle this problem. -- Ilkka

Re: Custom properties file

2001-02-06 Thread Etienne-Hugues Fortin
Hi Jon I just look at the source for TurbineConfig and there's three things that I want to know. First, your example have a line tc.init(). As it's already in the constructor for TurbineConfig, why would we call it explicitely? My second question is about the fact that you said that we can

Re: Problems with Torque

2001-02-06 Thread Leon Messerschmidt
"Colin Chalmers" [EMAIL PROTECTED] writes: Jason, you were right ;-)) After adding the firstbuild file *all* files were generated correctly. If anyone has any ideas on improving this processes, please make suggestions. :) -- Daniel Rall [EMAIL PROTECTED] How about adding a

Re: I get the next error

2001-02-06 Thread Jason van Zyl
It looks like you are missing xmlrpc.jar that is available in Turbine's lib directory. A packaging bug in TDK? Yes, I wasn't including the xmlrpc jar. I'll add that back in. jvz. To subscribe:[EMAIL PROTECTED] To

RE: TDK peer newapp

2001-02-06 Thread Jason van Zyl
On Tue, 6 Feb 2001, Pere Torrodellas wrote: Hello, By manually tweaking the build-project files, I managed to overcome the Windows + Oracle + TDK newapp problems, and the example peer newapp is now running. At runtime I found another problem: Turbine could not find my Oracle JDBC

Re: Just one More Torque and database questions

2001-02-06 Thread Jason van Zyl
On Tue, 6 Feb 2001, Shaun Campbell wrote: Apologies if this is documented somewhere but are the keywords used to specify the mysql data types in the schema xml file defined anywhere? The types defined in the XML schema are JDBC types. How the JDBC types map to your native RDBMS is defined

RE: TDK peer newapp

2001-02-06 Thread Jason van Zyl
On Tue, 6 Feb 2001 [EMAIL PROTECTED] wrote: A list of how to get tdk working with oracle would be a great help. If someone sends me scripts (.sh .bat) to create Oracle databases then I will add support in the TDK for automatic app generation. But I don't have a copy of Oracle running so I

Re: Infinite redirect issue

2001-02-06 Thread Will Stranathan
That's my point - the problem is not with Turbine - it's in Catalina because it's evident that Turbine's doGet()/init() are never getting called. I just don't understand why Catalina would be doing a redirect. Will Stranathan On Mon, 05 Feb 2001 22:36:52 -0800 Jon Stevens [EMAIL PROTECTED]

Java 2 native on FreeBSD and the TDK

2001-02-06 Thread Ben Kinder
I don't have a question, just an anouncement. I didn't see my system on the "known to work" systems. The TDK rocks on FreeBSD with the "build your own JDK" version 1.2.2, MySQL 3.2.3, FreeBSD-RELEASE 4.2. Thanks for an awesome product!

Re: Custom properties file

2001-02-06 Thread Rafal Krzewski
Etienne-Hugues Fortin wrote: Hi Jon I just look at the source for TurbineConfig and there's three things that I want to know. First, your example have a line tc.init(). As it's already in the constructor for TurbineConfig, why would we call it explicitely? OK it is definetely messed

Re: Tagging CVS post TDK

2001-02-06 Thread Rafal Krzewski
Jason van Zyl wrote: I'm not sure exactly how to tag CVS: the TDK is done so I would like to tag what's in CVS as TDK-1.1a11 so that debugging the TDK will be easier. Is it as simple as 'cvs tag TDK-1.1a11' ? Yes. That's how you do it. Rafal -- Rafal Krzewski Senior Internet Developer

Re: Tagging CVS post TDK

2001-02-06 Thread Hervé Guidetti
Yes. Just : 'cvs tag TDK-1.1a11' at the root of the directory. It tags each sub directories and files. Herv - Original Message - From: Jason van Zyl [EMAIL PROTECTED] To: Turbine [EMAIL PROTECTED] Sent: Tuesday, February 06, 2001 4:10 PM Subject: Tagging CVS post TDK Hi, I'm not

Re: [WISH] Services

2001-02-06 Thread Rafal Krzewski
[EMAIL PROTECTED] wrote: Yes, that would be a simple, but yet flexible way to "load" a customized broker to the framework, although bootstrap() must contain a default implementation as static abstract is not allowed ;-). OK, I didn't know about that one. A dummy implementation will be also

Re: Just one More Torque and database questions

2001-02-06 Thread Sean Legassick
On Tue, Feb 06, 2001 at 09:56:55AM -0500, Jason van Zyl wrote: On Tue, 6 Feb 2001, Shaun Campbell wrote: Apologies if this is documented somewhere but are the keywords used to specify the mysql data types in the schema xml file defined anywhere? The types defined in the XML

I promise this is the last Torque and database question

2001-02-06 Thread Shaun Campbell
Ok got Turbine and Torque working fine now and am very impressed but I think we may have come up against a bit of a problem. The problem is that, as in the real world, the data we wish to display on the screen comes from more than one table. i.e we want to translate a status code to a

Re: how to use peer model with joins

2001-02-06 Thread John McNally
[EMAIL PROTECTED] wrote: Hi, I've been working with Turbine for a couple of weeks, on and off, and am finally getting to the point where I would need to do some joins between some tables to build some output for the users. I'm using Torque to generate the om classes, and for example,

gteRealPath servlet config

2001-02-06 Thread John Thorhauer
How can I access getRealPath() from outside of the services? Is there a way to get the ServletConfig or the realpath from the ResourceService? Thanks, John -- ** John Thorhauer ** [EMAIL PROTECTED] ** take a look at: ** http://tambora.zenplex.org **

TDK Oracle Peer newapp

2001-02-06 Thread Pere Torrodellas
- Mensaje original - De: [EMAIL PROTECTED] Para: [EMAIL PROTECTED] Enviado: martes 6 de febrero de 2001 11:51 Asunto: RE: TDK peer newapp : A list of how to get tdk working with oracle would be a great help. : : Jon North : OK, this is what I did to get the TDK 1.1a10 Peer example

RE: TimeSelector

2001-02-06 Thread Brekke, Jeff
I have completed one, but didn't think there was much interest, if there is I'll commit it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 5:30 PM To: [EMAIL PROTECTED] Subject: TimeSelector Hi, Perhaps I'm not

RE: [PATCH]DateSelector.java

2001-02-06 Thread Brekke, Jeff
You can do cvs diff -u DateSelector.java Which will diff your working version with the one in CVS. The output of that is what we need. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 7:17 AM To: [EMAIL PROTECTED] Subject:

sealing violation

2001-02-06 Thread Leandro
Error=Turbine.handleException: sealing violation What is that I can't find it in the source code... Is it from catalina ? To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search:

Re: Tagging CVS post TDK

2001-02-06 Thread Jason van Zyl
Thanks Rafal, the turbine repository now has a TDK-1a11 tag which corresponds to the source used to build the latest TDK. jvz. On Tue, 6 Feb 2001, Rafal Krzewski wrote: Jason van Zyl wrote: I'm not sure exactly how to tag CVS: the TDK is done so I would like to tag what's in CVS as

Re: Just one More Torque and database questions

2001-02-06 Thread Jason van Zyl
Oh, okay - I missed that. Sorry Shaun for the misleading information. So that's a nice bit of abstraction there. Just to clarify, the types you specify in your XML schema are the JDBC types right? So for MySQL Shaun would specify VARBINARY ... Yes, the way the db.props for MySQL are

Re: Problems with Torque

2001-02-06 Thread Daniel Rall
Leon Messerschmidt [EMAIL PROTECTED] writes: "Colin Chalmers" [EMAIL PROTECTED] writes: Jason, you were right ;-)) After adding the firstbuild file *all* files were generated correctly. If anyone has any ideas on improving this processes, please make suggestions. :) How

Re: TDK peer newapp

2001-02-06 Thread Daniel Rall
"Pere Torrodellas" [EMAIL PROTECTED] writes: Hello, By manually tweaking the build-project files, I managed to overcome the Windows + Oracle + TDK newapp problems, and the example peer newapp is now running. At runtime I found another problem: Turbine could not find my Oracle JDBC

Re: gteRealPath servlet config

2001-02-06 Thread Raphaël Luta
At 12:07 06/02/2001 +, you wrote: How can I access getRealPath() from outside of the services? Is there a way to get the ServletConfig or the realpath from the ResourceService? You may perhaps use 2 of the services we have in Jetspeed, depending on your need: *

Re: gteRealPath servlet config

2001-02-06 Thread Jason van Zyl
On Tue, 6 Feb 2001, John Thorhauer wrote: How can I access getRealPath() from outside of the services? Is there a way to get the ServletConfig or the realpath from the ResourceService? Can we make a getRealPath(path) method available to all non-services classes as well? For example I have

Re: CVS update: turbine/src/java/org/apache/turbine/util/db/poolDBConnection.java

2001-02-06 Thread Daniel Rall
Rafal Krzewski [EMAIL PROTECTED] writes: Java Apache CVS Development wrote: User: dlr Date: 01/02/04 19:03:34 Modified:src/java/org/apache/turbine/util/db/pool DBConnection.java Log: Slightly more efficient error handling. Corrected tiny documentation

Re: Log after shutdown

2001-02-06 Thread Daniel Rall
There was discussion about logging to System.err or the servlet container's log file if the prepared log file has already been closed. [EMAIL PROTECTED] writes: Could the static Log class support a spare logging mechanism (System.err?) after shutdown of the primary logging service. When

Re: TurbineException somewhat unfriendly

2001-02-06 Thread Daniel Rall
[EMAIL PROTECTED] writes: TurbineException closes the System.err stream after calling printStackTrace. -- Ilkka public void printStackTrace() { synchronized(System.err) { printStackTrace(System.err); } } public void

Re: A little question

2001-02-06 Thread Jon Stevens
on 2/6/01 5:01 AM, "Antonio Ortega" [EMAIL PROTECTED] wrote: In a Velocity Action, what's the difference of doing : public class GetPostData extends VelocityAction { public void doPerform( RunData data, Context context ) throws Exception { ... data.setScreenTemplate("/NewTemplate.vm");

Re: Catalina session reloading (was Re: Infinite redirect issue)

2001-02-06 Thread Jon Stevens
on 2/6/01 5:25 AM, "Sean Legassick" [EMAIL PROTECTED] wrote: Speaking of which, do you know, Jon, what the current status of session reloading in Catalina is. I had a quick scan of the tomcat-dev archives and saw that's in on the list for beta 2. Do you know if it's been fixed on CVS

Re: how to use peer model with joins

2001-02-06 Thread Jon Stevens
on 2/6/01 9:05 AM, "John McNally" [EMAIL PROTECTED] wrote: If you choose the objectModel=complex in your torque.props, many join methods will be created. Maybe one will meet your needs, or at least you will see how Peers can be used in joins, and you can add your own. John, why isn't this

Re: I promise this is the last Torque and database question

2001-02-06 Thread John McNally
Shaun Campbell wrote: Ok got Turbine and Torque working fine now and am very impressed but I think we may have come up against a bit of a problem. The problem is that, as in the real world, the data we wish to display on the screen comes from more than one table. i.e we want to translate

Re: Problems with Torque

2001-02-06 Thread John McNally
Daniel Rall wrote: Leon Messerschmidt [EMAIL PROTECTED] writes: "Colin Chalmers" [EMAIL PROTECTED] writes: Jason, you were right ;-)) After adding the firstbuild file *all* files were generated correctly. If anyone has any ideas on improving this processes, please

Re: CVS update: turbine/src/java/org/apache/turbine/util/db/poolDBConnection.java

2001-02-06 Thread Rafal Krzewski
Daniel Rall wrote: Maybe you could use TurbineException (or a custm derivate of it) ? That would've been great. However, the PooledConnection interface needs to throw a SQLException. SQLException and TurbineException are both solid classes, so there is no way to extend both. I think

Re: CVS update: turbine/src/java/org/apache/turbine/util/db/poolDBConnection.java

2001-02-06 Thread Jon Stevens
on 2/6/01 1:57 PM, "Rafal Krzewski" [EMAIL PROTECTED] wrote: Ah I undestand. It's not easy to get around this one. I guess that Logging the stacktrace at the point and throwing the specific Exception class is indeed the way to go here. Rafal Yup. I'm not always an idiot. :-) I threw that

[PATCH] Two Bugs in Torques Peer.vm and Object.vm templates

2001-02-06 Thread Christof Marti
While playing around with the new TDK/Torque if found two small but nasty bugs. Patches are included below. Bug No. 1: -- If you create a database schema with a database name other then "default" (eg. database name="tdm"), the Peers for this database fail, when performing a doUpdate(),

Criteria OR and table aliases

2001-02-06 Thread John McNally
FYI. I checked in some changes to Criteria and related classes (mainly BasePeer) that allow chaining of Criterion (the inner class of Criteria) using OR and also AND. Please see the archive on my discussion of how to use it. Current usage should not be affected. My personal opinion is that

Re: how to use peer model with joins

2001-02-06 Thread Daniel Rall
Jon Stevens [EMAIL PROTECTED] writes: on 2/6/01 9:05 AM, "John McNally" [EMAIL PROTECTED] wrote: If you choose the objectModel=complex in your torque.props, many join methods will be created. Maybe one will meet your needs, or at least you will see how Peers can be used in joins, and

Re: how to use peer model with joins

2001-02-06 Thread Sean Legassick
On Tue, Feb 06, 2001 at 11:02:28AM -0800, Jon Stevens wrote: on 2/6/01 9:05 AM, "John McNally" [EMAIL PROTECTED] wrote: If you choose the objectModel=complex in your torque.props, many join methods will be created. Maybe one will meet your needs, or at least you will see how Peers can

Re: gteRealPath servlet config

2001-02-06 Thread Sean Legassick
On Tue, Feb 06, 2001 at 01:16:01PM -0500, Jason van Zyl wrote: Could we have something like: TurbineResources.getRealPath(path) for this? If so I will add it. It would just be nice to have one clean way of getting the webapp path. +1 -- Sean Legassick [EMAIL PROTECTED] Als Mensch

Re: how to use peer model with joins

2001-02-06 Thread tofupup
On Tue, Feb 06, 2001 at 09:05:09AM -0800, John McNally wrote: If you choose the objectModel=complex in your torque.props, many join methods will be created. Maybe one will meet your needs, or at least you will see how Peers can be used in joins, and you can add your own. This looks like

Sourcecast - CollabNet

2001-02-06 Thread Dave Bryson
Just curious... Is Turbine being used in the Sourcecast stuff? If so, how (Scarab, Helm)? -- Dave Bryson [EMAIL PROTECTED] -- To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED]

Re: Sourcecast - CollabNet

2001-02-06 Thread Daniel Rall
Dave Bryson [EMAIL PROTECTED] writes: Just curious... Is Turbine being used in the Sourcecast stuff? If so, how (Scarab, Helm)? Scarab is built entirely upon Turbine. Helm and Joist have been using various Turbine utilities since I started at CollabNet almost a year ago. Leonard and I

Re: basic turbine (or tdk) user authentication

2001-02-06 Thread Eric Dobbs
Jon and Jason, thanks for suggesting scarab and flux as examples. In both cases, I was able to install and build them, but I got stack traces when I tried using them. Debugging those seemed to be taking me too far out of the scope of my present task, so I stopped there. Cameron, thanks for

Re: TDK peer newapp

2001-02-06 Thread Daniel Rall
Jason van Zyl [EMAIL PROTECTED] writes: On 5 Feb 2001, Daniel Rall wrote: "Randall G. Alley" [EMAIL PROTECTED] writes: Jason reminds me that the scripts to insert the SQL are probably database dependent as well. Perhaps you could manually insert the SQL as well. The SQL files

Re: Sourcecast - CollabNet

2001-02-06 Thread Josh Lucas
Dave Bryson wrote: Just curious... Is Turbine being used in the Sourcecast stuff? If so, how (Scarab, Helm)? It is obviously being used in Scarab and Helm is currently being ported to use the peer model. dlr will probably be able to say more though... josh

Re: TDK peer newapp

2001-02-06 Thread Jason van Zyl
On 6 Feb 2001, Daniel Rall wrote: Jason van Zyl [EMAIL PROTECTED] writes: On 5 Feb 2001, Daniel Rall wrote: "Randall G. Alley" [EMAIL PROTECTED] writes: Jason reminds me that the scripts to insert the SQL are probably database dependent as well. Perhaps you could