[JBoss-user] Performance estimation

2003-03-07 Thread KRÁLIK Vladimír
Hello all, we are going to build J2EE application on JBOSS 3.2 ( web-access for max 200 concurent users, 500 registered users, max 20TX/day, max 5TX/sec, mass of TX are in batch jobs ). We would like use Intell procesors with Red Hat Linux. Can somebody suggest me, how many

[JBoss-user] 1 to N relationship in Jboss 3.2.0 RC3

2003-03-07 Thread Simone Milani
Hi, I have a problem with the relationship on the jbosscmp-jdbc.xml generated by the current cvs version of Xdoclet: org.jboss.deployment.DeploymentException: Role: mDSMatrix-has-mDSKeyMatrix withmultiplicity many using foreign-key mapping is not allowed to have key-fields ejb-relation

[JBoss-user] Admin forced user logout

2003-03-07 Thread KRÁLIK Vladimír
Hello all, I need give to admin possibility immediatly force logout any user logged on JBOss. How can I do this ? Any idea ? thanks for answer vlk Vladimir Kralik Asset Soft Banska Bystrica

Re: [JBoss-user] Admin forced user logout

2003-03-07 Thread Kevin O'Neill
On Fri, 2003-03-07 at 21:10, KR+AME-LIK Vladim+AO0-r wrote: +AD4 Hello all, +AD4 +AD4I need give to admin possibility immediatly force logout any user +AD4 logged on JBOss. How can I do this ? Any idea ? Maybe you could call the JaasSecurityManager flushAuthenticationCache() passing the

Re: [JBoss-user] AOP?

2003-03-07 Thread Luciano Hara
A good reference is also http://aosd.net/. Luciano - Original Message - From: Kristian Kohler [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 07, 2003 4:37 AM Subject: AW: [JBoss-user] AOP? There is an article called JBoss Aspect Oriented Programming on the jboss web

[JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
Hi all, My business logic is controlled by stateless session beans. My front-end is probably going to be JSPs which use the session beans. I could create a reference to the session bean each time it's used, but from my understanding of how it works, when the client calls

[JBoss-user] Latest quickStartGuide flaws - web integration

2003-03-07 Thread Joao Pedro Clemente
I've just checked the latest quickstartguid and notist3d the web integration chapter has several gflaws: jetty-plugin.sar is mentioned all over the chapter, where there is none in real life (now it's jbossweb.sar) the jboss-service.xml doen not match it's said that you can use a ROOT.war file

AW: [JBoss-user] Jetty Web Logs

2003-03-07 Thread Stefan Groschupf
Does anyone know how to change the log format generated by Jetty that comes with JBoss? I need to add the url referer, the url the user came from. Is it possible? Sorry I not know where, but I know that it is possible. Had you take a look in the jetty documentation? I'm really not sure but may be

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Rafal Kedziorski
hi, You can take a look on this pattern: http://java.sun.com/blueprints/code/jps131/src/com/sun/j2ee/blueprints/servicelocator/web/ServiceLocator.java.html all called local or remote interfaces will be cached. Rafal At 12:02 07.03.2003 +, you wrote: Hi all, My business logic is

[JBoss-user] EJBQL MEMBER OF problems remain in 3.0.6?

2003-03-07 Thread Alexey Yudichev
Title: EJBQL MEMBER OF problems remain in 3.0.6? Returning to my prevoius postings, assume we have Partner and StoreCategory entities with TWO relations between each other: 1) Many Partners are assigned to Many StoreCategories 2) One Partner owns Many StoreCategories The following ejbql:

Re: [JBoss-user] XA Datasource Oracle Problem (3.0.4)

2003-03-07 Thread David Jencks
On 2003.03.07 00:45 Brian Wallis wrote: On Fri, 7 Mar 2003 15:49, Igor Fedorenko wrote: No, it should not. Container is supposed to take care of XA stuff and give java.sql.Connection to EJBs. I'm trying to co-ordinate a transaction between a JDBC operation to read rows from a table

RE: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Stas Krichevsky
Hi, You could use http session to store instance of the session bean. Something like following: % MyStatelessSession theBean = (MyStatelessSession) session.getAttribute(theBean); If (null == theBean) { // create the instance session.setAttribute(theBean, theBean); } // use

Re: [JBoss-user] 1 to N relationship in Jboss 3.2.0 RC3

2003-03-07 Thread Alex Loubyansky
Just configure the key fields on the one side, i.e. mDSKeyMatrix-has-mDSMatrixs. alex Friday, March 07, 2003, 11:01:22 AM, Simone Milani wrote: SM Hi, SM I have a problem with the relationship on the jbosscmp-jdbc.xml generated by the current cvs version of Xdoclet: SM

Re: AW: [JBoss-user] Jetty Web Logs

2003-03-07 Thread Felipe Oliveira
Hi Stefan, Thanks for your help. Jetty's documentation is not very good at all but they do have an active mailing list. Somebody pointed me the right direction. There's an extended parameter on jbossweb.sar/META-INF/jboss-service.xml you can just set to true. Felipe Stefan Groschupf wrote:

[JBoss-user] finders across a relationship

2003-03-07 Thread Ionel Gardais
Hi, Say an M:N relationship, maintained by a table-relation, between Person and Drink. Is it possible to create a finder in the Drink bean that takes the name of a Person as arguments and returns a Collection of the Drink associated with the Person's name ? (Or a finder in the Person bean

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
thanks Rafal this helps alot. - Original Message - From: Rafal Kedziorski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 07, 2003 1:12 PM Subject: Re: [JBoss-user] Optimise stateless session bean access from servlets hi, You can take a look on this pattern:

Re: [JBoss-user] JBoss 3.0.4 / CMP - BaseConnectionManager2 throws IllegalArgumentException on reconnect

2003-03-07 Thread David Jencks
The fix for the bug you reference is in all current cvs versions and at least the latest 3.2RC?. I'd try one of them first. There have been quite a few changes since 3.0.4 david jencks On 2003.03.06 22:15 Mark Brodziak wrote: (Apologies for my email client removing the original message)

[JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Frank Morton
I added the following to jboss-service.xml while running 3.2.0RC2 under MacOS X: Call name=addListener Arg New class=org.mortbay.http.SunJsseListener Set name=Port8443/Set Set name=MinThreads5/Set Set name=MaxThreads255/Set Set name=MaxIdleTimeMs5/Set Set

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
Thanks StasK, a few points though. 1) I've heard you shouldn't hold references for ejbs in the session objects really. 2) when you create the instance, I think you have to wrap it in a try catch block. I'm not sure if you can do this in scriptlets. But I don't know jsps well. 3) If

Re: [JBoss-user] Stateful Session Bean Cache (JBOSS3.2RC2)

2003-03-07 Thread Scott M Stark
Define a custom container configuration in the deployment jboss.xml descriptor as demonstrated by the testsuite/src/resources/cts/META-INF/jboss.xml descriptor. jboss container-configurations container-configuration extends=Standard Stateful SessionBean !-- Override the cache

RE: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Stas Krichevsky
Hi, Re. #1 Probably youre right, but were doing it in our product and till now everything worked. If the reference becomes bad, you can catch the exception and re-create the reference. Re. #2 Sure, you can use try/catch blocks in jsp. Re. #3 The difference between statefull and

RE: [JBoss-user] XA Datasource Oracle Problem (3.0.4)

2003-03-07 Thread Igor Fedorenko
-Original Message- From: Brian Wallis [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 12:46 AM To: [EMAIL PROTECTED]; Igor Fedorenko Subject: Re: [JBoss-user] XA Datasource Oracle Problem (3.0.4) On Fri, 7 Mar 2003 15:49, Igor Fedorenko wrote: No, it should not.

[JBoss-user] Oracle RAQ Plus thick driver memory issues.

2003-03-07 Thread jbossuserlist
I have an issue in our production environment we have JBOSS 3.03 running off redhat 7.3 and an Oracle RAQ database cluster with transparent fault tolerence and high availability. My problem is that these Oracle RAQ features require the use of the Oracle OCI (Thick) driver. As a result our

Re: [JBoss-user] Performance estimation

2003-03-07 Thread Stephen Davidson
wrote: Hello all, we are going to build J2EE application on JBOSS 3.2 ( web-access for max 200 concurent users, 500 registered users, max 20TX/day, max 5TX/sec, mass of TX are in batch jobs ). We would like use Intell procesors with Red Hat Linux. Can somebody suggest me, how

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
thanks very much StatsK, very clear. I think the only thing I'm still unsure of is the lifecycle of stateless session beans. If they can become bad at any stage, is it a good idea to cache it anyway do you reckon? I really appreciate your help, thanks, Brian - Original Message -

Re: [JBoss-user] Optimise stateless session bean access from servlets

2003-03-07 Thread Brian McSweeney
thanks very much StatsK, very clear. I think the only thing I'm still unsure of is the lifecycle of stateless session beans. If they can become bad at any stage, is it a good idea to cache it anyway do you reckon? I really appreciate your help, thanks, Brian - Original Message -

[JBoss-user] jre with jboss3.0.4

2003-03-07 Thread Eric J Kaplan
Other than for jsp compilation, can someone verify whether or not you can safely run jboss with the jre and not the jdk? I trolled through the forums and tried to piece together a definitive answer but wasnt able to. Regards Eric Kaplan

Re: [JBoss-user] Performance estimation

2003-03-07 Thread Dan Christopherson
Unfortunately, a lot of this depends on how you design your application, and a few configuration options for JBoss. It shouldn't be much of a problem if you have plenty of memory (and allow the JVM to use it via -xmx flag), and use Commit option A on all entities. CMP2 with read-ahead will be

[JBoss-user] xmbean

2003-03-07 Thread Eric Jain
How do I associate an XMBean whith its configuration file? --- jboss-service.xml --- mbean code=org.expasy.services.jmx.KeywordManager name=expasy.org:service=KeywordManager !-- config location=KeywordManager.xml/ ? -- /mbean --- log --- java.lang.NullPointerException at

[JBoss-user] Re: xmbean

2003-03-07 Thread Eric Jain
How do I associate an XMBean whith its configuration file? Okay, just discovered [EMAIL PROTECTED]; unfortunately the error messages remain the same (at least there is a malformed-URL exception if I put in a bad value for xmbean-dd, so it is being read at some point). So lets blame the

RE: [JBoss-user] EJBQL MEMBER OF problems remain in 3.0.6?

2003-03-07 Thread Jeremy Boynes
Title: Message Please clarify your problem here - the join at the bottom is for the c.partnerOwner.id path expansion and not the MEMBER OF expansion. Posting sample data illustrating the problem would help a lot. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

[JBoss-user] Jetty temp dir

2003-03-07 Thread Sebastian Hauer
Hi, Is the a a jetty config option to change jetty's default temp directory, where is unpacks war's? I saw the forum thread regarding this: http://jboss.org/forums/thread.jsp?forum=50thread=20399message=3738995 q=temp+dir#3738995 The thread is now a few month old so I wanted to know if there is

Re: [JBoss-user] Crazy CPU Usage Problem

2003-03-07 Thread Scott M Stark
Start by looking at thread dumps. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Hunter Hillegas [EMAIL PROTECTED] To: JBoss User [EMAIL PROTECTED] Sent: Friday, March 07, 2003 10:13 AM Subject:

Re: [JBoss-user] Jetty temp dir

2003-03-07 Thread Scott M Stark
You have to set the java.io.tmpdir system property to change the location. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Sebastian Hauer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 07,

RE: [JBoss-user] Crazy CPU Usage Problem

2003-03-07 Thread Nelson, Tracy
| From: Hunter Hillegas [mailto:[EMAIL PROTECTED] | Subject: [JBoss-user] Crazy CPU Usage Problem | | in the past week there have been two occasions | where I have | come in in the morning and the CPUs have been pegged at 100%. | | ps reports that the JVM is the guilty process. Shutting down

[JBoss-user] loader repository

2003-03-07 Thread Gabriel Pinto
Does anyone knows why I cannot use loader-repository in my application=20 when I am deploying on a second level directory, like=20 ./deploy/directory/ thanks a lot -- Gabriel Esteves Marques Pinto Diretor de TI [EMAIL PROTECTED] www.brainweb.com.br

[JBoss-user] JBoss 4.0 Startup Message (Builds fine)

2003-03-07 Thread Sasidharan, Manoj
Hello All, I am getting the following message on the console while bringing up my JBoss 4.0.0 Alpha. Any comments? FYI, the binaries were build using source downloaded yesterday. Thanks and Best Regards MS 14:08:47,472 INFO [MainDeployer] Deployed package: file:/G:/jboss-4.0.0alpha/se

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Jules Gosnell
Frank Morton wrote: I added the following to jboss-service.xml while running 3.2.0RC2 under MacOS X: Call name=addListener Arg New class=org.mortbay.http.SunJsseListener Set name=Port8443/Set Set name=MinThreads5/Set Set name=MaxThreads255/Set Set name=MaxIdleTimeMs5/Set Set

[JBoss-user] unknown-pk and doc type jboss3.2RC3

2003-03-07 Thread Dennis R. Gesker
Hello All: I seem to be experiencing a conflict between my doc type definition and my use of unknown-pk and entity-command tags and was wondering if it was a problem I'm having is with my configuration or if it is part of a wider issue. Earlier today I was having some difficulty preparing a

Re: [JBoss-user] Crazy CPU Usage Problem

2003-03-07 Thread Rafal Kedziorski
hi, we had the same effects under Linux with the same J2SE and WLS. Try to update to J2SE 1.3.1_06/_07. Rafal At 10:13 07.03.2003 -0800, Hunter Hillegas wrote: I've had a JBoss 3.0x install running great for almost a year. In the past week or so, we upgraded from 3.04 to 3.06. Our apps seem to

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Frank Morton
On Friday, March 7, 2003, at 06:19 PM, Jules Gosnell wrote: Frank Morton wrote: I added the following to jboss-service.xml while running 3.2.0RC2 under MacOS X: Call name=addListener Arg New class=org.mortbay.http.SunJsseListener Set name=Port8443/Set Set name=MinThreads5/Set Set

[JBoss-user] JBoss3.2.0RC3: jbosscmp-jdbc_3_2.dtd error

2003-03-07 Thread Rafal Kedziorski
hi, create-entity-command is in the given dtd not defined. Ragal --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented.

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Neal Sanche
On Friday 07 March 2003 09:12 am, Frank Morton wrote: I added the following to jboss-service.xml while running 3.2.0RC2 under MacOS X: Call name=addListener Arg New class=org.mortbay.http.SunJsseListener Set name=Port8443/Set Set name=MinThreads5/Set Set name=MaxThreads255/Set Set

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Frank Morton
Thanks! You were a huge help. I missed the obvious and was changing the jboss-service.xml in server/default/conf instead of the one in server/default/deploy/jbossweb.sar/META-INF. Worked first time after that. Your other info was also helpful. Frank On Friday, March 7, 2003, at 08:33 PM, Neal

Re: [JBoss-user] Jetty SSL with 3.2.0RC2

2003-03-07 Thread Neal Sanche
Excellent. I'm glad I put that little bit of information there. It's always good to solve these things. Cheers. -Neal On Friday 07 March 2003 08:47 pm, Frank Morton wrote: Thanks! You were a huge help. I missed the obvious and was changing the jboss-service.xml in server/default/conf instead

Re: [JBoss-user] Jetty temp dir

2003-03-07 Thread Hunter Hillegas
Yes... java.tmp.dir I think it is called. From: Sebastian Hauer [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Fri, 7 Mar 2003 14:21:13 -0500 To: [EMAIL PROTECTED] Subject: [JBoss-user] Jetty temp dir Hi, Is the a a jetty config option to change jetty's default temp directory,

[JBoss-user] Crazy CPU Usage Problem

2003-03-07 Thread Hunter Hillegas
I've had a JBoss 3.0x install running great for almost a year. In the past week or so, we upgraded from 3.04 to 3.06. Our apps seem to run okay most of the time but in the past week there have been two occasions where I have come in in the morning and the CPUs have been pegged at 100%. ps reports