2 Replies Latest reply on Feb 13, 2009 11:18 AM by Peter Johnson

    Jboss5 vs jboss4 application error

    Erroll Nortje Newbie

      Hi again all.

      We have an app that ran wel on jboss4, but we get an error when trying to run it on jboss5.

      when we try to load the app, we get:
      "Invalid server address supplied or Server is unavailable"

      We have checked all the xml's / html's for the correct ip address.

      The server.log file shows the following Error:

      -------------------------------------------------------------------------------------

      515 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS IN ERROR: Name -> Error

      vfsfile:/C:/jboss5/server/default/deploy/ReportsWeb.war/ -> org.jboss.deployers.spi.DeploymentException: URL vfsfile:/C:/jboss5/server/default/deploy/ReportsWeb.war/ deployment failed

      vfszip:/C:/jboss5/server/default/deploy/crystaljsp.war -> org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss5/server/default/tmp/deploy/crystaljsp30925-exp.war/ deployment failed

      vfsfile:/C:/jboss5/server/default/deploy/management/console-mgr.sar/ -> java.lang.NoSuchMethodError: org.jboss.system.server.ServerConfigLocator.locate()Lorg/jboss/system/server/ServerConfig;

      -------------------------------------------------------------------------------------

      Any idea what we're doing wrong?

      Thanks for all your help.

      Falgn0n

        • 1. Re: Jboss5 vs jboss4 application error
          Wolfgang Knauf Master

          The last of your messages is strange:

          vfsfile:/C:/jboss5/server/default/deploy/management/console-mgr.sar/ -> java.lang.NoSuchMethodError: org.jboss.system.server.ServerConfigLocator.locate()Lorg/jboss/system/server/ServerConfig;

          Seems a JBoss integrated app does not work. Do your own apps (ReportsWeb.war, crystaljsp.war) contain JBoss system classes from 4.2? Is your JBoss installation a plain new version, or did you add e.g. JARs to /common/lib or other directories?

          Best regards

          Wolfgang


          • 2. Re: Jboss5 vs jboss4 application error
            Peter Johnson Master

            Also, did your see this part of what you posted: "(SEE PREVIOUS ERRORS FOR DETAILS)"? There should be stack traces earlier in the console log that detail what the causes for the error are - what you posted was just a report that said things failed. (You might need to increase the console buffer size to prevent the exception stack traces from overflowing the buffer - I set mine at 9000 lines).