Re: [JBoss-user] [3.2.2RC2] Using the UUID or HiLoID generator
Hello Dustin, you can use generators in your applications. For example: InitialContext ic = new InitialContext(); // get generator factory from JNDI IDGeneratorFactory keyGeneratorFactory = (IDGeneratorFactory)ic.lookup(idFactoryName); // get generator instance (perhaps, should be made a // @jmx.managed-operation) idGenerator = keyGeneratorFactory.getIDGenerator(); alex Barlow, Dustin wrote: Is there a way to use the UUID or the HiLoID generator outside of JDO or CMP? Can I call this service from a SSB, or another JMX component? I looked in the jmx-console for what methods were exposed in the UUIDGeneratorFactory, but didn't see anything other then the default start, stop, init methods. Dustin --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ 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/358/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Core dumps in Jboss3.2.2.RC2 !
I've no problems with JBoss 3.2.2RC3 on Solaris 9 (08/03) and J2SE 1.4.2 on SunBlade 150. I would advise you to use the newest JDK (1.4.2) and be up to date with system library patches for the OS. Regards - Frank Sacha Labourey wrote: I am not using Solaris, is anyone using Solaris has a JVM to suggest? What version of Solaris do you run (on which hardware?) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nishant Aggarwal Sent: mercredi, 20. août 2003 02:49 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Core dumps in Jboss3.2.2.RC2 ! Hi Sacha, Can you please let me the resolution of the problem? Which JVM version I should use with JBoss3.2.2.RC2? TIA, Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sacha Labourey Sent: Tuesday, August 19, 2003 4:38 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Core dumps in Jboss3.2.2.RC2 ! I suspect this to be a JVM issue (there weas the same think with a previous IBM JVM if I remember correctly) Cheers, sacha -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nishant Aggarwal Sent: mercredi, 20. août 2003 01:49 To: [EMAIL PROTECTED] Subject: [JBoss-user] Core dumps in Jboss3.2.2.RC2 ! Hi, I am running "JBoss3.2.2RC2_Jetty4.2.11" on my Solaris 5.8 workstation and the jboss installation is mounted on NFS. Now I connect to 2 machines and try running JBoss from these machines.JBoss comes up fine in both the machines. I am also running "Mod-jk2_2.0.47" as load-balancer in Apapche 2.0.47.The http requests are forwarded by this load balancer to my 2 Jboss servers. As soon as I make a web-invocation , a core dump happens in one of the JBoss instance. Can we run JBoss from the same directory but from different machines,as it happens quite often? I am pasting the "core-dump" from the log file generated by JBoss: - An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 10 occurred at PC=0xFF331134 Function=memcpy+0xB44 Library=/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 Current Java thread: at java.util.zip.ZipFile.read(Native Method) at java.util.zip.ZipFile.access$1000(ZipFile.java:26) at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:434) - locked (a java.util.jar.JarFile) at java.util.zip.ZipFile$1.fill(ZipFile.java:227) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134) at sun.misc.Resource.getBytes(Resource.java:64) at java.net.URLClassLoader.defineClass(URLClassLoader.java:247) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClass Loader.java:41 7) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) - locked (a org.jboss.mx.loading.UnifiedClassLoader3) at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(Unifi edClassLoader. java:256) at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoad ingTask.java:1 14) at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:281) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClas sLoader3.java: 170) - locked (a org.jboss.mx.loading.UnifiedClassLoader3) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) - locked (a org.jboss.mx.loading.UnifiedClassLoader3) at org.mortbay.http.HttpMessage.(HttpMessage.java:78) at org.mortbay.http.HttpRequest.(HttpRequest.java:133) at org.mortbay.http.HttpConnection.(HttpConnection.java:113) at org.mortbay.http.ajp.AJP13Connection.(AJP13Connection.java:52) at org.mortbay.http.ajp.AJP13Listener.handleConnection(AJP13Liste ner.java:198) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454) Dynamic libraries: 0x1 /user/sujan/JDK1.4/j2sdk1.4.1_02/bin/java 0xff35 /usr/lib/libthread.so.1 0xff39 /usr/lib/libdl.so.1 0xff20 /usr/lib/libc.so.1 0xff33 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 0xfe00 /user/sujan/JDK1.4/j2sdk1.4.1_02/jre/lib/sparc/server/libjvm.so 0xff1d /usr/lib/libCrun.so.1 0xff1b /usr/lib/libsocket.so.1 0xff10 /usr/lib/libnsl.so.1 0xff0d /opt/SUNWspro/SC5.0/lib/libm.so.1 0xff30 /usr/lib/libw.so.1 0xff0b /usr/lib/libmp.so.2 0xff08 /user/sujan/JDK1.4/j2sdk1.4.1_02/jre/lib/sparc/native_threads/ libhpi.so 0xff05 /user/sujan/JDK1.4/j
Re: [JBoss-user] ejb client - ctx - unknown source
You should use new InitialContext(); when access java:comp/env Regards, Adrian On Wed, 2003-08-20 at 14:23, Jiri Chaloupka wrote: > Hallo, > I am learning about ejbs ... > I have some ejb deployed on JBoss and client for this, where is: > > > Properties props = System.getProperties(); > props.setProperty(Context.INITIAL_CONTEXT_FACTORY, > "org.jboss.naming.HttpNamingContextFactory"); > props.setProperty(Context.PROVIDER_URL, > "http://localhost/invoker/ReadOnlyJNDIFactory";); > > InitialContext iniCtx = new InitialContext(props); > Context ejbCtx = (Context)iniCtx.lookup("java:comp/env/ejb"); > ... > > > and at console I see: > * > java.lang.reflect.UndeclaredThrowableException > at $Proxy0.lookup(Unknown Source) > at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492) > ... > * > > Where I can see corrent source name instead of java:comp/env/ejb, which > I saw in Joss book? > Durring ejb deploying there was no name displayed: > * > 10:02:07,109 INFO [MainDeployer] Starting deployment of package: > file:/D:/jboss > /server/default/deploy/counter.jar > 10:02:07,484 INFO [EjbModule] Creating > 10:02:07,484 INFO [EjbModule] Deploying Count > 10:02:07,609 INFO [StatefulSessionContainer] Creating > 10:02:07,625 INFO [StatefulSessionInstancePool] Creating > 10:02:07,625 INFO [StatefulSessionInstancePool] Created > 10:02:07,625 INFO [StatefulSessionFilePersistenceManager] Creating > 10:02:07,687 INFO [StatefulSessionFilePersistenceManager] Created > 10:02:07,687 INFO [StatefulSessionContainer] Created > 10:02:07,687 INFO [EjbModule] Created > 10:02:07,687 INFO [EjbModule] Starting > 10:02:07,687 INFO [StatefulSessionContainer] Starting > 10:02:07,750 INFO [StatefulSessionInstancePool] Starting > 10:02:07,750 INFO [StatefulSessionInstancePool] Started > 10:02:07,750 INFO [StatefulSessionFilePersistenceManager] Starting > 10:02:07,750 INFO [StatefulSessionFilePersistenceManager] Started > 10:02:07,750 INFO [StatefulSessionContainer] Started > 10:02:07,750 INFO [EjbModule] Started > 10:02:07,750 INFO [EJBDeployer] Deployed: > file:/D:/jboss/server/default/deploy/ > counter.jar > 10:02:07,781 INFO [MainDeployer] Deployed package: > file:/D:/jboss/server/defaul > t/deploy/counter.jar > > > Or it is anywhere else? > Thanks for help, > Jiri > > > > --- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > ___ > 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/358/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Change Log Level at Runtime?
Edit conf/log4j.xml and your changes will be picked up after a short delay (or you can use the reconfigure method in the MBean to force it to re-read the configuration file). -Andrew Peter Luttrell wrote: Is there any way to change the log level for the server.log at runtime? I've looked at the service=Logging,type=Log4jService in the jmx-console, but can't seam to get any of the operations to work. I'm using jboss3.2.1. .peter --- 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/358/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Biliyoruz Reklam'a iHTiYACINIZ VAR..! 21.08.2003 02:10:32
Title: Untitled Merhaba jboss-user , TR.Rehber 11 - 199$ 6.850.000 Türk E-mail adresi ( İllere, yaş gruplarına, cinsiyetlere ve meslek gruplarına göre büyük bir titizlik ile kategori edilip hazirlandi.) World.Rehber 4.0-199$ Dünya Genelinde 350 Milyon e-mail adresi ülkelere ve kıtalara göre büyük bir titizlik ile kategori edilip hazirlandi. Firma.Rehberi 2 - 55$ Türkiye genelinde 500bin firmanin adi, adresi, faliyet alani, telefon, fax, e-mail,web adresi gibi bilgilerinin bulunduğu muhteşem bir kaynaktir. TR.Rehber 11 ve World.Rehber 4.0 birlikte alındığında sadece 299$ Dünya'da ve paralel olarak Türkiye'de internet her geçen gün çığ gibi büyümekte. Bu yeni oluşum içinde yer almak ve faaliyette bulunmak kaçınılmaz. Şu anda, Türkiye'de 7 milyon internet kullanıcısı olduğu tahmin ediliyor ve bu rakkam her geçen gün hızla artıyor. İnternet'te firmanızın WEB sitesini oluşturma zorunluluğu her geçen gün artıyor. Bu kadar kolay ulaşım imkanları olan bir teknikten firmanız niçin yararlanmasın. Firmanızın WEB sitesini açmanız yeterli mi? Sitenizin açıldığını nasıl ve kime duyuracaksınız ? Sitenize nasıl çok ziyaretçi çekebileceksiniz ? Internet'te, aynı işi yapan veya sizin ulaşmak istediğiniz firmaları nasıl bulacaksınız? Tabiki Mail Servis Rehber CD'leri ile.. .:: Ödeme ve Ulaşım Seçeneklerimiz::. Seçenek 1 - Ödeme banka havalesi, ulaşım kargo ile sağlanacakdır. (24 saat içerisinde adresinize teslim edilir.) Seçenek 2 - Ödemeli APS. Ödeme CD'lerin teslimatını gerçekleştiren kuryeye yapılacaktır. (24-72 saat arasında adresinize teslim edilir.) Seçenek 3 - Banka ödemesi ile direk download imkanı. Rehberlere anında ulaşmak isteyen müşterilerimiz için hızlı bir çözümdür. İLETİŞİM BİLGİLERİ 0 535 482 97 19 GÖKHAN ATASOY !! Tüm ürünlerimiz 687.245 adet arama motoruna kayıt hediyelidir !! Herseye ragmen bizden e-mail almak istemiyor ve satisa sundugumuz listelerden cikmak istiyorsaniz [EMAIL PROTECTED] adresine bos bir mail gondermeniz yeterli olacakdir. --- 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/358/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Issue with XDoclet tags in JBoss Eclipse plugin
Title: Message Disregard the XDoclet configuration: do not need. The XDoclet configuration manager attempts to put a point and click interface on things but at this time it is just too klunky to be effective. The XDoclet ANT task itself is all one really needs. I like the code-completion of ejb tags (assuming it can be more discriminating about the suggested tags) and of course the debugger interface is convenient also Definitely not a fan of the XDoclet interface thus far. -Original Message-From: Rod Macpherson Sent: Thursday, August 21, 2003 7:39 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] Issue with XDoclet tags in JBoss Eclipse plugin Added a class and put the @ejb stringin the class comments then CTRL+ to select "bean". Now I have @ejb.bean and hit CTRL+ to see what my options are for tag attributes. The problem is a large list of suggestions pops up but my expectation is that only the attributes associated with @ejb.bean (in this case) would be displayed. They are there but you have to hunt for them in the list. BTW, why does the sourceforge status for the JBoss "IDE" say "to be removed"? TIA, Rod
[JBoss-user] No ejb-relationship-role-name element found
When deploying my entity beans I receive the output below from JBoss (at the bottom of this message). I have two entity beans. A FileBean has a CMR to a ContentTypeBean. This relationship is many to one unidirectional since many files can contain the same content types. I'm using xdoclet to generate my interfaces and deployment descriptors. In FileBean I have: -- begin FileBean -- /** * @ejb.interface-method * * @param contentType */ public abstract void setContentType(ContentTypeLocal contentType); /** * @ejb.interface-method * @ejb.relation * name="1 File has 1 ContentType" * role-name="File has 1 ContentType" * target-ejb="ContentType" * @resin-ejb.relation * sql-column="content_type_id" * @jboss.relation * related-pk-field="contentTypeId" * fk-column="content_type_id" * @return ContentTypeLocal */ public abstract ContentTypeLocal getContentType(); -- end FileBean -- Since this is a unidirectional relationship ContentTypeBean does not know anything about a FileBean. The relationship in jbosscmp-jdbc.xml looks like this: -- begin jbosscmp-jdbc.xml -- 1 File has 1 ContentType File has 1 ContentType contentTypeId content_type_id -- end jbosscmp-jdbc.xml -- Now I'm trying to figure out whether or not the error below is telling me that ContentType does not have an ejb-relationship-role-name (note that this bean is mentioned just before the first "state: FAILED" message). It does have an ejb-relationship-role-name element, but no body to that element. Could someone clue me in to what I'm doing wrong here? Thank you, -M@ 10:49:08,083 INFO [EJBDeployer] Deployed: file:/usr/local/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/ versaly.jar/ 10:49:08,461 INFO [MainDeployer] Deployed package: file:/usr/local/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/ versaly.jar/ 10:49:08,466 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:jndiName=local/ContentType,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/InvoiceContent,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/AnimationContent,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/CartContent,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/Invoice,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/Partner,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/Contract,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/File,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/PhoneContract,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/RingtoneContent,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/Address,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/Content,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/PartnerType,service=EJB state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found, ObjectName: jboss.j2ee:jndiName=local/Ca
[JBoss-user] Exception when starting jboss3.2.1-tomcat4.1.24
hi all, i got the following exception while starting jboss org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag e recovery may not be accurate; - nested throwable: (org.jboss.util.NestedSQLExc eption: Could not create connection; - nested throwable: (java.sql.SQLException: Connection is broken: Connection refused: connect); - nested throwable: (org.jb oss.resource.JBossResourceException: Could not create connection; - nested throw able: (java.sql.SQLException: Connection is broken: Connection refused: connect) )) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers istenceManager.java:276) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceMana ger.java:1299) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 92) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:966) at $Proxy11.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:392) at org.jboss.system.ServiceController.start(ServiceController.java:408) at org.jboss.system.ServiceController.start(ServiceController.java:408) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:200) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A bstractDeploymentScanner.java:273) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 92) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:966) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:392) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:388) at java.lang.Thread.run(Thread.java:479) + nested throwable: org.jboss.util.NestedSQLException: Could not create connection; - nested throwab le: (java.sql.SQLException: Connection is broken: Connection refused: co
[JBoss-user] Issue with XDoclet tags in JBoss Eclipse plugin
Title: Message Added a class and put the @ejb stringin the class comments then CTRL+ to select "bean". Now I have @ejb.bean and hit CTRL+ to see what my options are for tag attributes. The problem is a large list of suggestions pops up but my expectation is that only the attributes associated with @ejb.bean (in this case) would be displayed. They are there but you have to hunt for them in the list. BTW, why does the sourceforge status for the JBoss "IDE" say "to be removed"? TIA, Rod
Re: [JBoss-user] Sar deployment order question
On Thu, 21 Aug 2003 19:52, Davide Pozza wrote: > Hi all > I've packager my application's jar and war into a sar archive and at the > first startup of jboss I receive many deployment errors. > I know that this is because the datasources used by my application are > deployed and bounded to jndi after the sar deployment, but I don't know > hot to tell jboss that my application has to be deployed at the end of > the startup process. I don't think you can include jars and wars for deployment in a sar file. You would package the jar, war and sar into an ear file. You will then need both an application.xml and jboss-app.xml in the META-INF directory of the ear file to describe what is being deployed. The deployment order will be sar, then ejb-jar and then war (this is currently a fixed order for an ear file). See doc/dtd/*dtd for the definition of the application.xml and jboss-app.xml files. They are very simple to create. 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/358/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Issue with the DQLHandler and multiple DLQs
I'm just guessing, but are the 'retries' cumulative? That is, when the message comes off the second queue (FlowErrorDLQ), does it already have a retry count of 3? -- Danny Yates -Original Message- From: Barlow, Dustin [mailto:[EMAIL PROTECTED] Sent: 20 August 2003 18:34 To: [EMAIL PROTECTED] Subject: [JBoss-user] Issue with the DQLHandler and multiple DLQs The setup: queue/A -> QueueA_MDB -> CMT SSB Business Logic | | 3 retries, go to FlowErrorDLQ \ / * queue/FlowErrorDLQ -> FlowErrorDLQ_MDB -> CMT SSB Failure Logic | | 3 retries, go to DLQ \ / * queue/DLQ - QueueA_MDB is configured with it's own invoker-proxy-binding that has .. 10 queue/FlowErrorDLQ 3 0 ... After 3 failed retries, the message should be pushed by the DLQHandler to queue/FlowErrorDLQ. - FlowErrorDLQ_MDB uses the standard invoker-proxy-binding "message-driven-bean". After 3 failed retries, the message should be pushed by the DLQHandler to queue/DLQ. - queue/DLQ has NO MDB or MessageListener attached. The scenario: My test was to force both the MDBs to rollback the CMT in the onMessage() in order to test if the message ultimately arrives on the queue/DLQ in the event of catastrophic failure of both the business logic, and the failure handling logic layers. The test flow I expected to occur is as follows: 1. Message arrives on queue/A 2. QueueA_MDB->onMessage() fires 3. QueueA_MDB->log a message 4. QueueA_MDB->ctx.setRollbackOnly() 5. retry steps 2-4 3 times. 6. DLQHandler pushes message to queue/FlowErrorDLQ 7. Message arrives on queue/FlowErrorDLQ 8. FlowErrorDLQ_MDB->onMessage() fires 9. FlowErrorDLQ_MDB->log a message 10. FlowErrorDLQ_MDB->ctx.setRollbackOnly() 11. retry steps 8-10 3 times. 12. DLQHandler pushes message to queue/DLQ The flow up to step 7 works as expected. However, what happens after step 7 is as follows: 8. Error occurs prior to FlowErrorDLQ_MDB->onMessage() being invoked (no stack trace though) 9. DLQHandler trace logging shows an internal retry of 3 times 10. DLQHandler pushes message to queue/DLQ Here's the strange part. If I configure the retry count of the FlowErrorDLQ_MDB to be 6 instead of 3 the following flow occurs: 8. Error occurs prior to FlowErrorDLQ_MDB->onMessage() being invoked (no stack trace though) 9. DLQHandler trace logging shows an internal retry of 3 times 10. On retry attempt 4, FlowErrorDLQ_MDB->onMessage() fires 11. FlowErrorDLQ_MDB->log a message 12. FlowErrorDLQ_MDB->ctx.setRollbackOnly() 13. retry (10-12) ** 3 ** times (ie the 4 - 6 retries out of 6) 14. DLQHandler pushes message to queue/DLQ If I set the FlowErrorDLQ_DMB to retry 10 times, the same behaviour occurs with the exception that step 13 invokes the FlowErrorDLQ_MDB->onMessage() 7 times. Any ideas on what could be going wrong with the MDB retry mechanism when using multiple MDBs and DLQ destinations? Dustin --- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 ___ 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/358/0 __
Re: [JBoss-user] Errors in starting jboss 3.2.1-tomcat4.1.24
Hi, You have a problem with the JMS JDBC2 persistence manager not being able to a connection to HSQLDB during the restart. This normally occurs with the default message cache settings (500M/600M high/max) when the JVM has no such memory. The JVM runs out of memory loading the messages which is usually first seen as the error you see. You probably also see an OutOfMemory in the log? Try changing the MessageCache settings in jbossmq-service.xml to something like (50M/60M) assuming you use the default memory settings on a Sun JVM for Windows or Linux. Alternatively, use -Xmx to give the JVM the appropriate memory. Regards, Adrian On Wed, 2003-08-20 at 18:35, [EMAIL PROTECTED] wrote: > hi all, > for some reason i keep on getting following exceptinons when starting JBoss. > > 20:27:01,173 ERROR [STDERR] java.sql.SQLException: Unexpected token: Unexpected > token: in statement [ ] > 20:27:01,183 ERROR [STDERR] at org.hsqldb.Trace.getError(Unknown Source) > 20:27:01,193 ERROR [STDERR] at org.hsqldb.Log.runScript(Unknown Source) > 20:27:01,193 ERROR [STDERR] at org.hsqldb.Log.open(Unknown Source) > 20:27:01,203 ERROR [STDERR] at org.hsqldb.Database$Logger.openLog(Unknown So > urce) > 20:27:01,203 ERROR [STDERR] at org.hsqldb.Database.open(Unknown Source) > 20:27:01,213 ERROR [STDERR] at org.hsqldb.Database.(Unknown Source) > 20:27:01,213 ERROR [STDERR] at org.hsqldb.Server.openDB(Unknown Source) > 20:27:01,223 ERROR [STDERR] at org.hsqldb.Server.run(Unknown Source) > 20:27:01,223 ERROR [STDERR] at org.hsqldb.Server.main(Unknown Source) > 20:27:01,233 ERROR [STDERR] at org.jboss.jdbc.HypersonicDatabase$2.run(Hyper > > then i got this afterwards > > 20:31:29,570 INFO [DefaultDS] Bound connection factory for resource adapter for > ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'jav > a:/DefaultDS' > 20:31:29,580 INFO [TxConnectionManager] Started > 20:31:29,590 INFO [PersistenceManager] Starting > 20:31:40,786 ERROR [PersistenceManager] Starting failed > org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag > e recovery may not be accurate; - nested throwable: (org.jboss.util.NestedSQLExc > eption: Could not create connection; - nested throwable: (java.sql.SQLException: > Connection is broken: Connection refused: connect); - nested throwable: (org.jb > oss.resource.JBossResourceException: Could not create connection; - nested throw > able: (java.sql.SQLException: Connection is broken: Connection refused: connect) > )) > at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers > istenceManager.java:276) > at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceMana > ger.java:1299) > at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 > 92) > at java.lang.reflect.Method.invoke(Native Method) > at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea > nDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl > ler.java:966) > at $Proxy11.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:392) > at org.jboss.system.ServiceController.start(ServiceController.java:408) > at org.jboss.system.ServiceController.start(ServiceController.java:408) > at java.lang.reflect.Method.invoke(Native Method) > at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea > nDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) > at $Proxy5.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) > at java.lang.reflect.Method.invoke(Native Method) > at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea > nDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) > at $Proxy7.deploy(Unknown Source) > at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen > tScanner.java:302) > at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS > canner.java:476) > at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. > doScan(AbstractDeploymentScanner.java:200) > at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A >
RE: [JBoss-user] Change Log Level at Runtime?
edit log4j.xml and it shoujld be picked up -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Peter LuttrellSent: Wednesday, August 20, 2003 4:48 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] Change Log Level at Runtime?Is there any way to change the log level for the server.log at runtime?I've looked at the service=Logging,type=Log4jService in the jmx-console, but can't seam to get any of the operations to work.I'm using jboss3.2.1..peter
RE: [JBoss-user] mod_jk2 load balancing for a RAID 0+1 analog
I don't think you can do that. Another free software based solution you might want to look into is linux virtual server. Supposedly it has an IP based loadbalancer that is uber efficient. http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/index.html Bill > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Vladyslav > Kosulin > Sent: Wednesday, August 20, 2003 2:55 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] mod_jk2 load balancing for a RAID 0+1 analog > > > Hi all, > > Here is my configuration: > > Front-ent - Apache 2.0.47/mod_jk2/ajp13. > > 4 instances of JBoss 3.2.1/Jetty 4.2.11 with identical ear > applications are > configured as 2 pairs of fail-over clusters ( webapp and > javagroups as protocol provider). > > node1+node2 create first fail-over cluster. > node3+node4 create a second fail-over cluster. > > Initial http request can go to any of these 4 nodes. > > After that mod_jk2 should redirect request inside the initial > fail-over cluster, > and only if both nodes in that cluster fail, try to redirect to > another nodes. > > The problem here is that I do not know is it possible to configure mod_jk2 > (workers2.properties) to redirect this way. Any ideas are highly > appreciated. > > Also I'd like to use sticky sessions with , i.e. > subsequent > requests go to the initial node; if it fails - to fail-over node; > if fail-over > fails, too, then redirect ro any available node. As I know, this will be > possible with JBoss 3.2.2/Jetty if I resolve the first issue. > > Thanks, > Vlad > > > > > > --- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > ___ > 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/358/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Recursive EJB call gets class not found on home
I figured out a solution, though I still don't understand what is going on. Basically, we have class A in jarA starting up a thread, running class B in jarB. class B is where I'm trying to do the narrow that is failing. What I found was that putting myEJBHome.class into jarA didn't help. Putting it into jarB fixed the problem. As a reminder, jarA contains an MBean. Does this mean that when I start up a secondary thread, the only classes that thread can see are those in its own jar, plus any that we put in the JBoss classpath at startup time? This doesn't make sense to me. If it matters, jarA is added as a ClassPathExtension. What is the difference between a jar added to the startup JBoss classpath and one added as a ClassPathExtension? Guy Rouillier wrote: We are still using JBoss 2.4.3 (moving quickly as possible to 3.2.1) on JDK 1.4.2. We have an EJB that invokes an MBean. For the sake of discussion, call the classes myEJB, myEJBHome and myMBean. myEJB does a lookup of myMBean and then invokes a method there. Under some circumstances, myMBean will start up a new thread and on that new thread, do a lookup on myEJB, narrow the reference to myEJBHome, then invoke a method on myEJB. This all works fine if we put myEJBHome into a jar file that is put in the JBoss classpath at startup time. However, we've switched to not doing that so we have properly packaged EJBs that redeploy properly etc. So now, myEJBHome is only in myEJB.jar, and I've added it to myMBean.jar (and a different client jar that is not part of this discussion.) Now, the second thread appears to get a reference to myEJB, but when it tries to narrow that to myEJBHome, it gets a class not found. I don't understand how it cannot be finding this class if I've put it into myMBean.jar. I'm sure the answer is in the black hole of classloaders, but unfortunately I haven't mastered that art yet. I did print out System.getProperty("java.class.path") just before the lookup in the 2nd thread, and it has the myMBean.jar file in it. But I guess that thread must not be using the system class path. Any idea what is going on here? Do I need to explicitly set the classloader for the 2nd thread? The API documentation says that if I don't specify it, I'll get the one used by the creator of the thread. How can I find out what class path the 2nd thread is using? I looked at the ClassLoader class and I don't see any way to get the classpath from it (I suppose since class loaders are not limited to classpaths.) Appreciate any pointers. -- Guy Rouillier --- 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/358/0 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] 全方位電腦教學!!2003/8/21 下午 05:38:19"電腦學習者"
Title: ·s¼Wºô¶1 ¡¹¡¹¡i[EMAIL PROTECTED] ¡¹¥þ¤è¦ì¹q¸£±Ð¾Ç»¡©ú: §A¬O§_ı±o¹q¸£«ÜÃø¾Ç!?¹q¸£®ÑÄy¶QªºÀ~¤H,¹q¸£¸É²ß¯Z§ó¬O¾Ç¶O°ª©ù?¤S©È°Ý¤H·|³Q¯º¬O¹q¸£¥Õè!! ¥»¥úºÐ¤º®e´X¥G²[»\©Ò¦³¹q¸£¬ÛÃö³nµwÅ骾ÃÑ»P±Ð¾Ç!! ¥Ñ°ò¥»DOS¨ìWIN2000,[EMAIL PROTECTED] ¥Ñ°ò¥»ºô¶³]pHTML¨ì°ÊºAºô¶³]pASP,FLASH°ª¤â!! ¥Ñºô¸ô¥Õè¨ìºë³qTCP/IP,MCSE¤uµ{®v!! ¥Ñ¹q¸£ ³nµwÅé¥Õè¨ì¹q¸£¸U¨Æ³q³q!! [EMAIL PROTECTED]@¥xCABLE MODEM,ADSL¼eÀWötºô!!(STEP BY STEP HTML) ¡@ [EMAIL PROTECTED],¥un600¤¸,§A¥i¥H¦Û¦æ¿Å¶q¶R»ô¤Wz³o¨Ç¹q¸£®ÑÄynªá¶O¦h¤Ö¿ú!! ³o¬O²³¦h°ª¤âªº¤ß¦åµ²´¹,[EMAIL PROTECTED],¦³¤F³o¤ù¥úºÐ §A´N¥i¥H¦b´N·~¥«³õ¤W¦¨¬°ª¥¤â¥i¼öªº¥þ¤è¦ì¹q¸£°ª¤â¤F!! ¡@ ¡´¥úºÐ¤º®e¦³CHM¹q¤l®Ñ®æ¦¡¤ÎHTML®æ¦¡,¹Ï¤å¨ÃZ,¥þ³¡¥H¤¤¤å½s¼g! ¡´¤º®eº¡¸ü![EMAIL PROTECTED] ¡´¥»¥úºÐªá¶O¬Û·í¦hªº®É¶¡»`¶°»s§@,¥«±¤W«OÃÒ¶R¤£¨ì¦PÃþ¥úºÐ !! ¡¹¥úºÐ¤º®e: ¡m¹q¸£°ò¥»±`Ãѱоǰϡn ¹q¸£°ò¥»±`ÃÑ±Ð¾Ç ¹q¸£ºc³y,Dos,Windows¨t²Î µ¥.. [EMAIL PROTECTED] ¹q¸£µwÅé¬ÛÃöª¾ÃÑ~VGA.CDROM.RAMµ¥.. Windows¬ÛÃö»¡©ú-À³¥Î~¨Ï¥Î±K§Þ Windows±K§Þ»PÀ³¥ÎÅý§A¨Ï¥Î¹q¸£§ó¶¶¤ß!! ¦³ÂI£x¹q¸£¬ÛÃöª¾ÃÑ ¹ï§Ú¨Ó»¡¹L®É¤F![EMAIL PROTECTED]~µ´¹ïȱo!! BIOS¬ÛÃö±Ð¾Ç ¥D¾÷ªOBios±K½X¯}¸Ñ»P³]©w.. [EMAIL PROTECTED] ºô¸ôÀb«È¬ÛÃö¸ê°T.. ¡m¶i¶¥±Ð¾Ç°Ï¡n ºô¸ôTCP-IP°ò¦±Ð¾Ç ¬Ý§¹³o!§A´N¥i¥H·íÓÀu¨qªººôºÞ¤Hû¤F!! MCSE·L³n»{ÃÒ¦Ò¸Õ¥þ§ð²¤ ¯¬§A¶¶§Q¦Ò¤W·L³n§Þ³N¤h!²¾¥Á¥[Á~´N¾a¥¦¤F^^ ¦p¦ó¤J«I§O¤H¹q¸£ ®¥³ß§A½ñ¤J§ó°ª¶¥ªº»â°ì!! BBS¬[³]»P²¤¶ ¦U¤j±M°|®ÕÁÙ¬O«Ü³ßÅw¥Î¥¦~¾Ç¾Ç§a!! C++»y¨¥±`¨£°ÝÃD¸Ñµª C++¹J¨ì°ÝÃD¤F¶Ü!?¬Ý¬Ý¤£¿ù³á^^ Security-PGP&RSA±Ð¾Ç ³o¥i¬O«Ü¼öªùªº¥[±K½s½X±Ðµ{³á!! »´ÃP·d©wSQL Server 2000¤ÀªRªA°È SQL Server!¸ê®Æ®wºÞ²z¥²¾Ç!! Motorola cable router±Ð¾Ç [EMAIL PROTECTED] ROUTER³]©w§a^^¨S¿³½ì!?¥i¸õ¹L¤£¬Ý°Õ^^ ADOµ{¦¡³]p¶}µo«ü«n ¦³ÂI²`³á^^µ{¦¡³]p®v¥²¬Ý!! [EMAIL PROTECTED] Unix§¹¾ã±Ð¾Ç»P²¤¶ ÁöµM¹L®É¤F!¦ý¤£¤Ö¤½¥qÁÙ¦b¥Î!©Ò¥H«Ü¹ê¥Î°Õ!! Linux§¹¾ã±Ð¾Ç»P²¤¶ [EMAIL PROTECTED]!¾Ç·|¤F~¤U½ú¤l´N¤£·T°Õ!! ¡m¦h·ÑÅé±Ð¾Ç°Ï¡n ¦h·ÑÅé±Ð¾Ç MP3,¹q¤l¶P¥d,¿Ã¹õ«OÅ@,[EMAIL PROTECTED]!! ºô¶»s°µ±Ð¾Ç HTML ºô¶»s°µ±Ð¾Ç Html±Ð¾Ç»P²¤¶ HTML ºô¶»s°µ¶i¶¥±Ð¾Ç ASPµ{¦¡³]p ¼öªùASP°ÊºAºô¶³]p±Ð¾Ç Flash§¹¾ã±Ð¾Ç ¼öªùFlash°Êµe³]p±Ð¾Ç CGI²¤¶ ¼öªùCgiºô¶³]p±Ð¾Ç MP3¬ÛÃö»¡©ú»P±Ð¾Ç ¡m¹ê¥Î±Ð¾Ç°Ï¡n ¦n¯¸³sµ² ¼K¼K~[EMAIL PROTECTED]^^ µù¥U½X±M°Ï [EMAIL PROTECTED]"[EMAIL PROTECTED]"³ßÅw¦A¶R!! ¦a¤UFTP·j¶° Åý§A¤£¥Î¥h¶R¸É©«¤F!ª½±µ¤Wºô¤U¸ü§a^^ Win98³s½u¤À¨É [EMAIL PROTECTED]! ¸ê®ÆÄ_®w-ºôªÚ §ä§äºô¸ô¤W¦³¨S¦³¦nªFªF(MP3,Movics..)¥¿¦b¤À¨É^^ ¶WÀW±K§Þ¤j¤½¶} µo´§§A¹q¸£ªº³»·¥®Ä¯à!¶WÀW§a!!! [EMAIL PROTECTED] [EMAIL PROTECTED]@¥xCABLE MODEM,ADSL¼eÀWötºô!! µwºÐ³Æ¥÷GHOST±Ð¾Ç
[JBoss-user] Sar deployment order question
Hi all I've packager my application's jar and war into a sar archive and at the first startup of jboss I receive many deployment errors. I know that this is because the datasources used by my application are deployed and bounded to jndi after the sar deployment, but I don't know hot to tell jboss that my application has to be deployed at the end of the startup process. Any suggestions? Thanks Davide signature.asc Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
RE: [JBoss-user] Issue with the DQLHandler and multiple DLQs
The problem is with the per-message redelivered info not being reset when it is sent to another queue. This has been fixed for 3.2.2 Regards, Adrian On Thu, 2003-08-21 at 01:12, Barlow, Dustin wrote: > 3.2.2RC2 binaries > > Dustin > > -Original Message- > From: Adrian Brock > To: [EMAIL PROTECTED] > Sent: 8/20/2003 6:07 PM > Subject: Re: [JBoss-user] Issue with the DQLHandler and multiple DLQs > > Quick question, which version are you using? > > Regards, > Adrian > > On Wed, 2003-08-20 at 18:34, Barlow, Dustin wrote: > > The setup: > > > > queue/A -> QueueA_MDB -> CMT SSB Business Logic > > | > > | 3 retries, go to FlowErrorDLQ > >\ / > > * > >queue/FlowErrorDLQ -> FlowErrorDLQ_MDB -> CMT SSB Failure Logic > > | > > | 3 retries, go to DLQ > > \ / > > * > > queue/DLQ > > > > > > - QueueA_MDB is configured with it's own invoker-proxy-binding that > has .. > > > > > > 10 > > > > queue/FlowErrorDLQ > > 3 > > 0 > > > > > > > > ... After 3 failed retries, the message should be pushed by the > DLQHandler > > to queue/FlowErrorDLQ. > > > > - FlowErrorDLQ_MDB uses the standard invoker-proxy-binding > > "message-driven-bean". After 3 failed retries, the message should be > pushed > > by the DLQHandler to queue/DLQ. > > > > - queue/DLQ has NO MDB or MessageListener attached. > > > > The scenario: > > > > My test was to force both the MDBs to rollback the CMT in the > onMessage() in > > order to test if the message ultimately arrives on the queue/DLQ in > the > > event of catastrophic failure of both the business logic, and the > failure > > handling logic layers. > > > > The test flow I expected to occur is as follows: > > > > 1. Message arrives on queue/A > > 2. QueueA_MDB->onMessage() fires > > 3. QueueA_MDB->log a message > > 4. QueueA_MDB->ctx.setRollbackOnly() > > 5. retry steps 2-4 3 times. > > 6. DLQHandler pushes message to queue/FlowErrorDLQ > > > > 7. Message arrives on queue/FlowErrorDLQ > > 8. FlowErrorDLQ_MDB->onMessage() fires > > 9. FlowErrorDLQ_MDB->log a message > > 10. FlowErrorDLQ_MDB->ctx.setRollbackOnly() > > 11. retry steps 8-10 3 times. > > 12. DLQHandler pushes message to queue/DLQ > > > > The flow up to step 7 works as expected. However, what happens after > step 7 > > is as follows: > > > > 8. Error occurs prior to FlowErrorDLQ_MDB->onMessage() being invoked > (no > > stack trace though) > > 9. DLQHandler trace logging shows an internal retry of 3 times > > 10. DLQHandler pushes message to queue/DLQ > > > > Here's the strange part. If I configure the retry count of the > > FlowErrorDLQ_MDB to be 6 instead of 3 the following flow occurs: > > > > 8. Error occurs prior to FlowErrorDLQ_MDB->onMessage() being invoked > (no > > stack trace though) > > 9. DLQHandler trace logging shows an internal retry of 3 times > > 10. On retry attempt 4, FlowErrorDLQ_MDB->onMessage() fires > > 11. FlowErrorDLQ_MDB->log a message > > 12. FlowErrorDLQ_MDB->ctx.setRollbackOnly() > > 13. retry (10-12) ** 3 ** times (ie the 4 - 6 retries out of 6) > > 14. DLQHandler pushes message to queue/DLQ > > > > If I set the FlowErrorDLQ_DMB to retry 10 times, the same behaviour > occurs > > with the exception that step 13 invokes the > FlowErrorDLQ_MDB->onMessage() 7 > > times. > > > > Any ideas on what could be going wrong with the MDB retry mechanism > when > > using multiple MDBs and DLQ destinations? > > > > Dustin > > > > > > > > > > --- > > This SF.net email is sponsored by Dice.com. > > Did you know that Dice has over 25,000 tech jobs available today? From > > careers in IT to Engineering to Tech Sales, Dice has tech jobs from > the > > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > --- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > __