This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

AccessControlException while deploying the J2EE application

 
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
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic