[JBoss-user] mdb-client-id and mdb-subscription-id

2003-11-17 Thread Brian Wallis
I cannot find any documentation on these. I am creating a number of MDBs with durable subscriptions. Until now I have only had mdb-subscription-id specified and have from time to time seen duplication of the durable subscription info in the jbossmq-state.xml. This isn't a fatal problem, but ev

Re: [JBoss-user] transactions in MDB - Error: A CMR collection may only be used wi thin the transction in which it was created

2003-11-17 Thread Neal Sanche
For Option 2, you'd do something like: UserTransaction tx = null; InitialContext ctx = null; boolean rollback = false; try { ctx = new InitialContext(); tx = (UserTransaction)ctx.lookup("UserTransaction"); tx.begin(); // Do your thing } catch (Throwable ex) { // M

Re: [JBoss-user] transactions in MDB - Error: A CMR collection may only be used wi thin the transction in which it was created

2003-11-17 Thread Alwyn Schoeman
Hi, As I understand it you have to access the Collection in the same transaction as in which it gets created. 2 options I know of available to you is: 1) Return collection of value objects and iterate over those. 2) Do the CMR access in a UserTransaction. I did the 1st one as I'm not that famil

[JBoss-user] CMP2 and loadbalancing

2003-11-17 Thread Alwyn Schoeman
Hi, My application environment is the following: 1) The same application is duplicated on multiple servers. 2) These servers are loadbalanced by hardware in front of the servers which basically round-robins between the servers. 3) All client requests via http are session- and stateless. 4) Each se

[JBoss-user] Strange NameNotFoundException

2003-11-17 Thread Steven Nakhla
I'm using JBoss-3.2.2-Tomcat and Struts to do a simple web app.  In my Struts Action I attempt to create an instance of a CMP Entity Bean.  However, when I do I get the exception listed below.  I only get this when accessing the bean through my Struts Action, though.  If I write a simple test clien

Re: [JBoss-user] Urgent!!! - transactions in MDB - Error: A CMR colle ction may only be used wi thin the transction in which it was created

2003-11-17 Thread Alexey Loubyansky
You have to check that: - the CMR field is accessed in an active transaction - the CMR collection is used in the transaction in which it was created. Balakrishnan, Vijay wrote: Hi, Could somebody please tell me what i need to do regarding this error. Thanks, Vijay ---

[JBoss-user] Urgent!!! - transactions in MDB - Error: A CMR colle ction may only be used wi thin the transction in which it was created

2003-11-17 Thread Balakrishnan, Vijay
Hi, Could somebody please tell me what i need to do regarding this error. Thanks, Vijay --- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device.

[JBoss-user] UpHandler infinite loop?

2003-11-17 Thread Jim Crossley
Running 3.2.2-Jetty on RH9.0... I have a two node cluster that I seem to have gotten into a terrible state. I've had them both working and farming nicely together, but yesterday I brought one down and now I can't get it back up. At boot time, I get the following NullPointerException in an infini

Re: [JBoss-user] Default String Size

2003-11-17 Thread Alexey Loubyansky
It depends on the database you are using. For example, you could use LONGVARCHAR, or TEXT, or, finally, CLOB. Check the docs for your database supported types. :- ) wrote: Thanks so much Alex, I actually am using standardjbosscmp-jdbc.xml, got a bit confused, sorry! Anyway, bad news is when I

Re: [JBoss-user] Default String Size

2003-11-17 Thread :- )
Thanks so much Alex, I actually am using standardjbosscmp-jdbc.xml, got a bit confused, sorry! Anyway, bad news is when I try to deploy using * @ejb.persistence * column-name="longString"  * jdbc-type="VARCHAR" * sql-type="VARCHAR(512) BINARY" I get an error from Jboss saying: org.jboss.deplo

Re: [JBoss-user] Caching issue?

2003-11-17 Thread Phil Shrimpton
On Friday 14 November 2003 09:15, Adrian Brock wrote: Hi, > > JBoss 3.2.2, Commit Option A... > > > > I have a SLSB method something like... > > > > public void doSomething(){ > > Collection c = OrdersEJB.getItems(); > > > > > > } > > > > If these method is called at the same time b

Re: [JBoss-user] Default String Size

2003-11-17 Thread Alexey Loubyansky
:- ) wrote: Hi Alex, thanks for the reply. Could you tell me the best way to increase the size of a column in JBoss. I'm using the default cmp mappings to deploy and create my database, so if I want to increase the size of the file then I think I have the following options: 1) alter the d

Re: [JBoss-user] Default String Size

2003-11-17 Thread :- )
Hi Alex,   thanks for the reply.   Could you tell me the best way to increase the size of a column in JBoss. I'm using the default cmp mappings to deploy and create my database, so if I want to increase the size of the file then I think I have the following options:   1) alter the default mapping f

RE: [JBoss-user] multiple instances of jboss

2003-11-17 Thread hernan . terzian
I'm much more peaceful now knowing that I'm not the only one... :) Thanks James. -Original Message- From: Clover, James [mailto:[EMAIL PROTECTED] Sent: Lunes, 17 de Noviembre de 2003 01:28 tarde To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] multiple instances of jboss I've run load te

[JBoss-user] concerning availability and performance of e-commerce applications

2003-11-17 Thread Raquel V. Lopes
Hello! I am a Ph.D. student at Universidade Federal de Campina Grande. I am currently trying to better understand why and when n-tier applications fail, and how administrators keep e-commerce applications up and running. We intend to make this task easier than it is up to now. In order to come up

RE: [JBoss-user] multiple instances of jboss

2003-11-17 Thread Rod Macpherson
Using multihome support in JBoss 3.2.2 you can ignore ports and use a different host for each instance. The only caveat is that you must remove snmp-service.sar since that still creates bind errors but other than that it's a snap. You can fire up as many instances of JBoss as memory will permit

[JBoss-user] java.io.StreamCorruptedException / locale problem?

2003-11-17 Thread Stephane Nicoll
Hello list, Following the deployment of our EAR to a french production environment, we start getting strange errors with JBossMQ 2003-11-17 17:38:52,903 [lThread-9] FATAL cannersynch.SyncherSessionBean - Could not use syncher bean: Could not load message : 28 msg=6 soft STORED PERSISTENT queue=QU

[JBoss-user] Cluster configuration for a benchmark

2003-11-17 Thread Bjorn Weis
Hallo, I am trying to get a cluster with jboss 3.2.2 on Suse Linux 8.2 and oracle 8 database to run. In the benchmark application exists jsp, servlets, entity beans which where not clustered, then statefull and stateless session beans which where clustered and message driven beans which can't be

[JBoss-user] Weblogic to JBoss Migration - Differences in XA and Non-XA DataS ource handling (Stack Trace)

2003-11-17 Thread Sasidharan, Manoj
Hello Adrian, Thanks for taking some time for helping me on this issue. Here is the stack trace at the server when the problem occurs. 20:26:31,122 WARN [TxConnectionManager$LocalXAResource] Prepare called on a loc al tx. Use of local transactions on a jta transaction with more than one branch m

[JBoss-user] Weblogic JBoss Migration: Oracle XA and Non-XA DataSource Problem

2003-11-17 Thread Sasidharan, Manoj
Hello All, JBoss 3.2.2 (latest in the tree) Oracle 8.1.7 We are getting the following Oracle XA exception calling a Stateless Session Bean. This session bean uses two datasources - oracle-ds.xml (Non-XA) oracle-xa-ds.xml (XA) The operations done in the Non-XA datasource should not impact the on

Re: [JBoss-user] Default String Size

2003-11-17 Thread Alexey Loubyansky
It is cut off by the database, not JBossCMP. You should increase the size for the column. Brian McSweeney wrote: Hi all, My ejbs are cmp ones and the string parameters I use are as follows /** * @ejb.persistence * column-name="stringDescription" * @ejb.interfac

RE: [JBoss-user] AXIS web service throws NullPointerException whenREDEPLOYING on JBOSS 3.2.2

2003-11-17 Thread Clover, James
Make sure that you remove the jboss-net stuff completely. I've seen this exact problem when I have multiple axis jar files installed in JBoss at the same time. I'd install your axis stuff container-wide rather than in a given ear or war. James -Original Message- From: Pedro Salazar [m

RE: [JBoss-user] multiple instances of jboss

2003-11-17 Thread Clover, James
I've run load tests against three concurrent instances, and have had no problems. I've got plans to run up to eight on a single machine, so you're not crazy at all. Just make sure your port configuration stuff is setup properly. James -Original Message- From: [EMAIL PROTECTED] [mailto:

[JBoss-user] Default String Size

2003-11-17 Thread Brian McSweeney
Hi all,   My ejbs are cmp ones and the string parameters I use are as follows       /** * @ejb.persistence *  column-name="stringDescription" * @ejb.interface-method */   I don’t specify the string length.   However I see in my database that when the data

Re: [JBoss-user] AXIS web service throws NullPointerException when REDEPLOYING on JBOSS 3.2.2

2003-11-17 Thread Pedro Salazar
On Mon, 2003-11-17 at 10:28, Pedro Salazar wrote: > On Fri, 2003-11-14 at 16:36, Stephane Nicoll wrote: > > This is a known issue. Axis has made some bug fixing and I know they > > have been backported in 3.2.3RC1 (if you use JBossNET) > > I already verified with 3.2.3RC1, and it works just fine

[JBoss-user] Error Redeploying Ear with Schedulable MBean

2003-11-17 Thread Scheil, Sven
we are using jboss 3.2.2, win 2k, mySQL 4.0.13. I've developed a simple implementation of the Schedulable interface. Packed it into a sar together with a jboss-service.xml. This sar is packed into the ear (together with a jboss-app.xml) of my application that should be triggered by the Scheduler.

[JBoss-user] multiple instances of jboss

2003-11-17 Thread hernan . terzian
Hi everybody, anyone knows how is the perfomance of 5 instances of jboss running together? Is it possible or am I crazy? Of course, I will optimize the configuration to startup only the necessary libs... Saludos, Hernán. --- This SF. Ne

[JBoss-user] TypeConvertionException with Firebird Database

2003-11-17 Thread Milen Dyankov
Hi all, we have problem using JBoss (3.2.1) with Firebird DB (1.5.0rc7 / JayBird JDCB 1.0.1). Everything works just fine with MySQL at backend, but with Firebird a problem occurs when we try to add serialized object into database. We have field of type "Certificate" where "Certificate" is declar

Re: [JBoss-user] Standalone Tomcat and access to JBoss resources

2003-11-17 Thread Georg Schmid
Jon, that's exactly what I have been looking for! Thanks! Until now I disabled the JNDI implementation in Tomcat by using the -nonaming parameter, effectively disabling the JMX support in Tomcat, which depends on it. As this does not work anymore in Tomat 5.x I seemed to be locked into Tomcat

[JBoss-user] How to tell Axis which serializer to use for a POJO class?

2003-11-17 Thread Jonathan . O'Connor
Folks, JBoss 3.0.8 Axis problem. I'm sure this is easy to solve, but how do I tell SOAP which serializer to use for my POJO class, BsAddressBean? This is labelled in the class comments with: * @jboss-net.xml-schema urn = "XCOM-BS:BsAddressBean" In the client, I am calling setReturnClass:

Re: [JBoss-user] Virtual Directory creation for Jboss

2003-11-17 Thread Ivaturi,Srinivas
Title: Re: [JBoss-user] Virtual Directory creation for Jboss Dear Scott, I could able to create Virual Directory in jboss-3.2.2. Unfortunately our application is running on jboss-3.0.7_jakarta-tomcat-4.1.24. This is already in production. I could not able to find the directory that you hav

Re: [JBoss-user] AXIS web service throws NullPointerException when REDEPLOYING on JBOSS 3.2.2

2003-11-17 Thread Pedro Salazar
On Fri, 2003-11-14 at 16:36, Stephane Nicoll wrote: > This is a known issue. Axis has made some bug fixing and I know they > have been backported in 3.2.3RC1 (if you use JBossNET) > I've been using the axis 1.1 final. The known issue you referred is a problem detected on the axis version from jbo

RE: [JBoss-user] JBoss-net does not like calling EJB method with transaction type = never

2003-11-17 Thread Kevin Conner
> If the bean is 'never' it won't work anyway (because the calls to > the SB with 'Required' TX attribute is done withiout a TX context). > RequiresNew should be used in that case. Are you not talking about mandatory? Required will create a tx context if one does not exist. Kev ---

RE: [JBoss-user] WrappedConnection problem

2003-11-17 Thread Yates, Danny
Passing a JDBC connection doesn't sound like good design to me. Anyway, have you made sure you're closing the connection itself? -- Danny Yates -Original Message- From: mark pope [mailto:[EMAIL PROTECTED] Sent: 15 November 2003 01:15 To: [EMAIL PROTECTED] Subject: [JBoss-user] Wrapped