0 Replies Latest reply on Mar 24, 2003 9:06 AM by Andrea Giovannini

    java.lang.SecurityException: Prohibited package name: java.s

    Andrea Giovannini Newbie

      Hi,
      I've installed JBoss 3.0.3 on a AS/400, it starts without problems but when I try to execute JDBC statements I get the following exception:

      2003-03-24 14:50:30,706 ERROR [STDERR] java.lang.SecurityException: Prohibited package name: java.sql
      2003-03-24 14:50:30,718 ERROR [STDERR] java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:90)
      2003-03-24 14:50:30,719 ERROR [STDERR] java/lang/Exception.(Ljava/lang/String;)V+1 (Exception.java:38)
      2003-03-24 14:50:30,719 ERROR [STDERR] java/lang/RuntimeException.(Ljava/lang/String;)V+1 (RuntimeException.java:43)
      2003-03-24 14:50:30,720 ERROR [STDERR] java/lang/SecurityException.(Ljava/lang/String;)V+1 (SecurityException.java:35)
      2003-03-24 14:50:30,720 ERROR [STDERR] java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+50 (ClassLoader.java:483)
      2003-03-24 14:50:30,720 ERROR [STDERR] java/net/URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+196 (URLClassLoader.java:287)
      2003-03-24 14:50:30,721 ERROR [STDERR] java/net/URLClassLoader.access$300(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+1 (URLClassLoader.java:64)
      2003-03-24 14:50:30,721 ERROR [STDERR] java/net/URLClassLoader$ClassFinder.run()Ljava/lang/Object;+42 (URLClassLoader.java:594)
      2003-03-24 14:50:30,722 ERROR [STDERR] java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+16 (URLClassLoader.java:200)
      2003-03-24 14:50:30,722 ERROR [STDERR]
      .....

      Any idea??
      Thanks in advance,
      Andrea