[JBoss/Spring Integration] - JBoss 4.0.4 + provided example not working
by skedrf
Hi,
I downloaded latest version of Spring Deployer and tried it with JBoss v. 4.0.4 GA.
I wanted to see how provided example works. So, I followed the instructions (JBoss-Spring-Example.doc) and deployed deployer itself and JBoss Spring example application.
But deployment of the example application always fails with same error:
ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'randomizer' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: org.jboss.tutorial.ee.service.Randomizer not bound
Caused by: javax.naming.NameNotFoundException: org.jboss.tutorial.ee.service.Randomizer not bound
Whole exception stack is pretty big, but I can post it if it is necessary.
Any ideas what is wrong? It is just a plain and clean JBoss installation with Spring deployer and JBoss Spring example, nothing more.
Java version 1.5.0_05-b05,
JBoss version 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
Spring Deployer 1.3.
PS. hopefully this is right forum for these questions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960882#3960882
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960882
19 years, 9 months
[JBoss Portal] - Re: Dynamic creating portals
by jkoek
A new user logs on to the system.
Based on the settings the user entered a portal is created.
For instance the user is asked how many news portlets he wants on the screen.
The user is able to design it's own portal based on the instances of portlets that are created.
To help him a template is available which gives for every general type of user a portal (*-object.xml).
After filling in the questions the portal should be created with the preferences the user has entered.
Also the constrains are entered into the page for every instance. So the user is able to setup user rights for other users/roles.
Even in cases where I don't have enough instance, I should be able to create a new instance of a portlet (newportlet-instances.xml or extending the existing *-instances.xml)
I'm using dojo to move the portlets around on the client and make them resizeable (FloatPane).
With the servlet that you helped me with I can save the position of the window (as preference of the portlet instance, every portlet instance is tied to one page for a user).
I'm have created my own layout style that injects the type of window I want passed on the position/area on the screen (also dojo based).
To communicate with the server from out of the window I'm using RPC
(also dojo based). With this communication I can remove or add portlets to a page.
But the page flow stays as is (for the moment). I can even created new pages if needed, so the user can save multiple instances of a page and change some preferences on the new page (newpage-object.xml).
If I could create pages with an xml style I can preserve the information to create a portal in a manor that is portable and according to standards.
I hope it is a bit more clear for you.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960876#3960876
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960876
19 years, 9 months
[Javassist user questions] - Re: Javassist throws SecurityException on 4.0.4GA
by peter_p
Hi,
I've made similar experiences. Instead of EJB3 I'm directly working
with hibernate and using the JBoss Hibernate MBean to bind my
sessionfactory to the JNDI Tree.
My Client is a webstart application and I'am forced to sign my classes.
In the EJB3 Forum this error is posted, too. The thread suggests to
switch back to cglib in order to solve this problem. One should use the
-Dhibernate.bytecode.provide=cglib Option to change the implementation
to cglib.
Using this switch together with the Hibernate MBean you will see that it
is ignored because the MBean overrides it on construction:
| protected void createService() throws Exception
| {
| log.trace( "forcing bytecode provider -> javassist" );
| // todo : really need a much better solution for this...
| System.setProperty( Environment.BYTECODE_PROVIDER, "javassist" );
| }
|
Thus, I suppose javassist is the prefered way to do bytecode enhancement.
Does anybody know a workaround for this error?
Are there plans to fix this error?
regards
Peter
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960875#3960875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960875
19 years, 9 months
[JBoss Seam] - EAR deployment
by ZeddMaxim
I am at my wits' end. Hopefully somone can shed some light on this. I am putting together a Seam app very similar to the messages example. Does anyone have the slightest clue what might cause Seam to not find any of my Stateful, Stateless, or Entity beans within the deployed ear when it scans the ejb jar? An excerpt from the deployment output is below (everything but the persistence unit init). Please let me know if posting any other files would help.
Thanks,
Steve
| 23:52:32,484 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/MyProject2.ear
| 23:52:41,109 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.pid.ejb.session.DropDownLookupBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@12656d3
| 23:52:41,109 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.pid.ejb.session.User org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@196fffc
| 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.ModelBuilderBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1405b61
| 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.ModelSetupSessionBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@1c3d993
| 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.util.DropDownBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl@582e17
| 23:52:41,171 INFO [Ejb3Deployment] EJB3 deployment time took: 156
|
| ...
|
| 23:52:42,140 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
| 23:52:42,234 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=DropDownLookupBean,service=EJB3 with dependencies:
| 23:52:42,234 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist
| 23:52:42,250 INFO [EJBContainer] STARTED EJB: com.something.pid.ejb.session.DropDownLookupBean ejbName: DropDownLookupBean
| 23:52:42,265 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=User,service=EJB3 with dependencies:
| 23:52:42,281 INFO [EJBContainer] STARTED EJB: com.something.pid.ejb.session.User ejbName: User
| 23:52:42,281 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=ModelBuilderBean,service=EJB3 with dependencies:
| 23:52:42,281 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist
| 23:52:42,406 INFO [EJBContainer] STARTED EJB: com.something.session.ModelBuilderBean ejbName: ModelBuilderBean
| 23:52:42,437 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=ModelSetupSessionBean,service=EJB3 with dependencies:
| 23:52:42,437 INFO [EJBContainer] STARTED EJB: com.something.session.ModelSetupSessionBean ejbName: ModelSetupSessionBean
| 23:52:42,437 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=DropDownBean,service=EJB3 with dependencies:
| 23:52:42,437 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist
| 23:52:42,453 INFO [EJBContainer] STARTED EJB: com.something.session.util.DropDownBean ejbName: DropDownBean
| 23:52:42,468 INFO [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-ejb2.jar
| 23:52:42,468 INFO [TomcatDeployer] deploy, ctxPath=/MyProject, warUrl=.../tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/
| 23:52:42,828 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
| 23:52:42,859 INFO [FacesConfigurator] Reading config jar:file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml
| 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml
| 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
| 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml
| 23:52:42,890 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml
| 23:52:42,890 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
| 23:52:43,203 INFO [StartupServletContextListener] ServletContext 'C:\Program Files\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp14235MyProject2.ear-contents\MyProject-web2-exp.war\' initialized.
| 23:52:43,203 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA
| 23:52:43,203 INFO [Initialization] reading components.xml
| 23:52:43,218 INFO [Initialization] reading properties from: /seam.properties
| 23:52:43,218 INFO [Initialization] reading properties from: /jndi.properties
| 23:52:43,218 INFO [Initialization] initializing Seam
| 23:52:43,281 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
| 23:52:43,312 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages
| 23:52:43,312 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events
| 23:52:43,312 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager
| 23:52:43,328 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher
| 23:52:43,343 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect
| 23:52:43,343 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError
| 23:52:43,343 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal
| 23:52:43,343 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole
| 23:52:43,359 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation
| 23:52:43,359 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList
| 23:52:43,375 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
| 23:52:43,375 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext
| 23:52:43,375 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext
| 23:52:43,375 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext
| 23:52:43,390 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext
| 23:52:43,390 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext
| 23:52:43,390 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
| 23:52:43,390 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
| 23:52:43,390 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
| 23:52:43,390 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale
| 23:52:43,406 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages
| 23:52:43,406 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator
| 23:52:43,421 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages
| 23:52:43,421 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle
| 23:52:43,421 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector
| 23:52:43,437 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent
| 23:52:43,437 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry
| 23:52:43,453 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache
| 23:52:43,453 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector
| 23:52:43,500 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts
| 23:52:43,500 INFO [Scanner] scanning: /C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-ejb2.jar
| 23:52:43,609 INFO [Initialization] done initializing Seam
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960872#3960872
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960872
19 years, 9 months
[JBoss Seam] - Could not register synchronization
by jboss-Nth-Fan
Hello,
I'm using 1.0.1GA, and identical code to the DvdStore AcceptAction.java, for a simple workflow - it seems pretty straightforward.
However I'm getting a Seam uncaught exception due to a hibernate exception: Could not register synchronization.
When executing the @EndTask method, the method itself is never executed.
I've reviewed the code but there is nothing obvious, it's identical to the AcceptAction.java.
Any pointers will be appreciated.
Yeyo
Stack trace:
ERROR 26-07 00:42:11,908 (Log4JLogger.java:error:119) -uncaught exception handled by Seam
| javax.servlet.ServletException: Error calling action method of component with id id_01:id_03
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Unknown Source)
| ERROR 26-07 00:42:11,939 (Log4JLogger.java:error:119) -Servlet.service() for servlet Faces Servlet threw exception
| javax.faces.FacesException: Error calling action method of component with id formId:submitButtonId
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
| at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
| at java.lang.Thread.run(Unknown Source)
| Caused by: javax.faces.el.EvaluationException: /approval.xhtml @128,119 action="#{approveAction.approve}": java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 29 more
| Caused by: java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization
| at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:274)
| at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:171)
| at org.jboss.ejb3.cache.NoPassivationCache.remove(NoPassivationCache.java:143)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:89)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:189)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy66.submit(Unknown Source)
| 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 com.sun.el.parser.AstValue.invoke(AstValue.java:151)
| at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| ... 30 more
| Caused by: org.hibernate.TransactionException: Could not register synchronization
| at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:159)
| at org.hibernate.ejb.EntityManagerImpl.close(EntityManagerImpl.java:59)
| at org.jboss.ejb3.stateful.StatefulBeanContext.closeExtendedPCs(StatefulBeanContext.java:285)
| at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:269)
| ... 51 more
| Caused by: javax.transaction.RollbackException: Already marked for rollback, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1153888768142/32, BranchQual=null:1153888768142, localId=0:32]
| at org.jboss.tm.TransactionImpl.checkStatus(TransactionImpl.java:2753)
| at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:1531)
| at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156)
| ... 54 more
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960871#3960871
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960871
19 years, 9 months