[jboss-user] [Beginner's Corner] - Re: JBoss 5.1 Question

developer.gubler do-not-reply at jboss.com
Wed Jul 6 09:28:29 EDT 2011


developer.gubler [http://community.jboss.org/people/developer.gubler] created the discussion

"Re: JBoss 5.1 Question"

To view the discussion, visit: http://community.jboss.org/message/613712#613712

--------------------------------------------------------------
I think I found the answer.  I had to modify my @Resource annotation to include the mappedName.  Thus, it looks like the following:

|  | @Resource( mappedName="java:/WebServiceContext" ) |
|  | WebServiceContext wsc;   |

Now that I have that, I am receiving a different error in the server.log.  This time it is making reference to "mapped-name is required for org.jboss.wsf.stack.cxf.addons.transports.httpserver.HttpServerTransportFactory/bus".  I don't know where to put an annotation for that.  Anyone know what I am missing here?

Thanks,
dg
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/613712#613712]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110706/09c4f380/attachment.html 


More information about the jboss-user mailing list