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
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
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?
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
_
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.
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
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
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
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
"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:/
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
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
"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
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.*;
|
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=
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
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
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
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
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
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
21 matches
Mail list logo