Discussion:
[jboss-user] [Beginner's Corner] - Re: Deployment Error / Unable to load library
Wolf-Dieter Fink
2013-07-20 09:24:13 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/828933#828933

--------------------------------------------------------------
You should add more informations, i.e. the ERROR say <see previous errors...> so you have to look at the first errors in the logfile.
Allen Porter
2013-07-22 12:36:14 UTC
Permalink
Allen Porter [https://community.jboss.org/people/metaphiz] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/829090#829090

--------------------------------------------------------------
Thanks for your help. Here's the first error:

08:20:24,701 ERROR [AbstractKernelController] Error installing to Start: name=jboss:service=invoker,type=pooled state=Create mode=Manual requiredState=Installed
java.lang.Exception: Port 4445 is already in use
        at org.jboss.invocation.pooled.server.PooledInvoker.startService(PooledInvoker.java:230)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
        at sun.reflect.GeneratedMethodAccessor107.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:157)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
        at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
        at com.sun.proxy.$Proxy36.start(Unknown Source)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
        at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
        at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
        at org.jboss.system.ServiceController.doInstall(ServiceController.java:670)
        at org.jboss.system.ServiceController.register(ServiceController.java:373)
        at org.jboss.system.microcontainer.jmx.ServiceControllerRegistrationLifecycleCallback.install(ServiceControllerRegistrationLifecycleCallback.java:104)
        at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
        at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
        at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)
        at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)
        at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
        at org.jboss.system.ServiceController.doInstall(ServiceController.java:670)
        at org.jboss.system.ServiceController.register(ServiceController.java:373)
        at org.jboss.system.microcontainer.jmx.ServiceControllerRegistrationLifecycleCallback.install(ServiceControllerRegistrationLifecycleCallback.java:104)
        at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
        at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
        at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)
        at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)
        at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
        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.ServiceController.doChange(ServiceController.java:688)
        at org.jboss.system.ServiceController.start(ServiceController.java:460)
        at org.jboss.system.microcontainer.jmx.ServiceControllerStartStopLifecycleCallback.install(ServiceControllerStartStopLifecycleCallback.java:44)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
        at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
        at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:286)
        at org.jboss.dependency.plugins.AbstractLifecycleCallbackItem.install(AbstractLifecycleCallbackItem.java:87)
        at org.jboss.dependency.plugins.AbstractController.handleLifecycleCallbacks(AbstractController.java:1535)
        at org.jboss.dependency.plugins.AbstractController.handleInstallLifecycleCallbacks(AbstractController.java:1500)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:943)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
        at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
        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:1178)
        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:1598)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
        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:698)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
        at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
        at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
        at org.jboss.Main.boot(Main.java:209)
        at org.jboss.Main$1.run(Main.java:547)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
        at java.net.ServerSocket.bind(ServerSocket.java:328)
        at java.net.ServerSocket.<init>(ServerSocket.java:194)
        at org.jboss.net.sockets.DefaultSocketFactory.createServerSocket(DefaultSocketFactory.java:124)
        at org.jboss.invocation.pooled.server.PooledInvoker.startService(PooledInvoker.java:224)
        ... 107 more

We're using JBoss v5.0.1.GA.

Wolf-Dieter Fink: "Also it would be helpful to post which JBoss you use and what you mean by "/" in image tags."
What I mean is images that have a root URL, like <img src="/images/thisimage.gif">
If I make the image a relative URL, it works. I ran a search for the application Tomcat on my computer and did not find it.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/829090#829090]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Wolf-Dieter Fink
2013-07-22 18:50:20 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/829164#829164

--------------------------------------------------------------
you should look why the port 4445 is used
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/829164#829164]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Allen Porter
2013-07-30 20:50:12 UTC
Permalink
Allen Porter [https://community.jboss.org/people/metaphiz] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/830592#830592

--------------------------------------------------------------
How do I check to see why port 4445 is used? Now I'm getting this 500 error:

javax.servlet.ServletException: ROOT CAUSE:
coldfusion.filter.FormScope$PostParametersLimitExceededException: POST parameters exceeds the maximum limit specified in the server.\

Do you think it's related?

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/830592#830592]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Wolf-Dieter Fink
2013-07-31 08:18:04 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/830659#830659

--------------------------------------------------------------
You can use +netstat+ (Unix) for example.
Is the port binding error gone?
You should look for the first ERROR in your log, following errors might depend on that.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/830659#830659]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Allen Porter
2013-07-31 17:17:40 UTC
Permalink
Allen Porter [https://community.jboss.org/people/metaphiz] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/830769#830769

--------------------------------------------------------------
There's a deploy error in the console when I start JBoss (see above). When I'm testing pages, I get the 'POST parameters exceeds...' error above. I'm not sure if the two are related. Do you know? Also, why does JBoss need port 4445 open? Does it reach out to remote resources to deploy? Or is it talking about the local port on my computer?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/830769#830769]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Allen Porter
2013-07-31 17:45:54 UTC
Permalink
Allen Porter [https://community.jboss.org/people/metaphiz] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/830775#830775

--------------------------------------------------------------
I was able to Telnet to 127.0.0.1 4445 successfully. This must mean that the port is open, right? Why else would the deploy error occur?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/830775#830775]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Allen Porter
2013-07-31 18:17:00 UTC
Permalink
Allen Porter [https://community.jboss.org/people/metaphiz] created the discussion

"Re: Deployment Error / Unable to load library"

To view the discussion, visit: https://community.jboss.org/message/830778#830778

--------------------------------------------------------------
DEPLOYMENTS IN ERROR: Deployment "jboss:service=invoker, type=pooled" is in error due to the following reason(s): java.net.BindException: Address already in use: JVM_Bind

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/830778#830778]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Loading...