Rick, Here's the Yoko bug I was talking about. I deployed a simple TSSBean whose POAName attribute is set. It deployed fine. I then undeployed the plan. That was successfull as well. Now when I go back to redeploy the same plan, I get an adapter already exists exception. I have attached both the plan and the log for your scrutiny.
Thanx Prasad
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
Configuration for the CORBA server.
-->
<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
<environment>
<moduleId>
<groupId>openejb</groupId>
<artifactId>security</artifactId>
<version>2.2-SNAPSHOT</version>
<type>car</type>
</moduleId>
<dependencies>
<dependency>
<groupId>org.apache.geronimo.configs</groupId>
<artifactId>system-database</artifactId>
<version>1.2-SNAPSHOT</version>
<type>car</type>
</dependency>
<dependency>
<groupId>activeio</groupId>
<artifactId>activeio</artifactId>
<version>2.0-r118</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.modules</groupId>
<artifactId>geronimo-security</artifactId>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.configs</groupId>
<artifactId>j2ee-security</artifactId>
<version>1.2-SNAPSHOT</version>
<type>car</type>
</dependency>
<dependency>
<groupId>org.apache.geronimo.configs</groupId>
<artifactId>j2ee-corba-yoko</artifactId>
<version>1.2-SNAPSHOT</version>
<type>car</type>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-yoko</artifactId>
<version>2.2-incubating-SNAPSHOT</version>
<type>jar</type>
<import>classes</import>
</dependency>
</dependencies>
</environment>
<!--gbean gbeanName="geronimo.remoting:target=JaasLoginServiceRemotingServer" class="org.apache.geronimo.security.remoting.jmx.JaasLoginServiceRemotingServer">
<attribute name="bindURI">tcp://0.0.0.0:4242</attribute>
<reference name="LoginService"><gbean-name>geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/Server,J2EEServer=geronimo,j2eeType=GBean,name=JaasLoginService</gbean-name></reference>
</gbean-->
<gbean name="public-properties-realm"
class="org.apache.geronimo.security.realm.GenericSecurityRealm">
<attribute name="realmName">public-properties-realm</attribute>
<reference name="ServerInfo">
<name>ServerInfo</name>
</reference>
<reference name="LoginService">
<name>JaasLoginService</name>
</reference>
<xml-reference name="LoginModuleConfiguration">
<lc:login-config xmlns:lc="http://geronimo.apache.org/xml/ns/loginconfig-1.2">
<lc:login-module control-flag="REQUIRED" server-side="true">
<lc:login-domain-name>public-login</lc:login-domain-name>
<lc:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</lc:login-module-class>
<lc:option name="usersURI">var/security/public_users.properties</lc:option>
<lc:option name="groupsURI">var/security/public_groups.properties</lc:option>
</lc:login-module>
</lc:login-config>
</xml-reference>
</gbean>
<gbean name="public"
class="org.apache.geronimo.security.jaas.ServerRealmConfigurationEntry">
<attribute name="applicationConfigName">public</attribute>
<attribute name="realmName">public-properties-realm</attribute>
<reference name="LoginService">
<name>JaasLoginService</name>
</reference>
</gbean>
<!-- secret internal auditing security realm -->
<!--gbean name="black-login"
class="org.apache.geronimo.security.jaas.LoginModuleGBean">
<attribute name="loginModuleClass">org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</attribute>
<attribute name="serverSide">true</attribute>
<attribute name="options">
usersURI=var/security/black_users.properties
groupsURI=var/security/black_groups.properties
</attribute>
<attribute name="loginDomainName">black-properties-realm</attribute>
</gbean-->
<gbean name="black-properties-realm"
class="org.apache.geronimo.security.realm.GenericSecurityRealm">
<attribute name="realmName">black-properties-realm</attribute>
<reference name="ServerInfo">
<name>ServerInfo</name>
</reference>
<reference name="LoginService">
<name>JaasLoginService</name>
</reference>
<xml-reference name="LoginModuleConfiguration">
<lc:login-config xmlns:lc="http://geronimo.apache.org/xml/ns/loginconfig-1.2">
<lc:login-module control-flag="REQUIRED" server-side="true">
<lc:login-domain-name>black-login</lc:login-domain-name>
<lc:login-module-class>org.apache.geronimo.security.realm.providers.PropertiesFileLoginModule</lc:login-module-class>
<lc:option name="usersURI">var/security/black_users.properties</lc:option>
<lc:option name="groupsURI">var/security/black_groups.properties</lc:option>
</lc:login-module>
</lc:login-config>
</xml-reference>
</gbean>
<gbean name="black"
class="org.apache.geronimo.security.jaas.ServerRealmConfigurationEntry">
<attribute name="applicationConfigName">black</attribute>
<attribute name="realmName">black-properties-realm</attribute>
<reference name="LoginService">
<name>JaasLoginService</name>
</reference>
</gbean>
<gbean name="IOR7" class="org.apache.openejb.corba.CSSBeanGBean">
<reference name="TransactionManager">
<name>TransactionManager</name>
</reference>
<reference name="ConfigAdapter">
<name>ORBConfigAdapter</name>
</reference>
<attribute name="description">IOR7</attribute>
<xml-attribute name="cssConfig">
<css:css xmlns:css="http://openejb.apache.org/xml/ns/corba-css-config-2.1">
<css:compoundSecMechTypeList>
<css:compoundSecMech>
<css:SSL>
<css:supports>Integrity Confidentiality EstablishTrustInTarget EstablishTrustInClient</css:supports>
<css:requires>Integrity Confidentiality EstablishTrustInTarget</css:requires>
</css:SSL>
</css:compoundSecMech>
</css:compoundSecMechTypeList>
</css:css>
</xml-attribute>
</gbean>
<gbean name="openejb/itests" class="org.apache.openejb.corba.TSSBean">
<attribute name="POAName">org/apache/openejb/POA</attribute>
<reference name="Server">
<name>Server</name>
</reference>
<xml-attribute name="tssConfig">
<tss:tss inherit="true" xmlns:tss="http://openejb.apache.org/xml/ns/corba-tss-config-2.1"/>
</xml-attribute>
</gbean>
<!--
<gbean name="SSLClientCert" class="org.apache.openejb.corba.TSSBeanGBean">
<attribute name="POAName">SSLClientCert</attribute>
<reference name="Server">
<name>Server</name>
</reference>
<xml-attribute name="tssConfig">
<tss:tss xmlns:tss="http://www.openejb.org/xml/ns/corba-tss-config-2.1" xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.2">
<tss:default-principal>
<sec:principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="guest"/>
</tss:default-principal>
<tss:SSL port="2001" hostname="localhost">
<tss:supports>Integrity Confidentiality EstablishTrustInTarget EstablishTrustInClient</tss:supports>
<tss:requires>Integrity Confidentiality EstablishTrustInClient</tss:requires>
</tss:SSL>
<tss:compoundSecMechTypeList>
<tss:compoundSecMech>
<tss:sasMech>
<tss:identityTokenTypes>
<tss:ITTAbsent/>
</tss:identityTokenTypes>
</tss:sasMech>
</tss:compoundSecMech>
</tss:compoundSecMechTypeList>
</tss:tss>
</xml-attribute>
</gbean>
-->
</module>
sec-deploy.log
Description: Binary data
