[
http://jira.jboss.com/jira/browse/JBIDE-2038?page=comments#action_12408103 ]
Chris Odom commented on JBIDE-2038:
-----------------------------------
Wondering if this has been checked in to SVN. Downloaded the new nightly build
JBossTools-200804100822-nightly-ALL-win32.zip did the -clean checked the plugin properties
all looks correct. Created a new JCA project (still see the same problems as before
issue#2) and was able to catch this error in the part of selecting the ear during the JCA
connecter wizard.
java.lang.NullPointerException
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPanel.setSelectedProjectFacets(FacetsSelectionPanel.java:802)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPanel.setDefaultFacetsForRuntime(FacetsSelectionPanel.java:776)
at
org.eclipse.wst.common.project.facet.ui.internal.FacetsSelectionPage.setDefaultFacetsForRuntime(FacetsSelectionPage.java:133)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard.setRuntimeAndDefaultFacets(NewProjectDataModelFacetWizard.java:267)
at
org.eclipse.wst.web.ui.internal.wizards.NewProjectDataModelFacetWizard$2.propertyChanged(NewProjectDataModelFacetWizard.java:239)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyListeners(DataModelImpl.java:346)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyPropertyChange(DataModelImpl.java:337)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.internalSetProperty(DataModelImpl.java:183)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.jst.j2ee.project.facet.J2EEFacetProjectCreationDataModelProvider.propertySet(J2EEFacetProjectCreationDataModelProvider.java:101)
at
org.eclipse.jst.j2ee.jca.project.facet.ConnectorFacetProjectCreationDataModelProvider.propertySet(ConnectorFacetProjectCreationDataModelProvider.java:72)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.jst.j2ee.jca.project.facet.ConnectorFacetProjectCreationDataModelProvider.access$1(ConnectorFacetProjectCreationDataModelProvider.java:1)
at
org.eclipse.jst.j2ee.jca.project.facet.ConnectorFacetProjectCreationDataModelProvider$1.propertyChanged(ConnectorFacetProjectCreationDataModelProvider.java:55)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyListeners(DataModelImpl.java:346)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.notifyPropertyChange(DataModelImpl.java:337)
at
org.eclipse.jst.j2ee.project.facet.J2EEModuleFacetInstallDataModelProvider.propertySet(J2EEModuleFacetInstallDataModelProvider.java:132)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.datamodel.AbstractDataModelProvider.setProperty(AbstractDataModelProvider.java:234)
at
org.eclipse.jst.j2ee.project.facet.J2EEModuleFacetInstallDataModelProvider.propertySet(J2EEModuleFacetInstallDataModelProvider.java:122)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.internalSetProperty(DataModelImpl.java:182)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.setProperty(DataModelImpl.java:172)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper.setProperty(DataModelSynchHelper.java:189)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelSynchHelper$CheckboxSelectionListener.widgetSelected(DataModelSynchHelper.java:143)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Was able to uncheck and re-check to select the ear, continued with the JCA connector
wizard selected the same facets as before. This time when viewing the JCA project
properties I got the same response...No build path for the EAR's runtime envrionment
and not targeted runtimes available.
If this is not checked in to SVN then I am sure you did fix it otherwise I am not sure
what you fixed!...;)
Connector modules are not deployed
----------------------------------
Key: JBIDE-2038
URL:
http://jira.jboss.com/jira/browse/JBIDE-2038
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 2.1.0.beta1
Environment: Windows XP Professional SP2
Eclipse Platform Version: 3.3.2 Build id: M20080221-1800
Web Tools Platform 'wtp-R-2.0.2-20080223205547'
Seam 2.0.1 GA
JBossTools 2.0.1
JBossAS 4.2.2.GA
Reporter: Chris Odom
Assigned To: Rob Stryker
Fix For: 2.1.0.cr1
I have craeted a Seam Project that is deployed as an EAR file. Several weeks of
development time has gone by and I have been publishing the ear project to my JBoss Server
instance with only one issue.
issue#1: When publishing the EAR project I find that none of the <ear
project>/EarContent/*.<any archive> will get deployed. XML's, any Drools and
the Descriptors get deployed but none of the Ear library files get deployed.
Continuing to my problem. After some development time I created a JCA 1.5 Connector
project to use with in my Seam Project. During the JCA project creation I did notice that
the wizard had some troubles with the ear selection portion. What I would see is that even
though I selected the ear checkbox the ear drop down list would not activate as in it
stayed disabled. Unchecking an checking a second time would enable the list. I selected my
ear and used JCA 1.5 and Java 5.0 as my only 2 facets and clicked finished. The Project
was successfully created and the ear descriptor files were correctly updated.
issue#2: While checking the new JCA's properties I noticed that I could not see any
Targeted Runtimes and when checking "Show all runtimes" the correct ear Runtime
shows up in the list but I can not select it as for it is disabled and gives the facet
warning text at the bottom. Also with in the Build Properties the Server Runtime is not
added either and I had to add it manually.
After all is said and done, when I go to "publish" the ear project using the
JBoss Server View every thing that is in my ear gets deployed excpect the JCA project and
of course the issue#1 I mentioned earlier. While using the "Export..." tool I
can successfully export the entire ear archive to the JBoss Server with out any problems.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira