I believe there is a defect with our j2ee-corba configuration. I don't think it has been tested by starting it. I came across it when trying to start a plan that depends on the j2ee-corba. It tried to start j2ee-corba and spat out a bunch of errors like -- (See attached logs for full stacktrace)
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration geronimo/j2ee-corba/1.1-SNAPSHOT/car failed to start due to the following reasons: The service ServiceModule=geronimo/j2ee-corba/1.1-SNAPSHOT/car,j2eeType=CORBATSS,name=SSLClientCert did not start because geronimo/j2ee-corba/1.1-SNAPSHOT/car?ServiceModule=geronimo/j2ee-corba/1.1-SNAPSHOT/car,j2eeType=CORBABean,name=Server did not start. The service ServiceModule=geronimo/j2ee-corba/1.1-SNAPSHOT/car,j2eeType=CORBATSS,name=IdentityTokenNoSecurity did not start because geronimo/j2ee-corba/1.1-SNAPSHOT/car?ServiceModule=geronimo/j2ee-corba/1.1-SNAPSHOT/car,j2eeType=CORBABean,name=UnprotectedServer did not start. The service ServiceModule=geronimo/j2ee-corba/1.1-SNAPSHOT/car,j2eeType=CORBATSS,name=SSLClientCertIdentityToken did not start because geronimo/j2ee-corba/1.1-SNAPSHOT/car?ServiceModule=geronimo/j2ee-corba/1.1-SNAPSHOT/car,j2eeType=CORBABean,name=Server did not start. The service ServiceModule=geronimo/j2ee-corba/1.1-SNAPSHOT/car,j2eeType=CORBABean,name=Server did not start because the doStart method threw an exception. Has anybody else tried starting the j2ee-corba ? Cheers Prasad
j2ee-corba-start.log
Description: Binary data
<?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.
-->
<configuration xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1">
<environment>
<configId>
<groupId>openejb</groupId>
<artifactId>security</artifactId>
<version>${openejb_version}</version>
<type>car</type>
</configId>
<dependencies>
<dependency>
<groupId>geronimo</groupId>
<artifactId>system-database</artifactId>
<version>${geronimo_version}</version>
<type>car</type>
</dependency>
<dependency>
<groupId>activeio</groupId>
<artifactId>activeio</artifactId>
<version>${activeio_version}</version>
</dependency>
<dependency>
<groupId>geronimo</groupId>
<artifactId>geronimo-security</artifactId>
<version>${geronimo_version}</version>
</dependency>
<dependency>
<groupId>geronimo</groupId>
<artifactId>j2ee-security</artifactId>
<version>${geronimo_version}</version>
<type>car</type>
</dependency>
<dependency>
<groupId>geronimo</groupId>
<artifactId>j2ee-corba</artifactId>
<version>${geronimo_version}</version>
<type>car</type>
</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-->
<!-- public security realm -->
<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.1">
<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.1">
<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="openejb/itests" class="org.openejb.corba.TSSBean">
<attribute name="POAName">org/openejb/POA</attribute>
<reference name="Server">
<name>Server</name>
</reference>
<xml-attribute name="tssConfig">
<tss:tss inherit="true" xmlns:tss="http://www.openejb.org/xml/ns/corba-tss-config-2.0"/>
</xml-attribute>
</gbean>
<gbean name="IOR7" class="org.openejb.corba.CSSBean">
<reference name="ThreadPool">
<name>DefaultThreadPool</name>
</reference>
<reference name="TransactionContextManager">
<name>TransactionContextManager</name>
</reference>
<attribute name="configAdapter">org.openejb.corba.sunorb.SunORBConfigAdapter</attribute>
<attribute name="description">IOR7</attribute>
<attribute name="cssArgs"></attribute>
<attribute name="cssProps">
</attribute>
<xml-attribute name="cssConfig">
<css:css xmlns:css="http://www.openejb.org/xml/ns/corba-css-config-2.0">
<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>
</configuration>
