10 Replies Latest reply on May 2, 2009 11:16 AM by Peter Johnson

    jboss on freebsd

    Dmitry Mesyachenko Newbie

      hi all,
      today i'm install jboss 5 from freebsd ports collection
      all seems like good
      but when i try to start server

       /usr/local/jboss5/bin/run.sh -p jprod -default 1>/usr/local/jboss5/log/stdout.log 2>/usr/local/jboss5/log/stderr.log &
      

      or like this
      /usr/local/etc/rc.d/jboss5 start
      

      i got that server started but in logfile i see

      =========================================================================
      
       JBoss Bootstrap Environment
      
       JBOSS_HOME: /usr/local/jboss5
      
       JAVA: java
      
       JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
      
       CLASSPATH: /usr/local/jboss5/bin/run.jar
      
      =========================================================================
      
      20:29:00,173 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      20:29:00,178 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200905011807)
      20:29:00,180 INFO [ServerImpl] Bootstrap URL: null
      20:29:00,181 INFO [ServerImpl] Home Dir: /usr/local/jboss5
      20:29:00,181 INFO [ServerImpl] Home URL: file:/usr/local/jboss5/
      20:29:00,182 INFO [ServerImpl] Library URL: file:/usr/local/jboss5/lib/
      20:29:00,185 INFO [ServerImpl] Patch URL: file:/usr/home/demon/jprod/
      20:29:00,186 INFO [ServerImpl] Common Base URL: file:/usr/local/jboss5/common/
      20:29:00,187 INFO [ServerImpl] Common Library URL: file:/usr/local/jboss5/common/lib/
      20:29:00,187 INFO [ServerImpl] Server Name: default
      20:29:00,188 INFO [ServerImpl] Server Base Dir: /usr/local/jboss5/server
      20:29:00,188 INFO [ServerImpl] Server Base URL: file:/usr/local/jboss5/server/
      20:29:00,189 INFO [ServerImpl] Server Config URL: file:/usr/local/jboss5/server/default/conf/
      20:29:00,189 INFO [ServerImpl] Server Home Dir: /usr/local/jboss5/server/default
      20:29:00,190 INFO [ServerImpl] Server Home URL: file:/usr/local/jboss5/server/default/
      20:29:00,190 INFO [ServerImpl] Server Data Dir: /usr/local/jboss5/server/default/data
      20:29:00,191 INFO [ServerImpl] Server Library URL: file:/usr/local/jboss5/server/default/lib/
      20:29:00,191 INFO [ServerImpl] Server Log Dir: /usr/local/jboss5/server/default/log
      20:29:00,192 INFO [ServerImpl] Server Native Dir: /usr/local/jboss5/server/default/tmp/native
      20:29:00,192 INFO [ServerImpl] Server Temp Dir: /usr/local/jboss5/server/default/tmp
      20:29:00,193 INFO [ServerImpl] Server Temp Deploy Dir: /usr/local/jboss5/server/default/tmp/deploy
      20:29:01,829 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/usr/local/jboss5/server/default/conf/bootstrap.xml
      20:29:02,659 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
      20:29:02,671 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
      20:29:02,804 ERROR [AbstractKernelController] Error installing to Start: name=JBossVFSInitializer state=Create
      java.io.FileNotFoundException: lib doesn't exist. (rootURI: file:/usr/local/jboss5/common/lib, file: /usr/local/jboss5/common/lib)
       at org.jboss.virtual.plugins.context.file.FileSystemContext.getRoot(FileSystemContext.java:213)
       at org.jboss.virtual.VFS.getRoot(VFS.java:259)
       at org.jboss.virtual.plugins.cache.PreInitializeVFSContexts.start(PreInitializeVFSContexts.java:66)
       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.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
       at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
       at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
       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.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.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
       at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
       at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
       at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
       at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:547)
       at java.lang.Thread.run(Thread.java:619)
      20:29:03,236 INFO [CopyMechanism] VFS temp dir: /usr/local/jboss5/server/default/tmp
      20:29:03,237 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      20:29:05,784 INFO [ServerInfo] Java version: 1.6.0_07,The FreeBSD Foundation
      20:29:05,785 INFO [ServerInfo] Java VM: Diablo Java HotSpot(TM) 64-Bit Server VM 10.0-b23,The FreeBSD Foundation
      20:29:05,785 INFO [ServerInfo] OS-System: FreeBSD 7.1-RELEASE-p4,amd64
      20:29:05,831 INFO [JMXKernel] Legacy JMX core initialized
      20:29:10,366 ERROR [AbstractKernelController] Error installing to Instantiated: name=bindings-classloader:0.0.0 state=Described
      java.lang.RuntimeException: Error creating VFS file for file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar
       at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determineVFSRoots(VFSClassLoaderPolicyModule.java:178)
       at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determinePolicy(VFSClassLoaderPolicyModule.java:210)
       at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determinePolicy(VFSClassLoaderPolicyModule.java:52)
       at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.getPolicy(ClassLoaderPolicyModule.java:149)
       at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getPolicy(VFSClassLoaderPolicyModule.java:204)
       at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getPolicy(VFSClassLoaderPolicyModule.java:52)
       at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.registerClassLoaderPolicy(ClassLoaderPolicyModule.java:88)
       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.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
       at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
       at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
       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.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.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309)
       at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
       at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
       at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
       at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
       at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:547)
       at java.lang.Thread.run(Thread.java:619)
      Caused by: java.io.FileNotFoundException: lib doesn't exist. (rootURI: file:/usr/local/jboss5/common/lib, file: /usr/local/jboss5/common/lib)
       at org.jboss.virtual.plugins.context.file.FileSystemContext.getRoot(FileSystemContext.java:213)
       at org.jboss.virtual.plugins.cache.AbstractVFSCache.getFile(AbstractVFSCache.java:71)
       at org.jboss.virtual.VFS.getCachedFile(VFS.java:164)
       at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getVirtualFile(VFSClassLoaderPolicyModule.java:196)
       at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determineVFSRoots(VFSClassLoaderPolicyModule.java:170)
       ... 41 more
      20:29:10,990 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@7a6dd8e1(root=/usr/local/jboss5/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      20:29:10,993 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@7a6dd8e1(root=/usr/local/jboss5/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      20:29:10,993 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@456c1227{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
      20:29:12,193 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
      20:29:12,201 INFO [ServerImpl] Shutdown complete
      Shutdown complete
      Halting VM
      



      What problem exist? What should i do to fix this?
      What not right?
      Maybe i forgot something?

        • 1. Re: jboss on freebsd
          Peter Johnson Master

          Looks like your tar utility did not unpack the empty server/default/lib directory. This could be the fault of the utility, or of the way you did the actual unpack. As a quick fix, simply create an empty server/default/lib directory.

          • 2. Re: jboss on freebsd
            Peter Johnson Master

            Wait, the error says that common/lib does not exist. Check if that directory is there - it should have 94 JAR files. If it is there, check the permissions - you must have write permissions to everything under JBOSS_HOME.

            • 3. Re: jboss on freebsd
              Dmitry Mesyachenko Newbie

              Ye, thx, i fix the problem with libs,
              i'm just create perm link to another folder

              ls -s /usr/local/jboss5/lib /usr/local/jboss5/common/lib
              

              but second error still exist


              stderr.log
              Failed to boot JBoss:
              java.lang.IllegalStateException: Incompletely deployed:
              
              *** DEPLOYMENTS IN ERROR: Name -> Error
              bindings-classloader:0.0.0 -> java.lang.RuntimeException: Error creating VFS file for file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar
              
              *** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
              PortsDefaultBindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
              SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Real}, bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#3 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              SystemPropertyBinder -> bindings-classloader:0.0.0{Installed:**ERROR**}, SystemPropertyBinder#1{Installed:Real}
              ServiceBindingManager -> bindings-classloader:0.0.0{Installed:**ERROR**}, ServiceBindingStore{Installed:Real}
              StandardBindings#14 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              JBossWebConnectorXSLTConfig -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#4 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#2 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#15 -> JBossWebConnectorXSLTConfig{Installed:Real}, bindings-classloader:0.0.0{Installed:**ERROR**}
              Ports02Bindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#20 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#11 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#9 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#5 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#7 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              Ports01Bindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
              Ports03Bindings -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#10 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings -> bindings-classloader:0.0.0{Installed:**ERROR**}, StandardBindings#1{Installed:Real}, StandardBindings#2{Installed:Real}, StandardBindings#3{Installed:Real}, StandardBindings#4{Installed:Real}, StandardBindings#5{Installed:Real}, StandardBindings#6{Installed:Real}, StandardBindings#7{Installed:Real}, StandardBindings#8{Installed:Real}, StandardBindings#9{Installed:Real}, StandardBindings#10{Installed:Real}, StandardBindings#11{Installed:Real}, StandardBindings#12{Installed:Real}, StandardBindings#13{Installed:Real}, StandardBindings#14{Installed:Real}, StandardBindings#15{Installed:Real}, StandardBindings#16{Installed:Real}, StandardBindings#17{Installed:Real}, StandardBindings#18{Installed:Real}, StandardBindings#19{Installed:Real}, StandardBindings#20{Installed:Real}
              StandardBindings#6 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#18 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#12 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#16 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#8 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#1 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#17 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              ServiceBindingStore -> bindings-classloader:0.0.0{Installed:**ERROR**}, PortsDefaultBindings{Installed:Real}, Ports01Bindings{Installed:Real}, Ports02Bindings{Installed:Real}, Ports03Bindings{Installed:Real}, StandardBindings{Installed:Real}
              StandardBindings#13 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              StandardBindings#19 -> bindings-classloader:0.0.0{Installed:**ERROR**}
              
               at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290)
               at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
               at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:148)
               at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
               at org.jboss.Main.boot(Main.java:209)
               at org.jboss.Main$1.run(Main.java:547)
              
              

              stdout.log
              ....
              21:39:48,503 ERROR [AbstractKernelController] Error installing to Instantiated: name=bindings-classloader:0.0.0 state=Described
              java.lang.RuntimeException: Error creating VFS file for file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar
              ....
              Caused by: java.io.FileNotFoundException: jboss-bindingservice.jar doesn't exist. (rootURI: file:/usr/local/jboss5/common/lib/jboss-bindingservice.jar, file: /usr/local/jboss5/common/lib/jboss-bindingservice.jar)
              


              • 4. Re: jboss on freebsd
                Dmitry Mesyachenko Newbie

                 

                "dimm" wrote:

                ls -s /usr/local/jboss5/lib /usr/local/jboss5/common/lib
                

                ln command i mean


                • 5. Re: jboss on freebsd
                  Dmitry Mesyachenko Newbie

                  And about this error , yes, i'm not see this file
                  jboss-bindingservice.jar

                  [root@QWERTY1 /home/demon]# ls -la /usr/local/jboss5/common/lib/
                  total 12506
                  drwxr-xr-x 3 www www 2048 May 1 19:01 .
                  drwxr-xr-x 8 www www 512 May 1 21:36 ..
                  -rwxr-xr-x 1 www www 255349 May 1 18:54 concurrent.jar
                  -rwxr-xr-x 1 www www 313898 May 1 18:54 dom4j.jar
                  drwxr-xr-x 2 www www 512 May 1 19:01 endorsed
                  -rwxr-xr-x 1 www www 15416 May 1 18:53 getopt.jar
                  -rwxr-xr-x 1 www www 597476 May 1 19:00 javassist.jar
                  -rwxr-xr-x 1 www www 856752 May 1 19:00 jaxb-impl.jar
                  -rwxr-xr-x 1 www www 3127729 May 1 19:00 jaxb-xjc.jar
                  -rwxr-xr-x 1 www www 38118 May 1 18:58 jboss-aop-asintegration-core.jar
                  -rwxr-xr-x 1 www www 38737 May 1 18:58 jboss-aop-asintegration-jmx.jar
                  -rwxr-xr-x 1 www www 40101 May 1 18:58 jboss-aop-asintegration-mc.jar
                  -rwxr-xr-x 1 www www 23250 May 1 18:58 jboss-aop-jboss5.jar
                  -rwxr-xr-x 1 www www 150611 May 1 19:00 jboss-aop-mc-int.jar
                  -rwxr-xr-x 1 www www 1314513 May 1 19:00 jboss-aop.jar
                  -rwxr-xr-x 1 www www 38342 May 1 18:53 jboss-bootstrap.jar
                  -rwxr-xr-x 1 www www 119256 May 1 19:00 jboss-classloader.jar
                  -rwxr-xr-x 1 www www 5213 May 1 19:00 jboss-classloading-spi.jar
                  -rwxr-xr-x 1 www www 26122 May 1 19:00 jboss-classloading-vfs.jar
                  -rwxr-xr-x 1 www www 75828 May 1 19:00 jboss-classloading.jar
                  -rwxr-xr-x 1 www www 452273 May 1 19:00 jboss-common-core.jar
                  -rwxr-xr-x 1 www www 89747 May 1 19:00 jboss-dependency.jar
                  -rwxr-xr-x 1 www www 13652 May 1 19:00 jboss-deployers-client-spi.jar
                  -rwxr-xr-x 1 www www 4112 May 1 19:00 jboss-deployers-client.jar
                  -rwxr-xr-x 1 www www 19548 May 1 19:00 jboss-deployers-core-spi.jar
                  -rwxr-xr-x 1 www www 14130 May 1 19:00 jboss-deployers-core.jar
                  -rwxr-xr-x 1 www www 81253 May 1 19:00 jboss-deployers-impl.jar
                  -rwxr-xr-x 1 www www 33036 May 1 19:00 jboss-deployers-spi.jar
                  -rwxr-xr-x 1 www www 49313 May 1 19:00 jboss-deployers-structure-spi.jar
                  -rwxr-xr-x 1 www www 67043 May 1 19:00 jboss-deployers-vfs-spi.jar
                  -rwxr-xr-x 1 www www 125311 May 1 19:00 jboss-deployers-vfs.jar
                  -rwxr-xr-x 1 www www 89749 May 1 18:54 jboss-j2se.jar
                  -rwxr-xr-x 1 www www 110217 May 1 18:54 jboss-jmx.jar
                  -rwxr-xr-x 1 www www 588414 May 1 19:00 jboss-kernel.jar
                  -rwxr-xr-x 1 www www 57257 May 1 19:00 jboss-logging-jdk.jar
                  -rwxr-xr-x 1 www www 24500 May 1 19:00 jboss-logging-log4j.jar
                  -rwxr-xr-x 1 www www 11924 May 1 19:00 jboss-logging-spi.jar
                  -rwxr-xr-x 1 www www 22802 May 1 18:53 jboss-main.jar
                  -rwxr-xr-x 1 www www 93087 May 1 19:00 jboss-managed.jar
                  -rwxr-xr-x 1 www www 201651 May 1 18:54 jboss-mbeans.jar
                  -rwxr-xr-x 1 www www 176032 May 1 19:00 jboss-mdr.jar
                  -rwxr-xr-x 1 www www 99046 May 1 19:00 jboss-metatype.jar
                  -rwxr-xr-x 1 www www 35760 May 1 19:00 jboss-profileservice-spi.jar
                  -rwxr-xr-x 1 www www 205134 May 1 19:00 jboss-reflect.jar
                  -rwxr-xr-x 1 www www 286225 May 1 18:55 jboss-system-jmx.jar
                  -rwxr-xr-x 1 www www 189372 May 1 18:54 jboss-system.jar
                  -rwxr-xr-x 1 www www 223179 May 1 19:00 jboss-vfs.jar
                  -rwxr-xr-x 1 www www 491783 May 1 19:00 jboss-xml-binding.jar
                  -rwxr-xr-x 1 www www 126192 May 1 18:53 log4j-boot.jar
                  -rwxr-xr-x 1 www www 444838 May 1 19:00 osgi.core.jar
                  -rwxr-xr-x 1 www www 361155 May 1 19:00 trove.jar
                  -rwxr-xr-x 1 www www 525813 May 1 19:00 wstx.jar
                  
                  


                  • 6. Re: jboss on freebsd
                    Peter Johnson Master

                    I notice that you have JBoss ASA in /usr/local. How did you install it? (You said "install jboss 5 from freebsd ports collection", does this mean you used the freebsd package manager to install it?) Does the file /usr/local/jboss5/common/lib/jboss-bindingservice.jar exist? Are you running as root?

                    I still suspect a permissions issue.

                    I recommend that you download the zip file from the JBoss AS download site, unzip it into a directory (mine is at /opt/jboss/jboss-5.0.1.GA) and run it from there.

                    • 7. Re: jboss on freebsd
                      Dmitry Mesyachenko Newbie

                       

                      "PeterJ" wrote:
                      I notice that you have JBoss ASA in /usr/local. How did you install it? (You said "install jboss 5 from freebsd ports collection", does this mean you used the freebsd package manager to install it?) Does the file /usr/local/jboss5/common/lib/jboss-bindingservice.jar exist? Are you running as root?

                      I still suspect a permissions issue.

                      I recommend that you download the zip file from the JBoss AS download site, unzip it into a directory (mine is at /opt/jboss/jboss-5.0.1.GA) and run it from there.

                      missing files issue,
                      yes, i try to download zip and unpack
                      but i just copied missing files, and start freeze at
                      21:57:49,068 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
                      21:58:31,925 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
                      21:58:31,926 INFO [NativeServerConfig] 3.0.4.SP1


                      • 8. Re: jboss on freebsd
                        Dmitry Mesyachenko Newbie

                        and i have one small problem more

                        21:57:41,939 ERROR [ServerInfo] Error looking up local hostname
                        java.net.UnknownHostException: QWERTY1: QWERTY1


                        i must keep hostname="QWERTY1" in my rc.conf, because internet provider dhcp working with it

                        my file /etc/hosts looks like

                        127.0.0.1 localhost locahost.localdomian
                        192.168.0.1 mypc

                        but he bind on 127.0.0.1, me need on external ip, how to fix it?

                        • 9. Re: jboss on freebsd
                          Dmitry Mesyachenko Newbie

                          i'm not clear errors ,but command like

                          /usr/local/jboss5/bin/run.sh -b 77.41.30.133 -default 1>/usr/local/jboss5/log/stdout.log 2>/usr/local/jboss5/log/stderr.log &


                          work, and i got AS binded on my external ip address
                          thx for help

                          • 10. Re: jboss on freebsd
                            Peter Johnson Master

                            I am confused. Are you saying that everything is now working? Or are there still problems?