[jboss-user] [Beginners Corner] - Where in the world are the Jboss5 jars in some maven2 repo?

2008-11-05 Thread rickcr
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=bbop=viewtopicp=4187183#4187183 Reply to the post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - With JPA, is there an easy way to force nested lazy collecti

2008-10-25 Thread rickcr
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

[jboss-user] [Beginners Corner] - Is JBoss5 in a Maven repo somewhere?

2008-10-22 Thread rickcr
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

[jboss-user] [EJB 3.0] - Really confused on the Embedded concept for testing (I'm usi

2008-10-20 Thread rickcr
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

[jboss-user] [EJB 3.0] - Re: Really confused on the Embedded concept for testing (I'm

2008-10-20 Thread rickcr
Sorry this is probably in the wrong forum. Sorry about that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4183345#4183345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4183345

[jboss-user] [EJB 3.0] - Re: Question about unit testing EJB3?

2008-10-16 Thread rickcr
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

[jboss-user] [EJB 3.0] - Question about unit testing EJB3?

2008-10-15 Thread rickcr
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

[jboss-user] [EJB/JBoss] - Are these warnings on startup anything to be concerned with?

2008-10-03 Thread rickcr
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

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-02 Thread rickcr
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

[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues

2008-10-02 Thread rickcr
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=bbop=viewtopicp=4179933#4179933 View the original post :

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread rickcr
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

[jboss-user] [EJB/JBoss] - Re: Can someone look at this application? help understanding

2008-10-01 Thread rickcr
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

[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues

2008-09-30 Thread rickcr
Sorry, I apologize. The @EJB annotation is most definitely working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4179585#4179585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4179585

[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues

2008-09-30 Thread rickcr
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

[jboss-user] [EJB/JBoss] - Can someone look at this application? help understanding why

2008-09-30 Thread rickcr
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

[jboss-user] [EJB/JBoss] - Re: JBOSS 5 (rev 74649) having EJB rmote injection issues

2008-09-29 Thread rickcr
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=bbop=viewtopicp=4179472#4179472 Reply to the

[jboss-user] [JBossWS] - Re: Accessing jaxws web service gives error complaining abou

2007-07-08 Thread rickcr
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

[jboss-user] [JBossWS] - Re: Accessing jaxws web service gives error complaining abou

2007-06-30 Thread rickcr
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

[jboss-user] [JBossWS] - Accessing jaxws web service gives error complaining about no

2007-06-28 Thread rickcr
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

[jboss-user] [JBossWS] - Problem trying to use a jmx component to call my webservice

2007-05-17 Thread rickcr
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

[jboss-user] [JBossWS] - Re: If I deploy more than one webservice I get

2007-05-16 Thread rickcr
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

[jboss-user] [JBossWS] - Re: If I deploy more than one webservice I get

2007-05-15 Thread rickcr
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

[jboss-user] [JBossWS] - If I deploy more than one webservice I get Multiple context

2007-05-14 Thread rickcr
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

[jboss-user] [JBossWS] - Re: If I deploy more than one webservice I get

2007-05-14 Thread rickcr
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 :

[jboss-user] [JBossWS] - Re: If I deploy more than one webservice I get

2007-05-14 Thread rickcr
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=bbop=viewtopicp=4045639#4045639 Reply to the post :