[JBoss-user] [JBossCache] - How to cluster treecache
I am new to treecache. We use jboss without clusting. But we do need to cluster treecache. My question is: can we cluster treecache without clustering jboss instances? If so, what configuration needed? My understanding is that all nodes have to share the same cluster name and udp address, and also set CacheMode as REPL_ASYNC or REPL_SYNC. Is that all? Also, if we use treecache as hibernate second level cache, if the treecache is distributed, then updating the database and updating all the caches across the cluster are in one transaction? Or the database update is comiitted first and then followed by the caches updates? Thanks. Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898123#3898123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898123 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: JBoss, Hibernate, Connect to multiple datasources?
I am facing the same problem. I cannot find a good solution. But to get around with this, I had to dynamically clone an existing hibernate sevice mbean (using MBeanServer API) and modify the datasource attribute of the created mbean on the fly. I keep all other attributes untouched (ofcouse you need to assign a unique jmx objectname for this newly created mbean). This way, I only need to define one sessionfactory mbean for one database and create sessionfactories for other datasources on the fly. I don't think this is the best solution because if you bounce your jboss server, all the dynamically generated sessionfactories will be lost. But this approach works. Anybody has better idea? The problem facing us is that we only know which datasource to call at runtime. And we don't want to hard code the hibernate session factory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891270#3891270 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891270 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - deployment issue in 4.0.2 for multiple sar
In jboss 4.0.2, I got class loader not found error when I tried to deploy multiple sars. I have A.sar which needs classes contained in B.sar. A.sar also contains mbeans that depends on services defined in B.sar. However, when jboss is started, A.sar is loaded first and it could not find needed classes and it just gave up. I would expect that A.sar deployment should wait until all other sars are deployed. I don't have classloader repository defined for A.sar and B.sar. So I assume they use the same default class loader repository. This was not a problem in 3.05, if I remeber correlty. Can anyone shed some light on me? Is there any walk around? Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882967#3882967 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882967 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: DataSource problem in Jboss 4.0
I got similar problem, although it happened to my own mbeans. The mbean is loaded before the datasource is bound. Therefore the mbean keeps compaining about the datasource. Anybody has any idea? I use jboss 4.0.2 but found the same thing on 4.0.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3880636#3880636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3880636 --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Separate logging file for each mbean
I am not sure I should ask the logging question here or somewhere else. But I have one sar with serveral mbeans defined. I wonder if I can config jboss so that each mbean has its own logging? How? Do I have to deploy one sar for each mbean to achieve this? What if I have jboss-service.xml outside the sar with multiple mbeans defined. What should I do to get one logging per sar? Another question is that my mbean implementations extends jboss ServiceMBeanSupport class. That class has a logging. My own application has logging too. How do I combine them togehter? Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878962#3878962 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878962 --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Has to be names jboss-service.xml in sar
I thought when we package a sar, the only requirement is that there is a META-INF directory and a xml file named like ***-service.xml inside the META-INF directory. But I always name it as jboss-service.xml. Until recently I found out that if I changed it from jboss-service.xml to something else, such as 'router-service.xml', the jboss would not start. It gives error message such as jboss-service.xml not found. What is wrong? Does it have to be names jboss-service.xml inside a SAR? Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874548#3874548 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874548 --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - how to config snmp adaptor to send trap
I searched jboss forum and documents. But I could not find any detailed info about how to set up snmp adaptor's notifications.xml in 4.0.1. Since we use sitescope to monitor production in our company, we want to use sitescope to monitor our own mbeans also. But sitescope does not support jboss application server at this time (it supports weblogic and some others, though). However, we probably can send a snmp trap to the sitescope to alert the production support that a major issue (such as a worker thread that an mbean monitors is dead). We always got these kind of production issues. So, we set up the sitescope to handle the trap. But I have no idea how to config the snmp adaptor on the jboss server side. In our mbean, we send out a custom notification (extends Notification class) Any help is appreciated. Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873979#3873979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873979 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - How to set log level at runtime
We have exposed several background processors as jboss standard mbean service. We would like to be able to set each service's log level dynamically. This way, if we have an issue in prodution, we could just turn on the debugging level logging and search for many detailed info. After we are done, we can turn off the debug level logging. We are using log4j. Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873834#3873834 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873834 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - how to sort attributes in jmx console in order
I have many attributes in one of my mbeans. In jmx-console or web-console, I don't see any order of these attributes. Is there any way to order these attributes, for example, by names? Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873485#3873485 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873485 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - how to disable jboss mbean start at deployment time
I have written wrappers around some of our backend processors as mbeans. These mbeans extend jboss ServiceMBeanSupport. Therefore they inherit the start() and stop(). However, at deployment time, I don't want these mbeans to start. The users will control the start/stop of these mbeans through jmx-console. If I do not extend ServiceMBeanSupport, and do not have start() stop() method names, then it will be OK. But I like ServiceMBeanSupport as it does a lot of state management for my mbean. Is there any other way? Such as inside jboss-service.xml? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872953#3872953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872953 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: looking for sitescope plugin
I am wondering if sitescope can monitor jboss mbean? I know sitescope is able to monitor weblogic mbeans. Can anybody share their knowledge on this? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872951#3872951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872951 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: problem in Hot deploying the exploded war file.
I tried to hot deploy exploded (unpacked) war in all/farm, but I got: java.io.FileNotFoundException: D:\apps\jboss\jboss-4.0.1RC2\server\all\f arm\webapp.war (Access is denied) at java.io.FileInputStream.open(Native Method) Neverthless, the change seems to be picked up by the master node (the one with farm folder). But all other nodes don't get redeployed. I am running 4.0.1-RC2 and hope to get cluster farming hot deployment working with unpacked war and ear files. Does jboss 4.0 supports exploded hot deployment? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862498#3862498 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862498 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - how to hot deployment to multiple jboss instances?
If there is a way to hot deploy to multiple jboss instances by just deploying to one instance? Is cluster an option? Can we use jboss cluster just for hot deployment to multiple servers and turn off all other clustering features, such as session redirect, etc? Please help. More details, the better. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862011#3862011 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862011 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: how to hot deployment to multiple jboss instances?
Sorry I mean jobss 3.2.5 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862018#3862018 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862018 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: how to hot deployment to multiple jboss instances?
We use windows 2000 servers and plan to use Jboss 4.0 (now we use jboss 4.3 in production). Is there any other references available? Is clustering an option? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862017#3862017 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862017 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: connection pool and JCA
Thanks. I am sorry but after I read chap.8 of the get started guide again and wiki page, I still have got the point. I think I know how to config the -ds.xml. What I was asking is: Jboss does not care if the driver that is provided in datasource can do pooling or XA, JBoss just simply wrap this driver up and use JBoss's own connection pooling mechanism and XA? Therefore I should only need provide a basic jdbc driver without any pooling capability for the datasource? If this is true, what if I provide a XA-compliant driver? Does it have any difference to JBoss? Thanks again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834814#3834814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834814 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - connection pool and JCA
I have a question that confuses me. I am using JSQL database drivers. I defined a datasource in _ds.xml with a JSQL's jdbc driver without connection pooling. But appearantly, JBoss provides the connection pool. So, does JBoss uses its own connection pool regardless if the underlying datasource's jdbc driver has connection pool or not? The same thing for XA. If the driver does not support XA, can JBoss's JTA manager still support XA? How does JBoss's connection pool and JCA work with the underlying database driver? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834739#3834739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834739 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP2 Vs Hybernate
This is our question too. Should we go ahead with Jboss CMP or with Hibernate or just wait to see what happens next (after JBoss uses Hibernate as its CMP engine). When Hibernate will replace Jboss cmp, in 4.0 release? Thanks. Richard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830215#3830215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830215 --- 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] [JBoss.NET & SOAP] - Re: JBoss.net XDoclet module
I found the same thing. With the xdoclet-1.2b4, "xdoclet-module-jboss-net.jar" linked from the www.nsdev.org site only generated a skeleton. (header and tail). The body for web-service.xml is blank. I tried every way. Still the same. Anybody can give some light? By the way, anybody can use maven to generate web-service.xml? Thanks. Richard http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824728#3824728";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824728>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] [Security & JAAS/JBoss] - jaas JaasSecurityManager cache
I wonder in 3.2.x, how JaasSecurityManager cache works? Is every request from the client checked against the cache? I found out that if I make the second call immediately after the first call (I enable the session management through settting SimpleSessionHandler. Thus the two calls have the same sessionID). In this case, the second call passed even I did not provided user credentials. I checked the log, I found that credentials were not checked against the cache. Is this because that the two calls have the same sessionID? Also, how do I set session timeout? I know the default value is 60 seconds. Do I set from client side or server side? Thanks. RY View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822574#3822574 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822574 --- 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