Re: Please,please can you help me?

2001-07-20 Thread Christopher Raber
Title: Re: Please,please can you help me?





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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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: Problems running as an NT Service

2001-07-20 Thread Christopher Raber
Title: Re: Problems running as an NT Service





This was the first thing I checked.
--
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: Daniel Einspanjer [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Wed Jul 18 08:38:12 2001
Subject: Re: Problems running as an NT Service


Just one quick idea..


Have you looked at the NTFS permissions on the directories in question? Make sure that the Local System account has full permissions, otherwise the service will have access problems.

-- Daniel Einspanjer, [EMAIL PROTECTED] on 07/18/2001



On Tue, 17 Jul 2001 14:33:26 -0700 (PDT), Raber Chris wrote:
I have a servlet that works fine when running TomCat
from a command line.

When I attempt to run the servlet as a service, my
servlet can not open files for read access that it
could open when running under TomCat from the command
line...

I have read the archives for similar issues, and have
tried to set up my service Run As user to have access
to the files. I must be missing something or am
completely brain dead.

Any suggestions are welcome!

Thanks,

-Chris.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/






Re: How can I logoff

2001-07-20 Thread Christopher Raber
Title: Re: How can I logoff





Using jdbc connections per user is not advisable. You shoukd think in terms of connection pooling.
--
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: Blue, Neil [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Sent: Wed Jul 18 07:57:09 2001
Subject: How can I logoff


Hello,


I am using the JDBC sercurity on tomcat 3.3. I am able to logon (via basic
authentication) to view a secured .jsp page. however I can not see how a
user can logoff again so that a new user can logon. Please could someone
point me in the right direction.


Cheers
Neil





Re: Problems running as an NT Service

2001-07-18 Thread Christopher Raber
Title: Re: Problems running as an NT Service





File is on drive c:


The error is a security manager no read access eeror.
--
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: Frank Lawlor [EMAIL PROTECTED]
To: Tomcat (E-mail) [EMAIL PROTECTED]
Sent: Wed Jul 18 08:46:20 2001
Subject: Re: Problems running as an NT Service


What error are you getting? FIle not found? Security error?
Not found would be a path problem. Security error would
be more related to the java.policy of the user you are 
running under. Is the file on a mounted drive? (service
can't access these). etc.


Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.