RE: [JBoss-user] JBoss 3.2.3 commit option B or C a lot slower than JBoss 3.2.1

2004-01-16 Thread Adrian Brock
Maybe this will give you a hint: http://www.mail-archive.com/[EMAIL PROTECTED]/msg34183.html means doesn't synchronize with the transaction option C says don't cache between transactions This means the bean is removed from cache after each invocation unless the lock has been promoted a transact

Re: [JBoss-user] How to configure locking mechanism for EnityBean s - optimistic vs pessimistic?

2004-01-16 Thread Adrian Brock
http://cvs.sourceforge.net/viewcvs.py/jboss/jbosstest/src/main/org/jboss/test/cmp2/optimisticlock/ Regards, Adrian On Sat, 2004-01-17 at 00:55, Peter Luttrell wrote: > Where are these test beans used? In other words, where is the code for > the test cases located? > I just did a text search of th

Re: [JBoss-user] How to configure locking mechanism for EnityBean s - optimistic vs pessimistic?

2004-01-16 Thread Peter Luttrell
Where are these test beans used? In other words, where is the code for the test cases located? I just did a text search of the 3.2.1-src i have and couldn't find the text "EntityModifiedLocking" in any files other then the deployment descriptors. thanks. .peter Adrian Brock wrote: On Fri,

RE: [JBoss-user] JBoss 3.2.3 commit option B or C a lot slower than JBoss 3.2.1

2004-01-16 Thread Boulatian, Misak
There are some bugs in JBoss 3.2.1 that forced us move to 3.2.3. For example, in commit option C we would get warning 'unable to return to the pool due to ctx lock' every time that type of bean was being used. There was also another bug using version control attribute: cmp field could not be specif

Re: [JBoss-user] How to configure locking mechanism for EnityBeans - optimistic vs pessimistic? In the entire JBoss system?

2004-01-16 Thread Adrian Brock
On Fri, 2004-01-16 at 23:59, Sasidharan, Manoj wrote: > Any ideas?? Is there any one place where the user can make a change and all > locking mechanisms become optimistic or pessimistic? > The dtd says does not list it as an option in the element. It also depends upon the container configuration

[JBoss-user] How to configure locking mechanism for EnityBeans - optimistic vs pessimistic? In the entire JBoss system?

2004-01-16 Thread Sasidharan, Manoj
Any ideas?? Is there any one place where the user can make a change and all locking mechanisms become optimistic or pessimistic? Please let know. rgds MS -Original Message- From: Juha Lindfors [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 2:22 PM To: [EMAIL PROTECTED] Subject:

RE: [JBoss-user] How to configure locking mechanism for EnityBean s - optimistic vs pessimistic?

2004-01-16 Thread Adrian Brock
On Fri, 2004-01-16 at 23:42, Sasidharan, Manoj wrote: > Hello, > > I could not find this entry in > JBOSS_HOME/server/default/conf/standardjbosscmp-jdbc.xml. Should I add a new > one??? > This is from the testsuite. http://cvs.sourceforge.net/viewcvs.py/jboss/jbosstest/src/resources/cmp2/optimis

RE: [JBoss-user] How to configure locking mechanism for EnityBean s - optimistic vs pessimistic?

2004-01-16 Thread Sasidharan, Manoj
Hello, I could not find this entry in JBOSS_HOME/server/default/conf/standardjbosscmp-jdbc.xml. Should I add a new one??? Please let me know. FYI, we are running JBoss v3.2.3 using Oracle 9i rgds MS -Original Message- From: Juha Lindfors [mailto:[EMAIL PROTECTED] Sent: Friday, January

RE: [JBoss-user] JMS vs ASYNC Log4J Appender

2004-01-16 Thread Juha Lindfors
> In the past someone mentioned that the ASYNC appender can deadlock. Has > anyone else experienced this? When it deadlocked, what happened? Did log > messages just stop getting delivered, or did it take the whole server down? It deadlocked already at server startup so I guess that qualifies for t

RE: [JBoss-user] JBoss 3.2.3 commit option B or C a lot slower than JBoss 3.2.1

2004-01-16 Thread Alexey Loubyansky
Why don't you try to run CMP2.0 version of your app on 3.2.1 and see whether it's true. What your experience shows is that CMP1.1 app is faster than CMP2.0. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boulatian, MisakSent: Friday, January 16, 2004 10:22 PMTo:

RE: [JBoss-user] CMP: error with cascade delete

2004-01-16 Thread Alexey Loubyansky
It works for me with 3.2.4RC1. I belive my testcase would work for me in 3.2.3 too. Could you provide me with your testcase? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Panagiotis Korros > Sent: Friday, January 16, 2004 1:27 PM > To: [EMAIL P

Re: [JBoss-user] How to configure locking mechanism for EnityBeans - optimistic vs pessimistic?

2004-01-16 Thread Juha Lindfors
in jbosscmp-jdbc.xml On Fri, 16 Jan 2004, Sasidharan, Manoj wrote: > Hello All, > > How can we change the locking mechanism used in Entity Beans - optimistic, > pessimistic? Any pointers to which configuration file need to be modified. > > Thanks in advance. > > Best Regards > MS > > > --

RE: [JBoss-user] EJB QL: is this possible?

2004-01-16 Thread Alexey Loubyansky
It's legal. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ed banfaSent: Friday, January 16, 2004 12:30 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] EJB QL: is this possible? Hello,   Assuming I have a CMPBean with an abstract schema name of My

RE: [JBoss-user] Knowing when a CMP bean is modified

2004-01-16 Thread Adrian Brock
On Fri, 2004-01-16 at 21:12, Alexey Loubyansky wrote: > > Lastly could I ask if u know of a non jboss specific way to know > when a CMP Bean is modified?? > > The spec does not define it, so, the answer is no. Actually you can, but it is a pain and inefficient because you do it on every field

[JBoss-user] How to configure locking mechanism for EnityBeans - optimistic vs pessimistic?

2004-01-16 Thread Sasidharan, Manoj
Hello All, How can we change the locking mechanism used in Entity Beans - optimistic, pessimistic? Any pointers to which configuration file need to be modified. Thanks in advance. Best Regards MS --- The SF.Net email is sponsored by EclipseCo

Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-16 Thread Bela Ban
Mridul Jain wrote: hi Ban, I have infact used the IP address of the servers and *NOT* 127.0.0.1. That is why I am suprised why I am getting the following behaviour. I don't believe you :-) Show me your cluster-service.xml and your /etc/hosts dump -- Bela Ban http://www.jgroups.org Cell: (408)

Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-16 Thread Bela Ban
Mridul Jain wrote: hi Ban, I added bind_addr attribute in both the servers with their respective ips and both the servers seem to identify each other. But I am getting this line: -- 18:10:52,399 INFO [DefaultPartitio

RE: [JBoss-user] Knowing when a CMP bean is modified

2004-01-16 Thread Alexey Loubyansky
 > Lastly could I ask if u know of a non jboss specific way to know when  a CMP Bean is modified??    The spec does not define it, so, the answer is no.  

RE: [JBoss-user] EnityBeans: Optimistic Locking Help

2004-01-16 Thread Alexey Loubyansky
It is called detachment, i.e. an instance that represents persistent data is read in one transaction, detached from it and then attached to another (updating) transaction. It is not possible in CMP. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of >

[JBoss-user] JBoss 3.2.3 commit option B or C a lot slower than JBoss 3.2.1

2004-01-16 Thread Boulatian, Misak
Hi,   It seems like JBoss 3.2.3 commit option B or C a lot slower than JBoss 3.2.1 with same commit options. The only difference is that with JBoss 3.2.1 we were running CMP 1.1 with 'modified' flag optimization to minimize the number of synchronizations with Database (it served as some kind

Re: [JBoss-user] Transfer-Encoding: chunked ???

2004-01-16 Thread Guy Rouillier
Matthew Oatham wrote: Hi, Does anyone know what the following means: 0 HTTP/1.1 200 OK Transfer-Encoding: chunked Date: Thu, 15 Jan 2004 10:56:44 GMT Content-Type: text/html;ISO-8859-1 Server: Apache Tomcat/4.0.5 (HTTP/1.1 Connector) Set-Cookie: JSESSIONID=E3B8B60D1C67C6FE8A0C3E55F3AB032D;Path=/

RE: [JBoss-user] Help with JBossQL

2004-01-16 Thread Alexey Loubyansky
It was introduced in 3.2.2. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Luis > Sent: Friday, January 16, 2004 5:32 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Help with JBossQL > > I have implemented a dynamic query using xdoclet as

RE: [JBoss-user] Help with JBossQL

2004-01-16 Thread Luis
I have implemented a dynamic query using xdoclet as follows: 1. @ejb.finder query="" signature="java.util.Collection findMaxId(java.lang.String sql,java.lang.Obj[] args)" 2. @jboss.query signature="java.util.Collection findMaxId(java.lang.String sql,java.lang.Obj[] args)" dynamic="t

RE: [JBoss-user] JDBCEJBQLCompiler NoSuchMethodError

2004-01-16 Thread Ionel GARDAIS
Not that far .. 3.2.2 w/ jdk 1.3.1.10b3 --- "Rupp, Heiko" <[EMAIL PROTECTED]> a écrit : > Lemme guess, 3.2.3 out of the box on jdk 1.3.x > > Take either a 1.4.x or take the 3.2.3 source, > recompile it > with 1.3.x > _ Do You Yah

RE: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clie nts

2004-01-16 Thread Hanson, Matthew
Sorry, we just upgraded to jboss 3.2.3. Apologies... -Original Message- From: Hanson, Matthew [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:27 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clients Hi, We just upgraded to jboss

RE: [JBoss-user] JDBCEJBQLCompiler NoSuchMethodError

2004-01-16 Thread Rupp, Heiko
Lemme guess, 3.2.3 out of the box on jdk 1.3.x Take either a 1.4.x or take the 3.2.3 source, recompile it with 1.3.x > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ionel > GARDAIS > Sent: Friday, January 16, 2004 3:11 PM > To: jboss-user > Subject: [

[JBoss-user] 3.2.2 -> 3.2.3 = CommunicationException for Clients

2004-01-16 Thread Hanson, Matthew
Hi, We just upgraded to jboss 3.2.2. All beans, as written for 3.2.2, deployed fine to the container. However, the first simple client tests that I ran are having JNDI problems. Here is the stack trace: [echo] Client CLASSPATH = C:\jboss-3.2.3\client\concurrent.jar;C:\jboss-3.2.3\client\g

[JBoss-user] JDBCEJBQLCompiler NoSuchMethodError

2004-01-16 Thread Ionel GARDAIS
Hi, i am getting the following exception when I try to deploy an EJB relying on a Sybase datasource : [EMAIL PROTECTED]:/home/mount/rtadmin/jboss-3.2.2/server/default/deploy]$15:02:16,147 INFO [MainDeployer] Starting deployment of package: file:/export/home/mount/rtadmin/jboss-3.2.2/server/defau

Re: [JBoss-user] Resource Request Denied with Tomcat

2004-01-16 Thread aalimonti
Hy Pooja, this is the first time i'm using jaas module. I'm using the module included into JBoss 3.2.3. I can access to login page, but after sending login authentication, i recevice http error message /HTTP Status 403 - Access to the requested resource has been denied/ These are the xml configu

Re: [JBoss-user] Interceptor!

2004-01-16 Thread Adrian Brock
On Fri, 2004-01-16 at 10:37, Giovanni Formenti wrote: > Hi, > thanks to your help now I can work with EJB-Intercetors in JBoss 3.2.3... > But I have one more question... it's possible to get the target object from > within the interceptor like targetObject in JBoss4's AOP?! > Just like this: > >

Re: [JBoss-user] JDK Version for JBoss3.2.3

2004-01-16 Thread Ionel GARDAIS
I experienced classloader issues with jdk <= 1.3.1 beta something ... I am not aware of any 1.4.x problems with JBoss. Hope this help = -- Regards, Ionel _ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yah

[JBoss-user] JDK Version for JBoss3.2.3

2004-01-16 Thread Nishant Aggarwal
Hi, I am using JBoss3.2.3_Jetty4.2.14 using JDK1.4.1_02 for my application. I need to baseline my application with a particular JDK version. Can someone please let me know which exact JDK version I should use for it? Also where I can get this kind of information for any JBoss version? Thanks in a

RE: [JBoss-user] CMP: error with cascade delete

2004-01-16 Thread Panagiotis Korros
This happens on Jboss 3.2.3 (build: 200311301445) on a Windows 2000 Server machine. -Original Message- From: Panagiotis Korros Sent: Friday, January 16, 2004 12:59 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] CMP: error with cascade delete I get the following error TransactionRolledbac

[JBoss-user] CMP: error with cascade delete

2004-01-16 Thread Panagiotis Korros
I get the following error TransactionRolledbackLocalException in method: public abstract void javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveException,javax.ejb.EJBException, causedBy: javax.ejb.NoSuchObjectLocalException: Entity not found: primaryKey=84 ... (for complete stack trace go t

[JBoss-user] Interceptor!

2004-01-16 Thread Giovanni Formenti
Hi, thanks to your help now I can work with EJB-Intercetors in JBoss 3.2.3... But I have one more question... it's possible to get the target object from within the interceptor like targetObject in JBoss4's AOP?! Just like this: public Object invoke(Invocation arg0) throws Exception { Obj

[JBoss-user] EJB QL: is this possible?

2004-01-16 Thread ed banfa
Hello,   Assuming I have a CMPBean with an abstract schema name of MyCMPBean and this bean has three cmp managed fields of type int and lets say this field are named x,y and z respectively.   No is it possible/legal to execute an EJBQL statement as follows   SELECT OBJECT (m) FROM MyCMPBean m WHE

[JBoss-user] Resource Request Denied with Tomcat

2004-01-16 Thread aalimonti
Hello, I'm pretty sure this is a known issue, even though I didn't find much about it; I'm trying jaas with JBoss-Jetty version 3.2.2 and everything going well, when i found a method on Jetty ( isUserInRole ) come back always false. So i decided to download tha last version of JBoss with Tomcat, b

[JBoss-user] Resource Request Denied with Tomcat

2004-01-16 Thread aalimonti
Hello, I'm pretty sure this is a known issue, even though I didn't find much about it; I'm trying jaas with JBoss-Jetty version 3.2.2 and everything going well, when i found a method on Jetty ( isUserInRole ) come back always false. So i decided to download tha last version of JBoss with Tomcat,

[JBoss-user] Problems with Jboss 3.2.2

2004-01-16 Thread Maffeo Gaetano
Title: Problems with Jboss 3.2.2 Hi all, I have developed an ASP application with Jboss that runs once for about 30 companies, of course according to the URL it distinguishes with database to use. The database is Microsoft SQL Server 2000 and the driver is JSQLconnect.jar. The platform on

Re: [JBoss-user] Problems with deployment of EJB's in Jboss 3.2.3

2004-01-16 Thread Hans Lund
Alexey Loubyansky wrote: Did you modify standardjbossXXX.xml files in the conf dir? Make sure is in standardjbosscmp-jdbc.xml Thanks, I missed to check that, being absolutely sure that I hadn't made any changes to the standard conf files. But, now I remember that I removed the tag from