Scheduler

2000-11-29 Thread Steve McNally
Hi can someone gove me some pointers on getting the Scheduler working. I have Turbine installed and I get the Welcome to Turbine Screen but from here I do not know what to do to get the Scheduler working. Any help would be really appreciated Cheers Steve

Re: Torque problem? Non-terminating app...

2000-11-29 Thread Rafal Krzewski
"Diethelm Guallar, Gonzalo" wrote: I changed process() to go to MySQL instead of taking the values from fixed arrays. I used torque to generate the peers, and everything works EXACTLY the same (I'm verifying this by diff'ing the output in both cases). I'm still getting the "Done!" printed

Re: Turbine (no java experience required)

2000-11-29 Thread John Thorhauer
On Tuesday 28 November 2000 20:20, Mike Haberman wrote: I think it's a great example of using the power of Turbine to form page composition and a template language to build the components. Turbine may be for experienced java developers but it's provides a beautiful framework for building

Re: turbine apps, tomcat + forte

2000-11-29 Thread Rafal Krzewski
Sarbjit Singh wrote: Does anyone use forte to debug turbine based applications? Does anyone use it for stepping or debugging turbine. I run Tomcat under jdb when I'm in mood for stepping over my code/Turbine code. It's kind of fun, the jdb interface is a bit crude though. Rafal -- Rafal

Re: Turbine (no java experience required)

2000-11-29 Thread Rafal Krzewski
Mike Haberman wrote: the box is a 486 :) but our internet connection is an OC-3 up to chicago! OC-48 soon. Hey it's not that bad... I'd say it's performing pretty damn awesome for a 486 running Java! The site is working smoothly over my lousy connection from Poland. Nice site BTW. The

Re: Scheduler

2000-11-29 Thread John Thorhauer
On Wednesday 29 November 2000 09:57, Steve McNally wrote: Hi can someone gove me some pointers on getting the Scheduler working. Have you taken a look at: http://java.apache.org/turbine/getting-started.html It gives you the basic info on the scheduler and tells you how to get it started.

Re: [proposal] db schema

2000-11-29 Thread Rafal Krzewski
[EMAIL PROTECTED] wrote: On Tue, 28 Nov 2000, Rafal Krzewski wrote: I'm not sure if implementing automatic name shortening in Torque is feasible. I'd suggest creating a separate short-names-turbine-schema.xml, that could be used to generate SQL for those databases. The name

Re: Patch for DB2 SQL scripts

2000-11-29 Thread ingo schuster
At 19:22 2000-11-28, John McNally wrote: 5. The latest version of DB2 supports auto-increment fields, keyword GENERATED ALWAYS AS IDENTITY. what is the sql to retrieve the id after a row is inserted? Just use the column name. I give you an example: The PERMISSION table is created as

RE: Scheduler

2000-11-29 Thread Steve McNally
Hi thanks for the reply: Some of the instructions don't seem to make sense : First set the following properties in TurbineResources.properties located in the Turbine/conf directory. * default.template=/default.wm *

Re: Turbine (no java experience required)

2000-11-29 Thread Ted Husted
On 11/28/2000 at 2:20 PM Mike Haberman wrote: I set up Turbine for a group of students to use for a class project for developing a web site. All they needed to know was the directory structure, and the api of few of the context tools. All I did was create a context tool so that HashMaps and

RE: Any known changes to setTemplate()? Strange error...

2000-11-29 Thread Diethelm Guallar, Gonzalo
form action="$link.setAction("B")" input value="Go to A" name="eventSubmit_doA" type="submit" /form Where is your $link.setPage()? Nowhere... That's the point here, the page is being set from the doA() method in the B.java class, using setTemplate(data, page name). Is this absolutely

Re: Scheduler

2000-11-29 Thread John Thorhauer
On Wednesday 29 November 2000 12:49, Steve McNally wrote: Hi thanks for the reply: Some of the instructions don't seem to make sense : First set the following properties in TurbineResources.properties located in the Turbine/conf directory. * default.template=/default.wm *

RE: Any known changes to setTemplate()? Strange error...

2000-11-29 Thread Riley, Cameron
Gonzalo, setTemplate(data, "A.wm"); Are you using TDK b1? I tired it yesterday with b1 and the setTemplate() wasnt passing it on. I didnt get a stackTrace with it though. I assumed it was to do with the line endings warning that was up on the tdk download page to do with b1 and Win32. What

Problem with velocity

2000-11-29 Thread NORTH
Hi, I have been having problems accessing a vector of objects stored in the context. I am able to make a vector of strings, put this in the context and then access each with #foreach in the vm template, but when I try to add a vector of objects and access the different get methods on that

Problem with Peers used in Turbine

2000-11-29 Thread Stefan Guenther
Hi again, some days ago I said under another topic, that I have problems using Informix because names of database objects are lowercase and suspect, that Informix is case sensitive. Well, only the first is true. I have traced this down to the initialization via Village (Schema.schema() ...).

RE: Scheduler

2000-11-29 Thread Steve McNally
Hi I am using the TDK and I have the basic screen working. But VelocitySiteSessionValidator does not exist in the turbine or tdk distribution. The directories indicted to sepcify in velocity.properties to get the scheduler working do not exist in the distribution either. If you have this

RE: tomcat webserver with tdk

2000-11-29 Thread Michaud, Ben A.
Jon, Yeah I did make sure, and I made sure the CLASSPATH was correct also. As it turns out, the reason the classes were not found was that I was using the lib directory from the other version of tomcat, because the somehow corrupt tar distribution did not include the lib directory, and I was

CVS does not compile

2000-11-29 Thread Leon Messerschmidt
Hi, At the risk of sounding stupid: Does anybody know of compile errors in the main Turbine cvs? There are errors in ImageURI and TurbineConfig. ~ Leon [javac] D:\apps\turbine\bin\src\org\apache\turbine\util\ImageURI.java:87: Me thod getContextPath() not found in interface

RE: Pooling socket connections

2000-11-29 Thread Michaud, Ben A.
-Original Message- From: Dave Bryson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 7:41 PM To: Turbine Subject: Re: Pooling socket connections On Tue, 28 Nov 2000, you wrote: Hi, We are using Forte as a middleware, which encapsulates the business logic

Re: Scheduler

2000-11-29 Thread John Thorhauer
On Wednesday 29 November 2000 13:48, Steve McNally wrote: If you have this working could you send me a copy of property files ? I am using the scheduler but I am not using the TDK and I am not using webmacro. I dont think that my property file would help much since it is a highly customized

RE: tomcat webserver with tdk

2000-11-29 Thread Michaud, Ben A.
-Original Message- From: Will Stranathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 9:57 PM To: Turbine Subject: Re: tomcat webserver with tdk Since you already had a working Tomcat installed, I bet the problem is that TOMCAT_HOME is set - if so, that's

Re: tomcat webserver with tdk

2000-11-29 Thread Christoph Reck
Sun's tar is broken and declares checksum error when filename paths exceed a certain length limit. Use gnutar and all should be OK. :) Christoph [snip] the lib directory from the other version of tomcat, because the somehow corrupt tar distribution did not include the lib directory, and I

RE: getting turbine/using CVSWeb

2000-11-29 Thread Michaud, Ben A.
Woohoo! I used a different version of tar, and it worked! 8-) It turns out that I was not using Sun's gzip, but I was using Sun's tar. Thanks so much for your help! Ben -Original Message- From: Will Stranathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 10:02 PM

Re: CVS does not compile

2000-11-29 Thread Rafal Krzewski
Leon Messerschmidt wrote: Hi, At the risk of sounding stupid: Does anybody know of compile errors in the main Turbine cvs? There are errors in ImageURI and TurbineConfig. Those are Servlet API compatibility problems. The offending methods are not present in version 2.0. The error in

Re: CVS does not compile

2000-11-29 Thread Sean Legassick
On 2000.11.29 14:22:33 + Leon Messerschmidt wrote: Hi, At the risk of sounding stupid: Does anybody know of compile errors in the main Turbine cvs? There are errors in ImageURI and TurbineConfig. You're compiling against JSDK2.0 and these classes are calling JSDK2.2 methods. As far

RE: Torque problem? Non-terminating app...

2000-11-29 Thread Diethelm Guallar, Gonzalo
Yup, that worked. Thanks for the explanation and the solution. -- Gonzalo A. Diethelm [EMAIL PROTECTED] -Original Message- From: Rafal Krzewski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 29, 2000 6:59 AM To: Turbine Subject: Re: Torque problem? Non-terminating app...

RE: Any known changes to setTemplate()? Strange error...

2000-11-29 Thread Diethelm Guallar, Gonzalo
I'm using code from CVS as of Nov 29, around 6pm (18 hours old). Risking the wrath from the powers that be, I'm not using the TDK, since I have an app already in development for a couple of months, and all I do is a cvs update every few days. This thing runs on WinNT 4.0, Sun JDK 1.3, Resin 1.2.

Re: CVS does not compile

2000-11-29 Thread Sean Legassick
On 2000.11.29 16:38:18 + Rafal Krzewski wrote: The error in ImageURI is easy to fix (see DynamicURI class), but I don't like the idea of ImageURI at all. It has static path stuck in the code. Bad idea. I believe that it should be replaced with StaticLink class that was discussed on the

Re: [proposal] db schema

2000-11-29 Thread jvanzyl
You are right. If both SQL and MapBuilders are generated, this feature makes much more sense. I'd suggest dropping vowels from the names, and if still too long chopping at the end. TURBINE_USER_GROUP_ROLE - TRBN_USR_GRP_RL If nobody posts objections to the above, I'll commit the

Re: VTorqueTask does not support contextProperties attribute

2000-11-29 Thread jvanzyl
On Wed, 29 Nov 2000, Sean Legassick wrote: Building from latest CVS turbine/tdk I get this message when I try to build the project. I look, and indeed build-project.xml has several contextProperties attributes in vtorque task tags, but VTorqueTask.java doesn't have get/set methods for

ScreenTemplate was ( RE: Setting Layout Template for a Screen)

2000-11-29 Thread Riley, Cameron
String getScreenTemplate() void setScreenTemplate(String) How can setScreenTemplate() be used? I tried it in a template and didnt see any obvious use or advantage from it? I also added extra documentation in the context-howto xdoc about using and accessing TemplateInfo through the RunData

Subproject build file directory

2000-11-29 Thread jvanzyl
Hi, I just finished making a little build script for generating the Turbine SQL schema for the supported databases. The turbine-build.xml is getting rather hefty so I would like to propose making a subprojects directory where we can have small build files that can be called using an antcall.

Schema for new Turbine security DB

2000-11-29 Thread Diethelm Guallar, Gonzalo
The new Turbine security DB has two relation tables: * ROLE_PERMISSION: what permissions are in a role. * USER_GROUP_ROLE: what roles a given user has as a member of a given group. My gut tells me there could be one other relation that might be useful: * GROUP_ROLE: what roles a group has,

Re: CVS does not compile

2000-11-29 Thread Rafal Krzewski
Sean Legassick wrote: Actually I've just committed some changes to RunData/ServerData that make this even cleaner (IMO). Now RunDataFactory seeds a contextPath field in ServerData (using the reflection trick that has it compile on JSDK2.0 as well). So replace ImageURI with: img

[PATCH] org/apache/turbine/util/template/TemplateInfo.java

2000-11-29 Thread Martin Poeschl
Problem description: data.getTemplateInfo().setScreenTemplate(...) adds the template name to the String[] in ParameterParser data.getTemplateInfo().getScreenTemplate() returns the first template name in the String[] FIX: do not append the value .. replace it!! Index:

Re: Any known changes to setTemplate()? Strange error...

2000-11-29 Thread Will Stranathan
It's not just related to that one issue - where a template is not already set. In TDK 1.1b1, I have the following on login.vm: FORM method="POST" action="$link.setPage("index.vm").setAction("LoginUser")" In LoginUser.java, I have the following: catch ( TurbineSecurityException e ) {

Re: Problem with velocity

2000-11-29 Thread Geir Magnusson Jr.
[EMAIL PROTECTED] wrote: Hi, I have been having problems accessing a vector of objects stored in the context. I am able to make a vector of strings, put this in the context and then access each with #foreach in the vm template, but when I try to add a vector of objects and access the

Re: Scheduler

2000-11-29 Thread Jon Stevens
on 11/29/2000 4:49 AM, "Steve McNally" [EMAIL PROTECTED] wrote: Hi thanks for the reply: Some of the instructions don't seem to make sense : First set the following properties in TurbineResources.properties located in the Turbine/conf directory. * default.template=/default.wm *

Re: Any known changes to setTemplate()? Strange error...

2000-11-29 Thread Jon Stevens
on 11/29/2000 6:29 AM, "Diethelm Guallar, Gonzalo" [EMAIL PROTECTED] wrote: form action="$link.setAction("B")" input value="Go to A" name="eventSubmit_doA" type="submit" /form Where is your $link.setPage()? Nowhere... That's the point here, the page is being set from the doA() method

Re: Problem with velocity

2000-11-29 Thread Jon Stevens
on 11/29/2000 5:37 AM, "[EMAIL PROTECTED]" [EMAIL PROTECTED] wrote: Hi, I have been having problems accessing a vector of objects stored in the context. I am able to make a vector of strings, put this in the context and then access each with #foreach in the vm template, but when I try to

which DB schema??

2000-11-29 Thread Martin Poeschl
is MySQL_users_roles_permissions.sql the current schema?? i will correct the Oracle_users_roles_permissions.sql ... To subscribe:[EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Search:

Re: tomcat webserver with tdk

2000-11-29 Thread Jon Stevens
on 11/29/2000 6:21 AM, "Michaud, Ben A." [EMAIL PROTECTED] wrote: how can I get the Village and JNDI? http://www.working-dogs.com/turbine/cvsweb/index.cgi/turbine/lib/README.txt ?rev=1.11content-type=text/x-cvsweb-markup -jon -- twice of not very much is still a lot more than not very much

Re: Pooling socket connections

2000-11-29 Thread Jon Stevens
on 11/29/2000 6:34 AM, "Michaud, Ben A." [EMAIL PROTECTED] wrote: Why doesn't a database provide this? I think you are confused about what needs to be pooled. -jon -- twice of not very much is still a lot more than not very much

Re: getting turbine/using CVSWeb

2000-11-29 Thread Jon Stevens
on 11/29/2000 6:53 AM, "Michaud, Ben A." [EMAIL PROTECTED] wrote: Woohoo! I used a different version of tar, and it worked! 8-) It turns out that I was not using Sun's gzip, but I was using Sun's tar. Thanks so much for your help! Ben I already told you that yesterday. sigh. -jon

Secure passwords

2000-11-29 Thread Will Stranathan
This text shows up in the turbine-security.sql that is built by the Ant task turbine-security-sql: -- Use this script to bootstrap you system into usage of secure passwords. -- It will set the administrator's password to 'turbine' (using SHA digest) -- Then, you'll be able to log in and change

RE: Schema for new Turbine security DB

2000-11-29 Thread Michaud, Ben A.
I am in agreement here. As long as the sole reason for the group is to defined common lists of roles, then there should be a USER_GROUP table and a GROUP_ROLE table. However, if the groups are defined not for permissions (i.e., security), but for the physical grouping of people, then you would

Re: [PATCH] org/apache/turbine/util/template/TemplateInfo.java

2000-11-29 Thread Jon Stevens
on 11/29/2000 9:03 AM, "Martin Poeschl" [EMAIL PROTECTED] wrote: Problem description: data.getTemplateInfo().setScreenTemplate(...) adds the template name to the String[] in ParameterParser data.getTemplateInfo().getScreenTemplate() returns the first template name in the String[] FIX:

Re: Schema for new Turbine security DB

2000-11-29 Thread Rafal Krzewski
"Diethelm Guallar, Gonzalo" wrote: * ROLE_PERMISSION: what permissions are in a role. * USER_GROUP_ROLE: what roles a given user has as a member of a given group. My gut tells me there could be one other relation that might be useful: * GROUP_ROLE: what roles a group has, and

Re: which DB schema??

2000-11-29 Thread jvanzyl
On Wed, 29 Nov 2000, Martin Poeschl wrote: is MySQL_users_roles_permissions.sql the current schema?? i will correct the Oracle_users_roles_permissions.sql ... I'm making a build file now that is going to generate all the SQL, it will be up as soon as ant cooperates! jvz.

RE: Pooling socket connections

2000-11-29 Thread Michaud, Ben A.
-Original Message- From: Jon Stevens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 29, 2000 12:23 PM To: Turbine Subject: Re: Pooling socket connections on 11/29/2000 6:34 AM, "Michaud, Ben A." [EMAIL PROTECTED] wrote: Why doesn't a database provide this? I think

JSP conf step by step, still cant get it up

2000-11-29 Thread Sarbjit Singh
Title: Hi, i am getting frustrated yet still obssed with getting Turbine up and running.Also tryin to understand how it works.HI did a clean installation this morning and i get a null pointer exception.This is the procedure i followed (very detailed)1) Downloaded Turbine2) Intalled turbine

Re: VTorqueTask does not support contextProperties attribute

2000-11-29 Thread Sean Legassick
On 2000.11.29 16:24:27 + [EMAIL PROTECTED] wrote: That property is handled by the parent TexenTask and isn't specific to Torque, it is probably the velocity jar that is out of date. I'll check in the latest one after some tests. Doh! I had a feeling that I was missing something - it

Re: CVS does not compile

2000-11-29 Thread Sean Legassick
On 2000.11.29 17:55:34 + Rafal Krzewski wrote: Sean Legassick wrote: Actually I've just committed some changes to RunData/ServerData that make this even cleaner (IMO). Now RunDataFactory seeds a contextPath field in ServerData (using the reflection trick that has it compile on JSDK2.0

build for turbine

2000-11-29 Thread Michaud, Ben A.
Hi. Being a newbie to both turbine and CVS, I am a little unsure of how to proceed as I attempt to set up turbine. We are in the process of developing a new system, and I have very limited time to get a page up and working with turbine before we have to abandon the whole notion of using a

Re: Subproject build file directory

2000-11-29 Thread Christopher Elkins
Hi, I just finished making a little build script for generating the Turbine SQL schema for the supported databases. The turbine-build.xml is getting rather hefty so I would like to propose making a subprojects directory where we can have small build files that can be called using an

Re: Pooling socket connections

2000-11-29 Thread Jon Stevens
on 11/29/2000 10:12 AM, "Michaud, Ben A." [EMAIL PROTECTED] wrote: No, actually, I posed the question rhetorically. We need to provide a mechanism to pool database connections, because it does not make sense that the database provide this mechanism. Actually it makes perfect sense that it

Re: Torque [was Re: Question about Peers and doInsert;]

2000-11-29 Thread John McNally
My reasoning for making none the default was that it seemed to make the most sense to me that if the attribute was missing it meant the table did not require an id generation method. Regardless of which method is chosen for the majority of tables that need id generation, there will almost always

Re: Patch for DB2 SQL scripts

2000-11-29 Thread John McNally
ingo schuster wrote: At 19:22 2000-11-28, John McNally wrote: 5. The latest version of DB2 supports auto-increment fields, keyword GENERATED ALWAYS AS IDENTITY. what is the sql to retrieve the id after a row is inserted? Just use the column name. I give you an example:

Re: Scheduler

2000-11-29 Thread John McNally
Steve McNally wrote: Hi I am using the TDK and I have the basic screen working. But VelocitySiteSessionValidator does not exist in the turbine or tdk distribution. Use TemplateSessionValidator. Can't help with the rest. The directories indicted to sepcify in velocity.properties to

Re: Torque [was Re: Question about Peers and doInsert;]

2000-11-29 Thread Jon Stevens
on 11/29/2000 10:55 AM, "John McNally" [EMAIL PROTECTED] wrote: My reasoning for making none the default was that it seemed to make the most sense to me that if the attribute was missing it meant the table did not require an id generation method. Regardless of which method is chosen for the

Re: Secure passwords

2000-11-29 Thread John McNally
Is the secure property set to true in the SecurityService properties? Will Stranathan wrote: This text shows up in the turbine-security.sql that is built by the Ant task turbine-security-sql: -- Use this script to bootstrap you system into usage of secure passwords. -- It will set the

Re: JSP conf step by step, still cant get it up

2000-11-29 Thread John McNally
--- # # JSP S E R V I C E # # --- j) services.JspService.templates=/templates k)

Problems with the first template loaded

2000-11-29 Thread Joaquin Cuenca Abela
Hi, I've started to transfer an existing site to turbine (in win2000, with tdk1.1a9) and in order to do that I've created a test site (named backoffice). I've made a HelloWorld.vm file in the template/screen directory, and a HelloWorld.{java, class} files (as stated in the doc). But the first

Re: build for turbine

2000-11-29 Thread Dave Bryson
On Wed, 29 Nov 2000, you wrote: Hi. Being a newbie to both turbine and CVS, I am a little unsure of how to proceed as I attempt to set up turbine. We are in the process of developing a new system, and I have very limited time to get a page up and working with turbine before we have to

dynamic in XSL

2000-11-29 Thread Julien Giovannnoni
Hi, I encoured problems with dynamic variable in a xsl sheet! ie: with an OPTION ... form for a SELECT form this code match, ok SELECT name="country" xsl:for-each select="profil/countries/country" OPTION value="{iso_codeCountry}"

dynamic in XSL

2000-11-29 Thread Julien Giovannnoni
Sorry the same mail but more visible Hi, I encoured problems with dynamic variable in a xsl sheet! ie: with an OPTION ... form for a SELECT form this code match, ok SELECT name="country" xsl:for-each select="profil/countries/country" OPTION value="{iso_codeCountry}" xsl:apply-templates

Re: Problems with the first template loaded

2000-11-29 Thread Dave Bryson
On Wed, 29 Nov 2000, you wrote: Hi, I've started to transfer an existing site to turbine (in win2000, with tdk1.1a9) and in order to do that I've created a test site (named backoffice). I've made a HelloWorld.vm file in the template/screen directory, and a HelloWorld.{java, class} files

Re: Pooling socket connections

2000-11-29 Thread Gunnar R|nning
Jon Stevens [EMAIL PROTECTED] writes: Actually it makes perfect sense that it doesn't. Hello? Why would it pool connections to itself? The overhead is in creating the socket connection and establishing the communication (ie: login and authentication), so given that the database is probably

Re: Subproject build file directory

2000-11-29 Thread jvanzyl
On Wed, 29 Nov 2000, Christopher Elkins wrote: Hi, I just finished making a little build script for generating the Turbine SQL schema for the supported databases. The turbine-build.xml is getting rather hefty so I would like to propose making a subprojects directory where we can

Re: dynamic in XSL

2000-11-29 Thread Vladimir Sekissov
I think your default formatter in cocoon.properties is text/html. change it to text/xhtml in cocoon.properties: formatter.default = text/xhtml Then you can write: SELECT name="country" xsl:for-each select="profil/countries/country" xsl:choose xsl:when

RE: Any known changes to setTemplate()? Strange error...

2000-11-29 Thread Diethelm Guallar, Gonzalo
Where is your $link.setPage()? Nowhere... That's the point here, the page is being set from the doA() method in the B.java class, using setTemplate(data, page name). Is this absolutely brain dead? Thanks, Hello! you still need to define what template to go to when you

Re: dynamic in XSL

2000-11-29 Thread jon
this is the TURBINE list. thanks, -jon I encoured problems with dynamic variable in a xsl sheet! :-) Julien -- Scarab - Java Servlet Based - Open Source Bug/Issue Tracking System http://scarab.tigris.org/

Re: Turbine (no java experience required)

2000-11-29 Thread jon
I've had several requests for the source code. So here's where you can get the complete example and see how all the parts work. mike http://howe.ncsa.uiuc.edu/turbine Mike, would it be ok to archive that on the turbine site? We can even check it into CVS if you want. Examples like

RE: CVS does not compile

2000-11-29 Thread Riley, Cameron
Leon, Method getContextPath() not found in interface javax.servlet.http.HttpServletRequest. I compiled it successfully with jsdk.jar and servlet.jar, it appears though that the method is a greater than Servlet 2.0 method. Cameron Riley

Torque and BaseObject.id

2000-11-29 Thread Sean Legassick
What is the relationship between BaseObject.id and the autoincrementing ID I declare in the schema? Looking at turbine-schema.xml and the example project-schema.xml it seems intended that tables name their ID columns XXX_ID rather than just ID. How does this value then find its way into

vTorque and Texen tasks

2000-11-29 Thread Dave Bryson
It appears the velocity.jar in Turbine is out of sync with the latest Velocity jar. This causes a problem that propogates to the TDK. I ran in to this problem using the build-project script in the TDK. The init target throws an error related to the contextProperties attribute unknown to

turbine-schema.xml question

2000-11-29 Thread Sean Legassick
I can't get my head around why there is a foreign-key tag in the TURBINE_USER table declaration which links USERID to USERID in the same table. Someone tell me that this perversion is not intended :-) -- Sean Legassick [EMAIL PROTECTED] homo sum: humani

Re: vTorque and Texen tasks

2000-11-29 Thread jvanzyl
On Wed, 29 Nov 2000, Dave Bryson wrote: It appears the velocity.jar in Turbine is out of sync with the latest Velocity jar. This causes a problem that propogates to the TDK. I ran in to this problem using the build-project script in the TDK. The init target throws an error related to

Re: Problems with the first template loaded

2000-11-29 Thread Sean Legassick
On 2000.11.29 21:04:12 + [EMAIL PROTECTED] wrote: that I try to access this page (through http://127.0.0.1:8080/backoffice/servlet/backoffice/template/HelloWorld.vm) it takes a lot of time to start (I think that it's due to tomcat loading all the libs, as stated in the doc...), and

Re: turbine-schema.xml question

2000-11-29 Thread jvanzyl
On Wed, 29 Nov 2000, Sean Legassick wrote: I can't get my head around why there is a foreign-key tag in the TURBINE_USER table declaration which links USERID to USERID in the same table. There are no foreign keys declared in the TURBINE_USER table? jvz.

Re: turbine-schema.xml question

2000-11-29 Thread Sean Legassick
On 2000.11.29 22:14:48 + [EMAIL PROTECTED] wrote: There are no foreign keys declared in the TURBINE_USER table? No, you're right, there aren't. I thought it looked damned strange. (For some reason the turbine-schema.xml in my TDK webapp's build/project directory had a spurious copy of

Re: Torque and BaseObject.id

2000-11-29 Thread John McNally
When building your own, you could specify it. I just started considering this problem a few minutes ago in relation to torque and the current scarab schema. (Good timing.) The easiest answer is for tables that have one primary key defined; the pk column gives the id. Having had the benefit of

Re: turbine-schema.xml question

2000-11-29 Thread jvanzyl
No, you're right, there aren't. I thought it looked damned strange. (For some reason the turbine-schema.xml in my TDK webapp's build/project directory had a spurious copy of the foreign-key tag from the TURBINE_USER_GROUP_ROLE table in the TURBINE_USER table tag. I was looking at it

Antw: Re: Patch for Sybase SQL scripts

2000-11-29 Thread Andre Schild
Hello, the current turbine-sybase.sql script is almost correct. The only changes required are to replace all " with ' in the if exists statements. Wrong: IF EXISTS (SELECT 1 FROM sysobjects WHERE type = "U" AND name = "TURBINE_SCHEDULED_JOB") Correct: IF EXISTS (SELECT 1 FROM sysobjects

Re: Pooling socket connections

2000-11-29 Thread Jon Stevens
on 11/29/2000 12:02 PM, "Gunnar R|nning" [EMAIL PROTECTED] wrote: Hello? Maybe because there may be other resources associated with a database session than the socket connection itself. Depending on your database and its implementation the advantage of pooling connections from the client

Re: Torque and BaseObject.id

2000-11-29 Thread Sean Legassick
On 2000.11.29 22:33:34 + John McNally wrote: My solution after a couple minutes thought is to extend or build around a TreeMap with keys being the pk column names and values being the pk values. The toString() could give something like 121:2:45888 as the id where the separator can be