|
| 1. Created Bus ->myBus
2. Bus members -> assigned server to bus(Node=GSO0495809DNode01, Server=server1 )
message engine is running.
3. JMS Providers -> Default messaging -> Queue Connection Factory
Name : My Queue Connection Factory
JNDI Name: myQCF
BusName : myBus
Provider endpoints : 167.230.98.52:7276:BootstrapBasicMessaging
I am not putting queue info because my problem is on QCF.createConnection()
Standalone Client Program runing from RAD after adding all jars of websphere in the classpath
----------------------------------------------------------------------------------------------
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
env.put(Context.PROVIDER_URL, "iiop://localhost:2809");
Context initialContext = new InitialContext(env);
ConnectionFactory connectionFactory = (ConnectionFactory)initialContext.lookup("myQCF");
log("creating connection ..");
Connection conn = connectionFactory.createConnection();
To verify my JMS Configuration, I tested with JSP and MDB, all working fine except Standalone client.
If you need, any more info please let me know.
Thanks
|
|