Someone had pointed me to http://repository.jboss.org/maven2/jboss/[/url] but
everything I expand seems to be only for jboss4. There must be a repo for
JBoss5 jars? Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187183#4187183
Reply to the post :
h
I'm new to JPA (and Hibernate for that matter. Come from iBATIS background.)
Take a case where you have a Company object which contains a List of Employees,
and each Employee object has List of Address objects and List of Preferences
(Address and Preference would be other domain models.)
I obvi
I can't seem to find JBoss5 in the maven repository here
http://www.mvnrepository.com/search.html?query=jboss
Does it exist somewhere?
If it doesn't exist in Maven, what do I need from Maven to run the embeddable
JBoss container that fully supports EJB3? I know I need jboss-ejb3-all, but I
hav
Sorry this is probably in the wrong forum. Sorry about that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183345#4183345
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183345
__
I'm working on trying to understand how to do some more complete (I supposed
integration testing) of my application (an EJB3/JPA app deployed to JBoss5.)
Currently my maven build runs TestNG and will run some unit tests of the
stateless session beans as pojos for the JPA stuff (I call a setter i
anonymous wrote : why don't you test your EJBs the same way your client would
use them (connect to the server, get EJB, call methods)? This way, e.g your
entity manager will work, you will use the same persistence.xml as the EJB.
What's the best way to set that up? That's what I'm struggling wit
I'm working on an example lesson with JBoss5/Maven2/EJB3/JPA. I have it pretty
much complete here http://learntechnology.net/content/ejb/maven-ejb3.jsp except
I'm not showing testing yet (which I'd like to add).
I started looking at the best way to test my Stateless Session Beans that
pretty mu
I want to make sure I'm doing things the proper way in the setup of this JBoss5
EJB3 application. I'm noticing a few warnings, but googling about them hasn't
been too helpful. Just wondering if there is something I should be doing
differently to avoid the warnings or maybe they are fine and noth
In case someone is here from an archive search, my issue that jaikiran solved
was related to my web.xml web-app definition
See this post for the
detailshttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179933#4179933
View the original post :
http://www.jboss.com/index.html?module=bb&o
You're a GENIUS ! That was it!
I would have never thought it was my web.xml descriptor!!
Man, I tried so many different things !!! argghh. Oh well, hopefully this might
help someone else in the future that runs into the same issue.
I really appreciate you having taken the time to help! I'll buy
Thanks again for trying to help. (I have the feeling it's going to be something
really stupid that I'm not doing correctly in my maven build. I've looked over
the exploded ear though and it seems ok?)
Anyway, the EJB seems to deploy ok. I can access it fine grabbing it by the
jndi name from the
"jaikiran" wrote : Which version of JBoss and Java do you use? Please post the
entire exception stacktrace and the console logs when you deploy your
application with the following annotation in the servlet:
|
| @EJB(mappedName="user-administration/UserServiceBean/local")
| | private User
I'm trying to use the @EJB annotation on a stateless session bean in a servlet
and having troubles getting it to work. I've read some other posts on the issue
and supposedly it 'should' work, so I'd love some help trying to figure out
what I'm doing wrong.
I posted the simple source code here:
crap. I give up maybe I spoke to soon again. If anyone is out there please
confirm that this @EJB injection should work in a servlet (using RC2)
(Does JBoss cache things somewhere? I'm deleting my ear each time I do a deploy
to make sure I get valid changes, but maybe something else is going on.
Sorry, I apologize. The @EJB annotation is most definitely working.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179585#4179585
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179585
__
I'm curious on the status of this is well.
Just using @EJB in a servlet does not seem to work. The bug report on this
hasn't been updated that I can tell either.
Thanks for any info.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179472#4179472
Reply to th
It didn't seem to matter how I tried to access the webservice - whether using
the generated stubs, creating the service manually, or I even tried axis2
client stubs - I just had no luck when I tried to use the bean from the jmx
console. Yet, if I used this client code from a servlet there wasn't
I figured out the problem even though the errors being thrown didn't really
help. For some reason, if I start the process of calling my webserivce from a
bean annotated as JMX component, the webservice call does not work. If I start
the call from say a Servlet everything is fine. Not sure why I
This is driving me nuts. I have installed jbossws on jboss (both on 4.0.5 and
4.2). I deploy my ear and the webservice is created and I can access the wsdl.
I then use wsconsume to create some stubs. For now, I'm just trying to test
this from a client running on the same server, so I thought I'd
Thanks Heiko. That worked great. Not sure what I was doing wrong earlier when I
had tried that (using @WebContext) and wasn't able to find the wsdl. It's
working fine now, so I'll chalk my mistakes up to typical stupid human error:)
View the original post :
http://www.jboss.com/index.html?modul
I'm a bit confused what is going wrong here. I have a simple class that can
call my webservice by creating a javax.xml.ws.Service and getting a handle to
my endpoint interface. This works fine if I call this class from a servlet.
I know annotated this class so that it would show up as a JMX comp
Thanks Heiko for the information. My only question now (and pardon if this is a
very 'newbie' question) but what would I set the web context to? In other
words, do I need to make sure the various webapp wars that might be in the ear
all have web.xml definitions that point to the ejbs so that I c
Also, my webservices jar is locate din an ear file if that matters at all.
Secondly, I'm not sure why I would need to use @WebContext in order to get
this to work in 1.2.1.GA. All the standard examples I see do not mentioning
using @WebContext - which if I understand correctly is not even part
The two webservices are in the same package and packaged in the same jar. It
seems odd that things work fine in 1.2.0.SP1 but not 1.2.1.GA.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045639#4045639
Reply to the post :
http://www.jboss.com/index.html?mod
I guess this is a bug since if I use jbossws-1.2.0.SP1 I do not get this error.
The jira bug on this is still open so I guess I'll just use 1.2.0 until it is
resolved.
If this isn't a bug, though, someone please let me know:)
Thanks.
View the original post :
http://www.jboss.com/index.html?
I can deploy a simple webservice and everything works fine. If II create
another webservice in a similar manner and deploy it, I end up with a "Multiple
context root not supported" error.
This is very frustrating since I see nothing about this issue in the users
guide.
Here was an example of
26 matches
Mail list logo