[JBoss-user] [EJB/JBoss] - Re: Invalidate RO+RW beans (questions)
More information: Invalidating through JMX (jboss.cache:GroupName=...), the Read-Only entity bean instance is invalidated. So, can I presume that the problem is in the RW bean? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848051#3848051 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848051 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Invalidate RO+RW beans (questions)
Greetings, I'm trying to invalidate my read-only entity beans by updating the read-write mate. But isn't working... Can you comment the following issues: -primary key class of read-only and read-write must be the same or not? I tested with the same and different ones but always pointing to the same CMP field. - both entity beans (read-only and read write) extends the configuration Standard CMP 2.x EntityBean with cache invalidation however the RO have the commit option A and the RW the commit option C. Is this correct? - what kind of transaction types are required? I used the default ones (supports) but I tried a few other combinations of other types of transactions but without luck. BTW, I can send a sample test case that shows my not working case (10kbytes tar file) if it helps to debug my problem. And if any of you have a working sample, be free to send it to me. Thanks, Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847967#3847967 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847967 --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: invalidate cache with RO/RW pattern
Hi, I created a well defined test case easy to build and deploy. Should I submit it to anyone to test it (just deploy!) or should I open a bug? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847560#3847560 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847560 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - invalidate cache with RO/RW pattern
Greetings, What configurations I have to do to put my cache (read-only entity beans) invalid when I update (or something) with a read-write bean? I have done a few tests but I couldn' put it to work. My read-only bean extends Standard CMP 2.x EntityBean with cache invalidation configuration, and both have the same invalidation group name. Any transaction attribute required? I set commit C for RW bean. What is missing here? Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846937#3846937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846937 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: isolate war deployment
Kamel, I think you are facing the same problem as I do. I didn't have any luck configure the class loading politic through jboss-web.xml (or jboss-app.xml) even when the unique domain for the class loading is created. The only way I could manage to work is changing the configurations in jboss's tomcat itself. I know that the best way would be configure it per application and not for all applications (I'm still looking for the answer as you are). The attributes I managed in configuration file $jboss_home/server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml: | attribute name=Java2ClassLoadingCompliancefalse/attribute | attribute name=UseJBossWebLoaderfalse/attribute | Does it help for you as workaround? (I'm still looking for the procedure to do it on jboss-web.xm/jboss-app.xml but I really don't know why it isn't work...). Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846414#3846414 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846414 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: classloading isolation
Scott, Bug(?) submitted: https://sourceforge.net/tracker/index.php?func=detailaid=1017714group_id=22866atid=376685 In atach there is a tar file (splitted) with a test case. Regards, Pedro Salazar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846479#3846479 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846479 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047alloc_id=10808op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - classloading isolation
Greetings, I'm trying to isolate my web app as described in http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration. The classloader's SourceCode is a good way to verify it. But another good test to verify it is using log4j inside my web application file (WEB-INF/lib/log4j.jar and WEB-INF/classes/log4j.xml). Depending of the classloader, the global configuration or the local configuration is used, and we can see how it's working. If I set in $jboss_home/server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml the following attributes to false: | attribute name=Java2ClassLoadingCompliancefalse/attribute | attribute name=UseJBossWebLoaderfalse/attribute | I works just fine, just I expect (isolation is OK). However, I would like to let them to true by default, and to set it only the applications I require to be independent using the following syntax: | !-- for EAR -- | jboss-app |loader-repositoryteste:loader=v1.war | loader-repository-config | java2ParentDelegation=false | /loader-repository-config | /loader-repository | /jboss-app | | !-- for WAR -- | jboss-web | class-loading java2ClassLoadingCompliance=false |loader-repository | teste:loader=v1.war | loader-repository-configjava2ParentDelegation=false/loader-repository-config | /loader-repository | /class-loading | /jboss-web | The isolation isn't achieved. I mean, log4j is loaded by global jboss classloader (log4j-boot.jar) and consequently, the logger configuration used is the jboss log4j. However, I can see that a domain teste is created for (teste:loader=v1.war). It appears that only the configuration defined in jboss web sar ($jboss_home/server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml ) is valid and the jboss descriptors in EAR or WAR are ignored. What is the behavior of the classloading in jboss? Can't I use the jboss descriptors to overried the jboss web SAR? I'm using jboss 3.2.5. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846320#3846320 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846320 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - cluster entity beans: what is clustered exactly?
Greetings, I deployed a set of entity beans in my jboss as clustered beans. I have also a stateless session bean which handles those entity beans (local interfaces). I was wondering what information is really clustered for entity beans in cluster (in real, my entity beans are flagged as cluster but they extends the Standard CMP 2.x EntityBean with cache invalidation rather than Clustered CMP 2.x EntityBeanbecause I need cache invalidation...), since entity information cannot be replicated since I have only local interfaces (and I don't know if it makes sense since data is database). I could be doing a big confusion here but if information is not passed by value from one instance to the other one (local interfaces), is jboss passing any kind of information to the another jboss instances to prepare/load those referenced entity beans instances, in case of future requests and load-balancing issues? If I am not mistaken, I read something about only homes are prepared on cluster. Is this correct? What is the real advantage of doing it against the non-clustered beans? I mean, in a jboss instance I only can access the entity beans in that instance since I'm using only local interfaces. So, the current jboss instance never requests any information from another instances (weight load-balancing issues), unless for locality/time cache references. regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3845842#3845842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845842 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - invalidate read-only through read-write
Greetings, I created a read-only entity bean which I pretend to invalidate with a read-write entity bean. I find the RW instance, change same attribute, but the RO doesn't stay invalid. - RW extends Standard CMP 2.x EntityBean with cache invalidation (but I have tried also the Clustered CMP 2.x configuration) - RO extends Standard CMP 2.x EntityBean with cache invalidation - both have the same invalidation group name, with invalidation true in RO and false in RW. I'm using jboss 3.2.5. (you can see details of my configuration in older post http://www.jboss.org/index.html?module=bbop=viewtopict=53176. Can anyone assist me on this? regards, Pedro Salazar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3845806#3845806 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845806 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - RW/RO EJB invalidation pattern not working
Greetings, I created a read-only ejb Primitive that I pretend to invalidate through the read-write ejb PrimitiveRW. Both extends Standard CMP 2.x EntityBean with cache invalidation configuration (the read only extends CMP extended life time but this configuration extends the other configuration with longer passivation timeout). I simply do a lookup for a RW ejb instance, which I set the name to the same older name to generate a invalidation to other instances beans: | myRWbean.setName(myRWbean.getName()); | But my RO bean isn't invalidated (the load never happens) when I do a new lookup!? I'm using jboss 3.2.5 and below is my jboss.xml: | jboss | |enterprise-beans | | entity | ejb-namePrimitive/ejb-name | local-jndi-nameejb/PrimitiveLocal/local-jndi-name | read-onlytrue/read-only | configuration-nameCMP extended life time/configuration-name | | method-attributes | /method-attributes | | clusteredtrue/clustered | cluster-config | partition-nameDefaultPartition/partition-name | home-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin/home-load-balance-policy | bean-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin/bean-load-balance-policy | /cluster-config | | cache-invalidationtrue/cache-invalidation | cache-invalidation-config | invalidation-group-namePrimitiveCacheGroup/invalidation-group-name | /cache-invalidation-config | /entity | | entity | ejb-namePrimitiveRW/ejb-name | local-jndi-nameejb/PrimitiveRWLocal/local-jndi-name | configuration-nameStandard CMP 2.x EntityBean with cache invalidation /configuration-name | | method-attributes |method | method-namegetName/method-name | read-onlyfalse/read-only | /method | method | method-namesetName/method-name | read-onlyfalse/read-only | /method | /method-attributes | | clusteredtrue/clustered | cluster-config | partition-nameDefaultPartition/partition-name | home-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin/home-load-balance-policy | bean-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin/bean-load-balance-policy | /cluster-config | | cache-invalidationfalse/cache-invalidation | cache-invalidation-config | invalidation-group-namePrimitiveCacheGroup/invalidation-group-name | /cache-invalidation-config | /entity | | container-configurations | | container-configuration | extends=Standard CMP 2.x EntityBean with cache invalidation | container-nameCMP extended life time/container-name | container-cache-conf | cache-policy | org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy | /cache-policy | cache-policy-conf |min-capacity50/min-capacity |max-capacity100/max-capacity |overager-period300/overager-period |max-bean-age86400/max-bean-age |resizer-period400/resizer-period |max-cache-miss-period60/max-cache-miss-period |min-cache-miss-period1/min-cache-miss-period |cache-load-factor0.75/cache-load-factor | /cache-policy-conf | /container-cache-conf | /container-configuration | | /container-configurations | | /jboss | Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3845466#3845466 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845466 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: increase passivate timeout of Entity Beans (RO)
loubyansky wrote : max-bean-age in cache-policy-conf in jboss.xml. What is the limit for max-bean-age? Is possible to define a unlimited time bean age? I have a cluster entity bean where I defined a max-bean-age of 86400 but after a few time (10 minutes?) it goes passivated. | entity | ejb-namePrimitive/ejb-name | local-jndi-nameejb/PrimitiveLocal/local-jndi-name | read-onlytrue/read-only | configuration-nameCMP extended life time/configuration-name | ... | | container-configuration | extends=Standard CMP 2.x EntityBean with cache invalidation | container-nameCMP extended life time/container-name | container-cache-conf | cache-policy | org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy | /cache-policy | cache-policy-conf |min-capacity50/min-capacity |max-capacity100/max-capacity |overager-period300/overager-period |max-bean-age86400/max-bean-age |resizer-period400/resizer-period |max-cache-miss-period60/max-cache-miss-period |min-cache-miss-period1/min-cache-miss-period |cache-load-factor0.75/cache-load-factor | /cache-policy-conf | /container-cache-conf | /container-configuration | What is the problem? I'm using jboss 3.2.5. regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843603#3843603 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843603 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - cluster entity EJBs with invalidation
Greetings, When I deploy my Read-Only Entity Beans for invalidation target I must select the configuration Standard CMP 2.x EntityBean with cache invalidation from the jboss configurations, because is the only profile with invalidation. Since I would like to deploy them as cluster EJBs (jboss.xml: clusteredtrue /clustered) I received always a warning that there isn't a single clustered invoker available in that configuration: | WARN [org.jboss.ejb.EntityContainer] *** EJB 'X' deployed as CLUSTERED but not a single clustered-invoker is bound to container *** | Questions: - the cluster configuration of EJBs means that when a entity bean is load on one jboss instance, the cluster replicates these beans to the others instances? It's recommended? I'm trying to get the best performance, with invalidation, but I don't know if the cluster replication bottleneck is acceptable. - can I extend the configuration Standard CMP 2.x EntityBean with cache invalidation to support cluster (clustered-invoker) or add a invalidation feature to a cluster existent configuration? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843248#3843248 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843248 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: cluster entity EJBs with invalidation
mlange wrote : The warning always appears if you add the clustered tag to ejb with local interfaces. If you change to remote interfaces it is gone | | -marek Does it means that if local interfaces exists the entity bean isn't clustered? Or that remote interfaces are required for clustered? I could add both... I have only local interfaces for my EJBs for performance issues. And what kind of configuration you use for your entity beans? Does it work with invalidation? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843265#3843265 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843265 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - increase passivate timeout of Entity Beans (RO)
Greetings, I have information in my Entity Beans (Read-Only) that I would like to extend the time without passivate. I mean, the information is very critical for high performance, and the load time (in ejbLoad()) takes about 500-1000ms, and I want to improve this, by extending the time for timeout. Now, after a few minutes of inactivity, the EJBs are passivated, and I'll loose time in the load time. Isn't possible to extend this time? My operation take about 50ms and with the 500-1000ms in the load, it's terrible. thanks, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842135#3842135 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842135 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721alloc_id=10040op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JBoss JMS provider for Oracle Advanced Queue (Configuration)
Greetings, introduction: My objective is send a JMS message to JBOSS from Oracle. I tried the alternative to load the jbossall-client.jar in the database, but it fails. You can follow that alternative in another thread http://www.jboss.org/index.html?module=bbop=viewtopict=51711 Now, I'm trying to go for another approach: I'm trying to apply the patch for JMS Provider for OAQ. I read the how-to patch in http://sourceforge.net/tracker/index.php?func=detailaid=912173group_id=22866atid=376687, but I still have a few questions about it. And, I'm following the steps in 91640: JBoss - Oracle AQ Patch 9i.zip. - In the jboss configuration it refers the file JBOSS_HOME/server/default/deploy/jms/jms-ds.xml for declaring the OAQ provider. But I have only a JBOSS_HOME/server/all/deploy/jms/hajndi-jms-ds.xml. Is this file? And what is teh need of a RAR file also in there jms-ra.rar? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841894#3841894 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841894 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE
Hi Nicholas, How strange..., I was just reading something about Oracle AQ/JMS. But I'm still not aware how it works. Do you say I can send a JMS message to a destination queue registered outside in a JBOSS server on message driven? Or it sends only messages to oracle queues itself? regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841523#3841523 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841523 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE
Well, I'll try to download the jbossall-client.jar from jboss 3.2.0 release, to see if with those client jars work (I'll post later the results). Another interesting issue is that even with jboss stopped, the error is the same (recvfrom() timed out). Could it be that a request from Oracle to JBOSS (even down), never got its response (OK or FAILURE) because oracle server is blocking the reply? ... just guessing... Can you tell me exactly the permissions granted on oracle in your succefull test? I already tried all the referred ones in wiki and in the other jboss thread, but nothing. When you got the results of your test, now in Oracle Server 9.2.0.4, give a feedback here, please. Thanks. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841361#3841361 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841361 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE
With the jbossall-client.jar from jboss 3.2.0, I still get unresolved classes (351 against 537 of jboss 3.2.5) but it should be normal because, for instance, the JASS classes are not included in the bundle jbossall-client.jar. The question is why call jbossall-client.jar if it doesn't contains really all the classes? So, the only difference now is oracle version: 9.2.0.1 against my tested versions 9.2.0.{4,5}. Oh, yes the O.S. too. Linux against Windows :-) When you get more info about this, please post here. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841383#3841383 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841383 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Call JBOSS EJB from ORACLE
Greetings, I'm trying to call an EJB from an Oracle Java stored procedure as it's described in the Wiki pages: http://www.jboss.org/wiki/Wiki.jsp?page=CallingEJBsFromOracleJVM. I reproduce the similar steps as described in the article but I'm getting an exception when I do a lookup for the JNDI bean name: | Connnected To :localhost:1099 | Looking Up: ejb/Test | javax.naming.CommunicationException: recvfrom() timed out | Resource temporarily unavailable. Root exception is | java.io.InterruptedIOException: recvfrom() timed out | Resource temporarily unavailable | at java.net.PlainDatagramSocketImpl.peek(PlainDatagramSocketImpl.java) | at java.net.DatagramSocket.receive(DatagramSocket.java) | at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1089) | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1196) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) | I run the same class that I put in the database as java stored procedure but now outside the database, and it works just fine. What is the problem here? BTW, in the step 2 (compiling the java classes in the database), I'm getting several warnings in the classes of jboss from jbossall-client.jar.And I'm using the loadjava and dropjava tools from oracle instead the ant task. I'm using Oracle 9.2.0.4 and JBOSS 3.2.5. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841247#3841247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841247 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE
Yes I did. I set the resolve=on for the jbossall-client.jar plus my EJB interfaces and for the proxy class. Are any other classes (jar files) need to be loaded to oracle? I also compiled the invalid classes in oracle: | select 'ALTER JAVA CLASS 1..' || object_name || | ' RESOLVER ((* USER)(* OTHER)(* PUBLIC)) COMPILE;' | from ALL_OBJECTS where object_type in | ('JAVA CLASS', 'JAVA SOURCE') and status = 'INVALID' and OWNER = 'USER'; | But I get always a few that still invalid in the end. If I'm not mistake, about 537 classes. Thanks. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841271#3841271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841271 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Call JBOSS EJB from ORACLE
Hi nickman, I just tested now in Oracle Server 9.2.0.5 (before I had tried in 9.2.0.4), but the problem remains. I only submitted in the database the jbossall-client.jar (537 classes unresolved). Can you tell me what jars did you loaded to your database? And from jboss version? Another info: -I'm testing in a Linux environment, with Oracle Server 9.2.0.{4,5} and JBOSS 3.2.5. -I only granted the following privileges (the ones that oracle complained): | call dbms_java.grant_permission( | 'UIF', | 'SYS:java.net.SocketPermission', | 'localhost:1024-', | 'listen,resolve' ); | call dbms_java.grant_permission( | 'UIF', | 'SYS:java.net.SocketPermission', | '230.0.0.4', | 'connect,accept,resolve'); | -And here it goes the properties I set: | java.util.Properties p = new java.util.Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, | org.jnp.interfaces.NamingContextFactory); | p.put(Context.URL_PKG_PREFIXES, | org.jboss.naming:org.jnp.interfaces); | p.put(Context.PROVIDER_URL, | localhost:1099); | ic = new javax.naming.InitialContext(p); | Regards, Pedro Salazar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841295#3841295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841295 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: servlet call EJB secured - Authentication exception, pr
Hi, Apparently, the problem is not a failure of the role permission verification, but a problem of a null user authentication. I mean, I set the run-as role in my web.xml, but since I didn't defined any authentication in my web application, the principal was always null. I imagine the workflow something like this: 1) User authentication 2) role permission So, if the in step 1) there isn't any user, the role permission verification in 2) will always fail, probably because of this: | java.security.Principal getCallerPrincipal() | boolean isCallerInRole(String roleName) | I workaround this by setting a dummy user in login-config.xml for the other profile to avoid the null principal: | authentication | login-module code = org.jboss.security.auth.spi.UsersRolesLoginModule | flag = required | module-option name = unauthenticatedIdentitynobody/module-option | |/login-module |/authentication | So, I would like to ask a new question: -How can I set a Principal in my servlet code for the JAAS authentication in a programatic way? If the Principal is null, then I set a dummy Principal, and using the run-as element in web.xml, I could solved the problem... The advantage is avoiding a specific JBOSS configuration, even I'm developing for JBOSS. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840966#3840966 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840966 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - how much is the overhead of EJB security permission?
Greetings, I'm updating my EJBs from empty security settings to a role properties permissions. Only a mininal subset of my methods will have a permission check. The majority (including all entity beans except create and remove methods) will be unchecked. I don't know the implementation details of security in JBOSS, so I would like to hear your opinion about the overhead of the security on EJB methods, for instance: - The unchecked methods will have any weight at runtime? - If my logic calls method _1() - method _2() - ... - method _N(), and all the methods have security permission set, will the container verify just the first time or in each method step, there will be a significant weight on the security check? - The role check based on file properties (just for 1 or 2 single static users) is the best approach for securing EJB methods? - ... I would like to hear you about these issues and others... Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840811#3840811 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840811 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: jmx-console authentication
I repeated the procedure on another machine and ... it worked OK as expected. I'll close the topic here because it must be a mistake somewhere that doesn't worth the hunt since now it's verified by you also as the correct procedure. And I'll reproduce the procedure in the machine with problem but with the new 3.2.5 release. Thanks, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840591#3840591 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840591 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JAAS and permission roles in EJB
OK, I think I understand how it works now: We add 2 levels of authentication: a certificate login module or a login role module. The first level of authentication would be the certificate login module, and after that, using the user/password already authenticated (useFirstPass), it will match the role associated in the roles.properties. That's just fine. I was supposing that the certificate login module could handled also the roles, but it never can do that because it was never designed for that. It must work in collaboration with a specific role login modle. Thanks, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840596#3840596 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840596 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - EJB1 access unprotected methods in secured EJB2 (not working
Greetings, I have an EJB1 which accesses to an EJB2 (entity) secured. By default, without setting any authentication by JAAS in EJB1, I got this exception due the missing authentication from EJB1, when I try to make findByPrimaryKey: | javax.ejb.TransactionRolledbackLocalException: checkSecurityAssociation; CausedByException is: | Authentication exception, principal=null; CausedByException is: | checkSecurityAssociation; CausedByException is: | Authentication exception, principal=null | org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:204) | org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) | org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) | org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) | org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) | org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484) | org.jboss.ejb.Container.invoke(Container.java:723) | org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359) | org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44) | However, I want to open access to EJB1, so I tried 2 alternatives: 1) I set the run-aselement in the EJB1 ejb-jar.xml with a role which is allowed in the EJB2: | run-as |descriptionpermission to execute with role/description |role-nameslr-user/role-name | /run-as | 2) I unchecked the permission in the finder method by primary key in EJB2 ejb-jar.xml: |method-permission | descriptionPermission for findByPK method/description | unchecked/ | method | ejb-nameDb/ejb-name | method-namefindByPrimaryKey/method-name | /method |/method-permission | However, in both cases I'm still getting the same exception. What is missing here? Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840656#3840656 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840656 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - servlet call EJB secured - Authentication exception, princi
Greetings, I'm trying to invoke a secured EJB (methods permission) in my servet but even with the run-as in my web.xml to set the role authorized in my EJB, I got always the error below: | 2004-07-01 21:19:52,661 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[ServiceServlet]: Servlet.service() for servlet ServiceServlet threw exception | javax.ejb.EJBException: checkSecurityAssociation; CausedByException is: | Authentication exception, principal=null | My web.xml: | web-app |servlet | servlet-nameServiceServlet/servlet-name | display-nameService HTTP/XML Servlet/display-name | descriptionUIF Interface HTTP/XML/description | servlet-classpt.ptinovacao.nginpro.uif.http.ServiceServlet/servlet-class | | load-on-startup5/load-on-startup | run-as | role-nameengine-user/role-name | /run-as | ... | security-role | descriptionpermission to execute UIF engine/description | role-nameengine-user/role-name |/security-role | |/servlet | /web-app | My ejb-jar.xml of my EJB: | ejb-jar | ... | method-permission | descriptionrole granted/description | role-nameengine-user/role-name | method | descriptioncreate method/description | ejb-nameServiceManager/ejb-name | method-intfLocalHome/method-intf | method-namecreate/method-name | method-params | /method-params | /method |/method-permission | /ejb-jar | Any help would be very appreciated. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840676#3840676 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840676 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - JMX (from jmx-console) invoke Secured EJB
Greetings, I set security permissions in my EJB's methods. In a standard client, I apply the JAAS rules using the LoginModule and CallbackHandler. Now, I must extend the invocation of my EJB methods from a JMX but I don't know where does the java.login.config fits in the new context, or how can I apply the the runAs as I could do from other EJB to access Secured EJB. BTW, if I have a group of EAR with users.properties and roles.properties in each one some EJBs invoke another EJBs in another EARs, how can I assure the interoperability between them? Should I create the same users and the same roles in each EAR? Can't I share the properties database? thanks, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840465#3840465 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840465 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - JAAS and permission roles in EJB
Greetings, When I use a UsersRolesLoginModule or a DatabaseServerLoginModule, I have a explicit role field that will be used to the authorization for a specific method. What happens when we use a certificate, a kerberos or a ldap login module (I don't know if JBOSS supports it but JAAS should support), for the authorization for secured EJBs? How the roles will be handled in those situations? regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840472#3840472 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840472 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Web Services over JMS?
Greetings, I'm looking for a reliable web service implementation. AFAIK, AXIS (the actual implementation of JBOSS) can use SOAP over JMS instead HTTP. Besides that I'm not aware how to do it or proceed. My basic skills allow me only building a standard web service (WSDL) over HTTP. Now I'm looking for way to test over JMS in JBOSS. Any help would be very appreciated. regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840490#3840490 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840490 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: How to easily separate clusters from each other?
Hi, so, in my understanding we have 2 options for having a jboss in cluster: 1. changing the ip_multicast and/or port for JGROUPS and AutoDiscovery 2. changing the PartitionName. It's obvious that the alternative 1) is more simpler than number 2). So, when does the alternative 2) makes sense to use? thanks, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839987#3839987 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839987 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - deploy order/directories + singleton
Greetings, In deployment the dependencies may be handled by prefix the packages with numbers. If I have an EAR1 which depends from EAR2: 01_EAR2 02_EAR2 Question1: When we go to cluster I presume (I don't know) the precedence is first deploy in the 'deploy' directory and after deploy in the 'farm' (cluster) directory. Is this true? If true, what happens when I have a JMX (SAR) that depends from a EJB in a EAR in cluster? Question2: In jboss 3.2.4 a 'deploy-hasingleton' directory appears. This means that EJBs in old 'deploy' not work as a singleton (static variables), and must be deployed now in this new directory? (http://c2.com/cgi/wiki?JavaSingleton) Question3: I'm using the singleton technique to cache elements queried to a database in a EJB (stateless). However, this EJB stateless is deployed in cluster. I have no problem that in each jboss cluster has its own cache (it's OK). But, this means that the garbage collector can clean my cache when it wants? Until know (jboss-3.2.3) I never noticed missing the cache. What does it means now in jboss 3.2.4? thanks, Pedro Salazar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839996#3839996 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839996 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: How to easily separate clusters from each other?
For the client perspective, changing the PartitionName will affect directly the normal way of invoking an EJB for instance. Below, I have a sample of jndi.properties (provider.url is commented): | # jndi.properties | | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | #java.naming.provider.url=localhost:1099 | jnp.partitionName=DefaultPartition | In this perspective, changing the PartitionName in my jboss cluster configuration will affect the clients (they need to change the partition name property). But, if I change only the ip_multicast and/or port, how can I decide which cluster I want to invoke if I have 2 groups of clusters in my network? thanks, Pedro Salazar P.S.- I don't get paid by the hour ;-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839998#3839998 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839998 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - jmx-console authentication
Greetings, I want to apply a basic authentication on jmx-console by just uncomment the web.xml/jboss-web.xml as referred in JBOSS FAQ. I did it, and it started to ask the login and password. However, even if a put a non existent user and/or a bad password, the authentication pass always OK!? I'm using jboss 3.2.4 with the standard configurations. What's wrong here? thanks, Pedro Salazar. | #jmx-console-users.properties | admin=admin | | #jmx-console-roles.properties | admin=JBossAdmin | | #web.xml | login-config | auth-methodBASIC/auth-method | realm-nameJBoss JMX Console/realm-name |/login-config | |security-role | role-nameJBossAdmin/role-name |/security-role | | #jboss-web.xml | security-domainjava:/jaas/jmx-console/security-domain | | #login-config.xml | application-policy name = jmx-console |authentication | login-module code=org.jboss.security.auth.spi.UsersRolesLoginModule | flag = required | module-option name=usersPropertiesjmx-console-users.properties/module-option | module-option name=rolesPropertiesjmx-console-roles.properties/module-option | /login-module |/authentication | /application-policy | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839846#3839846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839846 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: How to easily separate clusters from each other?
Greetings, I'm looking for the same answer, but I try to add more to the question: Besides the ip multicast, the partition name in cluster-service.xml has any effect? regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839876#3839876 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839876 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - deploy jmx in jboss:
Greetings, I'm unable to deploy a MBEAN in JBOSS. 1)I created a class that implements a interface 2)I created a jboss-service.xml a) I inserted xmbean-dd attribute (generated by xdoclet) | server | classpath codebase=deploy archives=interfaces-slr.jar/ -- | mbean code=pt.ptinovacao.nginpro.uif.slr.jmx.SLRPrivateAccountCache | name=jboss:service=SLRPACacheService xmbean-dd=META-INF/pt/ptinovacao/nginpro/uif/slr/jmx/SLRPrivateAccountCache.xml | | /mbean | /server | b) I add no xmbean attribute | server | classpath codebase=deploy archives=interfaces-slr.jar/ | | mbean code=pt.ptinovacao.nginpro.uif.slr.jmx.SLRPrivateAccountCache | name=jboss:service=SLRPACacheService | | /mbean | /server | 3) I packed the files in a SAR with jboss-service.xml in META-INF 4) When I deploy I get the following errors a) and b) (see 2) a) | 2004-06-23 12:37:20,173 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.2.3/server/all/deploy/jmx-slr.sar | 2004-06-23 12:37:20,179 INFO [org.jboss.deployment.SARDeployer] nested deployment: file:/usr/local/jboss-3.2.3/server/all/tmp/deploy/tmp23891jmx-slr.sar-contents/jmx-slr.jar | 2004-06-23 12:37:20,210 WARN [org.jboss.mx.server.registry.BasicMBeanRegistry] MBeanException: preRegister() failed [ObjectName='jboss:service=SLRPACacheService', Class=org.jboss.mx.modelmbean.XMBean ([EMAIL PROTECTED])] | Cause: ReflectionException: null | Cause: javax.management.IntrospectionException: no method found for operation: setMaxSize | 2004-06-23 12:37:20,212 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException | 2004-06-23 12:37:20,212 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/usr/local/jboss-3.2.3/server/all/deploy/jmx-slr.sar | org.jboss.deployment.DeploymentException: create operation failed for package file:/usr/local/jboss-3.2.3/server/all/deploy/jmx-slr.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (ReflectionException: null | Cause: javax.management.IntrospectionException: no method found for operation: setMaxSize)) | b) | 2004-06-23 12:40:36,600 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.2.3/server/all/deploy/jmx-slr.sar | 2004-06-23 12:40:36,606 INFO [org.jboss.deployment.SARDeployer] nested deployment: file:/usr/local/jboss-3.2.3/server/all/tmp/deploy/tmp23892jmx-slr.sar-contents/jmx-slr.jar | 2004-06-23 12:40:36,620 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException | 2004-06-23 12:40:36,620 ERROR [org.jboss.deployment.MainDeployer] could not crea | te deployment: file:/usr/local/jboss-3.2.3/server/all/deploy/jmx-slr.sar | org.jboss.deployment.DeploymentException: create operation failed for package file:/usr/local/jboss-3.2.3/server/all/deploy/jmx-slr.sar; - nested throwable: (or | g.jboss.deployment.DeploymentException: Class does not expose a management interface: pt.ptinovacao.nginpro.uif.slr.jmx.SLRPrivateAccountCache; - nested throwab | le: (javax.management.NotCompliantMBeanException: Class does not expose a management interface: pt.ptinovacao.nginpro.uif.slr.jmx.SLRPrivateAccountCache)) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | What's wrong? I would like to deploy a simple JMX in my jboss. I need to know exactly what is the configuration and the way of deploy, besides the the interface plus the jmx implementation. Thanks, Pedro Salazar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839692#3839692 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839692 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - EJB 'X' deployed as CLUSTERED but not a single clustered-inv
Greetings, I'm deploying my EAR with a few clustered EJBs in the farm directory (cluster). In the deploying I'm getting this warning below. What does it means? thanks, Pedro Salazar. | 2004-06-23 22:35:00,614 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/usr/local/jboss-3.2.4/server/all/farm/slr.ear | 2004-06-23 22:35:04,176 INFO [org.jboss.ejb.EjbModule] Deploying Db | 2004-06-23 22:35:04,332 INFO [org.jboss.ejb.EjbModule] Deploying SLR | 2004-06-23 22:35:04,466 WARN [org.jboss.ejb.EntityContainer] *** EJB 'Db' deployed as CLUSTERED but not a single clustered-invoker is bound to container *** | 2004-06-23 22:35:12,313 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/usr/local/jboss-3.2.4/server/all/tmp/deploy/tmp32507slr.ear-contents/SlrEJB.jar | 2004-06-23 22:35:12,788 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/usr/local/jboss-3.2.4/server/all/farm/slr.ear | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839738#3839738 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839738 --- This SF.Net email sponsored by Black Hat Briefings Training. Attend Black Hat Briefings Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - advantages of JMX against EJB stateless+singleton
Greetings, I would like to know the advantages of using a JMX against using a stateless EJB with a singleton design? I implemented a cache mechanism in a EJB where an operation method of my EJB would query first my chache, and if the element is not present, then go to database perform a query. I would like to know what advantages would I have if I migrate my cache mechanim from inside EJB singleton to a JMX object? thanks, Pedro Salazar. BTW, it's OK reply by email since I subscribe the JBOSS mailing list or should I always go through JBOSS web site for a post reply? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839405#3839405 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839405 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - deploy mbean in jboss
Greetings, I would like to know how to deploy a mbean in jboss: - Should I edit the ${JBOSS_HOME}/*/conf/jboss-service.xm, and add my bean configuration there having my mbean jar in ${JBOSS_HOME}/*/lib/ directory? I think the approach above works only for start/shutdown of jboss and is not suitable for hotdeploy of mbeans (imagine I must deploy a new mbean - a restart of jboss could be pain). - In alternative I read something about the jboss-service_3_2.dtd. Can I deploy my custom mbean on ${JBOSS_HOME}/*/deploy/ as *-service.xml, which I supose the hot deploy should work, I suppose. And where should I deploy the jar files? Are these thoughs correct? BTW, what are the MLETs? Thanks, Pedro Salazar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838855#3838855 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838855 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user