[JBoss Seam] - Re: SeamTest Unit Tests Working...But Not Integration Tests
by neilac333
I rewrote my Ant script slightly to add all the libraries in the Seam 2.0 distribution to my classpath. Here is the revised Ant script:
| <path id="seam.test.class.path.libs">
| <fileset dir="${seam-hibernate.lib.dir}"
| includes="*embedded*.jar,*-all.jar,jboss-deployers.jar"/>
| <pathelement path="${seam-hibernate.lib.dir}/bootstrap"/>
| <fileset dir="${sun-jsf.lib.dir}"/>
| <fileset dir="${commons.lib.dir}"/>
| <fileset dir="${seam-hibernate.lib.dir}" excludes="*embedded*.jar,*-all.jar,jboss-deployers.jar"/>
| </path>
|
Here also is the new classpath:
| Executing 'C:\Program Files\Java\jdk1.5.0_12\jre\bin\java.exe' with arguments:
| '-ea'
| '-classpath'
| 'C:\project\libs\testing\testng\testng-5.6-jdk15.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\groovy-all.jar;C:\project\libs\seam-hibernate\hibernate-all.jar;C:\project\libs\seam-hibernate\jboss-deployers.jar;C:\project\libs\seam-hibernate\jboss-ejb3-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-api.jar;C:\project\libs\seam-hibernate\jcaptcha-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\el-ri.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-discovery.jar;C:\project\libs\commons\commons-el.jar;C:\project\libs\commons\commons-fileupload.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging-api.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\seam-hibernate\activation.jar;C:\project\libs\seam-hibernate\ant-antlr.jar;C:\project\libs\seam-hibernate\antlr-runtime.jar;C:\project\libs\seam-hibernate\antlr.jar;C:\project\libs\seam-hibernate\asm-attrs.jar;C:\project\libs\seam-hibernate\asm.jar;C:\project\libs\seam-hibernate\bootstrap\conf\bootstrap-beans.xml;C:\project\libs\seam-hibernate\bootstrap\conf\jboss-service.xml;C:\project\libs\seam-hibernate\bootstrap\conf\jbossjta-properties.xml;C:\project\libs\seam-hibernate\bootstrap\conf\login-config.xml;C:\project\libs\seam-hibernate\bootstrap\conf\props\messaging-roles.properties;C:\project\libs\seam-hibernate\bootstrap\conf\props\messaging-users.properties;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\dvd.log;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\dvd.properties;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.lck;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.log;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.properties;C:\project\libs\seam-hibernate\bootstrap\data\hypersonic\localDB.script;C:\project\libs\seam-hibernate\bootstrap\data\jboss.identity;C:\project\libs\seam-hibernate\bootstrap\deploy\ejb3-interceptors-aop.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\hsqldb-ds.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\jboss-local-jdbc.rar;C:\project\libs\seam-hibernate\bootstrap\deploy\jboss-xa-jdbc.rar;C:\project\libs\seam-hibernate\bootstrap\deploy\jms-ra.rar;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\connection-factories-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\destinations-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\hsqldb-persistence-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\jms-ds.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\legacy-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\messaging-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\messaging\remoting-service.xml;C:\project\libs\seam-hibernate\bootstrap\deploy\remoting-service.xml;C:\project\libs\seam-hibernate\bootstrap\deployers\aspect-deployer-beans.xml;C:\project\libs\seam-hibernate\bootstrap\deployers\ejb3-deployers-beans.xml;C:\project\libs\seam-hibernate\bootstrap\deployers\jca-deployers-beans.xml;C:\project\libs\seam-hibernate\bootstrap\jndi.properties;C:\project\libs\seam-hibernate\bootstrap\log4j.xml;C:\project\libs\seam-hibernate\bootstrap\readme.txt;C:\project\libs\seam-hibernate\cglib-nodep.jar;C:\project\libs\seam-hibernate\cglib.jar;C:\project\libs\seam-hibernate\core.jar;C:\project\libs\seam-hibernate\dom4j.jar;C:\project\libs\seam-hibernate\ejb-api.jar;C:\project\libs\seam-hibernate\ejb3-persistence.jar;C:\project\libs\seam-hibernate\gwt-servlet.jar;C:\project\libs\seam-hibernate\hibernate-annotations.jar;C:\project\libs\seam-hibernate\hibernate-commons-annotations.jar;C:\project\libs\seam-hibernate\hibernate-entitymanager.jar;C:\project\libs\seam-hibernate\hibernate-search.jar;C:\project\libs\seam-hibernate\hibernate-validator.jar;C:\project\libs\seam-hibernate\hibernate.jar;C:\project\libs\seam-hibernate\itext.jar;C:\project\libs\seam-hibernate\janino.jar;C:\project\libs\seam-hibernate\javassist.jar;C:\project\libs\seam-hibernate\jaxb-api.jar;C:\project\libs\seam-hibernate\jaxws-api.jar;C:\project\libs\seam-hibernate\jboss-aop.jar;C:\project\libs\seam-hibernate\jboss-archive-browsing.jar;C:\project\libs\seam-hibernate\jboss-cache.jar;C:\project\libs\seam-hibernate\jboss-common-core.jar;C:\project\libs\seam-hibernate\jboss-container.jar;C:\project\libs\seam-hibernate\jboss-dependency.jar;C:\project\libs\seam-hibernate\jboss-el.jar;C:\project\libs\seam-hibernate\jboss-jmx.jar;C:\project\libs\seam-hibernate\jboss-kernel.jar;C:\project\libs\seam-hibernate\jboss-logging-spi.jar;C:\project\libs\seam-hibernate\jboss-seam-debug.jar;C:\project\libs\seam-hibernate\jboss-seam-gen.jar;C:\project\libs\seam-hibernate\jboss-seam-ioc.jar;C:\project\libs\seam-hibernate\jboss-seam-mail.jar;C:\project\libs\seam-hibernate\jboss-seam-pdf.jar;C:\project\libs\seam-hibernate\jboss-seam-remoting.jar;C:\project\libs\seam-hibernate\jboss-seam-ui.jar;C:\project\libs\seam-hibernate\jboss-seam.jar;C:\project\libs\seam-hibernate\jboss-system.jar;C:\project\libs\seam-hibernate\jbossxb.jar;C:\project\libs\seam-hibernate\jbpm-jpdl.jar;C:\project\libs\seam-hibernate\jcommon.jar;C:\project\libs\seam-hibernate\jfreechart.jar;C:\project\libs\seam-hibernate\jgroups.jar;C:\project\libs\seam-hibernate\jms.jar;C:\project\libs\seam-hibernate\jta.jar;C:\project\libs\seam-hibernate\log4j.jar;C:\project\libs\seam-hibernate\lucene-core.jar;C:\project\libs\seam-hibernate\mail-ra.jar;C:\project\libs\seam-hibernate\mail.jar;C:\project\libs\seam-hibernate\meldware-mailapi.jar;C:\project\libs\seam-hibernate\meldware-mailjmx.jar;C:\project\libs\seam-hibernate\mvel14.jar;C:\project\libs\seam-hibernate\persistence-api.jar;C:\project\libs\seam-hibernate\portlet-api.jar;C:\project\libs\seam-hibernate\quartz.jar;C:\project\libs\seam-hibernate\urlrewritefilter.jar;C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;C:\project\libs\testing\jmock\jmock-2.4.0.jar;C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;C:\project\libs\testing\jmock\objenesis-1.0.jar;C:\project\model\dist\project-model-test.jar'
| 'org.testng.TestNG'
|
Sadly, all of this effort yields the same NullPointerException.
I should note also that the above contains hibernate-all.jar. I get the same result whether or not it is included.
Thanks for any insight.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111330#4111330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111330
18 years, 5 months
[JBoss Seam] - Re: SeamTest Unit Tests Working...But Not Integration Tests
by neilac333
Ask and you shall receive. Here is the classpath:
| Executing 'C:\Program Files\Java\jdk1.5.0_12\jre\bin\java.exe' with arguments:
| '-ea'
| '-classpath'
| 'C:\project\libs\testing\testng\testng-5.6-jdk15.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\groovy-all.jar;C:\project\libs\seam-hibernate\jboss-deployers.jar;C:\project\libs\seam-hibernate\jboss-ejb3-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-api.jar;C:\project\libs\seam-hibernate\jcaptcha-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\el-ri.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-discovery.jar;C:\project\libs\commons\commons-el.jar;C:\project\libs\commons\commons-fileupload.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging-api.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\seam-hibernate\jboss-seam.jar;C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;C:\project\libs\testing\jmock\jmock-2.4.0.jar;C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;C:\project\libs\testing\jmock\objenesis-1.0.jar;C:\project\model\dist\project-model-test.jar'
| 'org.testng.TestNG'
|
Now I should point out something. I found that seamgen places a file called hibernate-all.jar in the classpath to get the tests to work. As you can see above, I removed hibernate-all.jar from my classpath. I did so because there was a collision that caused my Hibernate Search tests to fail. (I can go into more details on that if necessary.). Of course, it is a only minor inconvenience to place hibernate-all.jar in the classpath for all non-Hibernate Search tests.
So when I add hibernate-all.jar to my classpath as you see here:
| Executing 'C:\Program Files\Java\jdk1.5.0_12\jre\bin\java.exe' with arguments:
| '-ea'
| '-classpath'
| 'C:\project\libs\testing\testng\testng-5.6-jdk15.jar;C:\project\persistence\dist\project-persistence.jar;C:\project\libs\seam-hibernate\groovy-all.jar;C:\project\libs\seam-hibernate\hibernate-all.jar;C:\project\libs\seam-hibernate\jboss-deployers.jar;C:\project\libs\seam-hibernate\jboss-ejb3-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-all.jar;C:\project\libs\seam-hibernate\jboss-embedded-api.jar;C:\project\libs\seam-hibernate\jcaptcha-all.jar;C:\project\libs\seam-hibernate\thirdparty-all.jar;C:\project\libs\seam-hibernate\bootstrap;C:\project\libs\sun-jsf\el-api.jar;C:\project\libs\sun-jsf\el-ri.jar;C:\project\libs\sun-jsf\jsf-api.jar;C:\project\libs\sun-jsf\jsf-impl.jar;C:\project\libs\sun-jsf\jstl.jar;C:\project\libs\sun-jsf\servlet-api.jar;C:\project\libs\commons\commons-beanutils.jar;C:\project\libs\commons\commons-collections.jar;C:\project\libs\commons\commons-digester.jar;C:\project\libs\commons\commons-discovery.jar;C:\project\libs\commons\commons-el.jar;C:\project\libs\commons\commons-fileupload.jar;C:\project\libs\commons\commons-lang.jar;C:\project\libs\commons\commons-logging-api.jar;C:\project\libs\commons\commons-logging.jar;C:\project\libs\seam-hibernate\jboss-seam.jar;C:\project\libs\testing\jmock\cglib-2.1_3-src.jar;C:\project\libs\testing\jmock\cglib-nodep-2.1_3.jar;C:\project\libs\testing\jmock\hamcrest-core-1.1.jar;C:\project\libs\testing\jmock\hamcrest-library-1.1.jar;C:\project\libs\testing\jmock\jmock-2.4.0.jar;C:\project\libs\testing\jmock\jmock-junit4-2.4.0.jar;C:\project\libs\testing\jmock\jmock-legacy-2.4.0.jar;C:\project\libs\testing\jmock\objenesis-1.0.jar;C:\project\model\dist\project-model-test.jar'
| 'org.testng.TestNG'
|
I still get the same exception:
| java.lang.NullPointerException
| at org.jboss.seam.servlet.ServletApplicationMap.get(ServletApplicationMap.java:54)
| at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
| at org.jboss.seam.Component.getInstance(Component.java:1843)
| at org.jboss.seam.Component.getInstance(Component.java:1821)
| at org.jboss.seam.Component.getInstance(Component.java:1816)
| at org.jboss.seam.core.Expressions.instance(Expressions.java:253)
| at org.jboss.seam.mock.BaseSeamTest$ComponentTest.getValue(BaseSeamTest.java:152)
| at model.test.SearchActionAdvancedTest$1.testComponents(SearchActionAdvancedTest.java:39)
| at org.jboss.seam.mock.BaseSeamTest$ComponentTest.run(BaseSeamTest.java:170)
| at model.test.SearchActionAdvancedTest.testSearchActionComponent(SearchActionAdvancedTest.java:36)
| 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:604)
| at org.testng.internal.Invoker.invokeMethod(Invoker.java:470)
| at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:564)
| at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:830)
| at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
| at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
| at org.testng.TestRunner.runWorkers(TestRunner.java:678)
| at org.testng.TestRunner.privateRun(TestRunner.java:624)
| at org.testng.TestRunner.run(TestRunner.java:495)
| at org.testng.SuiteRunner.runTest(SuiteRunner.java:300)
| at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:295)
| at org.testng.SuiteRunner.privateRun(SuiteRunner.java:275)
| at org.testng.SuiteRunner.run(SuiteRunner.java:190)
| at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:792)
| at org.testng.TestNG.runSuitesLocally(TestNG.java:765)
| at org.testng.TestNG.run(TestNG.java:699)
| at org.testng.TestNG.privateMain(TestNG.java:824)
| at org.testng.TestNG.main(TestNG.java:802)
|
So I suppose the presence or absence of hibernate-all.jar is not an issue.
Thanks for taking a look, Pete. Any insight you or anyone else can provide is much appreciated.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111322#4111322
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111322
18 years, 5 months
[JBoss Seam] - Reflection issues with <transaction:ejb-transactions/> on oc
by jbalunas@redhat.com
I have been working on this oc4j issue from the reference guide.
- followed the example from the reference guide chapter for a seam-gen app.
- if <transaction:ejb-transaction> is in the components.xml app gets the exceptions below. If it is not there everything works fine.
- I broke it down into a smaller problem and did not do the drools, or the reverse eng. on a db but still had this issue.
- Similar issue on the forum - but in that the JNDI lookup failed and it was JBoss AS http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071599
The weird part is that the JNDI reference to the EjbSynchronizations is found it is just not the correct object. Instead of an instance of the EjbSynchronizations class it is instance of com.evermind.server.ejb.StatefulSessionDefaultLocalHomeImpl. Which does not have the methods from the LocalEjbSynchronizations interface.
I've been comparing the jee5 example because that does not have this issue. One thing that is different between the jee5 and seam gen is the managed-persistence-context and entity-manager-factory as described in the guide.
I have been looking over the seam config files over and over, and it was time to get a second opinion. I have been searching the oc4j docs, and config. Also the jboss-seam.jar is listed as an ejb-module in app....xml.
ejb from web.xml
| <ejb-local-ref>
| <ejb-ref-name>oc4j_gen_drools/EjbSynchronizations/local</ejb-ref-name>
| <ejb-ref-type>Session</ejb-ref-type>
| <local-home/>
| <local>org.jboss.seam.transaction.LocalEjbSynchronizations</local>
| <ejb-link>EjbSynchronizations</ejb-link>
| </ejb-local-ref>
|
application.xml partial
| <display-name>oc4j_gen_drools</display-name>
|
| <module>
| <web>
| <web-uri>oc4j_gen_drools.war</web-uri>
| <context-root>/oc4j_gen_drools</context-root>
| </web>
| </module>
|
| <module>
| <ejb>oc4j_gen_drools.jar</ejb>
| </module>
|
| <!-- Seam and EL -->
| <module>
| <ejb>jboss-seam.jar</ejb>
| </module>
|
Components.xml partial
| <core:init debug="true" jndi-pattern="java:comp/env/oc4j_gen_drools/#{ejbName}/local"/>
|
| <core:manager concurrent-request-timeout="500"
| conversation-timeout="120000"
| conversation-id-parameter="cid"/>
|
| <transaction:ejb-transaction />
|
| <persistence:entity-manager-factory auto-create="true"
| name="oc4j_gen_droolsEntityManagerFactory"
| persistence-unit-name="oc4j_gen_drools" />
|
| <persistence:managed-persistence-context name="entityManager"
| auto-create="true"
| entity-manager-factory="#{oc4j_gen_droolsEntityManagerFactory}"/>
|
This could be an issue with oc4j, but I'm not sure. The next thing I was going to try was a hack to cast the StatefulSessionDefaultLocalHomeImpl to what we expect EjbSynchronizations (obviouslly just temp).
Thanks,
Jay
SEVERE: uncaught exception
| java.lang.IllegalStateException: Could not start transaction
| at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:578)
| at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:314)
| at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:142)
| at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:218)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
| at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
| at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
| at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
| at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
| at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
| at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
| at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
| at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:889)
| at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:797)
| at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:607)
| at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:376)
| at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:161)
| at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:142)
| at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
| at java.lang.Thread.run(Thread.java:595)
| Caused by: java.lang.IllegalArgumentException: Could not invoke method by reflection: Synchronizations.afterTransactionBegin() on: com.evermind.server.ejb.StatefulSessionDefaultLocalHomeImpl
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:41)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:106)
| at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
| at org.javassist.tmp.java.lang.Object_$$_javassist_0.afterTransactionBegin(Object_$$_javassist_0.java)
| at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:40)
| at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:573)
| ... 33 more
| Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
| 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.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| ... 40 more
| Dec 7, 2007 1:39:34 PM org.jboss.seam.jsf.SeamPhaseListener beforePhase
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111318#4111318
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111318
18 years, 5 months