RE: [JBoss-user] Windows 2000 Service Pack 4
I'm running W2K-pro service pack 4, JBoss-Jetty (3.2.2) - sun sdk 1.4.1-02. I can try to upgrade my java - otherwise it could be Tomcat !? - Ren -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Dennis R. GeskerSent: 17. juli 2003 00:49To: jboss-userSubject: [JBoss-user] Windows 2000 Service Pack 4jboss-3.2.2RC1_tomcat-4.1.24Sun SDK 1.4.2I recently applied service pack 4 to windows 2000 and now it seems that run.bat fails to load Jboss and reports a java.lang.NoClassDefFoundError.[BTW: java -jar run.jar loads the server just fine.]I didn't seem to have this problem before installing the service pack. Is anyone else seeing this problem?
RE: [JBoss-user] application.xml
I feel context '/crunk' is being used by another app. Try changing it to something else and then test deployment again. vikas. -Original Message- From: Bryan Liles [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 3:48 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] application.xml I'm curious to why I am getting this error: 18:15:44,195 WARN [ServiceController] Problem starting service jboss.deployment:name=file%3a/opt/jboss4DR2/server/default/tmp/deploy/server /default/deploy/ot-aia.ear/67.ot-aia.ear-contents/ot-aia.war,service=Deploym entInfo org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '/crunk' is not unique) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:445) at org.jboss.deployment.DeploymentInfo.start(DeploymentInfo.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) my application.xml is as follows: ?xml version=1.0 encoding=UTF-8? !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd' application display-nameOT AIA/display-name module ejbot-aia.jar/ejb /module module javatrx-import.wsr/java /module module web web-uriot-aia.war/web-uri context-root/crunk/context-root /web /module /application --- 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 --- 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: [JBoss-user] application.xml
Title: RE: [JBoss-user] application.xml There are no other applications deployed on this server. -Original Message- From: Ramrakhiani, Vikas [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 17, 2003 2:37 AM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] application.xml I feel context '/crunk' is being used by another app. Try changing it to something else and then test deployment again. vikas. -Original Message- From: Bryan Liles [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 17, 2003 3:48 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] application.xml I'm curious to why I am getting this error: 18:15:44,195 WARN [ServiceController] Problem starting service jboss.deployment:name=file%3a/opt/jboss4DR2/server/default/tmp/deploy/server /default/deploy/ot-aia.ear/67.ot-aia.ear-contents/ot-aia.war,service=Deploym entInfo org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.IllegalArgumentException: addChild: Child name '/crunk' is not unique) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:445) at org.jboss.deployment.DeploymentInfo.start(DeploymentInfo.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) my application.xml is as follows: ?xml version=1.0 encoding=UTF-8? !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd' application display-nameOT AIA/display-name module ejbot-aia.jar/ejb /module module javatrx-import.wsr/java /module module web web-uriot-aia.war/web-uri context-root/crunk/context-root /web /module /application --- 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 --- 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
[JBoss-user] Specifying TopicConnectionFactory names...
Hi, I am using JBoss 3.2.1 and am trying to deploy Message Driven Beans. I have specified the Topics in jbossmq-mctopic-service.xml n have put the file in JBossHome\server\Domain\deploy\jms. It is creating the Topics, but whereshould I specify the TopicConnectionFactories? Also, should this TopicConnectionFactory be specified in jboss.xml for each Message Bean under resource-ref? Thanks in Advance, L V Satish KumarMasterCraftPune
RE: [JBoss-user] JMS usage and EJB rollback question
Hi, If you make sure that you are using an XA connection factory for your JMS (and, I guess, your database) then this should all happen automatically. Rgds, Dan. -- Danny Yates -Original Message- From: Michael Klem [mailto:[EMAIL PROTECTED] Sent: 16 July 2003 22:31 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] JMS usage and EJB rollback question I found a better solution. Use JMS transactions and commit the messages. At 10:32 AM -0700 7/16/03, Michael Klem wrote: I am using JMS to send a message from within an EJB and I have this question. Inside my EJB I do the following: Add a row to table A Send a JMS message that table A has been modified Add a row to table B Add a row to table C The problem is that if when adding data to tables B or C fails I rollback the entire transaction but the JMS message is still sent. Is there a way I can keep the messaging code in the same method that modifies table A and have it rollback too or should I just use flags and test them after all the db access is finished? In that case my EJB code would look like this: Add a row to table A Set flag to send a message that table A has been modified Add a row to table B Add a row to table C if the table A flag is true Send a JMS message that table A has been modified This way the message only get sent if all db access succeeds but my code is a little bit more complicated. Suggestions? -- Michael Klem [EMAIL PROTECTED]626-296-3027 --- 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 -- Michael Klem [EMAIL PROTECTED]626-296-3027 --- 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 _ 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 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
[JBoss-user] Re: Deploy error using jboss-3.2.2RC1
Title: Re: Deploy error using jboss-3.2.2RC1 Alexey Loubyansky [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED]... Hello Carsten, are you sure the primary key field consists of only one field? If so, could you provide me with a testcase? Hi Alexey, I can provide you with a jar file. Could you give me your email adress? I would not like to see it on a public bugtracker. But perhaps you are able to identify the problem and then do not need it any longer. I was able to cut it down to only containing the involved entity beans. Best regards, Carsten
[JBoss-user]
FRAMESET border=0 frameBorder=0 frameSpacing=0 rows=100%,*FRAME marginHeight=5 marginWidth=10 name=easymain src=www.51cheap.com/FRAMESET
[JBoss-user] [OT] sorry but i cant wait for hibernate subscription, can one replace EntityBeans with hibernate?
Hi, there must be someone out there who will provide an answer, sorry I'm asking in here, but the subscription to their mailing list is taking a while, besides, there must be somone out there who is using it? thx NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. The New Africa Capital Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message. --- 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: [JBoss-user] Urgent Assistance From South Africa.
I'm from South Africa and this is a load of crap!!! Please ignore, how the hell did he get in here? -Original Message- From: MR. ZULU [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 10:59 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Urgent Assistance From South Africa. STRICTLY CONFIDENTIAL URGENT. TEL: 871 - 762535915 FAX: 871 - 762535916 TEL: 27 - 835948129 Alternative: E-mail address: [EMAIL PROTECTED] Dear Sir, I am Mr. Zulu, a native of Cape Town in South Africa and I am an Executive Accountant with the South Africa Department of Mining Natural Resources. First and foremost, I apologized using this medium to reach you for a transaction/business of this magnitude, but this is due to Confidentiality and prompt access reposed on this medium. Be informed that a member of the South Africa Export Promotion Council (SEPC) who was at the Government delegation to your country during a trade exhibition gave your enviable credentials/particulars to me. I have decided to seek a confidential co-operation with you in the execution of the deal described hereunder for the benefit of all parties and hope you will keep it as a top secret because of the nature of this transaction. Within the Department of Mining Natural Resources where I work as an Executive Accountant and with the cooperation of four other top officials, we have in our possession as overdue payment bills totaling Twenty - Six Million, Five Hundred Thousand U. S. Dollars ($26,500,000.) which we want to transfer abroad with the assistance and cooperation of a foreign company/individual to receive the said fund on our behalf or a reliable foreign non-company account to receive such funds. More so, we are handicapped in the circumstances, as the South Africa Civil Service Code of Conduct does not allow us to operate offshore account hence your importance in the whole transaction. This amount $26.5m represents the balance of the total contract value executed on behalf of my Department by a foreign contracting firm, which we the officials over-invoiced deliberately. Though the actual contract cost have been paid to the original contractor, leaving the balance in the tune of the said amount which we have in principles gotten approval to remit by Telegraphic Transfer (T.T) to any foreign bank account you will provide by filing in an application through the Justice Ministry here in South Africa for the transfer of rights and privileges of the former contractor to you, hence provide me with your private/direct fax number for the form to be send across to you. I have the authority of my partners involved to propose that should you be willing to assist us in the transaction, your share of the sum will be 25% of the $26,5 million, 70% for us and 5% for taxation and miscellaneous expenses. The business itself is 100% safe, on your part provided you treat it with utmost secrecy and confidentiality. Also your area of specialization is not a hindrance to the successful execution of this transaction. I have reposed my confidence in you and hope that you will not disappoint me. Endeavor to contact me immediately through my above Tel/Fax number or my e-mail address, whether or not you are interested in this deal. If you are not, it will enable me scout for another foreign partner to carry out this deal I want to assure you that my partners and myself are in a position to make the payment of this claim possible provided you can give us a very strong Assurance and guarantee that our share will be secured and please remember to treat this matter as very confidential matter, because we will not comprehend with any form of exposure as we are still in active Government Service and remember once again that time is of the essence in this business. I wait in anticipation of your fullest co-operation. Yours faithfully, Mr. Zulu --- 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 NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient, is prohibited. If you received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter delete the material from any computer. The New Africa Capital Group, its subsidiaries or associates do not accept liability for any personal views expressed in this message.
[JBoss-user] [GWAVA:10t1so1d] SPAM block message notification
This is an automated Notification e-mail message from GWAVA. The message you sent, from the address [EMAIL PROTECTED] to [No To Addresses] Concerning: RE: [JBoss-user] Urgent Assistance From South Africa. Was not delivered because the message was found to be Spam by the e-mail system in use at the intended recipient's organization. --- 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
[JBoss-user] Nossos Melhores Cumprimentos jboss-user
Title: Nova pagina 1 CLIQUE abaixo para Download de Demonstração Senha=123456 Listagem dos Recursos Controle de Estoque ¨ Contas recebidas ¨ Contas pagas ¨ Cheques depositados ¨ Controle de caixa ¨ Fluxo de caixa ¨ Mensagens internet (e-mail) ¨ Atendimeto ao cliente ¨ Agenda de compromissos ¨ Controle de recados Telefonicos ¨ Sist. de cópia de seg. por disquete ¨ Emissão de relatórios diários ¨ Boletos , Relatórios e Listas. ¨ Sistema de Cobrança Centralizado ¨ Gerenciamento de rede automático (concatenado) Ponto de Venda ¨ Orçamentos ¨ Etiquetas ¨ Tabelas de preço ¨ Relatórios de vendas ¨ Controle de consignação ¨ Código de barras ¨ Listagem de vendas ¨ Comissão de vendedores ¨ Pedidos de compras no atacado ¨ Cadastro de clientes ¨ Fornecedores ¨ Transportadoras (se existirem) ¨ Funcionários ¨ Cadastro de vendedores ¨ Contas a receber ¨ Contas a pagar ¨ Controle de emissão de cheques ¨ Cartão de crédito ¨ + 40 Módulos (Agenda, Calculadora, Etc. --- 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
[JBoss-user] [GWAVA:iqu1bz10] SPAM block message notification
This is an automated Notification e-mail message from GWAVA. The message you sent, from the address [EMAIL PROTECTED] to [No To Addresses] Concerning: JBoss-user digest, Vol 1 #4724 - 10 msgs Was not delivered because the message was found to be Spam by the e-mail system in use at the intended recipient's organization. --- 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: [JBoss-user] No Class Loaders deploying simple MBean
Thanks for th reply. There was a typo in the pacakage name I used in my MBean tag. I did get it to work with a sar in deploy. -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 6:28 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] No Class Loaders deploying simple MBean A jar in server/x/lib, or a sar in deploy are the standard mechanisms for deploying the classes. You must not be encoding the classes with the correct fully qualified class names? What version of JBoss is this as well? Quite a while back services without a package (the default package) where not seen, but this has been fixed for a while/ -- Scott Stark Chief Technology Officer JBoss Group, LLC Steven Harris wrote: I'm having a problem deploying a simple FooMBean for a Foo class that just implements a no-op method foo(). I was cheered by the casual remark on p.61 of the Admin and Development Guide: MBeans that are independent of JBoss Services are the trivial case. They can be written per the JMX specification and added to a JBoss server by adding an MBean tag to the deploy/user-service.xml file. But I keep getting No Class Loaders Found for my class Foo when the Main Deployer tries to deploy user-service.xml. I've tried having Foo and FooMBean in a jar file in /deploy. I've tried having them in a sar file with a jboss-service.xml in deploy. I've tried it with and without using classpath in user-service.xml. Same result. Finally, I tried taking the reference out of user-service.xml and doing a hot deploy on the sar file. Same result. Where does the deployer want to see my classes and in what format? I ran the two examples from Ch2 of the AD guide with no trouble. --- 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 --- 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: [JBoss-user] 2nd Try: ejbStore() in BMP Stuck
ejbLoad() and ejbStore() are always called in the context ofa transaction. Generally, ejbLoad() gets called at the beginning of a transaction and ejbStore() gets called at the end of the transaction. For example, in case of TX in session bean getting propagated to entity bean invocation, ejbLoad() gets called at the time when the entity bean is 'found' and instantiated (this is how it happens in JBoss CMP). In case of BMP, ejbLoad gets called each time a business method gets invoked on the entity bean, but u can implement the isModified() to prevent this from happening each time. Hope this explains. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Muraly RSent: Wednesday, July 16, 2003 7:39 PMTo: [EMAIL PROTECTED]Subject: RE: [JBoss-user] 2nd Try: ejbStore() in BMP Stuck Hi Suarjit,Thnaks for the direction...:-)It helped me to resolve the issue.One quick question, what is the trans-attribute for ejbSotre() and ejbLoad() function(). The reason for the doubt being, since this is invoked by the container, whether they will be aprt of any transaction context.ThanksMuralyAt 00:46 17/07/2003 +0530, Surajit Bhattacharjee wrote: At the outset, it looks like the record is locked in DB. Did u try to do a direct update on the same row from any other interface/utility (like Sqlplus in Oracle) ?Surajit -Original Message- From: Surajit Bhattacharjee [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 17, 2003 12:44 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] 2nd Try: ejbStore() in BMP Stuck Hi Muraly! Can u mail the code snippet from inside the ejbStore() ? Regards, Surajit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Muraly R Sent: Wednesday, July 16, 2003 10:04 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] 2nd Try: ejbStore() in BMP Stuck Hello Gurus, I am having a Statless Session Bean which invokes a BMP Entity Bean to update the modiifed value object. How the process works is: 1. In stateless session bean call the ejbFinByPrimaryKey() and get VO. 2. Use the setter methods of the VO to set new values. 3. Then let the ejbStore() to updates the new values. In the ejbStore(), I have the update statement to update the value to table. The exact point of failure is, when I call the 'stmt.executeUpdate()'. Neither this line is executed as well the lines after this. At the same time it is doesn't throw any error. It just hangs. This doesn't stop the application. All other modules are working ok. Could you please suggest what could be wrong with this? Thanks Muraly
[JBoss-user] AbstractInstanceCache deadlock
Hi, We've just release a production service using JBoss 3.2.1 on Solaris with Sun's 1.4.2 JVM, and we're seeing a deadlock on the AbstractInstanceCache for one of our stateful session beans that's used heavily. Over a period of time more and more threads become locked trying to insert or get from the cache, until all the Jetty threads (currently set to a maximum of 255 on the AJP13 listener we're using) are locked and the entire site becomes unresponsive. This seems to be happening about once an hour. I've attached a portion of the thread dump from the server when it has become unresponsive. It shows one thread running org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run with a lock passivating from the AbstractInstanceCache and then a lock and wait on a org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock. Another thread is trying to get from the cache, and one is inserting into the cache. In the entire thread dump there are more inserts than gets. Because we are using mod_jk and the AJP13 listener we are able to use the HTTP listener to view the jmx-console after the site has become unresponsive, but I'm not sure what to look for. We're going to download the source and start looking at the cache implementation, but we would appreciate any help or advice, as we need to fix this urgently. Regards, Andrew Thread-51 daemon prio=5 tid=0x00705960 nid=0x4c in Object.wait() [83901000..83901998] at java.lang.Object.wait(Native Method) - waiting on 0xc0143718 (a org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock) at java.lang.Object.wait(Object.java:429) at org.jboss.ejb.plugins.lock.BeanLockSupport.sync(BeanLockSupport.java:70) - locked 0xc0143718 (a org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock) at org.jboss.ejb.plugins.AbstractInstanceCache.tryToPassivate(AbstractInstanceCache.java:151) at org.jboss.ejb.plugins.AbstractInstanceCache.release(AbstractInstanceCache.java:192) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ageOut(LRUEnterpriseContextCachePolicy.java:274) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.kickOut(LRUEnterpriseContextCachePolicy.java:446) at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask.run(LRUEnterpriseContextCachePolicy.java:405) - locked 0xbaba03c8 (a java.lang.Object) at java.util.TimerThread.mainLoop(Timer.java:432) at java.util.TimerThread.run(Timer.java:382) PoolThread-147 prio=5 tid=0x01bc8248 nid=0xbc6 waiting for monitor entry [7a40..7a401998] at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:103) - waiting to lock 0xbaba03c8 (a java.lang.Object) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:216) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410) at org.jboss.ejb.Container.invoke(Container.java:674) at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy272.search(Unknown Source) at com.ingenta.content.handler.BrowseHandlerUtilities.getTableOfContents(BrowseHandlerUtilities.java:225) - locked 0xbf2a7098 (a com.ingenta.search.handler.SearchSession) at com.ingenta.content.handler.TOCHandler.handleAuthenticated(TOCHandler.java:149) at com.ingenta.authentication.handler.AuthenticationHandler.handle(AuthenticationHandler.java:244) at com.ingenta.servlet.Controller.dispatch(Controller.java:213) at
[JBoss-user] ALERT - GroupShield ticket number OA2567_1058451740_AAQMAIP01_3 was generated
Action Taken: The attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. To: [EMAIL PROTECTED] [EMAIL PROTECTED] From: Andrew May [EMAIL PROTECTED] Sent: -856815616,29576295 Subject: [JBoss-user] AbstractInstanceCache deadlock Attachment Details:- Attachment Name: dump.log File: dump.log Infected? No Repaired? No Blocked? Yes Deleted? No Virus Name: This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. application/ms-tnef
RE: [JBoss-user] AbstractInstanceCache deadlock
Examining now. Thanks for the thread dump as I would not be able to investigate without. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew May Sent: Thursday, July 17, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] AbstractInstanceCache deadlock Hi, We've just release a production service using JBoss 3.2.1 on Solaris with Sun's 1.4.2 JVM, and we're seeing a deadlock on the AbstractInstanceCache for one of our stateful session beans that's used heavily. Over a period of time more and more threads become locked trying to insert or get from the cache, until all the Jetty threads (currently set to a maximum of 255 on the AJP13 listener we're using) are locked and the entire site becomes unresponsive. This seems to be happening about once an hour. I've attached a portion of the thread dump from the server when it has become unresponsive. It shows one thread running org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask .run with a lock passivating from the AbstractInstanceCache and then a lock and wait on a org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock. Another thread is trying to get from the cache, and one is inserting into the cache. In the entire thread dump there are more inserts than gets. Because we are using mod_jk and the AJP13 listener we are able to use the HTTP listener to view the jmx-console after the site has become unresponsive, but I'm not sure what to look for. We're going to download the source and start looking at the cache implementation, but we would appreciate any help or advice, as we need to fix this urgently. Regards, Andrew --- 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
[JBoss-user] [GWAVA:1qw1pvju] SPAM block message notification
This is an automated Notification e-mail message from GWAVA. The message you sent, from the address [EMAIL PROTECTED] to [No To Addresses] Concerning: JBoss-user digest, Vol 1 #4725 - 6 msgs Was not delivered because the message was found to be Spam by the e-mail system in use at the intended recipient's organization. --- 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: [JBoss-user] AbstractInstanceCache deadlock
Ok, I found the deadlock scenarioTrying to figure out the fix. For now, set the overager-period to 0 to turn off the overager thread. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew May Sent: Thursday, July 17, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] AbstractInstanceCache deadlock Hi, We've just release a production service using JBoss 3.2.1 on Solaris with Sun's 1.4.2 JVM, and we're seeing a deadlock on the AbstractInstanceCache for one of our stateful session beans that's used heavily. Over a period of time more and more threads become locked trying to insert or get from the cache, until all the Jetty threads (currently set to a maximum of 255 on the AJP13 listener we're using) are locked and the entire site becomes unresponsive. This seems to be happening about once an hour. I've attached a portion of the thread dump from the server when it has become unresponsive. It shows one thread running org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask .run with a lock passivating from the AbstractInstanceCache and then a lock and wait on a org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock. Another thread is trying to get from the cache, and one is inserting into the cache. In the entire thread dump there are more inserts than gets. Because we are using mod_jk and the AJP13 listener we are able to use the HTTP listener to view the jmx-console after the site has become unresponsive, but I'm not sure what to look for. We're going to download the source and start looking at the cache implementation, but we would appreciate any help or advice, as we need to fix this urgently. Regards, Andrew --- 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: [JBoss-user] [GWAVA:1qw1pvju] SPAM block message notification
Nice... who is gwava and can they please unsubscribe... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of GWAVA Sent: Thursday, July 17, 2003 10:35 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [GWAVA:1qw1pvju] SPAM block message notification This is an automated Notification e-mail message from GWAVA. The message you sent, from the address [EMAIL PROTECTED] to [No To Addresses] Concerning: JBoss-user digest, Vol 1 #4725 - 6 msgs Was not delivered because the message was found to be Spam by the e-mail system in use at the intended recipient's organization. --- 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 --- 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
[JBoss-user] Looking for a Tomcat/Jboss Architect for NYC Firm
Tomcat/Jboss Architect/Engineer needed for NYC Firm -preference to candidate whose written appservers and Apache (Tomcat) opensource code and someone who can manage relationship with the java opensource world. Please contact me -Thanks, Elyse --- Elyse Klein Vice President R.W. Davis Co. 90 Park Avenue New York, NY 10016 Tel. (212)231-4400 ext.288 Fax (212)993-8080 E-mail: [EMAIL PROTECTED]
[JBoss-user] How many EJBs are active??
Hello all. I am having a problem here. I have java desktop app thatlooks up a SessionBean every30 seconds or so, to get info from an EntityBean, and I would like to know how many of this clients are currently active (ie how many SessionBeans are been called) , is there a way to so this, actually I have JBoss powering a Cybercafe management app, and Ihave the desktop apps query jboss every 30 seconds when a userlogs in to find out current status info on user. So how do I know how many clients are currently query JBoss??? Please use my questions if they sound trivial but I am new to JBOSS and any help will be appreciated. Edward Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Re: [JBoss-user] AbstractInstanceCache deadlock
Thanks, We've changed the config for stateful session beans, unfortunately it doesn't seem to like that: Caused by: org.jboss.deployment.DeploymentException: Overager period can't be = 0 at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.importXml(LRUEnterpriseContextCachePolicy.java:199) at org.jboss.ejb.plugins.LRUStatefulContextCachePolicy.importXml(LRUStatefulContextCachePolicy.java:77) at org.jboss.ejb.plugins.AbstractInstanceCache.importXml(AbstractInstanceCache.java:266) So I've set it to 6000, in the hope that running less frequently is less likely to cause deadlocks. Andrew Bill Burke wrote: Ok, I found the deadlock scenarioTrying to figure out the fix. For now, set the overager-period to 0 to turn off the overager thread. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew May Sent: Thursday, July 17, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] AbstractInstanceCache deadlock Hi, We've just release a production service using JBoss 3.2.1 on Solaris with Sun's 1.4.2 JVM, and we're seeing a deadlock on the AbstractInstanceCache for one of our stateful session beans that's used heavily. Over a period of time more and more threads become locked trying to insert or get from the cache, until all the Jetty threads (currently set to a maximum of 255 on the AJP13 listener we're using) are locked and the entire site becomes unresponsive. This seems to be happening about once an hour. I've attached a portion of the thread dump from the server when it has become unresponsive. It shows one thread running org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask .run with a lock passivating from the AbstractInstanceCache and then a lock and wait on a org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock. Another thread is trying to get from the cache, and one is inserting into the cache. In the entire thread dump there are more inserts than gets. Because we are using mod_jk and the AJP13 listener we are able to use the HTTP listener to view the jmx-console after the site has become unresponsive, but I'm not sure what to look for. We're going to download the source and start looking at the cache implementation, but we would appreciate any help or advice, as we need to fix this urgently. Regards, Andrew --- 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 --- 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: [JBoss-user] Windows 2000 Service Pack 4
Ren: The problem appears to have been sdk 1.4.2. I downgraded to 1.4.1_02 and now run.bat executes just fine. I don't have a Windows server that isn't patched to Service Pack 4 so I don't know if the problem was with Windows or the 1.4.2 version of the SDK but I'm inclined to think the SDK is the culprit. Thanks for the Help Dennis MailMan wrote: I'm running W2K-pro service pack 4, JBoss-Jetty (3.2.2) - sun sdk 1.4.1-02. I can try to upgrade my java - otherwise it could be Tomcat !? - Ren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dennis R. Gesker Sent: 17. juli 2003 00:49 To: jboss-user Subject: [JBoss-user] Windows 2000 Service Pack 4 jboss-3.2.2RC1_tomcat-4.1.24 Sun SDK 1.4.2 I recently applied service pack 4 to windows 2000 and now it seems that run.bat fails to load Jboss and reports a java.lang.NoClassDefFoundError. [BTW: java -jar run.jar loads the server just fine.] I didn't seem to have this problem before installing the service pack. Is anyone else seeing this problem?
RE: [JBoss-user] AbstractInstanceCache deadlock
Sorry, set it to 5 billion or something like that so that it will never ever run. I'm working on a fix. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew May Sent: Thursday, July 17, 2003 12:01 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] AbstractInstanceCache deadlock Thanks, We've changed the config for stateful session beans, unfortunately it doesn't seem to like that: Caused by: org.jboss.deployment.DeploymentException: Overager period can't be = 0 at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.importXml(LR UEnterpriseContextCachePolicy.java:199) at org.jboss.ejb.plugins.LRUStatefulContextCachePolicy.importXml(LRUS tatefulContextCachePolicy.java:77) at org.jboss.ejb.plugins.AbstractInstanceCache.importXml(AbstractInst anceCache.java:266) So I've set it to 6000, in the hope that running less frequently is less likely to cause deadlocks. Andrew Bill Burke wrote: Ok, I found the deadlock scenarioTrying to figure out the fix. For now, set the overager-period to 0 to turn off the overager thread. Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew May Sent: Thursday, July 17, 2003 9:32 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] AbstractInstanceCache deadlock Hi, We've just release a production service using JBoss 3.2.1 on Solaris with Sun's 1.4.2 JVM, and we're seeing a deadlock on the AbstractInstanceCache for one of our stateful session beans that's used heavily. Over a period of time more and more threads become locked trying to insert or get from the cache, until all the Jetty threads (currently set to a maximum of 255 on the AJP13 listener we're using) are locked and the entire site becomes unresponsive. This seems to be happening about once an hour. I've attached a portion of the thread dump from the server when it has become unresponsive. It shows one thread running org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy$OveragerTask .run with a lock passivating from the AbstractInstanceCache and then a lock and wait on a org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock. Another thread is trying to get from the cache, and one is inserting into the cache. In the entire thread dump there are more inserts than gets. Because we are using mod_jk and the AJP13 listener we are able to use the HTTP listener to view the jmx-console after the site has become unresponsive, but I'm not sure what to look for. We're going to download the source and start looking at the cache implementation, but we would appreciate any help or advice, as we need to fix this urgently. Regards, Andrew --- 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 --- 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 --- 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
[JBoss-user] Too many EJBs ?
Can anyone help? I have 3 applications running at JBoss 3.0.7 with a total of 200 EJBs deployed. When I deploy the applications, or startup JBoss they work perfectly, but 2 or 3 days later one of them stops working. The problem is that all 3 applications are the same but with different JNDI names, and it's always the same application that goes down (note that this application is the last one deployed). The error occurs when I try to instantiate an EJB Object (with a findByPrimaryKey method) after looking up the EJB Home. Is there something I can do? Thanks Gabriel WorldWeb Webmail - http://www.wwi.com.br --- 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
[JBoss-user] No ManagedConnections Available!
Hi Guys, In order to test the concurrency in my system, I created a Threaded standalone application and tried to invoke a Stateless Session Bean concurrently 100 times. What the Session Bean does is fairly simple, It calls an entiry bean which in turn searches for the primary key in the database. If there is'nt one, it creates a new record. When I executed my threaded applicatoin, I got the following Exception stack trace. Can somebody explain be about this 'No ManagedConnections Available!'. Am I missing something in the way I have configured my datasource. My datasource configuration is : datasources local-tx-datasource jndi-nameOracleDS/jndi-name connection-urljdbc:oracle:thin:@193.16.18.142:1521:testdb/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namedev/user-name passworddev/password exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name /local-tx-datasource /datasources Environment: jboss-3.2.1_tomcat-4.1.24, Oracle 8.1.6, Jdk 1.4.1_01 Thanx in advance, Magesh EXCEPTION STACK: org.jboss.util.NestedSQLException: No ManagedConnections Available!; - nested throwable: (javax.resource.ResourceException: No ManagedConnections Available!) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:106) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestBean.getConnection(RequestBean.java:690) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestBean.ejbFindByPrimaryKey(RequestBean.java:460) at sun.reflect.GeneratedMethodAccessor521.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceManager.java:578) at org.jboss.ejb.plugins.BMPPersistenceManager.findEntity(BMPPersistenceManager.java:316) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:301) at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:627) at sun.reflect.GeneratedMethodAccessor520.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:998) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:188) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:91) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:477) at org.jboss.ejb.Container.invoke(Container.java:694) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:272) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy263.findByPrimaryKey(Unknown Source) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestDBManager.findRequestByRequestID(RequestDBManager.java:53) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestPersistenceManagerBean.findRequestByRequestID(RequestPersistenceManagerBean.java:98) at sun.reflect.GeneratedMethodAccessor544.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629) at
Re: [JBoss-user] AbstractInstanceCache deadlock
It can be disabled by a large number that will cause overflow of the 2^31 value when converted from seconds to milliseconds as this will result in a negative period. For example: overager-period214748364/overager-period -- Scott Stark Chief Technology Officer JBoss Group, LLC Andrew May wrote: Thanks, We've changed the config for stateful session beans, unfortunately it doesn't seem to like that: Caused by: org.jboss.deployment.DeploymentException: Overager period can't be = 0 at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.importXml(LRUEnterpriseContextCachePolicy.java:199) at org.jboss.ejb.plugins.LRUStatefulContextCachePolicy.importXml(LRUStatefulContextCachePolicy.java:77) at org.jboss.ejb.plugins.AbstractInstanceCache.importXml(AbstractInstanceCache.java:266) So I've set it to 6000, in the hope that running less frequently is less likely to cause deadlocks. Andrew --- 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: [JBoss-user] NoSuchObjectException: Could not activate; failedto recover session
Have you seen any problem on the way I'm using replication? I am suposed to keep the ejb references on the servlet httpSession , right? - Original Message - From: Joao Clemente [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 4:22 PM Subject: Re: [JBoss-user] NoSuchObjectException: Could not activate; failedto recover session - Original Message - From: Scott M Stark [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 3:11 PM This shows that the call is not going through the HA aware proxy. It is going through the local invoker and bypassing the HA aware proxy because of the collocation of the caller and callee. The problem is occuring in the stateful session cache replication though. How is the serverlet session and reference to the stateful session bean being maintained across the server restart? As I suspected, a problem related with collocation... Well, the servlet is replicated because it's deployed with distributable/ and Jetty replication is enabled. The references to ejb's is kept in httpSession. I'll show you the relevant code: public class web_counter extends HttpServlet { protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { HttpSession sessao = request.getSession(); if (sessao.isNew()) { // Ainda nao ha contadores nem ligacao ao EJB. /* Lets create a remote reference to the bean I want to access. */ try { InitialContext jndiContext = new InitialContext(); Object ref1 = jndiContext.lookup(contador/ContadorStateless); ContadorHome home1 = (ContadorHome) PortableRemoteObject.narrow(ref1, ContadorHome.class); Contador contadorStateless = home1.create(); Object ref2 = jndiContext.lookup(contador/ContadorStatefull); ContadorHome home2 = (ContadorHome) PortableRemoteObject.narrow(ref2, ContadorHome.class); Contador contadorStatefull = home2.create(); /* Keeping references to remote counters in a session atribute */ sessao.setAttribute(contadorStateless, contadorStateless); sessao.setAttribute(contadorStatefull, contadorStatefull); } catch(Exception e) { System.out.println(Servlet: OOPS! Apanhei excepcao na inicializacao dos EJB's: + e.toString()); } } // Every time the servlet runs, this code is executed. Contador contadorStateless = (Contador) sessao.getAttribute(contadorStateless); Contador contadorStatefull = (Contador) sessao.getAttribute(contadorStatefull); // Invoque EJB's. try { // [SNIP] get a value that was also store inside httpSession and call is counter System.out.println(Servlet: StatelessEJB: Add 2 + +counter.intValue()+ = + contadorStateless.CalculateAdd(2,counter.intValue()) ); System.out.println(Servlet: StatefullEJB: Add 2 e +counter.intValue()+ = + contadorStatefull.CalculateAdd(2,counter.intValue()) ); RetornoContador contStateless = contadorStateless.incrementaContador(stateless); RetornoContador contStatefull = contadorStatefull.incrementaContador(statefull); request.setAttribute(contStateless,contStateless); request.setAttribute(contStatefull,contStatefull); } catch(Exception e){ e.printStackTrace(); } request.getRequestDispatcher(/output.jsp).forward(request, response); } Contador is an EJB that is deployed both as a stateless and as a statefull ejb, with the names that you can see in the jndi lookup, and both deployed as clustered. That ejb has 2 methods: a add method and a increment method. RetornoContador is a structure (a java class with no methods except for the constructor) that contains a int and a string. --- 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 --- 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
[JBoss-user] RE: MDB registered as EntityBean
I am having the problem making testMessage MDB work. Any help will be highly appreciated. The MDB is deployed without any error message except the log enter shown below which says the j2eeType is EntityBean rather than MessageDrivenBean. The MDB is bound to testQueue. I can see testMessage through jmx-console. I have a client program sending message to testQueue. The problem is that there is not indication that the MDB is reacting to the message. In each of the MDB method, there is a System.out.println but there is no entry in the log. The log does have the entries showing the MDB is created. I compared my DD with the example, I could not find any difference. I am using JBoss 3.2.1. I know I have must done something wrong but just could not pinpoint it. thanks -xiangdong -Original Message- From: Xu, Xiangdong Sent: Wednesday, July 16, 2003 6:08 PM To: '[EMAIL PROTECTED]' Subject: MDB registered as EntityBean Hi, After deploying a MDB, TestMessage, I found the following entry in the log: 2003-07-16 17:49:11,066 DEBUG [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container: jboss.j2ee:jndiName=local/TestMessage,service=EJB, module: jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer ver=Local,j2eeType=EntityBean,name=TestMessage Below is the entire TestMessage related log: 2003-07-16 17:49:01,177 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: TestMessage: Verified. 2003-07-16 17:49:02,091 INFO [org.jboss.ejb.EjbModule] Deploying TestMessage 2003-07-16 17:49:02,288 DEBUG [org.jboss.ejb.EjbModule] creating binding for TestMessage:message-driven-bean 2003-07-16 17:49:02,966 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:jndiName=local/TestMessage,service=EJB 2003-07-16 17:49:02,969 DEBUG [org.jboss.ejb.MessageDrivenContainer] Mapped onMessage 1175993645 to public void test.message.TestMessageDrivenBean.onMessage(javax.jms.Message) 2003-07-16 17:49:02,990 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification[source=jboss.system:service=S erviceController,type=org.jboss.system.ServiceMBean.create,sequenceNumber9 6,timeStamp1058392142989,message=null,userData=jboss.j2ee:jndiName=local/T estMessage,service=EJB] 2003-07-16 17:49:02,990 DEBUG [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.management.Notification [source=jboss.system:service=ServiceController,type=org.jboss.system.Servi ceMBean.create,sequenceNumber96,timeStamp1058392142989,message=null,userDa ta=jboss.j2ee:jndiName=local/TestMessage,service=EJB] 2003-07-16 17:49:02,990 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jndiName=local/TestMessage,service=EJB dependen ts are: [] 2003-07-16 17:49:02,990 DEBUG [org.jboss.ejb.EjbModule] Bound jmxName=jboss.j2ee :jndiName=local/TestMessage,service=EJB, hash=551757964into Registry jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Created jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Created 2003-07-16 17:49:10,474 DEBUG [org.jboss.ejb.EjbModule] startService, starting container: TestMessage 2003-07-16 17:49:10,474 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=local/TestMessage,service=EJB 2003-07-16 17:49:10,475 DEBUG [org.jboss.ejb.MessageDrivenContainer] Begin java:comp/env for EJB: TestMessage 2003-07-16 17:49:10,498 DEBUG [org.jboss.ejb.MessageDrivenContainer] End java:comp/env for EJB: TestMessage 2003-07-16 17:49:10,498 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] TestMessage cannot be Bound, doesn't have local and local home interfaces 2003-07-16 17:49:10,687 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Queue for TestMessage 2003-07-16 17:49:10,989 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jndiName=local/TestMessage,service=EJB dependen t components: [] jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Started 2003-07-16 17:49:11,066 DEBUG [org.jboss.management.j2ee.EJB] Created JSR-77 EJB: jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer ver=Local,j2eeType=EntityBean,name=TestMessage 2003-07-16 17:49:11,066 DEBUG [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container: jboss.j2ee:jndiName=local/TestMessage,service=EJB, module: jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer ver=Local,j2eeType=EntityBean,name=TestMessage Please find my jboss.xml and ejb-jar.xml in the attachment. Thank you very much for help. -xiangdong File: ejb-jar.xmlFile: jboss.xml --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine.
Re: [JBoss-user] No ManagedConnections Available!
Not totally clear on how many threads are actually running concurrently, but the data source has a default of MAX 20 connections, so it is quite likely that you would get this error since you will have used up all the connections. //Nicholas --- Magesh Prabhu [EMAIL PROTECTED] wrote: Hi Guys, In order to test the concurrency in my system, I created a Threaded standalone application and tried to invoke a Stateless Session Bean concurrently 100 times. What the Session Bean does is fairly simple, It calls an entiry bean which in turn searches for the primary key in the database. If there is'nt one, it creates a new record. When I executed my threaded applicatoin, I got the following Exception stack trace. Can somebody explain be about this 'No ManagedConnections Available!'. Am I missing something in the way I have configured my datasource. My datasource configuration is : datasources local-tx-datasource jndi-nameOracleDS/jndi-name connection-urljdbc:oracle:thin:@193.16.18.142:1521:testdb/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namedev/user-name passworddev/password exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name /local-tx-datasource /datasources Environment: jboss-3.2.1_tomcat-4.1.24, Oracle 8.1.6, Jdk 1.4.1_01 Thanx in advance, Magesh EXCEPTION STACK: org.jboss.util.NestedSQLException: No ManagedConnections Available!; - nested throwable: (javax.resource.ResourceException: No ManagedConnections Available!) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:106) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestBean.getConnection(RequestBean.java:690) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestBean.ejbFindByPrimaryKey(RequestBean.java:460) at sun.reflect.GeneratedMethodAccessor521.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.plugins.BMPPersistenceManager.callFinderMethod(BMPPersistenceManager.java:578) at org.jboss.ejb.plugins.BMPPersistenceManager.findEntity(BMPPersistenceManager.java:316) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.findEntity(CachedConnectionInterceptor.java:301) at org.jboss.ejb.EntityContainer.findLocal(EntityContainer.java:627) at sun.reflect.GeneratedMethodAccessor520.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:998) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:188) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:91) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:74) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:477) at org.jboss.ejb.Container.invoke(Container.java:694) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:272) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy263.findByPrimaryKey(Unknown Source) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestDBManager.findRequestByRequestID(RequestDBManager.java:53) at com.pindartech.imageprocessing.manager.requestpersistencemanager.RequestPersistenceManagerBean.findRequestByRequestID(RequestPersistenceManagerBean.java:98) at sun.reflect.GeneratedMethodAccessor544.invoke(Unknown Source) at
RE: [JBoss-user] RE: MDB registered as EntityBean
I'm having the same problem. I made a MDB using the deployment descriptor info same as in the example testMDB3. Am also using JBoss 3.2.1 -Original Message- From: Xu, Xiangdong [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 1:29 PM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] RE: MDB registered as EntityBean I am having the problem making testMessage MDB work. Any help will be highly appreciated. The MDB is deployed without any error message except the log enter shown below which says the j2eeType is EntityBean rather than MessageDrivenBean. The MDB is bound to testQueue. I can see testMessage through jmx-console. I have a client program sending message to testQueue. The problem is that there is not indication that the MDB is reacting to the message. In each of the MDB method, there is a System.out.println but there is no entry in the log. The log does have the entries showing the MDB is created. I compared my DD with the example, I could not find any difference. I am using JBoss 3.2.1. I know I have must done something wrong but just could not pinpoint it. thanks -xiangdong -Original Message- From: Xu, Xiangdong Sent: Wednesday, July 16, 2003 6:08 PM To: '[EMAIL PROTECTED]' Subject: MDB registered as EntityBean Hi, After deploying a MDB, TestMessage, I found the following entry in the log: 2003-07-16 17:49:11,066 DEBUG [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container: jboss.j2ee:jndiName=local/TestMessage,service=EJB, module: jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer ver=Local,j2eeType=EntityBean,name=TestMessage Below is the entire TestMessage related log: 2003-07-16 17:49:01,177 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean checked: TestMessage: Verified. 2003-07-16 17:49:02,091 INFO [org.jboss.ejb.EjbModule] Deploying TestMessage 2003-07-16 17:49:02,288 DEBUG [org.jboss.ejb.EjbModule] creating binding for TestMessage:message-driven-bean 2003-07-16 17:49:02,966 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:jndiName=local/TestMessage,service=EJB 2003-07-16 17:49:02,969 DEBUG [org.jboss.ejb.MessageDrivenContainer] Mapped onMessage 1175993645 to public void test.message.TestMessageDrivenBean.onMessage(javax.jms.Message) 2003-07-16 17:49:02,990 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification[source=jboss.system:service=S erviceController,type=org.jboss.system.ServiceMBean.create,sequenceNumber9 6,timeStamp1058392142989,message=null,userData=jboss.j2ee:jndiName=local/T estMessage,service=EJB] 2003-07-16 17:49:02,990 DEBUG [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.management.Notification [source=jboss.system:service=ServiceController,type=org.jboss.system.Servi ceMBean.create,sequenceNumber96,timeStamp1058392142989,message=null,userDa ta=jboss.j2ee:jndiName=local/TestMessage,service=EJB] 2003-07-16 17:49:02,990 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jndiName=local/TestMessage,service=EJB dependen ts are: [] 2003-07-16 17:49:02,990 DEBUG [org.jboss.ejb.EjbModule] Bound jmxName=jboss.j2ee :jndiName=local/TestMessage,service=EJB, hash=551757964into Registry jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Created jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Created 2003-07-16 17:49:10,474 DEBUG [org.jboss.ejb.EjbModule] startService, starting container: TestMessage 2003-07-16 17:49:10,474 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jndiName=local/TestMessage,service=EJB 2003-07-16 17:49:10,475 DEBUG [org.jboss.ejb.MessageDrivenContainer] Begin java:comp/env for EJB: TestMessage 2003-07-16 17:49:10,498 DEBUG [org.jboss.ejb.MessageDrivenContainer] End java:comp/env for EJB: TestMessage 2003-07-16 17:49:10,498 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] TestMessage cannot be Bound, doesn't have local and local home interfaces 2003-07-16 17:49:10,687 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Queue for TestMessage 2003-07-16 17:49:10,989 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jndiName=local/TestMessage,service=EJB dependen t components: [] jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Started 2003-07-16 17:49:11,066 DEBUG [org.jboss.management.j2ee.EJB] Created JSR-77 EJB: jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer ver=Local,j2eeType=EntityBean,name=TestMessage 2003-07-16 17:49:11,066 DEBUG [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container: jboss.j2ee:jndiName=local/TestMessage,service=EJB, module: jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer ver=Local,j2eeType=EntityBean,name=TestMessage
RE: [JBoss-user] AbstractInstanceCache deadlock
Ok, it is fixed in Branch_3_2 and HEAD. The fix is in LRUEnterpriseContextCachePolicy.java Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Scott M Stark Sent: Thursday, July 17, 2003 1:26 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] AbstractInstanceCache deadlock It can be disabled by a large number that will cause overflow of the 2^31 value when converted from seconds to milliseconds as this will result in a negative period. For example: overager-period214748364/overager-period -- Scott Stark Chief Technology Officer JBoss Group, LLC Andrew May wrote: Thanks, We've changed the config for stateful session beans, unfortunately it doesn't seem to like that: Caused by: org.jboss.deployment.DeploymentException: Overager period can't be = 0 at org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.importXml(LR UEnterpriseContextCachePolicy.java:199) at org.jboss.ejb.plugins.LRUStatefulContextCachePolicy.importXml(LRUS tatefulContextCachePolicy.java:77) at org.jboss.ejb.plugins.AbstractInstanceCache.importXml(AbstractInst anceCache.java:266) So I've set it to 6000, in the hope that running less frequently is less likely to cause deadlocks. Andrew --- 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 --- 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
[JBoss-user] EAR deployments and DeploymentSorter
Is the deployment sorter declared in the URLDeploymentScanner (in jboss-service.xml) used to order the sub deployments of an EAR? If not, what order is used? thanks, brian wallis... --- 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: [JBoss-user] NoSuchObjectException: Could not activate; failedtorecover session
It should be fine and there is no problem with collocation here as the call is getting into the container. The issue is with the initialization of the stateful session cache and this will have to be investigated. -- Scott Stark Chief Technology Officer JBoss Group, LLC Joao Clemente wrote: Have you seen any problem on the way I'm using replication? I am suposed to keep the ejb references on the servlet httpSession , right? --- 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: [JBoss-user] Windows 2000 Service Pack 4
JDK1.4.2 is working fine with jboss-3.2.2RC1_tomcat-4.1.24 on an XPsp1 box: C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24\binset JAVA_HOME=/usr/local/Java/j2sdk1.4.2 C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24\binrun === . JBoss Bootstrap Environment . JBOSS_HOME: C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24\bin\\.. . JAVA: /usr/local/Java/j2sdk1.4.2\bin\java . JAVA_OPTS: -Dprogram.name=run.bat . CLASSPATH: ;/usr/local/Java/j2sdk1.4.2\lib\tools.jar;C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24\ bin\\run.jar . === . 18:14:03,189 INFO [Server] Starting JBoss (MX MicroKernel)... 18:14:03,199 INFO [Server] Release ID: JBoss [WonderLand] 3.2.2RC1 (build: CVSTag=JBoss_3_2_2_RC1 d ate=200306060938) 18:14:03,209 INFO [Server] Home Dir: C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24 18:14:03,209 INFO [Server] Home URL: file:/C:/cvs/Releases/jboss-3.2.2RC1_tomcat-4.1.24/ 18:14:03,219 INFO [Server] Library URL: file:/C:/cvs/Releases/jboss-3.2.2RC1_tomcat-4.1.24/lib/ 18:14:03,229 INFO [Server] Patch URL: null 18:14:03,229 INFO [Server] Server Name: default 18:14:03,229 INFO [Server] Server Home Dir: C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24\server\default 18:14:03,239 INFO [Server] Server Home URL: file:/C:/cvs/Releases/jboss-3.2.2RC1_tomcat-4.1.24/server/default/ 18:14:03,249 INFO [Server] Server Data Dir: C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24\server\def ault\data 18:14:03,259 INFO [Server] Server Temp Dir: C:\cvs\Releases\jboss-3.2.2RC1_tomcat-4.1.24\server\default\tmp 18:14:03,259 INFO [Server] Server Config URL: file:/C:/cvs/Releases/jboss-3.2.2RC1_tomcat-4.1.24/server/default/conf/ 18:14:03,269 INFO [Server] Server Library URL: file:/C:/cvs/Releases/jboss-3.2.2RC1_tomcat-4.1.24/server/default/lib/ 18:14:03,269 INFO [Server] Root Deployemnt Filename: jboss-service.xml 18:14:03,279 INFO [Server] Starting General Purpose Architecture (GPA)... 18:14:03,730 INFO [ServerInfo] Java version: 1.4.2,Sun Microsystems Inc. 18:14:03,730 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-b28,Sun Microsystems Inc. 18:14:03,730 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 18:14:03,800 INFO [ServiceController] Controller MBean online -- Scott Stark Chief Technology Officer JBoss Group, LLC Dennis R. Gesker wrote: René: The problem appears to have been sdk 1.4.2. I downgraded to 1.4.1_02 and now run.bat executes just fine. I don't have a Windows server that isn't patched to Service Pack 4 so I don't know if the problem was with Windows or the 1.4.2 version of the SDK but I'm inclined to think the SDK is the culprit. Thanks for the Help Dennis MailMan wrote: I'm running W2K-pro service pack 4, JBoss-Jetty (3.2.2) - sun sdk 1.4.1-02. I can try to upgrade my java - otherwise it could be Tomcat !? - René -Original Message- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of *Dennis R. Gesker *Sent:* 17. juli 2003 00:49 *To:* jboss-user *Subject:* [JBoss-user] Windows 2000 Service Pack 4 jboss-3.2.2RC1_tomcat-4.1.24 http://prdownloads.sourceforge.net/jboss/jboss-3.2.2RC1_tomcat-4.1.24.zip?download Sun SDK 1.4.2 I recently applied service pack 4 to windows 2000 and now it seems that run.bat fails to load Jboss and reports a java.lang.NoClassDefFoundError. [BTW: java -jar run.jar loads the server just fine.] I didn't seem to have this problem before installing the service pack. Is anyone else seeing this problem? --- 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: [JBoss-user] No ManagedConnections Available!
This says you are exceeding the default connection pool size of 20. Add a max-pool-size element: max-pool-size/max-pool-size -- Scott Stark Chief Technology Officer JBoss Group, LLC Magesh Prabhu wrote: Hi Guys, In order to test the concurrency in my system, I created a Threaded standalone application and tried to invoke a Stateless Session Bean concurrently 100 times. What the Session Bean does is fairly simple, It calls an entiry bean which in turn searches for the primary key in the database. If there is'nt one, it creates a new record. When I executed my threaded applicatoin, I got the following Exception stack trace. Can somebody explain be about this 'No ManagedConnections Available!'. Am I missing something in the way I have configured my datasource. My datasource configuration is : datasources local-tx-datasource jndi-nameOracleDS/jndi-name connection-urljdbc:oracle:thin:@193.16.18.142:1521:testdb/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-namedev/user-name passworddev/password exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name /local-tx-datasource /datasources Environment: jboss-3.2.1_tomcat-4.1.24, Oracle 8.1.6, Jdk 1.4.1_01 Thanx in advance, Magesh --- 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: [JBoss-user] Specifying TopicConnectionFactory names...
Connection factories are defined indepdendent of the destinations and are already defined in the jms/jbossmq-service.xml descriptor which is setup by default with all of the jms invokers. -- Scott Stark Chief Technology Officer JBoss Group, LLC Satish Kumar L V wrote: Hi, I am using JBoss 3.2.1 and am trying to deploy Message Driven Beans. I have specified the Topics in jbossmq-mctopic-service.xml n have put the file in JBossHome\server\Domain\deploy\jms. It is creating the Topics, but where should I specify the TopicConnectionFactories? Also, should this TopicConnectionFactory be specified in jboss.xml for each Message Bean under resource-ref? Thanks in Advance, L V Satish Kumar MasterCraft Pune --- 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: [JBoss-user] How many EJBs are active??
This info is available in the jmx-console if you can find the name of the ejb container in question. It will be under the jboss.j2ee section and the container name will be like: jndiName=your-jndi-home-name,service=EJB and the ejb pool will be like: jndiName=your-jndi-home-name,plugin=pool,service=EJB For example: jndiName=ejb/mgmt/MEJB,service=EJB jndiName=ejb/mgmt/MEJB,plugin=pool,service=EJB -- Scott Stark Chief Technology Officer JBoss Group, LLC ed banfa wrote: Hello all. I am having a problem here. I have java desktop app that looks up a SessionBean every 30 seconds or so, to get info from an EntityBean, and I would like to know how many of this clients are currently active (ie how many SessionBeans are been called) , is there a way to so this, actually I have JBoss powering a Cybercafe management app, and I have the desktop apps query jboss every 30 seconds when a user logs in to find out current status info on user. So how do I know how many clients are currently query JBoss??? Please use my questions if they sound trivial but I am new to JBOSS and any help will be appreciated. Edward Now only $29.95 per month! --- 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
[JBoss-user] very urgent
FROM: MRS.MARIAM SANI ABACHA STRICTLY PRIVATE Dear Sir, PROPOSAL FOR THE RE TRANSFER OF US$45.5 MILLION UNITED STATES DOLLARS. I take liberty to introduce my humble self to you and permit me to write you. I am MRS MARIAM ABACHA (WIDOW) the wife of Late General Sani Abacha Former Head of state of the defunct Military Government of Nigeria, who was killed, while in office in 1998. After these, the Present Democratic Elected Government of OLUSEGUN OBASANJO took over in 1999 as a result of Military misrule over the years, during the tenure of Late General Abacha (my inlaw) he enriched and accumulated a lot of money while in office, but unfortunately for him the man died. This money was lodged in different banks abroad in America, Canada, Europe and Africa. Etc. However, the present Government succeeded in Frozening most of these Accounts and have so far recalled these money back to the country, with exception of the money deposited in a valt with AMICABLE SECURITY COMPANY in Cotonou Republic of Benin undiscovered up til date. And due to sanction placed on the family by the Present Government I can not reach this money nor withdraw it to Nigeria for use. Otherwise, we have jointly decided within the family to relocate this funds out abroad for investment. This is the only ways and means we can utilize this money wisely. Consequently, we beg for your assistance in investing this money ie. Purchase factory (s), Estate and any other viable venture you might suggest. I got your contact through your country (s) Embassy, as a trustworthy and reliable person we believe strongly, you will not disappoint us, we have also agreed to give you 30% of the total amount as share in this business, at the end of the day. Finally, we require the following information to facilitate and normalization of documentation with the Security Company. (a) Your complete name (b) Your Telephone/Fax Numbers (c) Complete Bank Account Numbers and Addresses. Again, all arrangement and logistics of this transaction are in place as you are free and secured in this transaction, you will be glad you did and we shall remain grateful. I most faithfully look forward to hear from you. Thanks in anticipations. Best regards, MRS.MARIAM SANI ABACHA N/B:PLEASE FOR CONFIRMATION CHECK THIS WEB.SITE (www.econdad.org/AbachaLaunch.htm) --- 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: [JBoss-user] EAR deployments and DeploymentSorter
No, the application.xml + jboss-app.xml order of the modules should determine the deployment ordering as this is the only content that is deployed. -- Scott Stark Chief Technology Officer JBoss Group, LLC Brian Wallis wrote: Is the deployment sorter declared in the URLDeploymentScanner (in jboss-service.xml) used to order the sub deployments of an EAR? If not, what order is used? thanks, brian wallis... --- 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: [JBoss-user] EAR deployments and DeploymentSorter
No, the application.xml + jboss-app.xml order of the modules should determine the deployment ordering as this is the only content that is deployed. I had a read of the code in EARDeployer and the order of the application.xml and jboss-app.xml module declarations are lost since they are stored into a HashMap in J2eeApplicationMetaData. MainDeployer seems to sort subdeployments using a DeploymentSorter (but not the same one specified in the URLDeploymentScanner mbean) so the default suffix order seems to be used. (this is in 3.0.7) brian... --- 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
[JBoss-user] Automatic transaction retry
Hi, I see in TxInterceptorCMT that transaction can be automatically retried in case of a deadlock.It doesn't seem that my transaction is getting retried (don't find "retrying" trace in server.log). Is there something i can change in configuration? I'm working with 3.2.0. Thanks, Leonid. Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!