[JBoss Portal] - Re: can't change the theme for default in CR1 bundle hsqldb
by glarenzie
I am using MS SQL 8.0 (2000) with the 2.6CR1 portal
could it have something to do with this:
14:48:08,671 INFO [RepositoryImpl] Starting repository...
14:48:08,749 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null
14:48:08,749 ERROR [JDBCExceptionReporter] Unknown parameter datatype:2004
14:48:08,764 ERROR [HibernateStore] failed to create folder entry: /
org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.porta
l.cms.hibernate.RepositoryEntry]
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException
(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:43)
at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(Abstr
actReturningDelegate.java:40)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:2093)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:2573)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentit
yInsertAction.java:47)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic
ate(AbstractSaveEventListener.java:290)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(Abstrac
tSaveEventListener.java:180)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId
(AbstractSaveEventListener.java:108)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGene
ratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186)
at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrR
equestedId(DefaultSaveEventListener.java:33)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTran
sient(DefaultSaveOrUpdateEventListener.java:175)
at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(
DefaultSaveEventListener.java:27)
at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpda
te(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(Hibern
ateStore.java:1517)
at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(Hibern
ateStore.java:1493)
at org.jboss.portal.cms.hibernate.HibernateStore.createFolder(HibernateS
tore.java:195)
at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:
214)
at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:
497)
at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(J
ackrabbitJCRService.java:105)
at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:334)
at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:299)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
96)
at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJB
ossService.java:73)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.e
xecute(JBossServiceModelMBean.java:428)
at org.jboss.portal.jems.as.system.JBossServiceModelMBean$ServiceMixin.s
tartService(JBossServiceModelMBean.java:394)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
96)
at org.jboss.portal.jems.as.system.JBossServiceModelMBean$5.invoke(JBoss
ServiceModelMBean.java:316)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:995)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041942#4041942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041942
17 years, 7 months
[JBoss Seam] - two transactions, one entityManager
by knaas
We have an application where every 5 minutes an a4j:poll queries to see if there are any user alerts to display. If there is an alert, the user is presented with a modal dialog. They then click an OK button on the dialog which causes the Alert to save to the database with the acknowledgment time.
This alert dialog can be displayed on any screen in the application, but the alert acknowledgment action should not participate in those screen's transactions.
It works great in every scenario except for the following: The user is on an edit screen and is making changes. A new alert modal dialog is displayed and the user clicks OK. The alert acknowledgment time is saved, but so are the user's changes on the edit screen. This is not good.
The alert action is a Stateful EJB.
I have tried numerous ways to get this to occur how I want using @TransactionAttribute.NOT_SUPPORTED, REQUIRES_NEW, but I just cannot get it to work.
When the form posts and the acknowledge alert action is called, is it possible that the form values for the edit screen are also being applied to this new "nested" transaction or is the transaction demarcation not really occurring like I think it is?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041932#4041932
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041932
17 years, 7 months
[JBoss Seam] - Re: Conversation not being propogated between redirect
by youngm
Ok, so I got a build working today and I'm still experiencing the problem. Maybe I'm just using seam wrong but here are some more details on what I'm doing.
I have a list detail page. I'm storing the current page the user is on in a conversation bean.
I begin a conversation in the list page. (pet-search)
I change the current page.
I select a pet to modify and begin a nested conversation. (pet-details)
I modify the pet and select "save" This invokes an action that ends my nested conversation and redirects back to pet-details using the faces-config navigation snippet here:
<navigation-case>
<from-outcome>pet-search</from-outcome>
<to-view-id>/pet-search.xhtml</to-view-id>
</navigation-case>
When I get back to the list page my conversation variable storing the current page has been forgotten.
Does it appear I'm doing anything wrong?
The redirectFilter is installed by default right?
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041916#4041916
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041916
17 years, 7 months