RE: [JBoss-user] how to upgrade from 3.0.4 to 3.2.2

2003-10-28 Thread Srinivas Malladi
use -ds for datasources. For example use oracle-ds.xml and contents of file for local transcations yourjndiname jdbc:oracle:thin:@:1521: oracle.jdbc.driver.OracleDriver oracleusername oraceusepassword 10 20 -Original Message- From:

Re: [JBoss-user] MDB and Jaas

2003-10-28 Thread Brian Wallis
On Wed, 29 Oct 2003 02:21, Adrian Brock wrote: > This works by wrapping the real connection factory. The wrapper's > createTopicConnection() is redirected to the real connection factory's > createTopicConnection(user, passwd); passing the jaas user/credential. Great, thanks. I thought there had to

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Phil Shrimpton
On Tuesday 28 October 2003 18:40, Alexey Loubyansky wrote: Alex > > Beacuse the detail tables are listed in the FROM clause of the SQL, > > the Joins should always be done or all records from the detail tables > > will be returned regardless of if they have a 'match' in the master table > > or no

Re: [JBoss-user] Problem with SQL query for MySQL

2003-10-28 Thread Rafal Kedziorski
At 20:24 28.10.2003 +0200, Alexey Loubyansky wrote: It is fixed now. In main cvs branch? Regards, Rafal alex Rafal Kedziorski wrote: hi, I'm using MySQL 4.0.13 and 4.0.14 (4.0.16 I will test tomorrow) and JBoss 3.2.2. And I have problems with this query (generated by JBoss): insert into user(c

RE: [JBoss-user] serial mdb execution?

2003-10-28 Thread Adrian Brock
This was discussed last month on this list. The invoker drives the mdb. For the behaviour you want, there is little point configuring 1 mdb instance if you have 15 XASessions (each with an attached message) waiting to use that instance. Also, the pool is only a constraint if you use strict pooli

RE: [JBoss-user] how to upgrade from 3.0.4 to 3.2.2

2003-10-28 Thread Gary S. Cuozzo
Eric, For your datasource config, the -service files seemed to be replaced with -ds files. When I migrated from 3.0.4, I started fresh with one of the files in .../jboss/docs/examples/jca. There are some oracle files in there. Hope that helps. Gary. On Tue, 2003-10-28 at 16:56, Eric J Kaplan w

RE: [JBoss-user] serial mdb execution?

2003-10-28 Thread thomas . cherel
Just for my own understanding of Jboss JMS/MDB implementation, what is the difference between changing the invoker configuration as described below and changing the container pool configuration in the Standard Message Driven Bean (standardjboss.xml): 100 If I put the Maximum size of t

RE: [JBoss-user] Protocol violation!!!!

2003-10-28 Thread Eric J Kaplan
I apologize. We didn't notice before but there was an out of memory error on the server which was most likely the root cause. Regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric J Kaplan Sent: Tuesday, October 28, 2003 2:49 PM To: [EMAIL PROTECT

RE: [JBoss-user] how to upgrade from 3.0.4 to 3.2.2

2003-10-28 Thread Adrian Brock
On Tue, 2003-10-28 at 21:56, Eric J Kaplan wrote: > Jae > > > > I know you had the best intentions, but could you be more specific? I > already know the formats have changed because it doesnât work. > Tobias's notes here should get your started. http://www.jboss.org/thread.jsp?forum=67&threa

Re: [JBoss-user] serial mdb execution?

2003-10-28 Thread Adrian Brock
On Tue, 2003-10-28 at 16:17, Scheil, Sven wrote: > I'm sending several messages with different types to an mdb. One type stands > for an "update" message. That means take the data from the message and > update several entity beans with it. These updates have to be execute > dstrictly serial. But it

Re: [JBoss-user] JZ0C0: Connection is already closed

2003-10-28 Thread Adrian Brock
Hi, I don't think this is the same problem. The fix you mention was a simple typo. This diff fixes that problem: http://cvs.sourceforge.net/viewcvs.py/jboss/jbosscx/src/main/org/jboss/resource/connectionmanager/CachedConnectionManager.java?r1=1.2.2.10&r2=1.2.2.10.2.1 The fix you want is actually

RE: [JBoss-user] forums down/slow?

2003-10-28 Thread Eric J Kaplan
Thanks Ionel. We still see a problem (just with the forums, I can get to other parts of jboss.org just fine). I'm located in New Jersey, USA. Our ISP is a major vendor, and we don't have problems with other sights. Very very strange! -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

[JBoss-user] java thread dumper for windows background processes - (Not for background processes)

2003-10-28 Thread Nicholas
This works for most Win32 platforms Win98 and beyond, but only if the process is in a window. We built it to execute a thread dump if the target process hit a threshhold number of threads. I think the window bit is mandatory. The command line is: td.vbs c:\\j2sdk1.4.2\\bin\\java.exe 60 100 "JBoss

Re: [JBoss-user] forums down/slow?

2003-10-28 Thread Ionel GARDAIS
--- Eric J Kaplan <[EMAIL PROTECTED]> a écrit : > Can anyone get to the forums? I go to jboss.org, > click on forums, and > they never come up. Got them w/o problems ... 21:18 GMT+1 = -- Regards, Ionel ___ Do You Yahoo!? -- Une adres

[JBoss-user] forums down/slow?

2003-10-28 Thread Eric J Kaplan
Can anyone get to the forums?  I go to jboss.org, click on forums, and they never come up.   Eric J. Kaplan Armanta, Inc. 350 Mt. Kemble Ave. Morristown, NJ 07960  

[JBoss-user] using mail datasource

2003-10-28 Thread Jiri Chaloupka
Hallo, I was tried sending the form to e-mail adress and I got : 19:57:11,390 ERROR [STDERR] java.lang.IllegalStateException: Not connected 19:57:11,391 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.checkConnected(SMTPTransport.java:1029) 19:57:11,391 ERROR [STDERR] at com.sun.mail.sm

[JBoss-user] Protocol violation!!!!

2003-10-28 Thread Eric J Kaplan
We just experienced a problem with jboss from the client trying to call a method in a session bean. It seems to be some kind of protocol violation. I've included the log below. Any ideas? It's fairly urgent. Regards Eric 2003-10-28 14:43:42,325 INFO [main] ArmantaDataAbstraction...initializ

Re: [JBoss-user] Off topic: java thread dumper for windows background processes

2003-10-28 Thread Dave Smith
On UNIX kill -3 On Tue, 2003-10-28 at 13:57, Sebastian Hauer wrote: > Hi JBoss users, > > Sorry for being off topic here but I figured some of you might have had > the same problem when you are forced to run JBoss on a windows platform > and you ran as windows service. > > I am looking for somet

[JBoss-user] Off topic: java thread dumper for windows background processes

2003-10-28 Thread Sebastian Hauer
Hi JBoss users, Sorry for being off topic here but I figured some of you might have had the same problem when you are forced to run JBoss on a windows platform and you ran as windows service. I am looking for something that would enable me to take a thread dump from a java process running in the

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Alexey Loubyansky
Phil Shrimpton wrote: On Tuesday 28 October 2003 15:16, Alexey Loubyansky wrote: Alex o.contact.surnameUpper = ?2 OR o.vehicle.registrationNumber = ?3 in English. My interpretation is "select all o that have contact with surname ?2 OR have vehicle with registration number ?3" Note, o is allowe

Re: [JBoss-user] Problem with SQL query for MySQL

2003-10-28 Thread Alexey Loubyansky
It is fixed now. alex Rafal Kedziorski wrote: hi, I'm using MySQL 4.0.13 and 4.0.14 (4.0.16 I will test tomorrow) and JBoss 3.2.2. And I have problems with this query (generated by JBoss): insert into user(class_id, retail_id, mandant_id, language_id, user_data_id, nickname, login_name, pass

RE: [JBoss-user] serial mdb execution?

2003-10-28 Thread Barlow, Dustin
First you need to configure the invoker-proxy-binding for the MDB. Notice the MaximumSize and the MaxMessages. You can find the following in server/ message-driven-bean-max1 default org.jboss.ejb.plugins.jms.JMSContainerInvoker DefaultJMSProvider StdJMSPool

RE: [JBoss-user] serial mdb execution?

2003-10-28 Thread Stephane Nicoll
Greetings, The update message should have some header saying it's an update (some string property: action = "update"). Then you can map an MDB with the following JMS Selector : "action = 'update'" For this MDB you can extend the default container and specify that only one MDB can be instantiated

[JBoss-user] Problem with SQL query for MySQL

2003-10-28 Thread Rafal Kedziorski
hi, I'm using MySQL 4.0.13 and 4.0.14 (4.0.16 I will test tomorrow) and JBoss 3.2.2. And I have problems with this query (generated by JBoss): insert into user(class_id, retail_id, mandant_id, language_id, user_data_id, nickname, login_name, password, status, creation_date, last_login_date) va

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Phil Shrimpton
On Tuesday 28 October 2003 15:16, Alexey Loubyansky wrote: Alex > >> >> > o.contact.surnameUpper = ?2 OR o.vehicle.registrationNumber = ?3 > >> > >>in English. > >> > >>My interpretation is "select all o that have contact with surname ?2 OR > >>have vehicle with registration number ?3" > >>Note,

[JBoss-user] serial mdb execution?

2003-10-28 Thread Scheil, Sven
I'm sending several messages with different types to an mdb. One type stands for an "update" message. That means take the data from the message and update several entity beans with it. These updates have to be execute dstrictly serial. But it comes that more than one update message at the same tim

RE: [JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Martin Vilcans
I don't know whether it's a JBoss bug you've run into, but if you reuse the same prepared statement instead of creating new ones in the loop, I guess you won't experience the problem. You are supposed to reuse prepared statements anyway, something like this: ps = connection.prepareStatement("inser

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Alexey Loubyansky
Phil Shrimpton wrote: On Tuesday 28 October 2003 10:13, Alexey Loubyansky wrote: Let's describe the condition >> > o.contact.surnameUpper = ?2 OR o.vehicle.registrationNumber = ?3 in English. My interpretation is "select all o that have contact with surname ?2 OR have vehicle with registration

Re: [JBoss-user] MDB and Jaas

2003-10-28 Thread Adrian Brock
On Tue, 2003-10-28 at 12:56, Brian Wallis wrote: > I have another question, this time about JAAS and JMS. > > If I am a client app and login via JAAS (using the clientloginmodule) and then > I want to subscribe to a JMS topic. As far as I can tell the JAAS login info > (principal/credential) is

RE: [JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Ricardo Coutinho
Hi all,   I played around with the   and ran into a problem.   In one part of my code I am reusing a statement to perform inserts into a table within the same transaction...   while(e.hasMoreElements())   {String val = (String)e.nextElement();   ps = connection.prepareStatement("ins

Re: [JBoss-user] MDB and Jaas

2003-10-28 Thread Brian Wallis
I have another question, this time about JAAS and JMS. If I am a client app and login via JAAS (using the clientloginmodule) and then I want to subscribe to a JMS topic. As far as I can tell the JAAS login info (principal/credential) is not used and I have to specify the username/password for

RE: [JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Brian McSweeney
Cool, thanks a million! Brian   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafal Kedziorski Sent: 28 October 2003 11:18 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss 3.2.2 and prepared statement cache   At 12:32 28.10.2003, Brian M

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Phil Shrimpton
On Tuesday 28 October 2003 10:13, Alexey Loubyansky wrote: Hi, > >>I think, the join should be done per the term, i.e. this way: > >> > >>(contact.SURNAME_UPPER = ? AND o.CONTACT_ID=contact.ID) > >>OR (vehicle.REGNUMBER = ? AND o.VEHICLE_ID=vehicle.ID) > > > > The problem with this, is the join

Re: [JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Rafal Kedziorski
At 12:32 28.10.2003, Brian McSweeney wrote: Hi all,   I’ve heard that there are significant performance increases with 3.2.2 to do with prepared statement caching. Is there anything that you have to do in terms of configuration files for this, or is it just an automatic performance increase. Yo

[JBoss-user] (no subject)

2003-10-28 Thread deepak saini
hi all I have downloaded jboss 3.2.2. it is bundled with tomcat. I want to run a sample servlet. Can anyone tell me where to find the instrcutions for the same. Regards Deepak Saini _ Special offer from American Express.Don't miss out

[JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Brian McSweeney
Hi all,   I’ve heard that there are significant performance increases with 3.2.2 to do with prepared statement caching. Is there anything that you have to do in terms of configuration files for this, or is it just an automatic performance increase.   Thanks, Brian

[JBoss-user] JMX HtmlAdaptor servlet produces ISO-8859-1 coded pages!

2003-10-28 Thread Milen Dyankov
Hi all, I'm using "JBoss-3.2.1_tomcat-4.1.24" and I have few MBeans storing their properties in database. I have noticed that "HtmlAdaptor" servlet produces "ISO-8859-1" coded pages. This causes a problem when MBean properties contain non-English characters. For example polish character "Ä" is w

Re: [JBoss-user] 3.2.2 : Incorrect SQL generation

2003-10-28 Thread Alexey Loubyansky
Phil Shrimpton wrote: On Friday 24 October 2003 10:50, Alexey Loubyansky wrote: as for me, 3.0.8 is wrong and 3.2.2 is correct. Interesting, especially as another app server (Borland's) generates the same SQL as 3.0.8 Since you use OR between the terms > o.contact.surnameUpper = ?2 OR o.vehicl

Re: [JBoss-user] Looking for article on JBoss/Web Services/Axis

2003-10-28 Thread Giovanni Formenti
Just some links: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-He lloWorld.shtml http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJ B-example.shtml http://www.nsdev.org/jboss/stories/jboss-net.html I'm searching too something about Web service

[JBoss-user] Update: XDoclet changes for JBoss

2003-10-28 Thread Jon Barnett
I have updated the XDoclet changes for JBoss as I found that the 1.2b4 release also did not cater for the jboss-web.xml changes for JBoss 3.2, leaving out the 3.2 DTD. The change I've suggested allows the use of ejb-local-ref in jboss-web.xml. As this modification requires some source changes, I ha