Hi All,
I am new to EJB and facing same prob while looking up the rms connection factory. Can any one knw whts going wrong
Following line gives the excetion
QueueConnectionFactory factory = (QueueConnectionFactory) ctx.lookup(“qConnFactory”);
Exception
javax.naming.CommunicationException: Can’t find SerialContextProvider [Root exception is java.lang.RuntimeException: Cannot export transaction having non-XA resource: 2-phase commit not possible.]
at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:164)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:409)
at javax.naming.InitialContext.lookup(InitialContext.java:392)