2 Replies Latest reply on Jul 11, 2014 8:34 AM by venugopalan

    Upgrading from Jboss 4.2 to Jboss 5

    venugopalan

      Hi all

       

      I am new to jboss, we are trying to upgrade Jboss from 4.2 to jboss 5. Since I am new to Jboss, I Just copied ear and war from old version to new version.

      We have some error message which we fixed.

       

      In old version we are using openldap and the ldap details is provided during startup in run.conf as mentioned below.

      if [ "x$JAVA_OPTS" = "x" ]; then

      JAVA_OPTS="-Xmx512m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true

      -DInitialization=/prd/jboss/S05_SEC_AppConfig.xml"

      fi

       

      We did the same in new version (i.e. Jboss 5), ldap details is not getting picked. Not sure whether I am doing the correct changes.

       

      Please help …..

        • 1. Re: Upgrading from Jboss 4.2 to Jboss 5
          wdfink

          Did you see in the logfiles that the options are passed to the JVM correct?

          • 2. Re: Upgrading from Jboss 4.2 to Jboss 5
            venugopalan

            Yes, the options are passed correct. The JBOSS services startup, we are able to view the login page wherein validation also works. But the login authentication fails stating " No server available to authenticate"

             

            In server.log we do not find any error.

             

            But while checking server.log we find application .EAR file is not getting deployed.
                 .EAR is in path /server/default/deploy/  [Also /META-INF/application.xml refers to the .war and .jar files]
                      .WAR and .JAR are inside path /server/default/deploy/S05_SEC_APP.ear/