0 Replies Latest reply on Jul 28, 2004 5:32 PM by 423729

    OC4J Version

    423729
      Hi,

      I want to use JAAS in my application. I know that there is the jazn tool embedded in the last version of OC4J which is full compliant with java 1.4. Although, when I try to execute the command java -jar jazn.jar -shell using the java 1.4 I get the following exception, but when I execute using java 1.3 I don't have the problem. Do you know if there is a version of the jazn tool that works with java 1.4 and where?


      Exception in thread "main" java.lang.SecurityException: No se puede localizar un
      a configuraci¾n de inicio de sesi¾n
      at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
      orAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
      onstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
      at java.lang.Class.newInstance0(Class.java:308)
      at java.lang.Class.newInstance(Class.java:261)
      at javax.security.auth.login.Configuration$3.run(Configuration.java:221)

      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.Configuration.getConfiguration(Configuratio
      n.java:215)
      at javax.security.auth.login.LoginContext$1.run(LoginContext.java:170)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.init(LoginContext.java:167)
      at javax.security.auth.login.LoginContext.<init>(LoginContext.java:404)
      at oracle.security.jazn.tools.Admintool.login(Unknown Source)
      at oracle.security.jazn.tools.Admintool.main(Unknown Source)
      Caused by: java.io.IOException: No se puede localizar una configuraci¾n de inici
      o de sesi¾n
      at com.sun.security.auth.login.ConfigFile.init(ConfigFile.java:206)
      at com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:95)
      ... 15 more