0 Replies Latest reply on Aug 6, 2002 12:58 PM by docouto

    starting jboss from ant

    docouto Newbie

      hi guys,

      I'm trying to start JBoss2.4.6 from ant using the java task and I'm getting a sealing violation security exception.

      The task is the following :












      and I get the following trace :

      [java] [INFO,Shutdown] Shutdown hook added
      [java] java.lang.SecurityException: sealing violation
      [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:229)
      [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
      [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
      [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
      [java] at java.lang.ClassLoader.defineClass0(Native Method)
      [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
      [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
      [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
      [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
      [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
      [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
      [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
      [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
      [java] at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:
      91)
      [java] at org.jboss.configuration.ConfigurationService.loadConfiguration(ConfigurationService.java:450)
      [java] at java.lang.reflect.Method.invoke(Native Method)
      [java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      [java] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      [java] at org.jboss.Main.(Main.java:200)
      [java] at org.jboss.Main$1.run(Main.java:110)
      [java] [INFO,STDERR] JBoss-2.4.6 Started in 0m:0s.771
      [java] at java.security.AccessController.doPrivileged(Native Method)
      [java] at org.jboss.Main.main(Main.java:106)
      [java] [INFO,STDERR] Shutting down
      [java] [INFO,ServiceControl] Stopping 0 MBeans
      [java] [INFO,ServiceControl] Stopped 0 services
      [java] [INFO,ServiceControl] Destroying 0 MBeans
      [java] [INFO,ServiceControl] Destroyed 0 services
      [java] [INFO,STDERR] Shutdown complete

      Do somebody have any clue ?

      thank's a lot for any help !