1.
2. If you use the default installation (and depending on the local Java setting), you must grant the following permissions in your J2SDK policy file /jre/lib/security/java.policy.
3.
4.
7. To propagate these modifications to the server, click the General tab, then the Apply Changes button. Then stop and restart the server instance.
8. If you are using a console configured in the previous section, omit this step and continue to the next step.asadmin>export AS_ADMIN_USER=admin AS_ADMIN_PASSWORD=password AS_ADMIN_HOST=localhost AS_ADMIN_PORT=4848 AS_ADMIN_INSTANCE=server1
9. In all cases, run the following commands in the asadmin interface:asadmin>create-jndi-resource --jndilookupname SSLQueueConnectionFactory --resourcetype javax.jms.QueueConnectionFactory --factoryclass com.tibco.tibjms.naming.TibjmsInitialContextFactory --enabled=true --property java.naming.provider.url=tibjmsnaming\://localhost\:7243:com.tibco.tibjms.naming.security_protocol=ssl:com.tibco.tibjms.naming.ssl_enable_verify_host=false jms/MyQcfasadmin>create-jndi-resource --jndilookupname queue.sample --resourcetype javax.jms.Queue --factoryclass com.tibco.tibjms.naming.TibjmsInitialContextFactory --enabled=true --property java.naming.provider.url=tibjmsnaming\://localhost\:7243:com.tibco.tibjms.naming.security_protocol=ssl:com.tibco.tibjms.naming.ssl_enable_verify_host=false jms/MyQueue
10. Change directory to EMS_HOME\samples\ejb\mdb\simple\src, then build and deploy the sample using the following commands:
11.
12. Change directory to EMS_HOME\domains\domain1\server1\applications\j2ee-apps\mdb-simple_1, and run this command:
14.
Copyright © TIBCO Software Inc. All Rights Reserved.