[JBoss-user] deployment problem with 3.2.1

2003-07-24 Thread Raghuram
hi, i am getting the following error when i try to start the server. am not sure what the reason is. 11:38:01,286 INFO [MainDeployer] Starting deployment of package: file:/C:/jbo -3.2/server/default/conf/jboss-service.xml 11:38:02,328 ERROR [MainDeployer] could not create deployment:

Re: [JBoss-user] ApplicationDeadlockException on read-onlymethods

2003-07-24 Thread Chris May
Thanks Julien - I think that explains it. So if another TX has already locked the bean, then it's not possible to call the read-only method until the first TX completes? That might well explain what I'm seeing. Is there a way to have some methods that don't lock the bean at all? Kind of like

Re[2]: [JBoss-user] DeploymentException: Couldn't create entity command

2003-07-24 Thread Alexey Loubyansky
Hello Martin, I assume, you don't use jbosscmp-jdbc.xml. Did you modify standardjbosscmp-jdbc.xml? Can you send me a testcase? Thank you, alex Wednesday, July 23, 2003, 5:02:04 PM, Martin LaJeunesse wrote: MJL Hello Alex, MJL Follows the ejb-jar.xml and jboss.xml. Is there any other

Re: [JBoss-user] Managed Connection Pool running out of connections

2003-07-24 Thread Andrew May
Thanks, yes I figured it out in the end, and actually I've removed transactions altogether for the beans involved because everything is read-only and there's no worries about inconsistent state. I think there's probably a bug in the Connection Manager, so that when

[JBoss-user] 3.2.2RC2 available

2003-07-24 Thread Scott M Stark
The 3.2.2RC2 release is available from SourceForge: http://sourceforge.net/project/showfiles.php?group_id=22866 Release notes may be found here: http://sourceforge.net/project/shownotes.php?release_id=163973 -- Scott Stark Chief Technology Officer JBoss Group, LLC

AW: AW: [JBoss-user] problems with mysql and transactions

2003-07-24 Thread Scheil, Sven
hi scott, we are suing mysql-connector 3.0.8. but i've created a test scenario where this error occurs with cloudscape and mysql the same way. the implmentation of the sequence pattern comes from the book 'EJB Design Patterns' from floyd marinescu. the tx timeout only occurs when the

Re: AW: AW: [JBoss-user] problems with mysql and transactions

2003-07-24 Thread Alexey Loubyansky
Hello Sven, this your sequence: client - a.init() required - a.initMessage() required - message.create() required - sequenceService.getNextSequenceNumber() required - sequence.getValueAfterIncrementingBy RequiresNew after entity bean is created, it is locked by the tx in which it was created.

[JBoss-user] Message to User about JBoss Startup Complete

2003-07-24 Thread Muraly R
Hi Gurus, Objective Since my web server and all other services start prior to JBoss, I want to provide a notification to user through the web UI, saying that the services are starting, if the user tries to access the application before the App. server is up. To Know === What I

[JBoss-user] JBoss Transaction Problems

2003-07-24 Thread Nikolay Ganev
hi all, I tried to test CMT using JBoss. I made simple example using Session Statefull Bean updating the database... there is method that intentionally throwing exception - and i hoped that all changes will be rollback but they didnt i send u some code and XML settings: method: .

Re: [JBoss-user] Message to User about JBoss Startup Complete

2003-07-24 Thread julien viet
The started field could be added as an attribute on the ServerImplMBean mbean. Actually there is no way to know, though it is possible to know when the server starts because it sends a JMX notification at this moment. julien MR Hi Gurus, MR Objective MR MR Since my web server and all

[JBoss-user] Parallel thread performance: A JBoss client example

2003-07-24 Thread Jon Barnett
As some people have asked about more complex loads, we provide an example that first lead us to investigate the issue of performance. With a multi-CPU system at our disposal, we should be able to generate a lookup load and a remote invocation load using multiple threads and measure throughput.

Re: [JBoss-user] JBoss Transaction Problems

2003-07-24 Thread Dan Christopherson
Per the EJB spec, throwing an application exception doesn't cause a rollback. call setRollbackOnly on the bean's context object. Nikolay Ganev wrote: hi all, I tried to test CMT using JBoss. I made simple example using Session Statefull Bean updating the database... there is method that

RE: [JBoss-user] JBoss Transaction Problems

2003-07-24 Thread Danny . Yates
What, you mean like the line immediately above where he threw the exception? :-) -- Danny Yates -Original Message- From: Dan Christopherson [mailto:[EMAIL PROTECTED] Sent: 24 July 2003 15:27 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JBoss Transaction Problems Per the EJB

Re[2]: [JBoss-user] JBoss Transaction Problems

2003-07-24 Thread Nikolay Ganev
hi all, I solved my problem!! the problem was in the database - i use MySQL 4.1. I tried the same example using MSSQL2000 and it works!! can anybody tell me what to do in order to run transaction on MySQL??? DC Per the EJB spec, throwing an application exception doesn't cause a DC rollback.

RE: [JBoss-user] Database JNDI Name Not Found

2003-07-24 Thread Danny . Yates
But it raises an interesting design point. Why not simply have an XML deployer which picks up all *.xml files, inspects the DOCTYPE and then uses that to delegate to the correct sub-deployer. Would that not be a cleaner design? Rgds, Dan. -- Danny Yates -Original Message- From:

[JBoss-user] URGENT ASSISTANCE

2003-07-24 Thread THEODORA BANKSWAY
From: Mrs Theodora Banksway PLEASE ENDEAVOUR TO USE IT FOR THE CHILDREN OF GOD. I am the above named person from Kuwait. I am married to Mr. Paul Banksway who worked with Kuwait embassy in Ivory Coast for nine years before he died in the year 2001. We were married for eleven years without

Re: [JBoss-user] JBoss Transaction Problems

2003-07-24 Thread Erik Price
Nikolay Ganev wrote: hi all, I solved my problem!! the problem was in the database - i use MySQL 4.1. I tried the same example using MSSQL2000 and it works!! can anybody tell me what to do in order to run transaction on MySQL??? You need to use InnoDB table type, not MyISAM.

Re: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-24 Thread Kevin Duffey
Very good stuff! Question, how can we proceed in testing a clustered setup along similar lines as you have done here? I am curious to see how effective scaling a given application is. From a single node, to two nodes, to three nodes, then on to a second partition and so forth. It would be

[JBoss-user] HiLo key generator

2003-07-24 Thread Nadeem Bitar
Is the HiLo key generator present in 4.0DR2 going to be back ported to 3.2.2. Is anyone using it with 3.2.1? -- xxx Nadeem Bitar Software Engineer IzuCode, LLC xxx --- This SF.Net email sponsored by: Free

Re: [JBoss-user] HiLo key generator

2003-07-24 Thread Alexey Loubyansky
Hello Nadeem, when I wrote it, I asked on the list whether someone is interested in it for 3.2 branch. No one showed interest. So, I didn't back port it. For what would you need it? Thanks, alex Thursday, July 24, 2003, 7:04:08 PM, Nadeem Bitar wrote: NB Is the HiLo key generator present in

Re: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-24 Thread Bela Ban
Kevin, Jon, when you get to that point, knock on my door. There are huge perf gains to be realized by using protocol stack specs that are optimally tuned to the task at hand. E.g. for large sustained message tests, you would *not* fare well with the default properties for JavaGroups. Cheers,

[JBoss-user] MBean - Help

2003-07-24 Thread Keene Hammond
Hi, Can someone shed some light on what is needed in JBoss 3.2.1 to create a custom mbean. My mbean works fine in 3.0.4 but produces the stack trace below when used in 3.2.1: 2003-07-24 13:32:07,246 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:

RE: [JBoss-user] Message to User about JBoss Startup Complete

2003-07-24 Thread Fred Hartman
See the JMX message org.jboss.system.server.Server.START_NOTIFICATION_TYPE. The MBean would look something like this: import org.jboss.system.server.Server; import javax.management.Notification; import javax.management.NotificationFilter; import javax.management.NotificationListener; import

Re: [JBoss-user] 3.2.2RC2 available

2003-07-24 Thread Hunter Hillegas
The notes specify see the JBoss/Jetty section for the Jetty version. Where can I find that section? Hunter From: Scott M Stark [EMAIL PROTECTED] Organization: JBoss Group Reply-To: [EMAIL PROTECTED] Date: Wed, 23 Jul 2003 23:37:03 -0700 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject:

Re: [JBoss-user] HiLo key generator

2003-07-24 Thread Nadeem Bitar
Hi Alex, I have been using a modified HiLo key generator from OpenSymphony but i would prefer to move to using the one bundled with JBoss. As i am not sure when Jboss 4.0 is going to be released and I need to deploy my current project in September, i wanted to know if it would be possible to use

Re[2]: [JBoss-user] HiLo key generator

2003-07-24 Thread Alexey Loubyansky
Why don't you do it yourself then? :) It shouldn't be hard. Do you need my help? alex Thursday, July 24, 2003, 9:17:01 PM, Nadeem Bitar wrote: NB Hi Alex, NB I have been using a modified HiLo key generator from OpenSymphony but i NB would prefer to move to using the one bundled with JBoss. NB

Re: [JBoss-user] Database JNDI Name Not Found

2003-07-24 Thread Scott M Stark
That is simply a restriction of the current architecture. If deployers want to base recognition off of the doctype they may do so. However, it is to restrictive. The JARDeployer in fact works by NOT finding an xml file that could be considered a deployment descriptor. A log4j configuration

Re: [JBoss-user] MBean - Help

2003-07-24 Thread Scott M Stark
And where is the LDAPConnectionPoolMBean interface? -- Scott Stark Chief Technology Officer JBoss Group, LLC Keene Hammond wrote: Hi, Can someone shed some light on what is needed in JBoss 3.2.1 to create a custom mbean. My mbean works fine in

Re: Re[2]: [JBoss-user] HiLo key generator

2003-07-24 Thread Nadeem Bitar
I honestly didn't look at it, i just found it and thought it would be nice to use that. Is there anything special to do? Otherwise i would do it myself. nadeem On ?, 2003-07-24 at 11:44, Alexey Loubyansky wrote: Why don't you do it yourself then? :) It shouldn't be hard. Do you need my help?

Re: [JBoss-user] MBean - Help

2003-07-24 Thread Keene Hammond
Scott M Stark wrote: And where is the LDAPConnectionPoolMBean interface? The interface and mbean are in a jar file at com.paychex.oeg.ldap.mbean.LDAPConnectionPool com.paychex.oeg.ldap.interfaces.LDAPConnectionPoolMBean This jar file is with another jar in the root of a sar file. the

[JBoss-user] CMR Problem in 3.2.2RC2

2003-07-24 Thread Gavin Matthews
Hi, I posted this to the group a couple of weeks ago when trying to get 3.2.2RC1 working. Alex had a look at it and figured it was fixed for RC2. As RC2 was only a couple of weeks away I decided it'd be easier for me to wait for RC2 than build it, my mistake, I've just grabbed RC2 - it's still

[JBoss-user] Please Help

2003-07-24 Thread Peter Luttrell
Does anyone know how to fix this 11:09:35,453 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=IS756//117, BranchQ ual=] errorCode=XAER_PROTO javax.transaction.xa.XAException at

Re: [JBoss-user] MBean - Help

2003-07-24 Thread Scott M Stark
That is not a valid standard mbean as its management interface must be bean+'MBean' or in your case, com.paychex.oeg.ldap.mbean.LDAPConnectionPoolMBean. It cannot be in a seperate package. There is no way this worked on 3.0.4 as deploying an mbeans.impl.ConnectionPool standard mbean implementing

Re: [JBoss-user] 3.2.2RC2 available

2003-07-24 Thread Scott M Stark
In the middle of the Files section or from the Latest File Releases section of the Summary page. -- Scott Stark Chief Technology Officer JBoss Group, LLC Hunter Hillegas wrote: The notes specify see the JBoss/Jetty section for the Jetty version.

Re: [JBoss-user] 3.2.2RC2 available

2003-07-24 Thread Hunter Hillegas
Sorry, dunno how I missed that. Thanks. From: Scott M Stark [EMAIL PROTECTED] Organization: JBoss Group Reply-To: [EMAIL PROTECTED] Date: Thu, 24 Jul 2003 18:13:15 -0700 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] 3.2.2RC2 available In the middle of the Files section or from the

RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-24 Thread Jon Barnett
Kevin, Bela; First thanks for the offer of help, Bela. Being downunder, sometimes you feel a bit isolated - where is the Australian JBoss user community? ;) Anyway, I'm not sure where things are headed with testing but help is always appreciated. The testing question is a big one. It depends on

[JBoss-user] MBean attribute value with XML format

2003-07-24 Thread Brian Wallis
I'm trying to configure an MBean that has an attribute that requires a value in XML format. The MBean is defined in jboss-service.xml in the conf directory something like... mbean code=a.b.c.d name=jboss.deployment:service=abcd attribute name=DepInfo ![CDATA[ depinfo value name=abcA

Re: [JBoss-user] Parallel thread performance: A JBoss client exam ple

2003-07-24 Thread Brian Wallis
On Fri, 25 Jul 2003 13:28, Jon Barnett wrote: where is the Australian JBoss user community there are a few of us lurking around brian wallis Melbourne, Australia --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including

Re: [JBoss-user] MBean attribute value with XML format

2003-07-24 Thread Scott M Stark
Because we expect that if you want an xml fragment you define your attribute type to be org.w3c.dom.Element in which case you get the attribute content child element. However, its a bug that we are not parsing anything but Text element content if this is not the case. Open a bug report on

RE: [JBoss-user] Parallel thread performance: A JBoss client example

2003-07-24 Thread Kevin Duffey
For me, I want a comprehensive suite of tests to run. I want to measure the response times between a client and the server, the time a server gets a request until the time it goes back, the number of threads running, the number of simultaneous requests going at one time. I want to see reports on