This content has been marked as final.
Show 3 replies
-
1. Re: Empty name segment is not allowed for env error in WildFly 8.2
valsaraj007 Jan 2, 2015 7:27 AM (in response to valsaraj007)@Resource(name="jms/JmsXA")
private ConnectionFactory connectionFactory;
@Resource(name="queue/test")
private Queue testQueue;
The resources are injected in MDB like this.
-
2. Re: Empty name segment is not allowed for env error in WildFly 8.2
jaikiran Jan 2, 2015 7:30 AM (in response to valsaraj007)1 of 1 people found this helpfulPost the entire exception stacktrace and the contents of ejb-jar.xml and jboss-ejb3.xml if those files are present.
-
3. Re: Empty name segment is not allowed for env error in WildFly 8.2
valsaraj007 Jan 6, 2015 3:58 AM (in response to jaikiran)Thanks jaikiran.
There was a problem in boss-ejb3.xml. I have replaced <jndi-name> value queue/test by java:/queue/test. This fixed the problem.