From turbine-user-returnshortkevin@example.net Sun Dec 01 13:09:41 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 6353 invoked from network); 1 Dec 2002 13:09:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2002 13:09:41 -0000 Received: (qmail 10672 invoked by uid 97); 1 Dec 2002 13:10:41 -0000 Delivered-To: shortkevin@example.net Received: (qmail 10619 invoked by uid 97); 1 Dec 2002 13:10:40 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 10607 invoked by uid 98); 1 Dec 2002 13:10:40 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "=?big5?B?vEKrbMXv?=" <shortkevin@example.net> Reply-To: shortkevin@example.net Subject: How to load the initialized scurity entites? Message-ID: <shortkevin@example.net> To: "" <shortkevin@example.net> Date: Sun, 01 Dec 2002 21:09:29 +0800 (CST) MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable 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=20! =20=20=20=20I=20am=20using=20turbine=202.1=20.But=20I=20have=20got=20som=20c= onfused=20about=20TurbineSecurity. There=20is=20a=20Role=20object=20retrieved=20from=20TurbineSecurity.getAllRo= les(). Then=20I=20tested=20the=20object=20by=20{=20roleObj.getPermissions().contain= s("delete");=20=20}. But=20I=20got=20a=20null=20Exception=20because=20the=20PermissionSet=20retur= n=20from=20the=20getPermissions() is=20null.=20Howerver,=20After=20accessing=20the=20role=20object=20form=20Fl= ux's=20"RolePermission.vm", the=20PermissionSet=20returned=20by=20getPermissions()=20is=20nerver=20a=20n= ull.=20And=20everything=20is Ok=20before=20restart=20restart=20tomcat=20again. =20=20=20=20It=20seems=20like=20taht=20the=20system=20role=20objects=20would= =20not=20be=20initialized=20when=20I=20call TurbineSecurity.getAllRole().=20Is=20there=20any=20other=20function=20that=20= return=20the=20initialzed Role=20object? =09Thank=20you. -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Sun Dec 01 14:40:50 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 40849 invoked from network); 1 Dec 2002 14:40:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2002 14:40:49 -0000 Received: (qmail 24224 invoked by uid 97); 1 Dec 2002 14:41:50 -0000 Delivered-To: shortkevin@example.net Received: (qmail 24208 invoked by uid 97); 1 Dec 2002 14:41:49 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 24196 invoked by uid 98); 1 Dec 2002 14:41:49 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Subject: Connection leaks? From: Peter Courcoux <shortkevin@example.net> To: Turbine Users List <shortkevin@example.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 01 Dec 2002 14:40:39 +0000 Message-Id: <shortkevin@example.net> Mime-Version: 1.0 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, I'm using turbine 2.2-b3 with torque-3.0-b5-dev. I have discovered that after some weeks of operation ( low volume ) postgres is reporting that max connections ( 32 ) reached and blocking access to the db. Torque appears to be configured with maximum connections of 10. The only other access to the db is occasional psql and daily pgdump for backup. Has anyone got any clues as to how I might track this down? Any help will be gratefully appreciated. Thanks Peter Courcoux my Torque.properties has the following entries :- torque.database.default=tolreg torque.database.tolreg.adapter=postgresql ## Using torque's old pool torque.dsfactory.tolreg.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory torque.dsfactory.tolreg.pool.defaultMaxConnections=10 torque.dsfactory.tolreg.pool.maxExpiryTime=3600 torque.dsfactory.tolreg.pool.connectionWaitTimeout=10 torque.dsfactory.tolreg.connection.driver = org.postgresql.Driver torque.dsfactory.tolreg.connection.url = jdbc:postgresql://83.161.120.155:5432/tolreg torque.dsfactory.tolreg.connection.user = ? torque.dsfactory.tolreg.connection.password = ? torque.idbroker.cleverquantity=true -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Mon Dec 02 08:58:17 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 1775 invoked from network); 2 Dec 2002 08:58:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2002 08:58:17 -0000 Received: (qmail 5440 invoked by uid 97); 2 Dec 2002 08:59:25 -0000 Delivered-To: shortkevin@example.net Received: (qmail 5389 invoked by uid 97); 2 Dec 2002 08:59:24 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 5376 invoked by uid 98); 2 Dec 2002 08:59:23 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <76F2C3170AF9D411939200A0C95A3950BC4C44@ESNK140A> From: Esseling Norman <shortkevin@example.net> To: "'shortkevin@example.net'" <shortkevin@example.net> Subject: JSP instead of Velocity?! Date: Mon, 2 Dec 2002 09:57:57 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, is it possible to create the view only with JSP?=20 Or is the turbine framework not so flexible?=20 Has anybody created the view of the sample application with jsp or any know-how with this task? ------------------------------------------------------------------------= ---- ------------ Mit freundlichem Gru=DF / kind regards Esseling, Norman Werkstudent, Siemens Dortmund I&S IT PS, Germany -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Mon Dec 02 16:08:41 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 36136 invoked from network); 2 Dec 2002 16:08:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2002 16:08:41 -0000 Received: (qmail 5635 invoked by uid 97); 2 Dec 2002 16:09:35 -0000 Delivered-To: shortkevin@example.net Received: (qmail 5449 invoked by uid 97); 2 Dec 2002 16:09:34 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 5362 invoked by uid 98); 2 Dec 2002 16:09:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Mitch Christensen" <shortkevin@example.net> To: "Turbine Users List" <shortkevin@example.net> Subject: RE: Problem writing to TURBINE_USER.OBJECTDATA Date: Mon, 2 Dec 2002 08:29:57 -0800 Message-ID: <shortkevin@example.net> 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.2911.0) Importance: Normal In-Reply-To: <shortkevin@example.net> 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 Just wanted to remind everyone before I completely move off of this issue, that the reason for this bug is because Village is using non-streaming JDBC calls for OBJECTDATA. *****All data stored in Oracle (9i) via User.setPerm() will fail to persist once the data size exceeds 4kbytes.***** Any Oracle users out there using User.setPerm() beware. This is one of those "down the road" symptoms. I made local change to the Village code to use streaming calls to overcome the problem, and posted the solution to the Village and Turbine-User groups. -Mitch -----Original Message----- From: Quinton McCombs [mailto:shortkevin@example.net] Sent: Monday, November 18, 2002 9:00 AM To: Turbine Users List Subject: Re: Problem writing to TURBINE_USER.OBJECTDATA If my memory serves me correctly, it is because Village uses the setString( data ) method on the prepared statement. The JDBC driver has an upper limit of data that it is willing to accept using setString(). I ran into this situation myself. The way that I worked around it was to extend TurbineUser. I created more columns in the database table and stopped using OBJECTDATA. On Mon, 2002-11-18 at 10:44, Mitch Christensen wrote: > Hey, > > I'm currently saving user preferences (10 key/value pairs), and some > (~15-20) HashTables with about 7 key/val pairs each to user.setPerm(). This > was working fine, but suddenly stopped working. I noticed the following > exception being thrown. > > The datatype for the OBJECTDATA column is LONG RAW, which supposedly > supports up to 4gig of data. I suspect that the '4537' number in the > exception may be my actual data size. If so, this if far from what I would > consider "excessive" for storage via setPerm(). > > I really don't have time to crack the torque/village code right now, so any > pointers would be greatly appreciated. > > Any ideas? > > -Mitch > > > java.sql.SQLException: Data size bigger than max size for this type: 4537 > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) > at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222) > at oracle.jdbc.ttc7.TTCItem.setArrayData(TTCItem.java:99) > at > oracle.jdbc.dbaccess.DBDataSetImpl.setBytesBindItem(DBDataSetImpl.java:1761) > at > oracle.jdbc.driver.OraclePreparedStatement.setItem(OraclePreparedStatement.j > ava:855) > at > oracle.jdbc.driver.OraclePreparedStatement.setBytes(OraclePreparedStatement. > java:1812) > at com.workingdogs.village.Value.setPreparedStatementValue(Unknown > Source) > at com.workingdogs.village.Record.saveWithUpdate(Unknown Source) > at com.workingdogs.village.Record.save(Unknown Source) > at com.workingdogs.village.Record.save(Unknown Source) > at > org.apache.torque.util.BasePeer.insertOrUpdateRecord(BasePeer.java:891) > at org.apache.torque.util.BasePeer.doUpdate(BasePeer.java:1812) > at org.apache.torque.util.BasePeer.doUpdate(BasePeer.java:1711) > at > org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(TurbineUserPeer > .java:482) > at > org.apache.turbine.services.security.db.DBUserManager.store(DBUserManager.ja > va:267) > at > org.apache.turbine.services.security.BaseSecurityService.saveUser(BaseSecuri > tyService.java:374) > at > org.apache.turbine.services.security.TurbineSecurity.saveUser(TurbineSecurit > y.java:256) > at > org.apache.turbine.om.security.TurbineUser.valueUnbound(TurbineUser.java:653 > ) > at > jrun.servlet.session.JRunSession.setAttribute(JRunSession.java:278) > at jrun.servlet.session.JRunSession.putValue(JRunSession.java:254) > at > org.apache.turbine.services.rundata.DefaultTurbineRunData.save(DefaultTurbin > eRunData.java:1355) > at > org.apache.turbine.modules.actions.LogoutUser.doPerform(LogoutUser.java:118) > at org.apache.turbine.modules.Action.perform(Action.java:87) > at > org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) > at org.apache.turbine.Turbine.doGet(Turbine.java:509) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) > at > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) > at > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241) > at > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) > at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) > at > jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java: > 348) > at > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451 > ) > at > jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29 > 4) > at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) > rethrown as org.apache.torque.TorqueException: Data size bigger than max > size for this type: 4537 > > > > -- > To unsubscribe, e-mail: <mailto:shortkevin@example.net> > For additional commands, e-mail: <mailto:shortkevin@example.net> >Quinton McCombs< Strategic Planner, NEqualsOne 1800 International Park Drive Suite 205 Birmingham, AL 35243 p: 825.273.5372 x121 825.273.5372 f: 825.273.5372 e: shortkevin@example.net www.NEqualsOne.com -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Mon Dec 02 18:00:59 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 51256 invoked from network); 2 Dec 2002 18:00:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2002 18:00:58 -0000 Received: (qmail 7749 invoked by uid 97); 2 Dec 2002 18:02:01 -0000 Delivered-To: shortkevin@example.net Received: (qmail 7713 invoked by uid 97); 2 Dec 2002 18:02:01 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 7700 invoked by uid 98); 2 Dec 2002 18:02:00 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <shortkevin@example.net> From: "Gaasch, Derek" <shortkevin@example.net> To: 'Turbine Users List' <shortkevin@example.net> Subject: Torque Inheritance Date: Mon, 2 Dec 2002 11:00:49 -0700 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 Hello. I'm trying to figure out how to represent an object hierarchy in my turbine app using torque. The core need is to have each item in the system generate its own unique id. I'd like there to be a base 'object' table that uses idbroker to generate auto-incremented ids. Creating an object of a specific type (a teacher, class, or student, for example) must insert a row into object and generate a unique id, and then create a row in the appropriate corresponding subclass table (teacher, class, or student). Of course, I could do this myself by first creating an 'object' object, then use its id to initialize a subtype, but from the torque site it looks like what I want to do is built in. However, the docs/example has me confused. Below is a simple beginning of the table structure. Where should the <inheritance> tags go? And what does the 'key' property do? <table name="object" idMethod="idbroker"> <column name="OBJECT_ID" required="true" primaryKey="true" type="INTEGER"/> </table> <table name="student"> <column name=OBJECT_ID" required="true" primaryKey="true" type="INTEGER"/> <column name="NAME" size="255" type="VARCHAR"/> </table> <table name="class"> <column name=OBJECT_ID" required="true" primaryKey="true" type="INTEGER"/>\ <column name="NAME" size="255" type="VARCHAR"/> </table> <table name="teacher"> <column name=OBJECT_ID" required="true" primaryKey="true" type="INTEGER"/> <column name="NAME" size="255" type="VARCHAR"/> </table> Thanks! -d -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Mon Dec 02 19:47:30 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 41272 invoked from network); 2 Dec 2002 19:47:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2002 19:47:30 -0000 Received: (qmail 7942 invoked by uid 97); 2 Dec 2002 19:48:34 -0000 Delivered-To: shortkevin@example.net Received: (qmail 7926 invoked by uid 97); 2 Dec 2002 19:48:33 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 7914 invoked by uid 98); 2 Dec 2002 19:48:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Mon, 02 Dec 2002 14:47:18 -0500 From: Laurie Harper <shortkevin@example.net> User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 Subject: Re: 404 error at jakarta/turbine website References: <shortkevin@example.net> In-Reply-To: <shortkevin@example.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <24d.3debb8c8.144a3@pulse> X-Newsgroups: apache.jakarta.turbine-user X-Newsgroups-Sender: shortkevin@example.net X-Newsgroups-Server: 83.161.120.155:119 X-Newsgroups-Client: 83.161.120.155:45558 To: shortkevin@example.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Try http://jakarta.apache.org/turbine/turbine-2/howto/intake-howto.html instead. L. Florian Suschetz wrote: > Hi! > I found out that unfortunately the following url > http://jakarta.apache.org/turbine/turbine-2/howto/howto/intake-howto.html > responds a 404 error .... (Time 0:30 CET) > And I wanted to look up something about intake :( > > Greets > Flo > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Mon Dec 02 23:38:26 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 12327 invoked from network); 2 Dec 2002 23:38:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2002 23:38:26 -0000 Received: (qmail 27571 invoked by uid 97); 2 Dec 2002 23:39:31 -0000 Delivered-To: shortkevin@example.net Received: (qmail 27522 invoked by uid 97); 2 Dec 2002 23:39:30 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 27510 invoked by uid 98); 2 Dec 2002 23:39:29 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <shortkevin@example.net> From: "Gaasch, Derek" <shortkevin@example.net> To: 'Turbine Users List' <shortkevin@example.net> Subject: Intake in tdk-2.2-rc1 Date: Mon, 2 Dec 2002 16:38:20 -0700 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 HELP! Trouble with Intake in tdk-2.2-rc1... IntakeTool cant be instantiated, so $intake is undefined. I've uncommented the lines in TurbineResources.properties: -------------- services.IntakeService.classname=org.apache.turbine.services.intake.TurbineI ntakeService tool.request.om=org.apache.turbine.om.OMTool tool.request.intake=org.apache.turbine.services.intake.IntakeTool services.IntakeService.xml.path=WEB-INF/conf/intake.xml ---------------- and created an intake.xml file ------------------- <input-data basePackage="org.bsi.web."> <group name="Event" key="event" mapToObject="om.Event"> <field name="EVENT_ID" key="id" type="NumberKey"> <rule name="mask" value="^$|[0-9]+">Please select a valid choice</rule> <required-message>No id provided for event </required-message> </field> </group> </input-data> ----------------- but on attempted initialization of the Intake service, I get the following error in turbine.log: -------------------- [Mon Dec 02 16:19:36 MST 2002] -- ERROR -- Could not instantiate tool org.apache.turbine.services.intake.IntakeTool to add to the context Exception: org.apache.turbine.util.TurbineException: Instantiation failed for org.apache.turbine.services.intake.IntakeTool Stack Trace follows: shortkevin@example.net.<init>(IntakeTool.java:90) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at org.apache.turbine.services.factory.TurbineFactoryService.getInstance(Turbin eFactoryService.java:396) rethrown as org.apache.turbine.util.TurbineException: Instantiation failed for shortkevin@example.net(Turbin eFactoryService.java:400) at org.apache.turbine.services.pool.TurbinePoolService.getInstance(TurbinePoolS ervice.java:484) at org.apache.turbine.services.pull.TurbinePullService.populateWithRequestTools (TurbinePullService.java:474) at org.apache.turbine.services.pull.TurbinePullService.populateContext(TurbineP ullService.java:406) at org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull.jav a:145) at org.apache.turbine.services.velocity.TurbineVelocityService.getContext(Turbi neVelocityService.java:249) at org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineVeloc ity.java:156) at org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(VelocityPa ge.java:84) at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:137) at org.apache.turbine.modules.Page.build(Page.java:90) at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) at org.apache.turbine.Turbine.doGet(Turbine.java:563) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) at java.lang.Thread.run(Thread.java:536) ------------------- HELP! -d -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Mon Dec 02 23:51:30 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 17186 invoked from network); 2 Dec 2002 23:51:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2002 23:51:29 -0000 Received: (qmail 7064 invoked by uid 97); 2 Dec 2002 23:52:33 -0000 Delivered-To: shortkevin@example.net Received: (qmail 6958 invoked by uid 97); 2 Dec 2002 23:52:33 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 6876 invoked by uid 98); 2 Dec 2002 23:52:32 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) To: shortkevin@example.net Path: forge.intermeta.de!not-for-mail From: "Henning P. Schmiedehausen" <shortkevin@example.net> Newsgroups: hometree.jakarta.turbine.users Subject: Re: Intake in tdk-2.2-rc1 Date: Mon, 2 Dec 2002 23:51:21 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 52 Sender: shortkevin@example.net Message-ID: <shortkevin@example.net> References: <shortkevin@example.net> Reply-To: shortkevin@example.net NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1038873081 6537 83.161.120.155 (2 Dec 2002 23:51:21 GMT) X-Complaints-To: shortkevin@example.net NNTP-Posting-Date: Mon, 2 Dec 2002 23:51:21 +0000 (UTC) X-Copyright: (C) 1996-2002 Henning Schmiedehausen X-Newsreader: NN version 6.5.1 (NOV) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N "Gaasch, Derek" <shortkevin@example.net> writes: >HELP! Trouble with Intake in tdk-2.2-rc1... IntakeTool cant be instantiated, >so $intake is undefined. >I've uncommented the lines in TurbineResources.properties: >-------------- >services.IntakeService.classname=org.apache.turbine.services.intake.TurbineI >ntakeService >tool.request.om=org.apache.turbine.om.OMTool >tool.request.intake=org.apache.turbine.services.intake.IntakeTool >services.IntakeService.xml.path=WEB-INF/conf/intake.xml >---------------- >and created an intake.xml file >------------------- ><input-data basePackage="org.bsi.web."> ><group name="Event" key="event" mapToObject="om.Event"> > <field name="EVENT_ID" key="id" type="NumberKey"> > <rule name="mask" value="^$|[0-9]+">Please select a valid >choice</rule> > <required-message>No id provided for event > </required-message> > </field> ></group> ></input-data> >----------------- Try <input-data basePackage="org.bsi.web."> <group name="Event" key="event" mapToObject="om.Event"> <field name="EVENT_ID" key="id" type="NumberKey"> <rule name="mask" value="^$|[0-9]+">Please select a valid choice</rule> <rule name="required" value="true">No id provided for event</rule> </field> </group> </input-data> Yep, intake docs suck big time. Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer INTERMETA - Gesellschaft fuer Mehrwertdienste mbH shortkevin@example.net Am Schwabachgrund 22 Fon.: 09131 / 50654-0 shortkevin@example.net D-91054 Buckenhof Fax.: 09131 / 50654-20 -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Mon Dec 02 23:56:29 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 20021 invoked from network); 2 Dec 2002 23:56:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2002 23:56:28 -0000 Received: (qmail 12658 invoked by uid 97); 2 Dec 2002 23:57:34 -0000 Delivered-To: shortkevin@example.net Received: (qmail 12606 invoked by uid 97); 2 Dec 2002 23:57:33 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 12594 invoked by uid 98); 2 Dec 2002 23:57:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Intake in tdk-2.2-rc1 Date: Mon, 2 Dec 2002 17:49:26 -0600 Message-ID: <shortkevin@example.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Intake in tdk-2.2-rc1 Thread-Index: AcKaWvOo6IR8wvGQQ+WjpGefTBAQjwAAnQiw From: "Quinton McCombs" <shortkevin@example.net> To: "Turbine Users List" <shortkevin@example.net> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This typically means that intake could not parse the xml file or it could not resolve field names to get/set methods in your mapped object. Try changing your field name to eventId. The code that intake is using to get the get/set methods uses java.beans.PropertyDescriptor. Take a look at the java docs (jdk) for that class. -----Original Message----- From: Gaasch, Derek [mailto:shortkevin@example.net]=20 Sent: Monday, December 02, 2002 5:38 PM To: 'Turbine Users List' Subject: Intake in tdk-2.2-rc1 HELP! Trouble with Intake in tdk-2.2-rc1... IntakeTool cant be instantiated, so $intake is undefined. I've uncommented the lines in TurbineResources.properties: -------------- services.IntakeService.classname=3Dorg.apache.turbine.services.intake.Tur= b ineI ntakeService tool.request.om=3Dorg.apache.turbine.om.OMTool tool.request.intake=3Dorg.apache.turbine.services.intake.IntakeTool services.IntakeService.xml.path=3DWEB-INF/conf/intake.xml ---------------- and created an intake.xml file ------------------- <input-data basePackage=3D"org.bsi.web."> <group name=3D"Event" key=3D"event" mapToObject=3D"om.Event"> <field name=3D"EVENT_ID" key=3D"id" type=3D"NumberKey"> <rule name=3D"mask" value=3D"^$|[0-9]+">Please select a valid choice</rule> <required-message>No id provided for event </required-message> </field> </group> </input-data> ----------------- but on attempted initialization of the Intake service, I get the following error in turbine.log: -------------------- [Mon Dec 02 16:19:36 MST 2002] -- ERROR -- Could not instantiate tool org.apache.turbine.services.intake.IntakeTool to add to the context Exception: org.apache.turbine.util.TurbineException: Instantiation failed for org.apache.turbine.services.intake.IntakeTool Stack Trace follows: shortkevin@example.net.<init>(IntakeTool.java:90) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA cces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons truc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at org.apache.turbine.services.factory.TurbineFactoryService.getInstance(Tu rbin eFactoryService.java:396) rethrown as org.apache.turbine.util.TurbineException: Instantiation failed for shortkevin@example.net(Tu rbin eFactoryService.java:400) at org.apache.turbine.services.pool.TurbinePoolService.getInstance(TurbineP oolS ervice.java:484) at org.apache.turbine.services.pull.TurbinePullService.populateWithRequestT ools (TurbinePullService.java:474) at org.apache.turbine.services.pull.TurbinePullService.populateContext(Turb ineP ullService.java:406) at org.apache.turbine.services.pull.TurbinePull.populateContext(TurbinePull .jav a:145) at org.apache.turbine.services.velocity.TurbineVelocityService.getContext(T urbi neVelocityService.java:249) at org.apache.turbine.services.velocity.TurbineVelocity.getContext(TurbineV eloc ity.java:156) at org.apache.turbine.modules.pages.VelocityPage.doBuildBeforeAction(Veloci tyPa ge.java:84) at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:13 7) at org.apache.turbine.modules.Page.build(Page.java:90) at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) at org.apache.turbine.Turbine.doGet(Turbine.java:563) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tion FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.ja va:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 66) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator Base .java:475) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 64) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja va:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 7) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa lve. java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 64) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :170 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 64) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java :174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja va:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 72) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) at java.lang.Thread.run(Thread.java:536) ------------------- HELP! -d -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 00:45:03 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 52500 invoked from network); 3 Dec 2002 00:45:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 00:45:02 -0000 Received: (qmail 9185 invoked by uid 97); 3 Dec 2002 00:46:05 -0000 Delivered-To: shortkevin@example.net Received: (qmail 9047 invoked by uid 97); 3 Dec 2002 00:46:04 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 8945 invoked by uid 98); 3 Dec 2002 00:46:04 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Content-Type: text/plain; charset="iso-8859-1" From: Rodney Schneider <shortkevin@example.net> Organization: ACTF To: "Turbine Users List" <shortkevin@example.net> Subject: Re: JSP instead of Velocity?! Date: Tue, 3 Dec 2002 11:45:14 +1100 X-Mailer: KMail [version 1.3.1] References: <76F2C3170AF9D411939200A0C95A3950BC4C44@ESNK140A> In-Reply-To: <76F2C3170AF9D411939200A0C95A3950BC4C44@ESNK140A> 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 Mon, 2 Dec 2002 19:57, you wrote: > Hello, > > is it possible to create the view only with JSP? Yes! Turbine was designed to support various templating systems as well as other views such as JSP. You should read about the JSP Service: http://jakarta.apache.org/turbine/turbine-2/services/jsp-service.html I have not personally used JSP with Turbine, but if you search the mailing list archives, you might find some helpful information: http://archives.apache.org/eyebrowse/SearchList?listId=&listName=turbine-user%40jakarta.apache.org&searchText=JSP&defaultField=subject&Search=Search Regards, -- Rodney -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 00:52:09 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 55120 invoked from network); 3 Dec 2002 00:52:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 00:52:09 -0000 Received: (qmail 11660 invoked by uid 97); 3 Dec 2002 00:53:17 -0000 Delivered-To: shortkevin@example.net Received: (qmail 11644 invoked by uid 97); 3 Dec 2002 00:53:17 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 11631 invoked by uid 98); 3 Dec 2002 00:53:16 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <shortkevin@example.net> From: "Gaasch, Derek" <shortkevin@example.net> To: 'Turbine Users List' <shortkevin@example.net> Subject: RE: Intake in tdk-2.2-rc1 Date: Mon, 2 Dec 2002 17:52:03 -0700 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 Thanks for the suggestions, but still no luck.... even when I try the content contained in the tdk\apps\3\src\conf\project-intake.xml in the tdk release, I get a nullPointer exception... which leads me to believe it's not the content of my xml file. Unless the provided xml file isn't any good either... Hm. -d -----Original Message----- From: Henning P. Schmiedehausen [mailto:shortkevin@example.net] Sent: Monday, December 02, 2002 4:51 PM To: shortkevin@example.net Subject: Re: Intake in tdk-2.2-rc1 "Gaasch, Derek" <shortkevin@example.net> writes: >HELP! Trouble with Intake in tdk-2.2-rc1... IntakeTool cant be instantiated, >so $intake is undefined. >I've uncommented the lines in TurbineResources.properties: >-------------- >services.IntakeService.classname=org.apache.turbine.services.intake.Turbine I >ntakeService >tool.request.om=org.apache.turbine.om.OMTool >tool.request.intake=org.apache.turbine.services.intake.IntakeTool >services.IntakeService.xml.path=WEB-INF/conf/intake.xml >---------------- >and created an intake.xml file >------------------- ><input-data basePackage="org.bsi.web."> ><group name="Event" key="event" mapToObject="om.Event"> > <field name="EVENT_ID" key="id" type="NumberKey"> > <rule name="mask" value="^$|[0-9]+">Please select a valid >choice</rule> > <required-message>No id provided for event > </required-message> > </field> ></group> ></input-data> >----------------- Try <input-data basePackage="org.bsi.web."> <group name="Event" key="event" mapToObject="om.Event"> <field name="EVENT_ID" key="id" type="NumberKey"> <rule name="mask" value="^$|[0-9]+">Please select a valid choice</rule> <rule name="required" value="true">No id provided for event</rule> </field> </group> </input-data> Yep, intake docs suck big time. Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer INTERMETA - Gesellschaft fuer Mehrwertdienste mbH shortkevin@example.net Am Schwabachgrund 22 Fon.: 09131 / 50654-0 shortkevin@example.net D-91054 Buckenhof Fax.: 09131 / 50654-20 -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 00:57:28 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 58770 invoked from network); 3 Dec 2002 00:57:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 00:57:28 -0000 Received: (qmail 19593 invoked by uid 97); 3 Dec 2002 00:58:36 -0000 Delivered-To: shortkevin@example.net Received: (qmail 19560 invoked by uid 97); 3 Dec 2002 00:58:35 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 19547 invoked by uid 98); 3 Dec 2002 00:58:35 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Content-Type: text/plain; charset="iso-8859-1" From: Rodney Schneider <shortkevin@example.net> Organization: ACTF To: "Turbine Users List" <shortkevin@example.net> Subject: Re: Intake in tdk-2.2-rc1 Date: Tue, 3 Dec 2002 11:57:47 +1100 X-Mailer: KMail [version 1.3.1] References: <shortkevin@example.net> In-Reply-To: <shortkevin@example.net> 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 Tue, 3 Dec 2002 11:52, you wrote: > Thanks for the suggestions, but still no luck.... even when I try the > content contained in the tdk\apps\3\src\conf\project-intake.xml in > the tdk release, I get a nullPointer exception... which leads me to > believe it's not the content of my xml file. Unless the provided xml > file isn't any good either... Hm. If you validate the xml file against the intake dtd, this will pick up any mistakes you may have made. Try removing the appData.ser file from the WEB-INF directory. -- Rodney -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 08:23:49 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 84910 invoked from network); 3 Dec 2002 08:23:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 08:23:49 -0000 Received: (qmail 14552 invoked by uid 97); 3 Dec 2002 08:25:02 -0000 Delivered-To: shortkevin@example.net Received: (qmail 14530 invoked by uid 97); 3 Dec 2002 08:25:00 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 14517 invoked by uid 98); 3 Dec 2002 08:24:59 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <76F2C3170AF9D411939200A0C95A3950BC4C46@ESNK140A> From: Esseling Norman <shortkevin@example.net> To: "'Turbine Users List'" <shortkevin@example.net> Subject: AW: JSP instead of Velocity?! Date: Tue, 3 Dec 2002 09:22:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for your response, but i allready searched the archives and = found nothing usefull!! I'm a newbie to JSP and i have to do it ( test it ) for my work!! Any other ideas or know-how? -----Urspr=FCngliche Nachricht----- Von: Rodney Schneider [mailto:shortkevin@example.net] Gesendet am: Dienstag, 3. Dezember 2002 01:45 An: Turbine Users List Betreff: Re: JSP instead of Velocity?! On Mon, 2 Dec 2002 19:57, you wrote: > Hello, > > is it possible to create the view only with JSP? Yes! Turbine was designed to support various templating systems as=20 well as other views such as JSP. You should read about the JSP Service: http://jakarta.apache.org/turbine/turbine-2/services/jsp-service.html I have not personally used JSP with Turbine, but if you search the=20 mailing list archives, you might find some helpful information: http://archives.apache.org/eyebrowse/SearchList?listId=3D&listName=3Dtur= bine-use r%40jakarta.apache.org&searchText=3DJSP&defaultField=3Dsubject&Search=3D= Search Regards, -- Rodney -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 08:57:29 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 20036 invoked from network); 3 Dec 2002 08:57:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 08:57:27 -0000 Received: (qmail 8278 invoked by uid 97); 3 Dec 2002 08:58:39 -0000 Delivered-To: shortkevin@example.net Received: (qmail 8241 invoked by uid 97); 3 Dec 2002 08:58:38 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 8229 invoked by uid 98); 3 Dec 2002 08:58:37 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Marc Lustig" <shortkevin@example.net> To: "Turbine Users List" <shortkevin@example.net> Subject: building maven from cvs Date: Tue, 3 Dec 2002 09:57:28 +0100 Message-ID: <shortkevin@example.net> 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) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal 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, I'm trying to build maven from cvs. I read a lot in the archives and on the maven-site. So I did the following: - installing ant1.4.1 including optional.jar and the latest dom4j-full.jar - setting MAVEN_HOME When I type ant -f bootstrap.xml the following exception is thrown: +------------------------------------------------------------------+ | | | B U I L D I N G T H E P L U G I N S | | | +------------------------------------------------------------------+ [exec] java.lang.reflect.InvocationTargetException [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces sorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet hodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:324) [exec] at com.werken.forehead.Forehead.run(Forehead.java:543) [exec] at com.werken.forehead.Forehead.main(Forehead.java:573) [exec] Caused by: java.lang.NoClassDefFoundError: org/apache/tools/ant/Buil dLogger [exec] at org.apache.commons.jelly.tags.jeez.JeezTagLibrary.<init>(Jeez TagLibrary.java:107) [exec] at org.apache.maven.jelly.tags.MavenJeezTagLibrary.<init>(MavenJ eezTagLibrary.java:73) [exec] at org.apache.maven.jelly.MavenJellyContext.initializeContext(Ma venJellyContext.java:153) [exec] at org.apache.maven.jelly.MavenJellyContext.<init>(MavenJellyCon text.java:118) [exec] at org.apache.maven.MavenUtils.createContext(MavenUtils.java:662 ) [exec] at org.apache.maven.MavenUtils.createContext(MavenUtils.java:599 ) [exec] at org.apache.maven.cli.App.initializeContext(App.java:333) [exec] at org.apache.maven.cli.App.initialize(App.java:280) [exec] at org.apache.maven.cli.App.doMain(App.java:480) [exec] at org.apache.maven.cli.App.main(App.java:1096) [exec] ... 6 more [echo] I'd appreaciate any hint. TIA. Marc -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 11:22:52 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 28758 invoked from network); 3 Dec 2002 11:22:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 11:22:51 -0000 Received: (qmail 3955 invoked by uid 97); 3 Dec 2002 11:24:06 -0000 Delivered-To: shortkevin@example.net Received: (qmail 3938 invoked by uid 97); 3 Dec 2002 11:24:05 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 3925 invoked by uid 98); 3 Dec 2002 11:24:04 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) User-Agent: Microsoft-Entourage/83.161.120.1558 Date: Tue, 03 Dec 2002 22:22:53 +1100 Subject: Re: building maven from cvs From: Scott Eade <shortkevin@example.net> To: turbine-user <shortkevin@example.net> Message-ID: <shortkevin@example.net> In-Reply-To: <shortkevin@example.net> Mime-version: 1.0 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 > From: "Marc Lustig" <shortkevin@example.net> > > I'd appreaciate any hint. TIA. Try maven-user ;-) Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 13:02:49 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 95667 invoked from network); 3 Dec 2002 13:02:48 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 13:02:48 -0000 Received: (qmail 12764 invoked by uid 97); 3 Dec 2002 13:03:49 -0000 Delivered-To: shortkevin@example.net Received: (qmail 12731 invoked by uid 97); 3 Dec 2002 13:03:48 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 12719 invoked by uid 98); 3 Dec 2002 13:03:47 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Aparna Sundari" <shortkevin@example.net> To: <shortkevin@example.net> Subject: JSP Service Configuration Date: Tue, 3 Dec 2002 18:35:17 +0530 Message-ID: <shortkevin@example.net> 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.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello All, Iam trying to configure JSP with turbine. Can anyone explain all the configuration options Examples of configuration file for this service would be very helpful Thanks in advance Aparna -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 13:31:55 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 17841 invoked from network); 3 Dec 2002 13:31:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 13:31:55 -0000 Received: (qmail 20423 invoked by uid 97); 3 Dec 2002 13:32:56 -0000 Delivered-To: shortkevin@example.net Received: (qmail 20385 invoked by uid 97); 3 Dec 2002 13:32:55 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 20373 invoked by uid 98); 3 Dec 2002 13:32:55 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <76F2C3170AF9D411939200A0C95A3950BDFDC3@ESNK140A> From: Kleinhenz Thorsten <shortkevin@example.net> To: "'shortkevin@example.net'" <shortkevin@example.net> Subject: Possible to use a nt user account to log into Turbine? Date: Tue, 3 Dec 2002 14:31:06 +0100 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 Hello, I'm developing an intranet application using TDK 2.1 on WinNT4 / W2k. Is it possible to use the system user account to log into Turbine so the user only has to login once at the beginning? In Java one can get the username via 'System.getProperty("user.name")' but I think that won't help as long as the Java classes run on the server, not on the client. Does anyone know how to get the login working this way? Regards, Thorsten -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 14:15:22 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 61828 invoked from network); 3 Dec 2002 14:15:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 14:15:21 -0000 Received: (qmail 15284 invoked by uid 97); 3 Dec 2002 14:16:22 -0000 Delivered-To: shortkevin@example.net Received: (qmail 15234 invoked by uid 97); 3 Dec 2002 14:16:21 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 15222 invoked by uid 98); 3 Dec 2002 14:16:20 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) From: "Jonas Denvall" <shortkevin@example.net> To: "'Turbine Users List'" <shortkevin@example.net> Subject: SV: Torque Inheritance Date: Tue, 3 Dec 2002 15:15:05 +0100 Message-ID: <002901c29ad6$611f8650$9d01a8c0@denvall> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <shortkevin@example.net> 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 Derek. Your question is very interesting. I'm afraid that the inheritance hierarchy that you would like to implement is not supported by Torque. The reason is that the inheritance model supported by Torque maps all objects in the class hierarchy to a single table. All attributes for every class in the hierarchy are stored in the table. See http://jakarta.apache.org/turbine/torque/inheritance-guide.html I also had the need of a "super object" table, and spent some time looking for the best solution. Finally, I implemented it by pure references combined with some class-loading, but I am not happy with the result. My hierarchy looks something like this: <table name=3D"BASE_OBJECT" idMethod=3D"idbroker"> <column name=3DOBJECT_ID" required=3D"true" primaryKey=3D"true" type=3D"INTEGER"/> <column name=3DFOREIGN_ID" required=3D"true" primaryKey=3D"false" type=3D"INTEGER"/> <column name=3D"JAVA_NAME" size=3D"255" type=3D"VARCHAR"/> =09 </table> <table name=3D"STUDENT" idMethod=3D"idbroker" baseClass=3D"com.mondao....BaseObjectHolder"> <column name=3DSTUDENT_ID" required=3D"true" primaryKey=3D"true" type=3D"INTEGER"/> </table> Then I override the save() method in Student, so that when a STUDENT tuple is inserted, a BASE_OBJECT tuple is inserted (with the foregin_id =3D student_id, java_name =3D com.mondao...Student) as well. In the BaseObject class, I introduce a method BasObjectHolder getBaseObjectHolder() that class loads an instance, and retrieves it by the primary key. Please keep me notified if you find a better soloution! Regards, Jonas -----Ursprungligt meddelande----- Fr=E5n: Gaasch, Derek [mailto:shortkevin@example.net]=20 Skickat: den 2 december 2002 19:01 Till: 'Turbine Users List' =C4mne: Torque Inheritance Hello. I'm trying to figure out how to represent an object hierarchy in my turbine app using torque. The core need is to have each item in the system generate its own unique id. I'd like there to be a base 'object' table that uses idbroker to generate auto-incremented ids. Creating an object of a specific type (a teacher, class, or student, for example) must insert a row into object and generate a unique id, and then create a row in the appropriate corresponding subclass table (teacher, class, or student). Of course, I could do this myself by first creating an 'object' object, then use its id to initialize a subtype, but from the torque site it looks like what I want to do is built in. However, the docs/example has me confused. Below is a simple beginning of the table structure. Where should the <inheritance> tags go? And what does the 'key' property do? <table name=3D"object" idMethod=3D"idbroker"> <column name=3D"OBJECT_ID" required=3D"true" primaryKey=3D"true" type=3D"INTEGER"/> </table> <table name=3D"student"> <column name=3DOBJECT_ID" required=3D"true" primaryKey=3D"true" type=3D"INTEGER"/> <column name=3D"NAME" size=3D"255" type=3D"VARCHAR"/> </table> <table name=3D"class"> <column name=3DOBJECT_ID" required=3D"true" primaryKey=3D"true" type=3D"INTEGER"/>\ <column name=3D"NAME" size=3D"255" type=3D"VARCHAR"/> </table> <table name=3D"teacher"> <column name=3DOBJECT_ID" required=3D"true" primaryKey=3D"true" type=3D"INTEGER"/> <column name=3D"NAME" size=3D"255" type=3D"VARCHAR"/> </table> Thanks! -d -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 15:16:02 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 43973 invoked from network); 3 Dec 2002 15:16:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 15:16:01 -0000 Received: (qmail 24601 invoked by uid 97); 3 Dec 2002 15:16:48 -0000 Delivered-To: shortkevin@example.net Received: (qmail 24440 invoked by uid 97); 3 Dec 2002 15:16:46 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 24417 invoked by uid 98); 3 Dec 2002 15:16:45 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <shortkevin@example.net> Date: Tue, 03 Dec 2002 09:13:23 -0600 From: pavel kusch <shortkevin@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Turbine Users List <shortkevin@example.net> Subject: Re: Intake in tdk-2.2-rc1 References: <shortkevin@example.net> <shortkevin@example.net> Content-Type: multipart/alternative; boundary="------------070009000204090008020107" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------070009000204090008020107 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Have you shut down and restarted the server to load the updated properties? Henning P. Schmiedehausen wrote: >"Gaasch, Derek" <shortkevin@example.net> writes: > > > > >>HELP! Trouble with Intake in tdk-2.2-rc1... IntakeTool cant be instantiated, >>so $intake is undefined. >> >> > > > >>I've uncommented the lines in TurbineResources.properties: >> >> > > > >>-------------- >>services.IntakeService.classname=org.apache.turbine.services.intake.TurbineI >>ntakeService >>tool.request.om=org.apache.turbine.om.OMTool >>tool.request.intake=org.apache.turbine.services.intake.IntakeTool >>services.IntakeService.xml.path=WEB-INF/conf/intake.xml >>---------------- >> >> > > > >>and created an intake.xml file >> >> > > > >>------------------- >><input-data basePackage="org.bsi.web."> >><group name="Event" key="event" mapToObject="om.Event"> >> <field name="EVENT_ID" key="id" type="NumberKey"> >> <rule name="mask" value="^$|[0-9]+">Please select a valid >>choice</rule> >> <required-message>No id provided for event >> </required-message> >> </field> >></group> >></input-data> >>----------------- >> >> > >Try > ><input-data basePackage="org.bsi.web."> > <group name="Event" key="event" mapToObject="om.Event"> > <field name="EVENT_ID" key="id" type="NumberKey"> > <rule name="mask" value="^$|[0-9]+">Please select a valid choice</rule> > <rule name="required" value="true">No id provided for event</rule> > </field> > </group> ></input-data> > >Yep, intake docs suck big time. > > Regards > Henning > > --------------070009000204090008020107-- From turbine-user-returnshortkevin@example.net Tue Dec 03 16:47:45 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 70435 invoked from network); 3 Dec 2002 16:47:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 16:47:44 -0000 Received: (qmail 23407 invoked by uid 97); 3 Dec 2002 16:48:45 -0000 Delivered-To: shortkevin@example.net Received: (qmail 23335 invoked by uid 97); 3 Dec 2002 16:48:44 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 23295 invoked by uid 98); 3 Dec 2002 16:48:43 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <shortkevin@example.net> From: "Gaasch, Derek" <shortkevin@example.net> To: 'Turbine Users List' <shortkevin@example.net> Subject: RE: Intake in tdk-2.2-rc1 Date: Tue, 3 Dec 2002 09:46:56 -0700 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 Could it be that the tool is getting initialized before the service? Is there a way to initialize the tool manually from a template file or screen file instead of at startup so that I can make sure there isn't a synchronization issue? I could extend the TurbineIntakeService and IntakeTool classes to debug, etc, but that will be more involved. -d -----Original Message----- From: Rodney Schneider [mailto:shortkevin@example.net] Sent: Monday, December 02, 2002 5:58 PM To: Turbine Users List Subject: Re: Intake in tdk-2.2-rc1 On Tue, 3 Dec 2002 11:52, you wrote: > Thanks for the suggestions, but still no luck.... even when I try the > content contained in the tdk\apps\3\src\conf\project-intake.xml in > the tdk release, I get a nullPointer exception... which leads me to > believe it's not the content of my xml file. Unless the provided xml > file isn't any good either... Hm. If you validate the xml file against the intake dtd, this will pick up any mistakes you may have made. Try removing the appData.ser file from the WEB-INF directory. -- Rodney -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 17:07:52 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 98354 invoked from network); 3 Dec 2002 17:07:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 17:07:52 -0000 Received: (qmail 18315 invoked by uid 97); 3 Dec 2002 17:08:55 -0000 Delivered-To: shortkevin@example.net Received: (qmail 18299 invoked by uid 97); 3 Dec 2002 17:08:55 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 18287 invoked by uid 98); 3 Dec 2002 17:08:54 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <shortkevin@example.net> From: "Gaasch, Derek" <shortkevin@example.net> To: 'Turbine Users List' <shortkevin@example.net> Subject: RE: Possible to use a nt user account to log into Turbine? Date: Tue, 3 Dec 2002 10:07:45 -0700 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 It is possible to do it using jcifs (http://jcifs.samba.org) which is a java library for accessing samba shares (& windows shares) via java. I currently have extended my loginuser functionality to do the following: 1) check if the user name trying to log-in is a member of the staff group 2) if so, authenticate the user against the PDC using jcifs -- if valid, give them extended permissions 3) if not in staff group, authenticate against turbine user tables. Aparrently in jcifs, there is functionality that actually allows integration between the username & pw the user uses to log-into the client machine and the un/pw that is submitted to the samba share, although I haven't bothered looking into it too much. http://jcifs.samba.org/src/docs/ntlmhttpauth.html talks specifically about doing what you want to do.... ntlm auth. Over http. By doing this, you are limited to using MSIE, I believe... Hope this gives you a start. -d -----Original Message----- From: Kleinhenz Thorsten [mailto:shortkevin@example.net] Sent: Tuesday, December 03, 2002 6:31 AM To: 'shortkevin@example.net' Subject: Possible to use a nt user account to log into Turbine? Hello, I'm developing an intranet application using TDK 2.1 on WinNT4 / W2k. Is it possible to use the system user account to log into Turbine so the user only has to login once at the beginning? In Java one can get the username via 'System.getProperty("user.name")' but I think that won't help as long as the Java classes run on the server, not on the client. Does anyone know how to get the login working this way? Regards, Thorsten -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 17:12:16 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 4018 invoked from network); 3 Dec 2002 17:12:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 17:12:16 -0000 Received: (qmail 23108 invoked by uid 97); 3 Dec 2002 17:13:19 -0000 Delivered-To: shortkevin@example.net Received: (qmail 23092 invoked by uid 97); 3 Dec 2002 17:13:19 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 23080 invoked by uid 98); 3 Dec 2002 17:13:18 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <shortkevin@example.net> From: Simon Moore <shortkevin@example.net> To: Turbine Users List <shortkevin@example.net> Subject: RE: Possible to use a nt user account to log into Turbine? Date: Tue, 3 Dec 2002 18:12:40 +0100 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 See inline.... > -----Mensaje original----- > De: Gaasch, Derek [SMTP:shortkevin@example.net] > Enviado el: 03 December 2002 18:08 > Para: 'Turbine Users List' > Asunto: RE: Possible to use a nt user account to log into Turbine? > > It is possible to do it using jcifs (http://jcifs.samba.org) which is a > java > library for accessing samba shares (& windows shares) via java. I > currently > have extended my loginuser functionality to do the following: > > 1) check if the user name trying to log-in is a member of the staff group > 2) if so, authenticate the user against the PDC using jcifs -- if valid, > give them extended permissions > 3) if not in staff group, authenticate against turbine user tables. > > Aparrently in jcifs, there is functionality that actually allows > integration > between the username & pw the user uses to log-into the client machine and > the un/pw that is submitted to the samba share, although I haven't > bothered > looking into it too much. > http://jcifs.samba.org/src/docs/ntlmhttpauth.html > talks specifically about doing what you want to do.... ntlm auth. Over > http. > By doing this, you are limited to using MSIE, I believe... > [SM] Not with NTLM Authorization Server (http://www.geocities.com/rozmanov/ntlm/) you aren't ;) Regards, Saimon > Hope this gives you a start. > > -d > > -----Original Message----- > From: Kleinhenz Thorsten [mailto:shortkevin@example.net] > Sent: Tuesday, December 03, 2002 6:31 AM > To: 'shortkevin@example.net' > Subject: Possible to use a nt user account to log into Turbine? > > Hello, > > I'm developing an intranet application using TDK 2.1 on WinNT4 / W2k. > Is it possible to use the system user account to log into Turbine so the > user only has to login once at the beginning? In Java one can get the > username via 'System.getProperty("user.name")' but I think that won't help > as long as the Java classes run on the server, not on the client. > > Does anyone know how to get the login working this way? > > Regards, > Thorsten > > -- > To unsubscribe, e-mail: > <mailto:shortkevin@example.net> > For additional commands, e-mail: > <mailto:shortkevin@example.net> > > -- > To unsubscribe, e-mail: > <mailto:shortkevin@example.net> > For additional commands, e-mail: > <mailto:shortkevin@example.net> -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 17:33:30 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 26112 invoked from network); 3 Dec 2002 17:33:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 17:33:28 -0000 Received: (qmail 611 invoked by uid 97); 3 Dec 2002 17:34:31 -0000 Delivered-To: shortkevin@example.net Received: (qmail 592 invoked by uid 97); 3 Dec 2002 17:34:30 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net> List-Post: <mailto:shortkevin@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <shortkevin@example.net> Delivered-To: mailing list shortkevin@example.net Received: (qmail 568 invoked by uid 98); 3 Dec 2002 17:34:29 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) To: shortkevin@example.net Path: forge.intermeta.de!not-for-mail From: "Henning P. Schmiedehausen" <shortkevin@example.net> Newsgroups: hometree.jakarta.turbine.users Subject: Re: Possible to use a nt user account to log into Turbine? Date: Tue, 3 Dec 2002 17:33:17 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 26 Sender: shortkevin@example.net Message-ID: <shortkevin@example.net> References: <76F2C3170AF9D411939200A0C95A3950BDFDC3@ESNK140A> Reply-To: shortkevin@example.net NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1038936797 14463 83.161.120.155 (3 Dec 2002 17:33:17 GMT) X-Complaints-To: shortkevin@example.net NNTP-Posting-Date: Tue, 3 Dec 2002 17:33:17 +0000 (UTC) X-Copyright: (C) 1996-2002 Henning Schmiedehausen X-Newsreader: NN version 6.5.1 (NOV) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Kleinhenz Thorsten <shortkevin@example.net> writes: >Hello, >I'm developing an intranet application using TDK 2.1 on WinNT4 / W2k. >Is it possible to use the system user account to log into Turbine so the >user only has to login once at the beginning? In Java one can get the >username via 'System.getProperty("user.name")' but I think that won't help >as long as the Java classes run on the server, not on the client. >Does anyone know how to get the login working this way? You would need a Security Service which queries the NT domain controller / Active Directory to authenticate an user. This is certainly doable but not ready made. Regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer INTERMETA - Gesellschaft fuer Mehrwertdienste mbH shortkevin@example.net Am Schwabachgrund 22 Fon.: 09131 / 50654-0 shortkevin@example.net D-91054 Buckenhof Fax.: 09131 / 50654-20 -- To unsubscribe, e-mail: <mailto:shortkevin@example.net> For additional commands, e-mail: <mailto:shortkevin@example.net> From turbine-user-returnshortkevin@example.net Tue Dec 03 17:35:01 2002 Return-Path: <turbine-user-returnshortkevin@example.net> Delivered-To: shortkevin@example.net Received: (qmail 26885 invoked from network); 3 Dec 2002 17:35:01 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2002 17:35:01 -0000 Received: (qmail 3672 invoked by uid 97); 3 Dec 2002 17:36:04 -0000 Delivered-To: shortkevin@example.net Received: (qmail 3656 invoked by uid 97); 3 Dec 2002 17:36:03 -0000 Mailing-List: contact shortkevin@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:shortkevin@example.net> List-Subscribe: <mailto:shortkevin@example.net> List-Help: <mailto:shortkevin@example.net>
{'source': 'Apache Software Foundation Public Mail Archives'}