After some work, my latest failure is:

19:48:53,693 INFO [Log4jService] ----------------------------------------------

19:48:53,693 INFO [Log4jService] Started Logging Service

19:48:55,405 INFO [JvmVendor] IBM JVM detected from IBM Corporation

19:48:57,899 INFO [DynamicStubClassLoader] Started

19:48:58,239 INFO [CSSBeanBase] Starting Base CORBA Client Security Server

19:48:59,601 INFO [CSSBean] Started CORBA Client Security Server - NoSecurity

19:48:59,601 INFO [CSSBeanBase] Started Base CORBA Client Security Server

19:48:59,641 INFO [CommandLine] Server startup completed

CallbackHandler set user=system, password=manager

CallbackHandler set user=system, password=manager

CallbackHandler set user=system, password=manager

CallbackHandler set user=system, password=manager

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

at org.apache.geronimo.client.AppClientContainer$1.run(AppClientContainer.java:153)

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java:321)

at javax.security.auth.Subject.doAs(Subject.java:477)

at org.apache.geronimo.client.AppClientContainer.main(AppClientContainer.java:146)

at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)

at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)

at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)

at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)

at org.apache.geronimo.system.main.CommandLine.invokeMainGBean(CommandLine.java:113)

at org.apache.geronimo.system.main.ClientCommandLine.<init>(ClientCommandLine.java:80)

at org.apache.geronimo.system.main.ClientCommandLine.main(ClientCommandLine.java:50)

Caused by: java.lang.reflect.InvocationTargetException

at java.lang.reflect.Method.invoke(Method.java(Compiled Code))

at org.apache.geronimo.client.AppClientContainer$1.run(AppClientContainer.java:149)

... 11 more

Caused by: java.lang.NullPointerException:

Trace from server: 598748091 at host 9.49.205.136 >>

java.lang.NullPointerException

at org.openejb.proxy.ReplacementStrategy$1.writeReplace(ReplacementStrategy.java:73)

at org.openejb.proxy.SerializationHandler.writeReplace(SerializationHandler.java:99)

at org.openejb.proxy.EJBObjectImpl.writeReplace(EJBObjectImpl.java:115)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:1057)

at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1042)

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:309)

at org.openejb.proxy.SerializationHandler.copyObj(SerializationHandler.java:111)

at org.openejb.corba.util.Util.writeObject(Util.java:485)

at org.openejb.corba.StandardServant._invoke(StandardServant.java:323)

at com.ibm.rmi.poa.GenericPOAServerSC.dispatchToServant(GenericPOAServerSC.java:430)

at com.ibm.rmi.poa.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:277)

at com.ibm.rmi.poa.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:181)

at com.ibm.rmi.iiop.ORB.process(ORB.java:439)

at com.ibm.CORBA.iiop.ORB.process(ORB.java:1737)

at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2289)

at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:65)

at com.ibm.rmi.iiop.WorkerThread.run(ThreadPoolImpl.java:204)

at java.lang.Thread.run(Thread.java:570)

<< END server: 598748091 at host 9.49.205.136

 

at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:168)

at org.openejb.corba.util.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:215)

at javax.rmi.CORBA.Util.mapSystemException(Util.java:84)

at org.openejb.corba.util.StubMethodInterceptor.intercept(StubMethodInterceptor.java:136)

at org.omg.stub.org.acme._MagicGBallHome_Stub.create(<generated>)

at org.acme.MagicGBallClient.ask(MagicGBallClient.java:46)

at org.acme.MagicGBallClient.main(MagicGBallClient.java:38)

... 13 more.

Also, get this in server log when I start geronimo/magicGball-NoSec/1.1-SNAPSHOT/car:

19:47:07,219 DEBUG [TSSBean] IdentityTokenNoSecurity - Linked container geronimo/magicGball-NoSec/1.1-SNAPSHOT/car?EJBModule=magicGball-ejb-1.1-SNAPSHOT.jar,J2EEApplication=geronimo/magicGball-NoSec/1.1-SNAPSHOT/car,j2eeType=StatelessSessionBean,name=MagicGBall

19:47:07,219 DEBUG [GenericEJBContainer] GenericEJBContainer 'geronimo/magicGball-NoSec/1.1-SNAPSHOT/car?EJBModule=magicGball-ejb-1.1-SNAPSHOT.jar,J2EEApplication=geronimo/magicGball-NoSec/1.1-SNAPSHOT/car,j2eeType=StatelessSessionBean,name=MagicGBall' started

19:47:07,219 DEBUG [GBeanInstanceState] GBeanInstanceState for: geronimo/magicGball-NoSec/1.1-SNAPSHOT/car?EJBModule=magicGball-ejb-1.1-SNAPSHOT.jar,J2EEApplication=geronimo/magicGball-NoSec/1.1-SNAPSHOT/car,j2eeType=StatelessSessionBean,name=MagicGBall State changed from starting to running

19:47:07,550 ERROR [ProxyCollection] Listener threw exception

java.lang.ClassCastException: org.openejb.GenericEJBContainer

at org.openejb.EJBContainer$$EnhancerByCGLIB$$6da8ed71.getUnmanagedReference(<generated>)

at org.openejb.ContainerIndex.addContainer(ContainerIndex.java:153)

at org.openejb.ContainerIndex.memberAdded(ContainerIndex.java:187)

at org.apache.geronimo.gbean.runtime.ProxyCollection.addTarget(ProxyCollection.java:102)

at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.targetAdded(GBeanCollectionReference.java:96)

at org.apache.geronimo.gbean.runtime.GBeanCollectionReference.addTarget(GBeanCollectionReference.java:180)

at org.apache.geronimo.gbean.runtime.GBeanCollectionReference$1.running(GBeanCollectionReference.java:110)

at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:173)

at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:41)

at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:251)

at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:292)

at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)

at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)

at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)

at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)

at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)

at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:181)

at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:505)

at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:486)

at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)

at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)

at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)

at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)

at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)

at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)

at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)

at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)

at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$c2bcdefe.startConfiguration(<generated>)

at org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:308)

at org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:81)

at org.apache.geronimo.system.main.Daemon.main(Daemon.java:432)

--------

David Jencks' upgrade tool was quite helpful. I ran it on magicgball plan. still not working, but past deploy problems, and appClient is failing on CORBA code.

I have put 3 fixes into (our version) of AG that I think you'll want to pick up. They are in j2ee-corba-plan, client-corba-plan, and client-security.  It would be best to have it working with the proper maven plugin to process plans. That will take me a while. I am hand-crafting plans at the moment.

I was not able to get everything into one magicgball plan. I put CSS and TSS bean in separate plans. I will attach my plans here, and put my latest mgball trace below.

Thanks,

Ted

 

 

Log: set proper dependency on new CORBASystemProperties GBean

Modified: trunk/geronimo/configs/j2ee-corba/src/plan/plan.xml

===================================================================

--- trunk/geronimo/configs/j2ee-corba/src/plan/plan.xml 2006-05-12 00:01:36 UTC (rev 2860)

+++ trunk/geronimo/configs/j2ee-corba/src/plan/plan.xml 2006-05-12 01:13:37 UTC (rev 2861)

@@ -60,7 +60,7 @@

<!-- CORBA -->

<gbean name="DynamicORBStubClassLoader" class="org.openejb.corba.util.DynamicStubClassLoader">

<dependency>

- <name>SystemProperties</name>

+ <name>CORBASystemProperties</name>

</dependency>

</gbean>

@@ -71,7 +71,7 @@

<attribute name="dbDir">var/cosnaming.db</attribute>

<attribute name="port">${PlanCOSNamingPort}</attribute>

<dependency>

- <name>SystemProperties</name>

+ <name>CORBASystemProperties</name>

</dependency>

</gbean>

@@ -104,7 +104,7 @@

</tss:tss>

</xml-attribute>

<dependency>

- <name>SystemProperties</name>

+ <name>CORBASystemProperties</name>

</dependency>

<dependency>

<name>NameServer</name>

@@ -143,7 +143,7 @@

<name>Server</name>

</dependency>

<dependency>

- <name>SystemProperties</name>

+ <name>CORBASystemProperties</name>

</dependency>

<dependency>

<name>NameServer</name>

Log: remove module element for gbean reference, like the server does.

This fix allows app client to work.

This fix needs to be fed back to AG1.1.

Modified: trunk/geronimo/configs/client-security/src/plan/plan.xml

===================================================================

--- trunk/geronimo/configs/client-security/src/plan/plan.xml 2006-05-13 02:41:35 UTC (rev 2867)

+++ trunk/geronimo/configs/client-security/src/plan/plan.xml 2006-05-13 02:42:46 UTC (rev 2868)

@@ -30,7 +30,7 @@

<!-- required -->

<gbean name="SecurityService" class="org.apache.geronimo.security.SecurityServiceImpl">

<reference name="ServerInfo">

- <module>geronimo/client-system/${pom.currentVersion}/car</module>

+ <!--module>geronimo/client-system/${pom.currentVersion}/car</module-->

<name>ServerInfo</name>

</reference>

<attribute name="policyConfigurationFactory">org.apache.geronimo.security.jacc.GeronimoPolicyConfigurationFactory</attribute>

@@ -93,7 +93,7 @@

</lc:login-config>

</xml-reference>

<reference name="ServerInfo">

- <module>geronimo/client-system/${pom.currentVersion}/car</module>

+ <!--module>geronimo/client-system/${pom.currentVersion}/car</module-->

<name>ServerInfo</name>

</reference>

<reference name="LoginService">

Log:

client-corba has a securityserver reference, and needs a dependency on client-security to get it.

This fix needs to be fed back to AG1.1

Modified: trunk/geronimo/configs/client-corba/project.xml

===================================================================

--- trunk/geronimo/configs/client-corba/project.xml 2006-05-12 18:55:17 UTC (rev 2866)

+++ trunk/geronimo/configs/client-corba/project.xml 2006-05-13 02:41:35 UTC (rev 2867)

@@ -72,6 +72,15 @@

</dependency>

<dependency>

<groupId>geronimo</groupId>

+ <artifactId>client-security</artifactId>

+ <version>${geronimo_version}</version>

+ <type>car</type>

+ <properties>

+ <geronimo.import>true</geronimo.import>

+ </properties>

+ </dependency>

+ <dependency>

+ <groupId>geronimo</groupId>

<artifactId>geronimo-system</artifactId>

<version>${geronimo_version}</version>

</dependency>



 
On 5/10/06, Ted Kirby <[EMAIL PROTECTED]> wrote:
Looks like MagicGBall has not been run in a while... I changed the xml namespaces from 1.0 to latest 1.1 levels to get past my first problem with depploying.
Now I get:
 
deploy distribute magicGball\target\magicGball-1.1-SNAPSHOT.ear magicGball\target\plan\magicgball-corba-nosec-plan.xml
 

Error: Operation failed: org.apache.xmlbeans.XmlException:
    Invalid deployment descriptor: [error: cvc-complex-type.2.4a:
    Expected element
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1'
    instead of
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/j2ee/application-1.1'
    here, error: cvc-complex-type.2.4a: Expected element
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1'
    instead of
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/j2ee/application-1.1'
    here, error: cvc-complex-type.2.4a: Expected element
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1'
    instead of
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/j2ee/application-1.1'
    here, error: cvc-complex-type.2.4a: Expected element
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1'
    instead of '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/security-1.1'
    here, error: cvc-complex-type.2.4c: Expected element
    '[EMAIL PROTECTED]://geronimo.apache.org/xml/ns/deployment-1.1'
    before the end of the content]

    Descriptor: <xml-fragment
    xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-1.1 "
    xmlns:nam=" http://geronimo.apache.org/xml/ns/naming-1.1"
    xmlns:sec=" http://geronimo.apache.org/xml/ns/security-1.1">

      <app:module>

        <app:ejb>magicGball-ejb-1.1-SNAPSHOT.jar</app:ejb>

        <openejb-jar
    xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1 ">

          <enterprise-beans>

            <session>

              <ejb-name>MagicGBall</ejb-name>

              <jndi-name>MagicGBall</jndi-name>

              <tss-link>IdentityTokenNoSecurity</tss-link>

            </session>

          </enterprise-beans>

        </openejb-jar>

      </app:module>

      <app:module>
...

 

I suspect magicgball/project.xml needs some work. 

Should geronimo-packaging-plugin or geronimo-deployment-plugin be used?

Can/should maven generate the target plan?  This would be best.  For now, I will try to craft the proper <dep:environment> element by hand.

 
 

<?xml version="1.0" encoding="UTF-8"?>

<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.1";>

<dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1";>
    <dep:moduleId>
      <dep:groupId>geronimo</dep:groupId>
      <dep:artifactId>${pom.artifactId}-NoSec</dep:artifactId>
      <dep:version>${pom.currentVersion}</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies>
      <dep:dependency>
        <dep:groupId>geronimo</dep:groupId>
        <dep:artifactId>mGbServerSecurity</dep:artifactId>        
        <dep:type>car</dep:type>
      </dep:dependency>
    </dep:dependencies>
 </dep:environment>
 
   <module>
        <ejb>magicGball-ejb-${geronimo_version}.jar</ejb>
        <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1";>
        
 			<dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1";>
        		<dep:moduleId>
          			<dep:groupId>default</dep:groupId>
          			<dep:artifactId>MagicGBallEJB</dep:artifactId>
          			<dep:version>${pom.currentVersion}</dep:version>
          			<dep:type>car</dep:type>
        		</dep:moduleId>
        		<dep:dependencies>
          			<dep:dependency>
            			<dep:groupId>geronimo</dep:groupId>
            			<dep:artifactId>mGbServerSecurity</dep:artifactId>            			
            			<dep:type>car</dep:type>
          			</dep:dependency>
        		</dep:dependencies>        
      		</dep:environment>

            <enterprise-beans>
                <session>
                    <ejb-name>MagicGBall</ejb-name>
                    <jndi-name>MagicGBall</jndi-name>
                    <tss-link>IdentityTokenNoSecurity</tss-link>
                </session>
            </enterprise-beans>
        </openejb-jar>
    </module>

    <module>
        <web>magicGball-${geronimo_version}.war</web>
        <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1";>
        
        	<dep:environment xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1";>
        		<dep:moduleId>
          			<dep:groupId>default</dep:groupId>
          			<dep:artifactId>MagicGBallWAR</dep:artifactId>
          			<dep:version>${pom.currentVersion}</dep:version>
          			<dep:type>car</dep:type>
        		</dep:moduleId>        		   
      		</dep:environment>
      		
            <context-priority-classloader>false</context-priority-classloader>
        </web-app>
    </module>

    <module>
        <java>magicGball-client-${geronimo_version}.jar</java>
         <application-client  xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.1";>
         
            <client-environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1";>
                <moduleId>
                    <groupId>${pom.groupId}</groupId>
                    <artifactId>${pom.artifactId}-NoSec-client</artifactId>
                    <version>${pom.currentVersion}</version>
                    <type>car</type>
                </moduleId>
                <dependencies>
                	<dependency>
        				<groupId>geronimo</groupId>
        				<artifactId>mGbClientSecurity</artifactId>        
        				<type>car</type>
      				</dependency>
      			</dependencies>
            </client-environment>
            <server-environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1";>
                <moduleId>
                    <groupId>${pom.groupId}</groupId>
                    <artifactId>${pom.artifactId}-NoSec-server</artifactId>
                    <version>${pom.currentVersion}</version>
                    <type>car</type>
                </moduleId>
            </server-environment>
            
            <ejb-ref>
                <ref-name>mGball</ref-name>
                <ns-corbaloc>corbaloc::localhost:1050/NameService</ns-corbaloc>
                <name>MagicGBall</name>
                <css-link>NoSecurity</css-link>
            </ejb-ref>
            <realm-name>client-properties-realm</realm-name>
            <callback-handler>org.acme.MagicGBallCallbackHandler</callback-handler>
        </application-client>
        
    </module>

    <security>
        <default-principal>
            <principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="system"/>
        </default-principal>
        <role-mappings>
            <role role-name="admin">
                <principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="admin" designated-run-as="true"/>
            </role>
        </role-mappings>
    </security>

</application>
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2004-2005 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.
-->

<!-- $Rev: 405556 $ $Date: 2006-05-09 18:24:28 -0400 (Tue, 09 May 2006) $ -->

<!--
CSSBean examples for app client
-->
<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1";>

<environment>
    <moduleId>
      <groupId>geronimo</groupId>
      <artifactId>mGbServerSecurity</artifactId>
      <version>1.1-SNAPSHOT</version>
      <type>car</type>
    </moduleId>
    <dependencies>
      <dependency>
        <groupId>geronimo</groupId>
        <artifactId>j2ee-corba</artifactId>
        <type>car</type>
      </dependency>        
    </dependencies>
    <hidden-classes/>
    <non-overridable-classes/>
  </environment>
  
  <gbean name="IdentityTokenNoSecurity" class="com.ibm.bluewash.ibmorb.TSSBeanBase">
        <attribute name="POAName">IdentityTokenNoSecurity</attribute>
        <reference name="Server">
            <name>UnprotectedServer</name>
        </reference>
        <xml-attribute name="tssConfig">
            <tss:tss xmlns:tss="http://www.openejb.org/xml/ns/corba-tss-config-2.0"; xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1";>
                <tss:default-principal>
                    <sec:principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="guest"/>
                </tss:default-principal>
                <tss:compoundSecMechTypeList>
                    <tss:compoundSecMech>
                        <tss:sasMech>
                            <tss:identityTokenTypes>
                                <tss:ITTAnonymous/>
                                <tss:ITTPrincipalNameGSSUP principal-class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal"/>
                                <tss:ITTDistinguishedName/>
                                <tss:ITTX509CertChain/>
                            </tss:identityTokenTypes>
                        </tss:sasMech>
                    </tss:compoundSecMech>
                </tss:compoundSecMechTypeList>
            </tss:tss>
        </xml-attribute>        
    </gbean>
   
</module>
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2004-2005 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.
-->

<!-- $Rev: 405556 $ $Date: 2006-05-09 18:24:28 -0400 (Tue, 09 May 2006) $ -->

<!--
CSSBean examples for app client
-->
<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.1";>

<environment>
    <moduleId>
      <groupId>geronimo</groupId>
      <artifactId>mGbClientSecurity</artifactId>
      <version>1.1-SNAPSHOT</version>
      <type>car</type>
    </moduleId>
    <dependencies>
      <dependency>
        <groupId>geronimo</groupId>
        <artifactId>client-corba</artifactId>
        <type>car</type>
      </dependency>           
    </dependencies>
    <hidden-classes/>
    <non-overridable-classes/>
  </environment>

<!-- a few sample css beans for the app client -->
 <!-- 
    <gbean name="SSLClientCert" class="com.ibm.bluewash.ibmorb.CSSBeanBase">
        <reference name="ThreadPool">
            <module>geronimo/client/${pom.currentVersion}/car</module>
            <name>DefaultThreadPool</name>
        </reference>
        <reference name="TransactionContextManager">
            <module>geronimo/client/${pom.currentVersion}/car</module>
            <name>TransactionContextManager</name>
        </reference>
        <attribute name="configAdapter">org.openejb.corba.sunorb.SunORBConfigAdapter</attribute>
        <attribute name="description">SSLClientCert</attribute>
        <xml-attribute name="nssConfig">
            <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></css:requires>
                        </css:SSL>
                    </css:compoundSecMech>
                </css:compoundSecMechTypeList>
            </css:css>
        </xml-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 EstablishTrustInClient</css:requires>
                        </css:SSL>
                        <css:sasMech>
                            <css:ITTAbsent/>
                        </css:sasMech>
                    </css:compoundSecMech>
                </css:compoundSecMechTypeList>
            </css:css>
        </xml-attribute>
    </gbean>

    <gbean name="SSLClientPassword" class="com.ibm.bluewash.ibmorb.CSSBeanBase">
        <reference name="ThreadPool">
            <module>geronimo/client/${pom.currentVersion}/car</module>
            <name>DefaultThreadPool</name>
        </reference>
        <reference name="TransactionContextManager">
            <module>geronimo/client/${pom.currentVersion}/car</module>
            <name>TransactionContextManager</name>
        </reference>
        <attribute name="configAdapter">org.openejb.corba.sunorb.SunORBConfigAdapter</attribute>
        <attribute name="description">SSLClientPassword</attribute>
        <xml-attribute name="nssConfig">
            <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></css:requires>
                        </css:SSL>
                    </css:compoundSecMech>
                </css:compoundSecMechTypeList>
            </css:css>
        </xml-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 EstablishTrustInClient</css:supports>
                            <css:requires>Integrity Confidentiality</css:requires>
                        </css:SSL>
                        <css:GSSUPDynamic domain="default"/>
                        <css:sasMech>
                            <css:ITTAbsent/>
                        </css:sasMech>
                    </css:compoundSecMech>
                </css:compoundSecMechTypeList>
            </css:css>
        </xml-attribute>
    </gbean>
     -->
    <gbean name="NoSecurity" class="com.ibm.bluewash.ibmorb.CSSBeanBase">
        <reference name="ThreadPool">
            <!--module>geronimo/client/${pom.currentVersion}/car</module-->
            <name>DefaultThreadPool</name>
        </reference>
        <reference name="TransactionContextManager">
            <!--module>geronimo/client/${pom.currentVersion}/car</module-->
            <name>TransactionContextManager</name>
        </reference>
        <attribute name="configAdapter">org.openejb.corba.sunorb.SunORBConfigAdapter</attribute>
        <attribute name="description">NoSecurity</attribute>
        <attribute name="cssArgs"></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></css:requires>
                        </css:SSL>
                    </css:compoundSecMech>
                </css:compoundSecMechTypeList>
            </css:css>
        </xml-attribute>
    </gbean>
   
</module>

Reply via email to