jboss-as-maven plugin and adding datasources

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

jboss-as-maven plugin and adding datasources

Marek Novotny
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I noticed Stuart's Blog
http://in.relation.to/Bloggers/UsingTheJbossasMavenPluginToDeployDataSourcesToAS7
after this summer and tried a month ago adding datasource into AS7 by
that (just copy of ExampleDS under different name, h2 database driver).

It doesn't work and I created issue/question here
https://github.com/jbossas/jboss-as-maven-plugin/issues/4. I haven't
found JIRA project for the plugin. Is there any?

Would be that feature working in next release of the plugin or I use it
wrong?

My usage is commented, just look for <!--  This fails with
NullPointerException --> at
https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml

Cheers,


- --
Marek Novotny
- --
Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Email: [hidden email]
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk63rKwACgkQU4HO8G8hNxU34QCdGDC8U5ee/NgKD0AlCx/GsRHF
OAMAn3lUXVGm+J25OXD/g/BD/SHST/df
=ZxXe
-----END PGP SIGNATURE-----
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: jboss-as-maven plugin and adding datasources

Stuart Douglas

On 07/11/2011, at 9:13 PM, Stuart Douglas wrote:

Fixed here: https://github.com/jbossas/jboss-as-maven-plugin/pull/6

For now if you remove the empty password element it should work.

Stuart


On 07/11/2011, at 9:02 PM, Marek Novotny wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I noticed Stuart's Blog
http://in.relation.to/Bloggers/UsingTheJbossasMavenPluginToDeployDataSourcesToAS7
after this summer and tried a month ago adding datasource into AS7 by
that (just copy of ExampleDS under different name, h2 database driver).

It doesn't work and I created issue/question here
https://github.com/jbossas/jboss-as-maven-plugin/issues/4. I haven't
found JIRA project for the plugin. Is there any?

Would be that feature working in next release of the plugin or I use it
wrong?

My usage is commented, just look for <!--  This fails with
NullPointerException --> at
https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml

Cheers,


- --
Marek Novotny
- --
Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Email: [hidden email]
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk63rKwACgkQU4HO8G8hNxU34QCdGDC8U5ee/NgKD0AlCx/GsRHF
OAMAn3lUXVGm+J25OXD/g/BD/SHST/df
=ZxXe
-----END PGP SIGNATURE-----



_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: jboss-as-maven plugin and adding datasources

Marek Novotny
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks, Stuart. I will try it.


On 11/07/2011 11:14 AM, Stuart Douglas wrote:

>
> On 07/11/2011, at 9:13 PM, Stuart Douglas wrote:
>
>> Fixed here: https://github.com/jbossas/jboss-as-maven-plugin/pull/6
>>
>> For now if you remove the empty password element it should work.
>>
>> Stuart
>>
>>
>> On 07/11/2011, at 9:02 PM, Marek Novotny wrote:
>>
> I noticed Stuart's Blog
> http://in.relation.to/Bloggers/UsingTheJbossasMavenPluginToDeployDataSourcesToAS7
> after this summer and tried a month ago adding datasource into AS7 by
> that (just copy of ExampleDS under different name, h2 database driver).
>
> It doesn't work and I created issue/question here
> https://github.com/jbossas/jboss-as-maven-plugin/issues/4. I haven't
> found JIRA project for the plugin. Is there any?
>
> Would be that feature working in next release of the plugin or I use it
> wrong?
>
> My usage is commented, just look for <!--  This fails with
> NullPointerException --> at
> https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml
>
> Cheers,
>
>
>>
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

- --
Marek Novotny
- --
Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Email: [hidden email]
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk63ypsACgkQU4HO8G8hNxXCnACfcWAM4Fc3G67LAsLpY46nty0q
peEAoOAX1zw/9PyhYWXg/dv41O0DNWMc
=I7FH
-----END PGP SIGNATURE-----
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
Reply | Threaded
Open this post in threaded view
|

Re: jboss-as-maven plugin and adding datasources

Marek Novotny
In reply to this post by Stuart Douglas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I removed the empty password and it still throws NPE.

Now at
Caused by: java.lang.NullPointerException
        at
org.jboss.as.plugin.deployment.resource.AddResource.setupParentAddress(AddResource.java:167)
        at
org.jboss.as.plugin.deployment.resource.AddResource.execute(AddResource.java:87)
        ... 21 more


On 11/07/2011 11:14 AM, Stuart Douglas wrote:

>
> On 07/11/2011, at 9:13 PM, Stuart Douglas wrote:
>
>> Fixed here: https://github.com/jbossas/jboss-as-maven-plugin/pull/6
>>
>> For now if you remove the empty password element it should work.
>>
>> Stuart
>>
>>
>> On 07/11/2011, at 9:02 PM, Marek Novotny wrote:
>>
> I noticed Stuart's Blog
> http://in.relation.to/Bloggers/UsingTheJbossasMavenPluginToDeployDataSourcesToAS7
> after this summer and tried a month ago adding datasource into AS7 by
> that (just copy of ExampleDS under different name, h2 database driver).
>
> It doesn't work and I created issue/question here
> https://github.com/jbossas/jboss-as-maven-plugin/issues/4. I haven't
> found JIRA project for the plugin. Is there any?
>
> Would be that feature working in next release of the plugin or I use it
> wrong?
>
> My usage is commented, just look for <!--  This fails with
> NullPointerException --> at
> https://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_3/examples/booking/booking-ear/pom.xml
>
> Cheers,
>
>
>>
>
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev

- --
Marek Novotny
- --
Seam Product Lead

Red Hat Czech s.r.o.
Purkynova 99
612 45 Brno

Email: [hidden email]
Office phone: +420 532 294 287, ext. 82-62 087
mobile: +420 608 509 230
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk64MgcACgkQU4HO8G8hNxWr+gCfQjZFai2pAHOtQwLzryIsK//X
j9AAnjPYjG0FPLqS1mi6sFSKcfg3RwGO
=Xj8s
-----END PGP SIGNATURE-----
_______________________________________________
jboss-as7-dev mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev