Re: Fatal Error

2012-10-28 Thread Jacek Laskowski
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

How @Stateful instance be reused?

2012-01-24 Thread Jacek Laskowski
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

Re: EntityBean conflict when a persistent property exists called "deleted"

2011-10-18 Thread Jacek Laskowski
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

Re: JMS and peristent messages

2011-09-23 Thread Jacek Laskowski
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

Re: FW: tag not put in.

2011-09-23 Thread Jacek Laskowski
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

Re: Shutdown embedded OpenEJB gracefully

2011-09-20 Thread Jacek Laskowski
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

Re: Shutdown embedded OpenEJB gracefully

2011-09-20 Thread Jacek Laskowski
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

Re: How to access httpejbd port in the code

2011-03-30 Thread Jacek Laskowski
Jacek -- Jacek Laskowski Java EE, functional languages and IBM WebSphere - http://blog.japila.pl Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl

Re: Getting An error while starting embedded OpenEJB 3.1.4

2011-01-14 Thread Jacek Laskowski
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

Re: Openejb web application and jndi.properties problem

2010-12-21 Thread Jacek Laskowski
"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

Re: Support for alt-dd element in application.xml

2010-12-20 Thread Jacek Laskowski
r, specified by a property was an acceptable solution? Anything else? Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://jaceklaskowski.pl

Re: Support for alt-dd element in application.xml

2010-12-16 Thread Jacek Laskowski
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

Re: Not getting TestServlet to see the beans - IntialContext lookup

2010-12-15 Thread Jacek Laskowski
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

Re: Not getting TestServlet to see the beans - IntialContext lookup

2010-12-15 Thread Jacek Laskowski
;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

Re: Transactions in Embedded OpenEJB (Lazy Loading issue)

2010-12-12 Thread Jacek Laskowski
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?

Re: Transactions in Embedded OpenEJB

2010-12-11 Thread Jacek Laskowski
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.

Re: Testing WebService with 3.1.3

2010-10-22 Thread Jacek Laskowski
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

Re: deployment in 3.1.3

2010-10-22 Thread Jacek Laskowski
. Sorry for not having reported it before. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://jaceklaskowski.pl Komitet organizacyjny warsjawa 2010 - http://warsjawa.pl

Re: Interested in contributing?

2010-06-19 Thread Jacek Laskowski
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

Re: Interested in contributing?

2010-06-07 Thread Jacek Laskowski
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

Re: method interceptor is never called

2010-01-18 Thread Jacek Laskowski
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...

Re: Transaction Problems with OpenEJB-Hibernate on Tomcat

2010-01-11 Thread Jacek Laskowski
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

Re: method interceptor is never called

2010-01-06 Thread Jacek Laskowski
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

Re: method interceptor is never called

2010-01-04 Thread Jacek Laskowski
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'

Re: method interceptor is never called

2010-01-04 Thread Jacek Laskowski
1, Errors: 0, Skipped: 0 [INFO] [ERROR] BUILD FAILURE [INFO] Looking into it...will report the findings soon. Jacek -- Jacek Laskowski Notatnik Pr

Re: method interceptor is never called

2010-01-03 Thread Jacek Laskowski
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

Re: Book: Apache Geronimo 2.1: Quick Reference

2009-12-24 Thread Jacek Laskowski
econded. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://wszystkojawne.pl p.s. Szukam speca/firmy od grafiki/CSS/HTML

Re: Java Web Start

2009-11-23 Thread Jacek Laskowski
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

Re: Java Web Start

2009-11-19 Thread Jacek Laskowski
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

Re: SNAPSHOT-3.1.2 and openejb-core

2009-11-18 Thread Jacek Laskowski
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

Re: OutOfMemory doing a JUnit using OpenEJB Embedded

2009-11-17 Thread Jacek Laskowski
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

Re: exception in OpenEJB eclipse plugin

2009-11-17 Thread Jacek Laskowski
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

Re: Java Web Start

2009-11-17 Thread Jacek Laskowski
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

Re: .DS_Store annoyance on the Mac

2009-08-05 Thread Jacek Laskowski
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

Re: OpenEJB with OpenJPA 2.0?

2009-08-05 Thread Jacek Laskowski
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

Re: OpenEJB with OpenJPA 2.0?

2009-08-04 Thread Jacek Laskowski
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

Re: OpenEJB with OpenJPA 2.0?

2009-08-04 Thread Jacek Laskowski
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

Re: java.lang.Exception: Could not load 1/0/org/apache/xml/resolver/tools/ResolvingXMLReader.class

2009-06-05 Thread Jacek Laskowski
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

Re: java.lang.Exception: Could not load 1/0/org/apache/xml/resolver/tools/ResolvingXMLReader.class

2009-06-04 Thread Jacek Laskowski
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

Re: Database configuration on web application startup

2009-05-23 Thread Jacek Laskowski
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

Re: Database configuration on web application startup

2009-05-22 Thread Jacek Laskowski
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

Re: http://localhost:8080/openejb/installer is not working

2009-05-19 Thread Jacek Laskowski
spaces. See http://openejb.apache.org/tomcat.html for some guidance. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Re: Cannot find datasource error...Please help!

2009-05-19 Thread Jacek Laskowski
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

Re: OpenEJB and OSGi

2009-05-10 Thread Jacek Laskowski
quinox). Congrats to all the people involved. Very appreciated. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Re: OpenEJB and OSGi

2009-05-08 Thread Jacek Laskowski
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

Re: OpenEJB and OSGi

2009-05-08 Thread Jacek Laskowski
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

Re: OpenEJB and OSGi

2009-05-07 Thread Jacek Laskowski
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

Re: Problem with DataSource

2009-01-28 Thread Jacek Laskowski
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

Re: Helloworld Problem

2008-12-27 Thread Jacek Laskowski
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

Re: Helloworld Problem

2008-12-27 Thread Jacek Laskowski
)he gets subscribed. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Re: openEJB & OSGi on Mac OS X

2008-12-16 Thread Jacek Laskowski
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

Re: entityManagerFactory JNDI

2008-12-14 Thread Jacek Laskowski
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

Re: OpenJPA v1.2.0

2008-12-13 Thread Jacek Laskowski
OpenEJB 3.1.1 will have it. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Re: OpenJPA v1.2.0

2008-12-13 Thread Jacek Laskowski
, 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

Re: openEJB & OSGi on Mac OS X

2008-12-13 Thread Jacek Laskowski
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

Re: JUnit question

2008-11-05 Thread Jacek Laskowski
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

Re: EJBContext cannot be injected in 3.1-SNAPSHOT

2008-07-05 Thread Jacek Laskowski
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

Re: Call for Papers Opens for ApacheCon US 2008 and Google Summer Of Code 2008

2008-04-07 Thread Jacek Laskowski
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

Re: Call for Papers Opens for ApacheCon US 2008 and Google Summer Of Code 2008

2008-03-25 Thread Jacek Laskowski
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

Re: Call for Papers Opens for ApacheCon US 2008

2008-03-01 Thread Jacek Laskowski
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

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread Jacek Laskowski
> 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

Re: OpenEJB - Missing required persistence.xml

2008-02-15 Thread Jacek Laskowski
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

Re: OpenEJB - Missing required persistence.xml

2008-02-14 Thread Jacek Laskowski
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

Re: OpenEJB - Missing required persistence.xml

2008-02-13 Thread Jacek Laskowski
(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

Re: OpenEJB - Missing required persistence.xml

2008-02-11 Thread Jacek Laskowski
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

Re: Nuking tables on tearDown() for CRUD tests

2008-01-06 Thread Jacek Laskowski
y non-Polish speakers too. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: OpenEJB - Datasource lookup problem

2008-01-06 Thread Jacek Laskowski
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

Re: OpenEJB - Datasource lookup problem

2008-01-06 Thread Jacek Laskowski
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

Re: OpenEJB - Datasource lookup problem

2008-01-06 Thread Jacek Laskowski
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

Re: Alternatives to persistence provider properties in persistence.xml file?

2008-01-05 Thread Jacek Laskowski
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

Re: Help for configuring openejb

2007-12-27 Thread Jacek Laskowski
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

Re: newbie questions

2007-12-12 Thread Jacek Laskowski
=== > > = > 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

Re: newbie questions

2007-12-12 Thread Jacek Laskowski
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

Re: newbie questions

2007-12-11 Thread Jacek Laskowski
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

Re: General EJB3: Problem persisting subclass X when adding a reference to another entity mapped to X's superclass.

2007-11-27 Thread Jacek Laskowski
sers out there... Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: General EJB3: Problem persisting subclass X when adding a reference to another entity mapped to X's superclass.

2007-11-27 Thread Jacek Laskowski
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

Re: Problems getting EJB via annotation in test class.

2007-11-26 Thread Jacek Laskowski
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

Re: Problems getting EJB via annotation in test class.

2007-11-26 Thread Jacek Laskowski
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

Re: minor problems !

2007-11-26 Thread Jacek Laskowski
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

Re: Problems getting EJB via annotation in test class.

2007-11-26 Thread Jacek Laskowski
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

Re: Problems getting EJB via annotation in test class.

2007-11-25 Thread Jacek Laskowski
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

Re: Problems getting EJB via annotation in test class.

2007-11-25 Thread Jacek Laskowski
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

Re: JNDI lookup help

2007-11-06 Thread Jacek Laskowski
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

Re: How to configure a datasource?

2007-10-21 Thread Jacek Laskowski
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

Re: How to configure a datasource?

2007-10-21 Thread Jacek Laskowski
> 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

Re: OpenEJB and Hibernate

2007-10-18 Thread Jacek Laskowski
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

Re: Specifying source queue for message driven bean (MDB)

2007-10-17 Thread Jacek Laskowski
geDriven( activationConfig = { @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination", propertyValue="queue/FE_QUEUE") } ) Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: OpenEJB and Hibernate

2007-10-17 Thread Jacek Laskowski
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

Re: allowHosts in OpenEjb3.0

2007-10-17 Thread Jacek Laskowski
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

Re: OpenEJB and Hibernate

2007-10-16 Thread Jacek Laskowski
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

Re: allowHosts in OpenEjb3.0

2007-10-16 Thread Jacek Laskowski
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

Re: OpenEJB and Hibernate

2007-10-13 Thread Jacek Laskowski
aged asm packages? Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: OpenEJB and Hibernate

2007-10-12 Thread Jacek Laskowski
at I can't understand - what jar are you thinking about? Could you elaborate? Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl

Re: OpenEJB and Hibernate

2007-10-12 Thread Jacek Laskowski
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

Re: JournalLockedException on server start

2007-10-11 Thread Jacek Laskowski
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

Re: Hello from EJB 3 in Action!

2007-09-10 Thread Jacek Laskowski
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