Re: Settings for pooled datasources, timeout errors

2001-03-09 Thread Falk Langhammer
Hi From: "Jens Stutte" [EMAIL PROTECTED] no, it is a SAP DB kernel problem. Does it mean this problem exists for R/3 installations - I mean they need a reboot after a couple of million SQL statements? Hard to believe! Do all SAP customers only have toy problems? ;-)) Never used Firebird

Re: Settings for pooled datasources, timeout errors

2001-03-08 Thread Falk Langhammer
Hi Jens, interesting posting! I think You still could get the JDBC source code (since it is open source now and there is a download option for it). Maybe, the bug is in jdbc, not the sapdb itself. Then You could fix it (maybe running a 36h debug session ;-) and post the fix. I mean, isn't it

Re: Calibrating EJB Pooling in Orion

2001-03-08 Thread Falk Langhammer
Hi again, - Original Message - From: Tibor Hegyi Furthermore, despite the overtime Entity instances are removed from the instance pool, the amount of memory does not reduce at all!. Quite strange and bad news (if true) to those of many complaining about memory problems. At least

Re: Calibrating EJB Pooling in Orion

2001-03-08 Thread Falk Langhammer
his/her expreiences I would appreciate very much. Tibor Hegyi Falk -- Dr. Falk Langhammer Living Pages Research GmbH Holzstr. 19 D-80469 Munich, Germany mailto:[EMAIL PROTECTED] http://www.living-pages.de Phone +49 (89) 260 255 32Fax +49 (89) 260 255 35

Re: Orion crashed under load test

2001-03-04 Thread Falk Langhammer
Orion crashed under load testHi Eyal, we've put Orion 1.4.7 here under a 1-cpu stress test (80 concurrent requests of type JSP(1)-EJB(1)-EJB(n)-DB(n)) and it was ok. Win2k and JDK1.3. It reached a throughput of 200 transactions per second (466 MHz Celeron with Firebird/Interbase). Latency then

Re: How to set orion to perform a timely task..

2001-03-03 Thread Falk Langhammer
I think, the most clean approach would be to have a cron job which starts an EJB client every time. Bye, Falk - Original Message - From: [EMAIL PROTECTED] I need to have my EJB perform some DB operation at midnight everyday. How do I do that?

Re: EJB values into xml attributes (a little off topic, I know)

2001-03-02 Thread Falk Langhammer
Hi Randahl, - Original Message - From: "Randahl Fink Isaksen" [EMAIL PROTECTED] XMLEscaper.escape(Book.getPreface()) for all the output you take from your beans and use to generate XML really sounds like a mess to me. While we are at it: If you just *have* to do this conversion, why

JSP set-property bug

2001-03-01 Thread Falk Langhammer
Hi list, I believe that there is a bug in Orion's JSP engine (1.4.5). jsp:setProperty name="webpublish" property="*" / About 6 out of 53 properties are not set. When I set those explicitely as in jsp:setProperty name="webpublish" property="previewCheckBoxState" / everything is ok.

Re: EJB values into xml attributes (a little off topic, I know)

2001-03-01 Thread Falk Langhammer
!DOCTYPE doc [ !ENTITY "amp;" ] I do not think this is legal. (1) Recursive entitity declaration (2) amp; is predefined, is reserved as entity prefix. I do not think that You can redefine the XML grammar by defining "" or "" as entities. In summary, You do not need the DOCTYPE at all. (I

Re: Database schema type mappings

2001-03-01 Thread Falk Langhammer
- Original Message - long millisInMonth = (long)1000 * 60 * 60 * 24 * 30; This should probably go in some sort of Java-puzzle magazine article. :-) I think this is a standard situation in Java and C. Most programmers would probably write it as long millisInMonth = 1000L * 60L * 60L *

Re: Starting threads not permitted in servlet?

2001-03-01 Thread Falk Langhammer
Somebody on this list said that you're not allowed to start threads inside a servlet container. Is this really in the spec (this was claimed), or is it implementation-dependent? I am not sure for the web container. But the situation is even fuzzy for an EJB container. I believe that in Orion,

Re: HELP!!! - Using UserManagers - Logging in users without asking for credentials

2001-02-26 Thread Falk Langhammer
Thanxs for the hint. I could also think of a more portable solution to this problem. If it is just to provide single sign-on, I would, from within the client-servlet, first access any page known to be form-based login-proteced and reply with a post containing j_username and j_password. Store the

Fw: configuring jdbc with oracle...

2001-02-26 Thread Falk Langhammer
I do not know the solution, but three things come to my mind... - Original Message - From: Paul Wilcox Using DataSource ds = (DataSource) ctx.lookup("java:comp/env/jdbc/DefaultDS"); instead of DataSource ds = (DataSource) ctx.lookup("jdbc/DefaultDS"); (or jdbc/DefaultCoreDS)

Re: Win2k Pro. is mess... choosing the right database product

2001-02-25 Thread Falk Langhammer
-sources.xml to include the datasource (cf. my attachment #2 as an example - MODIFY!!) (11) Restart Orion and deploy your application. Hope this gets YOu up and running and saves YOu this weekend ;-) Falk Langhammer - Original Message - From: Vimal Patel To: Orion-Interest Sent: Thursday, August

Re: JAXP

2001-02-24 Thread Falk Langhammer
could help. Your problem seems to be of a general nature. Bye, Falk -- Dr. Falk Langhammer Living Pages Research GmbH Holzstr. 19 D-80469 Munich, Germany mailto:[EMAIL PROTECTED] http://www.living-pages.de Phone +49 (89) 260 255 32Fax +49 (89) 260 255 35 Mobil +49

Configuring security for EJB - what's my error?

2001-02-23 Thread Falk Langhammer
ample code, not on orionserver or orionsupport or the security-primer. Thanks, Falk -- Dr. Falk Langhammer Living Pages Research GmbH Holzstr. 19 D-80469 Munich, Germany mailto:[EMAIL PROTECTED] http://www.living-pages.de Phone +49 (89) 260 255 32Fax +49 (89) 26

Re: Configuring security for EJB - what's my error?

2001-02-23 Thread Falk Langhammer
Falk Langhammer wrote: This should mean that 'falk' is logged in and is in role 'master' and I have verified that 'request.isUserInRole("master")==true' in the web-tier. There must be a problem in the EJB container. BTW I meanwhile found a posting: From: Peter Delahunty Subje

Re: Configuring security for EJB - what's my error?

2001-02-23 Thread Falk Langhammer
Falk Langhammer schrieb: This posting states that more than one role accessing a method cannot be configured. This INHO would be a severe bug and would render the J2EE security model close to useless with Orion. Peter posted a workaround to bugzilla as bug#193. I verified that this solves