1 Reply Latest reply on Oct 15, 2008 5:16 PM by peterj

    Very New to Jboss

    beastyisnt

      Ok, HI, question.
      I have installed Fedora 9x on a laptop, unzipped jboss, and ran the ./run.sh script, everything works fine.

      Now on a shared environment, I telnet in and unzipped the JBoss files to the server, configured the tomcat server changing the server.xml to use the port I would like to use, and ran ./run.sh received an error


      01:37 PM comdevapp2[~/Jboss-4.23-as/bin/]% ./run.sh
      =========================================================================

      JBoss Bootstrap Environment

      JBOSS_HOME: /apps/gskdevqa4/Jboss-4.23-as

      JAVA: /apps/gskdevqa4/java/bin/java

      JAVA_OPTS: -Dprogram.name=run.sh -server -Xms256m -Xmx1024m -XX:MaxPermSize=128m -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Dcomergent.log.redirectSystemOut=true -Djava.net.preferIPv4Stack=true

      CLASSPATH: /apps/gskdevqa4/Jboss-4.23-as/bin/run.jar:/apps/gskdevqa4/java/lib/tools.jar

      =========================================================================

      13:37:35,447 INFO [Server] Starting JBoss (MX MicroKernel)...
      13:37:35,448 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
      13:37:35,449 INFO [Server] Home Dir: /apps/gskdevqa4/Jboss-4.23-as
      13:37:35,449 INFO [Server] Home URL: file:/apps/gskdevqa4/Jboss-4.23-as/
      13:37:35,450 INFO [Server] Patch URL: null
      13:37:35,451 INFO [Server] Server Name: default
      13:37:35,451 INFO [Server] Server Home Dir: /apps/gskdevqa4/Jboss-4.23-as/server/default
      13:37:35,451 INFO [Server] Server Home URL: file:/apps/gskdevqa4/Jboss-4.23-as/server/default/
      13:37:35,451 INFO [Server] Server Log Dir: /apps/gskdevqa4/Jboss-4.23-as/server/default/log
      13:37:35,451 INFO [Server] Server Temp Dir: /apps/gskdevqa4/Jboss-4.23-as/server/default/tmp
      13:37:35,452 INFO [Server] Root Deployment Filename: jboss-service.xml
      13:37:35,749 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
      13:37:35,749 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03,Sun Microsystems Inc.
      13:37:35,749 INFO [ServerInfo] OS-System: Linux 2.6.9-11.ELsmp,i386
      13:37:36,107 INFO [Server] Core system initialized
      13:37:37,761 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      13:37:37,763 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
      13:37:38,169 WARN [XMLLoginConfigImpl] End loadConfig, failed to load config: file:/apps/gskdevqa4/Jboss-4.23-as/server/default/conf/login-config.xml
      org.jboss.security.auth.login.ParseException: Encountered "<?xml" at line 1, column 1.
      Was expecting one of:

      ...


      Any Clues, I have checked the forum and saw some comments on this issue and I could not resolve it.

      The shared box, has appache tomcat 5.15 (disabled/not running), Java 1.5.0_11-b3 Mixed mode...

      Your thoughts? and Thanks In advance

      David

        • 1. Re: Very New to Jboss
          peterj

          Some possibilities.

          a) Somehow, the Unicode BOM (0xfffe or 0xfeff) is appearing at the start of the login-config.xml file and the xml parser is having problems with it. Perhaps removing that will fix the issue.

          b) The download is corrupted. Try downloading again, and verify the md5 or sha checksums. Make sure you get the download for JDK 5, not the one for JDK 6.

          c) Did you ftp the zip file to the remote server? Did you do that in binary mode? If not, the zip might have been corrupted during the transfer. This is not likely because of how far the startup got, but you never know...

          d) You might try using a more recent JDK, 1,5,0_11 is fairly old.