route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Jacek Laskowski
Hi,

Just built a fresh copy of Openejb sources and they broke at

Running org.apache.openejb.resource.jdbc.DynamicDataSourceTest
FATAL - Failed Configuring Service(id=Routed Datasource)
org.apache.openejb.OpenEJBException: Unable to read OpenEJB
service-jar file for provider org.apache.openejb.dynamicdatasource at
null: Could not find resource
'META-INF/org.apache.openejb.dynamicdatasource/service-jar.xml'
        at org.apache.openejb.config.sys.JaxbOpenejb.readServicesJar(JaxbOpenejb.java:141)
        at org.apache.openejb.config.ServiceUtils.getServiceProviders(ServiceUtils.java:206)
        at org.apache.openejb.config.ServiceUtils.getServiceProvider(ServiceUtils.java:107)
        at org.apache.openejb.config.ConfigurationFactory.resolveServiceProvider(ConfigurationFactory.java:890)
        at org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:766)
        at org.apache.openejb.resource.jdbc.DynamicDataSourceTest.route(DynamicDataSourceTest.java:95)
...

I've been trying to figure out what's up there and all I found was to
add a META-INF/... file for the service. Does it fail for me only?!

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Ivan Xu
I got this failure, too.

2010/12/21 Jacek Laskowski <[hidden email]>

> Hi,
>
> Just built a fresh copy of Openejb sources and they broke at
>
> Running org.apache.openejb.resource.jdbc.DynamicDataSourceTest
> FATAL - Failed Configuring Service(id=Routed Datasource)
> org.apache.openejb.OpenEJBException: Unable to read OpenEJB
> service-jar file for provider org.apache.openejb.dynamicdatasource at
> null: Could not find resource
> 'META-INF/org.apache.openejb.dynamicdatasource/service-jar.xml'
>        at
> org.apache.openejb.config.sys.JaxbOpenejb.readServicesJar(JaxbOpenejb.java:141)
>        at
> org.apache.openejb.config.ServiceUtils.getServiceProviders(ServiceUtils.java:206)
>        at
> org.apache.openejb.config.ServiceUtils.getServiceProvider(ServiceUtils.java:107)
>        at
> org.apache.openejb.config.ConfigurationFactory.resolveServiceProvider(ConfigurationFactory.java:890)
>        at
> org.apache.openejb.config.ConfigurationFactory.configureService(ConfigurationFactory.java:766)
>        at
> org.apache.openejb.resource.jdbc.DynamicDataSourceTest.route(DynamicDataSourceTest.java:95)
> ...
>
> I've been trying to figure out what's up there and all I found was to
> add a META-INF/... file for the service. Does it fail for me only?!
>
> Jacek
>
> --
> Jacek Laskowski
> Notatnik Projektanta Java EE - http://jaceklaskowski.pl
>



--
Ivan
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Jean-Louis MONTEIRO
Apologize guys,

it should be a file missing (service-jar.xml).
Gonna check with intelliJ and commit the missing file.

JLouis
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Jacek Laskowski
On Tue, Dec 21, 2010 at 9:50 AM, Jean-Louis MONTEIRO
<[hidden email]> wrote:
>
> Apologize guys,
>
> it should be a file missing (service-jar.xml).
> Gonna check with intelliJ and commit the missing file.

Great! I was about to have reported an issue in JIRA, but it's not
necessary any more. Thanks.

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Jean-Louis MONTEIRO
OK, i'm ready to commit the missing files.
Before, i wanted to give it a try with a full compile + test but i'm still getting compilation errors.

David did a lot of changes in openwebbeans and openejb to reduce static maps.
But the OWB snapshot is still not available on https://repository.apache.org/content/repositories/snapshots/

Gonna push a post in dev@owb in order to ask for a snapshot.

Jean-Louis
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Jacek Laskowski
On Tue, Dec 21, 2010 at 1:39 PM, Jean-Louis MONTEIRO
<[hidden email]> wrote:

> OK, i'm ready to commit the missing files.

Do it or attach to a jira issue and let us test it out.

> David did a lot of changes in openwebbeans and openejb to reduce static
> maps.
> But the OWB snapshot is still not available on
> https://repository.apache.org/content/repositories/snapshots/

Yeah, you're right. You won't be able to compile openejb without the
recent owb snapshot. Grab the sources and build 'em yourself. It's
pretty fast and worked fine a couple of days ago (they made some
changes I have not checked out yet so it could be they'd break the
build :-)) Give it a try anyway.

> Gonna push a post in dev@owb in order to ask for a snapshot.

Thanks. I meant to do so, but...well...never mind :-)

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Jean-Louis MONTEIRO
OK.
A new OWB snapshot has been published (Thx again Mark).
I also committed missing files so that it should work now.

I'm facing some intellij issues so my computer seems completely out ;-)
Anyway, it should work.

Jean-Louis
   --
    Jean-Louis Monteiro
    http://twitter.com/jlouismonteiro
    http://www.tomitribe.com
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Ivan Xu
I have deployed the latest openejb snapshots except for the samples.

2010/12/22 Jean-Louis MONTEIRO <[hidden email]>

>
> OK.
> A new OWB snapshot has been published (Thx again Mark).
> I also committed missing files so that it should work now.
>
> I'm facing some intellij issues so my computer seems completely out ;-)
> Anyway, it should work.
>
> Jean-Louis
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/route-org-apache-openejb-resource-jdbc-DynamicDataSourceTest-fails-for-me-tp3099120p3157852.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>



--
Ivan
Reply | Threaded
Open this post in threaded view
|

Re: route(org.apache.openejb.resource.jdbc.DynamicDataSourceTest) fails for me

Jacek Laskowski
In reply to this post by Jean-Louis MONTEIRO
On Tue, Dec 21, 2010 at 5:46 PM, Jean-Louis MONTEIRO
<[hidden email]> wrote:

> Anyway, it should work.

It does. Thanks!

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:21.492s
[INFO] Finished at: Tue Dec 21 23:28:43 CET 2010
[INFO] Final Memory: 145M/308M
[INFO] ------------------------------------------------------------------------

Jacek

--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl