[JBoss-user] DatabaseServerLoginModule, and column RoleGroup

2003-11-29 Thread Bryan Field-Elliot
We are exploring using JBossSX in various capacities to perform database-driven authentication and authorization. I have a question about the DatabaseServerLoginModule: The "roles" table requires three columns: Principal, Role, and RoleGroup. However, I can find no clear explanation online fo

Re: [JBoss-user] failed lookup: java:comp/UserTransaction fromTomcat

2003-06-21 Thread Bryan Field-Elliot
ssweb-tomcat41.sar/META-INF/jboss-service.xml descriptor.   Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Bryan Field-E

follow-up Re: [JBoss-user] failed lookup: java:comp/UserTransactionfrom Tomcat

2003-06-17 Thread Bryan Field-Elliot
hese things in "java:comp/" or "java:comp/env/". Thanks, Bryan On Tue, 2003-06-17 at 13:21, Bryan Field-Elliot wrote: I've been using JBoss 3.0.6+Tomcat 4.1.18 for development, and just upgraded to JBoss 3.2.2RC1 + Tomcat 4.1.24.

[JBoss-user] failed lookup: java:comp/UserTransaction from Tomcat

2003-06-17 Thread Bryan Field-Elliot
I've been using JBoss 3.0.6+Tomcat 4.1.18 for development, and just upgraded to JBoss 3.2.2RC1 + Tomcat 4.1.24. Code which previously worked, now suddenly isn't... Specifically, my servlet is trying to look up "java:comp/UserTransaction", and failing. I do not have any references to UserT

[JBoss-user] Someone PLEASE advise re: Client UserTransactions never commiting

2002-01-18 Thread Bryan Field-Elliot
I am hoping someone can help me solve a problem I'm having with JBoss 2.4.4 (using RedHat Linux 7.1 and PostgreSQL 7.0.2). My client application manipulates several entity beans. I know that a better design would be to use a session facade, but that's not an option in the short term. I

[JBoss-user] Please help re: Client-side UserTransactions not commiting

2002-01-17 Thread Bryan Field-Elliot
I am hoping someone can help me solve a problem I'm having with JBoss 2.4.4 (using RedHat Linux 7.1 and PostgreSQL 7.0.2). My client application manipulates several entity beans. I know that a better design would be to use a session facade, but that's not an option in the short term. In any case

[JBoss-user] JB2.4.4 Client UserTransactions won't commit

2002-01-17 Thread Bryan Field-Elliot
Hi, I'm using JBoss 2.4.4. I have a set of CMP beans whose transaction attributes are all "Required". On the client side, I am obtaining a UserTransaction, calling begin(), making some CMP bean changes, and calling commit(). The changes do seem to make it to the database, since when I rea

[JBoss-user] jboss.xml DTD missing from jboss.org website

2001-08-04 Thread Bryan Field-Elliot
The standard URL for the jboss.xml DTD, at: http://www.jboss.org/j2ee/dtd/jboss.dtd Appears to not be on the server -- has the "official" location been changed? Thank you, Bryan ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforg

[JBoss-user] In-browser Java applet client to jBoss?

2001-06-18 Thread Bryan Field-Elliot
The strategy of building an EJB client out of a Java applet which uses RMI to communicate directly with an EJB server is (IMHO) technically elegant, but not very popular. I am wondering if people have tried it with jBoss with success and with stories to tell? This is in a Joe-Public-Internet-

Re: More Re: [JBoss-user] When do entity beans commit?

2001-06-14 Thread Bryan Field-Elliot
Hi Georg, Regarding this problem I've been having -- thank you for all your thoughts and help. I have no idea why the code was executing inside a transaction, since the session bean method was definitely marked Never, and the entity bean Supports. Perhaps this is a bug, or perhaps the "spec-und

Re: More Re: [JBoss-user] When do entity beans commit?

2001-06-13 Thread Bryan Field-Elliot
Georg, About my environment -- 1. I do not use select...for update 2. Regarding other resources used concurrently -- just entity beans. And as I mentioned -- it's a session bean method marked "Never", which happens to iterate over a large list of entity beans (of several different types) to c

More Re: [JBoss-user] When do entity beans commit?

2001-06-12 Thread Bryan Field-Elliot
ception is: (omitted...)I thought that in the below scenario, there are no transactions at work -- so how could it result in a deadlock, or be rolled back?Help would be appreciated,Bryan Bryan Field-Elliot wrote: [EMAIL PROTECTED]"> Thanks Georg, Your state charts of I's and dashes ar

Re: [JBoss-user] When do entity beans commit?

2001-06-12 Thread Bryan Field-Elliot
I | TX.commit |I I TX.begin | |I->I |I I TX.commit | |Thus you should see no deadlock caused.regardsGeorg ___ ___| + | |__Georg Rehfeld Woltmanstr. 12 20097 Hamburg|_|_\ |___ [EMAIL PROTECTED]

[JBoss-user] When do entity beans commit?

2001-06-11 Thread Bryan Field-Elliot
I am using jBoss 2.2.2. My clients access a stateful session bean, and my session bean's methods in turn access CMP entity beans. All my entity beans are marked as "Requires" transactions; in my session bean, some methods are marked as "Never", while others are marked as "Requires". In the "

Re: [JBoss-user] Seeking advice on deadlock problem

2001-06-08 Thread Bryan Field-Elliot
Thanks Georg, that really clarifies a lot of things. I see now that application servers (like jBoss) might grow in the future to do better deadlock detection, to automatically get out of bad scenarios like this one. But in the meantime, we need to put extra logic in our business methods to do pr

[JBoss-user] Seeking advice on deadlock problem

2001-06-08 Thread Bryan Field-Elliot
I have an application, in which every client access is done through a Stateful Session bean, which internally manages the Entity beans (Session Facade pattern). Every single method of my session bean is marked as "Requires" a transaction. I realize that this can be a performance hit when it's

[JBoss-user] Whither Java LGPL'd Rules Engines?

2001-06-08 Thread Bryan Field-Elliot
I am interested in utilizing a rules engine in my upcoming EJB project. I love jBoss because it works well, it's free, and has a great developer community around it. I'm looking for a rules engine with a similar set of parameters. Does such a thing exist? In particular it needs a strong awaren

[JBoss-user] "tuned updates" vs "isModified()"?

2001-06-06 Thread Bryan Field-Elliot
The jBoss docs are not very clear with respect to entity beans, "tuned updates", and the optional "isModified" method. If I am using CMP, should I turn on tuned updates, or implement an isModified() method, or both? What about the BMP scenario? Thanks, Bryan ___

[JBoss-user] Commit option "C" in standardjboss.xml not working?

2001-06-03 Thread Bryan Field-Elliot
Because my system (and more often, it's human admins) access the database directly fairly frequently, I am trying to change my jBoss application's commit option from "A" to "C". Rather than implement my own custom container configuration, I'm just trying to change the default setting for all e

Re: [JBoss-user] How to flush entity bean cache?

2001-05-31 Thread Bryan Field-Elliot
Thank you Georg, that is helpful! I have one follow-up question: >From the document you sent me, it looks like I have to set up an entirely custom configuration, just to change the commit option. I'd rather just use the default container configuration and only change the commit option (to "C")

[JBoss-user] How to flush entity bean cache?

2001-05-31 Thread Bryan Field-Elliot
I am using JBoss 2.2.1 and lots of entity beans. Sometimes I like to go directly to my database (PostgreSQL) and make some changes. But I seem to be unable to do this if jBoss has some beans cached; my changes get ignored, and eventually overwritten (in some cases). Without shutting the server

Re: [JBoss-user] GOING INSANE: CMP and PostgreSQL

2001-05-30 Thread Bryan Field-Elliot
What is the transaction attribute for your entity bean(s)? For entity beans, the transaction attribute can NOT be "supports", "not supported", or "never". If it is one of those, then jBoss will exhibit behavior as you describe (transactions never get committed to the database). I ran into this

[JBoss-user] Tomcat+jBoss EAR with Virtual Hosting?

2001-04-23 Thread Bryan Field-Elliot
Hi, I'm using Tomcat+jBoss and deploying an EAR file. Everything seems ok, except I'm confused about how to turn this into a Tomcat "virtual host" instead of just a plain "context". There doesn't appear to be a way to specify virtual hosting parameters in application.xml. Is this possible? Th

[JBoss-user] Client-demarcated transaction from jBoss+Tomcat?

2001-04-23 Thread Bryan Field-Elliot
I am moving a Servlet application from JOnAS to jBoss. I am in final testing now and am discovering that jBoss does not really support client-demarcated transactions (because there is no distributed transaction manager). However, in my case, my "client" (which must manage transactions) is in m

[JBoss-user] jBoss+Tomcat (default config) creates 53 threads?

2001-04-22 Thread Bryan Field-Elliot
I'm using jBoss+Tomcat, latest version, on RedHat Linux 6.2. When I start jBoss+Tomcat using out-of-the-box configuration, the thing is creating 53 threads. This of course makes for terrible clutter of my "ps ax" display, and also makes me wonder whether or not there is some kind of worker thr

Re: [JBoss-user] Stateful session beans, concurrency, and blocking?

2001-04-05 Thread Bryan Field-Elliot
a session object is intended to support only a single client. Therefore, >it would be an > > application error if two clients attempted to invoke the same session object. > > > - Original Message - > From: Bryan Field-Elliot > To: [EMAIL PROTECTED] > Sent: Thur

Re: [JBoss-user] Stateful session beans, concurrency, and blocking?

2001-04-05 Thread Bryan Field-Elliot
gt;Ouch! Frames Bad!At worst, you could grab the stateful session instance interceptor andmodify it so that you can have your own, non-compliant stack. Bryan Field-Elliot wrote: I am developing a web application, in which the web tier is creating aStateful Session bean for each user, and invoking methods

[JBoss-user] Stateful session beans, concurrency, and blocking?

2001-04-05 Thread Bryan Field-Elliot
I am developing a web application, in which the web tier is creating a Stateful Session bean for each user, and invoking methods on it for all business logic. Problem is, part of my web application requires framesets, and each frame pane needs to invoke methods on the session bean. When two fr

Re: [JBoss-user] Verifier Error Messages

2001-04-01 Thread Bryan Field-Elliot
I use Together CC also. I believe this problem is that the method signatures in the remote interface (which Together generated) are throwing EJBException, when they shouldn't. I always have to delete that exception from the throws clause of my remote interface after adding a new business metho