You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sandeep_khurana <sa...@persistent.co.in> on 2008/04/09 14:46:31 UTC

Problems with RMI from Webservice (tomcat4 + axis2 1.3)

Hi, I have a web service that makes RMI calls to another application that
acts like an RMI server.
The exception is this ...

Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission C:\Program Files\Apache Software Foundation\Tomcat
5.0\webapps\balancer read)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.isDirectory(File.java:721)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
... 6 more
Exception in thread "ImagesProcessorStatusThread"
java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:154)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.error(Category.java:319)
at
ar.com.nec.sol.dma.imagesprocessor.conection.common.RMIConnection.lookup(Unknown
Source)
at
ar.com.nec.sol.dma.imagesprocessor.conection.common.RMIConnection.getRMIClient(Unknown
Source)
at
ar.com.nec.sol.dma.actions.managers.status.ApplicationServerStatus.<init>(ApplicationServerStatus.java:14)
at
ar.com.nec.sol.dma.actions.managers.status.ApplicationServerStatusThread.run(ApplicationServerStatusThread.java:34)
at java.lang.Thread.run(Thread.java:595)

It seems that can't be found the Log4j jar but it is in the lib of the
webapp.

Please, help me
-- 
View this message in context: http://www.nabble.com/Problems-with-RMI-from-Webservice-%28tomcat4-%2B-axis2-1.3%29-tp16585342p16585342.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org