RE: java.lang.SecurityException with NSBundle
RE: java.lang.SecurityException with NSBundle
- Subject: RE: java.lang.SecurityException with NSBundle
- From: "Erlandsson Martin" <email@hidden>
- Date: Thu, 16 Oct 2003 08:58:04 +0200
- Thread-topic: java.lang.SecurityException with NSBundle
Answering my own question:
I had wojavaclient.jar in front of javafoundation.jar in my WOClasspath
(in web.xml). The error disappeared when I removed wojavaclient.jar,
which I don't need...
/Martin
> -----Original Message-----
> From: Erlandsson Martin
> Sent: den 15 oktober 2003 11:58
> To: email@hidden
> Subject: RE: java.lang.SecurityException with NSBundle
>
> Thanks for replying.
>
> Well, I don't have a version or subclass of NSBundle.
> Right after I posted I discovered that two classpath entries referred
> to jars that depend on WO4.5 classes. I removed these entries and the
> error changed a bit, but still the same root cause (full stack trace
> below) This is really strange...
>
> Thanks in advance for any help!
>
> /Martin
>
>
>
> -------------------------- java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAda
ptor.java:254)
> at
com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.
java:68)
> at
com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:46
8)
> at javax.servlet.GenericServlet.init(GenericServlet.java:258)
> at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:918)
> at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
> at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:3279)
> at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421
)
> at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
> at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
> at
org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
> at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:324)
> at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
> at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:23
2)
> at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:155)
> at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
> at
org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
> at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
> at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
> at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
> at
org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
> at
org.apache.catalina.startup.Catalina.start(Catalina.java:781)
> at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
> at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
> Caused by: java.lang.SecurityException: class
"com.webobjects.foundation.NSBundle"'s signer information does not match
signer information of other classes in the same
> package
> at java.lang.ClassLoader.checkCerts(ClassLoader.java:599)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:532)
> at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> at
java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> at
com.webobjects.appserver.WOApplication.primeApplication(WOApplication.ja
va:357)
> ... 33 more
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.4
> --------------------------
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.