[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4183) Seam tests fail in JBDS-generated Seam 2.1.2 application

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Apr 20 16:45:23 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12463282#action_12463282 ] 

Dan Allen commented on JBIDE-4183:
----------------------------------

Sorry, this was my fault. When I was adding support for GlassFish to seam-gen, I didn't fully understand all the files that JBDS shared. I have taken steps to itemize the shared files here: (http://seamframework.org/Documentation/SeamgenFeatureSet#H-FilesUsedByJBossTools).

Knowing which files are shared made it obvious that I broke tests by putting <use-java-context>false</use-java-context> in the datasource-ds.xml, which JBDS uses for the test datasource. This setting disables the proprietary JBoss JNDI prefix java:/ as documented here (http://www.jboss.org/community/wiki/WhyDoIGetNameNotFoundException). However, this feature is not supported by Embedded JBoss. So it is necessary to use the prefix in JBDS projects for the time being.

I have just restored the old configuration for JBDS.

> Seam tests fail in JBDS-generated Seam 2.1.2 application
> --------------------------------------------------------
>
>                 Key: JBIDE-4183
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4183
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 3.0.0.GA
>         Environment: JDK 5 update 16
> JBoss Seam 2.1.2.CR1
>            Reporter: Jozef Hartinger
>            Assignee: Alexey Kazakov
>             Fix For: 3.0.1.GA, 3.1.0.M1
>
>         Attachments: jbds-test.txt
>
>
> To reproduce:
> 1.) Create new Seam Ear packaged application
> 2.) Create new action using New Action wizard
> 3.) Run test created for new action component from *-test subproject

-- 
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