1 Reply Latest reply on Jan 10, 2012 1:27 AM by jaikiran

    ERROR [stderr] java.lang.IllegalArgumentException: Neither /usr/local/jboss-as-web-7.0.2.Final/standalone/configuration/standalone-preview.xml nor /usr/local/jboss-as-web-7.0.2.Final/bin/standalone-preview.xml exist?????

    acruz

      Hi friends I'm trying out the jboss and I have a Problem when I started my jboss ...

       

      When I started whith this comand line to test my installation:

       

      ./standalone.sh --server-config=standalone-preview.xml

       

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

       

       

        JBoss Bootstrap Environment

       

       

        JBOSS_HOME: /usr/local/jboss-as-web-7.0.2.Final

       

       

        JAVA: java

       

       

        JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true

       

       

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

       

       

      12:19:08,010 INFO  [org.jboss.modules] JBoss Modules version 1.0.2.GA

      12:19:08,883 ERROR [stderr] java.lang.IllegalArgumentException: Neither /usr/local/jboss-as-web-7.0.2.Final/standalone/configuration/standalone-preview.xml nor /usr/local/jboss-as-web-7.0.2.Final/bin/standalone-preview.xml exist

      12:19:08,883 ERROR [stderr]           at org.jboss.as.controller.persistence.ConfigurationFile.determineMainFile(ConfigurationFile.java:145)

      12:19:08,883 ERROR [stderr]           at org.jboss.as.controller.persistence.ConfigurationFile.<init>(ConfigurationFile.java:88)

      12:19:08,883 ERROR [stderr]           at org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:287)

      12:19:08,883 ERROR [stderr]           at org.jboss.as.server.Main.determineEnvironment(Main.java:219)

      12:19:08,883 ERROR [stderr]           at org.jboss.as.server.Main.main(Main.java:98)

      12:19:08,883 ERROR [stderr]           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      12:19:08,883 ERROR [stderr]           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      12:19:08,889 ERROR [stderr]           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      12:19:08,889 ERROR [stderr]           at java.lang.reflect.Method.invoke(Method.java:616)

      12:19:08,890 ERROR [stderr]           at org.jboss.modules.Module.run(Module.java:272)

      12:19:08,891 ERROR [stderr]           at org.jboss.modules.Main.main(Main.java:313)

       

       

      I get this error .. Can you help me with this please?? I don't understad what is the error with It , And how to solved It

      Thank You .