Re: [JBoss-user] ejbStore() is not called

2003-09-26 Thread Yasuhiro Takahashi
Hi Adrian, Here is current environment info and configuration. JDK: 1.3.1_08 ( Because a crypto library does not work in 1.4+) OS: Windows Server 2000, Windows XP Pro JBoss: 3.2.1, 3.2.2RC3 DB: Microsoft SQL Server 2000(SP3) JDBC: The driver Microsoft made Bean: BMP Entity Bean (EJB 1.1 spec)

Re: [JBoss-user] speed

2003-09-26 Thread Rafal Kedziorski
hi, At 13:56 25.09.2003, Bill Burke wrote: [...] We've also added prepared statement caching too, which gave a nice performance increase in the Specj bench. In *-ds.xml prepared-statement-cache-size200/prepared-statement-cache-size I tryied this in my mysql-ds.xml (we are using MySQL 4.0.15

[JBoss-user] Clustered JMS and JMS-Message size

2003-09-26 Thread Christofer Dutz
Hi there I have two questions about the JBoss jms-server : 1. When JBoss is run in clustered mode, is the JMS-Service replicated so any server could die, or is it that there is one primary JMS-server and all other requests are redirected to that server? 2. Is there a size-limit to the

[JBoss-user] Postgres, Oracle and CLOB

2003-09-26 Thread Markus Härnvi
Hi! I want to deploy the same CMP based application to PostgreSQL and Oracle9i. Since one field is a CLOB in the pre-existing Oracle database I need to set some extra XDoclet tags: @jboss.column-name name=logmsg @jboss.sql-type type = CLOB @jboss.jdbc-type type = CLOB Oracle handles this, but

[JBoss-user] Exception staring Persistence Manager for JBoss3.2.2 with MySQL 4 .1

2003-09-26 Thread FUHRER Patrik
Hi, While starting the persistence manager, JBoss throws the following exception... 10:47:19,988 INFO [PersistenceManager] Starting 10:47:20,759 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be

[JBoss-user] ql syntax.

2003-09-26 Thread Stefan Groschupf
Hi there, sorry i have still problems by bringing a sql query in a useable ejb-ql synatax. I had browse some ejb.ql how to but still have problems compiling my ejb-ql statement. Could someone give me a hint? My SQL: select distinct(o.fk_Topic), count(a.fk_document) as num from Occurrence

Re: [JBoss-user] ejbStore() is not called

2003-09-26 Thread Adrian Brock
You haven't posted your User Configuration 0 Also the logs don't show enough, I don't see the finder or the commit. I do see it registering the context for synchronization at transaction end. You didn't answer my question about isModified() Finally, what is happening with your key? TRACE

Re: [JBoss-user] Exception staring Persistence Manager for JBoss3.2.2 with MySQL 4 .1

2003-09-26 Thread Adrian Brock
On Fri, 2003-09-26 at 12:43, FUHRER Patrik wrote: Hi, While starting the persistence manager, JBoss throws the following exception... 10:47:19,988 INFO [PersistenceManager] Starting 10:47:20,759 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve

Re: [JBoss-user] JMS messaging tests using JBoss

2003-09-26 Thread Stefan Puiu
Hello Adrian and thanks for the suggestion, the point is the use case is 100% asynchronous, the JMS client is supposed to do other things and get notified when a reply comes. The processing that the MDB on the other side is doing is quite lengthy also, so this and the nature of the use case

RE: [JBoss-user] Exception staring Persistence Manager for JBoss3.2.2 with MySQL 4 .1

2003-09-26 Thread Stephane Nicoll
I am worried about the test.jms_messages thing in deploy/jms/jbossmq-service.xml you have the definition of the persistence manager which points to a MySQL DB. Do you have a test DB? Normally the user provided in the datasource should be able to create tables. If not that might me be the problem

Re: [JBoss-user] Exception staring Persistence Manager for JBoss3.2.2 with MySQL 4 .1

2003-09-26 Thread Langelage, Frank
FUHRER Patrik wrote: Hi, While starting the persistence manager, JBoss throws the following exception... 10:47:19,988 INFO [PersistenceManager] Starting 10:47:20,759 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message

Re: [JBoss-user] JMS messaging tests using JBoss

2003-09-26 Thread Adrian Brock
Why don't you get the responses sent to your test? The test can then wait for all responses or timeout. Regards, Adrian On Fri, 2003-09-26 at 13:30, Stefan Puiu wrote: Hello Adrian and thanks for the suggestion, the point is the use case is 100% asynchronous, the JMS client is supposed to

[JBoss-user] Problem in shutdown of JBoss3.2.0 programmatically

2003-09-26 Thread Kirti Girdhar
Hi all, I am starting my jboss my own application which is monitoring jboss and starting and shutting down jboss. But I could not able to shutdown for problem as it is running in same JVM. The code is given below. We put the shutdown.jar in our classpath also. Then my application does not

Re: [JBoss-user] jbossjmx-ant.jar

2003-09-26 Thread Scott M Stark
Yes, none of the client jars should be including jndi.properties files as it does make it difficult to track down configuration problems. Scott Stark Chief Technology Officer JBoss Group, LLC Fusayuki Minamoto wrote: Is it troublesome that the

Re: [JBoss-user] JBossSX Question

2003-09-26 Thread Scott M Stark
Read the JAAS howto available here to get a better idea of how the client and server side interact. http://sourceforge.net/docman/?group_id=22866 For a web app running outside of the JBoss server hosting the ejbs, you would have to tell JAAS which configuration file is being used via the

Re: [JBoss-user] speed

2003-09-26 Thread Bill Burke
Thanks for this. Found bug, simple fix. Bill Rafal Kedziorski wrote: hi, At 13:56 25.09.2003, Bill Burke wrote: [...] We've also added prepared statement caching too, which gave a nice performance increase in the Specj bench. In *-ds.xml

RE: [JBoss-user] Exception staring Persistence Manager for JBoss3.2.2 with MySQL 4 .1

2003-09-26 Thread Stephane Nicoll
- rename this file to mysql-jdbc2-service.xml There is such a file in the doc/examples directory of the distribution Regards, Stephane --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

[JBoss-user] Errors starting jboss 3.2.1

2003-09-26 Thread Departamento Computacao
Hy, whenI start jbossI have the following errors: 10:27:07,156 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (org.jboss.util.NestedSQLException: Failed to

FW: [JBoss-user] error while using autocommit as false

2003-09-26 Thread rajeshnn
Hi I havent yet got a reply to my query as mentioned below in the mail. I am not able yo proceed with the work because of this. My application works witout any problem in J2EE Oracle 9iAS Could you pls help Regards Rajesh -Original Message- From: rajeshnn Sent: Thursday, September

Re: [JBoss-user] speed

2003-09-26 Thread Bill Burke
Fixed in Branch_3_2 and HEAD. Bill Burke wrote: Thanks for this. Found bug, simple fix. Bill Rafal Kedziorski wrote: hi, At 13:56 25.09.2003, Bill Burke wrote: [...] We've also added prepared statement caching too, which gave a nice performance increase in the Specj bench. In *-ds.xml

Re: [JBoss-user] Errors starting jboss 3.2.1

2003-09-26 Thread Adrian Brock
On Fri, 2003-09-26 at 14:37, Departamento Computacao wrote: Hy, when I start jboss I have the following errors: 10:27:07,156 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; -

Re: FW: [JBoss-user] error while using autocommit as false

2003-09-26 Thread Adrian Brock
There is something wrong with your email. I have responded to it - twice. http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg32302.html http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/msg32327.html Regards, Adrian On Fri, 2003-09-26 at 14:51, rajeshnn wrote: Hi

Re: FW: [JBoss-user] error while using autocommit as false

2003-09-26 Thread Bill Burke
Please send your *-ds.xml file. If you are setting autocommit, then you should not be using a transactional pool as JBoss will enlist the connection within a transaction and call commit for you. Bill rajeshnn wrote: Hi I havent yet got a reply to my query as mentioned below in the mail. I

RE: [JBoss-user] Errors starting jboss 3.2.1

2003-09-26 Thread Stephane Nicoll
Could you please at least READ the stacktrace, which says: Failed to register driver for: interbase.interclient.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: interbase.interclient.Driver); Meaning, the driver for the interbase DB was

[JBoss-user] ejb-local-ref

2003-09-26 Thread Bruce Ashton
I'm having some difficulty working out the intricacies of JNDI and ejb-local-ref elements in ejb-jar.xml I have a simple entity bean with a local interface that can be found with a lookup on local/TemplateEntity, i.e. lCtx = new InitialContext(); TemplateEntityHome teHome

Re: [JBoss-user] ejb-local-ref

2003-09-26 Thread Adrian Brock
The ejb-link should contain the ejb-name of the bean you want to reference. Not the jndi name. Regards, Adrian On Fri, 2003-09-26 at 15:21, Bruce Ashton wrote: I'm having some difficulty working out the intricacies of JNDI and ejb-local-ref elements in ejb-jar.xml I have a simple entity

Re: [JBoss-user] JMS messaging tests using JBoss

2003-09-26 Thread Stefan Puiu
Adrian, you lost me here, as far as I know a JMS destination can be either a JMS queue or topic, from where either a message listener or a thread calling receive() on the respective destination picks it up. The problem with waiting for replies was the transaction deadlock problem, I've set all

RE: [JBoss-user] ejb-local-ref

2003-09-26 Thread Bruce Ashton
The ejb-name and the jndi-name are actually identical in this case. Could this cause a problem? I thought this was equivalent to the situation where you have no jboss.xml - in which case the ejb-name becomes the jndi-name. -Original Message- From: Adrian Brock [mailto:[EMAIL

Re: [JBoss-user] speed

2003-09-26 Thread Rafal Kedziorski
At 15:49 26.09.2003, Bill Burke wrote: Fixed in Branch_3_2 and HEAD. thx. Bill Burke wrote: Thanks for this. Found bug, simple fix. Bill Rafal Kedziorski wrote: --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.

RE: [JBoss-user] ejb-local-ref

2003-09-26 Thread Adrian Brock
First, the beans are in the same top level deployment? That is a requirement for ejb-link. You should have something like: ejb-local-ref ejb-ref-nameTemplateEntityX/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type local-homecom.activis.ejb.entity.TemplateEntityHome/local-home

[JBoss-user] [OT] ejb-ref/ejb-external-ref...what? why?

2003-09-26 Thread Darren Hartford
Hey all! I have an older application that I wrote with EJB's to run on JBoss. This works great as-is, and now going back through and re-factoring (not exactly J2EE code, trying to get that way). I have session beans that import entity bean code and everything works fine. When I start playing

Re: [JBoss-user] JMS messaging tests using JBoss

2003-09-26 Thread Stefan Puiu
Hey, I've set the isIdentical and the method that was causing me problems (getValueObject) to be read-only, changed the behaviour of the test class to do a synchroneous receive() after sending the message and it works! The great thing is that eases my work in testing, because instead of having

[JBoss-user] FW: JBoss-net with complex type (no serializer found)

2003-09-26 Thread Stephane Nicoll
Hello, I am very sorry but I forgot to include my LoginRequst.java and the LoginResponse.java inside my ejbdoclet task (that's why the complex type were not generated) Now it works! Cheers, Stephane -Original Message- From: Stephane Nicoll Sent: Friday, September 26,

RE: [JBoss-user] Re:[JBoss-user]ClassCircularityError-QueuedPessimisticEJBLock$TxLock

2003-09-26 Thread Robert Cauble
That makes sense. Thanks. In any case, we've found a way to workaround this issue which works for our purposes. Basically, we've moved everything from jboss/server/default/lib to jboss/lib and moved all the jars from all the sars to jboss/lib. I realize that this basically defeats hot-deploy of