From: Peter H. <pe...@ex...> - 2005-06-03 21:18:47
|
hi Tim, > It looks to me as if you are using jscheme servlets on a tomcat server > that is connected to an apache server using an > org.apache.catalina.connector > I have only ever tried running the servlets on a straight tomcat server > (on port 8080 or 8088 or some such...) I had played with it using Jetty on my desktop and had hoped I could develop servlets using this and upload them directly to the Tomcat server. > It appears that the servlet is running in a sandbox which disallows access > to non-public classes..... > How about just running a tomcat (or jetty or resin) servlet container on > port 8080? If you have to do it through the > connector, then we'll have to dig a little deeper to see what the java > security model for the servlets are in that situation.... Unfortunately it is hosted webspace I have, so I can't run anything additional on the server. The server administrator has said: "You should test your application with a security manager enabled. Catalina's default policy file is ok. E.g. use options like this with the default tomcat installlation; startup.sh -security or startup.bat -security if You're running windows." I guess I need to setup a local Apache/Tomcat installation and play with security settings. I'd hoped this would be easy! Any tips/guidance would be very very much appreciated! On a different subject, sorry I haven't sent you the JScheme/Antlr 'bridge' yet, it is working fine but I haven't packaged it neatly on it's own [though if anyone wants it right now email and I'll send undocumented source!]. I believe there is an Antlr version 3.0 on it's way which might change it a bit also. Peter |