It also looks like the MemoryRealm isn't getting configured correct.
Do I need to manually set the container and manage the container???

-Robert

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 13, 2006 5:08 PM
To: dev@tomcat.apache.org
Subject: Embedded Tomcat using MemoryRealm

I think I'm setting my Embedded tomcat server to use MemoryRealm but its still 
looking for the jaas.conf file. Can anyone comment on the following...

1)      For embedded Tomcat server.xml is not read and you are expected to set 
these parameters programmatically?
2)      The web.xml file does not effect the actual realm used, only the system 
configuration?

This is what I'm doing...

...     

        Embedded embedded = new Embedded(); 

 MemoryRealm myrealm = new MemoryRealm();

      embedded.setRealm(myrealm );

      myrealm.setPathname(getPath()+"\\conf\\tomcat-users.xml");
      myrealm.start();


However, it still seems to be trying to use the JAAS realm. 

-Robert

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

Reply via email to