Hello Pete,
i did the upgrade to 1.2.1. GA and I also changed my jboss AS to 4.0.5.
Nothing changes
Hello Iradix,
My jndi-pattern should be correct.
I still have the same problem and I just cant find any solution.
View the original post :
I think I see a potential problem. You are deploying EJBs so I'd imagine that
you are deploying them as an EAR file, but you specify your loader repository
in jboss-web.xml rather than jboss-app.xml. I don't think that will apply to
the EJBs if it's even picked up by JBoss at all. Without
Well, I'm a noob myself but the line
| javax.naming.NameNotFoundException: testPro not bound
|
catches my eye. Are you missing a
property name=jboss.entity.manager.factory.jndi.name ...
from your persistence.xml?
View the original post :
Hi Nickarls,
doesnt work, same error.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076720#4076720
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076720
___
jboss-user mailing
after reading a whole book about seam and ejb3 i still dont know the error.
what are i am doing wrong?!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076880#4076880
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076880
hi,
can't tell you why because I would love to understand it myself but the error
looks familiar. This fixed it for me:
Add one empty @Destroy @Remove method AND create an interface annotated as
@Local with all methods of your class.
(Perhaps throw an @Create in, too. But I don't thing its
the jndi-pattern here:
core:init debug=true jndi-pattern=testPro/#{ejbName}/local/
says that your EJBs will be found in JNDI under a hierarchy starting with
testPro.
This line in your stack trace:
Caused by: javax.naming.NameNotFoundException: testPro not bound
seems to say that there is
Part of the problem is that you are using Seam from the EAP (by default in
RHDS) which I think no one else here uses (everyone here probably uses
community releases). I would suggest upgrading Seam to 1.2.1.GA (it has a lot
of good fixes in it) and try with that. Ask in the RHDS forum about
this part of the exception is more helpful i think:
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
org.jnp.server.NamingServer.lookup(NamingServer.java:267)
To make a session bean (stateless or stateful) you need to add an interface
(local or remote). Read some EJB3 documentation if you need more details.
What you could add :
@Local
public interface Register {
public boolean register();
}
Implement this interface with your action.
public
Hello Vincent,
i already did that after i read some EJB documentation.
It isnt working anyway.
I am searching in the internet for 2 days now, i get pissed because i just can
imagine that i did a very newbish mistake ;)
any other suggestions?
View the original post :
What server are you deploying to?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076523#4076523
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076523
___
jboss-user mailing list
JBoss AS 4.2
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4076588#4076588
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076588
___
jboss-user mailing list
13 matches
Mail list logo