Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11824

Remote AS7 cannot start - server-config set to null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 3.3.0.CR1
    • 3.3.0.Beta3
    • server
    • None
    • Hide

      Option 1: Open the server in server editor (i.e. double click on the server in server view) and, in the "Server Behaviour" section, under "RSE", where you can choose your configuration file, select the text box, type "a", delete the "a", and save the editor.

      Option 2: Open the server in server editor (i.e. double click on the server in server view), open launch configuration and change the start command to fix --server-config=null - either remove it or change it to something like --server-config=standalone.xml.

      Show
      Option 1: Open the server in server editor (i.e. double click on the server in server view) and, in the "Server Behaviour" section, under "RSE", where you can choose your configuration file, select the text box, type "a", delete the "a", and save the editor. Option 2: Open the server in server editor (i.e. double click on the server in server view), open launch configuration and change the start command to fix --server-config=null - either remove it or change it to something like --server-config=standalone.xml.

    Description

      When you set up a RSE server for AS7/AS7.1 runtime, it starts with --server-config=null which breaks the launch.
      This is seen in the boot.log of the remote server:

      10:01:22,567 INFO  [org.jboss.modules] JBoss Modules version 1.0.2.GA
      10:01:22,874 ERROR [stderr] java.lang.IllegalArgumentException: Neither /home/rasp/jbossqa/runtimes/jboss-as-7.0.2.Final/standalone/configuration/null nor /null exist
      10:01:22,875 ERROR [stderr] 	at org.jboss.as.controller.persistence.ConfigurationFile.determineMainFile(ConfigurationFile.java:145)
      10:01:22,875 ERROR [stderr] 	at org.jboss.as.controller.persistence.ConfigurationFile.<init>(ConfigurationFile.java:88)
      10:01:22,876 ERROR [stderr] 	at org.jboss.as.server.ServerEnvironment.<init>(ServerEnvironment.java:287)
      10:01:22,876 ERROR [stderr] 	at org.jboss.as.server.Main.determineEnvironment(Main.java:219)
      10:01:22,876 ERROR [stderr] 	at org.jboss.as.server.Main.main(Main.java:98)
      10:01:22,876 ERROR [stderr] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      10:01:22,877 ERROR [stderr] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      10:01:22,877 ERROR [stderr] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      10:01:22,877 ERROR [stderr] 	at java.lang.reflect.Method.invoke(Method.java:616)
      10:01:22,877 ERROR [stderr] 	at org.jboss.modules.Module.run(Module.java:272)
      10:01:22,878 ERROR [stderr] 	at org.jboss.modules.Main.main(Main.java:313)
      

      Attachments

        Issue Links

          Activity

            People

              rob.stryker Rob Stryker (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: