[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I just updated the eclipse wst package today and it works. fyi, Update history shows me this: 03.06.2008 15:15:18 org.eclipse.wst.common_sdk.feature_2.0.2.v200802150100-4-384H8HS6JCZyXYql06-5r3HoFL feature-install success 03.06.2008 15:17:27 org.eclipse.wst.common_core.feature.source_2.0.2.v200802150100-7C78EKOE_EkMNlO6f7cjpz0 feature-enable success 03.06.2008 15:17:27 org.eclipse.wst.common_ui.feature.source_2.0.2.v200802150100-7C5EH3E9RvTVnirrspVz0bmP7g8d feature-enable success 03.06.2008 15:17:27 org.eclipse.wst.common_sdk.feature_2.0.2.v200802150100-4-384H8HS6JCZyXYql06-5r3HoFL feature-enable success 03.06.2008 15:17:27 org.eclipse.jst.web_core.feature.patch2_2.0.2.v200803241913-208i8s733I395D6BA7 feature-install success 03.06.2008 15:17:27 org.eclipse.jst.web_core.feature.patch2_2.0.2.v200803241913-208i8s733I395D6BA7 feature-enable success 03.06.2008 15:17:27 org.eclipse.wst.xml_sdk.feature_2.0.2.v200802150100-4-384F4HNPHrjfp4eY0Myg0ZqZLI feature-install success 03.06.2008 15:17:30 org.eclipse.wst.xml_core.feature.source_2.0.2.v200802150100-787BE_4CYQCD-DaQMIfPd feature-enable success 03.06.2008 15:17:30 org.eclipse.wst.xml_ui.feature.source_2.0.2.v200802150100-7A1ECMCnbcl1bVs9uNm_Zkieb7Qe feature-enable success 03.06.2008 15:17:30 org.eclipse.wst.xml_sdk.feature_2.0.2.v200802150100-4-384F4HNPHrjfp4eY0Myg0ZqZLI feature-enable success 03.06.2008 15:17:30 org.eclipse.wst.sdk_2.0.2.v200802150100-7E-7E8aNek-SRfrjr6TqAZAYKdiU feature-install success 03.06.2008 15:17:37 org.eclipse.wst.server_core.feature.source_2.0.2.v200802150100-2-CN8s733H3_3Ic feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.server_ui.feature.source_2.0.2.v200802150100-77-CX9vCXDkvWGPlAMGMi447 feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.server_sdk.feature_2.0.2.v200802150100-4-384B2FiBz0GfGoyZIZvCcrZeJe feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.ws_core.feature.source_2.0.2.v200802150100-7E7KEB2EC3wSU5UghChM0v feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.ws_ui.feature.source_2.0.2.v200802150100-791ECIAufYO9BlarnPCFGewtZiN1 feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.ws_sdk.feature_2.0.2.v200802150100-4-384D4HNLFynbSBEnl1rhSbVadT feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.web_core.feature.source_2.0.2.v200802150100-42CN_kE77a8F9XCOEL feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.web_ui.feature.source_2.0.2.v200802150100-7A0EAlCiWfJKsCZoChvz0dMYOb feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.web_sdk.feature_2.0.2.v200802150100-4-384F3HLoHmeiNNvEk0Fz08lGMx feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.doc.isv.feature_2.0.2.v200802150100-1-Am7w311913312746 feature-enable success 03.06.2008 15:17:37 org.eclipse.wst.sdk_2.0.2.v200802150100-7E-7E8aNek-SRfrjr6TqAZAYKdiU feature-enable success 03.06.2008 15:17:37 org.eclipse.jst.sdk_2.0.2.v200802150100-7F-7D8fNerpqc2VheGP-mWEPz-u9 feature-install success 03.06.2008 15:17:55 org.eclipse.jst.common_core.feature.source_2.0.0.v200706041905-1007w311817231426 feature-enable success 03.06.2008 15:17:55 org.eclipse.jst.common_sdk.feature_2.0.0.v200706041905-4--7z53A46_4E5I5A38598x42292 feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.server_core.feature.source_2.0.2.v200802150100-56CQ9rC7EK_UAblGAD2537 feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.server_ui.feature.source_2.0.2.v200802150100-77-CT9yJXEkuiKVeQrclqTHQ3648 feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.server_sdk.feature_2.0.2.v200802150100-4-384B2FeC1NfHoxlMfoT67ypqsi feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.server_adapters.feature.source_2.0.2.v200802150100-787KE8iDUUEF6GwKwpHEQ feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.server_adapters.sdk.feature_2.0.2.v200802150100-4-384C_NPAnHcXII9J4W5AZQ_EVV feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.web_core.feature.source_2.0.300.v200802200333-7Q7AE7JEHhHeh0hI5y-QGB feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.web_ui.feature.source_2.0.2.v200802150100-7B1DzCkuNa_RPevwkwB1iJ6z-0RH feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.web_sdk.feature_2.0.2.v200802150100-5-490K6JGI--ZdDUSh49pBBHUEXa feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.enterprise_core.feature.source_2.0.2.v200802150100-42Au_kE77c7EAgE7I7 feature-enable success 03.06.2008 15:17:56 org.eclipse.jst.enterprise_ui.feature.source_2.0.2.v200802150100-7b7_Es8EU6AXOV9QLJSees1SQoYQ feature-enable success 03.06.2008 15:17:56
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
anonymous wrote : Deploy as is default set to WAR. Leave it there This issue is about EAR deployment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146411#4146411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
winter is WTP 2.0.2 .so that configuration should not work ;) btw. the workaround to avoid all these problems is to remove all the non-ejb jars listed via in application.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146069#4146069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
[EMAIL PROTECTED] wrote : winter is WTP 2.0.2 .so that configuration should not work ;) | [...] But is does work for me. I have also seen those errors, but doing a complete clean install solves the problem for me. But I do have to restart Eclipse once on first install for a components.xml error to disappear. I'll post my actions step by step: (I'm using Windows Vista) anonymous wrote : | 1) | Stop any running JBoss server. | | | 2) | Extract the following files all in the same directory. This directory must be clean (no subdirectories) before extracting. | | eclipse-jee-europa-winter-win32.zip (132.676.279 bytes) | JBossTools-2.0.1.GA-ALL-win32.zip (69.220.739 bytes) | jboss-4.2.2.GA.zip (96.943.695 bytes) | jboss-seam-2.0.1.GA.zip (97.019.703 bytes) | | (JBossTools will automatically be located in the right Eclipse directory.) | | 3) | Start eclipse.exe in administrator mode (in Vista: rightclick run as administrator). | | 4) | In Eclipse choose a NEW NON-EXISTING workspace. | | 5) | (In Eclipse) start a new Seam Web Project. As Target Runtime, choose JBoss, a division of Red Hat JBoss 4.2 Runtime and enable Also create a new local server. Browe to the jboss-4.2.2.GA directory extracted in previous steps. | | As configurations (still in the New Seam Project window), choose Dynamic Web Project with Seam 2.0 (technology preview). | | Leave the Project Facets options and choose next till you're in the Seam Facet options. | | As Seam Runtime add the jboss-seam-2.0.1.GA directory extracted in previous steps. | | Deploy as is default set to WAR. Leave it there. | | Add a database. Choose one yourself. (I choose hsql for simplicity.) | | And finish. | | Give Eclipse some time (no cpu usage), in previous tries, a got memory problems if I went on to quickly. | | 8) | Right click the newly created seam project Run As Run on Server next and finish. | The project will now be deployed and raises an error while reading /WEB-INF/components.xml error. | See http://91.186.11.154/~cyb/temp/java/run1.txt | | 9) | stop the server via Eclipse and close Eclipse. | | 10) | start eclipse again (in administrator mode) and run the project again. | This time (and the following afterward) it will work without those errors. | See http://91.186.11.154/~cyb/temp/java/run2.txt | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146103#4146103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I also had problems deploying Seam projects. I reinstalled the tools a couple of times, but it failed. But doing a complete reinstall of everything, works successful. I reinstalled: eclipse-jee-europa-winter-win32.zip (without updating) JBossTools-2.0.1.GA-ALL-win32.zip jboss-4.2.2.GA.zip jboss-seam-2.0.1.GA.zip I don't know where I can check the WTP version. But I have Web Standard Tools (WST) Project 2.0.2.v200802150100-. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4146003#4146003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4146003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I'm hitting exactly the same phenomenon. It can't find the jboss-seam.jar, because none of the ear's jars are copied. What's uber-strange is that it works on Linux but not on Windows. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141569#4141569 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I haven't heard this should be windows specific issue befor though... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141573#4141573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I'm on ubuntu and affected... It's propably something on your configuration... By the way, eclipse update manager finds and installs the new patch, though I didn't test yet... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141584#4141584 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141584 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
hello , any idea ? Walter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141727#4141727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I did the get updates thing and the problem is still there. Would it help to (for now) manually copy the jar files over? This is a critical, show-stopper, serious bug. I hope it can get fixed soon. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141797#4141797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
The only solution at this time is to use wtp 2.0.1, not wtp 2.0.2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141801#4141801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
[EMAIL PROTECTED] wrote : I haven't heard this should be windows specific issue befor though... It could be that I'm running a different version? I just grabbed Europa J2EE from the Eclipse site, and maybe their package for Windows vs. for Linux has different WTP versions? Is there a way to see which version of WTP I've got? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141803#4141803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I tried this patch: http://download.eclipse.org/webtools/patches/drops/R2.0.2/P-P20080325024219-20080325024219/ and it did not help. Any ideas on how we can fix this? I'm not sure how to downgrade the WTP. It came with the Eclipse bundle I got from their site. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4141810#4141810 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4141810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
The latest wtp patch seems to fix the example project I sent them, but not an actual Seam Project. I will investigate. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140228#4140228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
First, the newest patch was actually an incorrect patch. They've removed it. Secondly, while some use cases have been fixed, not all have. I believe this is still in progress since many of the changes are in HEAD as well and the issue is still marked as open. Third... for any jars that are not being deployed, try removing the module tag from the application.xml. I realize this may break other stuff and we havent' entirely come up with a full solution yet since WTP doesn't seem to have either. In short, this is still a work in progress it seems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4140252#4140252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4140252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I've tried the latest WTP patch and am still having the same issues with Eclipse Europa JEE Winter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4139747#4139747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
There is a new patch on the WTP page addressing this issue. http://download.eclipse.org/webtools/patches/ And a question. I didn't install a patch manually before. So just unzipping in the eclipse folder is sufficient? And does it break following updates? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138864#4138864 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
that is what we are trying to find out...I would rather they did a hotfix release but they seem to be reluctant to do this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138877#4138877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
The patch P20080313153530 is available via updatemanager. but P20080325024219 is not. And there is this note on the mentioned site: anonymous wrote : They are normaly very specialized, for a specific purpose or adopter, and not for general use. Those that are for general use -- and end-users -- will be made available via update manager. So we have to wait? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138914#4138914 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
well you can just try and use it and report back if it works... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138954#4138954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
In case of missunderstanding. @Max I thought that P20080325024219 is the patch. And this is not available via updatemanager,yet:-( This was the reaseon for my question: anonymous wrote : So we have to wait? In long words: Have we to wait for the availability of the patch via update manager or are you so kind to accelerate this ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138985#4138985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I'm trying, but you dont have to wait for the updatemanager to get it...you can download it and put it in your local installation as a workaround. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4139048#4139048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4139048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Matteg - yes what you describe is what is caused by the regression bug in wtp 2.0.2. Hence for now we can only recommend to use WTP 2.0.1 since it does not have this bug. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138738#4138738 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I tried generating a new project using the new seam wizard and discovered the numerous errors described in these postings. I was able to make the deployed application work by copying from another previously deployed seam-gen application. That is, I copied from a working deployed source [JBOSS_HOME]/server/default/deploy/absences.ear to the newly generated project as deployed to jboss at [JBOSS_HOME]/server/default/deploy/seamTests-ear.ear 1. Manually copy jboss-seam.jar from absences.ear to seamTests-ear.ear 2. Manually copy the jars from within absences.ear/lib to seamTests-ear.ear (not within a lib sub-folder) 3. Manually copy the images files from within absences.ear/absences.war/img to seamTests-ear.ear/seamTests.war/img (these files are either corrupted or not deployed at all) There were also a few relative URL references that needed changing due to the rather different layout of the newly generated folders. This affected my custom skin properties and references to graphics in the img folder. The seamTests application then works. However, as soon as I make a change in eclipse or start the server from within eclipse, it undoes ALL of the above 3 steps as it re-dploys. I don't know if any of this is helpful to those who are capable of working on the problem but here it is just in case. === I also tried generating a seamTests as a WAR rather than as an EAR. The resulting application failed on an error while reading WEB-INF/components.xml: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener That class is coorrectly defined as a listener in web.xml and all of the seam jars seem to be present in WEB-INF/lib Another oddity: The WEB-INF/classes folder contained a java source file Authenticator.java instead of Authenticator.class Anyway, I guess I'll stick with SEAM-GEN for now until this is resolved. Good luck to the hard workers who are trying to fix this ! (And thanks) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4138199#4138199 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4138199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Did anybody have ever test create project after you started JBoss AS? For me, the project was deploy successfull in the first time but when i restart server, it cann't deploy anymore unless remove some jar from application.xml I just curious why when i start JBoss AS before creating project, it deploy success? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137675#4137675 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
donatsec - it really is a bug in WTP no matter how we fix our application.xml. What if you have an external WAR or JAR module in your EAR that is not an WTP project - then it would not get deployed. nat_tul - most likely because WTP's model haven't at that time picked up the application.xml lines and does not hide the jars from the deployer. In any case, we are working with the WTP guys on figuring out a workaround plus future fix. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137804#4137804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
BTW jboss-seam.jar is a JEE module (contains ejb-jar.xml) so it should be deployable when specified in application.xml as an ejb moidule but it doesn't View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137840#4137840 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I have stumbled upon this bug too. IMHO putting libraries as modules into application.xml breaks Java EE specification compatibility. Java EE 5 specification (page 152) defines four module types: web, ejb, application client and resource adapter. Libraries, commonly used in ejb and/or web modules may be placed in ear file, but they *are not* modules. Libraries should be dealt this way (Java EE 5 specification page 167): ... c. A directory named lib is considered to be the library directory, as described in Section EE.8.2.1, âÂÂBundled Libraries.â d.For all files in the application package with a filename extension of .jar, but not contained in the lib directory, do the following: i. If the JAR file contains a META-INF/MANIFEST.MF file with a Main-Class attribute, or contains a META-INF/application-client.xml file, consider the JAR file to be an application client module. ii. If the JAR file contains a META-INF/ejb-jar.xml file, or contains any class with an EJB component annotation (Stateless, etc.), consider the JAR file to be an EJB module. iii. All other JAR files are ignored unless referenced by a JAR file discovered above using one of the JAR file reference mechanisms such as the Class-Path header in a manifest file. If deleting tags modules with libraries solves the issue, this means, that bug is not with WTP, but with JBoss Tools implementation. Libraries must not be placed within tags module. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4137060#4137060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4137060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
http://jira.jboss.org/jira/browse/JBIDE-1862 - a workaround exists ;) Remove the module tags for the missing jars in the application.xml. You may need to close / re-open or unpublish / republish the ear project right after making these changes. This is not a full solution, though, as it doesn't allow the module tags to remain if the user wants them there ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136833#4136833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I just wanted to keep you up to date so you know whats going on. My last comment was wrong. That part was giving me problems, but that wasn't the root cause at all. The real killer here is that JEEFlexProjDeployable has changed *SUBSTANTIALLY* between 2.0.1 and 2.0.2. This is the class that converts a flexible project into a module and allows you to get the resources tree for a module. I suspect such a large change was not supposed to occur, but I'm not sure. The eclipse bug is opened, and it's about as hectic and disorganized as my posts here are ;) https://bugs.eclipse.org/bugs/show_bug.cgi?id=222518 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136171#4136171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Hi What is the best way to keep moving on with this problem ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136203#4136203 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Nice work, Rob! Following this with interest View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136204#4136204 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
mvidal - use Eclipse 3.2.1/WTP 2.0.1 instead of the latest one. There might be another workaround in form of adding the missing jars to the manifest.mf of the jars that uses them (e.g. the War) . But I haven't verifed this yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136222#4136222 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Ok... so here's what I've discovered so far. Methodology is similar to yours. Open an eclipse with wtp-2.0.1 workspace and create a seam project (seam 2), make sure it deploys appropriately (it does), close down eclipse. Open a new eclipse with wtp-2.0.2 but use the same workspace. The very first thing I notice is a stacktrace in the output (starting from command-line). Trace is as follows: [EMAIL PROTECTED] eclipse]$ ./eclipse Listening for transport dt_socket at address: 4000 *** ERROR ***: Wed Mar 12 19:27:50 EDT 2008 org.eclipse.jst.j2ee.commonarchivecore.internal.exception.OpenFailureException: IWAE0006E Archive is not a valid Application Client JAR File because the deployment descriptor can not be found (case sensitive): META-INF/application-client.xml at org.eclipse.jst.j2ee.internal.componentcore.EnterpriseBinaryComponentHelper$ArchiveCache.openArchive(EnterpriseBinaryComponentHelper.java:339) at org.eclipse.jst.j2ee.internal.componentcore.EnterpriseBinaryComponentHelper.openArchive(EnterpriseBinaryComponentHelper.java:149) at org.eclipse.jst.j2ee.internal.componentcore.EnterpriseBinaryComponentHelper.getUniqueArchive(EnterpriseBinaryComponentHelper.java:79) at org.eclipse.jst.j2ee.internal.componentcore.AppClientBinaryComponentH elper.getPrimaryRootObject(AppClientBinaryComponentHelper.java:110) at org.eclipse.wst.common.componentcore.ArtifactEdit.getContentModelRoot (ArtifactEdit.java:540) at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createB inaryModules(JEEDeployableFactory.java:163) Tracing through, this happens during startup for me because I made sure to have the JBossServers view up which probably helped force the initialization of the deployable factories. blah blah ;) Moving along. I stopped the trace at createBinaryModules because this, I feel, is the important part. This is where the model for this project is started. Looking at the code for this method, we see the following. (context: It's parsing through the list of objects in the application.xml's module tags). Here are some snippets. | if (moduleComponent.isBinary()) { | // create an ear edit, app only if the module is binary prevents exceptions when there | // is no deployment descriptor in many cases see bug 174711 | if(earEdit == null){ | earEdit = EARArtifactEdit.getEARArtifactEditForRead(component.getProject()); | app = earEdit.getApplication(); | } | // if we are missing the application.xml, cannot check for module URI so assume an archive | if (app == null) { | continue; | } | So it's obvious they're trying to make sure if it's binary and has no application.xml, to just give up on it and accept that it's a generic archive. The problem is despite their best efforts, this is not working. It is returning something. app is not null. The code fails at the following place. | else if (j2eeModule.isJavaModule()) { | moduleEdit = ComponentUtilities.getArtifactEditForRead(moduleComponent, | J2EEProjectUtilities.APPLICATION_CLIENT); | ApplicationClient appClient = (ApplicationClient) moduleEdit.getContentModelRoot(); | moduleType = J2EEProjectUtilities.APPLICATION_CLIENT; | moduleVersion = appClient.getVersion(); | } | So basically, the top snippet tries to screen out generic java modules, but somehow fails. When it gets to the second snippet, it's assuming it's an application client jar, not a generic archive. This is most definitely an upstream wtp bug and I will mark it as such and push it to tim and the server team. I'll also continue looking into it and try to provide a patch to eclipse. - Rob View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136153#4136153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Still looking into this. It seems the code here has not changed between versions (somewhat obviously)... so I'm not sure how deep this goes. Will continue debugging. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136156#4136156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
IVirtualComponent component = ComponentCore.createComponent(p); IVirtualReference[] references = component.getReferences(); System.out.println(references.length + references); Under 2.0.1 this returns 9, under 2.0.2 this returns 0. Just keeping users up to date while I debug in case someone has any further info. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4136166#4136166 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4136166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
we are still investigating this...I don't know why it started happening out-of-the-blue. I created http://jira.jboss.com/jira/browse/JBIDE-1862 for tracking it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135241#4135241 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I encountered the same problem as Baz (seam jar missing). Erimag's tip on editing application.xml helped. Now I have a new problem. The ejb module as created by Eclipse is missing the META-INF folder. The first error this causes is missing persistence unit. This is followed by a flurry of exceptions that I did not care to follow up. My Eclipse version is: 3.3.2 Build id: M20080221-1800 I am using the latest drop of Jboss tools with Seam 2.0 (since the tools refuse to work with Seam 2.1). Any pointers on how to get Eclipse to build the deployment correctly? My project is a Seam Web Project. Is this a JBoss issue or do I need to go to an Eclipse forum? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4135187#4135187 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4135187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Hi max, thats the names of the downloadbundles which ia am grabbing directly from the eclipse downloadsite. http://www.eclipse.org/downloads/ When you download a current, specific bundle, say Eclipse IDE for Java EE Developers , it has the name eclipse-jee-europa-winter which was released a couple of days ago. I have never used the Eclipse Classic bundles. These are the only bundles with version names:-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134791#4134791 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
i'm curious...i never heard about winter, fall, summer editions...where do you get those names from ? i'm used to specific version numbers ,) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134789#4134789 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
never noticed that. It's sweet, but rather annoying since they have might have more than 1 patch release per quarter...thanks for the education. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134803#4134803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I can verify this. Yesterday i changed to eclipse-jee-europa-winter which includes WTP2.0.2 After reading this post, i setup a new seamproject(2.0) which leads to this exception: 12:36:16,234 ERROR [MainDeployer] Could not initialise deployment: file:/E:/IDE/jboss-4.2.2.GA/server/default/deploy/seamear-ear.ear/ | org.jboss.deployment.DeploymentException: url file:/E:/IDE/jboss-4.2.2.GA/server/default/deploy/seamear-ear.ear/seamear-ejb.jar could not be opened, does it exist? | Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134536#4134536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
sounds more like a WTP bug than a jboss tools bug to me... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134540#4134540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
The order of installation/update does not seem to matter. It seems like this might be a bug in WTP2.0.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134499#4134499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
besides that actually being correct (e.g. not listing them in application.xml) i don't follow why that should affect it ;( does it work with eclipse 3.2.1/wtp 2.0.1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134576#4134576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I've gotten it to work by NOT including any dependent jars in application.xml - then they are deployed in the ear. If I do include them in application.xml (they are automatically put there if I choose to generate deployment descriptor) they are left out of the ear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134571#4134571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I have reactivated my old eclipse configuration. With eclipse-jee-europa-fall2 WTP(2.0.1) i get the same failure as with eclipse-jee-europa-winter(WTP 2.0.2) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134751#4134751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
It worked for me under Eclipse 3.2.1/wtp2.0.1, but something weird happened in the updates after that. I'm not sure if it was the application.xml or some other settings that I tweaked, but now it's working again, so I'm not touching it ;) BTW, any ETA on JBoss Tools 2.0.1? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134753#4134753 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
There is this difference between my 2 eclipse installations: For eclipse-jee-europa-fall2 i get the error when i first deploy my project with Run as/run on server But after the server is started i can do a clean in the Jboss server view and all is well. No error and the app is running. It is this clean which does not work with eclipse-jee-europa-winter :-( Eclipse displays an error box when i do the clean Resource '/tre-ejb/build/classes' does not exist. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4134757#4134757 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4134757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user