[jboss-jira] [JBoss JIRA] Commented: (JBAS-7635) org.jboss.test.jpa.test.WebClassesJPAUnitTestCase.testWebJPA failure

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Feb 1 10:33:19 EST 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12509583#action_12509583 ] 

Carlo de Wolf commented on JBAS-7635:
-------------------------------------

Note that the web configuration is supposed to be a JBossWeb standalone configuration. There is no support for JPA within that configuration.

> org.jboss.test.jpa.test.WebClassesJPAUnitTestCase.testWebJPA failure
> --------------------------------------------------------------------
>
>                 Key: JBAS-7635
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7635
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>            Reporter: Scott Marlow
>            Assignee: Ales Justin
>            Priority: Critical
>             Fix For: JBossAS-6.0.0.M2
>
>
> http://hudson.jboss.org/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x-testSuite-sun16/513/testReport/org.jboss.test.jpa.test/WebClassesJPAUnitTestCase/testWebJPA/
> junit.framework.AssertionFailedError: expected:<200> but was:<500>
> 	at org.jboss.test.jpa.test.AbstractWebJPATest.accessURL(AbstractWebJPATest.java:62)
> 	at org.jboss.test.jpa.test.AbstractWebJPATest.testWebJPA(AbstractWebJPATest.java:48)
> 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
> 	at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
> 	at junit.extensions.TestSetup.run(TestSetup.java:25)
> 2010-01-18 16:13:42,673 ERROR [org.jboss.test.jpa.servlet.TestServlet] (http-127.0.0.1-8080-2) Error in servlet: java.lang.IllegalArgumentException: Unknown entity: org.jboss.test.jpa.support.TestEntity
>         at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:446)
>         at org.jboss.jpa.impl.tx.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:206)
>         at org.jboss.test.jpa.servlet.TestServlet.doGet(TestServlet.java:69)
>         ...  (http://pastebin.com/m3e17ecf0)
> Depends on JBJPA-19

-- 
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 jboss-jira mailing list