[JBoss Seam] - Re: Seam 2: is Spring integration totally broken?
by przemjaskier
Update: removing scope="prototype" from Spring bean definition helped with infinite loop in EL resolver case. But instead I get some huge (houndreds/thousands of lines) stracktraces similiar to the one below. Note: test harness that do not have Seam-managed session works fine. Everything was working fine on Seam 1.3.0 ALPHA/microcontainer.
| SEVERE: Session event listener threw exception
| org.hibernate.exception.GenericJDBCException: could not get next sequence value
| at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
| at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
| at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
| at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:96)
| at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
| at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
| at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
| at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:94)
| at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
| at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
| at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
| at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:495)
| at org.hibernate.search.impl.FullTextSessionImpl.saveOrUpdate(FullTextSessionImpl.java:447)
| at org.jboss.seam.persistence.HibernateSessionProxy.saveOrUpdate(HibernateSessionProxy.java:345)
| at pecp.client.jsf.backers.userstate.UserStateBacker.sessionCreated(UserStateBacker.java:48)
| 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:597)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
| at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:49)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
| at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061793#4061793
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061793
18Â years, 9Â months
[JBoss jBPM] - Re: jBPM 3.2.1 jbpm-console with a different database
by msandoz
ive added extra logging to the web server configuration and am seeing this:
| 19:13:44,272 INFO [[localhost]] ---------------------------------------------------------------
| 19:13:44,273 INFO [[localhost]] authType=FORM
| 19:13:44,274 INFO [[localhost]] contentLength=-1
| 19:13:44,275 INFO [[localhost]] contentType=text/html;charset=utf-8
| 19:13:44,276 INFO [[localhost]] header=Pragma=No-cache
| 19:13:44,276 INFO [[localhost]] header=Cache-Control=no-cache
| 19:13:44,277 INFO [[localhost]] header=Expires=Wed, 31 Dec 1969 19:00:00 EST
| 19:13:44,278 INFO [[localhost]] message=Access to the requested resource has been denied
| 19:13:44,279 INFO [[localhost]] remoteUser=ernie
| 19:13:44,279 INFO [[localhost]] status=403
| 19:13:44,280 INFO [[localhost]] ===============================================================
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061790#4061790
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061790
18Â years, 9Â months
[JNDI/Naming/Network] - Re: ClassCastException with iiop
by kathy90031
I have fixed my problem, here's the solution in case others are having problems.
I had to use rmic.exe in the java runtime to generate the stub classes.
I did this in eclipse by selecting Run > External Tools > External Tools from the File Menu
I right clicked Program in the external tools dialog and selected New
I put
-Location: C:\j2sdk1.4.2_11\bin\rmic.exe
-Working Dir: ${workspace_loc:/UserIndexEJB/build/classes} (my classes dir of my EJB Project.
Arguments:
-iiop -classpath .;C:\InfoManager\JavaLibraries\RazorSource\RazorSourceCommon.jar;C:\Development\jboss-4.0.2\server\all\lib\jboss-j2ee.jar;C:\InfoManager\Source\WebAdviser\deploy\WebAdviser.jar;C:\InfoManager\JavaLibraries\Log4j\log4j-1.2.13.jar com.infomanager.ejb.userindex.UserIndex com.infomanager.ejb.userindex.UserIndexHome
I clicked Apply and then Run and my stubs were generated.
I then right clicked by project and selected Export and exported my bean to an EJB jar file. I then referenced that EJB jar file from my JDeveloper project and violla!!! everything worked.
So, I figured this out all by myself.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061786#4061786
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061786
18Â years, 9Â months