8 Replies Latest reply on Jul 31, 2013 2:16 PM by Allen Porter

    Deployment Error / Unable to load library

    Allen Porter Newbie

      Here are some lines from the console which concern me.

       

      These lines come up when I start the service:

      16:17:55,075 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments <SEE PREVIOUS ERRORS FOR DETAILS>

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

       

      This line recurs when loading pages:

      16:18:53,792 INFO [STDOUT] 07/19 16:18:55 Information [http-127.0.0.1-8080-1] - Unable to load library

       

      We're getting inconsistent behavior when using / in image tags, and we're having trouble with client variables in ColdFusion. They are not instantiating.

       

      But the worst problem is a "404 The requested resource is not available" error when we click a link to a page which actually exists on the server. Why would a page not be found, when it is obviously there?

       

      What's wrong?

        • 1. Re: Deployment Error / Unable to load library
          Wolf-Dieter Fink Master

          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.

          From what I see "Address already in use" mean you have  a instance already running or have other processed i.e. tomcat which use the same ports.

          Also it would be helpful to post which JBoss you use and what you mean by "/" in image tags.

          • 2. Re: Deployment Error / Unable to load library
            Allen Porter Newbie

            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.

            • 3. Re: Deployment Error / Unable to load library
              Wolf-Dieter Fink Master

              you should look why the port 4445 is used

              • 4. Re: Deployment Error / Unable to load library
                Allen Porter Newbie

                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?

                • 5. Re: Deployment Error / Unable to load library
                  Wolf-Dieter Fink Master

                  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.

                  • 6. Re: Deployment Error / Unable to load library
                    Allen Porter Newbie

                    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?

                    • 7. Re: Deployment Error / Unable to load library
                      Allen Porter Newbie

                      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?

                      • 8. Re: Deployment Error / Unable to load library
                        Allen Porter Newbie

                        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