Hi again! Maybe I was not clear enough or I didn't gave enough information! Here is some additional errorcode :-)
>>javax.naming.NameNotFoundException: localhost not bound
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
My question is, how to configure JBoss, so that it binds the localhost? Or where to configure?? Or is something else causing the problem?? I hope someone will be able to help me!!
It is unclear what you are trying to do, or why.
It seems that you are trying too look up "localhost" in JNDI. That should normally fail since nothing (normally) puts it there in the first place.