8 Replies Latest reply on Oct 23, 2008 2:18 AM by monadear

    Problem creating service jboss.security:name=XMLLoginConfig

    monadear

      Hello,

      I am trying to to run my application using Java 5 and JBoss 4.2.1, but i am stuck in the middle. The error which i received is as follows:-

      2008-10-15 12:56:06,031 WARN | (org.jboss.system.ServiceController:337) - Problem creating service jboss.security:name=XMLLoginConfig
      java.lang.AbstractMethodError: org.jboss.security.auth.login.XMLLoginConfig.jbossInternalLifecycl
      (Ljava/lang/String;)V
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:330)
      at org.jboss.system.ServiceController.create(ServiceController.java:273)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.create(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:595)
      2008-10-15 12:56:06,078 INFO | (org.jboss.logging.Log4jService$URLWatchTimerTask:440) - Configur
      ng from URL: resource:log4j.xml
      log4j: Reading configuration from URL resource:log4j.xml
      log4j: Could not find root logger information. Is this OK?

      I am not able to find the cause of this error. May be deployment is not happening. But the code was properly working on Java 4 and JBoss 3.0.0. Now when i migrated it to newer version , here i get this error.
      Please help me

      Thanks in advance
      Monadear

        • 1. Re: Problem creating service jboss.security:name=XMLLoginCon
          erasmomarciano

          Do you have to configure your web-app with the security- constraint?

          • 2. Re: Problem creating service jboss.security:name=XMLLoginCon
            peterj

            I searched my copy of 4.2.1 for the mbean named jboss.security:name=XMLLoginConfig and could not find it, so I suspect that this is something that your application added. Please post the declaration of this mbean from your configuration file, and any relevant code that supports this mbean.

            Remember to enclose your XML text in UBBCode "code" tags - you can do this by selecting the XML text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting.

            Another possibility: what is your build script doing? Is to deploying things other than that application? Perhaps your build script thinks it is still deploying to 3.0.0 and making changes to the configuration files that are no longer valid in 4.2.1.

            • 3. Re: Problem creating service jboss.security:name=XMLLoginCon
              peterj

              Oops, I must have mistyped my search string, I found the XMLLoginConfig mbean, so there is no need to post information about it.

              At this point, my "Another possibility" appears to be the likely culprit.

              • 4. Re: Problem creating service jboss.security:name=XMLLoginCon
                monadear

                 

                "PeterJ" wrote:
                Oops, I must have mistyped my search string, I found the XMLLoginConfig mbean, so there is no need to post information about it.

                At this point, my "Another possibility" appears to be the likely culprit.


                Hi PeterJ,

                Thank you for your instant reply. But i could not understand the above thing u wrote "At this point, my "Another possibility" appears to be the likely culprit".

                Please tell me what could be the possible cause.
                If you have any clues please tell.

                Regards,
                Monadear

                • 5. Re: Problem creating service jboss.security:name=XMLLoginCon
                  jaikiran

                  Peter meant this:

                  "PeterJ" wrote:

                  Another possibility: what is your build script doing? Is to deploying things other than that application? Perhaps your build script thinks it is still deploying to 3.0.0 and making changes to the configuration files that are no longer valid in 4.2.1.




                  • 6. Re: Problem creating service jboss.security:name=XMLLoginCon
                    monadear

                    Thank you all.

                    Here is what my batch file is doing. This is apart of batch file.

                    rem JAVA 5 and jboss-4.2.1.GA USE
                    rem THESE FOLLOWING ESI JARS MUST BE SET THERE IN ORDER TO TAKE PRECEDENCE OVER JBOSS JMS JARS
                    rem ALL THE OTHER ESI JARS ARE AUTOMATICALLY COPIED INTO %JBOSS_HOME%/server/default/deploy/ena.sar after make_all_v5
                    set ESI_JAR=%ESI_HOME%\config
                    set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_Client.jar
                    set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_Crypto.jar
                    set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_XA.jar
                    set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\commons-logging-api-1.1.jar

                    set MAP_PATH=%MAP_HOME%\client\classes;%MAP_HOME%\util\lib\util.jar;%MAP_HOME%\aip\lib\aip.jar;%MAP_HOME%\arinc\lib\arinc.jar;%MAP_HOME%\client\lib\client.jar;
                    set JBOSS_CLASSPATH=%ENA_HOME%;%ESI_JAR%;%ENA_HOME%\conf;%MAP_PATH%

                    set JAVA_OPTS=-Xmx384M -DENA_SERVER=%ENA_SERVER% -Dlog4j.debug -Dlog4j.configuration=esi.log4j.properties -Dj2jcp=%MAP_HOME%\client\bin\classpath.txt -Dena.vpn.test.period=15
                    goto PRINT_INFO

                    Regards,
                    Monadear

                    • 7. Re: Problem creating service jboss.security:name=XMLLoginCon
                      peterj

                      I asked about the build script; what you posted is not the build script.

                      Also, you never said what this batch file extract is. Is it part of run.bat or something else?

                      Also, the batch file extract you posted shows several env vars being set, but not used so I have no idea of how this information is used.

                      Finally, I have not idea about the contents of the "sonic" JAR files and no clue as to whether they are even compatible with JBossAS 4.2.x.

                      Also, when posting source code, use the Code button to place code tags around the source, and use the Preview button to check the formatting before posting.

                      • 8. Re: Problem creating service jboss.security:name=XMLLoginCon
                        monadear

                         

                        "PeterJ" wrote:
                        I asked about the build script; what you posted is not the build script.


                        I am using a bulid.xml file which is used by one batch file ant.bat. This is what ant.bat does.

                        @echo off
                        Rem ENA
                        Rem ===========================
                        
                        @echo off
                        set ANT_XML=build.xml
                        
                        "%ANT_HOME%\bin\ant.bat" -buildfile %ANT_XML% %1


                        Also, you never said what this batch file extract is. Is it part of run.bat or something else?


                        This is the run.bat file.

                        @echo off
                        rem -------------------------------------------------------------------------
                        rem JBoss Bootstrap Script for Win32
                        rem -------------------------------------------------------------------------
                        
                        rem $Id: run.bat 63249 2007-05-30 13:20:25Z dimitris@jboss.org $
                        
                        @if not "%ECHO%" == "" echo %ECHO%
                        @if "%OS%" == "Windows_NT" setlocal
                        
                        set DIRNAME=.\
                        if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
                        set PROGNAME=run.bat
                        if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
                        
                        pushd %DIRNAME%..
                        set JBOSS_HOME=%CD%
                        popd
                        
                        REM Add bin/native to the PATH if present
                        if exist "%JBOSS_HOME%\bin\native" set PATH=%JBOSS_HOME%\bin\native;%PATH%
                        if exist "%JBOSS_HOME%\bin\native" set JAVA_OPTS=%JAVA_OPTS% -Djava.library.path="%PATH%"
                        
                        rem Read all command line arguments
                        
                        REM
                        REM The %ARGS% env variable commented out in favor of using %* to include
                        REM all args in java command line. See bug #840239. [jpl]
                        REM
                        REM set ARGS=
                        REM :loop
                        REM if [%1] == [] goto endloop
                        REM set ARGS=%ARGS% %1
                        REM shift
                        REM goto loop
                        REM :endloop
                        
                        rem Find run.jar, or we can't continue
                        
                        set RUNJAR=%JBOSS_HOME%\bin\run.jar
                        if exist "%RUNJAR%" goto FOUND_RUN_JAR
                        echo Could not locate %RUNJAR%. Please check that you are in the
                        echo bin directory when running this script.
                        goto END
                        
                        :FOUND_RUN_JAR
                        
                        if not "%JAVA_HOME%" == "" goto ADD_TOOLS
                        
                        set JAVA=java
                        
                        echo JAVA_HOME is not set. Unexpected results may occur.
                        echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
                        goto SKIP_TOOLS
                        
                        :ADD_TOOLS
                        
                        set JAVA=%JAVA_HOME%\bin\java
                        
                        rem A full JDK with toos.jar is not required anymore since jboss web packages
                        rem the eclipse jdt compiler and javassist has its own internal compiler.
                        if not exist "%JAVA_HOME%\lib\tools.jar" goto SKIP_TOOLS
                        
                        rem If exists, point to the JDK javac compiler in case the user wants to
                        rem later override the eclipse jdt compiler for compiling JSP pages.
                        set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar
                        
                        :SKIP_TOOLS
                        
                        rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include it, as this will
                        rem result in including the local directory in the classpath, which makes
                        rem error tracking harder.
                        if not "%JAVAC_JAR%" == "" set RUNJAR=%JAVAC_JAR%;%RUNJAR%
                        if "%JBOSS_CLASSPATH%" == "" set RUN_CLASSPATH=%RUNJAR%
                        if "%RUN_CLASSPATH%" == "" set RUN_CLASSPATH=%JBOSS_CLASSPATH%;%RUNJAR%
                        
                        set JBOSS_CLASSPATH=%RUN_CLASSPATH%
                        
                        rem Setup JBoss specific properties
                        set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%
                        
                        rem Add -server to the JVM options, if supported
                        "%JAVA%" -version 2>&1 | findstr /I hotspot > nul
                        if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
                        
                        rem JVM memory allocation pool parameters. Modify as appropriate.
                        set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
                        
                        rem With Sun JVMs reduce the RMI GCs to once per hour
                        set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
                        
                        rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
                        rem set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
                        
                        rem Setup the java endorsed dirs
                        set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
                        
                        echo ===============================================================================
                        echo.
                        echo JBoss Bootstrap Environment
                        echo.
                        echo JBOSS_HOME: %JBOSS_HOME%
                        echo.
                        echo JAVA: %JAVA%
                        echo.
                        echo JAVA_OPTS: %JAVA_OPTS%
                        echo.
                        echo CLASSPATH: %JBOSS_CLASSPATH%
                        echo.
                        echo ===============================================================================
                        echo.
                        
                        :RESTART
                        "%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
                        if ERRORLEVEL 10 goto RESTART
                        
                        :END
                        if "%NOPAUSE%" == "" pause
                        
                        :END_NO_PAUSE
                        


                        Finally, I have not idea about the contents of the "sonic" JAR files and no clue as to whether they are even compatible with JBossAS 4.2.x.


                        Sonic is for transferring messages. Right now for the compiling application with Jboss, it has no use.

                        This is finally start.batch file which i run and get the compilation errors as mentioned in the subject.

                        @echo off
                        rem -------------------------------------------------------------------------
                        rem JBoss Bootstrap Script for Win32
                        rem -------------------------------------------------------------------------
                        
                        rem $Id: start.bat,v 1.4 2002/03/05 03:00:30 user57 Exp $
                        
                        @if not "%ECHO%" == "" echo %ECHO%
                        @if "%OS%" == "Windows_NT" setlocal
                        
                        set DIRNAME=.\
                        if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
                        set PROGNAME=start.bat
                        if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
                        
                        rem Read all command line arguments
                        
                        set ARGS=
                        :loop
                        if [%1] == [] goto endloop
                         set ARGS=%ARGS% %1
                         shift
                         goto loop
                        :endloop
                        
                        rem Find run.jar, or we can't continue
                        
                        set RUNJAR=%JBOSS_HOME%\bin\run.jar
                        if exist "%RUNJAR%" goto FOUND_RUN_JAR
                        echo Could not locate %RUNJAR%. Please check that you are in the
                        echo bin directory when running this script.
                        goto END
                        
                        :FOUND_RUN_JAR
                        
                        if not "%JAVA_HOME%" == "" goto ADD_TOOLS
                        
                        set JAVA=java
                        
                        echo JAVA_HOME is not set. Unexpected results may occur.
                        echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
                        goto SKIP_TOOLS
                        
                        :ADD_TOOLS
                        
                        set JAVA=%JAVA_HOME%\bin\java
                        
                        if exist "%JAVA_HOME%\lib\tools.jar" goto SKIP_TOOLS
                        echo Could not locate %JAVA_HOME%\lib\tools.jar. Unexpected results may occur.
                        echo Make sure that JAVA_HOME points to a JDK and not a JRE.
                        
                        :SKIP_TOOLS
                        
                        if not "%ESI_HOME%" == "" goto SERVER_CHECK
                        
                        echo ESI_HOME is not set. Unexpected results may occur.
                        echo Set ESI_HOME to the directory of the local ESI to avoid this message.
                        goto END
                        
                        :SERVER_CHECK
                        
                        if not "%ENA_SERVER%" == "" goto MAPPING_TOOLS
                        
                        echo ENA_SERVER is not set. Unexpected results may occur.
                        echo Set ENA_SERVER to the jboss/server name
                        goto END
                        
                        :MAPPING_TOOLS
                        
                        if not "%MAP_HOME%" == "" goto SET_RELEASE
                        
                        echo MAP_HOME is not set. dummy mapping package will be used.
                        rem echo Set MAP_HOME to the directory of the local mapping tools to avoid this message.
                        set MAP_HOME=%JBOSS_HOME%\server\%ENA_SERVER%\lib
                        
                        :SET_RELEASE
                        
                        rem Include the JDK javac compiler for JSP pages. The default is for a Sun JDK
                        rem compatible distribution to which JAVA_HOME points
                        
                        set ENA_RELEASE=ENA V2.5
                        
                        if not "%USE_JAVA5%" == "true" goto USE_JAVA4
                        
                        :USE_JAVA5
                        rem ###############################################################################################
                        rem JAVA 5 and jboss-4.2.1.GA USE
                        rem THESE FOLLOWING ESI JARS MUST BE SET THERE IN ORDER TO TAKE PRECEDENCE OVER JBOSS JMS JARS
                        rem ALL THE OTHER ESI JARS ARE AUTOMATICALLY COPIED INTO %JBOSS_HOME%/server/default/deploy/ena.sar after make_all_v5
                        set ESI_JAR=%ESI_HOME%\config
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_Client.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_Crypto.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_XA.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\commons-logging-api-1.1.jar
                        
                        set MAP_PATH=%MAP_HOME%\client\classes;%MAP_HOME%\util\lib\util.jar;%MAP_HOME%\aip\lib\aip.jar;%MAP_HOME%\arinc\lib\arinc.jar;%MAP_HOME%\client\lib\client.jar;
                        set JBOSS_CLASSPATH=%ENA_HOME%;%ESI_JAR%;%ENA_HOME%\conf;%MAP_PATH%
                        
                        set JAVA_OPTS=-Xmx384M -DENA_SERVER=%ENA_SERVER% -Dlog4j.debug -Dlog4j.configuration=esi.log4j.properties -Dj2jcp=%MAP_HOME%\client\bin\classpath.txt -Dena.vpn.test.period=15
                        goto PRINT_INFO
                        rem ###############################################################################################
                        
                        :USE_JAVA4
                        rem ###############################################################################################
                        rem JDK 1.4 and jboss-3.0 USE
                        echo JAVA4
                        set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar;C:\ENA\jboss\server\%ENA_SERVER%\lib\log4j.jar
                        set ESI_JAR=%JBOSS_HOME%\server\%ENA_SERVER%\lib\log4j.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\esi_clientapi.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\cryptix32.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\domsdk.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\fscontext.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\minml.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib/providerutil.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_Client.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_Crypto.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\sonic_XA.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\xalan.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\xerces.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\xmlParserAPIs.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\xmlrpc.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\starter-impl-1.0.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\ESI_DISTRIB_ClientAPI\lib\starter-interfaces-1.0.jar
                        set ESI_JAR=%ESI_JAR%;%ESI_HOME%\config
                        
                        set MAP_PATH=%MAP_HOME%\client\classes;%MAP_HOME%\util\lib\util.jar
                        
                        set JBOSS_CLASSPATH=%JAVAC_JAR%;%RUNJAR%;%ESI_JAR%;%MAP_PATH%;%ENA_HOME%
                        
                        rem Setup JBoss sepecific properties
                        set JAVA_OPTS=%JAVA_OPTS% -Xmx384M -Dprogram.name=%PROGNAME% -Djboss.server.name=%ENA_SERVER% -Dlog4j.debug -Dlog4j.configuration=esi.log4j.properties -Dj2jcp=%MAP_HOME%\client\bin\classpath.txt
                        
                        rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
                        rem set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%
                        rem ###############################################################################################
                        
                        :PRINT_INFO
                        echo ===============================================================================
                        echo .
                        echo ENA_RELEASE: %ENA_RELEASE%
                        echo .
                        echo JBoss Bootstrap Environment
                        echo .
                        echo JBOSS_HOME: %JBOSS_HOME%
                        echo .
                        echo JAVA: %JAVA%
                        echo .
                        echo JAVA_OPTS: %JAVA_OPTS%
                        echo .
                        echo ESI_HOME: %ESI_HOME%
                        echo .
                        echo MAP_HOME: %MAP_HOME%
                        echo .
                        echo CLASSPATH: %JBOSS_CLASSPATH%
                        echo .
                        echo Server: %ENA_SERVER%
                        echo .
                        echo ARGS: %ARGS%
                        echo .
                        echo ===============================================================================
                        echo .
                        
                        cd /d %ENA_HOME%
                        
                        if not "%USE_JAVA5%" == "true" goto START_WITH_JAVA4
                        
                        :START_WITH_JAVA5
                        call "%JBOSS_HOME%\bin\run.bat" -b 0.0.0.0
                        goto END
                        
                        :START_WITH_JAVA4
                        "%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %ARGS%
                        
                        :END
                        if "%NOPAUSE%" == "" pause
                        
                        :END_NO_PAUSE
                        


                        The error is generated when i run the start.bat file.
                        If there is anything else required, then plz let me know.

                        Regards,
                        Monadear