Win a copy of Rust Web Development this week in the Other Languages forum!

Mary Philip

Greenhorn
+ Follow
since Jan 16, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mary Philip

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
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
Mike,
Thanks for u'r tip.
I used J2EE 1.3.1 and I was able to get the JNDI names right. But, I encountered the following 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 ...
Queries for this problem have been posted earlier, but nobody seems to have replied.
Can anybody help me ?
Thanks in advance
-Mary
I am using the J2EE tutorial from Sun to get started with J2EE. I have been using the deploytool GUI and following all the instructions in the tutorial.
I encountered a problem in the "Specifying the JNDI Names" section.When I click on the Application, I do not see a JNDI Names Tab, where I can map the references to the Bean. This leads to problems during the deploy stage.What could have possibly gone wrong ?
Any help will be greatly appreciated.
-Mary