tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian McSweeney <Brian.McSwee...@cs.tcd.ie>
Subject Re: Please,please can you help me?
Date Fri, 20 Jul 2001 13:53:40 GMT
Very apt :-) Not really sure here though because I don't know
what you mean about running the servlet from the command line.
Don't you have to test it from the browser?

Christopher Raber wrote:

>
>
> You can pay me back by answering my NT services inquiry :-)
> --------------------------
> Chris Raber, Systems Engineer, AvantGo Inc.
> v: 248-554-9330, cell: 810-839-3684
> http://www.avantgo.com/
> Sent wirelessly using AvantGo Enterprise & RIM!
>
> -----Original Message-----
> From: Brian McSweeney <Brian.McSweeney@cs.tcd.ie>
> To: tomcat-user@jakarta.apache.org <tomcat-user@jakarta.apache.org>
> Sent: Wed Jul 18 06:55:10 2001
> Subject: Re: Please,please can you help me?
>
> Thanks very much Chris. The policy file was the problem. I had
> thought I gave xerces access but I obviously hadn't. Thanks so
> much again.
> Brian
>
> Raber Chris wrote:
>
> > Try adjusting the policies as required in the
> > tomcat.policy file. Just don't ask me what you need to
> > change ;-)
> >
> > --- Brian McSweeney <Brian.McSweeney@cs.tcd.ie> wrote:
> > > Hi everyone,
> > > I have had a problem with trying to run a security
> > > manager in
> > > Apache-Soap for days. I'm running Tomcat3.2.2 and
> > > using soap 2-2 and
> > > xerces 1_4_1. However the inclusion of xerces causes
> > > an error when I try
> > > to run Tomcat with a security manager. It all works
> > > fine otherwise.
> > > Without xerces I can run a security manager with
> > > Tomcat, and with xerces
> > > I can run Tomcat without a security manager. However
> > > with xerces and a
> > > security manager when I try to run Tomcat I get this
> > > error. I would be
> > > indebted forever if someone could help me. I've
> > > tried both windows 98
> > > and Solaris - same error.
> > > Brian
> > >
> > > > Exception in thread "main"
> > > java.lang.ExceptionInInitializerError:
> > > > java.security.AccessControlException: access
> > > denied
> > >
> > > > (java.util.PropertyPermission jaxp. debug read)
> > > >         at
> > > >
> > >
> >
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
>
> > >
> > > >         at
> > > >
> > >
> >
> java.security.AccessController.checkPermission(AccessController.java:399)
>
> > >
> > > >         at
> > > >
> > >
> > java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
> > > >         at
> > > >
> > >
> >
> java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1278)
>
> > >
> > > >         at
> > > > java.lang.System.getProperty(System.java:560)
> > > >         at
> > > >
> > >
> >
> javax.xml.parsers.SAXParserFactory.<clinit>(SAXParserFactory.java:270)
>
> > >
> > > >         at
> > > >
> > >
> > org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:210)
> > > >         at
> > >
> > org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187)
> > > >         at
> > >
> > org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
> > >
> > >
> > >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> > http://personal.mail.yahoo.com/


Mime
View raw message