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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to