"Peter" wrote : Hello Guys
  | I have a problem with the JBoss startup. I wrote an application in Java to 
start the JBoss Server but it doesn't work. :-( (The server starts without 
problems if I execute the run.bat file.)
  | 
  | Thats my source:
  | 
  | Main jbossMain = new Main();
  |   | try {
  |   |   jbossMain.boot(new String[] {});
  |   | }catch (Exception e) {
  |   |   e.printStackTrace();
  |   | }
  | 
  | If I execute this I got the following error:
  | 
  | java.lang.SecurityException: class 
"org.jboss.system.server.NoAnnotationURLClassLoader"'s signer information does 
not match signer information of other classes in the same package
  |   |         at java.lang.ClassLoader.checkCerts(Unknown Source)
  |   |         at java.lang.ClassLoader.preDefineClass(Unknown Source)
  |   |         at java.lang.ClassLoader.defineClass(Unknown Source)
  |   |         at java.security.SecureClassLoader.defineClass(Unknown Source)
  |   |         at java.net.URLClassLoader.defineClass(Unknown Source)
  |   |         at java.net.URLClassLoader.access$000(Unknown Source)
  |   |         at java.net.URLClassLoader$1.run(Unknown Source)
  |   |         at java.security.AccessController.doPrivileged(Native Method)
  |   |         at java.net.URLClassLoader.findClass(Unknown Source)
  |   |         at java.lang.ClassLoader.loadClass(Unknown Source)
  |   |         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  |   |         at java.lang.ClassLoader.loadClass(Unknown Source)
  |   |         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  |   |         at org.jboss.Main.boot(Main.java:134)
  | 
  | Do you know what the solution for my problem is or do you know an other 
pattern to start the Server from a Java application? But I don't want to start 
it with 
  | Runtime.getRuntime().exec()
  | 
  | With kind regards
  | Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181825#4181825

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181825
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to