[JBoss JIRA] Created: (JBIDE-1261) Exception occurs during ds.xml deployment
by Denis Golovin (JIRA)
Exception occurs during ds.xml deployment
-----------------------------------------
Key: JBIDE-1261
URL: http://jira.jboss.com/jira/browse/JBIDE-1261
Project: JBoss Tools
Issue Type: Bug
Components: JBossAS
Affects Versions: 2.0.0.Beta4
Environment: Windows XP
RHDS 200711012051
Reporter: Denis Golovin
Fix For: 2.0.0.CR1
Testcase1:
---------------
1. Start eclipse with -debug option
2. Create seam web project in EAR deployment
3. Wait while all processes are finished
4. Look at console output there is exception 1
Testcase2:
---------------
1. Find in created EAR file resources/<<projectName>>-ds.xml
2. deploy it to server by Deploy to Server popup menu on file resources/<<projectName>>-ds.xml
3. Look at console output there isa exception 2
Exception 1:
*** ERROR ***: Fri Nov 02 13:35:31 PDT 2007 java.lang.ClassCastException: org.eclipse.jst.j2ee.internal.componentcore.UtilityBinaryComponentHelper$ReferenceCountedArchiveImpl
at org.eclipse.jst.j2ee.internal.componentcore.AppClientBinaryComponentHelper.getPrimaryRootObject(AppClientBinaryComponentHelper.java:110)
at org.eclipse.wst.common.componentcore.ArtifactEdit.getContentModelRoot(ArtifactEdit.java:540)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createBinaryModules(JEEDeployableFactory.java:159)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createModuleDelegates(JEEDeployableFactory.java:99)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createModules(JEEDeployableFactory.java:73)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createModules(JEEDeployableFactory.java:62)
at org.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate.cacheModules(ProjectModuleFactoryDelegate.java:60)
at org.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate.getModules(ProjectModuleFactoryDelegate.java:257)
at org.eclipse.wst.server.core.internal.ModuleFactory.getModules(ModuleFactory.java:131)
at org.eclipse.wst.server.core.ServerUtil.getModules(ServerUtil.java:97)
at org.eclipse.wst.server.core.internal.ResourceManager.publishHandleProjectChange(ResourceManager.java:980)
at org.eclipse.wst.server.core.internal.ResourceManager$1.visit(ResourceManager.java:122)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:67)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:76)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
at org.eclipse.wst.server.core.internal.ResourceManager$ServerResourceChangeListener.resourceChanged(ResourceManager.java:116)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:282)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:276)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148)
at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:295)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Exception 2:
*** ERROR ***: Fri Nov 02 13:35:37 PDT 2007 java.lang.ClassCastException: org.eclipse.jst.j2ee.internal.componentcore.UtilityBinaryComponentHelper$ReferenceCountedArchiveImpl
at org.eclipse.jst.j2ee.internal.componentcore.AppClientBinaryComponentHelper.getPrimaryRootObject(AppClientBinaryComponentHelper.java:110)
at org.eclipse.wst.common.componentcore.ArtifactEdit.getContentModelRoot(ArtifactEdit.java:540)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createBinaryModules(JEEDeployableFactory.java:159)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createModuleDelegates(JEEDeployableFactory.java:99)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createModules(JEEDeployableFactory.java:73)
at org.eclipse.jst.jee.internal.deployables.JEEDeployableFactory.createModules(JEEDeployableFactory.java:62)
at org.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate.cacheModules(ProjectModuleFactoryDelegate.java:91)
at org.eclipse.wst.server.core.util.ProjectModuleFactoryDelegate.getModules(ProjectModuleFactoryDelegate.java:118)
at org.eclipse.wst.server.core.internal.ModuleFactory.getModules(ModuleFactory.java:116)
at org.eclipse.wst.server.core.ServerUtil.getModules(ServerUtil.java:196)
at org.jboss.ide.eclipse.as.core.server.internal.JBossServer.doGetParentModules(JBossServer.java:131)
at org.jboss.ide.eclipse.as.core.server.internal.JBossServer.getRootModules(JBossServer.java:123)
at org.eclipse.wst.server.core.internal.Server.getRootModules(Server.java:2306)
at org.eclipse.wst.server.core.ServerUtil.modifyModules(ServerUtil.java:345)
at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.addAndRemoveModules(DeployableServerBehavior.java:278)
at org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishOneModule(DeployableServerBehavior.java:207)
at org.jboss.ide.eclipse.as.ui.actions.DeployAction.run(DeployAction.java:89)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
--
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
16 years, 4 months
[JBoss JIRA] Created: (RHDS-291) Enable buildid by default for splashscreen ?
by Max Andersen (JIRA)
Enable buildid by default for splashscreen ?
--------------------------------------------
Key: RHDS-291
URL: http://jira.jboss.com/jira/browse/RHDS-291
Project: Red Hat Developer Studio
Issue Type: Feature Request
Components: ui/branding
Affects Versions: 1.0.0.beta2
Reporter: Max Andersen
Assigned To: Marshall Culpepper
Fix For: 1.0.0.CR1
I committed this to plugin customization:
# Enables the build id to show up via the default EclipseSplashHandler
# org.eclipse.ui.workbench/SHOW_BUILDID_ON_STARTUP=true
When i comment it out it shows the buildid on the splashscreen - but it says unknown build id so I haven't enabled it yet.
should we ? and if yes, where/how is the buildid set at buildtime ?
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-943) Unable to exclude directory in 2.0Beta3 project archives
by Jiyang Hu (JIRA)
Unable to exclude directory in 2.0Beta3 project archives
--------------------------------------------------------
Key: JBIDE-943
URL: http://jira.jboss.com/jira/browse/JBIDE-943
Project: JBoss Tools
Issue Type: Bug
Components: Archives
Affects Versions: 2.0.0.Beta3
Environment: WinXP SP2+JDK1.5.11
Reporter: Jiyang Hu
Priority: Critical
Fix For: 2.0.0.Beta4
I have hbm files in different folders(com/abc, com/def). When I set up web war file I need put it under a hbm folder without directories. Problem is when I ran following xml snippet (generated by project archives), all folders will be copied to my hbm folder.
<folder name="hbm">
<fileset dir="/fqportal/src" includes="**/*.hbm.xml" inWorkspace="true">
<properties></properties>
</fileset>
<properties></properties>
</folder>
I even tried adding exclude="**/com/**" and exclude="**/com" as below but still not work.
<folder name="hbm">
<fileset dir="/fqportal/src" includes="**/*.hbm.xml" excludes="**/com" inWorkspace="true">
<properties></properties>
</fileset>
<properties></properties>
</folder>
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-1298) Mistakes and mixing styles in labels in New Seam ... wizard family
by Viacheslav Kabanovich (JIRA)
Mistakes and mixing styles in labels in New Seam ... wizard family
------------------------------------------------------------------
Key: JBIDE-1298
URL: http://jira.jboss.com/jira/browse/JBIDE-1298
Project: JBoss Tools
Issue Type: Bug
Components: Seam
Environment: Affected: RHDS Build 200711090946-integration
Reporter: Viacheslav Kabanovich
Priority: Trivial
1. Title in New -> Seam -> Seam Conversation wizard is 'reate Seam Conversation'. It should be 'New Seam Conversation'.
2. Colon symbol (':') is missing in the label for 'Seam Runtime' input field in 'New Seam Project' wizard, 'Seam Facet' page.
3. Some buttons at input fields invoking dialogs ('Add', 'Browse') have no '...'. It is a common practice to end button name with three dots, if it invokes a dialog: 'Add...', 'Browse...'.
3. Mixing capitalization style. In most cases labels for input fields have the first letter of the first word capitalized while all other words are in lower-case. However, there are some exceptions:
a) 'Seam Project' - why 'project' is capitalized?
b) 'Reverse Engineer from database' - why 'Engineer' but 'database'?
4. Wizard 'New Page Flow' contains an instruction preceding input fields. That's not bad though sounds rather redundant, but other wizards do not have such an instruction, which creates unnecessary difference in style.
--
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
16 years, 6 months
[JBoss JIRA] Created: (JBIDE-1065) In error log: Handler conflicts - this may disable some commands
by Max Andersen (JIRA)
In error log: Handler conflicts - this may disable some commands
----------------------------------------------------------------
Key: JBIDE-1065
URL: http://jira.jboss.com/jira/browse/JBIDE-1065
Project: JBoss Tools
Issue Type: Bug
Components: JBoss Tools Core
Affects Versions: 2.0.0.Beta4
Reporter: Max Andersen
Assigned To: Viacheslav Kabanovich
Fix For: 2.0.0.CR1
I keep getting these in the error log when I have used one of our xmodel editors or browse the project explorer tree (not sure which one ;)
!ENTRY org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.089
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.089
!MESSAGE Conflict for 'delete':
HandlerActivation(commandId=delete,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@1f0fda9),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=delete,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@9d77c2),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.089
!MESSAGE Conflict for 'ContentAssistProposals':
HandlerActivation(commandId=ContentAssistProposals,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@216806),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=ContentAssistProposals,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@1347dad),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.089
!MESSAGE Conflict for 'redo':
HandlerActivation(commandId=redo,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@1270f6d),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=redo,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@165eff6),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.089
!MESSAGE Conflict for 'cut':
HandlerActivation(commandId=cut,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@16d0c80),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=cut,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@4fe2b3),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.089
!MESSAGE Conflict for 'copy':
HandlerActivation(commandId=copy,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@ac9587),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=copy,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@8d03a6),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.089
!MESSAGE Conflict for 'ShowTooltipDesc':
HandlerActivation(commandId=ShowTooltipDesc,
handler=ActionHandler(org.eclipse.wst.sse.ui.StructuredTextEditor$InformationDispatchAction@1eab9d6),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=ShowTooltipDesc,
handler=ActionHandler(org.eclipse.wst.sse.ui.StructuredTextEditor$InformationDispatchAction@14e9cde),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.090
!MESSAGE Conflict for 'paste':
HandlerActivation(commandId=paste,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@1ccd22),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=paste,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@dfaba8),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-10-10 08:35:03.090
!MESSAGE Conflict for 'undo':
HandlerActivation(commandId=undo,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@7eb581),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
HandlerActivation(commandId=undo,
handler=ActionHandler(org.eclipse.ui.texteditor.TextOperationAction@be558a),
expression=AndExpression(ActivePartExpression(org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor@162545a),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow(a)c1c7c4)),sourcePriority=1064960)
--
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
16 years, 6 months