JBoss, EJBs, remote clients and NameNotFoundException
Today we tried to access our EJBs through a remote client. Unfortunately we were not able to connect because the lookup always failed with a NameNotFoundException error. Of course we were sure that those EJBs were bound because our webapp were able to access them. After some time of investigation we finally found the cause: in our jboss.xml file we set the JNDI name to java:/<ejb>. It seems that java:/ is visible inside the JVM only. After we changed the JNDI name to simply <ejb> everything worked fine.
So here's a snippet from our jboss.xml file before:
[code]
And this is a snippet afterwards:
[code]
What's coming in JDK 1.4.2?
Read this article and you will know =)
Back from holidays
I had some very nice three weeks in Sachsen, Germany. The weather was great and we had a lot of sun. I had a lot of fun riding on my race bike through the beatiful landscape of Sachsen.
Meanwhile Don Brown contacted me and we talked about integrating my IoC stuff into struts.sf.net. Before we can add the sources we must tune them a little bit first, e.g. package renaming, code style and moving from log4j to commons-logging. Fortunately there are only a handful of files to touch so I think we can add the sources very soon.