You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Miquel Herrera <mi...@gmail.com> on 2004/09/23 19:56:56 UTC

SecurityException, libraries problem?

Hello,

I am new here and new with Java Axis as well, I am trying to test the
examples in the axis documentation and I have got problems.

The http://genesis:8180/axis/happyaxis.jsp says everything is ok and installed

I get an exception right the first line of the program:

Options options = new Options(args);

The main cause is a security exception:

Caused by: java.lang.SecurityException: class
"org.apache.log4j.PropertyConfigurator"'s signer information does not
match signer information of other classes in the same package

(see all the stacktrace at the end of the email)

which I learned in internet that probably is due to signed and
unsigned packages but I cannot figure which libraries are in conflict
and what to do to solve the problem

Can anyone help me please?

Miquel Herrera

PS: Following the print stack trace
----

java.lang.ExceptionInInitializerError
	at org.apache.axis.client.Service.getAxisClient(Service.java:143)
	at org.apache.axis.client.Service.<init>(Service.java:152)
	at com.hitconsultants.soffnet.server.test.CalcClient.main(CalcClient.java:50)
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.reflect.InvocationTargetException
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:532)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:272)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:414)
	at org.apache.axis.components.logger.LogFactory.getLog(LogFactory.java:76)
	at org.apache.axis.handlers.BasicHandler.<clinit>(BasicHandler.java:81)
	... 3 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:525)
	... 7 more
Caused by: java.lang.ExceptionInInitializerError
	at org.apache.log4j.Logger.getLogger(Logger.java:85)
	at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:102)
	... 12 more
Caused by: java.lang.SecurityException: class
"org.apache.log4j.PropertyConfigurator"'s signer information does not
match signer information of other classes in the same package
	at java.lang.ClassLoader.checkCerts(ClassLoader.java:568)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:457)
	at org.apache.log4j.LogManager.<clinit>(LogManager.java:145)
	... 14 more
Exception in thread "main"