Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AccessControlException while deploying the J2EE application  RSS feed

 
Mary Philip
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am following the Sun J2EE tutorial, using J2Ee 1.3.1 on Windows 98. I get an error while deploying the application.
An exception has occurred in the compiler (1.4.1_01). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.security.AccessControlException: access denied (java.io.FilePermission C:\PROGRAM FILES\JAVA\J2RE1.4.1_01\lib\ext read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
at java.io.File.list(File.java:912)
at com.sun.tools.javac.v8.code.ClassReader.addArchives(ClassReader.java:256)
at com.sun.tools.javac.v8.code.ClassReader.setClassPaths(ClassReader.java:241)
at com.sun.tools.javac.v8.code.ClassReader.<init>(ClassReader.java:204)
at com.sun.tools.javac.v8.code.ClassReader.instance(ClassReader.java:156)
at com.sun.tools.javac.v8.code.Symtab.<init>(Symtab.java:292)
at com.sun.tools.javac.v8.code.Symtab.instance(Symtab.java:35)
at com.sun.tools.javac.v8.JavaCompiler.make(JavaCompiler.java:117)
at com.sun.tools.javac.v8.Main.compile(Main.java:517)
at com.sun.tools.javac.Main.compile(Main.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:221)
at com.sun.ejb.codegen.GeneratorDriver.compileAndRmic(GeneratorDriver.java:101)
at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:888)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:707)
at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:221)
at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:255)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
Compilation failed ...
Can anyone tell me what might have gone wrong ?
-Mary
 
Mary Philip
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have been looking for a solution for the problem I posted. I still havent found a remedy for it. I have seen similar queries in other sites, but no answers.
Can anybody help me , pls ?
Thanks
-Mary
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!