Okay,
another problem occured. Although the function itself may be called,
the injects inside dont seem to work:
The @EJB-call to my class works well, however the entityManager may
not be initialized. I tryed both annotations:
@PersistenceUnit(unitName = "sung.app.kylintv.ejb")
p
Hi,
1 step closer :-) Reading through the descriptions once more:
I forgot to copy my ejb-class-files into WEB-INF/classes/... After
this, the function is finally called my code works out fine like this.
So it is important, to not only import the created .jar-files but,
include your class-files a
Current status:
As for now, I did come as far, as deploy is ok, and all classes seem
to exist. However my current problem is, that no injection seems to
work out:
ServiceImpl:
@EJB(mappedName = "sung/app/kylintv/product" )
private Product product;
// public void setProduct(P
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 u
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:
Hi Norman,
1) As you see in your log -> java.lang.NoClassDefFoundError:
sung/app/kylintv/product/Product , one of your Classes or package can't be
found by the server runtime.
Are you sure that your *.war is well generated ?
Open your *.war with a ZIP utility tool and check if there is a
'Produc
correction:
STEP 4.) folder: WEB-INF/lib of course.
The error remains the same.
On 15 Sep., 17:24, Norman Klingspor
wrote:
> Hello,
>
> I'm trying to establish a shop-system through gwt. In Ecplise running
> on jBoss 6.1.0.Final, GWT 2.4
>
> In my first approach I wanted to integrate my ejb-str
Hello,
I'm trying to establish a shop-system through gwt. In Ecplise running
on jBoss 6.1.0.Final, GWT 2.4
In my first approach I wanted to integrate my ejb-structures from the
originial project. As a result I:
1.) created a .ejb project and integrated all classes relevant
from my original proje
Hello,
I have written what was supposed to be a short walkthrough on
integrating Google Web Toolkit with JBoss and EJB3, but it turned out
to be a bit longer than I expected.
This walkthrough ultimately lets you use some of the nicer Eclipse
tools such as start/stop server, debugging the live web-
Hi, could someone help me pls.
I create dynamic web project in eclipse. Start jboss server from
eclipse( view servers and add to it my project). In cypal run
configuration i set port 8080 and uncheck use built in server in order
to use my jboss).
When i start the jboss from eclipse it deploys me
10 matches
Mail list logo