From turbine-user-returnbradybrian@example.com Mon Apr 01 14:04:47 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 62698 invoked from network); 1 Apr 2002 14:04:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 14:04:46 -0000 Received: (qmail 15292 invoked by uid 97); 1 Apr 2002 14:04:44 -0000 Delivered-To: bradybrian@example.com Received: (qmail 15274 invoked by uid 97); 1 Apr 2002 14:04:44 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 15261 invoked from network); 1 Apr 2002 14:04:43 -0000 Message-ID: <bradybrian@example.com> From: "Weaver, Scott" <bradybrian@example.com> To: 'Turbine Users List' <bradybrian@example.com> Subject: RE: Torque: self-referring tables/objects Date: Mon, 1 Apr 2002 09:06:03 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C1D986.5D85291C" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C1D986.5D85291C Content-Type: text/plain; charset="ISO-8859-1" Here is how I set my self-refering entities up: <table name="CATEGORY" idMethod="idbroker"> <column name="CATEGORY_ID" javaName="Id" primaryKey="true" required="true" type="INTEGER"/> <column name="STORE_ID" required="true" type="INTEGER"/> <column name="PARENT_CATEGORY_ID" javaName="ParentId" required="false" type="INTEGER"/> <column name="CATEGORY_NAME" javaName="Name" required="true" type="VARCHAR" size="75"/> <column name="CATEGORY_DISPLAY_NAME" javaName="DisplayName" required="false" type="VARCHAR" size="75"/> <column name="CATEGORY_TEXT" javaName="Text" required="false" type="LONGVARCHAR"/> <column name="IS_VERTICAL" required="true" type="VARCHAR" default="false" size="5"/> <column name="AUDIT" required="true" type="TIMESTAMP"/> <foreign-key foreignTable="STORE"> <reference local="STORE_ID" foreign="STORE_ID"/> </foreign-key> <foreign-key foreignTable="CATEGORY"> <reference local="PARENT_CATEGORY_ID" foreign="CATEGORY_ID"/> </foreign-key> <unique> <unique-column name="CATEGORY_NAME"/> </unique> </table> <table name="SUB_CATEGORY" alias="CATEGORY" baseClass="com.rippe.essential.agora.om.Category" basePeer="com.rippe.essential.agora.om.CategoryPeer"> <column name="PARENT_CATEGORY_ID" javaName="ParentId" required="true" type="INTEGER"/> <foreign-key foreignTable="CATEGORY"> <reference local="PARENT_CATEGORY_ID" foreign="CATEGORY_ID"/> </foreign-key> </table> I used extending turbine user how-to as a basis for this. hth, Scott > -----Original Message----- > From: Ben Peter [mailto:bradybrian@example.com] > Sent: Sunday, March 31, 2002 2:00 AM > To: bradybrian@example.com > Subject: Torque: self-referring tables/objects > > > All, > > has anyone used Torque with self-referring tables? > > In the tutorial example, if I have two tables, book and > author, which are > related n:1, I can call book.getAuthor() and get an Author > object back. > > If, however, I have a foreign-key that refers back to the same table: > > <table name="NODE" idMethod="idbroker"> > <column name="NODE_ID" required="true" type="BIGINT" > primaryKey="true"/> > <column name="PARENT_NODE" required="false" type="BIGINT"/> > <foreign-key foreignTable="NODE"> > <reference local="PARENT_NODE" foreign="NODE_ID"/> > </foreign-key> > </table> > > these relationships will not be setup. Why is this so, or is > it intended at all? > > I have tried to work around this by not using the > <foreign-key/>. However, I > end up trying to > node.setParentNode(parent.getPrimaryKeyAsLong()); > using deprecated methods. > > Or should this read > node.setParentNode(parent.getNodeId().getBigDecimal().getLongValue()); > From the javadocs this looks correct, but I cannot claim to > know the semantics > of NumberKey. > > Any help is appreciated. > Cheers, > Ben > > > -- > To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> ------_=_NextPart_001_01C1D986.5D85291C-- From turbine-user-returnbradybrian@example.com Mon Apr 01 14:33:47 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 70322 invoked from network); 1 Apr 2002 14:33:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 14:33:47 -0000 Received: (qmail 22924 invoked by uid 97); 1 Apr 2002 14:33:46 -0000 Delivered-To: bradybrian@example.com Received: (qmail 22908 invoked by uid 97); 1 Apr 2002 14:33:45 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 22897 invoked from network); 1 Apr 2002 14:33:45 -0000 Message-Id: <bradybrian@example.com> X-Sender: bradybrian@example.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 01 Apr 2002 15:32:39 +0100 To: "Turbine Users List" <bradybrian@example.com> From: Colm McCartan <bradybrian@example.com> Subject: RE: ETC (European Turbine Conference) Registration In-Reply-To: <bradybrian@example.com> References: <bradybrian@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N At 11:46 26/03/2002 +0100, you wrote: >It will be held in Amsterdam (I have an option, but that is only interesting >if more than 25 people come to the ETC). The costs are a maximum of 100 Euro >a day (that is, with dinner, lunch, and everything else arranged by the >conference location). If I make sandwiches myself for lunch and we have a >reservation at a restaurant, the costs will be a lot lower. > >Mvgr, >Martin Is this finalised yet? We still may be interested in having one or two people attend. Thanks, Colm McCartan ................................................................ colm mccartan panasonic owl uk bradybrian@example.com (44) 131 561 1035 -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 14:51:56 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 78370 invoked from network); 1 Apr 2002 14:51:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 14:51:56 -0000 Received: (qmail 9959 invoked by uid 97); 1 Apr 2002 14:51:53 -0000 Delivered-To: bradybrian@example.com Received: (qmail 9942 invoked by uid 97); 1 Apr 2002 14:51:52 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 9931 invoked from network); 1 Apr 2002 14:51:52 -0000 Subject: RE: ETC (European Turbine Conference) Registration From: Jason van Zyl <bradybrian@example.com> To: Turbine Users List <bradybrian@example.com> In-Reply-To: <bradybrian@example.com> References: <bradybrian@example.com> <bradybrian@example.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 01 Apr 2002 09:46:29 -0500 Message-Id: <bradybrian@example.com> Mime-Version: 1.0 X-Authentication-Info: Submitted using SMTP AUTH bradybrian@example.com from [83.161.120.155] using ID <bradybrian@example.com> at Mon, 1 Apr 2002 09:51:37 -0500 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 2002-04-01 at 09:32, Colm McCartan wrote: > At 11:46 26/03/2002 +0100, you wrote: > >It will be held in Amsterdam (I have an option, but that is only interesting > >if more than 25 people come to the ETC). The costs are a maximum of 100 Euro > >a day (that is, with dinner, lunch, and everything else arranged by the > >conference location). If I make sandwiches myself for lunch and we have a > >reservation at a restaurant, the costs will be a lot lower. > > > >Mvgr, > >Martin > > Is this finalised yet? We still may be interested in having one or two > people attend. At this point, I think it will end up being an informal gathering. I can also visit anyone who wants to be visited provided you give me directions :-) > Thanks, > Colm McCartan > > > ................................................................ > colm mccartan > panasonic owl uk > bradybrian@example.com > (44) 131 561 1035 > > > -- > To unsubscribe, e-mail: <mailto:bradybrian@example.com> > For additional commands, e-mail: <mailto:bradybrian@example.com> -- jvz. Jason van Zyl bradybrian@example.com http://tambora.zenplex.org -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 15:47:00 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 3481 invoked from network); 1 Apr 2002 15:46:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 15:46:59 -0000 Received: (qmail 6027 invoked by uid 97); 1 Apr 2002 15:46:57 -0000 Delivered-To: bradybrian@example.com Received: (qmail 6011 invoked by uid 97); 1 Apr 2002 15:46:57 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 6000 invoked from network); 1 Apr 2002 15:46:56 -0000 Message-ID: <bradybrian@example.com> From: "Hoang, Hai" <bradybrian@example.com> To: 'Turbine Users List' <bradybrian@example.com> Subject: RE: getConnection exception Date: Mon, 1 Apr 2002 09:46:05 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N torque.database.default=bookstore torque.database.bookstore.driver = org.gjt.mm.mysql.Driver torque.database.bookstore.url = jdbc:mysql://localhost/bookstore torque.database.bookstore.username =root torque.database.bookstore.password =anjenelu make sure your torque.properties contains the above setting -----Original Message----- From: Dinesh [mailto:bradybrian@example.com] Sent: Monday, April 01, 2002 1:40 PM To: bradybrian@example.com Cc: bradybrian@example.com; bradybrian@example.com Subject: getConnection exception We want to use Torque stand alone. We can generate the object api (so connection is obtained and used) but cannot use it.. Following the tutorial page, we get an exception. thanks for any help. below is the example. -dinesh With respect to OM (Object Model) of torque , we are getting the following error when we execute OM class (org.pantoto.test) java.sql.SQLException: Connection object is bradybrian@example.com(DBConnection.java, Compiled Code) at org.apache.torque.util.BasePeer.doInsert(BasePeer.java, Compiled Code) at org.apache.torque.util.BasePeer.doInsert(BasePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.test.main(test.java, Compiled Code) rethrown as org.apache.torque.TorqueException: Connection object is bradybrian@example.com(BasePeer.java, Compiled Code) at org.apache.torque.util.BasePeer.doInsert(BasePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.test.main(test.java, Compiled Code) In the above class (org.pantoto.test) , i am trying to insert a record package org.pantoto; import org.apache.torque.om.*; import org.apache.torque.*; import org.apache.torque.pool.*; import org.pantoto.om.*; public class test { public static void main(String args[]) { try { Torque.init("Torque.properties"); People obj=new People(); obj.setPeopleId("1"); obj.setName("anil"); obj.setSpecies(1); obj.setPlanet(1); PeoplePeer.doInsert(obj); }catch(Exception e){ e.printStackTrace(); } finally { System.out.println("finally"); } } } -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 16:00:04 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 11593 invoked from network); 1 Apr 2002 16:00:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 16:00:03 -0000 Received: (qmail 9531 invoked by uid 97); 1 Apr 2002 16:00:01 -0000 Delivered-To: bradybrian@example.com Received: (qmail 9515 invoked by uid 97); 1 Apr 2002 16:00:01 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 9490 invoked from network); 1 Apr 2002 16:00:00 -0000 Message-ID: <bradybrian@example.com> From: "Hoang, Hai" <bradybrian@example.com> To: 'Turbine Users List' <bradybrian@example.com> Subject: RE: getConnection exception Date: Mon, 1 Apr 2002 09:59:31 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Also, You've included the defaultJavaType in your database project xml file Where do you find this attribute?...I want to know more about it. - <database name="bookstore" defaultIdMethod="none" defaultJavaType="primitive" defaultJavaNamingMethod="underscore" heavyIndexing="false"> -----Original Message----- From: Dinesh [mailto:bradybrian@example.com] Sent: Monday, April 01, 2002 1:40 PM To: bradybrian@example.com Cc: bradybrian@example.com; bradybrian@example.com Subject: getConnection exception We want to use Torque stand alone. We can generate the object api (so connection is obtained and used) but cannot use it.. Following the tutorial page, we get an exception. thanks for any help. below is the example. -dinesh With respect to OM (Object Model) of torque , we are getting the following error when we execute OM class (org.pantoto.test) java.sql.SQLException: Connection object is bradybrian@example.com(DBConnection.java, Compiled Code) at org.apache.torque.util.BasePeer.doInsert(BasePeer.java, Compiled Code) at org.apache.torque.util.BasePeer.doInsert(BasePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.test.main(test.java, Compiled Code) rethrown as org.apache.torque.TorqueException: Connection object is bradybrian@example.com(BasePeer.java, Compiled Code) at org.apache.torque.util.BasePeer.doInsert(BasePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.om.BasePeoplePeer.doInsert(BasePeoplePeer.java, Compiled Code) at org.pantoto.test.main(test.java, Compiled Code) In the above class (org.pantoto.test) , i am trying to insert a record package org.pantoto; import org.apache.torque.om.*; import org.apache.torque.*; import org.apache.torque.pool.*; import org.pantoto.om.*; public class test { public static void main(String args[]) { try { Torque.init("Torque.properties"); People obj=new People(); obj.setPeopleId("1"); obj.setName("anil"); obj.setSpecies(1); obj.setPlanet(1); PeoplePeer.doInsert(obj); }catch(Exception e){ e.printStackTrace(); } finally { System.out.println("finally"); } } } -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 17:56:56 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 32029 invoked from network); 1 Apr 2002 17:56:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 17:56:56 -0000 Received: (qmail 3669 invoked by uid 97); 1 Apr 2002 17:56:54 -0000 Delivered-To: bradybrian@example.com Received: (qmail 3652 invoked by uid 97); 1 Apr 2002 17:56:54 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 3641 invoked from network); 1 Apr 2002 17:56:53 -0000 Message-ID: <003701c1d9a6$d85a7550$5de409c0@davidwang> From: "Annie Zhang" <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> References: <bradybrian@example.com> Subject: Re: Got a empty schema file while generate schema from jdbc Date: Mon, 1 Apr 2002 09:58:35 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Jin, It works now, thank you very much! The generated schema file contains a <app-data> tag. When generate om using this schema, it report errors: [torque-om] Error [line 4, row -1]: Element type "app-data" is not declared. [torque-om] Resolver: used database.dtd from org.apache.torque.engine.database.transform package [torque-om] Error [line 4, row -1]: Element type "app-data" is not declared. BUILD SUCCESSFUL Anyway, the sql file and om files are generated. What's the matter? Thanks again. Annie ----- Original Message ----- From: "Jin Choi" <bradybrian@example.com> To: <bradybrian@example.com> Sent: Sunday, March 31, 2002 11:36 PM Subject: Re: Got a empty schema file while generate schema from jdbc When generating a schema from JDBC using the JDBCToXMLSchema ANT task with Oracle, it is necessary to specify the databaseSchema build property in uppercase. -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 18:01:30 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 44863 invoked from network); 1 Apr 2002 18:01:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 18:01:30 -0000 Received: (qmail 5948 invoked by uid 97); 1 Apr 2002 18:01:29 -0000 Delivered-To: bradybrian@example.com Received: (qmail 5914 invoked by uid 97); 1 Apr 2002 18:01:28 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 5903 invoked from network); 1 Apr 2002 18:01:28 -0000 Message-ID: <018001c1d9a7$09eac070$ca03a8c0@complexity> From: "Bill Schneider" <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> References: <bradybrian@example.com> <003701c1d9a6$d85a7550$5de409c0@davidwang> Subject: Re: Got a empty schema file while generate schema from jdbc Date: Mon, 1 Apr 2002 12:59:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The app-data element is deprecated and doesn't work in Torque 3.0. -- Bill ----- Original Message ----- From: "Annie Zhang" <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> Sent: Monday, April 01, 2002 12:58 PM Subject: Re: Got a empty schema file while generate schema from jdbc > Hi Jin, > > It works now, thank you very much! > > The generated schema file contains a <app-data> tag. When generate om using > this schema, it report errors: > > [torque-om] Error [line 4, row -1]: Element type "app-data" is not declared. > [torque-om] Resolver: used database.dtd from > org.apache.torque.engine.database.transform package > [torque-om] Error [line 4, row -1]: Element type "app-data" is not declared. > > BUILD SUCCESSFUL > > Anyway, the sql file and om files are generated. > > What's the matter? Thanks again. > > Annie > > > > > ----- Original Message ----- > From: "Jin Choi" <bradybrian@example.com> > To: <bradybrian@example.com> > Sent: Sunday, March 31, 2002 11:36 PM > Subject: Re: Got a empty schema file while generate schema from jdbc > > > When generating a schema from JDBC using the JDBCToXMLSchema ANT task > with Oracle, it is necessary to specify the databaseSchema build > property in uppercase. > > -- > To unsubscribe, e-mail: > <mailto:bradybrian@example.com> > For additional commands, e-mail: > <mailto:bradybrian@example.com> > > > > > -- > To unsubscribe, e-mail: <mailto:bradybrian@example.com> > For additional commands, e-mail: <mailto:bradybrian@example.com> > -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 19:02:14 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 36190 invoked from network); 1 Apr 2002 19:02:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 19:02:14 -0000 Received: (qmail 1616 invoked by uid 97); 1 Apr 2002 19:02:04 -0000 Delivered-To: bradybrian@example.com Received: (qmail 1571 invoked by uid 97); 1 Apr 2002 19:02:03 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 1558 invoked from network); 1 Apr 2002 19:02:03 -0000 Date: Mon, 1 Apr 2002 14:01:55 -0500 (EST) From: mad <bradybrian@example.com> X-X-Sender: bradybrian@example.com To: Turbine Users List <bradybrian@example.com> Subject: Re: Oracle CLOB In-Reply-To: <bradybrian@example.com> Message-ID: <bradybrian@example.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > > My assumption also is, that village can't handle BLOBs/CLOBs. > > If anyone uses these successfully, it would be of interest! > > > > My solution now was mapping the Turbine-BLOB to LONG RAW in > > db.props. As I understand it, the only difference is that BLOBs > > can have max. 4GB, LONG RAWs only 2GB. Should be enough :) > > Hope it really works in the long run. > > Thanks Florian! I thought about using a LONG but I need to be able to > use a WHERE clause against it and LONGs don't support WHERE clauses. > > My next step is to look at the Village code to see if I can make it > support CLOBS. OK, here is my solution... Download village from the CVS... http://share.whichever.com/index.php?SCREEN=village To fix the NumberFormatException you must change Column.java in the method populate... this.precision = rsmd.getPrecision (columnNumber); ...replace it with... try { this.precision = rsmd.getPrecision(columnNumber); }catch ( NumberFormatException nfe ) { // This may happen if the precision is too large for an int // see bug #4625851 in the JDC (http://developer.java.sun.com/developer/bugParade/bugs/4625851.html) this.precision = Integer.MAX_VALUE; } I believe that the Village developers are making a patch for it... http://share.whichever.com/pipermail/village-dev/2002-March/000044.html The second problem is that Village doesn't know how to select a Clob into a com.workingdogs.village.Value Object. Where Value.java checks the type I've added CLOB... public Value(ResultSet rs, int columnNumber, int type) throws SQLException { ... switch (type()) { case Types.CLOB: // valueObject = readClob(rs,columnNumber); break; case Types.BIT: String tmp = rs.getString(columnNumber); ... ...and then the readClob method... public static String readClob(ResultSet rs, int i) throws java.sql.SQLException { Clob clob = (Clob)rs.getObject(i); BufferedReader br = new BufferedReader(clob.getCharacterStream()); StringBuffer sb = new StringBuffer(); String nextLine = ""; try{ while((nextLine = br.readLine()) != null){ char[] ca = nextLine.toCharArray(); sb.append(nextLine+"\n"); } }catch(IOException e){ e.printStackTrace(); } String ColumnValue = sb.toString(); return ColumnValue; } ----------- Then build the jar to replace the village library in WEB-INF/lib and poof it works. I'm assuming that a BLOB would be very similar. Hope this helps. -mad -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 19:09:46 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 75704 invoked from network); 1 Apr 2002 19:09:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 19:09:45 -0000 Received: (qmail 15527 invoked by uid 97); 1 Apr 2002 19:09:44 -0000 Delivered-To: bradybrian@example.com Received: (qmail 15510 invoked by uid 97); 1 Apr 2002 19:09:44 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 15499 invoked from network); 1 Apr 2002 19:09:43 -0000 From: bradybrian@example.com Message-ID: <bradybrian@example.com> To: bradybrian@example.com Subject: RE: Torque.properties location? Date: Mon, 1 Apr 2002 12:09:30 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Follow up to my own thread: In order to initialize Torque with a properties file somewhere on the application classpath (in fact, it's in "../WEB-INF/classes") in a Web application .WAR file (in fact, it's a ZIP file), do this somewhere (wherever you wish to init Torque, be it in a ContextListener, startup class, static initializer, whatever): Class theClass = this.getClass(); ClassLoader theLoader = theClass.getClassLoader(); PropertiesConfiguration config = new PropertiesConfiguration(); config.load(theLoader.getResourceAsStream("Torque.properties")); Torque.init(config); Cheers, David -----Original Message----- From: bradybrian@example.com [mailto:bradybrian@example.com] Sent: Thursday, March 28, 2002 2:54 PM To: bradybrian@example.com Subject: RE: Torque.properties location? Or rather, I am NOW getting the path from "getResource" on the ClassLoader. Typo below. -----Original Message----- From: bradybrian@example.com [mailto:bradybrian@example.com] Sent: Thursday, March 28, 2002 2:50 PM To: bradybrian@example.com Subject: RE: Torque.properties location? Instead of using the ServletContext, I'm not getting the path from "getResource" on the ClassLoader. The problem is that this returns a path to a WAR file (ZIP file): C:/bea/wlserver6.1/config/mydomain/applications/.wlnotdelete/wl_comp19082.wa r!/WEB-INF/classes/Torque.properties Torque cannot find this file. Does anyone know how to do this? Am I going to have to leave the Torque.properties file outside of the WAR file? Thanks! David -----Original Message----- From: bradybrian@example.com [mailto:bradybrian@example.com] Sent: Thursday, March 28, 2002 2:24 PM To: bradybrian@example.com Subject: RE: Torque.properties location? Thanks. Only problem is, the getRealPath("") method on ServletContext returns null. Any other ideas about how I can find this file? Thanks. Cheers, Dave -----Original Message----- From: Hoang, Hai [mailto:bradybrian@example.com] Sent: Thursday, March 28, 2002 1:03 PM To: 'Turbine Users List' Subject: RE: Torque.properties location? I put torque.properties in WEB-INF/conf folder...to initialize torque take a look at this http://www.mail-archive.com/turbine-user%40jakarta.apache.org/msg07061.html -----Original Message----- From: bradybrian@example.com [mailto:bradybrian@example.com] Sent: Thursday, March 28, 2002 2:02 PM To: bradybrian@example.com Subject: Torque.properties location? Hello, I have another question about using Torque. I'd like to use it in a stand-alone configuration outside of Turbine, with Weblogic (don't worry, I intend to test it). My questions are: 1. If I am deploying my application is a "web app", where should I put the Torque.properties file? In the root of the web app, or in the WEB-INF directory, or in the WEB-INF/classes directory, or somewhere else? 2. After figuring out 1. above, what should be the value for the torque.applicationRoot property in the Torque.properties file? Thanks in advance! Cheers, David David A. Ventimiglia Wells Fargo Private Client Services 5744009786 (work) -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 22:28:23 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 59103 invoked from network); 1 Apr 2002 22:28:23 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 22:28:23 -0000 Received: (qmail 1506 invoked by uid 97); 1 Apr 2002 22:28:21 -0000 Delivered-To: bradybrian@example.com Received: (qmail 1474 invoked by uid 97); 1 Apr 2002 22:28:21 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 1463 invoked from network); 1 Apr 2002 22:28:20 -0000 From: "David Wynter" <bradybrian@example.com> To: "Turbine-User" <bradybrian@example.com> Subject: Has anyone used Oracle 9i? Date: Mon, 1 Apr 2002 23:26:40 +0100 Message-ID: <bradybrian@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I had a look in the archives and could not find anything (hard to search archives when they ignore numerics like 9i). I switched from Oracle 8.15 to 9i for a test and get the following error when I try to login. This is an internal error according to Oracle, but as it uses the same JDBC driver (classes12.jar) I thought it would be OK. [Mon Apr 01 09:37:45 MST 2002] -- ERROR -- Exception: org.apache.turbine.util.security.DataBackendException: Failed to retrieve user 'admin': ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [] Stack Trace follows: java.sql.SQLException: ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [] at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405) at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:889) at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1681) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java :1870) at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538) at com.workingdogs.village.QueryDataSet.<init>(QueryDataSet.java:112) at org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1288) at org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1251) at org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1202) at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1131) at org.apache.turbine.om.security.peer.TurbineUserPeer.doSelect(TurbineUserPeer .java:369) at org.apache.turbine.om.security.peer.TurbineUserPeer.doSelect(TurbineUserPeer .java:332) at org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager .java:162) rethrown as org.apache.turbine.util.security.DataBackendException: Failed to retrieve user 'admin': ORA-00600: internal error code, arguments: [ttcgcshnd-1], [0], [], [], [], [], [], [] at org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager .java:166) at org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager .java:246) at org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse r(BaseSecurityService.java:313) at org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu rbineSecurity.java:199) at org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:103) 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:393) at org.apache.turbine.Turbine.doPost(Turbine.java:537) 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:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:472) 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:2344) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 ) 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:462) 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 :163) 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: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Unknown Source) Thanks -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 22:35:45 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 62309 invoked from network); 1 Apr 2002 22:35:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 22:35:45 -0000 Received: (qmail 3399 invoked by uid 97); 1 Apr 2002 22:35:46 -0000 Delivered-To: bradybrian@example.com Received: (qmail 3382 invoked by uid 97); 1 Apr 2002 22:35:45 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 3370 invoked from network); 1 Apr 2002 22:35:45 -0000 Message-ID: <023501c1d9cd$53e4a120$ca03a8c0@complexity> From: "Bill Schneider" <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> References: <bradybrian@example.com> Subject: Re: Has anyone used Oracle 9i? Date: Mon, 1 Apr 2002 17:34:03 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've used 9i with Torque. Remember to use the classes12.jar that ships with 9i -- you can't use the same JAR file you used with 8.1.5 with 9i, even though they look the same and have the same name. (IMO, Oracle could have done better preventing this confusion.) -- Bill ----- Original Message ----- From: "David Wynter" <bradybrian@example.com> To: "Turbine-User" <bradybrian@example.com> Sent: Monday, April 01, 2002 5:26 PM Subject: Has anyone used Oracle 9i? > I had a look in the archives and could not find anything (hard to search > archives when they ignore numerics like 9i). > > I switched from Oracle 8.15 to 9i for a test and get the following error > when I try to login. This is an internal error according to Oracle, but as > it uses the same JDBC driver (classes12.jar) I thought it would be OK. > > [Mon Apr 01 09:37:45 MST 2002] -- ERROR -- > Exception: org.apache.turbine.util.security.DataBackendException: > Failed to retrieve user 'admin': ORA-00600: internal error code, arguments: > [ttcgcshnd-1], [0], [], [], [], [], [], [] > > Stack Trace follows: > java.sql.SQLException: ORA-00600: internal error code, arguments: > [ttcgcshnd-1], [0], [], [], [], [], [], [] > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168) > at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) > at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543) > at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405) > at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:889) > at > oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1681) > at > oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java > :1870) > at > oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:538) > at com.workingdogs.village.QueryDataSet.<init>(QueryDataSet.java:112) > at > org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1288) > at > org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1251) > at > org.apache.turbine.om.peer.BasePeer.executeQuery(BasePeer.java:1202) > at org.apache.turbine.om.peer.BasePeer.doSelect(BasePeer.java:1131) > at > org.apache.turbine.om.security.peer.TurbineUserPeer.doSelect(TurbineUserPeer > .java:369) > at > org.apache.turbine.om.security.peer.TurbineUserPeer.doSelect(TurbineUserPeer > .java:332) > at > org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager > .java:162) > rethrown as org.apache.turbine.util.security.DataBackendException: Failed > to retrieve user 'admin': ORA-00600: internal error code, arguments: > [ttcgcshnd-1], [0], [], [], [], [], [], [] > at > org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager > .java:166) > at > org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager > .java:246) > at > org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUse > r(BaseSecurityService.java:313) > at > org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(Tu > rbineSecurity.java:199) > at > org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:103) > 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:393) > at org.apache.turbine.Turbine.doPost(Turbine.java:537) > 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:201) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase > .java:472) > 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:2344) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 > ) > 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:462) > 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 > :163) > 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: > 1011) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 > ) > at java.lang.Thread.run(Unknown Source) > > Thanks > > > > > > -- > To unsubscribe, e-mail: <mailto:bradybrian@example.com> > For additional commands, e-mail: <mailto:bradybrian@example.com> > -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 22:59:00 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 72615 invoked from network); 1 Apr 2002 22:59:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 22:59:00 -0000 Received: (qmail 14007 invoked by uid 97); 1 Apr 2002 22:59:03 -0000 Delivered-To: bradybrian@example.com Received: (qmail 13991 invoked by uid 97); 1 Apr 2002 22:59:03 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 13980 invoked from network); 1 Apr 2002 22:59:02 -0000 Message-Id: <bradybrian@example.com> X-Sender: bradybrian@example.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 01 Apr 2002 18:03:19 -0500 To: "Turbine Users List" <bradybrian@example.com> From: Bruce Altner <bradybrian@example.com> Subject: FileItem storeLocation In-Reply-To: <bradybrian@example.com> References: <001701c1b637$0f7cacd0$43565dd3@reimon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Greetings: My application uses FileItem in a class which uploads a file from the user's local drive to a remote server. It has always worked without a hitch but recently was deployed on a box where the default storeLocation is write-protected, so it fails. I am interested in being able to specify the location where the tmp file is written to avoid this problem but storeLocation is a protected field in FileItem and there is no accessor method (that I could find). Do I have to write my own version of FileItem or is there a way to set this using this class. Here is how I am using FileItem: FileItem fi = data.getParameters().getFileItem( "filename" ); InputStream ins = fi.getInputStream(); String fqFilename = fi.getFileName(); etc. Thanks, Bruce -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Mon Apr 01 23:12:15 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 80402 invoked from network); 1 Apr 2002 23:12:15 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Apr 2002 23:12:15 -0000 Received: (qmail 26016 invoked by uid 97); 1 Apr 2002 23:12:19 -0000 Delivered-To: bradybrian@example.com Received: (qmail 26000 invoked by uid 97); 1 Apr 2002 23:12:18 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 25989 invoked from network); 1 Apr 2002 23:12:18 -0000 Sender: bradybrian@example.com Message-ID: <bradybrian@example.com> Date: Mon, 01 Apr 2002 15:06:48 -0800 From: John McNally <bradybrian@example.com> X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.7-10 i686) X-Accept-Language: en MIME-Version: 1.0 To: Turbine Users List <bradybrian@example.com> Subject: Re: FileItem storeLocation References: <001701c1b637$0f7cacd0$43565dd3@reimon> <bradybrian@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The file is already written to the temporary location by the time you have a FileItem, so it is too late to change it there. You need to specify the path to FileUpload class, either with the setter or in the parseRequest method. As it appears you are using this integrated into ParameterParser, you would set it in TurbineResources.properties # # The directory where files will be temporarily stored. # services.UploadService.repository=/tmp Note that the directory must exist. The service first checks that the directory exists in the webapp directory, if not it assumes the path was absolute. john mcnally Bruce Altner wrote: > > Greetings: > > My application uses FileItem in a class which uploads a file from the > user's local drive to a remote server. It has always worked without a hitch > but recently was deployed on a box where the default storeLocation is > write-protected, so it fails. I am interested in being able to specify the > location where the tmp file is written to avoid this problem but > storeLocation is a protected field in FileItem and there is no accessor > method (that I could find). Do I have to write my own version of FileItem > or is there a way to set this using this class. > > Here is how I am using FileItem: > > FileItem fi = data.getParameters().getFileItem( "filename" ); > InputStream ins = fi.getInputStream(); > String fqFilename = fi.getFileName(); > > etc. > > Thanks, > Bruce > > -- > To unsubscribe, e-mail: <mailto:bradybrian@example.com> > For additional commands, e-mail: <mailto:bradybrian@example.com> -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 00:41:58 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 24236 invoked from network); 2 Apr 2002 00:41:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 00:41:58 -0000 Received: (qmail 18281 invoked by uid 97); 2 Apr 2002 00:42:01 -0000 Delivered-To: bradybrian@example.com Received: (qmail 18232 invoked by uid 97); 2 Apr 2002 00:42:01 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 18218 invoked from network); 2 Apr 2002 00:42:00 -0000 Message-Id: <bradybrian@example.com> Content-Type: text/plain; charset="iso-8859-1" From: Rodney Schneider <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> Subject: Re: Sharing one connection across objects Date: Wed, 3 Apr 2002 10:56:22 +1000 X-Mailer: KMail [version 1.3.1] References: <002a01c1d7db$cb5c5480$2c00a8c0@darkstar> <bradybrian@example.com> In-Reply-To: <bradybrian@example.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > "Nikhil G. Daddikar" wrote: > > Hi Folks, > > > > We are moving to using turbine from our home-grown "framework" and have > > been quite pleased. > > > > However I have a few questions. Here is one of them: > > > > While handling a web request, a bunch of java objects do database > > calls over jdbc. I want to do this in a transaction => use the same > > connection in all the jdbc calls. > > > > Currently we have a per-web-request context object that has the > > dbconnection object in it. RunData doesn't seem to have it. What is the > > 'turbine recommended' way? Are you using Torque and Peers? If so, you will notice in the generated classes that you can pass in a DBConnection object to all methods that access your database. You will also notice that the methods in BasePeer (doSelect, doInsert, doUpdate, doDelete) handle transactions for you by calling transaction handling methods in BasePeer (beginTransaction(), commitTransaction() and rollBackTransaction()). If you are going to implement your own RunData to provide a per-web-request DBConnection object in it, you will need to do the transaction handling yourself. See the following code for an example of how to use the Turbine connection pool... ---------- import java.sql.Connection; import org.apache.turbine.services.db.TurbineDB; import org.apache.turbine.util.db.pool.DBConnection; try { // get a connection from the pool DBConnection dbConn = TurbineDB.getConnection(); // start the transaction dbConn.setAutoCommit(false); // the following line may be necessary if you are not using Torque... Connection connection = dbConn.getConnection(); ... // perform your database calls here ... // commit the transaction dbConn.commit(); dbConn.setAutoCommit(true); } catch (Exception e) { // rollback the transaction dbConn.rollback(); dbConn.setAutoCommit(true); } finally { // release the connection back to the pool try { TurbineDB.releaseConnection(db); } catch (Exception ignored) {} } ---------- Hope this helps, -- Rodney -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 00:44:57 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 24926 invoked from network); 2 Apr 2002 00:44:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 00:44:56 -0000 Received: (qmail 20259 invoked by uid 97); 2 Apr 2002 00:44:54 -0000 Delivered-To: bradybrian@example.com Received: (qmail 20243 invoked by uid 97); 2 Apr 2002 00:44:54 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 20232 invoked from network); 2 Apr 2002 00:44:53 -0000 Message-Id: <bradybrian@example.com> Content-Type: text/plain; charset="iso-8859-1" From: Rodney Schneider <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> Subject: Re: Using turbine with session-cookies disabled Date: Wed, 3 Apr 2002 10:59:17 +1000 X-Mailer: KMail [version 1.3.1] References: <bradybrian@example.com> <bradybrian@example.com> <bradybrian@example.com> In-Reply-To: <bradybrian@example.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 29 Mar 2002 05:21, you wrote: > If you think something needs to be done to the source, please send an > enumeration of the steps and the reasoning behind them to the > bradybrian@example.com list. > > Thanks, Dan OK, I will send an email to turbine-dev now, but I am not a subscriber (the traffic is too high for me), so can you email the turbine-user list with any conclusions you come to? Thanks, -- Rodney -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 01:00:45 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 29619 invoked from network); 2 Apr 2002 01:00:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 01:00:45 -0000 Received: (qmail 27910 invoked by uid 97); 2 Apr 2002 01:00:48 -0000 Delivered-To: bradybrian@example.com Received: (qmail 27894 invoked by uid 97); 2 Apr 2002 01:00:48 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 27883 invoked from network); 2 Apr 2002 01:00:47 -0000 Message-Id: <bradybrian@example.com> Content-Type: text/plain; charset="iso-8859-1" From: Rodney Schneider <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> Subject: Re: Using turbine with session-cookies disabled Date: Wed, 3 Apr 2002 11:14:37 +1000 X-Mailer: KMail [version 1.3.1] References: <bradybrian@example.com> <bradybrian@example.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 3 Apr 2002 10:59, Rodney Schneider wrote: > On Fri, 29 Mar 2002 05:21, you wrote: > > If you think something needs to be done to the source, please send an > > enumeration of the steps and the reasoning behind them to the > > bradybrian@example.com list. > > > > Thanks, Dan > > OK, I will send an email to turbine-dev now, but I am not a subscriber (the > traffic is too high for me), so can you email the turbine-user list with > any conclusions you come to? Hey! I just went to create a patch for this problem against the lastest CVS version of Turbine 2.2 and realised that Eric Dobbs has already fixed the problem. The patches were committed to Turbine.java and friends on Friday. Thanks Eric! -- Rodney -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 01:23:26 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 39829 invoked from network); 2 Apr 2002 01:23:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 01:23:26 -0000 Received: (qmail 7882 invoked by uid 97); 2 Apr 2002 01:23:30 -0000 Delivered-To: bradybrian@example.com Received: (qmail 7862 invoked by uid 97); 2 Apr 2002 01:23:30 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 7768 invoked from network); 2 Apr 2002 01:23:26 -0000 Message-Id: <bradybrian@example.com> Content-Type: text/plain; charset="iso-8859-1" From: Rodney Schneider <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> Subject: Re: Using turbine with session-cookies disabled Date: Wed, 3 Apr 2002 11:37:01 +1000 X-Mailer: KMail [version 1.3.1] References: <bradybrian@example.com> <bradybrian@example.com> <bradybrian@example.com> In-Reply-To: <bradybrian@example.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Thu, 28 Mar 2002 18:07, you wrote: > Rodney, > > thanks for your reply. > > does that mean that there is no other workaround but patching if I want to > use URL-based session propagation? > > Cheers, > Ben Hi Ben, The next beta release of the tdk will contain the fix for this problem. For the moment, you can checkout the latest version of Turbine 2.2 from CVS, compile the turbine jar file and drop it in to the WEB-INF/lib directory of your webapp. Regards, -- Rodney -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 01:42:44 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 47062 invoked from network); 2 Apr 2002 01:42:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 01:42:44 -0000 Received: (qmail 12202 invoked by uid 97); 2 Apr 2002 01:42:49 -0000 Delivered-To: bradybrian@example.com Received: (qmail 12186 invoked by uid 97); 2 Apr 2002 01:42:48 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 12175 invoked from network); 2 Apr 2002 01:42:48 -0000 Message-ID: <bradybrian@example.com> Date: Tue, 02 Apr 2002 03:42:37 +0200 From: Ben Peter <bradybrian@example.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Users List <bradybrian@example.com> Subject: Re: Using turbine with session-cookies disabled References: <bradybrian@example.com> <bradybrian@example.com> <bradybrian@example.com> <bradybrian@example.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Rodney, cool, that is good news! I'll do that right now. Cheers, Ben Rodney Schneider wrote: > On Thu, 28 Mar 2002 18:07, you wrote: > >>Rodney, >> >>thanks for your reply. >> >>does that mean that there is no other workaround but patching if I want to >>use URL-based session propagation? >> >>Cheers, >>Ben > > > Hi Ben, > > The next beta release of the tdk will contain the fix for this problem. For > the moment, you can checkout the latest version of Turbine 2.2 from CVS, > compile the turbine jar file and drop it in to the WEB-INF/lib directory of > your webapp. > > Regards, > > -- Rodney > > -- > To unsubscribe, e-mail: <mailto:bradybrian@example.com> > For additional commands, e-mail: <mailto:bradybrian@example.com> -- Benjamin Peter 5744009786 Application Engineer Moerfelder Landstr. 55 (zentropy:partners) 60598 Frankfurt, Germany -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 06:07:49 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 52679 invoked from network); 2 Apr 2002 06:07:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 06:07:49 -0000 Received: (qmail 18916 invoked by uid 97); 2 Apr 2002 06:07:55 -0000 Delivered-To: bradybrian@example.com Received: (qmail 18900 invoked by uid 97); 2 Apr 2002 06:07:55 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 18889 invoked from network); 2 Apr 2002 06:07:54 -0000 Message-ID: <9B3E950CB293D411ADF4009027B0A4D202E21325@PARSV011> From: Stephane Bailliez <bradybrian@example.com> To: Turbine Users List <bradybrian@example.com> Subject: RE: FileItem storeLocation Date: Tue, 2 Apr 2002 07:15:27 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: John McNally [mailto:bradybrian@example.com] [...] > Note that the directory must exist. The service first checks that the > directory exists in the webapp directory, if not it assumes > the path was absolute. Speaking on FileItem (it seems it has moved to commons now). I would suggest adding a call to File.deleteOnExit() otherwise if you shutdown your application (even normal termination) per VM specification finalize() will not be called and you will end up with tmp files that are not deleted. Stephane -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 06:56:09 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 69120 invoked from network); 2 Apr 2002 06:56:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 06:56:09 -0000 Received: (qmail 29234 invoked by uid 97); 2 Apr 2002 06:56:17 -0000 Delivered-To: bradybrian@example.com Received: (qmail 29209 invoked by uid 97); 2 Apr 2002 06:56:16 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 29194 invoked from network); 2 Apr 2002 06:56:16 -0000 Message-ID: <bradybrian@example.com> From: "Colin Chalmers" <bradybrian@example.com> To: "Turbine Users List" <bradybrian@example.com> References: <bradybrian@example.com> <bradybrian@example.com> <bradybrian@example.com> Subject: Re: ETC (European Turbine Conference) Registration Date: Tue, 2 Apr 2002 08:51:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Jason, I've been in touch with Martin concerning the *conference* and although I would love to play a part and attend *unfortnately* I leave for a 4 week holiday in Mexico/Guatamala/Honduras a day or two beforehand. It was a difficult decision to either postpone the holiday or miss the conference :-) However I would like to meet up before I leave, if nothing else for a few drinks in A'dam, and a little sightseeing perhaps. Perhaps one or two others would like to come along? If I understood everything correctly you arrive the 19th?? Do you know which hotel you're staying in? /Colin > On Mon, 2002-04-01 at 09:32, Colm McCartan wrote: > > At 11:46 26/03/2002 +0100, you wrote: > > >It will be held in Amsterdam (I have an option, but that is only interesting > > >if more than 25 people come to the ETC). The costs are a maximum of 100 Euro > > >a day (that is, with dinner, lunch, and everything else arranged by the > > >conference location). If I make sandwiches myself for lunch and we have a > > >reservation at a restaurant, the costs will be a lot lower. > > > > > >Mvgr, > > >Martin > > > > Is this finalised yet? We still may be interested in having one or two > > people attend. > > At this point, I think it will end up being an informal gathering. I can > also visit anyone who wants to be visited provided you give me > directions :-) > > > Thanks, > > Colm McCartan > > > > > > ................................................................ > > colm mccartan > > panasonic owl uk > > bradybrian@example.com > > (44) 131 561 1035 > > > > > > -- > > To unsubscribe, e-mail: <mailto:bradybrian@example.com> > > For additional commands, e-mail: <mailto:bradybrian@example.com> > -- > jvz. > > Jason van Zyl > bradybrian@example.com > > http://tambora.zenplex.org > > > -- > To unsubscribe, e-mail: <mailto:bradybrian@example.com> > For additional commands, e-mail: <mailto:bradybrian@example.com> > > -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 08:45:28 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 20181 invoked from network); 2 Apr 2002 08:45:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 08:45:28 -0000 Received: (qmail 21254 invoked by uid 97); 2 Apr 2002 08:45:38 -0000 Delivered-To: bradybrian@example.com Received: (qmail 21238 invoked by uid 97); 2 Apr 2002 08:45:37 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <bradybrian@example.com> Delivered-To: mailing list bradybrian@example.com Received: (qmail 21227 invoked from network); 2 Apr 2002 08:45:37 -0000 Message-ID: <9B3E950CB293D411ADF4009027B0A4D202E21346@PARSV011> From: Stephane Bailliez <bradybrian@example.com> To: Turbine Users List <bradybrian@example.com> Subject: RE: ETC (European Turbine Conference) Registration Date: Tue, 2 Apr 2002 09:53:12 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Colin Chalmers [mailto:bradybrian@example.com] > > I've been in touch with Martin concerning the *conference* > and although I > would love to play a part and attend *unfortnately* I leave > for a 4 week > holiday in Mexico/Guatamala/Honduras a day or two beforehand. It was a > difficult decision to either postpone the holiday or miss the > conference :-) Same here, I'm leaving for 5 weeks in New Caledonia on April 19. I look forward to read some reports from the conference though. :) Stephane -- To unsubscribe, e-mail: <mailto:bradybrian@example.com> For additional commands, e-mail: <mailto:bradybrian@example.com> From turbine-user-returnbradybrian@example.com Tue Apr 02 09:30:37 2002 Return-Path: <turbine-user-returnbradybrian@example.com> Delivered-To: bradybrian@example.com Received: (qmail 41806 invoked from network); 2 Apr 2002 09:30:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Apr 2002 09:30:37 -0000 Received: (qmail 10063 invoked by uid 97); 2 Apr 2002 09:30:45 -0000 Delivered-To: bradybrian@example.com Received: (qmail 10047 invoked by uid 97); 2 Apr 2002 09:30:44 -0000 Mailing-List: contact bradybrian@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:bradybrian@example.com> List-Subscribe: <mailto:bradybrian@example.com> List-Help: <mailto:bradybrian@example.com> List-Post: <mailto:bradybrian@example.com> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users
{'source': 'Apache Software Foundation Public Mail Archives'}