... I'm still scratching my head here, and it's getting even more confusing:
I've got a InitialContext.lookup call in a JNDIUtil class... and now it turns out that for some String name = "Hello"
name = name.concat(" World!");
IS NOT THE SAME AS
In the latter instance the look-up is done on "Hello"! :|
Am I coding Java?! Waaa... what's going on?!
Look, obviously got one of the following broken:
* brain :-)
In either case, this is not a JBoss or EJB issue.
Depending upon the problem, the solution will come from:
* the JDK vendor
* medical help :-)
What makes you think anybody in an EJB forum would be interested in this problem?
Much less, when you post zero information beyond
your own assertion that something strange is happening.
e.g. You don't even provide the JDK version.
Don't post it, there's is nothing we can do to fix your JDK.
I do admit (and, in written, did in my first post) that I'm relatively fresh to J2EE, and as such :) take the faulty brain joke with a pinch of salt... especially since the second post was hasty, as it did turn out to be "user error" :| (read: disregard second post, and pardon for littering).
It did not occure to me that I may be posting about a JBoss error. I knew it was most likely something I was doing, and thought that real J2EE developer glancing at my very brief pseudo-example would be able to quickly point out what I was doing wrong.
On that note, didn't realize that these forums were limited to posts on JBoss technical problems... will figure out my original problem outside, and will keep any further J2EE beginner question to myself ;). Mea culpa.
Have a good weekend Adrian,
P.S. My JDK/OS is pretty standard (Sun 1.5.0_04 + Linux). If I had any doubts about those, You're right Adrian, I wouldn't post here.
There is a perfectly good "beginners corner" where you can dump "dumb" questions
to your heart's content ;-)