Re: catalina policy fun
anthony rogers <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Here the full dump from the console :)
15-Aug-2006 16:18:16 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments w
as not found on the java.library.path: C:\Program
Files\Java\jdk1.5.0_06\bin;.;C:\WINDOWS\system32;C
:\WINDOWS;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Common
Files\Symbian\Tools;C:\Prog
ram Files\Microsoft DirectX 9.0 SDK (June
2005)\Utilities\Bin\x86;C:\Program Files\Alias\Maya7.0\bin
;C:\Nokia\Carbide_j\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Com
mon Files\Autodesk Shared\;C:\Program
Files\Autodesk\backburner\;C:\Program Files\Common Files\Adobe
\AGL;C:\Program Files\NVIDIA Corporation\Cg\bin;C:\Program
Files\VoiceAge\Common;C:\Nokia\Update_Man
ager\bin;C:\Program Files\QuickTime\QTSystem\;C:\maven-2.0.4\bin\
15-Aug-2006 16:18:16 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-7070
15-Aug-2006 16:18:16 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 921 ms
15-Aug-2006 16:18:16 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
15-Aug-2006 16:18:16 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
15-Aug-2006 16:18:16 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
15-Aug-2006 16:18:17 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive FiveWebSpace.war
15-Aug-2006 16:18:17 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-7070
15-Aug-2006 16:18:18 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
15-Aug-2006 16:18:18 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/203 config=null
15-Aug-2006 16:18:18 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
15-Aug-2006 16:18:18 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1922 ms
java.security.AccessControlException: access denied
(net.jini.discovery.DiscoveryPermission *)
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
net.jini.discovery.LookupDiscovery.checkGroups(LookupDiscovery.java:2397)
at
net.jini.discovery.LookupDiscovery.beginDiscovery(LookupDiscovery.java:3061)
at
net.jini.discovery.LookupDiscovery.<init>(LookupDiscovery.java:1884)
at com.ant.spaces.Lookup.getService(Lookup.java:57)
at
com.ant.web.beans.MemberEditorBean.accessSpace(MemberEditorBean.java:41)
at
org.apache.jsp.MemberEditor_jsp._jspService(MemberEditor_jsp.java:74)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
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:585)
at
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Gregg Wonderly wrote:
> anthony rogers wrote:
>>
>> 'FiveWebSpace being my webapp. But I always get the
>> 'java.security.AccessControlException: access denied
>> (net.jini.deiscovery.DiscoveryPermission *)' when running with just
>> these granted permisssons. I'm i missing a class, jar or grant config?
>
> Can you post the full stack trace of the source of this exception? It
> would
> help to see which classes are involved to know which codesource is
> missing the
> necessary permission grants.
>
> Gregg Wonderly
>
> ===========================================================================
>
> To unsubscribe, send email to [email protected] and include in the
> body
> of the message "signoff JAVASPACES-USERS". For general help, send
> email to
> [email protected] and include in the body of the message "help".
>
> To view past JAVASPACES-USERS postings, please see:
> http://archives.java.sun.com/archives/javaspaces-users.html
>
>
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html