September 8, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[00:11:31] *** jwulf has quit IRC
[00:11:49] *** jwulf has joined #jbosstools
[00:46:32] *** bfitzpat has quit IRC
[00:59:38] *** tomwells has joined #jbosstools
[01:00:25] *** tomwells has quit IRC
[01:23:00] *** R0b0ticus has joined #jbosstools
[01:31:53] *** R0b0ticus has quit IRC
[02:46:44] *** fbricon has quit IRC
[02:49:32] *** Snjeza has quit IRC
[03:01:53] *** jwulf has quit IRC
[03:02:10] *** Snjeza has joined #jbosstools
[03:02:25] *** Snjeza has quit IRC
[03:10:32] *** akazakov has quit IRC
[03:13:51] *** dgolovin-kids is now known as dgolovin-afk
[03:59:58] *** irooskov has quit IRC
[04:00:58] *** R0b0ticus has joined #jbosstools
[04:08:48] *** R0b0ticus has quit IRC
[04:27:36] *** jwulf has joined #jbosstools
[04:43:58] *** jwulf has quit IRC
[05:48:59] *** jwulf has joined #jbosstools
[06:17:25] *** muzzamo has joined #jbosstools
[06:18:42] <muzzamo> hi, if have some questions about m2e-wtp, is this the place to ask?
[06:25:38] <muzzamo> i'll go ahead an ask - i'm trying to deploy an EAR in RAD and, while a maven package from the command line builds a correct ear, when i try to run it on my server Websphere gives me the following error:
[06:25:56] <muzzamo> IWAE0006E Archive is not a valid EAR File because the deployment descriptor can not be found (case sensitive): META-INF/application.xml
[06:26:44] <muzzamo> so the ear that gets built from the maven command line has application.xml in it, but when deploying to my local server application.xml isn't being included
[06:26:54] <muzzamo> there is no application.xml in my workspace because I expect maven to generate one for me
[06:35:47] *** jwulf has quit IRC
[06:37:12] *** vpakan has joined #jbosstools
[06:53:07] *** jwulf has joined #jbosstools
[07:01:13] *** tomwells has joined #jbosstools
[07:08:39] *** jwulf has quit IRC
[07:35:27] *** mgoldmann has joined #jbosstools
[07:44:40] *** fbricon has joined #jbosstools
[07:44:40] *** ChanServ sets mode: +o fbricon
[07:57:14] <muzzamo> hi fred, are you there - was wondering if you could help me for a moment
[07:57:29] <muzzamo> fbricon *
[08:08:44] <fbricon> muzzamo: hi
[08:08:55] <muzzamo> ello - thanks
[08:09:02] <muzzamo> i'll recopy n paste
[08:09:11] <muzzamo> i'm trying to deploy an EAR in RAD and, while a maven package from the command line builds a correct ear, when i try to run it on my server Websphere gives me the following error:
[08:09:18] <muzzamo> IWAE0006E Archive is not a valid EAR File because the deployment descriptor can not be found (case sensitive): META-INF/application.xml
[08:09:24] <muzzamo> so the ear that gets built from the maven command line has application.xml in it, but when deploying to my local server application.xml isn't being included
[08:09:33] <muzzamo> there is no application.xml in my workspace because I expect maven to generate one for me
[08:09:47] <fbricon> what RAD, m2e, m2E-wtp versions?
[08:10:11] <muzzamo> RAD 8.0.0.3
[08:10:44] <muzzamo> Maven Integration for WTP	0.13.1.20110728-1800
[08:11:22] <fbricon> muzzamo: do you have anything under target/m2e-wtp/ear-resources/ ?
[08:11:57] <muzzamo> yes
[08:12:06] <muzzamo> META-INF
[08:12:46] <fbricon> no application.xml?
[08:12:49] <muzzamo> nope
[08:13:26] <muzzamo> m2e version 1.0.0.20110607-2117
[08:14:23] <fbricon> can you paste your pom.xml (pastie / pastbin) ?
[08:14:45] <muzzamo> yes, one moment
[08:14:45] <fbricon> gotta bring my son to the kindergarten. Be back in 45 min
[08:14:52] <muzzamo> no worries, have fun
[08:14:59] *** fbricon is now known as fbricon_out
[08:22:50] *** jwulf has joined #jbosstools
[08:31:41] *** R0b0ticus has joined #jbosstools
[08:37:28] <muzzamo> i ended up figuring it out
[08:38:00] <muzzamo> I had the generate-application-xml set to ignore using a pluginExecutionFilter
[08:38:16] <muzzamo> I think that was there because of some advice I was following from another blog
[08:42:26] <muzzamo> well at least i thought that solved the problem - i can now see application.xml in m2e-wtp/ear-resources/META-INF
[08:42:52] *** koentsje has joined #jbosstools
[08:43:03] <muzzamo> but still when i try to deploy I get: Archive is not a valid EAR File because the deployment descriptor can not be found (case sensitive): META-INF/application.xml
[08:46:26] <muzzamo> There is a file called looseconfig.xmi that RAD seems to use for this sort of stuff, one of the lines is as follows
[08:46:34] <muzzamo> <org.eclipse.jst.j2ee.commonarchivecore.looseconfig:LooseApplication xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:org.eclipse.jst.j2ee.commonarchivecore.looseconfig="commonarchive.looseconfig.xmi" uri="C:\projects\MYWORKSPACE-Maven\MYPROJECTApp" binariesPath="C:\projects\MYWORKSPACE-Maven\MYPROJECTApp" resourcesPath="C:\projects\MYWORKSPACE-Maven\MYPROJECTApp">
[08:46:52] <muzzamo> this represents the ear, i'm wondering if it should be looking in the target folder instead
[08:50:50] *** fbricon_out is now known as fbricon
[08:51:03] <fbricon> muzzamo: no idea. You need to ask IBM on that one
[08:51:14] <fbricon> but
[08:51:46] <fbricon> you can change the Maven > WTP integration property of your project
[08:52:08] <fbricon> so it generates the file in your source folder instead
[08:52:21] <fbricon> see if it improves the situation
[08:53:26] <muzzamo> where do I find that?
[08:53:38] <muzzamo> i've spent 3 days on this so far, so any help is appreciated :-)
[08:53:57] <fbricon> right click on your project > properties > Maven > WTP integration
[08:53:59] <muzzamo> oh i see
[08:54:14] <muzzamo> generation application.xml under the build directory
[08:54:44] <fbricon> yeah, uncheck to generate under your default application source folder
[08:56:39] <muzzamo> nah that didn't solve it
[08:56:51] <muzzamo> i recently did a command line build, and now WTP thinks there are two EJB's under my ear
[08:57:14] <muzzamo> ie i expand MYPROJECTApp under the server
[08:57:30] <muzzamo> and below it is "myEJB"
[08:57:45] <muzzamo> and "myEJB-0.1.jar"
[08:59:33] <muzzamo> actually, /target/m2e-wtp is now gone, so i guess doing a command line build nukes it
[09:04:10] *** adietisheim has joined #jbosstools
[09:04:11] *** ChanServ sets mode: +o adietisheim
[09:05:36] *** jpeterka has joined #jbosstools
[09:06:05] <muzzamo> fbricon: do you know of a sample project anywhere with ear+ejb that you know works with m2e-wtp?
[09:06:12] <muzzamo> perhaps I can use that a base and work outwards from that
[09:06:42] *** tomwells has quit IRC
[09:08:06] <fbricon> muzzamo: multi-javaee5-archetype : http://code.google.com/p/open-archetypes/
[09:08:45] <muzzamo> thanks - i'll give that a go, try something fresh
[09:09:37] <fbricon> works on Glassfish and JBoss. Can't test it on RAD+Websphere.
[09:09:50] <muzzamo> i'll test it on RADSphere for you now :)
[09:09:59] <fbricon> thx
[09:26:51] *** psrna has joined #jbosstools
[09:27:40] <muzzamo> fbricon: I guess i still need to convert that project to a "flat" structure
[09:27:54] <muzzamo> put the parent pom into its own project at the same level of the reset of the poms
[09:28:07] <fbricon> why?
[09:28:17] <muzzamo> i dunno, i thought eclipse needed that?
[09:28:23] <fbricon> no
[09:28:26] <muzzamo> how does eclipse deal with a parent pom if it isn't in a project?
[09:28:31] <fbricon> it is
[09:28:36] <muzzamo> oh!
[09:28:44] <muzzamo> yet there is still an outer pom generated
[09:28:52] <muzzamo> that must be for the archetype
[09:28:56] <fbricon> have you tried the multi-javaee5-archetype ?
[09:29:03] <muzzamo> yeah thats what i'm looking at right now
[09:29:37] <muzzamo> pom.xml is at the top level
[09:29:56] <fbricon> Have you added the open-archetype remote catalog in eclipse?
[09:30:12] <muzzamo> ummm woah nope
[09:30:20] <fbricon> do that
[09:30:24] <muzzamo> i just ran the command to pull in that archetype from the command line
[09:30:24] <muzzamo> ok
[09:30:41] <fbricon> then create a new maven project
[09:30:56] <fbricon> choose the open archetype catalog, check for snapshots
[09:33:50] <muzzamo> how do i add a remote catalog in eclipse?
[09:34:23] <muzzamo> oh nevermind
[09:43:02] *** dpalmer has joined #jbosstools
[09:44:43] *** lzoubek has joined #jbosstools
[09:44:43] *** ChanServ sets mode: +o lzoubek
[10:13:56] *** amitev2 is now known as amitev
[10:15:41] *** imeikas has joined #jbosstools
[10:19:09] *** gbrown has joined #jbosstools
[10:22:20] *** aslak has joined #jbosstools
[10:42:32] *** R0b0ticus has quit IRC
[10:50:05] *** kkhan has joined #jbosstools
[10:55:28] <muzzamo> fbricon:  i've tried setting up a remote catalog, and in both eclipse and rad it says "An internal error occurred during: "Downloading remote catalog". java.lang.NullPointerException"
[10:56:01] <fbricon> are you behind a proxy,
[10:56:03] <fbricon> ?
[10:56:17] <muzzamo> eclipse error log: java.lang.NullPointerException at org.eclipse.m2e.core.ui.internal.preferences.RemoteArchetypeCatalogDialog$2$1.run(RemoteArchetypeCatalogDialog.java:183) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[10:56:21] <muzzamo> yeah, behind a proxy
[10:56:38] <fbricon> I think there's an issue in this regard
[10:56:45] <muzzamo> yeah i've been reading about it
[10:56:50] <muzzamo> was hoping it wasn't the same issue
[10:56:57] <muzzamo> https://bugs.eclipse.org/bugs/show_bug.cgi?id=336461
[10:58:17] <fbricon> well you can create a project via CLI and import it as maven project
[10:58:21] <muzzamo> yeah
[10:58:29] <muzzamo> i'll do that
[11:05:22] <adietisheim> ping maxandersen
[11:13:26] <muzzamo> are you aware that RAD seems to always create a "fooClient" project and "fooEJB" project for a "foo" maven EJB project? I understand RAD isn't particularly supported but should I create a jira issue to track it?
[11:14:17] <muzzamo> fbricon: happy to create a jira issue if it will help track it
[11:17:34] <fbricon> muzzamo: not really. There's nothing I can do about it
[11:17:47] <fbricon> ask IBM instead
[11:18:51] <muzzamo> :-| got little chance of getting a sane response from them
[11:19:08] <muzzamo> its a shame because the mothership here at work requires us to uses websphere
[11:19:42] <muzzamo> i guess our other hope is to use myEclipse blue edition which apparently supports it too
[11:22:30] <fbricon> I can't prevent RAD from doing what it wants. It seems IBM works to fix some issues they have when using m2e-wtp (from what I got from one of the RAD architects)
[11:23:10] <fbricon> muzzamo: the issue is probably known to them. You should contact them
[11:26:14] *** gbrown has quit IRC
[11:26:35] <muzzamo> regardless, i've been able use the multi-javaee5-archetype, and it deploys to websphere. I need to delete those two extra projects that RAD created and  It fails on startup which is what you would expect  since its not an IBM-spec EJB
[11:26:48] <muzzamo> but thats a good start, so thanks for your help
[11:35:53] <fbricon> good to know Websphere is JavaEE 5 compliant :-)
[11:36:22] <muzzamo> I think it failed because it needs some websphere feature pack or something
[11:37:13] <muzzamo> but i'm actually seeking to get an old ear 1.3 + ejb from several years ago working under maven
[11:37:57] <muzzamo> i would love to ditch the ejb and replace it all with spring but that may be out of scope/too risky
[11:40:01] *** gbrown has joined #jbosstools
[11:50:12] *** maxandersen1 has joined #jbosstools
[11:50:28] *** rruss has quit IRC
[11:53:58] *** maxandersen has quit IRC
[12:03:28] *** myarboro has quit IRC
[12:28:45] *** maxandersen1 has quit IRC
[12:36:23] *** psrna has quit IRC
[12:38:26] *** xcoulon has joined #jbosstools
[12:42:46] *** aslak has quit IRC
[12:46:55] *** psrna has joined #jbosstools
[13:01:28] *** myarboro has joined #jbosstools
[13:01:35] *** psrna has quit IRC
[13:10:46] *** bbrodt has joined #jbosstools
[13:10:46] *** ChanServ sets mode: +o bbrodt
[13:10:58] *** bbrodt has left #jbosstools
[13:14:16] *** psrna has joined #jbosstools
[13:26:01] *** nicoulaj has joined #jbosstools
[13:26:30] *** xcoulon_ has joined #jbosstools
[13:27:09] *** xcoulon_ has quit IRC
[13:29:07] *** Caleb-- has joined #jbosstools
[13:29:10] <Caleb--> hi
[13:29:21] <Caleb--> i'm having trouble building hibernate tools core
[13:29:22] <Caleb--> [ERROR] Failed to execute goal on project hibernate-tools: Could not resolve dependencies for project org.hibernate:hibernate-tools:jar:3.4.0.CR1: The following artifacts could not be resolved: org.eclipse.jdt:org.eclipse.jdt.core:jar:3.2.0-v_671, hsqldb:hsqldb:jar:1.8.0.2: Failure to find org.eclipse.jdt:org.eclipse.jdt.core:jar:3.2.0-v_671 in http://repo1.maven.org/maven2 was cached in
[13:29:22] <Caleb--> the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[13:29:32] <Caleb--> i get this from maven
[13:31:12] *** jwulf has quit IRC
[13:40:48] *** maxandersen has joined #jbosstools
[13:40:48] *** ChanServ sets mode: +o maxandersen
[13:41:23] *** maxandersen1 has joined #jbosstools
[13:41:29] *** maxandersen has quit IRC
[13:41:40] *** maxandersen1 has left #jbosstools
[13:41:57] *** psrna has quit IRC
[13:42:20] *** psrna has joined #jbosstools
[13:44:29] *** xcoulon has quit IRC
[13:45:07] *** koentsje has quit IRC
[14:19:44] *** rmartinelli has joined #jbosstools
[14:29:32] *** bfitzpat has joined #jbosstools
[14:29:32] *** ChanServ sets mode: +o bfitzpat
[14:36:37] <Caleb--> who maintains hbm2java?
[15:06:45] *** mgoldmann has quit IRC
[15:07:25] *** mgoldmann has joined #jbosstools
[15:07:26] *** mgoldmann has joined #jbosstools
[15:08:45] *** mgoldmann_ has joined #jbosstools
[15:10:23] *** rmartinelli has quit IRC
[15:10:23] *** gbrown has quit IRC
[15:10:52] *** gbrown has joined #jbosstools
[15:11:15] *** rmartinelli has joined #jbosstools
[15:12:09] *** mgoldmann has quit IRC
[15:17:38] *** dmaliarevich has joined #jbosstools
[15:18:07] *** koentsje has joined #jbosstools
[16:07:05] *** jpav has joined #jbosstools
[16:07:06] *** jpav has joined #jbosstools
[16:11:03] *** yradtsevich has joined #jbosstools
[16:11:03] *** ChanServ sets mode: +o yradtsevich
[16:41:51] *** jpav has quit IRC
[16:41:51] *** jpav_ has joined #jbosstools
[16:41:52] *** jpav_ is now known as jpav
[16:46:56] *** rruss has joined #jbosstools
[17:18:57] *** nicoulaj has quit IRC
[17:19:45] *** rmartinelli has quit IRC
[17:19:45] *** dmaliarevich has quit IRC
[17:25:20] *** rmartinelli has joined #jbosstools
[17:26:17] <lzoubek> fbricon, ping
[17:45:53] *** vpakan has left #jbosstools
[17:49:29] <fbricon> lzoubek: pong
[17:50:04] <lzoubek> fbricon, I wanted to ask about http://jira.jboss.com/jira/browse/JBIDE-9290
[17:50:08] <jbott> Feature Request: [JBIDE-9290] Automatically install JAX-RS facet when a JAX-RS implementation is added to the project's Maven dependencies   [Reopened, Major, (maven), fbricon] https://issues.jboss.org/browse/JBIDE-9290
[17:50:42] <lzoubek> fbricon, could you look at my comment and comment or close again?
[17:52:00] <lzoubek> fbricon, initially I had problems with finding org.jboss.resteasy artifact, than I've found out I have something wrong in ~/.m2/settings.xml
[17:52:15] *** akazakov has joined #jbosstools
[17:52:15] *** ChanServ sets mode: +o akazakov
[17:55:33] *** koentsje has quit IRC
[17:57:09] <fbricon> lzoubek: I'll need to ask max about that
[17:57:24] <fbricon> (shipping jax-rs tooling)
[17:57:29] <fbricon> gotta go
[17:57:43] <lzoubek> fbricon, sorry, I've just tested it on jbt, wil open separate issue for it
[17:58:36] *** muzzamo has quit IRC
[18:03:16] <Caleb--> hi
[18:03:20] <Caleb--> [ERROR] Failed to execute goal on project hibernate-tools: Could not resolve dependencies for project org.hibernate:hibernate-tools:jar:3.4.0.CR1: The following artifacts could not be resolved: org.eclipse.jdt:org.eclipse.jdt.core:jar:3.2.0-v_671, hsqldb:hsqldb:jar:1.8.0.2: Failure to find org.eclipse.jdt:org.eclipse.jdt.core:jar:3.2.0-v_671 in http://repo1.maven.org/maven2 was cached in
[18:03:20] <Caleb--> the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[18:03:32] <Caleb--> this is what i'm getting trying to compile the hibernate tools
[18:11:59] *** gbrown has quit IRC
[18:16:29] *** yradtsevich has quit IRC
[18:18:35] *** dpalmer has quit IRC
[18:18:48] *** rcernich_away has joined #jbosstools
[18:19:05] *** rcernich_away is now known as rcernich
[18:19:31] *** psrna has quit IRC
[18:41:49] *** adietisheim has quit IRC
[18:50:15] *** nicoulaj has joined #jbosstools
[18:56:38] *** jpeterka has quit IRC
[19:38:32] *** imeikas has quit IRC
[19:43:48] *** danflo has joined #jbosstools
[19:57:21] *** danflo has quit IRC
[20:28:14] *** danflo has joined #jbosstools
[20:30:50] *** myarboro has quit IRC
[20:41:06] *** yradtsevich has joined #jbosstools
[20:41:06] *** ChanServ sets mode: +o yradtsevich
[20:54:37] *** vpakan has joined #jbosstools
[21:09:06] *** myarboro has joined #jbosstools
[21:11:50] *** vpakan has quit IRC
[21:12:06] *** vpakan has joined #jbosstools
[21:33:34] *** irooskov has joined #jbosstools
[21:55:48] *** jwulf has joined #jbosstools
[22:01:10] *** yradtsevich has quit IRC
[22:17:00] *** mgoldmann_ has quit IRC
[22:28:41] *** Elisha has joined #jbosstools
[22:28:49] *** vpakan has quit IRC
[22:28:59] <Elisha> halp!
[22:31:17] <Elisha> in ear'd war ejb-client dependency works, but in ordinary war not :( any ideas?
[22:41:44] *** kkhan has quit IRC
[23:21:36] *** kkhan has joined #jbosstools
[23:24:57] *** rcernich is now known as rcernich_away

top