R
reddeagle
Hi All,
I appreciate this is a trivial task but any help would be appreciated.
i am working on a college project that will be using jms and jboss. i
have started my jboss server no problems
I have opened my eclipse java project and create a simple class to get
the connection factory.
try {
InitialContext ic;
QueueConnectionFactory cf;
ic = new InitialContext();
cf = (QueueConnectionFactory)ic.lookup("ConnectionFactory");
} catch (NamingException e) {
System.out.println("JNDI lookup failed: " + e.toString());
}
No matter what i do i get an exception at ic.lookup.
Am i missing something really fundamental here. Apologies in advance
for this one.
Thanks in advance.
Redd
I appreciate this is a trivial task but any help would be appreciated.
i am working on a college project that will be using jms and jboss. i
have started my jboss server no problems
I have opened my eclipse java project and create a simple class to get
the connection factory.
try {
InitialContext ic;
QueueConnectionFactory cf;
ic = new InitialContext();
cf = (QueueConnectionFactory)ic.lookup("ConnectionFactory");
} catch (NamingException e) {
System.out.println("JNDI lookup failed: " + e.toString());
}
No matter what i do i get an exception at ic.lookup.
Am i missing something really fundamental here. Apologies in advance
for this one.
Thanks in advance.
Redd