thisis the code i have written in my sessionbean class...
Context t = new InitialContext(); System.out.println("hi u r in hellosessionbean after context"+message);
TopicConnectionFactory tpc = (TopicConnectionFactory) t.lookup("helloconfactory"); System.out.println("hi u r in hellosessionbean after connectionfactory");
TopicConnection con = tpc.createTopicConnection(); con.start(); System.out.println("hi u r in hellosessionbean after topic onnection");
TopicSession sess = con.createTopicSession(false,Session.AUTO_ACKNOWLEDGE); System.out.println("hi u r in hellosessionbean after topic sesson");
=================== Problem down below ================================================= Topic topic = (Topic) t.lookup("hellotopic"); ================================================== System.out.println("hi u r in hellosessionbean after topic ");
this is the piece of code i worte to create the topic connection...
i dont understand it is stuck before topic creation where ever i put its declaration....