[JBoss-user] deployment problem with 3.2.1
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: file:/C:/jboss- 2/server/default/conf/jboss-service.xml java.lang.AbstractMethodError at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister ava:30) at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java 4) at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java 9) at org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java 30) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:171) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:388) at java.lang.Thread.run(Thread.java:484) 11:38:02,448 ERROR [Server] Failed to start org.jboss.deployment.DeploymentException: Could not create deployment: file:/C jboss-3.2/server/default/conf/jboss-service.xml; - nested throwable: (java.lan AbstractMethodError) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:802) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:388) at java.lang.Thread.run(Thread.java:484) + nested throwable: java.lang.AbstractMethodError at org.jboss.net.protocol.file.FileURLLister.listMembers(FileURLLister ava:30) at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java 4) at org.jboss.net.protocol.URLListerBase.listMembers(URLListerBase.java 9) at org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java 30) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:171) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:388) at java.lang.Thread.run(Thread.java:484) Failed to boot JBoss: org.jboss.deployment.DeploymentException: Could not create deployment: file:/C jboss-3.2/server/default/conf/jboss-service.xml; - nested throwable: (java.lan AbstractMethodError) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:802) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMB nDispatcher.java:284) at
Re: [JBoss-user] ApplicationDeadlockException on read-onlymethods
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 optimistic locking, but applied per-method (so that write methods still lock the bean, but a read method can execute even against a locked bean?) ta Chris [EMAIL PROTECTED] 07/23/03 07:24pm with QueuedPessimisticEJBLock, read-only shorten the duration of the lock, it does not remove it. it locks the bean for the duration of the call instead of the duration of the transaction. julien CM As I understand it, methods marked as read-only on an entity bean shouldn't try and lock the bean when they are called. So, if I have two instances of an entity bean (same bean class, different CM PK), they can call read-only methods on each other at the same time. CM So, can anyone explain why I'm seeing ApplicationDeadlockExceptions on read-only methods in my application? Example stack trace: CM org.jboss.ejb.plugins.lock.ApplicationDeadlockException: Application deadlock detected: Two or more transactions contention. CM at org.jboss.ejb.plugins.lock.BeanLockSupport.deadlockDetection(BeanLockSupport.java:138) CM at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedPessimisticEJBLock.java:270) CM at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimisticEJBLock.java:209) CM at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimisticEJBLock.java:157) CM at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:85) CM at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53) CM at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) CM at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) CM at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) CM at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117) CM at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) CM at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) CM at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:483) CM at org.jboss.ejb.Container.invoke(Container.java:674) CM at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:353) CM at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38) CM at $Proxy80.getUrlPathNoSlash(Unknown Source) CM at uk.ac.warwick.cms.model.PageLocation.getChildLocations(PageLocation.java:743) CM getUrlPathNoSlash() is, as far as I can tell, marked as read-only, and it's basically just a call to a CMP accessor with a little bit of string parsing CM relevant chunk of jboss.xml CM entity CM ejb-namePageLocationEntity/ejb-name CM local-jndi-nameejb/cms/PageLocationEntity/local-jndi-name CM method-attributes CM method-nameget*/method-name CM read-onlytrue/read-only CM /method-attributes CM /entity CM Can anyone help, or point me in the right direction? CM thanks, CM Chris CM --- CM This SF.Net email sponsored by: Free pre-built ASP.NET sites including CM Data Reports, E-commerce, Portals, and Forums are available now. CM Download today and enter to win an XBOX or Visual Studio .NET. CM http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 CM ___ CM JBoss-user mailing list CM [EMAIL PROTECTED] CM https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, julienmailto:[EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED]
Re[2]: [JBoss-user] DeploymentException: Couldn't create entity command
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 information I give you? MJL thanks, MJL Marty La Jeunesse MJL ejb-jar.xml: MJL ?xml version=1.0 encoding=UTF-8? MJL !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; MJL ejb-jar MJL display-nameCustom Security Trading App/display-name MJL enterprise-beans MJL entity MJL descriptionTrading Account Entity Bean./description MJL ejb-nameTradingAccount/ejb-name MJL homecom.mkeym.customsec.interfaces.TradingAccountHome/home MJL remotecom.mkeym.customsec.interfaces.TradingAccount/remote MJL ejb-classcom.mkeym.customsec.ejb.TradingAccountBean/ejb-class MJL persistence-typeContainer/persistence-type MJL prim-key-classjava.lang.String/prim-key-class MJL primkey-fieldaccountId/primkey-field MJL reentrantFalse/reentrant MJL abstract-schema-nameTradingAccount/abstract-schema-name MJL cmp-field MJL field-nameaccountId/field-name MJL /cmp-field MJL cmp-field MJL field-namebalance/field-name MJL /cmp-field MJL resource-ref MJL res-ref-namejdbc/DB2DBA/res-ref-name MJL res-typejavax.sql.DataSource/res-type MJL res-authContainer/res-auth MJL /resource-ref MJL /entity MJL /enterprise-beans MJL assembly-descriptor MJL security-role MJL role-nametrader/role-name MJL /security-role MJL security-role MJL role-namesupervisor/role-name MJL /security-role MJL method-permission MJL role-nametrader/role-name MJL method MJL ejb-nameTradingAccount/ejb-name MJL method-name*/method-name MJL /method MJL /method-permission MJL container-transaction MJL method MJL ejb-nameTradingAccount/ejb-name MJL method-intfHome/method-intf MJL method-name*/method-name MJL /method MJL trans-attributeRequired/trans-attribute MJL /container-transaction MJL container-transaction MJL method MJL ejb-nameTradingAccount/ejb-name MJL method-intfRemote/method-intf MJL method-name*/method-name MJL /method MJL trans-attributeRequired/trans-attribute MJL /container-transaction MJL /assembly-descriptor MJL /ejb-jar MJL jboss.xml: MJL ?xml version=1.0 encoding=UTF-8? MJL jboss MJL security-domainjava:/jaas/other/security-domain MJL enterprise-beans MJL entity MJL ejb-nameTradingAccount/ejb-name MJL security-proxycom.mkeym.customsec.ejb.TradingAccountSecurityProxy/security-proxy MJL resource-ref MJL res-ref-namejdbc/DB2DBA/res-ref-name MJL resource-nameDB2DBA/resource-name MJL /resource-ref MJL /entity MJL /enterprise-beans MJL resource-managers MJL resource-manager MJL res-nameDB2DBA/res-name MJL res-jndi-namejava:/DB2DBA/res-jndi-name MJL /resource-manager MJL /resource-managers MJL /jboss MJL -Original Message- MJL From: Alexey Loubyansky [mailto:[EMAIL PROTECTED] MJL Sent: Wednesday, July 23, 2003 3:02 AM MJL To: Martin J. LaJeunesse MJL Subject: Re: [JBoss-user] DeploymentException: Couldn't create entity MJL command MJL Hello Martin, MJL what are the DDs for TradingAccount? MJL alex MJL Tuesday, July 22, 2003, 11:52:11 PM, Martin LaJeunesse wrote: MJL I haven't had much luck getting past this error. I've been migrating from 3.0.6 to 3.2.1, using DB2. I'm getting this error on both a Win box and Linux. Follows the db2-ds.xml and the stack MJL trace. Any and all hints are appreciated. MJL datasources MJL local-tx-datasource MJL jndi-nameDB2DBA/jndi-name MJL connection-urljdbc:db2:SCIFDB2T/connection-url MJL driver-classCOM.ibm.db2.jdbc.app.DB2Driver/driver-class MJL user-nameuser/user-name MJL passwordpassword/password MJL min-pool-size0/min-pool-size MJL /local-tx-datasource MJL /datasources MJL 2003-07-22 13:40:39,749 INFO [org.jboss.ejb.EjbModule] Creating MJL 2003-07-22 13:40:39,759 INFO [org.jboss.ejb.EjbModule] Deploying TradingAccount MJL 2003-07-22 13:40:39,769 INFO [org.jboss.ejb.EntityContainer] Creating MJL 2003-07-22 13:40:39,779 INFO [org.jboss.ejb.plugins.EntityInstancePool] Creating MJL 2003-07-22 13:40:39,779 INFO
Re: [JBoss-user] Managed Connection Pool running out of connections
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 WrapperDataSource.getConnection() is being called the exception is thrown but a connection is still reserved from the pool and never gets reclaimed (including if you flush the pool). Looking at the code (and I'm still trying to get my head around it), it looks like TxConnectionEventListener.enlist() is throwing a SystemException because it can't enlist the XAResource with the Tranaction which is rolled back. By this point a managed connection has been got (in BaseConnectionManager2.allocateConnection()), and there doesn't appear to be anything that returns it when enlist throws an error. -Andrew Scott M Stark wrote: Alright, so the issue is that a stateful session is being accessed after it has been thrown out due to its inactivity exceeding its max age value. Either you need to increase the period over which passivated sessions are kept or isolate the access of the stateful session from the encompassing transaction using a RequiresNew tx attribute to prevent the failure from affecting the encompassing tx. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] 3.2.2RC2 available
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 --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: AW: [JBoss-user] problems with mysql and transactions
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 SequenceService have to create a new Sequence entity. that means each time when we introduce a new sequence to the app the server hangs up. i think the reason for this is: the creation of a new sequence entity has to be committed before the subsequent call of sequence.getValueAfterIncrementingBy() on the newly created entity can be excuted. using a transactional setting of requiresNew for the create method of sequence solves the problem. sven -Ursprüngliche Nachricht- Von: Scott M Stark [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 23. Juli 2003 03:00 An: [EMAIL PROTECTED] Betreff: Re: AW: [JBoss-user] problems with mysql and transactions Remove the INFO threshold on the server.log to see if there is any additional information about the cause of the tx timeout. What jdbc driver version is being used here? If you have an example that reproduces this create a bug report on sourceforge with it as an attachment. -- Scott Stark Chief Technology Officer JBoss Group, LLC Scheil, Sven wrote: for more details on my problem i took a look at the call stack that leads to the hang up: a = stateless session bean message = cmp entity bean client - a.init() required - a.initMessage() required - message.create() required - sequenceService.getNextSequenceNumber() required - sequence.getValueAfterIncrementingBy RequiresNew before a.initMessage() is called there are several other calls from a.init() that create new entity beans. that means the transaction stretches about several hundred insert statements. -Ursprüngliche Nachricht- Von: Scheil, Sven Gesendet: Dienstag, 22. Juli 2003 12:29 An: '[EMAIL PROTECTED]' Betreff: [JBoss-user] problems with mysql and transactions hi, i'm evaluating a change from cloudscape to mysql for cmp. we are using jboss3.0.6, mysql4.0.13 on w2k. all transactions of our app are container manged. there is a problem with an entity bean using the transaction setting 'requires new'. the application hangs up for several minutes and comes back with a transaction timeout. when i'm changing the transaction setting to 'requires' the problem disappears. -- 2003-07-22 12:11:17,587 WARN [org.jboss.tm.TxCapsule] (Thread-19:) Transaction XidImpl [FormatId=257, GlobalId=sscheil//189, BranchQual=] timed out. status=STATUS_ACTIVE 2003-07-22 12:11:23,826 WARN [org.jboss.tm.TxCapsule] (Thread-20:) Transaction XidImpl [FormatId=257, GlobalId=sscheil//190, BranchQual=] timed out. status=STATUS_ACTIVE 2003-07-22 12:11:23,826 WARN [org.jboss.ejb.BeanLock] (RMI TCP Connection(9)-172.20.9.91:Sequence) wait() interrupted in txLock, possibly a timeout 2003-07-22 12:11:23,826 ERROR [org.jboss.ejb.BeanLock] (RMI TCP Connection(9)-172.20.9.91:Sequence) Thread[RMI TCP Connection(9)-172.20.9.91,5,RMI Runtime]Saw rolled back tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=sscheil//190, BranchQual=] waiting for txLock 2003-07-22 12:11:23,826 WARN [org.jboss.tm.TxCapsule] (RMI TCP Connection(9)-172.20.9.91:Sequence) Lock contention, tx=XidImpl [FormatId=257, GlobalId=sscheil//190, BranchQual=] 2003-07-22 12:11:23,826 ERROR [org.jboss.ejb.plugins.LogInterceptor] (RMI TCP Connection(9)-172.20.9.91:Sequence) RuntimeException: java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedPessimis ticEJBLock.java:339) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimi sticEJBLock.java:211) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimist icEJBLock.java:159) snip - all tables in mysql have the type InnoDB. the entity bean is called sequence and is part of the unique key generation pattern. the entity bean is called thru a stateless session bean called sequenceService. The 'requiresNew' setting can not be changed for running the app on production environment. are there some hints on this or more general hints on jboss and mysql and container managed transactions? thanx sven --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ---
Re: AW: AW: [JBoss-user] problems with mysql and transactions
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. The lock will be released when the tx commits or rolls back. Later in sequence, sequence.getValueAfterIncrementingBy starts a new tx and tries to access the created entity which is locked and it waits for the lock to be released. As you see, it is just a deadlock. alex Thursday, July 24, 2003, 1:51:26 PM, Sven Scheil wrote: SS hi scott, SS we are suing mysql-connector 3.0.8. but i've created a test scenario where SS this error occurs with cloudscape and mysql the same way. SS the implmentation of the sequence pattern comes from the book 'EJB Design SS Patterns' from floyd marinescu. SS the tx timeout only occurs when the SequenceService have to create a new SS Sequence entity. that means each time when we introduce a new sequence to SS the app the server hangs up. SS i think the reason for this is: the creation of a new sequence entity has to SS be committed before the subsequent call of SS sequence.getValueAfterIncrementingBy() on the newly created entity can be SS excuted. SS using a transactional setting of requiresNew for the create method of SS sequence solves the problem. SS sven SS -Ursprüngliche Nachricht- SS Von: Scott M Stark [mailto:[EMAIL PROTECTED] SS Gesendet: Mittwoch, 23. Juli 2003 03:00 SS An: [EMAIL PROTECTED] SS Betreff: Re: AW: [JBoss-user] problems with mysql and transactions SS Remove the INFO threshold on the server.log to see if there is any SS additional SS information about the cause of the tx timeout. What jdbc driver version is SS being SS used here? If you have an example that reproduces this create a bug report SS on SS sourceforge with it as an attachment. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Message to User about JBoss Startup Complete
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 wanted to know is, is there any API exposed from which we can know about the JBoss server startup. So I can access this API at regular intervals from UI, and re-direct the URL once the JBoss start has completed successfully. Thanks Muraly --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss Transaction Problems
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: . updateChecking(checkingBalance); if (checkingBalance 0.00) { context.setRollbackOnly(); throw new InsufficientBalanceException(); } . in ejb-jar.xml container-transaction method description / ejb-nameBank/ejb-name method-name*/method-name /method trans-attributeRequired/trans-attribute /container-transaction could anyone help me why this transaction doesnt work? -- Best regards, Nikolay mailto:[EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Message to User about JBoss Startup Complete
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 other services start prior to JBoss, I want to MR provide a notification to user through the web UI, saying that the services MR are starting, if the user tries to access the application before the App. MR server is up. MR To Know MR === MR What I wanted to know is, is there any API exposed from which we can know MR about the JBoss server startup. So I can access this API at regular MR intervals from UI, and re-direct the URL once the JBoss start has completed MR successfully. MR Thanks MR Muraly MR --- MR This SF.Net email sponsored by: Free pre-built ASP.NET sites including MR Data Reports, E-commerce, Portals, and Forums are available now. MR Download today and enter to win an XBOX or Visual Studio .NET. MR http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 MR ___ MR JBoss-user mailing list MR [EMAIL PROTECTED] MR https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, julienmailto:[EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Parallel thread performance: A JBoss client example
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. Unfortunately, as threads increased so did the thread task durations. We finally returned to this and document it here. We hope it will satisfy those who wish to know. The lookup and the invocation response characteristics confirm our initial test findings where object creation was included in load operation. http://www.amitysolutions.com.au/documents/Threads-technote.pdf Again, we stress that this is not indicative of any operation in a production environment. We are also testing raw parallel throughput, without any explicit synchronisation effects so this needs to be taken into consideration as well. Regards, JonB smime.p7s Description: S/MIME cryptographic signature
Re: [JBoss-user] JBoss Transaction Problems
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 intentionally throwing exception - and i hoped that all changes will be rollback but they didnt i send u some code and XML settings: method: . updateChecking(checkingBalance); if (checkingBalance 0.00) { context.setRollbackOnly(); throw new InsufficientBalanceException(); } . in ejb-jar.xml container-transaction method description / ejb-nameBank/ejb-name method-name*/method-name /method trans-attributeRequired/trans-attribute /container-transaction could anyone help me why this transaction doesnt work? --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Transaction Problems
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 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 intentionally throwing exception - and i hoped that all changes will be rollback but they didnt i send u some code and XML settings: method: . updateChecking(checkingBalance); if (checkingBalance 0.00) { context.setRollbackOnly(); throw new InsufficientBalanceException(); } . in ejb-jar.xml container-transaction method description / ejb-nameBank/ejb-name method-name*/method-name /method trans-attributeRequired/trans-attribute /container-transaction could anyone help me why this transaction doesnt work? --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch, Banc of America Securities Limited and Banc of America Futures Incorporated are regulated by the Financial Services Authority. _ --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re[2]: [JBoss-user] JBoss Transaction Problems
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. call setRollbackOnly on the bean's context object. DC 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 intentionally throwing exception - and i hoped that all changes will be rollback but they didnt i send u some code and XML settings: method: . updateChecking(checkingBalance); if (checkingBalance 0.00) { context.setRollbackOnly(); throw new InsufficientBalanceException(); } . in ejb-jar.xml container-transaction method description / ejb-nameBank/ejb-name method-name*/method-name /method trans-attributeRequired/trans-attribute /container-transaction could anyone help me why this transaction doesnt work? DC --- DC This SF.Net email sponsored by: Free pre-built ASP.NET sites including DC Data Reports, E-commerce, Portals, and Forums are available now. DC Download today and enter to win an XBOX or Visual Studio .NET. DC http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 DC ___ DC JBoss-user mailing list DC [EMAIL PROTECTED] DC https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, Nikolaymailto:[EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Database JNDI Name Not Found
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: Rupp, Heiko [mailto:[EMAIL PROTECTED] Sent: 24 July 2003 16:11 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Database JNDI Name Not Found Renamed it to banana-ds.xml and sure enough that works. I take it the -ds segment of the basename is now important? Yes. *-service.xml and *-ds.xml have completely different contents (even if they might server the same purpose). --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Notice to recipient: The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity. If this email originates from the U.K. please note that Bank of America, N.A., London Branch, Banc of America Securities Limited and Banc of America Futures Incorporated are regulated by the Financial Services Authority. _ --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] URGENT ASSISTANCE
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 a child. He died after a brief illness that lasted for only four days. Before his death we were both born again Christians.When my late husband was alive he deposited the sum of$5.6Million (Five Million six hundred thousand U.S. Dollars) with one Global Security Company in Spain. Presently, this money is still with the Security Company. Recently, my Doctor told me that I would not last for the next three months due to cancer problem. Though what disturbs me most is my stroke. Having known my condition I decided to donate this fund to church or better still a christian individual that will utilize this money the way I am going to instruct here in. I want a church that will use this fund to fund churches, orphanages,Research centers and widows propagating the word of God and to ensure that the house of God is maintained. The Bible made us to understand that Blessed is the hand that giveth. I took this decision because I dont have any child that will inherit this money and my husband relatives are not Christians and I dont want my husbands hard earned money to be misused by unbelievers. I dont want a situation where this money will be used in an ungodly manner. Hence the reason for taking this bold decision. I am not afraid of death hence I know where I am going. I know that I am going to be in the bossom of the Lord. Exodus 14 VS 14 says that the lord will fight my case and I shall hold my peace. I dont need any telephone communication in this regard because of my health because of the presence of my husbands relatives around me always. I dont want them to know about this development. With God all things are possible. As soon as I receive your reply I shall give you the contact of the Global Security Company in Spain. I will also issue you a letter of authority that will empower you as the new beneficiary of this fund. I want you and the church to always pray for me because the lord is my shephard. My happiness is that I lived a life of a worthy Christian. Whoever that wants to serve the Lord must serve him in spirit and truth. Please always be prayerful all through your life. Any delay in your reply will give me room in sourcing for a church or christian individual for this same purpose. Please assure me that you will act accordingly as I stated herein. Hoping to hearing from you. Reply me at my alternative mail box: [EMAIL PROTECTED] Remain blessed in the name of the Lord. Yours in Christ, Mrs Theodora Banksway --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss Transaction Problems
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. http://www.mysql.com/doc/en/ANSI_diff_Transactions.html Erik --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Parallel thread performance: A JBoss client example
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 extremely helpfull if the JBoss site posted some information regarding use of JBoss in a true enterprise situation, where clustering, scaling and so forth is examined in detail. I think that would go a long way to credit JBoss as being enterprise worthy, even though it already is well on its way to that credibality. A fellow JBoss enthusiast and I are looking at developing a simple J2EE application and some testing procedures to test as I have described above. It is more of a generic J2EE app that should allow testing of clustering in any J2EE app server, but in general we are targeting JBoss. My initial test idea was testing single client to one ejb bean (stateless) 1000's of requests, measuring the length between request/response, maybe measuring timing on the server side, and so forth. There would be a client swing app that runs these tests, grabs the data, etc. On the J2EE app, it would send data back in some form to offer at least the measurement of tasks. This wouldn't easily translate into any other applications performance, but it might give the industry using Jboss some sort of idea how well it can cluster, scale, etc. What do you think? Have you already done this? --- Jon Barnett [EMAIL PROTECTED] wrote: 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. Unfortunately, as threads increased so did the thread task durations. We finally returned to this and document it here. We hope it will satisfy those who wish to know. The lookup and the invocation response characteristics confirm our initial test findings where object creation was included in load operation. http://www.amitysolutions.com.au/documents/Threads-technote.pdf Again, we stress that this is not indicative of any operation in a production environment. We are also testing raw parallel throughput, without any explicit synchronisation effects so this needs to be taken into consideration as well. Regards, JonB ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] HiLo key generator
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 pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] HiLo key generator
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 4.0DR2 going to be back ported to NB 3.2.2. NB Is anyone using it with 3.2.1? --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Parallel thread performance: A JBoss client example
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, Kevin Duffey wrote: 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 extremely helpfull if the JBoss site posted some information regarding use of JBoss in a true enterprise situation, where clustering, scaling and so forth is examined in detail. I think that would go a long way to credit JBoss as being enterprise worthy, even though it already is well on its way to that credibality. A fellow JBoss enthusiast and I are looking at developing a simple J2EE application and some testing procedures to test as I have described above. It is more of a generic J2EE app that should allow testing of clustering in any J2EE app server, but in general we are targeting JBoss. My initial test idea was testing single client to one ejb bean (stateless) 1000's of requests, measuring the length between request/response, maybe measuring timing on the server side, and so forth. There would be a client swing app that runs these tests, grabs the data, etc. On the J2EE app, it would send data back in some form to offer at least the measurement of tasks. This wouldn't easily translate into any other applications performance, but it might give the industry using Jboss some sort of idea how well it can cluster, scale, etc. What do you think? Have you already done this? -- Bela Ban http://www.javagroups.com Cell: (408) 316-4459 --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] MBean - Help
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: javax.management.Notification[source=jboss.system:service=S erviceDeployer,type=org.jboss.deployment.SubDeployer.destroy,sequenceNumber=102, timeStamp=1059067927246,message=null,userData=org.jboss.deployment.DeploymentInf [EMAIL PROTECTED] { url=file:/opt/jboss-3.2.1/server/wtg/deploy/paychex-directory-servi ces.sar } deployer: [EMAIL PROTECTED] status: null state: CREATE_DEPLOYER watch: file:/opt/jboss-3.2.1/server/wtg/deploy/paychex-directory-services.sar lastDeployed: 1059067927156 lastModified: 1059067926000 mbeans: ] 2003-07-24 13:32:07,247 DEBUG [org.jboss.management.j2ee.ServiceModule] destroy( ), remove Service Module: paychex-directory-services.sar 2003-07-24 13:32:07,247 DEBUG [org.jboss.management.j2ee.J2EEManagedObject] remo veObject(), name: paychex-directory-services.sar, encrypted name: paychex-direct ory-services.sar, search criteria: jboss.management.local:j2eeType=ServiceModule ,*,name=paychex-directory-services.sar 2003-07-24 13:32:07,250 DEBUG [org.jboss.management.j2ee.factory.ServiceModuleFa ctory] Removed JSR-77 SAR: paychex-directory-services.sar 2003-07-24 13:32:07,250 WARN [org.jboss.util.NestedThrowable] Duplicate throwab le nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException 2003-07-24 13:32:07,251 ERROR [org.jboss.deployment.MainDeployer] could not crea te deployment: file:/opt/jboss-3.2.1/server/wtg/deploy/paychex-directory-service s.sar org.jboss.deployment.DeploymentException: create operation failed for package fi le:/opt/jboss-3.2.1/server/wtg/deploy/paychex-directory-services.sar; - nested t hrowable: (org.jboss.deployment.DeploymentException: Class does not expose a man agement interface: com.paychex.oeg.ldap.mbean.LDAPConnectionPool; - nested throw able: (javax.management.NotCompliantMBeanException: Class does not expose a mana gement interface: com.paychex.oeg.ldap.mbean.LDAPConnectionPool)) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:458) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:200) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:211) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:190) Caused by: org.jboss.deployment.DeploymentException: Class does not expose a man agement interface: com.paychex.oeg.ldap.mbean.LDAPConnectionPool; - nested throw able: (javax.management.NotCompliantMBeanException: Class does not expose a mana gement interface: com.paychex.oeg.ldap.mbean.LDAPConnectionPool) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java :143) at org.jboss.system.ServiceController.install(ServiceController.java:225 ) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183) ... 15 more Caused by: javax.management.NotCompliantMBeanException: Class does not expose a management interface: com.paychex.oeg.ldap.mbean.LDAPConnectionPool at org.jboss.mx.metadata.MBeanCapability.of(MBeanCapability.java:66) at
RE: [JBoss-user] Message to User about JBoss Startup Complete
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 org.jboss.system.ServiceMBeanSupport; public class ServerLoadDetector extends ServiceMBeanSupport implements ServerLoadDetectorMBean, NotificationFilter, NotificationListener { boolean state = false; // // MBean read only attribute // @jmx:managed-attribute // public boolean isStarted() { return state; } // // NotificationFilter, NotificationListener Implementations // public boolean isNotificationEnabled(Notification n) { return (Server.START_NOTIFICATION_TYPE.equals(n.getType())); } public void handleNotification(Notification n, Object handback) { // set an attribute that can be remotely introspected state = true; } } -Original Message- From: julien viet [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 9:02 AM To: Muraly R Subject: Re: [JBoss-user] Message to User about JBoss Startup Complete 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 other services start prior to JBoss, I want to MR provide a notification to user through the web UI, saying that the services MR are starting, if the user tries to access the application before the App. MR server is up. MR To Know MR === MR What I wanted to know is, is there any API exposed from which we can know MR about the JBoss server startup. So I can access this API at regular MR intervals from UI, and re-direct the URL once the JBoss start has completed MR successfully. MR Thanks MR Muraly MR --- MR This SF.Net email sponsored by: Free pre-built ASP.NET sites including MR Data Reports, E-commerce, Portals, and Forums are available now. MR Download today and enter to win an XBOX or Visual Studio .NET. MR http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 MR ___ MR JBoss-user mailing list MR [EMAIL PROTECTED] MR https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, julienmailto:[EMAIL PROTECTED] --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.2RC2 available
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: [JBoss-user] 3.2.2RC2 available 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 --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] HiLo key generator
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 the HiLo generator on the current latest stable jboss with my project. thanks, nadeem the On ?, 2003-07-24 at 09:29, Alexey Loubyansky wrote: 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 4.0DR2 going to be back ported to NB 3.2.2. NB Is anyone using it with 3.2.1? --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxx Nadeem Bitar Software Engineer IzuCode, LLC xxx --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re[2]: [JBoss-user] HiLo key generator
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 As i am not sure when Jboss 4.0 is going to be released and I need to NB deploy my current project in September, i wanted to know if it would be NB possible to use the HiLo generator on the current latest stable jboss NB with my project. NB thanks, NB nadeem NB the On ?, 2003-07-24 at 09:29, Alexey Loubyansky wrote: 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 4.0DR2 going to be back ported to NB 3.2.2. NB Is anyone using it with 3.2.1? --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Database JNDI Name Not Found
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 deployer may work off a log4j.properties file. A security configuration deployer may work off of the legacy auth.conf file. You are suffering from an overdose of xml exposure. -- Scott Stark Chief Technology Officer JBoss Group, LLC [EMAIL PROTECTED] wrote: 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. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MBean - Help
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 3.0.4 but produces the stack trace below when used in 3.2.1: --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: Re[2]: [JBoss-user] HiLo key generator
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? 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 As i am not sure when Jboss 4.0 is going to be released and I need to NB deploy my current project in September, i wanted to know if it would be NB possible to use the HiLo generator on the current latest stable jboss NB with my project. NB thanks, NB nadeem NB the On ?, 2003-07-24 at 09:29, Alexey Loubyansky wrote: 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 4.0DR2 going to be back ported to NB 3.2.2. NB Is anyone using it with 3.2.1? --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- xxx Nadeem Bitar Software Engineer IzuCode, LLC xxx --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MBean - Help
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-service.xml file is in the META-INF of the sar Thank, Keene - The information contained in this message may be privileged, confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or any employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Paychex, Inc. --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] CMR Problem in 3.2.2RC2
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 there. (I'll log a bug this time). gavin -Original Message- From: Gavin Matthews Sent: Thursday, July 03, 2003 7:05 PM To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: CMR Problem in 3.2.2? Hi, I posted yesterday and last week about a problem I was having with CMR when I upgraded from 3.2.0 to 3.2.2. I've done more investigation and I don't think my previous mails were entirely accurate (or very clear) so let me start over. The Problem: I'm experiencing NPE in our app because the CMR relationships are (apparently) not being created. This didn't occur with our app in 3.2.0. I have a sample case which I believe is representitive of the problem I'm seeing in our app. The beans are Foo Bar (sorry about the naming). The relationship is N-Foo-1-Bar. The relation is being set in post create: public abstract class FooEJB extends AbstractEntityBean { ... public void ejbPostCreate(BarLocal bar, String fooValue) throws CreateException { sLog.debug(ejbPostCreate( + getId() + )); this.setBar(bar); } ... } And I have a test session which does the following: ... BarLocal bar = createBar(This is a bar); FooLocal foo = createFoo(bar, This is a foo); sLog.info(); sLog.info(Bar id through foo: + foo.getBar().getId()); sLog.info(Bar id through bars foos: ); Collection foos = bar.getFoos(); sLog.info(Number of foos associated with bar: + foos.size()); Iterator fooIter = bar.getFoos().iterator(); while (fooIter.hasNext()) { FooLocal tmpFoo = (FooLocal) fooIter.next(); sLog.info(Foo id: + tmpFoo.getId()); sLog.info(Bar id: + tmpFoo.getBar().getId()); } sLog.info(); ... I'd expect the output of this test case to be: 18:58:38,875 INFO [FooBarSessionEJB] 18:58:38,890 INFO [FooBarSessionEJB] Bar id through foo: 1011 18:58:38,890 INFO [FooBarSessionEJB] Bar id through bars foos: 18:58:38,890 INFO [FooBarSessionEJB] Number of foos associated with bar: 1 18:58:38,906 INFO [FooBarSessionEJB] Foo id: 1017 18:58:38,906 INFO [FooBarSessionEJB] Bar id: 1011 18:58:38,906 INFO [FooBarSessionEJB] What I'm actually seeing is: 18:58:38,875 INFO [FooBarSessionEJB] 18:58:38,890 INFO [FooBarSessionEJB] Bar id through foo: 1011 18:58:38,890 INFO [FooBarSessionEJB] Bar id through bars foos: 18:58:38,890 INFO [FooBarSessionEJB] Number of foos associated with bar: 0 18:58:38,906 INFO [FooBarSessionEJB] *** If I add a finder call after the beans are created (which forces the beans to be synchronized to the database) then I get the results I expect. This makes me think that there's a problem with the caching - the bar returned by the create() call is not the same Bar instance as returned by foo.getBar(). Which means that I have 2 instances of the same bean within the same transaction which have different state - seems like a bug to me, I'd have expected the foo.getBar() call to return the same bar as was passed to the create() call. I've attached the source. For the sample, let me know what you think, thanks, gavin FooEJB.java Description: Binary data FooBarSessionEJB.java Description: Binary data BarEJB.java Description: Binary data testSchema.sql Description: Binary data
[JBoss-user] Please Help
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 oracle.jdbc.xa.OracleXAResource.disallowLocalTxnMode(OracleXAResource.java:1047) at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:153) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:133) at org.jboss.tm.TransactionImpl.startResource(TransactionImpl.java:1137) at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:624) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager .java:460) at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.jav a:358) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:49 0) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseCon nectionManager2.java:798) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) I know it has something to do with the XA datasource. I'm using JBoss3.2.1 and Oracle 9.2.0.3 thin drivers talking to oracle 8.1.7.4 server. I'm using the sample oracle xa datassource file and i've turned padding on in the transaction service. thanks. .peter -- CONFIDENTIALITY NOTICE: This e-mail message, including any attachments,is for the sole use of the intended recipient(s), even if addressed incorrectly, and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy or delete all copies of the original message and all attachments, including deletion from the trash or equivalent folder. Thank you.
Re: [JBoss-user] MBean - Help
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 the mbeans.interfaces.ConnectionPoolMBean under 3.0.4 shows the same exception as under 3.2.1: 15:04:09,871 INFO [Server] JBoss Release: JBoss-3.0.4 CVSTag=JBoss_3_0_4 15:04:09,891 INFO [Server] Home Dir: C:\cvs\Releases\jboss-3.0.4 15:04:09,891 INFO [Server] Home URL: file:/C:/cvs/Releases/jboss-3.0.4/ ... 15:04:11,203 INFO [MainDeployer] Starting deployment of package: file:/C:/cvs/Releases/jboss-3.0.4/server/minimal/deploy/pool.sar/ 15:04:11,223 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeployme [EMAIL PROTECTED] url=file:/C:/cvs/Releases/jboss-3.0.4/server/minimal/deploy/pool.sar /, deployedLastModified=0 } org.jboss.deployment.DeploymentException: Class does not expose a management interface: mbeans.impl. ConnectionPool; - nested throwable: (javax.management.NotCompliantMBeanException: Class does not exp ose a management interface: mbeans.impl.ConnectionPool) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:155) at org.jboss.system.ServiceController.install(ServiceController.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) -- Scott Stark Chief Technology Officer JBoss Group, LLC Keene Hammond wrote: 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-service.xml file is in the META-INF of the sar Thank, Keene --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.2RC2 available
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. Where can I find that section? Hunter --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.2RC2 available
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 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. Where can I find that section? Hunter --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Parallel thread performance: A JBoss client example
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 what you are trying to achieve. If it is steady state operation, I would say that a cluster of JMeter clients can generate a reasonable load that you can tune. Based on the threading issues discovered here, I wouldn't have the client on the same machine under test if you are using Linux. There would be too many questions on client load versus server load. One of the nice things about hindsight is that the free-running client load testing told us something about what to expect when looking at the JBoss-client results. So for completeness, you would probably want a calibration sample of your test rig with the minimal JBoss interaction as we had done in the JBoss-client test. Then you can look at responsiveness under a certain load characteristic - for example 50 requests per second what is the average response time, what are the maxima and minima. Dial it up and check again. As long as the test rig can generate the requested load level (calibration will tell you when things might start to deform in the test generator), you will be reasonably certain about the performance of the system under test. If you are just stress testing the system to check raw throughput, then you can adopt the load and transmit operation we employed for this test. Except we were hoping for less parallel thread coupling effects. You were able to see from these results for example, that the name server and the EJB invocation were not unduly stressed with an 8 client-load continually making requests for an extended period (for the IBM SDK). The predominant response characteristic was that of the client system. We haven't looked at your particular idea but any measurement is better than no measurement at all. Besides, I think there needs to be something beyond the ECperf-type tests. They tell you how the big picture is supposed to work but don't help you work out where things fall apart. I would suggest that measurement data if possible, is not transmitted from the server during testing (unless you can guarantee its affect would be minimal to the testing results). I think the best thing is to flesh out what you want to come away with from the testing. I'm sure there are others here in the forum with good test and measurement experience who can contribute to the cause. An example of things to think about - do you want to test solely EJB performance? Do you want to couple it with a DB? How do you separate DB from Server issues? Some nice things to see on the cluster testing is the impact of the load distribution algorithm. Is there a step-over point? How would you test it? I think it is a matter of asking what you want to observe and then determining a test scenario that would allow you to see it. Now if some Australian company can donate a Sun multi-CPU Blade server for testing, I could check the performance of the Java thread implementation on a Sun system. :) Anyway, that's a starter for discussions. I know I haven't directly answered your question about how to proceed but I am just trying to get a feeling about the exact things you want to measure. Best regards, JonB smime.p7s Description: S/MIME cryptographic signature
[JBoss-user] MBean attribute value with XML format
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 Value/value /depinfo]] /attribute /mbean but in my mbean setDepInfo() method I get an empty string as the value. If I define it like so... mbean code=a.b.c.d name=jboss.deployment:service=abcd attribute name=DepInfo lt;depinfo lt;value name=abcA Valuelt;/value lt;/depinfo]] /attribute /mbean then it works. I also tried just the raw XML as the value but that breaks as well with the empty string (not surprising, as there isn't any actual character data, the parser would parse the elements. So, Why doesn't the CDATA work? (maybe this is a dumb XML question?) brian wallis... --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Parallel thread performance: A JBoss client exam ple
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 Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MBean attribute value with XML format
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 sourceforge. -- Scott Stark Chief Technology Officer JBoss Group, LLC Brian Wallis wrote: 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 Value/value /depinfo]] /attribute /mbean but in my mbean setDepInfo() method I get an empty string as the value. If I define it like so... mbean code=a.b.c.d name=jboss.deployment:service=abcd attribute name=DepInfo lt;depinfo lt;value name=abcA Valuelt;/value lt;/depinfo]] /attribute /mbean then it works. I also tried just the raw XML as the value but that breaks as well with the empty string (not surprising, as there isn't any actual character data, the parser would parse the elements. So, Why doesn't the CDATA work? (maybe this is a dumb XML question?) brian wallis... --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Parallel thread performance: A JBoss client example
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 the scaling capabilities of JBoss. One node, two nodes with round robin, two nodes with first available, three nodes, two partitions, etc. I want to see how close to linear scaling occurs when adding more nodes, more partitions, etc. I want to see for myself that my idea of a good cluster architecture is indeed good, or maybe another way is better. I want to do these tests for stateless ejb and statefull ejb, and while my specific needs to not entail a web application, I would also like to see the performance with things like a client sending web service requests, which in turn hit the ejb server, and so forth. Ideally, it would be very strong for JBoss to have these and many more test results available. Realistically, we both know that no one app is going to certify JBoss, every app will no doubt have different characteristics, and thus results. But it would be great to provide a client/j2ee type of tool that can be used/deployed in any J2ee server to see the various results. Running Orion, Jonas, JBoss and Primatti side by side (one at a time of course) on the same hardware with the same test data and same setup would be very nice, to see which one supports better load, better clustering, better scaling, and so forth. These are the types of results I am after. --- Jon Barnett [EMAIL PROTECTED] wrote: 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 what you are trying to achieve. If it is steady state operation, I would say that a cluster of JMeter clients can generate a reasonable load that you can tune. Based on the threading issues discovered here, I wouldn't have the client on the same machine under test if you are using Linux. There would be too many questions on client load versus server load. One of the nice things about hindsight is that the free-running client load testing told us something about what to expect when looking at the JBoss-client results. So for completeness, you would probably want a calibration sample of your test rig with the minimal JBoss interaction as we had done in the JBoss-client test. Then you can look at responsiveness under a certain load characteristic - for example 50 requests per second what is the average response time, what are the maxima and minima. Dial it up and check again. As long as the test rig can generate the requested load level (calibration will tell you when things might start to deform in the test generator), you will be reasonably certain about the performance of the system under test. If you are just stress testing the system to check raw throughput, then you can adopt the load and transmit operation we employed for this test. Except we were hoping for less parallel thread coupling effects. You were able to see from these results for example, that the name server and the EJB invocation were not unduly stressed with an 8 client-load continually making requests for an extended period (for the IBM SDK). The predominant response characteristic was that of the client system. We haven't looked at your particular idea but any measurement is better than no measurement at all. Besides, I think there needs to be something beyond the ECperf-type tests. They tell you how the big picture is supposed to work but don't help you work out where things fall apart. I would suggest that measurement data if possible, is not transmitted from the server during testing (unless you can guarantee its affect would be minimal to the testing results). I think the best thing is to flesh out what you want to come away with from the testing. I'm sure there are others here in the forum with good test and measurement experience who can contribute to the cause. An example of things to think about - do you want to test solely EJB performance? Do you want to couple it with a DB? How do you separate DB from Server issues? Some nice things to see on the cluster testing is the impact of the load distribution algorithm. Is there a step-over point? How would you test it? I think it is a matter of asking what you want to observe and then determining a test scenario that would allow you to see it. Now if some Australian company can donate a Sun multi-CPU Blade server for testing, I could check the performance of the Java thread implementation on a Sun system. :) Anyway, that's a starter for discussions. I know I haven't directly answered