[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-user
Subject:    [JBoss-user] Failed to locate CachePolicy?
From:       Steven Nakhla <sdnakhla () yahoo ! com>
Date:       2004-07-30 19:11:58
Message-ID: 20040730191158.51574.qmail () web41203 ! mail ! yahoo ! com
[Download RAW message or body]

I am using JBoss-3.2.5, and am configuring it to secure the jmx-console using SSL \
client certificates.  I've defined the following in jboss-service.xml  

<mbean code="org.jboss.security.plugins.JaasSecurityDomain"

name="jboss.web:service=SecurityDomain">

<constructor>

<arg type="java.lang.String" value="jmx-console"/>

</constructor>

<attribute name="KeyStoreURL">file:c:/keystore</attribute>

<attribute name="KeyStorePass">pk1m0nk3y</attribute>

</mbean>

 
 
However, when I start JBoss I receive the following message:
 
15:06:28,125 WARN  [JaasSecurityManagerService] Failed to locate auth CachePolicy at: \
java:/timedCacheFactory for securityDomain=jmx-console

 
Later on, when trying to authenticate, I get a NullPointerException, and after poking \
through the code it seems to be related to this missing CachePolicy object.  Can \
anyone explain to me how to correct this?  Do I have to define a CachePolicy \
somewhere?  How can I solve this problem?  
Thanks so much for any help you can give.  It is GREATLY appreciated!
 
Steve Nakhla
 

		
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!


[Attachment #3 (text/html)]

<DIV>I am using JBoss-3.2.5, and am configuring it to secure the jmx-console using \
SSL client certificates.&nbsp; I've defined the following in jboss-service.xml</DIV> \
<DIV>&nbsp;</DIV> <DIV><FONT size=2>
<P>&lt;mbean code="org.jboss.security.plugins.JaasSecurityDomain"</P>
<P>name="jboss.web:service=SecurityDomain"&gt;</P>
<P>&lt;constructor&gt;</P>
<P>&lt;arg type="java.lang.String" value="jmx-console"/&gt;</P>
<P>&lt;/constructor&gt;</P>
<P>&lt;attribute name="KeyStoreURL"&gt;file:c:/keystore&lt;/attribute&gt;</P>
<P>&lt;attribute name="KeyStorePass"&gt;pk1m0nk3y&lt;/attribute&gt;</P>
<P>&lt;/mbean&gt;</P></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>However, when I start JBoss I receive the following message:</DIV>
<DIV>&nbsp;</DIV>
<DIV>15:06:28,125 WARN&nbsp; [JaasSecurityManagerService] Failed to locate auth \
CachePolicy at: java:/timedCacheFactory for securityDomain=jmx-console<BR></DIV> \
<DIV>&nbsp;</DIV> <DIV>Later on, when trying to authenticate, I get a \
NullPointerException, and after poking through the code it seems to be related to \
this missing CachePolicy object.&nbsp; Can anyone explain to me how to correct \
this?&nbsp; Do I have to define a CachePolicy somewhere?&nbsp; How can I solve this \
problem?</DIV> <DIV>&nbsp;</DIV>
<DIV>Thanks so much for any help you can give.&nbsp; It is GREATLY appreciated!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Steve Nakhla</DIV>
<DIV>&nbsp;</DIV><p>
		<hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/100/*http://promotions.yahoo.com/new_mail/static/efficiency.html">New \
and Improved Yahoo! Mail</a> - 100MB free storage!


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic