Post your ejb-jar.xml and jboss.xml showing the <resource-ref> definition.
I assume you don't have one of these.
PS. This is an ejb question, your are in the wrong forum.
Hi adrian I dont have any <resource-ref> definition in neither ejb-jar.xml or jboss.xml.
Am using XDoclet, so how could I solve this?
Anyway i tried like this with XDoclet:
But still I got the same error?
Stop wasting people's time. I'm sure you can use search like I can.
I allready seached the google to find a solution to the error and couldn't find anything.
Then I asked here and why is that a problem for U?
For other people who might be interested in the same solution
the search above (which I did for the questioner) reveals the following:
The first link shows the xdoclet docs for jboss.resource-ref
The fourth link shows a generic solution.
The fifth link shows eactly what you need to do in the a specific case.
* @jboss.resource-ref res-ref-name="jdbc/MySqlDS"
Mr aslani you are either blind or incompetent. I doubt I will be wasting
my time answering any of your future questions.
Then don't.... lol
Hmm... I think "mr" Adrian needs another hobby. The way you are talking to other peoples is just making me sick. Aslani is asking a simple question (in the wrong forum, agreed) and is being polite in his comments.
If you dont wanna help people, then dont. But dont tell us. I personally have no interest in knowing, that your ego is to big for all "lowIQ" people.
Search in JBoss forums:
Search 1: " where author='billen' "
Search 2: " where email@example.com' "
Result: "Search found 4148 matches"
But don't worry, next time NukesForums will refresh its search engine DB, you will appear having 2 posts, both of them really helpful to the community, not like this precious Adrian, bored of people who cannot read after having answered to more than 4000 posts.
That just dont make sence. My point is, that you shall not treat other people the way adrian is doing. I know adrian is good and being part of JBoss development, but that is no excuse for bad manners.
It's not about ego or being bored.
It's about time wasters who are not prepared to do their own work.
We could answer every simple question posted in every wrong forum very politely,
regardless of how many times the question has been posted before.
We would end up doing nothing else but "holding the hand" of every incompetent,
when we could be helping people with real problems.
If you are not prepared to take hints like "you are in the wrong forum"
or "use search" - especially when the search is given to you.
Don't be surprised if we get annoyed.
Mr Billen, I'm sorry if you offended, but I'm trying my best to get
Mr Aslani to get off his lazy fat arse.
simple question (in the wrong forum, agreed) and is being polite in his comments.
There are so many people out there that just operate in a "I don't want to read faq documents and I don't want to use search and I also don't want to read the articles posted within the last day, but I want a solution NOW. And no I don't want to pay in any way for it".
I can understand Adrian's reaction.
But I dont understand how you can make that assumption, that Aslani is either incompetent or have not tried his best in searching for an answer. I myself only ask in forums, when I have tried all other options. But not all documentations is that well written (do I have to mention xdoclet?).