Re: [JBoss-user] JBOSS passivate, statefulsession bug!!??

2002-11-22 Thread Lennart Petersson
Look carefully in you stateful sessionbean for any non-serializable field. If you want them there you have to declare them transient and they will not be passivated which also means that they will loose their data when passivating. /Lennart fredagen den 22 november 2002 kl 08.26 skrev MA JIAN:

Re: [JBoss-user] JBOSS passivate, statefulsession bug!!??

2002-11-22 Thread Azfar Kazmi
is bo.manager.ResourceMgr declared within your bean? looks like it does not implement java.io.Serializable interface. exception is coming from ObjectOutputStream.writeObject() upon passivation. implement the interface and it should go away. -- azfar - Original Message - From: MA JIAN

[JBoss-user] Encryption of configuration files

2002-11-22 Thread kris . kristensen
Hi, I have an issue regarding the configuration files (specially jboss.jcml) used with JBoss 2.4.6. The problem is configuration of the pools to the databases, where the usernames and passwords are written in human readable text. Our customers are not particularly happy about this. Do any of

[JBoss-user] secure web context with jetty.

2002-11-22 Thread Stefan Groschupf
Hi, I'm really sorry for the stupid question, but can someone point me to a resource where I can read how to secure a web context? The entries in my web.xml are well and working fine, but where to define the user name, password and roles ? In Tomcat I use the tomcat-users.xml, where is such a file

[JBoss-user] addit

2002-11-22 Thread Michael
__ML LICQ#:148093899 Current ICQ status: + More ways to contact me __ online?icq=148093899img=21 Description: Binary data

[JBoss-user] 2.4.10 with jetty 4.2.1: CNFE fororg.apache.jasper.servlet.JspServlet

2002-11-22 Thread Lacoste (Frisurf)
On Wed, 2002-11-20 at 14:39, Jules Gosnell wrote: Excellent. Please keep me informed of any problems. Here it goes: I managed to deploy our application 10 minutes ago, and until now it has been running OK. I had one problem to solve: Upon deployment of EAR files, (containing JSPs), JBoss

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Stephen Coy
G'Day, After removing the clear hotspot, it's getting harder to find the other bottlenecks. We do spend a lot of time calling HashMap.get though. As far as the Finders are concerned, I suspect that the issue may be in the ReadAheadCache code. It has quite a few nested loops that get called while

[JBoss-user] Re: 2.4.10 with jetty 4.2.1: CNFE for org.apache.jasper.servlet.JspServlet

2002-11-22 Thread Jules Gosnell
I think that jasper should still be in the Jetty distro, but it has split into two jars and maybe changed location. It may need referencing from the ?jetty-plugin.xml?. I can't remember how it works offhand. I'll have a look over the weekend if you have not worked it out. Cheers, Jules

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Christian Riege
hi stepehn et. al, As far as the Finders are concerned, I suspect that the issue may be in the ReadAheadCache code. yeah ReadAheadCache is currently the HotSpot. I think Dain did some optimizations for that in 3.2 which haven't made it into 3.0 just yet? if you port the fix that you applied to

[JBoss-user] Re: 2.4.10 with jetty 4.2.1: CNFEfor org.apache.jasper.servlet.JspServlet

2002-11-22 Thread Lacoste (Frisurf)
On Fri, 2002-11-22 at 12:06, Jules Gosnell wrote: I think that jasper should still be in the Jetty distro, but it has split into two jars and maybe changed location. Correct! Now it is split into jasper-compiler.jar and jasper-runtime.jar and both reside under jetty/ext/. The jetty build.xml

RE: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Sacha Labourey
Yes, that would be really interesting. We really need to find out why going to the DB (in-VM DB at least... ouf...) is faster than retrieving from cache. yeah ReadAheadCache is currently the HotSpot. I think Dain did some optimizations for that in 3.2 which haven't made it into 3.0 just yet?

RE: [JBoss-user] secure web context with jetty.

2002-11-22 Thread Sebastian Hauer
Hi Stefan, JBoss uses JAAS. For a simple file based login module and how it is used have a look at the jmx-console web application that comes with Jboss. Have a look at these config files: Jboss/server/all/conf/login-config.xml (application-policy jmx-console)

Re: [JBoss-user] Encryption of configuration files

2002-11-22 Thread David Jencks
In all jboss 3 and later versions, you can supply the db login credentials from a jaas login module. This can obtain the credentials from anywhere you can think of. I'm not a security expert, but I've always wondered how to make such a scheme actually secure, since the ways I've thought up

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Stephen Coy
I'll try to get it done in the next day or so. On Friday, November 22, 2002, at 10:50 PM, Christian Riege wrote: hi stepehn et. al, As far as the Finders are concerned, I suspect that the issue may be in the ReadAheadCache code. yeah ReadAheadCache is currently the HotSpot. I think Dain

Re: [JBoss-user] Jboss on WIN2000

2002-11-22 Thread Chris Bonham
Thanks for posting your performance tuning procedures, they helped us a lot. We are load testing under a clustered environment with JBoss 3.2.0beta2. Here's our client and server load test machine configurations: Dual Intel Xeon 2.0 GHz Processor w/1G RAM RedHat Linux 7.3 Kernel Version:

Re: [JBoss-user] oracle-xa datasource doesn't deploy, Rardeployerjust sits there with no error

2002-11-22 Thread Igor Fedorenko
I have updated both oracle-xa-service.xml and oracle-xa-ds.xml as well as internal xslt template used to process *-ds.xml files. I might be wrong, but it looks like it was not possible to configure any xa datasource (not only oracle) using *-ds.xml syntax before. Could somebody with non-oracle

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Peter Fagerlund
fredagen den 22 november 2002 kl 13.04 skrev Sacha Labourey: We really need to find out why going to the DB (in-VM DB at least... ouf...) is faster than retrieving from cache. hehe ... cache is King makes me want to sing use the sqlcache as ***xp*** mesh. /peter_f

Re: [JBoss-user] Jboss on WIN2000

2002-11-22 Thread Marius Kotsbak
On Fri, 2002-11-22 at 17:16, Chris Bonham wrote: Thanks for posting your performance tuning procedures, they helped us a lot. We are load testing under a clustered environment with JBoss 3.2.0beta2. Here's our client and server load test machine configurations: Dual Intel Xeon 2.0 GHz

RE: [JBoss-user] Jboss on WIN2000

2002-11-22 Thread Bill Burke
Are you sure you have enough threads configured for Tomcat or Jetty? They have a thread pool ya know. ALSO: Make sure your DB is not maxed out on I/O. I had 1 JBoss machine, 1 DB machine, and one driver machine for an ECPerf test. JBoss machine: dual-cpu 1.8 ghz AMD MP2200+, 1 gig ram, running

[JBoss-user] Locking and Readonly Beans

2002-11-22 Thread Jon Swinth
We have been having some periodic issues with deadlock using JBoss 3.0.3 and CMP beans. In looking at the conflicts, we found that much of the access to the beans was just to read so we created readonly versions of the beans for those functions. This was done by making duplicate entries in

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Stefan Arentz
On Thursday, Nov 21, 2002, at 15:26 Europe/Amsterdam, Stephen Coy wrote: I've made a first pass at fixing this. Some profiling revealed a case where contains was being called on an ArrayList containing every entity in the transaction. Currently, the fix is checked into Branch_3_0. I'll

Re: [JBoss-user] does PostgreSQL support the EJB-QL LOCATE() function?

2002-11-22 Thread snpe
I know.PostgreSQL load complete table in memory (except with cursor, but cursor work in transaction only) - tables with 1 000 000 rows return 'outofmemory' error in jdbc regards Haris Peco On Friday 22 November 2002 06:51 am, Dain wrote: No, but that has nothing to do with JBoss; table size is

[JBoss-user] valueUnbound not being called

2002-11-22 Thread David Ward
Does anybody know why public void valueUnbound(HttpSessionBindingEvent) isn't being called on objects stored in an HttpSession with a hot redeploy or shutdown/startup of jboss with jboss-3.0.3_tomcat-4.1.12? It's causing us major problems as we need that hook. I'm guessing it's related to

Re: [JBoss-user] CMR Performance: Weblogic7 Much Faster Then JBoss

2002-11-22 Thread Dain
I completely rewrote the cache in 4.0 it is now called PrefetchCache and it no longer uses all the funky data structures. It can also merge Prefetched data back into the main cache when the transaction ends, instead of throwing it away. This rocks for Commit Option A but does not help B or

[JBoss-user] CommunicationException: Peek timed out

2002-11-22 Thread Gary Grobe
Any ideas why I'd be getting the following errors from my remote client? --- my log files [ERROR]: Could not get JNDI context [ERROR]: Could not get JNDI context [ERROR]: NamingException javax.naming.CommunicationException: Peek timed out [Root exception is java.io.InterruptedIOException: Peek

[JBoss-user] JNDI over HTTP problem

2002-11-22 Thread Joost Kraaijeveld
Hi all, When I use the code below while using the code that is commented out, everything works. If I use the code that uses JNDI over HTTP I get the exception below. I use a stock JBoss 3.0.4 / Jetty running on a remote host (Laudanum). If I use a localhost it works. Can anyone shine a light on

[JBoss-user] Struggling with authorisation in jboss-3.0.4_tomcat-4.0.6

2002-11-22 Thread David Whitmarsh
I have been bashing my head against a brick wall for a week now trying to access a session bean from a JSP page, but no matter what I do I get javax.ejb.EJBException: checkSecurityAssociation; CausedByException is: Insufficient method permissions, principal=null,

[JBoss-user] Firebird XML fails to deploy

2002-11-22 Thread Stephen Davidson
Greetings. Linux 2.4.18 (SuSE 8.0) Sun JDK 1.4.1_01 JBoss 3.0.4 Firebird 1.0 No other addons... I am trying to get JBoss 3.0.4 to talk to Firebird 1.0. I have the firebirdsql.rar file in my deploy directory, as well as the attached firebird-service.xml file. Following is the stack trace that

[JBoss-user] ALERT - GroupShield ticket number OA51_1038000858_SJ-DC-EXCH02_3was generated

2002-11-22 Thread GroupShield for Exchange (SJ-DC-EXCH02)
Action Taken: The attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. To: [EMAIL PROTECTED] [EMAIL PROTECTED] From: Stephen Davidson [EMAIL PROTECTED] Sent: -1933918464,29528683 Subject: [JBoss-user] Firebird XML fails to

Re: [JBoss-user] Jboss on WIN2000

2002-11-22 Thread Chris Bonham
I forgot to point out the thread pool settings earlier, thanks for bring that up: Jetty/Tomcat maxProcessors: 2, acceptCount: 20 Oracle Connection Pool Max: 1200 (never hit that many though) Maximum Number of Oracle Processes: 4096 Maximum Number of Open Cursors: 300 I don't

[JBoss-user] Re: [Xdoclet-user] does PostgreSQL support the EJB-QL LOCATE()function?]

2002-11-22 Thread Herve Tchepannou
I'm trying to execute the following EJB-QL query: SELECT DISTINCT OBJECT(p) FROM Product AS p WHERE LOCATE(p.productId,?1) -1 OR LOCATE(p.name,?1) -1 OR LOCATE(p.description,?1) -1 Shouldn't this work like the following SQL query: SELECT * FROM Product WHERE p.productId like ?1 OR p.name

Re: [JBoss-user] Firebird XML fails to deploy

2002-11-22 Thread Phil Shrimpton
On Friday 22 November 2002 21:10, you wrote: Hi, I am trying to get JBoss 3.0.4 to talk to Firebird 1.0. 14:39:34,381 INFO [MainDeployer] Starting deployment of package: file:/home/steve/projects/mawkercoffee/jboss-3.0.4/server/default/deploy/fi rebird-service.xml 14:39:34,404 WARN

Re: [JBoss-user] Encryption of configuration files

2002-11-22 Thread Guy Rouillier
Putting username and password in the config file allows getConnection(), with no parameters, to work by using the values from the config file. But you don't have to use that approach. Put the credentials in some secure place, then in your code (1) look up those credentials, and (2) call

RE: [JBoss-user] Jboss on WIN2000

2002-11-22 Thread Bill Burke
What do you mean by upper limit? I can add more threads, but performance goes down 2-5% per 8 threads added. Please re-read my post. I am positive it is DB related. You're seeing just a hang? Do a thread dump. Look where things are hanging. Then get back to us (No I don't want to see a

RE: [JBoss-user] Jboss on WIN2000

2002-11-22 Thread Bill Burke
One more thing, I benched with JBoss 3.0.4 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill Burke Sent: Friday, November 22, 2002 7:53 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Jboss on WIN2000 What do you mean by upper limit? I can

RE: [JBoss-user] CommunicationException: Peek timed out

2002-11-22 Thread Bill Burke
 Are you sure provider url is correct? Jboss is trying to MCast to find JNDI by the looks of this stack trace. JBoss does this when it does not know (and I guess) can not find JNDI. Bill -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gary

Re: [JBoss-user] Encryption of configuration files

2002-11-22 Thread David Jencks
This won't work with cmp, and violates the principle of separating security into a separate parallel layer from business logic. The login module approach works with cmp and preserves separation. david jencks On 2002.11.22 17:57:56 -0500 Guy Rouillier wrote: Putting username and password in the

Re: [JBoss-user] Encryption of configuration files

2002-11-22 Thread Guy Rouillier
David, thanks, as always, for taking the time to consider all the issues and to share that perspective with us. I stand corrected. I just checked out the latest 2.4 source, and I notice the changes I made for XA connections to properly reflect credentials on getConnection(userid, password) were

[JBoss-user] Building 2.4.x

2002-11-22 Thread Guy Rouillier
I saved off some messages posted here concerning how to build JBoss versions 3.0+. Unfortunately, those messages (nor the messages they referenced) didn't explain the current procedure for build the 2.4 series. I couldn't find those instruction on the JBoss site (developers page), nor in

Re: [JBoss-user] Encryption of configuration files

2002-11-22 Thread David Jencks
On 2002.11.22 23:12:53 -0500 Guy Rouillier wrote: David, thanks, as always, for taking the time to consider all the issues and to share that perspective with us. I stand corrected. I just checked out the latest 2.4 source, and I notice the changes I made for XA connections to properly

Re: [JBoss-user] N-Tier Authentication and Oracle

2002-11-22 Thread David Jencks
On 2002.11.22 15:37:35 -0500 Galen Boyer wrote: The scenario is a normal one, The application authenticates Joe Smith with password hello. Joe Smith changes his email address. The application then logs into the database with the login/password of app_user/johnny and updates the database row

[JBoss-user] JBoss vs. JRun 4

2002-11-22 Thread Dominik Kacprzak
While browsing some Java related articles on O'Reilly, I noticed an ad from Macromedia for JRun4 which advertised a free developer version and $899 for a server license. Their marketing blurp can be found at: http://www.macromedia.com/software/jrun/productinfo/product_overview/. It sure looks like

[JBoss-user] N-Tier Authentication and Oracle

2002-11-22 Thread Galen Boyer
The scenario is a normal one, The application authenticates Joe Smith with password hello. Joe Smith changes his email address. The application then logs into the database with the login/password of app_user/johnny and updates the database row corresponding to Joe Smith. The only thing that the