[JBoss-user] [Datasource Configuration] - JDBC MBean without JAAS authentication
Hi All, I hope somebody can give me an hint on this datasource configuration issue: I would like to add a connection pool to a Postgres database, therefore I am setting up its JDBC MBean. As I understand you usually have to add JAAS realm in login-config.xml. I would like to avoid this step. Is there a way? >From the comment in the MBean XML file: it looks like it is doable, but how? Thanks in advance. Stefano http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824584#3824584";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824584>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Apache 2.0, JBoss 3.0.8-Jetty/jbossweb, WARNING on org.mortb
Hi All, I am setting up a load balanced configuration with an Apache in front of two JBoss instances. Apache 2.0 + mod_jk 2.0.2. Load balancing seems to work and with JBoss 3.0.8-tomcat I have no problems at all. With JBoss-Jetty, however, I get the following warning: 14:18:30,391 WARN [jbossweb] WARNING: java.lang.ArrayIndexOutOfBoundsException: -92 at org.mortbay.http.ajp.AJP13Packet.getMethod(AJP13Packet.java:288) at org.mortbay.http.ajp.AJP13Connection.handleNext(AJP13Connection.java: 178) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:787) at org.mortbay.http.ajp.AJP13Listener.handleConnection(AJP13Listener.jav a:204) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:4 Has anyone an idea of what is it? and why a index of bound error is traced as a warning instead of an error. The strange thing is that the request seems to be correctly processed. Any hint is very appreciate. Stefano http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824373#3824373";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824373>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem
I have eventually solved the problem. It was related to class loading and object serialization. What happened is that when at the end I managed to make the two JBoss instances speak each other, objects put in the table were propagated, but JGroups was not able to deserialize the instances because jgroups-all.jar was in the server/{server}/lib directory instead of being deployed within the war file. I discovered the problem enabling tracing with Trace.init(). So, from a beginner to beginners: if you have troubles, first of all enable tracing, it will show you what happens behind the scene. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823783#3823783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823783 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem
I have eventually solved the problem. It was related to class loading and object serialization. What happened is that when at the end I managed to make the two JBoss instances speak each other, objects put in the table were propagated, but JGroups was not able to deserialize the instances because jgroups-all.jar was in the server//lib directory instead of being deployed within the war file. I discovered the problem enabling tracing with Trace.init(). So, from a beginner to beginners: if you have troubles, first of all enable tracing, it will show you what happens behind the scene. Stefano View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823782#3823782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823782 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss -> jgroups problem
HI Bela, I removed bind_addr=127.0.0.1, but still the same behavior. Can I try anything else? Stefano View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823396#3823396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823396 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - JBoss -> jgroups problem
Hi All, I really hope somebody can give me an hint on this matter, because it is driving me crazy :-( I have to implement a simple distributed cache between multiple JBoss istances not necessarily clustered. I though to use JGroups 2.2, which I understand JBoss uses already for clustering. Therefore, I created a DistributedHashtable in the init() of my servlet as follows: JChannel c = new JChannel(config.getInitParameter(PARAM_CHANNEL_PROPERTIES)); c.connect("thegroup"); cache = new DistributedHashtable(c, DEFAULT_TIMEOUT); The channel is configured in this way: "UDP(mcast_addr=228.1.2.3;mcast_port=45566;;ip_ttl=64;bind_addr=127.0.0.1;" + "ip_mcast=true;mcast_send_buf_size=15;mcast_recv_buf_size=8):" + "PING(timeout=2000;num_initial_members=3):" + "MERGE2(min_interval=5000;max_interval=1):" + "FD_SOCK:" + "VERIFY_SUSPECT(timeout=1500):" + "pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):" + "UNICAST(timeout=5000):" + "pbcast.STABLE(desired_avg_gossip=2):" + "FRAG(frag_size=4096;down_thread=false;up_thread=false):" + "pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;" + "shun=false;print_local_addr=true):" + "pbcast.STATE_TRANSFER"; Then when I run the servlet I put something in the hashtable. It alone works well. Then I would like to test it with aother VM. I developed a simple program that creates its own DistributedHastable on a chennel connected to the same group as the other one (see the code at the bottom). In short, I have the following strange situation: 1) both JVMs see each other (I display the channel views) 2) changes made with the second JVMs are propagated to the JBoss DistributedHahtable 3) changes made in the JBoss VM are NOT propagated to the second VM I can't really understand why, as I though multicast communications have no a specific direction Any help is very appreciated. Stefano - 2nd VM code: = String props="UDP(mcast_addr=228.1.2.3;mcast_port=45566;;ip_ttl=64;bind_addr=127.0.0.1;" + "ip_mcast=true;mcast_send_buf_size=15;mcast_recv_buf_size=8):" + "PING(timeout=2000;num_initial_members=3):" + "MERGE2(min_interval=5000;max_interval=1):" + "FD_SOCK:" + "VERIFY_SUSPECT(timeout=1500):" + "pbcast.NAKACK(gc_lag=50;retransmit_timeout=300,600,1200,2400,4800):" + "UNICAST(timeout=5000):" + "pbcast.STABLE(desired_avg_gossip=2):" + "FRAG(frag_size=4096;down_thread=false;up_thread=false):" + "pbcast.GMS(join_timeout=5000;join_retry_timeout=2000;" + "shun=false;print_local_addr=true):" + "pbcast.STATE_TRANSFER"; JChannel c = new JChannel(props); c.connect("thegroup"); DistributedHashtable h = new DistributedHashtable(c, -1); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823386#3823386 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823386 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: EJB startup service? (JBoss 3.2.0)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821160#3821160 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821160 Actually, I have just tried the example 03 in chap 2 of the admin and dev guide and it works with JBoss 3.0.8. So... problem solved! Stefano --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user