Hi chaps,
thanks very much for the security info, worked a treat, or at least, now Wookie 
at least attempts a start in Tomcat, however, it
then carks it. I monitored the Catalina log, and an error is generated in the 
browser when I click on the Wookie link in the
Manager:
 
 
catalina log:
 
Mar 11, 2010 10:03:35 AM org.apache.catalina.loader.WebappClassLoader 
validateJarFile
INFO: 
validateJarFile(/var/lib/tomcat6/webapps/wookie/WEB-INF/lib/servlet-api-2.5.jar)
 - jar not loaded. See Servlet Spec 2.3,
section 9.7.2. Offending class: javax/servlet/Servlet.class
Mar 11, 2010 10:03:39 AM org.apache.coyote.http11.Http11Protocol start
 
 
 
Error produced by wookie:
javax.servlet.ServletException: java.lang.LinkageError: loader constraint 
violation: when resolving interface method
"javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;"
 the class loader (instance of
org/apache/jasper/servlet/JasperLoader) of the current class, 
org/apache/jsp/webmenu/index_jsp, and the class loader (instance of
org/apache/catalina/loader/StandardClassLoader) for resolved class, 
javax/servlet/jsp/JspApplicationContext, have different Class
objects for the type javax/el/ExpressionFactory used in the signature
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:275)
 
 
any ideas?
many thanks
 
Steve Nisbet
 
 
Learning Resource Manager
Learning & Research Technologies
LRIS
Manchester Metropolitan University
 
Before acting on this email or opening any attachments you should read the
Manchester Metropolitan University's email disclaimer available on its website
http://www.mmu.ac.uk/emaildisclaimer 


>>> Ross Gardler <[email protected]> 09/03/2010 22:36 >>>
On 09/03/2010 10:46, Scott Wilson wrote:
> Hi Steve,
>
> These sort of security problems are usually caused by Tomcat's security
> manager. Sander wrote some info on how to get around this on the list
> yesterday - see http://markmail.org/message/iskmmnbvmzlm3yf5
>

Looks like this should be a FAQ item.

Ross

> S
>
>
> On 9 Mar 2010, at 10:30, Steve Nisbet wrote:
>
>> Hi Ross,
>> had another go this morning with a fresh install and a fresh set of
>> log files:
>> There is a severe at the top of the logs, some kind of Proxy issue? I
>> have set the proxy in the widgetserver.properties:
>>
>> ==> catalina.2010-03-09.log <==
>> Mar 9, 2010 10:23:15 AM org.apache.catalina.core.StandardContext start
>> SEVERE: Error listenerStart
>> Mar 9, 2010 10:23:15 AM org.apache.catalina.core.StandardContext start
>> SEVERE: Context [/wookie] startup failed due to previous errors
>>
>> ==> localhost.2010-03-09.log <==
>> Mar 9, 2010 10:23:15 AM org.apache.catalina.core.StandardContext
>> listenerStart
>> SEVERE: Exception sending context initialized event to listener
>> instance of class org.apache.wookie.server.ContextListener
>> java.security.AccessControlException: access denied
>> (java.util.PropertyPermission user.dir read)
>> at
>> java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
>>
>> at
>> java.security.AccessController.checkPermission(AccessController.java:553)
>> at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>> at
>> java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
>> at java.lang.System.getProperty(System.java:669)
>> at
>> org.apache.wookie.server.ContextListener.contextInitialized(ContextListener.java:73)
>>
>> at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)
>>
>> at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>>
>> at
>> org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:123)
>>
>> < * snip *>
>>
>> thanks in advance
>>
>> Steve Nisbet
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Learning Resource Manager
>> Learning & Research Technologies
>> LRIS
>> Manchester Metropolitan University
>>
>> Before acting on this email or opening any attachments you should read
>> the
>> Manchester Metropolitan University's email disclaimer available on its
>> website
>> http://www.mmu.ac.uk/emaildisclaimer
>>
>>
>>>>> Ross Gardler <[email protected]> 06/03/2010 01:02 >>>
>> On 05/03/2010 23:39, Steve Nisbet wrote:
>>> Hi folks,
>>> I'm actually trying to install Wookie using Linux Mint 8, which I
>>> believe is based on Ubuntu 9.04.
>>>
>>> I have followed the installation guide to the letter
>> (http://incubator.apache.org/wookie/downloading-and-installing-wookie.html)
>>
>>> concentrating on the section Running Wookie with Tomcat.
>>>
>>> Everything appears to compile and deploy fine, get a nice new link to
>>> /wookie in my Tomcat manager panel, alas, clicking the
>>> wookie immediately generates a 404 error: "The requested resource is
>>> not available".
>>>
>>> Wookie is definitely installed into the right path within my Tomcat
>>> setup.
>>>
>>> Anyone any clues?
>>
>> Without logs it would just be guesswork, please post the logs.
>>
>> Ross
>>
>

Reply via email to