Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-243

Server.start() after Server.shutdown()

    XMLWordPrintable

Details

    Description

      SourceForge Submitter: sven_luzar .
      I want to start and stop the JBoss server with my own
      Main Class (without exiting the VM). Therefore I use
      direct the ServerImpl class.

      But I can't restart the server after shutdown. The error
      message is:

      java.lang.Error: factory already defined
      at java.net.URL.setURLStreamHandlerFactory
      (URL.java:1027)
      at org.jboss.system.server.ServerImpl.doInit
      (ServerImpl.java:150)
      at org.jboss.system.server.ServerImpl.init
      (ServerImpl.java:117)

      I think the problem can be solved by creating a try catch
      block for the setURLStreamHanderFactory method in
      the class ServerImpl at line 150.

      For tests you can use the attachment.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: