I found the reason it was failing (but not yet the cure..), just in case others 
might hit this....
   
  When tomcat was started (through Eclipse), it was running the security 
manager (-Djava.security.manager -Djava.security.policy="C:\Program 
Files\Apache Software Foundation\Tomcat 5.5\conf\catalina.policy"), which was 
throwing the exception.

   I guess I either need to set the proper security level (need to learn about 
this) in the cataline.policy file, or, maybe remove this line - what I did to 
confirm it.
   
  Not sure if this line is added automatically by the eclipse plugin that I am 
using for tomcat (sysdemo), but at least I know now where to start addressing 
this. 
   
  The connection pool also works now.
   
  Thanks all for your help !!!!
   
  
Hassan Schroeder <[EMAIL PROTECTED]> wrote:
  g m wrote:

> This problem is 'windows' (yes, spealt...B:A:D)..related.

probably. :-)

> Same code works on the unix box. Not sure why it be different. 

>>"WARNING: A docBase C:\Program Files\Apache Software Foundation\
>>Tomcat 5.5\webapps\DBS3 inside the host appBase ...

Many people have reported problems on Windows boxes with Tomcat and
Java installed in directories with spaces in the names; you might
reinstall using e.g. `C:\java` and `C:`tomcat_5.5` or whatever...

> Having said that, what you suggest below is interesting and I 
> will address once I have "hello world" on XP working....

"I'll fix the broken configuration after I have it running"? Maybe
not the ideal approach. :-)

FWIW!
-- 
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com

dream. code.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  


                
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

Reply via email to