8 Replies Latest reply on Apr 26, 2010 5:05 AM by ataylor

    AS install script doesn't work from TRUNK

    timfox

      cd /src/config/jboss-as

       

      [tim@localhost jboss-as]$ ./build.sh as5
      ANT_HOME is ../../tools/ant
      Found javac
      chmod: cannot access `../../tools/ant/bin/ant': No such file or directory
      Using the following ant version from ../../tools/ant:
      ../../bin/build.sh: line 73: ../../tools/ant/bin/ant: No such file or directory
      ../../bin/build.sh: line 75: ../../tools/ant/bin/ant: No such file or directory

        • 1. Re: AS install script doesn't work from TRUNK
          ataylor

          I'll take a look now

          • 2. Re: AS install script doesn't work from TRUNK
            timfox

            And if I run it from the distro after setting JBOSS_HOME, with AS 5.1 it creates a broken install:

             

            09:46:38,783 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.0.BETA1-r2215 127.0.0.1:5445
            09:46:38,808 ERROR [AbstractKernelController] Error installing to Start: name=JMSServerManager state=Create
            org.jboss.netty.channel.ChannelException: Failed to bind to: /127.0.0.1:5445
                at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:306)
                at org.hornetq.core.remoting.impl.netty.NettyAcceptor.startServerChannels(NettyAcceptor.java:431)
                at org.hornetq.core.remoting.impl.netty.NettyAcceptor.start(NettyAcceptor.java:384)
                at org.hornetq.core.remoting.server.impl.RemotingServiceImpl.start(RemotingServiceImpl.java:224)
                at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:315)
                at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:233)
                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)
              

            • 3. Re: AS install script doesn't work from TRUNK
              ataylor

              actually i wasnt aware we used a build script for doing this as we  dont ship ant with the distro. I think the user manual specifies just to run ant.

              • 4. Re: AS install script doesn't work from TRUNK
                timfox

                The quickstart guide clearly says to run build.sh

                • 5. Re: AS install script doesn't work from TRUNK
                  ataylor

                  actually we do ship ant i was wrong. I will fix the script and check it creates a working AS config

                  • 6. Re: AS install script doesn't work from TRUNK
                    ataylor

                    The script worked fine for me. I do get the other issue thoo so i will fix that

                    • 7. Re: AS install script doesn't work from TRUNK
                      timfox

                      Which script worked fine for you?

                       

                      Running from TRUNK or from the distro?

                      • 8. Re: AS install script doesn't work from TRUNK
                        ataylor

                        The failure is because there is a netty-throughput connector configured with the same port. Do we want this connector for the AS?