3 Replies Latest reply on Apr 30, 2010 10:33 AM by jaikiran pai

    Do we need resolver.jar (xml-resolver.jar) in boot classpath?

    jaikiran pai Master

      I see that a recent change in build.xml of AS has resulted in this WARN message being logged during AS trunk (M3) startup:

      [jpai@jaikiran bin]$ ./run.sh -b 0.0.0.0
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /home/me/jbossas/trunk/build/target/jboss-6.0.0-SNAPSHOT
      
        JAVA: /opt/Java/SunJava-6/jdk1.6.0_16//bin/java
      
        JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Djava.library.path=/home/me/jbossas/trunk/build/target/jboss-6.0.0-SNAPSHOT/bin/native/lib
      
        CLASSPATH: /home/me/jbossas/trunk/build/target/jboss-6.0.0-SNAPSHOT/bin/run.jar:/opt/Java/SunJava-6/jdk1.6.0_16//lib/tools.jar
      
      =========================================================================
      
      WARNING: Could not find expected boot lib /home/me/jbossas/trunk/build/target/jboss-6.0.0-SNAPSHOT/lib/resolver.jar
      ...
      

       

      org.jboss.Main http://anonsvn.jboss.org/repos/jbossas/trunk/main/src/main/java/org/jboss/Main.java adds resolver.jar to the boot classpath. However this jar is now renamed to xml-resolver.jar in JBOSS_HOME/lib folder.

       

      So, do we want to remove that jar from the boot classpath or do we want to change its reference in Main.java?