[JBoss-user] Oracle Connection Pooling in 3.2.2
hi, I have been trying to create a connection pool in jboss 3.2.2 for oracle. I have exhausted all the documents and lists and got info on older versions. Infact I tried a lot of tags and options in oracle-xa-ds.xml etc, but nothing seems to work. On the contrary, I am able to connect thro' jboss-jdbc oracle connector and access the database without any hassles from standalone java clients and even jsps. I am however unable to make a connection pool. Any help is appreciated. rgds, MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
Not sure if I got your question right. But here are my 2 cents: 1. Plz do not try to compare Weblogic and JBoss as WLS has connection pools and datasources are defined using pools 2. In JBoss, you can define datasources and they contain settings like min/max connections. See *-ds.xml 3. For performing JDBC calls, a database connection can be obtained from a datasource. You do not need a connection pool for this. HTH regards MS -Original Message- From: Mridul Jain [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 11:26 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Oracle Connection Pooling in 3.2.2 hi, I have been trying to create a connection pool in jboss 3.2.2 for oracle. I have exhausted all the documents and lists and got info on older versions. Infact I tried a lot of tags and options in oracle-xa-ds.xml etc, but nothing seems to work. On the contrary, I am able to connect thro' jboss-jdbc oracle connector and access the database without any hassles from standalone java clients and even jsps. I am however unable to make a connection pool. Any help is appreciated. rgds, MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Loadbalancer
Hi, I try to use the JBoss loadbalancer, but it doesn't work. When I first request the site, I get a cookie JBoss_LB_ID Value=-2105261236 Path=/. Then I logged in the site (it's a Servlet), I get a second cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/SPECjAppServer. Now I browse through the site, I get a third cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/. Ok, I can browse through the site and all seems to work, but if I log off and log in again without deleting the cookies. First I get a new JSESSIONID Value=ABC801D26C624EC58CC20B2B318ADA4E Path=/SPECjAppServer. When I now want to browse I get a new cookie JSESSIONID Value=612EDB9531822ED53157F4CA04604258 Path=/SPECjAppServer and a message that the user isn't logged in. That is clear because the JSESSIONID with Path=/SPECjAppServer were overwritten, but why and which component does the overwrite? The config files of the loadbalancer are the default one I only change the hosts. I tried that with the new loadbalacer from the jboss-head-snapshot (from today) and with the jboss-3.2-snapshot (from yesterday). The server is a JBoss 3.2.3 on a Suse 8.2. In the jboss-head-snapshot loadbalncer I replaced org.jboss.util.xml.XmlHelper with org.jboss.metadata.MetaData, so that it worked in the 3.2.3 server. I hope you can help me with that problem. Thanx Björn --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3
Hi Sacha, It works now!! Since I couldn't ensure that everybody in our NFS system is running same version of JBoss,so I just changed the multicast IP of my JBoss servers and now the exception is gone and the two Jbosses are able to recognise each other also!! Just a small query,is it possible for two jbosses of different versions to act in a cluster?If so, how? Thanks a ton for your kind help! Cheers, Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sacha Labourey Sent: Tuesday, January 06, 2004 12:26 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3 Can you make sure your cluster-service.xml is the same as this one? If that is the case: - make sure you really have a 3.2.3 - make sure the ALL OTHER NODES OF THE CLUSTER are also 3.2.3 releases. Cheers, sacha -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nishant Aggarwal Sent: Tuesday, January 06, 2004 6:40 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Hi Sacha, Here's the stack trace but its exactly the same as I got with Jetty release: === 2004-01-05 06:00:37,130 DEBUG [org.jboss.ha.framework.server.ClusterPartition] Starting ClusterPartition: DefaultPartition 2004-01-05 06:00:37,268 INFO [STDOUT] --- GMS: address is bplinux65:57954 (additional data: 17 bytes) --- 2004-01-05 06:00:37,403 DEBUG [org.javagroups.DefaultPartition] [Mon Jan 5 06:00:37 IST 2004] [ERROR] UDP.handleIncomingUdpPacket(): exception=java.io.IOException: java.lang.ClassNotFoundException: No ClassLoaders found for: org.javagroups.protocols.PingRsp at org.jgroups.util.Marshaller.read(Marshaller.java:85) at org.jgroups.Message.readExternal(Message.java:352) at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java:527) at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1119) at java.lang.Thread.run(Thread.java:536) 2004-01-05 06:00:39,440 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] ViewAccepted: initial members set === Thanks in advance, Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sacha Labourey Sent: Monday, January 05, 2004 5:16 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Please, send me the stacktrace of the Tomcat release, I will take a look. Cheers, sacha -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nishant Aggarwal Sent: mardi, 6. janvier 2004 02:46 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Hi Sacha, Thanks for the response! Actually I tried with Tomcat version also as available on web ,jboss3.2.3.tgz, as told by you ,but the error/exception still persists! Any clues? Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sacha Labourey Sent: Monday, January 05, 2004 12:58 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Can you try with the tomcat version? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nishant Aggarwal Sent: lundi, 5. janvier 2004 19:41 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Any updates? Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nishant Aggarwal Sent: Wednesday, December 31, 2003 3:08 PM To: [EMAIL PROTECTED] Sourceforge. Net Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14 Hi Sacha, Thanks for the response! No,its the same jboss-3.2.3RC1-jetty4.2.11.gz distribution file downloaded as such from sourceforge site!! Not a single file change! Also I am using RC1 of jboss3.2.3 and not RC3 as you have mentioned. Anyhow,if you think its an old one,can you please send me the new cluster-service.xml which won't give this problem. I am attaching the cluster-service.xml which I got from the distribution. Thanks in advance, Nishant. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sacha Labourey Sent: Wednesday, December 31, 2003 12:56 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3RC1_Jetty_4.2.14
RE: [JBoss-user] Exception in JBoss Cluster startup in JBoss3.2.3
It works now!! Since I couldn't ensure that everybody in our NFS system is running same version of JBoss,so I just changed the multicast IP of my Great, yes, that is the simplest way to do it. JBoss servers and now the exception is gone and the two Jbosses are able to recognise each other also!! Just a small query,is it possible for two jbosses of different versions to act in a cluster?If so, how? Yes and no, it depends if the base clustering classes have been modified or not. As it has been the case in 3.2.3, you cannot use 3.2.3 with earlier versinos. Cheers, sacha --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
hi, 2. In JBoss, you can define datasources and they contain settings like min/max connections. See *-ds.xml Yes that is what I tried, but their is a tag like attribute PoolName mypool/attribute, which was in older versions like 2.4+ etc. But if I try defining that in newer version 3.2.2, it says name not registered etc. Does it mean I don't need to define PoolName attribute in the newer version? 3. For performing JDBC calls, a database connection can be obtained from a datasource. You do not need a connection pool for this. Yes, this is working fine already and I am able to connect thro' JDBC. For performance I need Connection Pool. MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
-Original Message- From: Mridul Jain [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 07, 2004 1:42 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Oracle Connection Pooling in 3.2.2 hi, 2. In JBoss, you can define datasources and they contain settings like min/max connections. See *-ds.xml Yes that is what I tried, but their is a tag like attribute PoolName mypool/attribute, which was in older versions like 2.4+ etc. But if I try defining that in newer version 3.2.2, it says name not registered etc. Does it mean I don't need to define PoolName attribute in the newer version? Correct. You do not need to specify a pool name. 3. For performing JDBC calls, a database connection can be obtained from a datasource. You do not need a connection pool for this. Yes, this is working fine already and I am able to connect thro' JDBC. For performance I need Connection Pool. Not sure if I get the concern right, you can configure the pool min/max connections in *-ds.xml. You want to take a connection from pool rather than datasource? Internally, it gives you from the connection pool for the datasource. MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
Thanx for clarifying the doubts. --- Sasidharan, Manoj [EMAIL PROTECTED] wrote: Correct. You do not need to specify a pool name. cool. You want to take a connection from pool rather than datasource? Internally, it gives you from the connection pool for the datasource. Yes I got confused because of the attribute PoolName. Now I am clear. Thanks, MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
Could you post your Oracle bit of your configuration as an example? I have to upgrade to 3.2.x fairly soon and also use Oracle. I would like to avoid making te same mistakes. Thanks, Cor Hofman. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mridul Jain Sent: Wednesday, January 07, 2004 12:06 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Oracle Connection Pooling in 3.2.2 Thanx for clarifying the doubts. --- Sasidharan, Manoj [EMAIL PROTECTED] wrote: Correct. You do not need to specify a pool name. cool. You want to take a connection from pool rather than datasource? Internally, it gives you from the connection pool for the datasource. Yes I got confused because of the attribute PoolName. Now I am clear. Thanks, MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
My file looks like this and works fine. But still I don't know how to specify MaxSize and MinSize, although I can see classes like XAOracleManageConnection in jboss-xa-jdbc.rar etc. datasources xa-datasource jndi-nameXAOracleDS/jndi-name track-connection-by-txtrue/track-connection-by-tx isSameRM-override-valuefalse/isSameRM-override-value xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class xa-datasource-property name=URLjdbc:oracle:thin:@192.168.1.12:1521:mridul/xa-datasource-property xa-datasource-property name=Userscott/xa-datasource-property xa-datasource-property name=Passwordtiger/xa-datasource-property exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name /xa-datasource mbean code=org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter name=jboss.jca:service=OracleXAExceptionFormatter depends optional-attribute-name=TransactionManagerServicejboss:service=TransactionManager/depends /mbean /datasources MJ --- Cor Hofman [EMAIL PROTECTED] wrote: Could you post your Oracle bit of your configuration as an example? I have to upgrade to 3.2.x fairly soon and also use Oracle. I would like to avoid making te same mistakes. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
Check docs/dtd/jboss-ds_1_0.dtd for the possible configurations. For your specific question you want something like: min-pool-size10/min-pool-size max-pool-size100/max-pool-size Regards, Adrian On Wed, 2004-01-07 at 12:48, Mridul Jain wrote: My file looks like this and works fine. But still I don't know how to specify MaxSize and MinSize, although I can see classes like XAOracleManageConnection in jboss-xa-jdbc.rar etc. datasources xa-datasource jndi-nameXAOracleDS/jndi-name track-connection-by-txtrue/track-connection-by-tx isSameRM-override-valuefalse/isSameRM-override-value xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class xa-datasource-property name=URLjdbc:oracle:thin:@192.168.1.12:1521:mridul/xa-datasource-property xa-datasource-property name=Userscott/xa-datasource-property xa-datasource-property name=Passwordtiger/xa-datasource-property exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name /xa-datasource mbean code=org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionFormatter name=jboss.jca:service=OracleXAExceptionFormatter depends optional-attribute-name=TransactionManagerServicejboss:service=TransactionManager/depends /mbean /datasources MJ --- Cor Hofman [EMAIL PROTECTED] wrote: Could you post your Oracle bit of your configuration as an example? I have to upgrade to 3.2.x fairly soon and also use Oracle. I would like to avoid making te same mistakes. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Loadbalancer
hi, which jboss loadbalancer are you talking about? i am currently using mod_jk and i am not really happy about it. i didn't know jboss had its own. any ideas where i can get more info about it? thanks, felipe Björn Weis wrote: Hi, I try to use the JBoss loadbalancer, but it doesn't work. When I first request the site, I get a cookie JBoss_LB_ID Value=-2105261236 Path=/. Then I logged in the site (it's a Servlet), I get a second cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/SPECjAppServer. Now I browse through the site, I get a third cookie JSESSIONID Value=96BC55116A415816CEDA33A3941A2B8C Path=/. Ok, I can browse through the site and all seems to work, but if I log off and log in again without deleting the cookies. First I get a new JSESSIONID Value=ABC801D26C624EC58CC20B2B318ADA4E Path=/SPECjAppServer. When I now want to browse I get a new cookie JSESSIONID Value=612EDB9531822ED53157F4CA04604258 Path=/SPECjAppServer and a message that the user isn't logged in. That is clear because the JSESSIONID with Path=/SPECjAppServer were overwritten, but why and which component does the overwrite? The config files of the loadbalancer are the default one I only change the hosts. I tried that with the new loadbalacer from the jboss-head-snapshot (from today) and with the jboss-3.2-snapshot (from yesterday). The server is a JBoss 3.2.3 on a Suse 8.2. In the jboss-head-snapshot loadbalncer I replaced org.jboss.util.xml.XmlHelper with org.jboss.metadata.MetaData, so that it worked in the 3.2.3 server. I hope you can help me with that problem. Thanx Björn --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Where to put an Interceptor class?
Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
R: [JBoss-user] Where to put an Interceptor class?
I send to u an old answer to this question: 1) Put a foobar-aop.xml file within the /deploy directory. By foobar, I mean any filename 2) Modify conf/base-aop.xml and add stuff there 3) Or, create a foobar.aop archive. An AOP archive is a JAR, but in the META-INF directory there should be a jboss-aop.xml file. http://www.jboss.org/index.html?module=htmlop=userdisplayid=deve lopers/projects/jboss/aop#packaging I hope this help u! Gio -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Jonathan.O'[EMAIL PROTECTED] Inviato: mercoledi 7 gennaio 2004 17.18 A: [EMAIL PROTECTED] Oggetto: [JBoss-user] Where to put an Interceptor class? Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Where to put an Interceptor class?
JBoss 3.2 already retries ApplicationDeadlockExceptions. I am currently expanding the transaction interceptor to except a list of exception handlers that can decide whether or not to retry a transaction. You can define your own container configurations within a jboss.xml so your EAR requirement will work. Look in conf/standardjboss.xml for examples. Bill Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Where to put an Interceptor class?
On Wed, 2004-01-07 at 16:18, Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Yes you can put the interceptor in your ear and yes you can configure your own interceptor stack, either on the server or the client. You provide your own configurations in jboss.xml It only makes sense to retry a deadlock after you have allowed the transaction to rollback, i.e. outside the transaction demarcation boundary. You will already find this behaviour already in org.jboss.ejb.plugins.TxInterceptorCMT Regards, Adrian Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
R: [JBoss-user] Where to put an Interceptor class?
Sorry... but JBoss 3.2 can use interceptor? How?! I'm very interesting about this! Gio -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Bill Burke Inviato: mercoledi 7 gennaio 2004 17.28 A: [EMAIL PROTECTED] Oggetto: Re: [JBoss-user] Where to put an Interceptor class? JBoss 3.2 already retries ApplicationDeadlockExceptions. I am currently expanding the transaction interceptor to except a list of exception handlers that can decide whether or not to retry a transaction. You can define your own container configurations within a jboss.xml so your EAR requirement will work. Look in conf/standardjboss.xml for examples. Bill Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Where to put an Interceptor class?
Wow, Answers from Bill and Adrian in less than 15 minutes!! I guess Interceptor is the magic word :-) I'll look at the current behaviour of TxInterceptorCMT, but I suspect we want to control this ourselves. I'll let you guys know any good ideas I get (if any). Lastly, Giovanni, I'm using JBoss 3.2.2 and not the 4.0 AOP stuff. Thanks anyway. Ciao, Jonathan O'Connor XCOM Dublin Adrian Brock [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07.01.2004 16:27 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [JBoss-user] Where to put an Interceptor class? On Wed, 2004-01-07 at 16:18, Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Yes you can put the interceptor in your ear and yes you can configure your own interceptor stack, either on the server or the client. You provide your own configurations in jboss.xml It only makes sense to retry a deadlock after you have allowed the transaction to rollback, i.e. outside the transaction demarcation boundary. You will already find this behaviour already in org.jboss.ejb.plugins.TxInterceptorCMT Regards, Adrian Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Where to put an Interceptor class?
If you are talking about an EJB then the bill/adrian answers apply. We have externalized stacks on EJB (early AOP) since the 2.x series. If you are talking about a POJO then the answer that applies is the one on pure AOP (JB4). marcf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni Formenti Sent: Wednesday, January 07, 2004 11:36 AM To: [EMAIL PROTECTED] Subject: R: [JBoss-user] Where to put an Interceptor class? Sorry... but JBoss 3.2 can use interceptor? How?! I'm very interesting about this! Gio -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Bill Burke Inviato: mercoledi 7 gennaio 2004 17.28 A: [EMAIL PROTECTED] Oggetto: Re: [JBoss-user] Where to put an Interceptor class? JBoss 3.2 already retries ApplicationDeadlockExceptions. I am currently expanding the transaction interceptor to except a list of exception handlers that can decide whether or not to retry a transaction. You can define your own container configurations within a jboss.xml so your EAR requirement will work. Look in conf/standardjboss.xml for examples. Bill Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Where to put an Interceptor class?
Sorry... but JBoss 3.2 can use interceptor? How?! I'm very interesting about this! It is possible since JBoss 2.0. Take a look at conf/standardjboss.xml and the documentation, it shows how to write your own JBoss.xml file which includes such a stack definition. Cheers sacha --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: R: [JBoss-user] Where to put an Interceptor class?
On Wed, 2004-01-07 at 16:35, Giovanni Formenti wrote: Sorry... but JBoss 3.2 can use interceptor? How?! I'm very interesting about this! Gio The EJB container has had interceptors since the 2.x series. Client side interceptors were introduced in 3.0 With AOP in 4.0 they can be applied to everything. Regards, Adrian -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Bill Burke Inviato: mercoledi 7 gennaio 2004 17.28 A: [EMAIL PROTECTED] Oggetto: Re: [JBoss-user] Where to put an Interceptor class? JBoss 3.2 already retries ApplicationDeadlockExceptions. I am currently expanding the transaction interceptor to except a list of exception handlers that can decide whether or not to retry a transaction. You can define your own container configurations within a jboss.xml so your EAR requirement will work. Look in conf/standardjboss.xml for examples. Bill Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Where to put an Interceptor class?
Or use an XMBean today in JB3.2 Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Fleury Sent: Wednesday, January 07, 2004 8:40 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Where to put an Interceptor class? If you are talking about an EJB then the bill/adrian answers apply. We have externalized stacks on EJB (early AOP) since the 2.x series. If you are talking about a POJO then the answer that applies is the one on pure AOP (JB4). marcf --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Where to put an Interceptor class?
Jonathan.O'[EMAIL PROTECTED] wrote: Wow, Answers from Bill and Adrian in less than 15 minutes!! I guess Interceptor is the magic word :-) I'll look at the current behaviour of TxInterceptorCMT, but I suspect we want to control this ourselves. I'll let you guys know any good ideas I get (if any). Again, I'm adding the ability to define exception handlers via XML so that the TransactionCMT interceptor can retry for various scenarios. For instance, an Oracle deadlock, MySQL cluster failure, etc... Bill Lastly, Giovanni, I'm using JBoss 3.2.2 and not the 4.0 AOP stuff. Thanks anyway. Ciao, Jonathan O'Connor XCOM Dublin Adrian Brock [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07.01.2004 16:27 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [JBoss-user] Where to put an Interceptor class? On Wed, 2004-01-07 at 16:18, Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Yes you can put the interceptor in your ear and yes you can configure your own interceptor stack, either on the server or the client. You provide your own configurations in jboss.xml It only makes sense to retry a deadlock after you have allowed the transaction to rollback, i.e. outside the transaction demarcation boundary. You will already find this behaviour already in org.jboss.ejb.plugins.TxInterceptorCMT Regards, Adrian Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Oracle Connection Pooling in 3.2.2
Out of interest, what happens if you omit min-pool-size/max-pool-size? Does this mean connections are not pooled, or does JBoss still use a pool but with some default settings instead? If the latter, where do the defaults come from? Al. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Brock Sent: 07 January 2004 13:19 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Oracle Connection Pooling in 3.2.2 Check docs/dtd/jboss-ds_1_0.dtd for the possible configurations. For your specific question you want something like: min-pool-size10/min-pool-size max-pool-size100/max-pool-size Regards, Adrian On Wed, 2004-01-07 at 12:48, Mridul Jain wrote: My file looks like this and works fine. But still I don't know how to specify MaxSize and MinSize, although I can see classes like XAOracleManageConnection in jboss-xa-jdbc.rar etc. -- -- datasources xa-datasource jndi-nameXAOracleDS/jndi-name track-connection-by-txtrue/track-connection-by-tx isSameRM-override-valuefalse/isSameRM-override-value xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource /xa-datasource-class xa-datasource-property name=URLjdbc:oracle:thin:@192.168.1.12:1521:mridul/xa-data source-property xa-datasource-property name=Userscott/xa-datasource-property xa-datasource-property name=Passwordtiger/xa-datasource-property exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.v endor.OracleExceptionSorter/exception-sorter-class-name /xa-datasource mbean code=org.jboss.resource.adapter.jdbc.xa.oracle.OracleXAExceptionForma tter name=jboss.jca:service=OracleXAExceptionFormatter depends optional-attribute-name=TransactionManagerServicejboss:serv ice=TransactionManager/depends /mbean /datasources -- -- MJ --- Cor Hofman [EMAIL PROTECTED] wrote: Could you post your Oracle bit of your configuration as an example? I have to upgrade to 3.2.x fairly soon and also use Oracle. I would like to avoid making te same mistakes. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Fw: problem in starting jboss4.0.0dr2
Hi all, i have just downloaded jboss4.0.0dr2 and installed it, but when i ran it i got following problem. Packages waiting for a deployer:[{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, {'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null }]Incompletely deployed packages:[{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, {'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null }]MBeans waiting for classes: noneMBeans waiting for other MBeans: { objectName: jboss.system:service=DeploymentInfoURIResolver state: CREATED Waiting for me: jboss.net:service=WS4EEDeployer state: CREATED} [EMAIL PROTECTED], { objectName: jboss.net:service=WS4EEDeployer state: CREATED I am waiting for: jboss.net:service=WebServiceEntityResolver state: RUNNING, jboss.system:service=DeploymentInfoURIResolver state: CREATED, jboss.net:service=Axis state: RUNNING Waiting for me: jboss.ejb:service=EJBDeployer state: CREATED} [EMAIL PROTECTED], { objectName: jboss.ejb:service=EJBDeployer state: CREATED I am waiting for: jboss.net:service=WS4EEDeployer state: CREATED, jboss:service=WebService state: RUNNING, jboss.tm:service=TransactionManagerService state: RUNNING Waiting for me: jboss.ejb:service=ActivationSpecDeployer state: CREATED} [EMAIL PROTECTED], { objectName: jboss.ejb:service=ActivationSpecDeployer state: CREATED I am waiting for: jboss.ejb:service=EJBEntityResolver state: RUNNING, jboss.jca:service=RaURIResolver state: RUNNING, jboss.ejb:service=EJBDeployer state: CREATED} [EMAIL PROTECTED], Cause: Incomplete Deployment listing:Packages waiting for a deployer:[{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, {'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null }]Incompletely deployed packages:[{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, {'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/server/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null }]MBeans waiting for classes: noneMBeans waiting for other MBeans: { objectName: jboss.system:service=DeploymentInfoURIResolver state: CREATED Waiting for me: jboss.net:service=WS4EEDeployer state: CREATED} [EMAIL PROTECTED], { objectName: jboss.net:service=WS4EEDeployer state: CREATED I am waiting for: jboss.net:service=WebServiceEntityResolver state: RUNNING, jboss.system:service=DeploymentInfoURIResolver state: CREATED, jboss.net:service=Axis state: RUNNING Waiting for me: jboss.ejb:service=EJBDeployer state: CREATED} [EMAIL PROTECTED], { objectName: jboss.ejb:service=EJBDeployer state: CREATED I am waiting for: jboss.net:service=WS4EEDeployer state: CREATED, jboss:service=WebService state: RUNNING, jboss.tm:service=TransactionManagerService state: RUNNING Waiting for me: jboss.ejb:service=ActivationSpecDeployer state: CREATED} [EMAIL PROTECTED], { objectName: jboss.ejb:service=ActivationSpecDeployer state: CREATED I am waiting for:
Re: [JBoss-user] Fw: problem in starting jboss4.0.0dr2
It is incomplete webservices implementation. marco mistroni wrote: Hi all, i have just downloaded jboss4.0.0dr2 and installed it, but when i ran it i got following problem. Packages waiting for a deployer: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] Incompletely deployed packages: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] MBeans waiting for classes: none MBeans waiting for other MBeans: { objectName: jboss.system:service=DeploymentInfoURIResolver state: CREATED Waiting for me: jboss.net:service=WS4EEDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.net:service=WS4EEDeployer state: CREATED I am waiting for: jboss.net:service=WebServiceEntityResolver state: RUNNING, jboss.system:service=DeploymentInfoURIResolver state: CREATED, jboss.net:service=Axis state: RUNNING Waiting for me: jboss.ejb:service=EJBDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.ejb:service=EJBDeployer state: CREATED I am waiting for: jboss.net:service=WS4EEDeployer state: CREATED, jboss:service=WebService state: RUNNING, jboss.tm:service=TransactionManagerService state: RUNNING Waiting for me: jboss.ejb:service=ActivationSpecDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.ejb:service=ActivationSpecDeployer state: CREATED I am waiting for: jboss.ejb:service=EJBEntityResolver state: RUNNING, jboss.jca:service=RaURIResolver state: RUNNING, jboss.ejb:service=EJBDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], Cause: Incomplete Deployment listing: Packages waiting for a deployer: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] Incompletely deployed packages: [{ 'ejb-management.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/ejb- management.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/ejb-management.jar/58.ejb-management.jar' watching: 'file:/C: /jboss-4.0.0DR2/server/default/deploy/ejb-management.jar' SubDeployer: null }, { 'jmx-ejb-adaptor.jar' URL: 'file:/C:/jboss-4.0.0DR2/server/default/deploy/jmx-e jb-adaptor.jar' localURL: 'file:/C:/jboss-4.0.0DR2/server/default/tmp/deploy/ser ver/default/deploy/jmx-ejb-adaptor.jar/59.jmx-ejb-adaptor.jar' watching: 'file:/ C:/jboss-4.0.0DR2/server/default/deploy/jmx-ejb-adaptor.jar' SubDeployer: null } ] MBeans waiting for classes: none MBeans waiting for other MBeans: { objectName: jboss.system:service=DeploymentInfoURIResolver state: CREATED Waiting for me: jboss.net:service=WS4EEDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName: jboss.net:service=WS4EEDeployer state: CREATED I am waiting for: jboss.net:service=WebServiceEntityResolver state: RUNNING, jboss.system:service=DeploymentInfoURIResolver state: CREATED, jboss.net:service=Axis state: RUNNING Waiting for me: jboss.ejb:service=EJBDeployer state: CREATED } [EMAIL PROTECTED] mailto:[EMAIL PROTECTED], { objectName:
RE: [JBoss-user] ***JBoss 3.2.2/Oracle 9i thin driver test NullPo interException on HPUX11***
Hello All, Is there any way to remove this module??? I mean, org.jboss.ejb.plugins.LogInterceptor. This issue showed up when we put the following in the *-ds.xml: track-statementstrue/track-statements If we take-off this statement from *-ds.xml, the error/exception vanishes. Does anybody see any connection or reason why one should trigger another. Here is the client code segment where the exception is getting generated: try { IResult result = m_ejbCommandServerRemote.execute(command); return result; } catch (RemoteException ex2) { throw new FlowareException(ex2); //this is the exact line in the stack trace } It seems that server is throwing a remote exception when invoking a method on the stateless session bean. The reference m_ejbCommandServerRemote to this bean is cached so don't see any reason why this should break. Please feel free to send in your suggestions/views on this. Thanks once again for helping us resolve this issue. Best Regards MS -Original Message- From: Sasidharan, Manoj [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 8:49 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] ***JBoss 3.2.2/Oracle 9i thin driver test NullPo interException on HPUX11*** Will into the exact statement where the client is getting the exception. But what about the server exception: 2004-01-06 13:29:25,842 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeExce ption: java.lang.NullPointerException Is this any cause of concern? rgds MS -Original Message- From: Adrian Brock [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 2:23 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] ***JBoss 3.2.2/Oracle 9i thin driver test NullPointerException on HPUX11*** This is a NullPointerException in your code: com.plx.efw.client.FloWare.doCommand(FloWare.java:1299) Maybe you found something that wasn't playing nicely with the pool? Regards, Adrian On Tue, 2004-01-06 at 21:43, Sasidharan, Manoj wrote: Hello All, We are getting this exception in JBoss server log file. No stack trace. Just this entry. 2004-01-06 13:29:25,842 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeExce ption: java.lang.NullPointerException Mean time, the client (JBoss client application) is getting the following exception/stack trace: Exception Details: com.plx.efw.common.exception.FlowareException: RemoteException occurred in serve r thread; nested exception is: java.rmi.ServerException: RuntimeException; nested exception is: java.lang.NullPointerException at com.plx.efw.client.FloWare.doCommand(FloWare.java:1299) at com.plx.efw.client.Courier.add(Courier.java:823) at com.plx.efw.client.Courier.add(Courier.java:556) at com.plx.efw.test.CourierTest.execute(CourierTest.java:258) at com.plx.efw.test.Epitest.execute(Epitest.java:505) at com.plx.efw.test.Epitest.main(Epitest.java:1100) Can this be the result of putting track-statementstrue/track-statements in the oracle-ds.xml. rgds MS --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Adrian Brock Director of Support Back Office JBoss Group, LLC --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering
Re: [JBoss-user] Where to put an Interceptor class?
Ok, the retry stuff is now commited to Branch_3_2 and HEAD. Look in jboss-3.2/testsuite/src/main/org/jboss/test/retry/... and jboss-3.2/testsuite/src/resources/retry/... for how to configure and implement retry handlers. Regards, Bill Jonathan.O'[EMAIL PROTECTED] wrote: Wow, Answers from Bill and Adrian in less than 15 minutes!! I guess Interceptor is the magic word :-) I'll look at the current behaviour of TxInterceptorCMT, but I suspect we want to control this ourselves. I'll let you guys know any good ideas I get (if any). Lastly, Giovanni, I'm using JBoss 3.2.2 and not the 4.0 AOP stuff. Thanks anyway. Ciao, Jonathan O'Connor XCOM Dublin Adrian Brock [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07.01.2004 16:27 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: [JBoss-user] Where to put an Interceptor class? On Wed, 2004-01-07 at 16:18, Jonathan.O'[EMAIL PROTECTED] wrote: Hi, We're just about to write our first interceptor (to retry deadlocked methods), and we can't find the docs where to have the class loaded. The best would be to have it in a jar in our EAR. Is that possible? Also, can we keep delare our own interceptor stack for our beans in this EAR too? Yes you can put the interceptor in your ear and yes you can configure your own interceptor stack, either on the server or the client. You provide your own configurations in jboss.xml It only makes sense to retry a deadlock after you have allowed the transaction to rollback, i.e. outside the transaction demarcation boundary. You will already find this behaviour already in org.jboss.ejb.plugins.TxInterceptorCMT Regards, Adrian Thanks, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 3.2.3 + jetty X
Thanks for clearing that up, there had been a number of emails and posts in the Web forums about this and us Jetty users were getting a little anxious. We do appreciate the high level of traffic on this list and the forums, coupled with the silly season of Xmas/ New Year (hence my late reply). Hindsight is always 20/20, but maybe a message on the download page (http://www.jboss.org/downloads) might have saved the kerfuffle. Scott M Stark wrote: There has not been an annoucement that we will not provide a jetty bundle. There has not been a seperate bundle due to the fact that the initial testing indicated new unit test failures that I did not have time to look into. We are simply taking the latest stable sar release from the jetty sourceforge sar found here: http://sourceforge.net/project/showfiles.php?group_id=7322 I'll try to get back to looking at providing a bundle toward the end of this week, until then your free to build your own. Scott Stark Chief Technology Officer JBoss Group, LLC Mark Lassau wrote: Has JBoss actually made an announcement of whether they will be releasing Jetty bundles from now on? Either I have missed something, or we are seeing a lapse in Professional Open Source. There are definitely a lot of users who want to continue to use Jetty/JBoss for a number of valid reasons (eg being able to server static web content as well as HTTPS on Windows platforms, keeping pure-Java platform neutral solution, known Tomcat bugs, or those of us who have already invested a lot of time developing and testing for JBoss/Jetty etc.). I realise we can all go and build our own by removing tomcat SAR, and dropping in Jetty SAR, but this will lead to version fragmentation. It is much better for the whole JBoss community if they know everyone on (eg) JBoss/Jetty 3.2.3 is using the exact same setup. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user