getting the below error when executing jar file using java webstart(JNLP) file.



(java.lang.ExceptionInInitializerError

at org.apache.log4j.Logger.getRootLogger(Logger.java: 104)
at SplitPane2.<clinit>(SplitPane2.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied (java.io.FilePermission logfile.log write)

I got the error when i did create the jar file from the eclipse and the log file was not archived within the jar.

The executable jar is perfectly working.(i mean its executing when i double click the jar file)

Thanks for the help.