This sample is the mystical Magic G Ball (tm). Ask it a question and the truth is revealed! MagicGBall uses CORBA to allow an application client to ask a question of a mystical EJB deployed in the server. Two applications and clients are provided that use different communication security: none and SSL. Both may not be deployed concurrently. Notes on the deploy command used below: It is deploy.bat or just deploy on windows, and deploy.sh in linux. The parameters "--user system --password manager" have been omitted. I have assumed that "deploy --user system --password manager login" has been run, and that you have not changed that userid/password combination. You will have to adjust your invocations accordingly. I. Insecure MagicGBall INSTALL: start Geronimo server Ensure that the module org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car is started. deploy list-modules if + org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car shows up in the output, good. if not, deploy start org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car cd %GERONIMO_HOME%\bin where %GERONIMO_HOME% is where you installed your Geronimo server. deploy deploy %magicGball_Home%\magicGball-ear\target\magicGball-ear-2.0-SNAPSHOT.ear %magicGball_Home%\magicGball-ear\target\plan\magicgball-corba-nosec-plan.xml RUN: java -Djava.endorsed.dirs=%GERONIMO_HOME%\lib\endorsed -jar client.jar org.apache.geronimo.samples/magicGBall-corba-nosec-client/2.0-SNAPSHOT/car "type your question here" This runs the no security client. UNINSTALL: deploy undeploy org.apache.geronimo.samples/magicGBall-corba-nosec/2.0-SNAPSHOT/car This stops and undeploys the no security application and client. II. Secure MagicGBall INSTALL: start Geronimo server Ensure that the module org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car is started. deploy list-modules if + org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car shows up in the output, good. if not, deploy start org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car cd %GERONIMO_HOME%\bin where %GERONIMO_HOME% is where you installed your Geronimo server. deploy deploy %magicGball_Home%\magicGball-ear\target\magicGball-ear-2.0-SNAPSHOT.ear %magicGball_Home%\\magicGball-ear\target\plan\magicgball-corba-plan.xml RUN: java -Djava.endorsed.dirs=%GERONIMO_HOME%\lib\endorsed -jar client.jar org.apache.geronimo.samples/magicGBall-corba-ssl-client/2.0-SNAPSHOT/car "type your question here" This runs the SSL security client. UNINSTALL: deploy undeploy org.apache.geronimo.samples/magicGBall-corba-ssl/2.0-SNAPSHOT/car This stops and undeploys the SSL security application and client. III. Web access To ask MagicGBall a question from a web browser: After either MagicGBall application is installed, open this URL: http://localhost:8080/magicGball/ Type your question in the Question: text box, and click the ask button. Use your browser's back button to ask another question. This sample is the mystical Magic G Ball (tm). Ask it a question and the truth is revealed! MagicGBall uses CORBA to allow an application client to ask a question of a mystical EJB deployed in the server. Two applications and clients are provided that use different communication security: none and SSL. Both may not be deployed concurrently. Notes on the deploy command used below: It is deploy.bat or just deploy on windows, and deploy.sh in linux. The parameters "--user system --password manager" have been omitted. I have assumed that "deploy --user system --password manager login" has been run, and that you have not changed that userid/password combination. You will have to adjust your invocations accordingly. I. Insecure MagicGBall INSTALL: start Geronimo server Ensure that the module org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car is started. deploy list-modules if + org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car shows up in the output, good. if not, deploy start org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car cd %GERONIMO_HOME%\bin where %GERONIMO_HOME% is where you installed your Geronimo server. deploy deploy %magicGball_Home%\magicGball-ear\target\magicGball-ear-2.0-SNAPSHOT.ear %magicGball_Home%\magicGball-ear\target\plan\magicgball-corba-nosec-plan.xml RUN: java -Djava.endorsed.dirs=%GERONIMO_HOME%\lib\endorsed -jar client.jar client.jar org.apache.geronimo.samples/magicGBall-corba-nosec-client/2.0-SNAPSHOT/car "type your question here" This runs the no security client. UNINSTALL: deploy undeploy org.apache.geronimo.samples/magicGBall-corba-nosec/2.0-SNAPSHOT/car This stops and undeploys the no security application and client. II. Secure MagicGBall INSTALL: start Geronimo server Ensure that the module org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car is started. deploy list-modules if + org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car shows up in the output, good. if not, deploy start org.apache.geronimo.configs/openejb-corba-deployer/2.0-SNAPSHOT/car cd %GERONIMO_HOME%\bin where %GERONIMO_HOME% is where you installed your Geronimo server. deploy deploy %magicGball_Home%\magicGball-ear\target\magicGball-ear-2.0-SNAPSHOT.ear %magicGball_Home%\\magicGball-ear\target\plan\magicgball-corba-plan.xml RUN: java -Djava.endorsed.dirs=%GERONIMO_HOME%\lib\endorsed -jar client.jar org.apache.geronimo.samples/magicGBall-corba-ssl-client/2.0-SNAPSHOT/car "type your question here" This runs the SSL security client. UNINSTALL: deploy undeploy org.apache.geronimo.samples/magicGBall-corba-ssl/2.0-SNAPSHOT/car This stops and undeploys the SSL security application and client. III. Web access To ask MagicGBall a question from a web browser: After either MagicGBall application is installed, open this URL: http://localhost:8080/magicGball/ Type your question in the Question: text box, and click the ask button. Use your browser's back button to ask another question.