[JBoss-user] [EJB/JBoss] - WorkManager(3)-8392 ... symptomatic of a problem?
Hi Everyone I have a JBoss 4.01 server which seems to go through WorkManager threads alarmingly quickly. Early in the day, log messages are coming from WorkManager(3)-225, but after 10 hours or so the id number has increased to WorkManager(3)-8392. I don't know what the trailing id number actually means, but I'd like to know if a rapidly increasing number is symptomatic of a problem. Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881253#3881253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881253 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - PureTLSImplementation exception on startup
Hi Everyone When my JBoss 4.0.1 starts it issues the following exception: // 2005-05-17 08:57:18,232 DEBUG main [org.apache.tomcat.util.net.SSLImplementation] Error loading SSL Implementation org.apache.tomcat.util.net.puretls.PureTLSImplementation java.lang.ClassNotFoundException: No ClassLoaders found for: org.apache.tomcat.util.net.puretls.PureTLSImplementation at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464) at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:374) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:72) at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:47) at org.apache.tomcat.util.net.SSLImplementation.getInstance(SSLImplementation.java:63) at org.apache.coyote.http11.Http11Protocol.checkSocketFactory(Http11Protocol.java:770) at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:119) at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429) at org.jboss.web.tomcat.tc5.StandardService.initialize(StandardService.java:688) at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384) Is there some configration I can specify to prevent this exception? The application works fine, but I would be happier if I had exception-free startup. Please let me know which config files I should post and I shall do so. Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878021#3878021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878021 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JBoss closes (jms) connections for me
Hi Folks I have a session EJB which sends messages. In ejbCreate() I establish all the objects necessary to support publication of messages to a queue. i.e. I have the QueueSession and QueueSender objects. A "business method" of this session bean sends messages. This works for one invocation, after which JBoss kindly says: // 2005-05-13 14:44:57,802 INFO TP-Processor1 [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] at com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.ejbCreate(JMSSenderBean. java:49) at com.drkw.genesis.server.ejb.jmssender.JMSSenderLocalDelegate.sendMessages(JM SSenderLocalDelegate.java:25) The next invocation gets: TE/1/4048514.0.1 2005-05-13 14:43:55,925 ERROR RMI TCP Connection(8)-10.131.55.92 [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.String[] com.drkw.genesis.server.ejb.jmssender.JMSSenderLocal.sendMessages(java.lang. String[],java.lang.String), causedBy: javax.jms.IllegalStateException: The Session is closet com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.ejbCreate(JMSSenderBean. java:49) at com.drkw.genesis.server.ejb.jmssender.JMSSenderLocalDelegate.sendMessages(JMSSenderLocalDelegate.java:25) at org.activemq.ra.JMSSessionProxy.getSession(JMSSessionProxy.java:95) at org.activemq.ra.JMSSessionProxy.createTextMessage(JMSSessionProxy.java:268) at org.activemq.ActiveMQQueueSession.createTextMessage(ActiveMQQueueSession.java:260) at com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.send(JMSSenderBean.java:126) at com.drkw.genesis.server.ejb.jmssender.JMSSenderBean.sendMessages(JMSSenderBean.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) I really don't want to close the connection each time, since that means re-establishing the connection each time, but while JBoss is closing the connection for me I have no choice! The deployment of ActiveMQ is based on: JmsXA activemq.rar javax.jms.QueueConnectionFactory tcp://localhost:61616 false JmsXARealm ActiveMQ 3.1-Snapshot, JBoss 4.0.1. All suggestions welcome. Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877685#3877685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877685 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: configuring Connection Pools for Sybase
Hi Adrian Many thanks for this. We switched to the Kodo datasource for other reasons and found that it solved our connection closure issue, but I really appreciate your having taken the time to point me to a JBoss solution. Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875400#3875400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875400 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Multiple Message Delivery with ActiveMQ 3.1 / JBoss 4.0.
This issue has been resolved by the ActiveMQ developers in their 3.1 codebase. Kind regards, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875397#3875397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875397 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Commit involving database & JMS takes too long
We identified the storage of blobs into Sybase as being the determining factor. We moved from JBossMQ to ActiveMQ and this has delivered the performance and scalability we required (through its journal-based persistence backed by Apache/Derby). Kind regards, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875398#3875398 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875398 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Synchronization
We have resolved this issue. Kind regards, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875396#3875396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875396 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Synchronization
Ok, I was not quite correct. I could register a Synchronization instance with javax.transaction.Tramsaction, or I could have my session beans implement SessionSynchronization. However I don't see an equivalent "MessageDrivenSynchronization" capability for MDBs. My experience of registering against javax.transaction.Transaction is that other infrastructure components do the same, and that the order of invocation of afterCompletion(boolean) is non-deterministic. The problem comes when an infrastructure component treats afterCompletion() as the place where it will do its own commit work. So my Synchronization instance is often called BEFORE all the commit work has been done. Is the Synchronization interface conceptually missing another entrypoint? We have one for before-commit, one for after-completion, but none for commit-now, so some adaptors use after-completion for that purpose View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874533#3874533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874533 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Synchronization
Hello I need to register a Synchronization object which will receive afterCompletion() invocations - or the equivalent - AFTER all resources in the transaction have been committed. I could register against the javax.transaction.Transaction instance or against the javax.ejb.UserTransaction instance. Is either of these preferable? Is there a specific JNDI name I should use? My code runs variously within Stateless Session EJBs and Message-Driven EJBs. Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874525#3874525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874525 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Multiple Message Delivery with ActiveMQ 3.1 / JBoss 4.0.1
Hi All We're using ActiveMQ 3.1 as JMS provider to JBoss 4.0.1 which hosts our MDBs. When running a load test we recently got: PU/99/134.0.1 2005-04-18 19:35:29,366 INFO WorkManager(3)-105 [org.activemq.ActiveMQSession] Caught :java.lang.IllegalStateException: Multiple message delivery between before and after delivery is no t allowed for message endpoint local/[EMAIL PROTECTED] java.lang.IllegalStateException: Multiple message delivery between before and after delivery is not allowed for message endpoint local/[EMAIL PROTECTED] at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.delivery(MessageEndpointIntercept or.java:220) at org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor.invoke(MessageEndpointInterceptor .java:117) at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:59) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91) at $Proxy130.onMessage(Unknown Source) at org.activemq.ra.MessageEndpointProxy$MessageEndpointAlive.onMessage(MessageEndpointProxy. java:136) at org.activemq.ra.MessageEndpointProxy.onMessage(MessageEndpointProxy.java:75) at org.activemq.ActiveMQSession.deliver(ActiveMQSession.java:586) at org.activemq.ActiveMQSession.run(ActiveMQSession.java:548) at org.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:149) at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:200) at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:261) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) at java.lang.Thread.run(Thread.java:534) Any offers as to what might be the cause? Thanks, Robin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874411#3874411 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874411 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Commit involving database & JMS takes too long
Hello Everyone I couldn't choose between the JMS/JCA/Performance forums, but I chose this one in the end. Any assistance with the issue below will be much appreciated. I have a Stateless Session EJB (SSB). It is invoked from a webservice, although I do not believe the webservice facade is contributing to this problem. Part of the SSBs work is the publication of one or more messages to a JMS Queue. My performance concerns are related to commit times, which probably span two transactional resources (our database and the JMS implementation). Immediately before the SSB returns to the JBoss container we (a) flush all SQL to our database, (b) take a timestamp using System.currentTimeMillis(). As soon as the afterCompletion() invocation is received on our Synchronization instance (registered with the transaction) we take another timestamp using System.currentTimeMillis(). The time taken is known as the TransactionEnding time, and we find it to be a substantial proportion of overall SSB business method execution time (often 100ms or more, which is over 75% of total business method execution). Other logging indicates that the commit to our database is particularly quick - in most cases just 10ms. We urgently need to address the inordinant amount of time being used in the TransactionEnding phase. Our environment is currently AppServer: JBoss 3.2.3 JDK: Sun JDK 1.4.2_07 Database: Sybase 12.5.3 JDBC Driver: jConnect 6.0 JMS Persistence Service: Sybase-compatible implementation of org.jboss.mq.pm.PersistenceManager (see below), authored by Amresh Deshmukh and subsequently (I believe) contributed to the jboss poject. public class PersistenceManager extends ServiceMBeanSupport implements PersistenceManagerMBean, org.jboss.mq.pm.PersistenceManager, org.jboss.mq.pm.CacheStore { ... } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873589#3873589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873589 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Configuring Connection Pools for Sybase
I've reposted this in the JCA forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867220#3867220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867220 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - configuring Connection Pools for Sybase
Hi All I have a datasource mapped to a Sybase database. I've chosen min-pool-size=40, max-pool-size=70, idle-timeout-minutes=0. I understand using 0 means connections in the pool should not timeout. I would expect the minumum number of connections (40) to be established when the JBoss server starts, and for these connections to remain open. However what I see is 40 initial logins to the database, followed by regular subsequent logins. (My DBA cannot tell me of logouts). The implication is that connections are becoming closed regularly. Any help would be appreciated. Thanks, Robin. JBoss 3.2.3, Sybase 12.5.3, jConnect 6.0 (JDBC driver for Sybase) jdbc/mylocaltxdatasource jdbc:sybase:Tds:myhostname.com:9200 com.sybase.jdbc3.jdbc.SybDriver myusername 40 70 0 true true 150 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867219#3867219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867219 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Configuring Connection Pools for Sybase
I see this should have gone into the JCA forum. Perhaps an administrator can relocate it there. I've also added TRACE logging as per the "read this first" post in the JCA forum: | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866964#3866964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866964 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Configuring Connection Pools for Sybase
Hi All I have a datasource mapped to a Sybase database. I've chosen min-pool-size=40, max-pool-size=70, idle-timeout-minutes=0. I understand using 0 means connections in the pool should not timeout. I would expect the minumum number of connections (40) to be established when the JBoss server starts, and for these connections to remain open. However what I see is 40 initial logins to the database, followed by regular subsequent logins. (My DBA cannot tell me of logouts). The implication is that connections are becoming closed regularly. Any help would be appreciated. Thanks, Robin. JBoss 3.2.3, Sybase 12.5.3, jConnect 6.0 (JDBC driver for Sybase) jdbc/mylocaltxdatasource jdbc:sybase:Tds:myhostname.com:9200 com.sybase.jdbc3.jdbc.SybDriver myusername mypassword 40 70 0 true true 150 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866954#3866954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866954 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user