[Clustering/JBoss] - Re: Custom InvokerInterceptor
by bdinnerv
Hi All,
Further to my last post, can anyone provide some insight into which parameters need to be changed when utilising a custom InvokerInterceptor?
The easy way would be to take the shotgun approach and replace all references to org.jboss.invocation.InvocationInterceptor in standardjboss.xml but I am guessing that this is a bit over the top and that only certain references to it need to be changed to get SLSB clustering to work.
Looking at the config, I would guess that only the clustered-entity-unified-invoker section in the config needs to be changed, but I am not 100% sure as there are quite a few other references to InvokerInterceptor throughout the file.
Any input from people who have done this config would be appreciated.
Cheers,
Ben
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176961#4176961
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176961
17 years, 10 months
[Beginners Corner] - Re: Varia Scheduler cannot find class at startup
by lpmon
Forgot to give version:
JBoss AS 4.0.5GA
and error:
--- MBeans waiting for other MBeans ---
ObjectName: RDPExtract:service=Scheduler
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@15330ea on mbean RDPExtract:service=Scheduler; - nested throwable: (java.security.InvalidParameterException: Given class com.shockwatch.swevents.rdp.extract.RDPAutoExtract is not not found)
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: RDPExtract:service=Scheduler
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@15330ea on mbean RDPExtract:service=Scheduler; - nested throwable: (java.security.InvalidParameterException: Given class com.shockwatch.swevents.rdp.extract.RDPAutoExtract is not not found)
2008-09-16 19:06:37,284 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: RDPExtract:service=Scheduler
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@7ae145 on mbean RDPExtract:service=Scheduler; - nested throwable: (java.security.InvalidParameterException: Given class com.shockwatch.swevents.rdp.extract.RDPAutoExtract is not not found)
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: RDPExtract:service=Scheduler
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@7ae145 on mbean RDPExtract:service=Scheduler; - nested throwable: (java.security.InvalidParameterException: Given class com.shockwatch.swevents.rdp.extract.RDPAutoExtract is not not found)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176959#4176959
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176959
17 years, 10 months
[Beginners Corner] - Varia Scheduler cannot find class at startup
by lpmon
I have seen this before and created a work-around. I have since changed my deployment layout (due to EJB3/Seam) and now my work-around does not work.
in schedule-service.xml:
true
com.shockwatch.swevents.rdp.extract.RDPAutoExtract
09/16/2008 6:38
120000
-1
The SchedulableClass is inside a jar that is inside an ear. How do I tell where to find the class?
Here is my kludge that used to work. It touches the xml config file which causes JBoss to reload it (after the ear loaded and class is available).
/**
* KLUDGE: could not get dependency to work for scheduler service, cause it to reload config
*/
private void touchScheduler()
{
try
{
Class.forName("com.shockwatch.swevents.rdp.extract.RDPAutoExtract");
String fileSep=System.getProperty("file.separator");
String deployDir=System.getProperty("jboss.server.home.dir") + fileSep + "deploy" + fileSep;
File f = new File(deployDir + "scheduler-service.xml");
f.setLastModified(System.currentTimeMillis());
}
catch (Exception ex)
{
ex.printStackTrace(System.err);
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176957#4176957
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176957
17 years, 10 months
[Beginners Corner] - Trying to install an already registered mbean: jboss.jca:ser
by MikePhoenix
Ok, I tried to search for the above error and the search engine for this site just returned a ton of stuff that mostly seemed irrelevant. The anwer may have been somwhere in the thousands of links returned, but I couldn't find it.
I am trying to bui9ld a nd deploy an application that is currently running on a 4.0.1 server on a new 4.2.3 server. I have set up the connection to my MySQL database and tested it as described in the getting started documentation. When I try to build and deploy it onto the 4.2.3 server I get the following error messages:
16:17:34,844 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
16:17:34,923 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.2.3.GA/server/default/deploy/mysql-ds.xml
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=DefaultDS
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
at org.jboss.system.ServiceController.install(ServiceController.java:226)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
Some help would be greatly appreciated.
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176956#4176956
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176956
17 years, 10 months