[ http://jira.jboss.com/jira/browse/JBAS-243?page=history ] Scott M Stark closed JBAS-243: ------------------------------
Resolution: Done Fix Version: JBossAS-4.0.0 Final JBossAS-3.2.5 Final > Server.start() after Server.shutdown() > -------------------------------------- > > Key: JBAS-243 > URL: http://jira.jboss.com/jira/browse/JBAS-243 > Project: JBoss Application Server > Type: Bug > Versions: JBossAS-3.2.6 Final > Reporter: SourceForge User > Assignee: Scott M Stark > Fix For: JBossAS-4.0.0 Final, JBossAS-3.2.5 Final > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development