openejb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From endium <natha...@andrew.cmu.edu>
Subject Re: need help getting quartz-ra.rar file to deploy
Date Wed, 13 Aug 2008 12:51:58 GMT

Thanks, it's working now great. The test passes when building with maven and
surefire, but I'm still getting the same error complaining about the
interface when I run the test using junit 4.4. Any ideas?
Also, is it possible to have openejb ignore certain classes?

David Blevins wrote:
> 
> 
> On Aug 12, 2008, at 9:28 AM, endium wrote:
> 
>>
>> Thanks for this David! For some reason, I didn't get an email  
>> notifying me of
>> your reply. I am trying to implement this right now. Was the maven
>> configuration for openejb changed at all? This may be an unrelated  
>> problem,
>> but since today it doesn't seem that maven is correctly identifying  
>> all of
>> the dependencies. I am getting this error:
>>
>> java.lang.NoClassDefFoundError: org/apache/openejb/loader/ 
>> OpenEJBInstance
>> 	at
>> org 
>> .apache 
>> .openejb 
>> .client 
>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:59)
>> 	at
>> org 
>> .apache 
>> .openejb 
>> .client 
>> .LocalInitialContextFactory.init(LocalInitialContextFactory.java:51)
>> 	at
>> org 
>> .apache 
>> .openejb 
>> .client 
>> .LocalInitialContextFactory 
>> .getInitialContext(LocalInitialContextFactory.java:40)
>> 	at  
>> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java: 
>> 667)
> 
> I just ran into this error myself trying to reproduce a different  
> issue.  It seems the maven 2 snapshot repo got corrupted on  
> people.apache.org.  I've just finished rebuilding the openejb section  
> of the repo and things look much better now.  You may need to remove  
> part of your local maven repo (the "repository/org/apache/openejb"  
> part) to get a clean build from the snapshots.
> 
> One way to try without having to delete anything is to build with a  
> temporary "empty" repo like so:
> 
>   $ mkdir temp-repo
>   $ mvn clean install -Dmaven.repo.local=temp-repo
> 
> -David
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/need-help-getting-quartz-ra.rar-file-to-deploy-tp18531000p18962421.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message