[JBoss Seam] - please help me out of this problem
by mnrz
Hi
I have a SFSB as follows, it has an entity named "user", in page when I change a list box I want the selected user to be loaded but nothing will be displayed
| @Stateful
| @Name("userRegister")
| @Scope(ScopeType.SESSION)
| public class UserRegisterAction implements UserRegister {
|
| private Log logger = LogFactory.getLog(UserRegisterAction.class);
|
| private User user;
| private String selectedUsername = "0";
|
| //rest of the codes....
|
| public void userListValueChanged(ValueChangeEvent event) {
|
| try {
| selectedUsername = (String) event.getNewValue();
| if(selectedUsername.equals("0")){
| logger.debug("new user");
| User u = new User();
| setUser(u);
| }else{
| logger.debug("edit:"+ selectedUsername);
| User u = userDao.load(selectedUsername);
| setUser(u);
| logger.debug("test:"+ user.getUsername());
| }
| } catch (Exception e) {
| e.printStackTrace();
| }
| }
|
|
|
| //getters and setters....
|
now in xhtml file:
| <h:panelGroup id="exportUser">
| <h:outputLabel id="userL"
| value="#{bundle['userDefination.group']}" for="groupMenu" />
| <t:selectOneMenu id="userMenu" required="false" value="#{userRegister.selectedUsername}"
| valueChangeListener="#{userRegister.userListValueChanged}"
| onchange="submit(this)" >
| <f:selectItem itemLabel="New User ..." itemValue="0" />
| <f:selectItems id="userList" value="#{userRegister.allUsers}" />
| </t:selectOneMenu>
| </h:panelGroup>
|
|
after the user change the list this form will submit but any reference to userRegister.user.username or other properties of user don't work .
at first, user is not null it is a user with null property values. the thing wondering me is that in change value listener I load the user with new values but new values won't be displayed at page!!!
and #{userRegister.user} returns the object reference of User with the same value that it was already.
any help would be appreciated
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079587#4079587
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079587
17Â years, 2Â months
[JBossWS] - Deploying EJB Endpoint Web Services on Jboss-4.0.5.GA
by letincho5
Hi,
I'm in a very similar situacion than:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060099#4060099
My web services runs on jboss 4.0.3_SP1 without problems. Unfortunatly on jboss 4.0.5.GA it doesn't work. I guess there is a deploy problem:
08:49:45,421 INFO [EARDeployer] Init J2EE application: file:/C:/Proyectos/Gauss/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/WsVmonEAR.ear/
08:49:46,015 INFO [EjbModule] Deploying VideoServerEJB
08:49:46,625 WARN [PortComponentMetaData] <wsdl-port> element in webservices.xml not namespace qualified: VideoServerServicePort
08:49:47,281 ERROR [MainDeployer] Could not create deployment: file:/C:/Proyectos/Gauss/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/WsVmonEAR.ear/WsVmon.jar/
java.lang.NoSuchMethodError: com.ibm.wsdl.xml.WSDLReaderImpl.setEntityResolver(Lorg/xml/sax/EntityResolver;)V
at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:142)
at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273)
at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:94)
at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:85)
The wsdl and mapping files were generated by the SUN's JWSDP (http://java.sun.com/webservices/downloads/previous/index.jsp)
This is the service endpoint
| package com.gauss.vmon.ws.endpoint;
|
| import java.rmi.Remote;
| import java.rmi.RemoteException;
|
| import com.gauss.vmon.ws.data.CameraData;
| import com.gauss.vmon.ws.data.Credential;
|
| public interface VideoServerService extends Remote {
|
|
| /**
| * @param vsfId
| * @return
| */
| public CameraData getCameraData(String vsfId) throws RemoteException;
|
| /**
| * @param vsfId
| * @return
| */
| public Credential getCredential(String vsfId) throws RemoteException;;
|
| }
The JWSDP's config.xml file
| <?xml version="1.0" encoding="UTF-8"?>
| <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
| <service name="VideoServerService"
| targetNamespace="http://ws.vmon.gauss.com"
| typeNamespace="http://ws.vmon.gauss.com/types"
| packageName="com.gauss.vmon.ws">
| <interface name="com.gauss.vmon.ws.endpoint.VideoServerService"/>
| </service>
| </configuration>
My webservices.xml:
| <webservices xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
| version="1.1">
| <webservice-description>
| <webservice-description-name>
| VideoServerService
| </webservice-description-name>
| <wsdl-file>META-INF/wsdl/VideoServerService.wsdl</wsdl-file>
| <jaxrpc-mapping-file>META-INF/mapping.xml</jaxrpc-mapping-file>
| <port-component>
| <port-component-name>VideoServerService</port-component-name>
| <wsdl-port>VideoServerServicePort</wsdl-port>
| <service-endpoint-interface>
| com.gauss.vmon.ws.endpoint.VideoServerService
| </service-endpoint-interface>
| <service-impl-bean>
| <ejb-link>VideoServerEJB</ejb-link>
| </service-impl-bean>
| </port-component>
| </webservice-description>
| </webservices>
|
And the wsdl and mapping files:
wsdl
| <?xml version="1.0" encoding="UTF-8"?>
|
| <definitions name="VideoServerService" targetNamespace="http://ws.vmon.gauss.com" xmlns:tns="http://ws.vmon.gauss.com" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://ws.vmon.gauss.com/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
| <types>
| <schema targetNamespace="http://ws.vmon.gauss.com/types" xmlns:tns="http://ws.vmon.gauss.com/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://www.w3.org/2001/XMLSchema">
| <complexType name="CameraData">
| <sequence>
| <element name="apiCode" type="string" nillable="true"/>
| <element name="channel" type="int"/>
| <element name="ip" type="string" nillable="true"/>
| <element name="password" type="string" nillable="true"/>
| <element name="port" type="int"/>
| <element name="status" type="int"/>
| <element name="statusDescription" type="string" nillable="true"/>
| <element name="username" type="string" nillable="true"/>
| <element name="vsfId" type="string" nillable="true"/></sequence></complexType>
| <complexType name="Credential">
| <sequence>
| <element name="password" type="string" nillable="true"/>
| <element name="status" type="int"/>
| <element name="statusDescription" type="string" nillable="true"/>
| <element name="username" type="string" nillable="true"/></sequence></complexType></schema></types>
| <message name="VideoServerService_getCameraData">
| <part name="vsfId" type="xsd:string"/></message>
| <message name="VideoServerService_getCameraDataResponse">
| <part name="result" type="ns2:CameraData"/></message>
| <message name="VideoServerService_getCredential">
| <part name="vsfId" type="xsd:string"/></message>
| <message name="VideoServerService_getCredentialResponse">
| <part name="result" type="ns2:Credential"/></message>
| <portType name="VideoServerService">
| <operation name="getCameraData" parameterOrder="vsfId">
| <input message="tns:VideoServerService_getCameraData"/>
| <output message="tns:VideoServerService_getCameraDataResponse"/></operation>
| <operation name="getCredential" parameterOrder="vsfId">
| <input message="tns:VideoServerService_getCredential"/>
| <output message="tns:VideoServerService_getCredentialResponse"/></operation></portType>
| <binding name="VideoServerServiceBinding" type="tns:VideoServerService">
| <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
| <operation name="getCameraData">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal" namespace="http://ws.vmon.gauss.com"/></input>
| <output>
| <soap:body use="literal" namespace="http://ws.vmon.gauss.com"/></output></operation>
| <operation name="getCredential">
| <soap:operation soapAction=""/>
| <input>
| <soap:body use="literal" namespace="http://ws.vmon.gauss.com"/></input>
| <output>
| <soap:body use="literal" namespace="http://ws.vmon.gauss.com"/></output></operation></binding>
| <service name="VideoServerService">
| <port name="VideoServerServicePort" binding="tns:VideoServerServiceBinding">
| <soap:address location="REPLACE_WITH_ACTUAL_URL"/></port></service></definitions>
|
mapping.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
| <package-mapping>
| <package-type>com.gauss.vmon.ws</package-type>
| <namespaceURI>http://ws.vmon.gauss.com/types</namespaceURI>
| </package-mapping>
| <package-mapping>
| <package-type>com.gauss.vmon.ws</package-type>
| <namespaceURI>http://ws.vmon.gauss.com</namespaceURI>
| </package-mapping>
| <java-xml-type-mapping>
| <java-type>com.gauss.vmon.ws.data.CameraData</java-type>
| <root-type-qname xmlns:typeNS="http://ws.vmon.gauss.com/types">typeNS:CameraData</root-type-qname>
| <qname-scope>complexType</qname-scope>
| <variable-mapping>
| <java-variable-name>apiCode</java-variable-name>
| <xml-element-name>apiCode</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>channel</java-variable-name>
| <xml-element-name>channel</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>ip</java-variable-name>
| <xml-element-name>ip</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>password</java-variable-name>
| <xml-element-name>password</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>port</java-variable-name>
| <xml-element-name>port</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>status</java-variable-name>
| <xml-element-name>status</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>statusDescription</java-variable-name>
| <xml-element-name>statusDescription</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>username</java-variable-name>
| <xml-element-name>username</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>vsfId</java-variable-name>
| <xml-element-name>vsfId</xml-element-name>
| </variable-mapping>
| </java-xml-type-mapping>
| <java-xml-type-mapping>
| <java-type>com.gauss.vmon.ws.data.Credential</java-type>
| <root-type-qname xmlns:typeNS="http://ws.vmon.gauss.com/types">typeNS:Credential</root-type-qname>
| <qname-scope>complexType</qname-scope>
| <variable-mapping>
| <java-variable-name>password</java-variable-name>
| <xml-element-name>password</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>status</java-variable-name>
| <xml-element-name>status</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>statusDescription</java-variable-name>
| <xml-element-name>statusDescription</xml-element-name>
| </variable-mapping>
| <variable-mapping>
| <java-variable-name>username</java-variable-name>
| <xml-element-name>username</xml-element-name>
| </variable-mapping>
| </java-xml-type-mapping>
| <service-interface-mapping>
| <service-interface>com.gauss.vmon.ws.VideoServerService</service-interface>
| <wsdl-service-name xmlns:serviceNS="http://ws.vmon.gauss.com">serviceNS:VideoServerService</wsdl-service-name>
| <port-mapping>
| <port-name>VideoServerServicePort</port-name>
| <java-port-name>VideoServerServicePort</java-port-name>
| </port-mapping>
| </service-interface-mapping>
| <service-endpoint-interface-mapping>
| <service-endpoint-interface>com.gauss.vmon.ws.endpoint.VideoServerService</service-endpoint-interface>
| <wsdl-port-type xmlns:portTypeNS="http://ws.vmon.gauss.com">portTypeNS:VideoServerService</wsdl-port-type>
| <wsdl-binding xmlns:bindingNS="http://ws.vmon.gauss.com">bindingNS:VideoServerServiceBinding</wsdl-binding>
| <service-endpoint-method-mapping>
| <java-method-name>getCameraData</java-method-name>
| <wsdl-operation>getCameraData</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS="http://ws.vmon.gauss.com">wsdlMsgNS:VideoServerService_getCameraData</wsdl-message>
| <wsdl-message-part-name>vsfId</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <wsdl-return-value-mapping>
| <method-return-value>com.gauss.vmon.ws.data.CameraData</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS="http://ws.vmon.gauss.com">wsdlMsgNS:VideoServerService_getCameraDataResponse</wsdl-message>
| <wsdl-message-part-name>result</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
| <service-endpoint-method-mapping>
| <java-method-name>getCredential</java-method-name>
| <wsdl-operation>getCredential</wsdl-operation>
| <method-param-parts-mapping>
| <param-position>0</param-position>
| <param-type>java.lang.String</param-type>
| <wsdl-message-mapping>
| <wsdl-message xmlns:wsdlMsgNS="http://ws.vmon.gauss.com">wsdlMsgNS:VideoServerService_getCredential</wsdl-message>
| <wsdl-message-part-name>vsfId</wsdl-message-part-name>
| <parameter-mode>IN</parameter-mode>
| </wsdl-message-mapping>
| </method-param-parts-mapping>
| <wsdl-return-value-mapping>
| <method-return-value>com.gauss.vmon.ws.data.Credential</method-return-value>
| <wsdl-message xmlns:wsdlMsgNS="http://ws.vmon.gauss.com">wsdlMsgNS:VideoServerService_getCredentialResponse</wsdl-message>
| <wsdl-message-part-name>result</wsdl-message-part-name>
| </wsdl-return-value-mapping>
| </service-endpoint-method-mapping>
| </service-endpoint-interface-mapping>
| </java-wsdl-mapping>
|
Thanks for your help
MartÃn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079585#4079585
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079585
17Â years, 2Â months
[JBoss Messaging] - Re: JMS Bridge Question
by mclu
Hi Tim!
I think I have the same issue.
I am using 2 instances of jboss 4.2.1GA with messaging 1.3
The source is a remote server (on my local machine).
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader" name="jboss.messaging:service=JMSProviderLoaderRemote,name=RemoteJMSProvider_A">
| <attribute name="ProviderName">RemoteJMSProvider_A</attribute>
| <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
| <!-- The combined connection factory -->
| <attribute name="FactoryRef">XAConnectionFactory</attribute>
| <!-- The queue connection factory -->
| <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
| <!-- The topic factory -->
| <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
| <attribute name="Properties">
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jnp.interfaces
| java.naming.provider.url=localhost:2099
| </attribute>
| </mbean>
|
As you can see I am not using "java:" but the error is the same.
My error only occurs if I am using "QOS_ONCE_AND_ONLY_ONCE". Settings to 1 works.
On the source I get:
| 14:04:59,328 ERROR [ExceptionUtil] ConnectionEndpoint[76] sendTransaction [a42z4q-jbavvr-f5z5x8i7-1-f5z7mkao-3l]
| javax.jms.JMSException: Failed to route Reference[8]:RELIABLE to incomingSyncRequests
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:694)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:786)
| at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:456)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:101)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
| at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N3268650789275322226.invokeNext(ConnectionAdvised$sendTransaction_N3268650789275322226.java)
| at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.sendTransaction(ConnectionAdvised.java)
| at org.jboss.jms.wireformat.ConnectionSendTransactionRequest.serverInvoke(ConnectionSendTransactionRequest.java:82)
| at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:141)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
| at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
| at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383)
| at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
|
On my destination (where bridging is installed) I get:
| 14:04:59,328 WARN [Bridge] Failed to send + acknowledge batch, closing JMS objects
| javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
| at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:253)
| at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1221)
| at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:59)
| at org.jboss.jms.server.bridge.Bridge$BatchTimeChecker.run(Bridge.java:1336)
| at java.lang.Thread.run(Thread.java:619)
| 14:04:59,359 ERROR [ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[77]: method getXAResource() did not go through, the interceptor is CLOSED
| 14:04:59,359 WARN [Bridge] Will retry after a pause of 50000 ms
|
Any Ideas?
If there is already a known problem... Is there a Jira Bug filed?
THX a lot!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079581#4079581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079581
17Â years, 2Â months
[Beginners Corner] - How can I Stop MDB via Programming ?
by shankha
I have deployed a MDB in the JBOSS.
I send a simple message to the JBOSS testQueue and the MDB reads that message.
Is there any way to stop the MDB to get the message from the testQueue ?
I already invoke the JMSContainerInvokerMBean for that MDB and also
invoke the stopDelivery();/stop(); method on it.
But it is not working.
when I send the message MDB is reading the message.
Please help me.
Code is listed below.
package com.test;
|
| import org.jboss.logging.Logger;
| import org.jboss.mx.util.MBeanServerLocator;
| import org.jboss.mx.util.MBeanProxy;
| import org.jboss.ejb.plugins.jms.JMSContainerInvokerMBean;
|
| import javax.ejb.SessionBean;
| import javax.ejb.CreateException;
| import javax.ejb.SessionContext;
| import javax.ejb.EJBException;
| import javax.management.MBeanServer;
| import javax.management.ObjectName;
| import javax.management.MalformedObjectNameException;
| import javax.management.MBeanInfo;
| import javax.naming.Context;
| import javax.naming.InitialContext;
| import javax.naming.NamingException;
|
| /**
| * Created by IntelliJ IDEA.
| * User: 151054
| * Date: Aug 30, 2007
| * Time: 2:29:30 PM
| * To change this template use File | Settings | File Templates.
| */
|
| public class MBeanTestBean implements SessionBean {
|
| //private static Logger log;
| private SessionContext mContext;
| private MBeanServer mbeanServer;
| private ObjectName mManagementService;
|
| private Context jndiCtx=null;
| private JMSContainerInvokerMBean invoker = null;
|
|
| public MBeanTestBean() {
| }
|
| public void ejbCreate() throws CreateException {
|
| if(mbeanServer == null)
| try {
| jndiCtx = new InitialContext();
| String serverName = (String)jndiCtx.lookup("java:comp/env/Server-Name");
| serverName = serverName.trim();
| if(serverName == null || serverName.length() == 0 || serverName.equals("null")) {
| try {
| mbeanServer = MBeanServerLocator.locateJBoss();
| System.out.println("@@@ --------- mbeanServer = "+mbeanServer.getDefaultDomain());
| System.out.println("@@@ --------- mbeanServer No of MBean = "+mbeanServer.getMBeanCount());
|
| }
| catch(IllegalStateException e) {
| throw new CreateException("No local JMX MBeanServer available");
| }
| } else {
| Object lServer = jndiCtx.lookup(serverName);
| if(lServer != null) {
| if(lServer instanceof MBeanServer)
| mbeanServer = (MBeanServer)lServer;
| else
| throw new CreateException("Server: " + lServer + " reference by Server-Name: " + serverName + " is not of type MBeanServer");
| } else {
| throw new CreateException("Server-Name " + serverName + " does not reference an Object in JNDI");
| }
| }
| }
| catch(NamingException ne) {
| throw new EJBException(ne);
| }
| }
|
| public void setSessionContext(SessionContext sessionContext) throws EJBException {
| }
|
| public void ejbRemove() throws EJBException {
| }
|
| public void ejbActivate() throws EJBException {
| }
|
| public void ejbPassivate() throws EJBException {
| }
|
| public void invokeMBeanFeatures(){
|
| try{
|
| //Object name = jndiCtx.lookup("MessageEJB");
|
| ObjectName objName = new ObjectName("jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiName=MessageEJB");
| //ObjectName objName = new ObjectName((String)name);
| MBeanInfo objMBeanInfo = mbeanServer.getMBeanInfo(objName);
| System.out.println("@@ -- MBeanTestBean :invokeMBeanFeatures : "+objMBeanInfo.getClassName());
|
| invoker = (JMSContainerInvokerMBean) MBeanProxy.get(JMSContainerInvokerMBean.class,objName,mbeanServer );
| //invoker.stopDelivery();
| invoker.stop();
|
| }catch(Exception ex){
|
| ex.printStackTrace();
| }
| }
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079580#4079580
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079580
17Â years, 2Â months