[jboss-user] [Management, JMX/JBoss] - Listing EJB and services

2006-12-15 Thread danieldestro
Hi all, We are starting in this new SOA world in the company. Our services are implemented as Statless Session Beans (EJB) and are deployed in separate JARs for each different business module/service. We are using Java 5 and JBoss 4.0.3-SP1 and EJB 2.1. I need to list all this services in a we

[jboss-user] [JNDI/Naming/Network] - Listing EJB and services

2006-12-15 Thread danieldestro
Hi all, We are starting in this new SOA world in the company. Our services are implemented as Statless Session Beans (EJB) and are deployed in separate JARs for each different business module/service. We are using Java 5 and JBoss 4.0.3-SP1 and EJB 2.1. I need to list all this services in a we

[jboss-user] [Management, JMX/JBoss] - Re: Listing EJB and services

2006-12-18 Thread danieldestro
Hi, EJB 3.0 is not an option right now. We are still using EJB 2.1 and I can not change that at the moment. So, I am searching for means on how to list all of the EJBs deployed in the container, through JMX. I can not find any documentation about it. Can anyone provide me some doc about it?

[jboss-user] [JNDI/Naming/Network] - Re: Listing EJB and services

2006-12-18 Thread danieldestro
I just need a documentation about "how to list all ejb deployed in the container using jmx". Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994686#3994686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994686 _

[jboss-user] [Beginners Corner] - Listing all EJBs through JMX

2006-12-20 Thread danieldestro
Hi, I want to list the name (or the references) for all EJBs deploy in the container instance (jboss4.0.3-sp1) through JMX. The jmx-console have something similiar, but I tried to achieve only the information I need, reading the code, but it is impossible to get it. (http://jboss.org/wiki/Wiki.

[jboss-user] [Management, JMX/JBoss] - Listing all EJBs through JMX

2006-12-20 Thread danieldestro
Hi, I want to list the name (or the references) for all EJBs deploy in the container instance (jboss4.0.3-sp1) through JMX. The jmx-console have something similiar, but I tried to achieve only the information I need, reading the code, but it is impossible to get it. ( http://jboss.org/wiki/Wiki

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2006-12-21 Thread danieldestro
Hi dimitris, I tried to use twiddle according to the examples (http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch2.chapter.html), but I only got error messages, such as: C:\jboss-4.0.3SP1\bin>twiddle query 'jboss:service=JNDIView' | 13:48:38,772 ERROR [Twiddle] Command failure | org.jboss

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2006-12-21 Thread danieldestro
Hahahaah... different result. But still not satisfied. C:\jboss-4.0.3SP1\bin>twiddle query "*:j2eeType=EjbModule,*" | 17:08:19,307 ERROR [Twiddle] Command failure | org.jboss.console.twiddle.command.CommandException: No MBean matches for query: | *:j2eeType=EjbModule,* | at org.j

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2006-12-21 Thread danieldestro
Ok, better results now: C:\jboss-4.0.3SP1\bin>twiddle query "jboss.j2ee:service=EjbModule,*" | jboss.j2ee:service=EjbModule,module=gpa-ejb.jar | jboss.j2ee:service=EjbModule,module=mdc-idf.jar | jboss.j2ee:service=EjbModule,module=mdc.jar I´ll do some testing with it and try to list the EJB

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2006-12-21 Thread danieldestro
"PeterJ" wrote : twiddle query "*:j2eeType=StatefulSessionBean,*" | and | twiddle query "*:j2eeType=StatelessSessionBean,*" Does not work at all for me with twiddle. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995687#3995687 Reply to the post : http:/

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2006-12-21 Thread danieldestro
Good news! Ok, this works: String name = "jboss.management.local:*,j2eeType=StatelessSessionBean"; | server = (MBeanServer) MBeanServerLocator.locateJBoss(); | Set matches = server.queryMBeans(new ObjectName(name), null); | ServerObjectInstance[] names = (ServerObjectInstance[]) matches.toA

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2006-12-21 Thread danieldestro
I want to see what info I have inside the bean where "j2eeType=EJBModule", link in the link providade at jmx-console View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995701#3995701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2006-12-28 Thread danieldestro
"PeterJ" wrote : Also google "jboss jmx tutorial". As if existed any. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996616#3996616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996616

[jboss-user] [Management, JMX/JBoss] - Re: Listing all EJBs through JMX

2007-01-12 Thread danieldestro
Finally I achieved what I wanted. The code bellow shows all the "ejb-jar.xml" deployed in the container. package test; | | import java.lang.reflect.Method; | import java.util.*; | import javax.management.*; | import org.jboss.jmx.adaptor.control.*; | import org.jboss.mx.server.*; |

[jboss-user] [JNDI/Naming/Network] - Re: Listing EJB and services

2007-01-12 Thread danieldestro
Refer to: http://jboss.org/index.html?module=bb&op=viewtopic&p=4000917#modules/bb/templates/subSilver/images/lang_english/post.gif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000918#4000918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=

[jboss-user] [Beginners Corner] - Re: Listing all EJBs through JMX

2007-01-12 Thread danieldestro
refer to: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=97699&start=10 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000920#4000920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000920

[jboss-user] [Security & JAAS/JBoss] - Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA

2006-10-03 Thread danieldestro
Hello all, I am trying to build a very simple JavaEE application with JAAS, but I getting mad. I have an EAR packed with a WAR module an EJB JAR module and a JAR with other classes. Struts is the MVC framework and EJB 3.0 is been used. First of all, I configured the "login-config.xml" file wit

[jboss-user] [Security & JAAS/JBoss] - still not working

2006-10-05 Thread danieldestro
Thanks, buddy. I only did 'copy & paste' here... So, no chance to have a typo. Even because I copied the security-domain from jboss-web.xml to jboss.xml. Is @SecurityDomain("exemplo1") mandatory? Or only if I do not provide jboss.xml config? Even providing @SecurityDomain("exemplo1") and jboss

[jboss-user] [Security & JAAS/JBoss] - Re: still not working

2006-10-05 Thread danieldestro
my bad... please remove this post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976406#3976406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976406 ___ jboss-user mailing l

[jboss-user] [Security & JAAS/JBoss] - Re: Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA

2006-10-05 Thread danieldestro
Thanks, buddy. I only did 'copy & paste' here... So, no chance to have a typo. Even because I copied the security-domain from jboss-web.xml to jboss.xml. Is @SecurityDomain("exemplo1") mandatory? Or only if I do not provide jboss.xml config? Even providing @SecurityDomain("exemplo1") and jboss

[jboss-user] [Security & JAAS/JBoss] - Re: Problems using JAAS with EJB 3.0 on JBoss 4.0.4-GA

2006-10-05 Thread danieldestro
Using @SecurityDomain("exemplo1") in my EJB and NOT providing jboss.xml, it works. Damn! This is some serious shit... I don´t want to configure this in every single EJB. EJB 3.0 is nice, but some small trivial details like this and others, that was forgotten by Sun, piss me off! View the orig