Community
Participate
Working Groups
Build Identifier: 20110916-0149 When I add a jar to my ear and then deploy the ear the jar is not deployed, and when the "Deployment Descriptor" in the Project Explorer view is expanded and then expand the Modules there is a Binary entry. When this Binary is opened there is a blank entry for each JAR defined in the application.xml. Reproducible: Always Steps to Reproduce: 1.Add a JAR module to the EAR's applicaiton.xml (<module><java>some.jar</java></module> 2.Add the JAR to the EarContent folder. 3.Right click project and select Properties. 4.Select Deployment Assembly 5.Add the some.jar to the assembly. 6.Click OK 7.Go to Server view and publish EAR project. All is published, except the some.jar. When the "Deployment Descriptor" in the Project Explorer view is expanded and then expand the Modules there is a Binary entry. When this Binary is opened there is a blank entry for each JAR defined in the application.xml. I also have JBoss Tools and Spring Tools Suite installed.
Moving to Web Tools
One other part of the behaviour. If you remove the module entry in the application.xml for the some.jar, the blank entry that was in the Binary list will also be removed.
Bill, is the main problem here the fact that the jar files are not deployed? How are you adding the jar to your ear? Also, judging by your Build Identifier, this is Eclipse Indigo SR1, right? (That corresponds to WTP 3.3.1)
Rob, is this a possible Deployment Assembly issue?
Yes, I am running Indigo SR1. Yes, the problem is that the JARs that have been added to my EAR and added to the Deployment Assembly are not being deployed. Another part of the problem is the display in the Deployment Descriptor is showing the JARs in the descriptor under binary as blank.