[jboss-jira] [JBoss JIRA] Commented: (JBAS-4903) EJB 2.1 view cannot be realized
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Tue Nov 6 15:47:57 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-4903?page=comments#action_12386265 ]
Andrew Lee Rubinger commented on JBAS-4903:
-------------------------------------------
I've fixed the failing test jbws944.
Have left the exclude file uncommented as it was, and have allowed the line "FIXME: [JBCTS-540] EJB3 proxy does not implement the Home interface" to remain until verified by the WS team that this has been addressed.
> EJB 2.1 view cannot be realized
> -------------------------------
>
> Key: JBAS-4903
> URL: http://jira.jboss.com/jira/browse/JBAS-4903
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Andrew Lee Rubinger
> Fix For: JBossAS-5.0.0.Beta3
>
>
> [tdiesler at tddell jbossws-native-2.0.2]$ ant -Dtest=jaxws/jbws944 test
> 19:09:36,857 INFO [MainDeployer] deploy, url=file:/home/tdiesler/svn/jbossws/stack/native/branches/jbossws-native-2.0.2/output/tests/libs/jaxws-jbws944.jar
> 19:09:38,246 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:jar=jaxws-jbws944.jar,name=FooBean01,service=EJB3 with dependencies:
> 19:09:38,246 INFO [MCKernelAbstraction] and supplies:
> 19:09:38,247 INFO [MCKernelAbstraction] Class:org.jboss.test.ws.jaxws.jbws944.EJB3RemoteHome
> 19:09:38,247 INFO [MCKernelAbstraction] Class:org.jboss.test.ws.jaxws.jbws944.EJB3RemoteInterface
> 19:09:40,992 INFO [EJBContainer] STARTED EJB: org.jboss.test.ws.jaxws.jbws944.EJB3Bean01 ejbName: FooBean01
> 19:09:41,107 INFO [EJBContainer] STOPPED EJB: org.jboss.test.ws.jaxws.jbws944.EJB3Bean01 ejbName: FooBean01
> 19:09:41,114 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:jar=jaxws-jbws944.jar,name=FooBean01,service=EJB3 state=Create
> java.lang.RuntimeException: org.jboss.test.ws.jaxws.jbws944.EJB3Bean01 defines home but provides no local/remote interfaces extending javax.ejb.EJBLocalObject/javax.ejb.EJBObject; EJB 2.1 view cannot be realized
> at org.jboss.ejb3.session.BaseSessionProxyFactory.ensureEjb21ViewComplete(BaseSessionProxyFactory.java:139)
> at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.getInterfaces(StatelessRemoteProxyFactory.java:82)
> at org.jboss.ejb3.stateless.BaseStatelessProxyFactory.init(BaseStatelessProxyFactory.java:179)
> at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.init(StatelessRemoteProxyFactory.java:114)
> at org.jboss.ejb3.stateless.BaseStatelessProxyFactory.start(BaseStatelessProxyFactory.java:228)
> at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.start(StatelessRemoteProxyFactory.java:121)
> at org.jboss.ejb3.session.ProxyDeployer.start(ProxyDeployer.java:82)
> at org.jboss.ejb3.session.SessionContainer.start(SessionContainer.java:211)
> at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:124)
> @WebService(name = "EJB3Bean", serviceName = "EJB3BeanService", targetNamespace = "http://org.jboss.ws/jbws944")
> @WebContext(contextRoot = "/jaxws-jbws944", urlPattern = "/FooBean01")
> @SOAPBinding(style = SOAPBinding.Style.RPC)
> @Remote(EJB3RemoteInterface.class)
> @RemoteHome(EJB3RemoteHome.class)
> @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface")
> @Stateless(name = "FooBean01")
> public class EJB3Bean01 implements EJB3RemoteInterface
> {
> @WebMethod
> public String echo(String input)
> {
> return input;
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list