[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3972) Seam Web project is not registered to JBoss AS in case of WAR deployment type.
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Sun Mar 8 20:25:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBIDE-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12456092#action_12456092 ]
Alexey Kazakov commented on JBIDE-3972:
---------------------------------------
During Seam web project creation we are trying to register seam project and -ds.xml in different threads.
For registering the project we use org.jboss.tools.jst.web.server.RegistrationHelper
This helper ask WTP ServerUtils to get a first module which is from the project.
So if another thread managed to create -ds.xml module before it then there are alraedy TWO modules for the same project (-ds.xml and the project itself). But we ask ServerUtil to give us the first one
and sometimes it's -ds.xml.
So triyng register WAR project we actaully try to gerister -ds.xml again.
I've crate a patch wich ignores the single file module type if there are a few modules.
We use DataSourceXmlDeployer to register -ds.xml so this patch doesn't effect -ds.xml registering.
> Seam Web project is not registered to JBoss AS in case of WAR deployment type.
> ------------------------------------------------------------------------------
>
> Key: JBIDE-3972
> URL: https://jira.jboss.org/jira/browse/JBIDE-3972
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam
> Affects Versions: 3.0.0.GA
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Priority: Blocker
> Fix For: 3.0.0.GA
>
> Attachments: RegistrationHelper.java.patch
>
>
> 1. Create new Seam web project (WAR). Select JBoss AS 4.2 as target server.
> 2. See Servers View. New project is not deployed. There is only -ds.xml which is deployed.
> I don't know when and what was changed. I can reproduce in trunk and in jbdevstudio-win32-2.0.0.GA-R200903031802-H10.jar build.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list