Friday I found the answer to my problem mentioned above: As this is a connection between 2 seperate projects, I had to use the mapped-name to identify my ejb-class.
@EJB(mappedName = "sung/app/kylintv/product" ) instead of @EJB(name = "Product" ) As there are further errors coming up, I'll be using this thread for a short description of problems and their solutions until the first run is completed. I hope this'll help others like me. Norman On 16 Sep., 10:59, Norman Klingspor <norman.klings...@googlemail.com> wrote: > Hi Karim, > > thanks for the help - and you were totally right. I just made the .... > well i failed in adding compiled classes. Instead I included the > source-files :-) > > Now, that I get this far, however, another error (of course) occurs: > > My jBoss brings up a deployment error: > > DEPLOYMENTS IN ERROR: > Deployment "vfs:///D:/Development/jboss-6.1.0.Final/server/default/ > deploy/kylintv.gwt.war" is in error due to the following reason(s): > java.lang.RuntimeException: Could not resolve @EJB reference: > [EJBReference: beanInterface 'sung.app.kylintv.product.Product', > beanName 'null', mappedName 'null', lookupName 'null', owning unit > 'AbstractVFSDeploymentContext@73321136{vfs:///D:/Development/ > jboss-6.1.0.Final/server/default/deploy/kylintv.gwt.war}'] for > environment entry: env/Product in unit > AbstractVFSDeploymentContext@73321136{vfs:///D:/Development/ > jboss-6.1.0.Final/server/default/deploy/kylintv.gwt.war} > > at > org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java: > 1228) [:2.2.2.GA] > at > org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java: > 905) [:2.2.2.GA] > at > org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java: > 87) [:6.1.0.Final] > at > org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java: > 107) [:0.2.2] > at > org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java: > 135) [:6.1.0.Final] > at > org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java: > 56) [:6.1.0.Final] > at > org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java: > 827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6] > at org.jboss.bootstrap.impl.base.server.AbstractServer > $StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl- > base.jar:2.1.0-alpha-6] > at java.lang.Thread.run(Thread.java:662) [:1.6.0_25] > > Like this, there seems to be an error with my called in classes. > > relvant code-snippets: > > gwt-server: > ... private Product product; > > @EJB(name = "Product" ) > public void setProduct(Product product) > { > this.product = product; > } > ... > > ejb-source: > ... > Stateless(name="Product") > @Local(Product.class) > public class ProductHome extends HomeBase<ProductEntity> implements > Serializable, Product > { > ... > > Is there another requirement, which I didnt include? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.