You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Brian McSweeney <Br...@cs.tcd.ie> on 2001/07/18 13:32:04 UTC
Please,please can you help me?
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)
Re: Please,please can you help me?
Posted by Rich Catlett <ri...@more.net>.
You have to give whatever protection domain that is failing access to the
property jaxp.debug.
---------------------------------------------------------------------
Rich Catlett rich@more.net | Confuscious say "Man who stand |
Programmer | on toilet, high on pot!" |
| |
---------------------------------------------------------------------
On Wed, 18 Jul 2001, Brian McSweeney 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)
>
>
>
>
Re: Please,please can you help me?
Posted by Rich Catlett <ri...@more.net>.
You have to give whatever protection domain that is failing access to the
property jaxp.debug.
---------------------------------------------------------------------
Rich Catlett rich@more.net | Confuscious say "Man who stand |
Programmer | on toilet, high on pot!" |
| |
---------------------------------------------------------------------
On Wed, 18 Jul 2001, Brian McSweeney 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)
>
>
>
>
Re: Please,please can you help me?
Posted by Brian McSweeney <Br...@cs.tcd.ie>.
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 <Br...@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/
Re: Please,please can you help me?
Posted by Raber Chris <cp...@yahoo.com>.
Try adjusting the policies as required in the
tomcat.policy file. Just don't ask me what you need to
change ;-)
--- Brian McSweeney <Br...@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/