From turbine-user-returndhernandez@example.net Sat Dec 01 09:21:00 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 98454 invoked from network); 1 Dec 2001 09:21:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2001 09:21:00 -0000 Received: (qmail 27480 invoked by uid 97); 1 Dec 2001 09:21:10 -0000 Delivered-To: dhernandez@example.net Received: (qmail 27464 invoked by uid 97); 1 Dec 2001 09:21:09 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 27453 invoked from network); 1 Dec 2001 09:21:09 -0000 Message-ID: <dhernandez@example.net> Date: Sat, 01 Dec 2001 10:15:13 +0100 From: Christopher Campbell <dhernandez@example.net> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Turbine Users List <dhernandez@example.net> Subject: Re: [Relatively Newbie] NoClassDefFoundError when trying to logon References: <dhernandez@example.net> <dhernandez@example.net> <dhernandez@example.net> 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 OOPS .... After wasting a lot of time I decided to followup the hunch I originally had that it had something to do with mysql. Umm ... took a look in the mysql config file my.cnf and noticed that network access was switched off. I could connect to the database with the mysql client which did so via the socket file and not via a network socket. So if anyone ever gets such an exception ... try checking your (mysql) database configuration. Christopher Christopher Campbell wrote: > It seems that this is a problem caused by the debain disribution I am > running. > However, I haven't found out whats the problem. > If anyone has had a similar problem, your input would be much > appreciated. > > Chris > > Christopher Campbell wrote: > >> Hi everyone, >> >> this is my second posting, so I'm quite new. >> >> I've written a wee application and everything works fine at home: >> >> Linux SuSe7.2 >> JDK1.3 >> MYSQL >> TDK2.1 with CVS turbine2.2b1.jar >> >> I then packaged the webapp dir (tarred & gzipped things and dumped >> the MYSQL turbine database), >> transferred the whole thing to a different box: >> Debian >> JDK1.3 >> MYSQL >> TOMCAT4.0.1 >> >> I just gunzipped/untarred things into the TOMCAT webapps dir, >> loaded the turbine database dump onto the new MYSQL server, >> started tomcat and tried to logon, however I constantly get two errors: >> Initially, directly after starting tomcat I get the error: >> >> Turbine.handleException: >> Error in BasePeer.initTableSchema(TURBINE_USER): >> Cannot connect to MySQL server on 83.161.120.155:3306. >> Is there a MySQL server running on the machine/port you are trying to >> connect to? (java.net.ConnectException) >> >> Note: MYSQL is setup correctly to allow access from 83.161.120.155/localhost. >> >> Then on successive attempts to login I get: >> >> [Wed Nov 28 22:07:47 CET 2001] -- ERROR -- >> Exception: java.lang.NoClassDefFoundError: >> org/apache/turbine/om/security/peer/TurbineUserPeer >> Stack Trace follows: >> java.lang.NoClassDefFoundError: >> org/apache/turbine/om/security/peer/TurbineUserPeer >> at >> org.apache.turbine.services.security.db.DBUserManager.retrieve(DBUserManager.java:158) >> >> >> >> I'm assuming that it should be possible to deploy a webapp in the >> manner I've described >> above. >> >> I would very much appreciate any help here. >> >> Thanks in advance. >> >> Chris >> >> >> >> >> >> -- >> To unsubscribe, e-mail: >> <mailto:dhernandez@example.net> >> For additional commands, e-mail: >> <mailto:dhernandez@example.net> >> >> >> > > > > -- > To unsubscribe, e-mail: > <mailto:dhernandez@example.net> > For additional commands, e-mail: > <mailto:dhernandez@example.net> > > > -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sat Dec 01 09:30:44 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 869 invoked from network); 1 Dec 2001 09:30:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2001 09:30:44 -0000 Received: (qmail 29207 invoked by uid 97); 1 Dec 2001 09:30:52 -0000 Delivered-To: dhernandez@example.net Received: (qmail 29191 invoked by uid 97); 1 Dec 2001 09:30:51 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 29180 invoked from network); 1 Dec 2001 09:30:51 -0000 Date: Sat, 1 Dec 2001 10:30:44 +0100 Message-Id: <dhernandez@example.net> Subject: =?iso-8859-1?Q?Re:_Turbine_Best_Practices?= MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 From: "=?dhernandez@example.net?=" <dhernandez@example.net> To: dhernandez@example.net X-XaM3-API-Version: 2.5 X-type:0 X-SenderIP: 83.161.120.155 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N SGkgSmVmZiwNCg0KSSB0aGluayB0aGF0IGRvY3VtZW50cyBhYm91dCAiVHVyYmluZSBCZXN0 IFByYWN0aWNlcyIgd291bGQgaGVscCBhIGxvdCANCm9mIGRldmVsb3BlcnMgdG8gZ2V0IHRo ZSBiZXN0IGZyb20gVHVyYmluZSBmcmFtZXdvcmsuDQpBY3R1YWxseSBJJ3ZlIGdhdGhlcmVk IHNvbWUgaW5mb3JtYXRpb24gYWJvdXQgcGF0dGVybnMgcmVsYXRlZCB0byANCnNlY3VyaXR5 IGFuZCBsb2NhbGl6YXRpb24gaW4gVHVyYmluZSBhcHBzLg0KTGV0IG1lIGtub3cgaWYgSSBj b3VsZCBiZSBvZiBhbnkgaGVscCBmb3IgeW91ciBwcm9qZWN0Lg0KSmFjb3BvDQoNCg0KPiBX ZSdyZSB1c2luZyBUdXJiaW5lIGhlcmUgYXMgdGhlIGJhc2lzIGZvciBhIHdlYiBhcHBsaWNh dGlvbiwgYW5kIGl0IHNlDQplbXMNCj4gbGlrZSB0aGVyZSBhcmUgYSBsb3Qgb2YgdGhpbmdz IHRoYXQgYXJlbid0IGRvY3VtZW50ZWQgaW4gdGhlIEhvd3RvIGd1aQ0KZGVzLg0KPiBNb3N0 IG9mIHRoZXNlIGhhdmUgc2hvd24gdXAgYXMgcXVlc3Rpb25zIGFza2VkIG9uIHRoZSB1c2Vy IGxpc3QgdGhhdCBhDQpyZQ0KPiBhbnN3ZXJlZCBieSBvbmUgb2YgdGhlIFR1cmJpbmUgY29t bWl0dGVycy4gIEEgbG90IG9mIHBhdHRlcm5zIGFyZSBpbiB0DQpoZQ0KPiBzYW1wbGUgY29k ZSBvciBTY2FyYWIgZnJvbSBUaWdyaXMuDQo+IA0KPiBJIGhhdmVuJ3Qgc2VlbiBhIHJlYWwg IlR1cmJpbmUgQmVzdCBQcmFjdGljZXMiIGxpc3QuICBXb3VsZCB0aGlzIGJlIG9mDQogYW55 DQo+IGludGVyZXN0IHRvIGFueW9uZT8gSSB3b3VsZCB0cnkgYW5kIGNvbXBpbGUgaXQgZnJv bSB0aGUgdXNlciBtYWlsaW5nIGwNCmlzdCwNCj4gYW5kIHRoZW4gcHVibGlzaCBpdCBoZXJl IGZvciBjb21tZW50cy4gIEl0IHdvdWxkIGJlIGEgbGl0dGxlIGRpZmZlcmVudA0KIGZyb20N Cj4gYW4gRkFRLCBJJ2QgY29uY2VudHJhdGUgb24gbWV0aG9kb2xvZ3kgYW5kIHBhdHRlcm5z Lg0KPiANCj4gVGhhbmtzLA0KPiBKZWZmDQo+IA0KPiANCj4gLS0NCj4gVG8gdW5zdWJzY3Jp YmUsIGUtbWFpbDogICA8bWFpbHRvOnR1cmJpbmUtdXNlci0NCnVuc3Vic2NyaWJlQGpha2Fy dGEuYXBhY2hlLm9yZz4NCj4gRm9yIGFkZGl0aW9uYWwgY29tbWFuZHMsIGUtbWFpbDogPG1h aWx0bzp0dXJiaW5lLXVzZXItDQpoZWxwQGpha2FydGEuYXBhY2hlLm9yZz4NCj4gDQo+IA== From turbine-user-returndhernandez@example.net Sat Dec 01 15:37:37 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 88251 invoked from network); 1 Dec 2001 15:37:37 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2001 15:37:37 -0000 Received: (qmail 3635 invoked by uid 97); 1 Dec 2001 15:37:35 -0000 Delivered-To: dhernandez@example.net Received: (qmail 3617 invoked by uid 97); 1 Dec 2001 15:37:34 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 3606 invoked from network); 1 Dec 2001 15:37:34 -0000 Message-ID: <001501c17a7d$96bc2d60$0a00a8c0@ibmbn124d1> From: "KLTse" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <dhernandez@example.net> Subject: Turbine connection Linux Sybase Date: Sat, 1 Dec 2001 23:33:54 +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 5.00.2919.6700 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 Have anyone made successful connection from Turbine to sybase on Linux ? It will be very helpful if you can give version of jdk is to be used and sittings in build.propertyies. Any help is very appreciated. Best regards, KL Tse _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sat Dec 01 17:40:45 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 18761 invoked from network); 1 Dec 2001 17:40:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2001 17:40:45 -0000 Received: (qmail 23782 invoked by uid 97); 1 Dec 2001 17:40:44 -0000 Delivered-To: dhernandez@example.net Received: (qmail 23766 invoked by uid 97); 1 Dec 2001 17:40:43 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 23755 invoked from network); 1 Dec 2001 17:40:43 -0000 Message-ID: <016801c17a8f$4b7d9d40$0401a8c0@bryant> From: "Warner Onstine" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net>, <dhernandez@example.net> References: <dhernandez@example.net> <{{EMAIL+PHONE}}> <dhernandez@example.net> Subject: Re: AccessCrontolList is abstract in 2.2b Date: Sat, 1 Dec 2001 10:40:29 -0700 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.00.2919.6700 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 ----- Original Message ----- From: "Henning P. Schmiedehausen" <dhernandez@example.net> Newsgroups: hometree.jakarta.turbine.users To: <dhernandez@example.net> Sent: Monday, November 19, 2001 2:04 AM Subject: Re: AccessCrontolList is abstract in 2.2b > Sven Homburg <dhernandez@example.net> writes: > > >Guten Tag Henning P. Schmiedehausen, > > Moin, > > >HPS> Sure. I use the TDK all the time and it works fine. > >HPS> The solution is pretty simple. You must recompile your application if > >HPS> it was compiled against the non-Interface version. Your application > >HPS> .jar (or .class) files still have references to the methods inside > >HPS> AccessControlList which is now an interface and no longer contains > >but here i cant say "yes". > >i recompile both; first the HEAD-repos and than my application. > >i check my CLASSPATH and re-start catalina. > >but the same error occures. > > ok, I did the following thing: > > - downloaded the fresh TDK 2.1 from jakarta.apache.org, unpacked it > - ant init inside to create the newapp > - initialized the newapp using the supplied turbine-2.1.jar > - replaced the turbine-2.1.jar with a freshly checked out > jar from the anon-CVS (in both share/lib and webapps/newapp/WEB-INF/lib) > - ant clean (important!) > - replaced "TableMap.NONE" with "TableMap.NATIVE" in > webapps/newapp/WEB-INF/src/java/org/mycompany/newapp/om/map/RdfMapBuilder.ja va :-) > - rebuilt the newapp > - started catalina > > this works fine for me. I can log on, use the User Data Manager and > everything else. No errors. > > Are you really sure that you _do_ rebuild your app against the 2.2b1 > turbine jar? Do you build and deploy in different environments and > replaced maybe only one of the jars? > > I know of the incompatible class change problem but there is really no > way around recompiling if you change a class into an interface and an > implementation (which should be in much more places inside Turbine). > > >if i call the Pull-Tool $data.getACL().hasRole("turbine_role") > >it returns null, after the second call in this session it returns > >true. > > >but if i call it from the FluxAction-methode "isAuthorized(RunData data)" > >there is the IncompatibleClassChangeError-Exception again > >(i recompiled the source from Flux too) > > Can you please give me the complete stack trace. > > Regards > Henning I am having the exact same problem, I am building against and deploying against turbine-2.2b1.jar. I have copied the flux sources into my build path and use those for deploying flux. Here is my stack trace: [Sat Dec 01 10:35:35 MST 2001] -- ERROR -- Turbine.handleException: null [Sat Dec 01 10:35:35 MST 2001] -- ERROR -- Exception: java.lang.IncompatibleClassChangeError Stack Trace follows: dhernandez@example.net(FluxScreen.j ava:141) at org.apache.turbine.flux.modules.screens.FluxScreen.doBuildTemplate(FluxScree n.java:117) at org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.jav a:129) at org.apache.turbine.modules.Screen.build(Screen.java:99) at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) at org.apache.turbine.modules.layouts.VelocityECSLayout.doBuild(VelocityECSLayo ut.java:102) at org.apache.turbine.modules.Layout.build(Layout.java:91) at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:166) 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:565) at javax.servlet.http.HttpServlet.service(HttpServlet.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java) 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.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: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(Thread.java:496) ---------------------- Hope this helps. -warner > -- > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer > INTERMETA - Gesellschaft fuer Mehrwertdienste mbH dhernandez@example.net > > Am Schwabachgrund 22 Fon.: 09131 / 50654-0 dhernandez@example.net > D-91054 Buckenhof Fax.: 09131 / 50654-20 > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> > -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sat Dec 01 18:09:17 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 26806 invoked from network); 1 Dec 2001 18:09:16 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Dec 2001 18:09:16 -0000 Received: (qmail 5411 invoked by uid 97); 1 Dec 2001 18:09:13 -0000 Delivered-To: dhernandez@example.net Received: (qmail 5379 invoked by uid 97); 1 Dec 2001 18:09:12 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 5362 invoked from network); 1 Dec 2001 18:09:12 -0000 Message-ID: <017a01c17a93$470a40c0$0401a8c0@bryant> From: "Warner Onstine" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <dhernandez@example.net> <{{EMAIL+PHONE}}> <dhernandez@example.net> <016801c17a8f$4b7d9d40$0401a8c0@bryant> Subject: Re: AccessCrontolList is abstract in 2.2b Date: Sat, 1 Dec 2001 11:09:10 -0700 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.00.2919.6700 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 Finally fixed this particular problem, here are the steps: Check out turbine-flux with 2.1 tag Place turbine-2.2b1.jar in your lib.repo directory Change turbine-flux build.properties to use the right turbine jar Build jar Placing this jar in the web-inf/lib directory now works! Yeah! -warner ----- Original Message ----- From: "Warner Onstine" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net>; <dhernandez@example.net> Sent: Saturday, December 01, 2001 10:40 AM Subject: Re: AccessCrontolList is abstract in 2.2b > > ----- Original Message ----- > From: "Henning P. Schmiedehausen" <dhernandez@example.net> > Newsgroups: hometree.jakarta.turbine.users > To: <dhernandez@example.net> > Sent: Monday, November 19, 2001 2:04 AM > Subject: Re: AccessCrontolList is abstract in 2.2b > > > > Sven Homburg <dhernandez@example.net> writes: > > > > >Guten Tag Henning P. Schmiedehausen, > > > > Moin, > > > > >HPS> Sure. I use the TDK all the time and it works fine. > > >HPS> The solution is pretty simple. You must recompile your application > if > > >HPS> it was compiled against the non-Interface version. Your application > > >HPS> .jar (or .class) files still have references to the methods inside > > >HPS> AccessControlList which is now an interface and no longer contains > > >but here i cant say "yes". > > >i recompile both; first the HEAD-repos and than my application. > > >i check my CLASSPATH and re-start catalina. > > >but the same error occures. > > > > ok, I did the following thing: > > > > - downloaded the fresh TDK 2.1 from jakarta.apache.org, unpacked it > > - ant init inside to create the newapp > > - initialized the newapp using the supplied turbine-2.1.jar > > - replaced the turbine-2.1.jar with a freshly checked out > > jar from the anon-CVS (in both share/lib and webapps/newapp/WEB-INF/lib) > > - ant clean (important!) > > - replaced "TableMap.NONE" with "TableMap.NATIVE" in > > > webapps/newapp/WEB-INF/src/java/org/mycompany/newapp/om/map/RdfMapBuilder.ja > va :-) > > - rebuilt the newapp > > - started catalina > > > > this works fine for me. I can log on, use the User Data Manager and > > everything else. No errors. > > > > Are you really sure that you _do_ rebuild your app against the 2.2b1 > > turbine jar? Do you build and deploy in different environments and > > replaced maybe only one of the jars? > > > > I know of the incompatible class change problem but there is really no > > way around recompiling if you change a class into an interface and an > > implementation (which should be in much more places inside Turbine). > > > > >if i call the Pull-Tool $data.getACL().hasRole("turbine_role") > > >it returns null, after the second call in this session it returns > > >true. > > > > >but if i call it from the FluxAction-methode "isAuthorized(RunData data)" > > >there is the IncompatibleClassChangeError-Exception again > > >(i recompiled the source from Flux too) > > > > Can you please give me the complete stack trace. > > > > Regards > > Henning > > I am having the exact same problem, I am building against and deploying > against turbine-2.2b1.jar. I have copied the flux sources into my build path > and use those for deploying flux. > > Here is my stack trace: > [Sat Dec 01 10:35:35 MST 2001] -- ERROR -- Turbine.handleException: null > [Sat Dec 01 10:35:35 MST 2001] -- ERROR -- > Exception: java.lang.IncompatibleClassChangeError > Stack Trace follows: > java.lang.IncompatibleClassChangeError > at > org.apache.turbine.flux.modules.screens.FluxScreen.isAuthorized(FluxScreen.j > ava:141) > at > org.apache.turbine.flux.modules.screens.FluxScreen.doBuildTemplate(FluxScree > n.java:117) > at > org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.jav > a:129) > at org.apache.turbine.modules.Screen.build(Screen.java:99) > at org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) > at > org.apache.turbine.modules.layouts.VelocityECSLayout.doBuild(VelocityECSLayo > ut.java:102) > at org.apache.turbine.modules.Layout.build(Layout.java:91) > at org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) > at > org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:166) > 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:565) > at javax.servlet.http.HttpServlet.service(HttpServlet.java) > at javax.servlet.http.HttpServlet.service(HttpServlet.java) > 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.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: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(Thread.java:496) > > > ---------------------- > Hope this helps. > > -warner > > > > -- > > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer > > INTERMETA - Gesellschaft fuer Mehrwertdienste mbH dhernandez@example.net > > > > Am Schwabachgrund 22 Fon.: 09131 / 50654-0 dhernandez@example.net > > D-91054 Buckenhof Fax.: 09131 / 50654-20 > > > > -- > > To unsubscribe, e-mail: > <mailto:dhernandez@example.net> > > For additional commands, e-mail: > <mailto:dhernandez@example.net> > > > > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> > -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 01:46:49 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 41726 invoked from network); 2 Dec 2001 01:46:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 01:46:49 -0000 Received: (qmail 24030 invoked by uid 97); 2 Dec 2001 01:46:54 -0000 Delivered-To: dhernandez@example.net Received: (qmail 24012 invoked by uid 97); 2 Dec 2001 01:46:54 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 24001 invoked from network); 2 Dec 2001 01:46:53 -0000 Sender: jmcnally Message-ID: <dhernandez@example.net> Date: Sat, 01 Dec 2001 17:44:05 -0800 From: John McNally <dhernandez@example.net> X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: Turbine Users List <dhernandez@example.net> Subject: Re: Question about OM classes References: <00c501c1794b$cc8ac880$12012a0a@ataru> <dhernandez@example.net> <00ea01c17a17$e1a3a800$12012a0a@ataru> 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 way i consider it the two classes make up one object. Not perfect oo design, but if you think of BaseFoo.java as just a place to store methods available for use in Foo.class, maybe it is more tolerable? john mcnally Robert Jenks wrote: > > > The BaseFoo and Foo classes are designed so that they both have to be > > present. The BaseFoo class is contains code that can be regenerated and > > any modifications should be made to Foo. One case for referencing Foo > > in BaseFoo is when instantiating a new Foo as happens in the copy > > method. BaseFoo is abstract as there should not be any instances of > > BaseFoo. > > > > If you want to create a separate package, just extend from Foo in the > > new package. Though I do not see the reason for doing so. > > > > john mcnally > > I'm not actually going to extend it in another package, just in another > directory tree so that my auto-generated Java classes are kept separate from > my editable classes. It just seems like a violation of OO principals for a > base class to depend on it's sub class, that's all. Typically if a base > class needs to manipulate sub-classes it does so using factory methods and > not direct references. Again, I'm not suggesting that this is horribly > evil, just that it seems odd and maybe isn't necessary. > > -Robert > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 01:57:33 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 44362 invoked from network); 2 Dec 2001 01:57:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 01:57:33 -0000 Received: (qmail 26841 invoked by uid 97); 2 Dec 2001 01:57:39 -0000 Delivered-To: dhernandez@example.net Received: (qmail 26811 invoked by uid 97); 2 Dec 2001 01:57:38 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 26800 invoked from network); 2 Dec 2001 01:57:37 -0000 X-Sent: 2 Dec 2001 01:57:36 GMT Message-ID: <01c501c17ad4$62dd4bd0$9d00a8c0@pedwsdb> From: "Dan Bachelder" <dhernandez@example.net> To: <dhernandez@example.net> Subject: peers key problem Date: Sat, 1 Dec 2001 20:55:14 -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 have the following code... after the save (which is successful) I cannot get back the key (which I know was made and used because I see it in the DB) the same results if the primary key method is idbroker or auto_increment in the Map file... I am using mysql.. data.getParameters().setProperties(project); project.setStatus("ACTIVE"); project.setOwnerId(( ( LawUser )data.getUser() ).getUserId()); project.setCreateStamp(new Date(System.currentTimeMillis())); project.setNew(true); project.save() project.getProjectId(); // primary key... always null after save... I have similar code in other places that seems to work just fine... -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 02:02:08 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 45124 invoked from network); 2 Dec 2001 02:02:08 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 02:02:08 -0000 Received: (qmail 27993 invoked by uid 97); 2 Dec 2001 02:02:13 -0000 Delivered-To: dhernandez@example.net Received: (qmail 27965 invoked by uid 97); 2 Dec 2001 02:02:13 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 27953 invoked from network); 2 Dec 2001 02:02:12 -0000 Message-ID: <021001c17ad5$56d7f1e0$0100a8c0@shaggy> From: "Scott Eade" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <01c501c17ad4$62dd4bd0$9d00a8c0@pedwsdb> Subject: Re: peers key problem Date: Sun, 2 Dec 2001 13:02:04 +1100 Organization: Backstage Technologies Pty. Ltd. 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.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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: "Dan Bachelder" <dhernandez@example.net> > I have the following code... after the save (which is successful) I cannot > get back the key (which I know was made and used because I see it in the DB) > the same results if the primary key method is idbroker or auto_increment in > the Map file... I am using mysql.. > > data.getParameters().setProperties(project); > project.setStatus("ACTIVE"); > project.setOwnerId(( ( > LawUser )data.getUser() ).getUserId()); > project.setCreateStamp(new > Date(System.currentTimeMillis())); > project.setNew(true); > project.save() > > project.getProjectId(); // primary key... always null > after save... > > I have similar code in other places that seems to work just fine... > Dan, Have you tried: project.getPrimaryKey(); Cheers, Scott -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 02:13:40 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 47669 invoked from network); 2 Dec 2001 02:13:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 02:13:40 -0000 Received: (qmail 29838 invoked by uid 97); 2 Dec 2001 02:13:46 -0000 Delivered-To: dhernandez@example.net Received: (qmail 29822 invoked by uid 97); 2 Dec 2001 02:13:45 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 29811 invoked from network); 2 Dec 2001 02:13:44 -0000 X-Sent: 2 Dec 2001 02:13:42 GMT Message-ID: <01d301c17ad6$a2c209a0$9d00a8c0@pedwsdb> From: "Dan Bachelder" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <01c501c17ad4$62dd4bd0$9d00a8c0@pedwsdb> <021001c17ad5$56d7f1e0$0100a8c0@shaggy> Subject: Re: peers key problem Date: Sat, 1 Dec 2001 21:11:20 -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 yes.. I just confirmed it... primary key in DB = 18 getPrimaryKey() == null getProjectId() == null I also tried ProjectPeer.doInsert(project); same thing... ----- Original Message ----- From: "Scott Eade" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> Sent: Saturday, December 01, 2001 9:02 PM Subject: Re: peers key problem > ----- Original Message ----- > From: "Dan Bachelder" <dhernandez@example.net> > > I have the following code... after the save (which is successful) I cannot > > get back the key (which I know was made and used because I see it in the > DB) > > the same results if the primary key method is idbroker or auto_increment > in > > the Map file... I am using mysql.. > > > > data.getParameters().setProperties(project); > > project.setStatus("ACTIVE"); > > project.setOwnerId(( ( > > LawUser )data.getUser() ).getUserId()); > > project.setCreateStamp(new > > Date(System.currentTimeMillis())); > > project.setNew(true); > > project.save() > > > > project.getProjectId(); // primary key... always null > > after save... > > > > I have similar code in other places that seems to work just fine... > > > > Dan, > > Have you tried: > project.getPrimaryKey(); > > Cheers, > > Scott > > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> > > -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 03:15:35 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 61161 invoked from network); 2 Dec 2001 03:15:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 03:15:34 -0000 Received: (qmail 12177 invoked by uid 97); 2 Dec 2001 03:15:40 -0000 Delivered-To: dhernandez@example.net Received: (qmail 12113 invoked by uid 97); 2 Dec 2001 03:15:39 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 12102 invoked from network); 2 Dec 2001 03:15:39 -0000 X-Sent: 2 Dec 2001 03:15:38 GMT Message-ID: <01e601c17adf$49a4fe50$9d00a8c0@pedwsdb> From: "Dan Bachelder" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <01c501c17ad4$62dd4bd0$9d00a8c0@pedwsdb> <021001c17ad5$56d7f1e0$0100a8c0@shaggy> <01d301c17ad6$a2c209a0$9d00a8c0@pedwsdb> Subject: Re: peers key problem Date: Sat, 1 Dec 2001 22:13:16 -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 wonderful... I regenerated my OM and now it works.. sorry for the noise.. ----- Original Message ----- From: "Dan Bachelder" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> Sent: Saturday, December 01, 2001 9:11 PM Subject: Re: peers key problem > yes.. I just confirmed it... > > primary key in DB = 18 > > getPrimaryKey() == null > getProjectId() == null > > I also tried ProjectPeer.doInsert(project); > > same thing... > > > > ----- Original Message ----- > From: "Scott Eade" <dhernandez@example.net> > To: "Turbine Users List" <dhernandez@example.net> > Sent: Saturday, December 01, 2001 9:02 PM > Subject: Re: peers key problem > > > > ----- Original Message ----- > > From: "Dan Bachelder" <dhernandez@example.net> > > > I have the following code... after the save (which is successful) I > cannot > > > get back the key (which I know was made and used because I see it in the > > DB) > > > the same results if the primary key method is idbroker or auto_increment > > in > > > the Map file... I am using mysql.. > > > > > > data.getParameters().setProperties(project); > > > project.setStatus("ACTIVE"); > > > project.setOwnerId(( ( > > > LawUser )data.getUser() ).getUserId()); > > > project.setCreateStamp(new > > > Date(System.currentTimeMillis())); > > > project.setNew(true); > > > project.save() > > > > > > project.getProjectId(); // primary key... always > null > > > after save... > > > > > > I have similar code in other places that seems to work just fine... > > > > > > > Dan, > > > > Have you tried: > > project.getPrimaryKey(); > > > > Cheers, > > > > Scott > > > > > > -- > > To unsubscribe, e-mail: > <mailto:dhernandez@example.net> > > For additional commands, e-mail: > <mailto:dhernandez@example.net> > > > > > > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> > > -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 04:10:05 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 71543 invoked from network); 2 Dec 2001 04:10:05 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 04:10:05 -0000 Received: (qmail 20441 invoked by uid 97); 2 Dec 2001 04:10:11 -0000 Delivered-To: dhernandez@example.net Received: (qmail 20396 invoked by uid 97); 2 Dec 2001 04:10:10 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 20385 invoked from network); 2 Dec 2001 04:10:10 -0000 Message-ID: <dhernandez@example.net> From: "Brekke, Jeff" <dhernandez@example.net> To: 'KLTse ' <dhernandez@example.net>, 'Turbine Users List ' <dhernandez@example.net> Subject: RE: Turbine connection Linux Sybase Date: Sat, 1 Dec 2001 22:09:55 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) List-Subscribe: <mailto:dhernandez@example.net> 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 Yes, we are using Sybase with Turbine no prob. Latest jvm 1.3.1_01 from sun on linux with jconnect ( 4 and 5 both work ). Not really sure what you want to see in build properties. Just set the database to Sybase and put in the correct jdbc urls for the driver and your set. Note: the db creation scripts in 2.1 for sybase don't work, you'll need to create the db your self. -----Original Message----- From: KLTse To: Turbine Users List Sent: 12/1/01 9:33 AM Subject: Turbine connection Linux Sybase Have anyone made successful connection from Turbine to sybase on Linux ? It will be very helpful if you can give version of jdk is to be used and sittings in build.propertyies. Any help is very appreciated. Best regards, KL Tse _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 09:54:22 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 38437 invoked from network); 2 Dec 2001 09:54:22 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 09:54:22 -0000 Received: (qmail 4937 invoked by uid 97); 2 Dec 2001 09:54:31 -0000 Delivered-To: dhernandez@example.net Received: (qmail 4908 invoked by uid 97); 2 Dec 2001 09:54:30 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 4897 invoked from network); 2 Dec 2001 09:54:29 -0000 Message-ID: <006301c17b16$d3e0b320$0a00a8c0@ibmbn124d1> From: "KLTse" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <dhernandez@example.net> Subject: Re: Turbine connection Linux Sybase Date: Sun, 2 Dec 2001 17:50:50 +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 5.00.2919.6700 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 Dear Jeff, Thanks for your reply. My initial installation of TDK 2.1 uses mySql and want to switch to Sybase on Linux, but not sucessful because of Segmentation fault. I use jvm 1.3.1_01 and jconnect 5.5. Also I want to know the settings of the section in build properties. When I use mySql the settings are : databaseUrl = jdbc:mysql://www.sitename.com/portal databaseDriver = org.gjt.mm.mysql.Driver databaseUser = root databasePassword = 123 databaseHost = www.sitename.com It should be very helpful if you can give me the details of the above section and the version number of jconnect. Also I am running a Linux 6.2 server. Best regards, KL Tse ----- Original Message ----- From: "Brekke, Jeff" <dhernandez@example.net> To: "'KLTse '" <dhernandez@example.net>; "'Turbine Users List '" <dhernandez@example.net> Sent: Sunday, December 02, 2001 12:09 PM Subject: RE: Turbine connection Linux Sybase > > Yes, we are using Sybase with Turbine no prob. Latest jvm 1.3.1_01 from sun > on linux with jconnect ( 4 and 5 both work ). Not really sure what you want > to see in build properties. Just set the database to Sybase and put in the > correct jdbc urls for the driver and your set. > > Note: the db creation scripts in 2.1 for sybase don't work, you'll need to > create the db your self. > > -----Original Message----- > From: KLTse > To: Turbine Users List > Sent: 12/1/01 9:33 AM > Subject: Turbine connection Linux Sybase > > Have anyone made successful connection from Turbine to sybase on Linux ? > It > will be very helpful if you can give version of jdk is to be used and > sittings in build.propertyies. > Any help is very appreciated. > Best regards, > KL Tse > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > -- > To unsubscribe, e-mail: > <mailto:dhernandez@example.net> > For additional commands, e-mail: > <mailto:dhernandez@example.net> > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Sun Dec 02 13:12:14 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 87132 invoked from network); 2 Dec 2001 13:12:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Dec 2001 13:12:14 -0000 Received: (qmail 11500 invoked by uid 97); 2 Dec 2001 13:12:11 -0000 Delivered-To: dhernandez@example.net Received: (qmail 11484 invoked by uid 97); 2 Dec 2001 13:12:11 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 11473 invoked from network); 2 Dec 2001 13:12:10 -0000 Message-ID: <015c01c17b32$f1381410$0100a8c0@shaggy> From: "Scott Eade" <dhernandez@example.net> To: <dhernandez@example.net> Subject: Listing who is currently logged on to a turbine site? Date: Mon, 3 Dec 2001 00:12:01 +1100 Organization: Backstage Technologies Pty. Ltd. 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.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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, Is it possible to obtain a list of the users who currently have valid sessions on a turbine site? I am adding functionality to my site to toggle between allowing and disallowing logins and the next logical step seems to be checking who is still logged on after I disallow logins. Thanks, Scott -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Mon Dec 03 05:52:34 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 52453 invoked from network); 3 Dec 2001 05:52:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2001 05:52:34 -0000 Received: (qmail 14311 invoked by uid 97); 3 Dec 2001 05:52:41 -0000 Delivered-To: dhernandez@example.net Received: (qmail 14248 invoked by uid 97); 3 Dec 2001 05:52:39 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 14237 invoked from network); 3 Dec 2001 05:52:39 -0000 Message-ID: <dhernandez@example.net> Reply-To: "Kelvin Tan" <dhernandez@example.net> From: "Kelvin Tan" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <015c01c17b32$f1381410$0100a8c0@shaggy> Subject: Status of Fulcrum Date: Mon, 3 Dec 2001 13:53:54 +0800 Organization: Relevanz Pte Ltd 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 (787)315-1865 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N What's the current status of the Fulcrum package? Looking at NOTES in Fulcrum, I understand that Fulcrum is essentially Turbine-3's service package, extracted from Turbine-3 so it can (eventually) function as a stand-alone services framework. Is the current Fulcrum codebase evolving independent of Turbine-3, or is Fulcrum synonomous with Turbine 3 at this stage? Thanks Kelvin -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Mon Dec 03 06:24:46 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 60638 invoked from network); 3 Dec 2001 06:24:45 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2001 06:24:45 -0000 Received: (qmail 19709 invoked by uid 97); 3 Dec 2001 06:24:53 -0000 Delivered-To: dhernandez@example.net Received: (qmail 19662 invoked by uid 97); 3 Dec 2001 06:24:52 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 19651 invoked from network); 3 Dec 2001 06:24:52 -0000 User-Agent: Microsoft-Entourage/9.0.2509 Date: Mon, 03 Dec 2001 01:24:45 -0500 Subject: Re: Status of Fulcrum From: Jason van Zyl <dhernandez@example.net> To: Turbine Users List <dhernandez@example.net> Message-ID: <dhernandez@example.net> In-Reply-To: <dhernandez@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 On 12/3/01 12:53 AM, "Kelvin Tan" <dhernandez@example.net> wrote: > What's the current status of the Fulcrum package? The services have been changing, most notably Intake and the Localization service as these are used by the dhernandez@example.net. But the core hasn't changed much since it was decoupled from Turbine. If you look at what going on with Torque and the testbed you'll see what Fulcrum will be like. Fulcrum is a pain in the ass to build, I am trying to remedy that as we speak with the graph package in the commons, some jjar code and the project descriptors in alexandria (gump proposal). > Looking at NOTES in Fulcrum, I understand that Fulcrum is essentially > Turbine-3's service package, extracted from Turbine-3 so it can (eventually) > function as a stand-alone services framework. It will work by itself if you know what you're doing but it's not meant to be used by itself. It can work alone but it really only workable solution right now is having turbine-3 start it up. > Is the current Fulcrum > codebase evolving independent of Turbine-3, or is Fulcrum synonomous with > Turbine 3 at this stage? It is evolving separately. There's might be a spot or two that have been missed but it has been decoupled from Turbine though some of the code still have "Turbine" in the name as not to break services in applications like Scarab that are using turbine-3 > Thanks > > Kelvin > > > > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> -- jvz. Jason van Zyl http://tambora.zenplex.org http://jakarta.apache.org/turbine http://jakarta.apache.org/velocity http://jakarta.apache.org/alexandria http://jakarta.apache.org/commons -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Mon Dec 03 07:18:59 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 74845 invoked from network); 3 Dec 2001 07:18:59 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2001 07:18:59 -0000 Received: (qmail 11457 invoked by uid 97); 3 Dec 2001 07:19:07 -0000 Delivered-To: dhernandez@example.net Received: (qmail 11441 invoked by uid 97); 3 Dec 2001 07:19:06 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 11430 invoked from network); 3 Dec 2001 07:19:06 -0000 Message-ID: <dhernandez@example.net> Reply-To: "Kelvin Tan" <dhernandez@example.net> From: "Kelvin Tan" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <dhernandez@example.net> Subject: Re: Status of Fulcrum Date: Mon, 3 Dec 2001 15:20:26 +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 (787)315-1865 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N [snip] > > What's the current status of the Fulcrum package? > > The services have been changing, most notably Intake and the Localization > service as these are used by the dhernandez@example.net. But the core hasn't > changed much since it was decoupled from Turbine. > > If you look at what going on with Torque and the testbed you'll see what > Fulcrum will be like. Fulcrum is a pain in the ass to build, I am trying to > remedy that as we speak with the graph package in the commons, some jjar > code and the project descriptors in alexandria (gump proposal). > > > Looking at NOTES in Fulcrum, I understand that Fulcrum is essentially > > Turbine-3's service package, extracted from Turbine-3 so it can (eventually) > > function as a stand-alone services framework. > > It will work by itself if you know what you're doing but it's not meant to > be used by itself. It can work alone but it really only workable solution > right now is having turbine-3 start it up. What I actually really like about Fulcrum (or the Turbine services framework) is really the design of it, ie interfaces and base implementations (basically everything in src/core minus TurbineServices, though it serves as an excellent reference implementation). I suppose this is what you say hasn't experienced much change since Turbine. I may be simplifying things, but if I wanted to use this core as a stand-alone (plugging in my own implementations), would it be simply looking at how Turbine.init() works and basically mimicking the service initialization? > > > Is the current Fulcrum > > codebase evolving independent of Turbine-3, or is Fulcrum synonomous with > > Turbine 3 at this stage? > > It is evolving separately. There's might be a spot or two that have been > missed but it has been decoupled from Turbine though some of the code still > have "Turbine" in the name as not to break services in applications like > Scarab that are using turbine-3 Sure. Is the eventual goal to produce a stand-alone services framework though? Kelvin -- To unsubscribe, e-mail: <mailto:dhernandez@example.net> For additional commands, e-mail: <mailto:dhernandez@example.net> From turbine-user-returndhernandez@example.net Mon Dec 03 07:56:52 2001 Return-Path: <turbine-user-returndhernandez@example.net> Delivered-To: dhernandez@example.net Received: (qmail 83029 invoked from network); 3 Dec 2001 07:56:52 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Dec 2001 07:56:52 -0000 Received: (qmail 1139 invoked by uid 97); 3 Dec 2001 07:56:59 -0000 Delivered-To: dhernandez@example.net Received: (qmail 1123 invoked by uid 97); 3 Dec 2001 07:56:59 -0000 Mailing-List: contact dhernandez@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:dhernandez@example.net> List-Subscribe: <mailto:dhernandez@example.net> List-Help: <mailto:dhernandez@example.net> List-Post: <mailto:dhernandez@example.net> List-Id: "Turbine Users List" <turbine-user.jakarta.apache.org> Reply-To: "Turbine Users List" <dhernandez@example.net> Delivered-To: mailing list dhernandez@example.net Received: (qmail 1112 invoked from network); 3 Dec 2001 07:56:58 -0000 Message-ID: <dhernandez@example.net> From: "Costas Stergiou" <dhernandez@example.net> To: "Turbine Users List" <dhernandez@example.net> References: <dhernandez@example.net> <dhernandez@example.net> <dhernandez@example.net> <dhernandez@example.net> Subject: [PLS ANSWER]: Re: TurbinePullService + UIManager synchornization problem (Maybe BUG) ? Date: Mon, 3 Dec 2001 09:56:49 +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.4133.2400 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 Please, any final ideas on this issue? > Actually I am not sure there is a problem (I am just asking > and trying to locate the malfunction I came upon). > > The one question I still don't know the answer: > Where the tool is returned back to the pool? > > > > ----- Original Message ----- > From: "John McNally" <dhernandez@example.net> > To: "Turbine Users List" <dhernandez@example.net> > Sent: Wednesday, November 28, 2001 6:32 PM > Subject: Re: TurbinePullService + UIManager synchornization problem (Maybe > BUG) ? > > > > Once the object is given to a particular request from the pool, that > > object will not be given out again until it is returned. Where exactly > > do you see the problem? I don't see how you can tell that there is a > > problem with the pool code from the code given below. > > > > john mcnally > > > > > > Costas Stergiou wrote: > > > > > > iif you look at the code that populates the context with the request > > > scope tools, it just pools an object from the Pool (doesn't create > > > a new one each time). So, the same instance can be used for more than > > > one http requests. > > > > > > Here is the code from the TurbinePullService.java: > > > > > > /** > > > * Populate the given context with the request-scope tools > > > * > > > * @param context a Velocity Context to populate > > > * @param data a RunData instance > > > */ > > > private void populateWithRequestTools(Context context, RunData data) > > > { > > > // Get the PoolService to fetch object instances from > > > PoolService pool = (PoolService) > > > > > > TurbineServices.getInstance().getService(PoolService.SERVICE_NAME); > > > > > > // Iterate the tools > > > Iterator it = requestTools.iterator(); > > > while (it.hasNext()) > > > { > > > ToolData toolData = (ToolData)it.next(); > > > try > > > { > > > Object tool = pool.getInstance(toolData.toolClass); > > > if (tool instanceof ApplicationTool) > > > { > > > // request tools are init'd with a RunData object > > > ((ApplicationTool)tool).init(data); > > > } > > > // put the tool in the context > > > context.put(toolData.toolName, tool); > > > } > > > catch (Exception e) > > > { > > > Log.error( > > > "Could not instantiate tool " + > > > toolData.toolClassName > > > + " to add to the context",e); > > > } > > > } > > > } > > > > > > The only think that it does is that it init's the tool (with the > appropriate > > > rundata) before > > > adding it to the context. But actually it can be the same object > instance > > > that someone else > > > is using at the same moment! > > > > > > Is that so? > > > That's what I understand from the code above, > > > Please, correct me if I am wrong. > > > Thanks, > > > Costas > > > > > > ----- Original Message ----- > > > From: "Eric Dobbs" <dhernandez@example.net> > > > To: "Turbine Users List" <dhernandez@example.net> > > > Sent: Wednesday, November 28, 2001 5:51 PM > > > Subject: Re: TurbinePullService + UIManager synchornization problem > (Maybe > > > BUG) ? > > > > > > > > > > > On Tuesday, November 27, 2001, at 12:39 AM, Costas Stergiou wrote: > > > > > > > > > Actually, when I mean "thread safe" I didn't mean "Java thread" > > > > > I meant "Request Safe" (actually it is thread safe also) but I don't > > > > > want to synchronize on the request tool of course. > > > > > But on a per-request basis, it is possible that the same instance of > the > > > > > tool is being used at the same time for more than one requests > > > > > (threads); > > > > > since a tool is only being taken from the Pool service and init'ed > but > > > > > there is no check that this tool is not being used by another > thread. > > > > > > > > Here's how I understand it. Someone correct me if I get this wrong. > > > > > > > > If the UIManager is configured to be used in the request scope, then > > > > a new UIManager object will be instantiated with each request (or > > > > pulled from the pool). So you get one UIManager object per request, > > > > and that should fix your problem. > > > > > > > > If it is configured for any other scope (which it is by default) then > > > > multiple requests (and therefore multiple threads) will be accessing > > > > the same instance of the UIManager. In this case, the UIManager needs > > > > to be modified for thread-safety. > > > > > > > > -Eric > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:dhernandez@example.net> > > > > For additional commands, e-mail: > > > <mailto:dhernandez@example.net> > > > > > > > > > > -- > > > To unsubscribe, e-mail: > <mailto:dhernandez@example.net> > > > For additional commands, e-mail: > <mailto:dhernandez@example.net> > > > > -- > > To unsubscribe, e-mail: > <mailto:dhernandez@example.net> > > For additional commands, e-mail: > <mailto:dhernandez@example.net> > > > > > -- > To unsubscribe, e-mail: <mailto:dhernandez@example.net> > For additional commands, e-mail: <mailto:dhernandez@example.net> > -- To
{'source': 'Apache Software Foundation Public Mail Archives'}