aspose file tools*
The moose likes JBoss/WildFly and the fly likes InvokeRemoteInterceptor is already installed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "InvokeRemoteInterceptor is already installed" Watch "InvokeRemoteInterceptor is already installed" New topic
Author

InvokeRemoteInterceptor is already installed

P Setty
Greenhorn

Joined: Jan 27, 2012
Posts: 2
Hi

I have a setup which worked well for more than one year now. JBoss 5.1 on Linux. I externally deploy my .ear on this(manual copy the ready ear from my development environment)

I recently changed the static ip and name of the server.
My run.conf was using the name of the server which I modified to new one.

I have a remote client and a remote simulator(both are java swing desktop applications).
Remote client uses JNP lookup and remote simulator uses UDP layer communication.
Now I am not able connect with my remote client, but my remote simulator doe get connect.
The client throws and connection refused exception on lookup

I give -b 0.0.0.0 option when I run the server.
My server does get start with new deploy but with the following error(Coping from boot log)

27.01.2012 12:06:32 INFO [org.jboss.web.WebService] (main) Using RMI server codebase: http://qaserver:8083/
27.01.2012 12:06:35 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) JBoss Web Services - Stack Native Core
27.01.2012 12:06:35 INFO [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) 3.1.2.GA
27.01.2012 12:06:36 INFO [org.jboss.dependency.plugins.AttributeCallbackItem] (main) Owner callback not implemented.
27.01.2012 12:06:36 INFO [org.jboss.logbridge.LogNotificationListener] (main) Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@12072edc[ defaultDomain='jboss' ]
27.01.2012 12:06:41 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to PostClassLoader: name=vfsfile:/usr/java/jboss-5.1.0.GA/server/default/deploy/xnio-provider.jar/ state=ClassLoader mode=Manual requiredState=PostClassLoader
org.jboss.deployers.spi.DeploymentException: org.jboss.deployers.spi.DeploymentException: Error deploying: Factory$org.jboss.aspects.remoting.InvokeRemoteInterceptor
at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer.deployBeans(AbstractAopMetaDataDeployer.java:296)
at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer.deploy(AbstractAopMetaDataDeployer.java:133)
at org.jboss.aop.asintegration.jboss5.AOPDeploymentAopMetaDataDeployer.deploy(AOPDeploymentAopMetaDataDeployer.java:46)
at org.jboss.aop.asintegration.jboss5.AOPDeploymentAopMetaDataDeployer.deploy(AOPDeploymentAopMetaDataDeployer.java:36)
at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.jboss.deployers.spi.DeploymentException: Error deploying: Factory$org.jboss.aspects.remoting.InvokeRemoteInterceptor
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer$MyBeanMetaDataDeployer.deploy(AbstractAopMetaDataDeployer.java:390)
at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer$MyBeanMetaDataDeployer.access$100(AbstractAopMetaDataDeployer.java:337)
at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer.deployBeans(AbstractAopMetaDataDeployer.java:270)
... 37 more
Caused by: java.lang.IllegalStateException: Factory$org.jboss.aspects.remoting.InvokeRemoteInterceptor is already installed.
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.aop.asintegration.jboss5.AbstractAopMetaDataDeployer$MyBeanMetaDataDeployer.deploy(AbstractAopMetaDataDeployer.java:386)
... 39 more
27.01.2012 12:06:48 INFO [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@915740059{vfsfile:/usr/java/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
27.01.2012 12:06:48 INFO [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@915740059{vfsfile:/usr/java/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}

I tried to empty the tmp file and restart the server but it did not work.
Any kind of help is highly appreciated.

Please feel free to ask if you need any other details.

Thanks and Regards,
PSetty




Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10263
    
168

Does the server start correctly without your application being deployed and without any of your other changes?

[My Blog] [JavaRanch Journal]
P Setty
Greenhorn

Joined: Jan 27, 2012
Posts: 2
Hi Jaikiran,

Thanks for replying back.

I did not try starting server without my application deployed.
Actually I could not resolve the problem, and since it was a bit urgent I reinstalled JBoss and the new install is working fine.


I think there was some file which was kind of locked or still in use because of improper shutdown or something of the server.
I have seen similar issue(not same) on Windows and I use unlocker utility to see which process has locked the file, and kill that process if possible.
I do not know similar utility in Linux.

If you can, please suggest your thoughts on possible reasons just to keep a look for later.

Thanks and Regards,
Prajakta
Victor Maehira
Ranch Hand

Joined: Mar 08, 2007
Posts: 33
I am getting the same Exception (java.lang.IllegalStateException: Factory$org.jboss.aspects.remoting.InvokeRemoteInterceptor is already installed.) while starting a jboss-eap-5.1 even without any application to be deployed. I' ve already tried to clean tmp, work and data directory instance. Anyone has a solution? Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: InvokeRemoteInterceptor is already installed