ecycleListener" />
>className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
Add
to the listeners. As a bonus, it will also check whether or not the
jars are in a good place as the listener is expected to be loaded at
Tomcat's startup.
Jacek
--
Jacek Laskowski
Functional languages (Clojure), Java E
Hi,
Is it possible to reuse @Stateful in a chain of calls as follows:
A client A calls a B bean that in turns calls a @Stateful C bean. How
can I get at the instance of @Stateful C in A? Is it possible at all?
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http
B that I try to test, it always fails for one Entity bean
> (Grid)
Could you show the Grid entity? I'm guessing that it may contain an
illegal name for a field.
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitu
nning in). In such situations I wish I
could leave everything aside and start hacking. Before pursuing it
further...
What's the version of openejb? Would you mind upgrading when a patched
version comes out?
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog
atch for it?
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
7;t know that. How did you find it out?
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
d. But hey, you don't have to run the
command interface for openejb remoting to work (I believe). Sorry for
throwing it all up at you with no code support.
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = C
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl
On Thu, Jan 13, 2011 at 9:46 PM, Jean-Louis MONTEIRO
wrote:
> Can you give it a try saving...
I believe you meant removing not saving, didn't you?
Jacek
--
Jacek Laskowski
Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
"small web app" to the
mailing list? I'd have a look at it if you do. It'd be a huge
time-saver.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
r, specified by a property was an acceptable
solution? Anything else?
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Why is the idea of
alternate-descriptors [1] not satisfactory? It could be that you don't
want to change the entire EJB module itself, do you? If you could
elaborate a bit more, it'd be very helpful.
[1] http://openejb.apache.org/3.0/alternate-descriptors.html
Jacek
--
Jacek Laskow
On Wed, Dec 15, 2010 at 4:11 PM, laurelkh...@gmail.com
wrote:
> Thanks so much for your effort to try and duplicate the problem.
> I am new to EJB and OpenEJB and it will be so cool to get it running! I will
> email the code to you directly.
Got the code. Thanks.
Jacek
--
Jacek
;s been a while since I've been
trying openejb and tomcat together and would love some help before
lending my hand to you.
What was the document you followed? Would you be able to attach a
complete WAR w/ the sources?
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
the full object
> graph still.
Nothing comes to my mind having seen the snippet. I've got more
questions and no answers, and guess I would have to create a test case
to see it in action and propose a solution.
Would you mind if I asked you for a simple test case to reproduce the
issue?
bean's
lifecycle. It may also extend the visibility of entities for too long,
but it's worth to give it a try and see whether more tweaks are
needed.
You may also use @Lazy annotation to mark simple fields not to be
fetched upon detachment - collection-based fields are by default lazy.
b)app? CCE seems to imply that's the case - the class is available
in two different classloaders and hence the exception.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Komitet organizacyjny warsjawa 2010 - http://warsjawa.pl
. Sorry for
not having reported it before.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Komitet organizacyjny warsjawa 2010 - http://warsjawa.pl
On Sat, Jun 19, 2010 at 8:43 AM, Ravindranath Akila
wrote:
> A bit help to get my feet wet would be really great.
See a bit more at http://openejb.apache.org/source-code.html (slightly
recent version is at
https://cwiki.apache.org/confluence/display/OPENEJB/Source+Code).
Jacek
--
Ja
be bothered with at the moment. Just check out the
source code and have it build once. Make your changes and let us know
you're ready for your first commit with our support. It will go to a
JIRA issue and after a review to the repo. It's that simple.
Jacek
--
Jacek Laskowski
N
On Sat, Jan 16, 2010 at 5:45 AM, Christian Bourque
wrote:
> I have just tried it with OpenEJB 3.1.3-SNAPSHOT and got the same error :(
Dunno what's happened. I'm quite busy this week so the earliest is the
upcoming week when I find some spare cycles. Hope you don't mind...
rong, please steer me in the right direction.
I'm so glad you're building the stack with OpenEJB, but alas I won't
be able to help you out with the problem at hand. I hope there're
people in the mailing list who will share their findings with similar
configurations and will
On Tue, Jan 5, 2010 at 12:36 AM, Jacek Laskowski wrote:
> In the upcoming days I'm going to fix it -
> https://issues.apache.org/jira/browse/OPENEJB-1128.
It took much of my time, but it's finally over. Fixed the issue so you
should be able to run your sample fine with the rec
On Mon, Jan 4, 2010 at 10:12 PM, Jacek Laskowski wrote:
> On Mon, Jan 4, 2010 at 8:16 PM, Christian Bourque
> wrote:
>
>> There you go! It's a maven project so simply run it with: mvn test
>>
>> You'll see that the second test will fail when it shouldn'
1, Errors: 0, Skipped: 0
[INFO]
[ERROR] BUILD FAILURE
[INFO]
Looking into it...will report the findings soon.
Jacek
--
Jacek Laskowski
Notatnik Pr
have a single @AroundInvoke-annotated
method. Is this a case? (I'm not sure if openejb validates it)
3. How do you execute your bean?
[1] http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/interceptors
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://wszystkojawne.pl
p.s. Szukam speca/firmy od grafiki/CSS/HTML
econded.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://wszystkojawne.pl
p.s. Szukam speca/firmy od grafiki/CSS/HTML
I can help you out with this. Could you send me the stack
trace you've been facing so I can track down when the issue originates
in? I've been thinking about converting the file-centric resource
handling to URLs for the OSGi endeavour myself so the issue cropped
exactly in time.
Jacek
hey haven't spoken up yet)
:)
Do what suits your needs (=make the changes as simple as possible so
you don't spend much time on it) and we make sure it won't break
openejb (via unit/integration tests and code review) so it can get
published in a official release.
Jacek
--
Jac
wonder how it is that
org.apache.openejb:openejb-server:jar:3.1.2-SNAPSHOT is found, but
neither is openejb-core:jar:3.1.2-SNAPSHOT? What repo do you use?
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
ssible to exclude jars
from those different envs where OpenEJB could be running within).
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
ers won't face the issue.
Jonathan, you seem to be the best to accomplish it :)
http://openejb.apache.org/faq.html
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
lution. If there'd be more than that and
we could run JWS ourselves with your help (perhaps a project with
necessary files?), that'd be even better.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
ut having an option to configure what to skip from
processing would be even better :)
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
you can't - it's
not provided. If it's JPA 1.0 (EJB 3.0), it's already available in
openejb and you don't have to configure anything - just deploy your
JPA entities and they should be fine.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
tually. It's
not about JPA2 but JPA1. Questions are always welcome so ask for more
(TM) :)
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
ibs with the EA2 with no troubles, I don't
think it would bring much value (as far as JPA 2.0's concerned).
What exactly are you interested in JPA 2.0?
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
27;s/3.1.1/3.1' and it should let you
lay your hands on it.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
e
appropriate fixes went into 3.1.1. Could you let us know how you run
the test? I'm reproducing it, but would love getting more hints in
case I'm unfortunate to achieve it.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
atasource, etc. etc). Not
> sure what we can do about that other than do our best to support the
> situations people bring to us.
I think it encourages us to use the Strategy design pattern with
GeronimoDataSourceFormat, JBossDataSourceFormat and such, so they
could be on/off to get as close
so people won't run into any issues during
their production deployments. How is it handled by other app servers?
GlassFish has a default datasource notion. What about JBAS or JOnAS or
WLS?
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
spaces. See
http://openejb.apache.org/tomcat.html for some guidance.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
penEJB mailing list, would
be to try out to run the beans in OpenEJB and see if it helped to sort
out the main issue. It might reveal some interesting stuff.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
quinox). Congrats to all the people involved. Very
appreciated.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
Eclipse-RCP-application-tt21667308.html#a21827389
Showed up as the first in my TODO list for this weekend. Thanks again
for your efforts (if that's what it really claims it is I owe you a
beer or even two :))
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
d. It is not *yet* here. Dunno
when it's available.
Why is that important for you? I do know it would make your
application modular, but wonder if there's something more beside this
(which is certainly quite enough to introduce the feature in the app).
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
2009/5/7 Gauthier Libéral :
> I would like to run OpenEJB on Equinox Framework
Could you explain a bit more on what exactly you'd expect from OpenEJB
to be run on OSGi runtime? You don't expect EJBs will be deployed as
OSGi bundles, do you?
Jacek
--
Jacek Laskowski
Notatnik Pro
rt schema generation or
cannot create the schema resource at runtime.
That's why the exception contained reference to "relation country",
but it still doesn't sound good.
BTW, you don't have to use the wrapper classes, e.g. Long for entity
fields - primitive types work fine, e.g. long.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
On Sat, Dec 27, 2008 at 8:04 PM, Mohammad Nour El-Din
wrote:
> I still can't find the attached log :S .
Dunno what's happened. Uploaded them to
http://people.apache.org/~jlaskowski/openejb.log.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
)he gets subscribed.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
r to load it as osgi bundle on the fly and give it a
whirl again. Any jar can be very easily osgi-fied with pax-runner
without any code changes.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
exactly the name is. I'd use JNDI API to query java:comp/env namespace
- list() springs to my mind - and see what there is.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
OpenEJB 3.1.1
will have it.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
, noone reported it in JIRA [1] (and
the developers missed the latest release of openjpa)? ;-) I publicly
promise when such an issue gets reported in JIRA, I'll be the first to
see if it causes any troubles.
[1] https://issues.apache.org/jira/browse/OPENEJB
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
unusable on other platforms where Sun
JDK is not available. I don't think it's the case and (without having
looked at the code) I think optional should let it go.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
On Wed, Nov 5, 2008 at 12:05 AM, ericp56 <[EMAIL PROTECTED]> wrote:
> My current problem is "caused by:"
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/commons/dbcp/BasicDataSource
Add commons-dbcp-*.jar to CLASSPATH and start it over.
Jacek
--
Jacek Lasko
ns and an instance of the MessageDrivenContext interface to
message-driven beans.
Karsten, would be willing to file a jira issue?
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl
ther openejb committers
who'd like to pick you up. I've just sent some emails around to find a
mentor for you.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
On Tue, Mar 4, 2008 at 9:22 AM, David Blevins <[EMAIL PROTECTED]> wrote:
> Last time I sent a similar note a slightly younger Jacek Laskowski
> volunteered and wrote an article on OpenEJB/Tomcat which we got
> published on O'Reilly's onjava.com. He even wound up be
ve never heard of openejb and having seen him
starred at the really concise test code for his ejbs was really
entertaining. I think many miss some openejb exposure.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
> the non-jta-data-source specified is actually a jta-data-source (i.e.
> a Resource where the 'JtaManaged' property isn't set to 'false')
Hi Dave,
He had non-jta-data-source only so I think his scenario's b).
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
openejb. Don't really know. Add
with the same value as . Remove transaction-type
element.
What's in
foo.bar.testfacade.TestFacadeImplOpenEJBTest.testPersistStrecke(TestFacadeImplOpenEJBTest.java:103)?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
EntityManager.persist() method they should be there. If they are not,
that's the issue. Without persist you should not expect to see any
entities in the db unless you execute sql scripts or something to put
them in.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
(AbstractJDBCSeq.java:60)
I guess it's because of your invalid persistence.xml setting for
java:/DefaultDS. Did you change it?
I think it should be My DataSource.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
er in which the EJB modules are loaded?
Not in a spec-compliant way. I'm not sure if you can do it in openejb
either, but would rather wait for Dave/Dain's reply before counting on
mine.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
y non-Polish speakers too.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
uch easier for
us to configure openejb (if necessary at all) so you can concentrate
on ejb3 rather than on openejb itself (which should be as minimally
time-consuming and intrusive as possible).
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
e to look at your code to give a more precise answer.
I can't believe you responded the same time as I did! Some say:
there're minds who think alike (it goes differently, but anyway it
explains why we did so too ;-)).
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
nload OpenEJB 3.0 from
http://people.apache.org/~jlaskowski/openejb-3.0.0-SNAPSHOT-bin.tar.gz.
It's a build from today's sources.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
ence"; version="1.0">
All other elements and attributes are optional. You won't be able to
override the values from persistence.xml file unless you do the job of
an ejb container, i.e. you get your hands dirty managing jpa objects,
like jpa entity manager factory and its entity managers.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
oved ejb3.0 compliance) and we're
working on releasing 3.0-beta-2. I've just built it for you so you
could give a shot and make it even better (way before it gets
released).
http://people.apache.org/~jlaskowski/openejb-3.0.0-SNAPSHOT-bin.zip
Try it out yourself and let us know how it wo
===
>
> =
> But in JeeTest.java we read this UTF-8 file by unspecified charset in the
> method readContent.
Thanks for reporting. It seems that there's something wrong with svn
client that checked out the sources. I work with pl_PL locale and the
file's got:
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
penejb3 with no m2 local repository to see whether
it's reproducible.
[EMAIL PROTECTED] /cygdrive/c/oss/openejb3
$ svn up
At revision 603548.
[EMAIL PROTECTED] /cygdrive/c/oss/openejb3
$ java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
as follows:
mvn -Dmaven.test.skip clean install
Don't forget to run the build with -Dassemble.
BTW, What documentation do you follow to build openejb? What
documentation is not provided? What do you miss as far as the
documentation's concerned?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
sers out there...
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
cialPeriod.
Nothing sprung to my mind so before I decide to reproduce it for
myself, could you send the entire stack trace of the exception.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
On Nov 26, 2007 10:21 PM, Paul Spencer <[EMAIL PROTECTED]> wrote:
> Right now just the knowledge of how things work is enough.
You can track it in http://issues.apache.org/jira/browse/OPENEJB-728 -
Standard JUnit TestCase subclass with dependency injection
annotations.
Jacek
ature to help people run annotated tests. I think the
only way to achieve it would be to run the tests with a java agent
that would intercept test class loading. Any other ideas?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
HOME/conf.
Hi,
Reported as http://issues.apache.org/jira/browse/OPENEJB-727 so you
can easily track the progress.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
ic to openejb in them so they should work in other ejb
containers with no changes. You can read about them on
http://openejb.apache.org/examples.html. If you're not satisfied with
them, write what you're after and I'll create one for you (consider it
a New Year present ;-))
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
able.
> 3) I did not find an example where the test class used DI to get the
> EJB. All of the tests got an EJB via context.lookup.
I'll look into it so one is available.
Jacel
--
Jacek Laskowski
http://www.JacekLaskowski.pl
a ejb (like
@Stateless) with its business interface and it should work fine.
See examples in
http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples for
more ejb3 examples. Read about them in
http://openejb.apache.org/examples.html. Let us know when there's no
such an example you're after.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
On 11/5/07, Casey Rayman <[EMAIL PROTECTED]> wrote:
> That would be awesome. Thanks David.
Could you send the weblogic-ejb-jar.xml you're working with? It'd be
an excellent example to start with and add more features as they're
needed.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
On 10/21/07, satsuma <[EMAIL PROTECTED]> wrote:
> Now the server is up and running, and I can continue.
...and we're awaiting your example to be included in openejb docs ;-)
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
> JdbcUrl jdbc:postgresql://localhost/test
> UserNamepostgres
> Passwordpass
>
Got it now? I intentionally removed other parts of the configuration
file to get the problem highlighted.
Okey, you asked for a solution, here it is: change Resourse to
Resource (note the doubled 's' which is incorrect). That's it!
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
ith
Hibernate not an option as far as ejb2.1's concerned? Where would
hibernate help openejb3 to mimic the target websphere 6.1 server?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
geDriven(
activationConfig = {
@ActivationConfigProperty(propertyName="destinationType",
propertyValue="javax.jms.Queue"),
@ActivationConfigProperty(propertyName="destination",
propertyValue="queue/FE_QUEUE")
}
)
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
other tasks. It's such an unsual example that only
if I see this as an fully working application I'd be able to get the
gist of it.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
On 10/17/07, Ashish Jain <[EMAIL PROTECTED]> wrote:
> Any help on this issue??
I can't help you with this, but I noticed you sent it to
[EMAIL PROTECTED] mailing list too and I'd expect more help there.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
transactions.
Awesome. I wouldn't imagine such stuff is possible in/with OpenEJB.
Even after so long with openejb I can learn new stuff. It'd be great
if you could share the app or better yet write a doc how to work with
hibernate and openejb together. Would you mind? ;-)
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
removed or we missed adding
porting it to openejb3. Could you describe how you're using the
feature?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
aged asm packages?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
at I can't understand - what jar are you thinking about?
Could you elaborate?
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
echnically possible to run with other JPA provider noone I heard of
have tried it.
> Can you please provide me with some hints? Which one is harder: modify
> Hibernate
> to use 2.2.3 or OpenEJB to use 1.5.3? :-)
I'd go for removing the older asm library in hibernate, but it's
sts that
would be run at openejb verify-sanity or such.
http://issues.apache.org/jira/browse/OPENEJB-708
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
a regular download? I hate to include something for the
> book that still has a "beta" feel to it...it really doesn't look too
> good...
Well said. It should be a priority #1 for this week.
Jacek
--
Jacek Laskowski
http://www.JacekLaskowski.pl
96 matches
Mail list logo