Wow! Thanks for the replies, these helped me a lot.
@Jon : I tried your suggestion, please refer to my solutions below. Thanks
so much for your time. I really appreciate it :-) And I was able to deploy
the app correctly. Here's the correct JNDI names.
INFO - Jndi(name=UserAccountFacadeRemote) --
It also looks like there are some validation errors with regard to the
@PersistenceContext usage.
ERROR - FAIL ... BudgetMatrixBean: Persistence unit not found for
@PersistenceContext(name="em", unitName=""). Available
units[ExecutiveSupport4PU, ExecutiveSupport4PU, edostPerformers-ejbPU]
Hi,
I'm not quite sure if understand the problem, but I'll have a go at
helping :)
From your output, it looks like your app isn't being deployed
correctly, and that in turn is causing the JNDI lookup to fail. I'm just
guessing here, but I think your session bean has a reference to itself
wh
Good day,
I'm having the same error. I know that some of the users resolved this and I
tried to work with those solutions, also in this blog --
http://qbeukes.blogspot.com/search/label/ejb. But I still get the error. I
hope someone can help me.
I tried the code given by David.
Enumeration ejbJars
David Blevins wrote:
>
>
> It doesn't look like the app is getting discovered with the way it's
> setup in NetBeans. OpenEJB will search for directories or jars
> containing a META-INF/ejb-jar.xml file and load those directories and
> jars as individual ejb jars. We have NetBeans users
Good day,
The failing copy was extracted on a vfat which was configured to
automatically convert paths to lower cases ( I changed that now ).
Where should that be documented in?
Thanks,
Franz
David Blevins wrote:
>
>
> On Oct 11, 2008, at 9:39 AM, franz see wrote:
>
>>
>> Good day,
>>
>> T
On Oct 11, 2008, at 9:39 AM, franz see wrote:
Good day,
The script you gave me passed with no problem. And after comparing
with my
failing copy, I found out what the reason is.
My `meta-inf` were in all small caps, and because of that openejb
failed to
detect `META-INF/ejb-jar.xml`.
A
Good day,
The script you gave me passed with no problem. And after comparing with my
failing copy, I found out what the reason is.
My `meta-inf` were in all small caps, and because of that openejb failed to
detect `META-INF/ejb-jar.xml`.
After renaming my `meta-inf` to `META-INF`, the test pas
On Oct 9, 2008, at 9:42 PM, franz see wrote:
I figured out what the solution is,
The setUp() of the test cases are missing this line
properties.setProperty("openejb.deployments.classpath.include",
".*simple-stateless/target/classes.*");
I don't know why though ( I don't know how openej
I figured out what the solution is,
The setUp() of the test cases are missing this line
> properties.setProperty("openejb.deployments.classpath.include",
> ".*simple-stateless/target/classes.*");
>
I don't know why though ( I don't know how openejb works ). But the
interceptors example works
Good day,
I am getting the same problem. And my system is able to find the
META-INF/ejb-jar.xml as seen in the last part of the surefire reports ( not
unless that's the wrong ejb-jar.xml that I'm supposed to look for ).
I downloaded openejb-examples-3.0 ( [1] ), extracted the archive, and run
`m
On Oct 9, 2008, at 4:32 AM, Bernhard Humm wrote:
init:
deps-jar:
compile:
compile-test:
Testsuite: org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.0build: 20080408-04:13
http://openejb.apache.org/
INFO - openejb.home = C:\temp\NetBeans\OpenEJBTest
INFO - openejb.base = C:\temp\NetBe
David Blevins wrote:
>
>
> Could you post the log output from the test run?
>
> -David
>
>
init:
deps-jar:
compile:
compile-test:
Testsuite: org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.0build: 20080408-04:13
http://openejb.apache.org/
INFO - openejb.home = C:\temp\NetBeans\
On Oct 8, 2008, at 2:09 PM, Bernhard Humm wrote:
This is what I did first, with the same effect: NameNotFoundException
Could you post the log output from the test run?
-David
This is what I did first, with the same effect: NameNotFoundException
David Blevins wrote:
>
>
> Instead of using the ant build.xml in NetBeans, try having NetBeans
> run the test case directly.
>
> -David
>
>
--
View this message in context:
http://www.nabble.com/OpenEJB-with-JUnit-f
On Oct 8, 2008, at 3:26 AM, Bernhard Humm wrote:
I am trying to use OpenEJB with JUnit from NetBeans IDE. This is
what I have
done:
1. Download openejb-3.0.zip and openejb-examples-3.0.zip from
openejb.apache.org and unzip.
2. Open new NetBeans Java Project with Existing Sources (source and
I am trying to use OpenEJB with JUnit from NetBeans IDE. This is what I have
done:
1. Download openejb-3.0.zip and openejb-examples-3.0.zip from
openejb.apache.org and unzip.
2. Open new NetBeans Java Project with Existing Sources (source and test
directories from openejb-examples)
3. Add openejb
17 matches
Mail list logo