Everyone, I have a jboss portal app, some portlets talk to a business object which intern talks to DAO objects. Each business method is wrapped in a transaction and is always commited or rolled back. I thought I was doing everything right, but I'm getting wrong TX on thread errors when i click the same link multiple times in a row very quickly. You'll see in the exception, that its trying to commit the same transaction 2x and poof. I'll provide as much detail as possible, and appreciate any help, this problem is very serious and will hold up my project.
Hibernate version:
3.2
Mapping documents:
Doesnt apply here.
Hibernate Properties file:
Code:
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
Code between sessionFactory.openSession() and session.close():Heres where I'm hoping the problem is. I don't issue Session.close(). If i do, i get an error. I was reading that when i set my hibernate properties file as i did, the app server manages closing my sessions. Please correct me if im wrong. But heres a full example of a business method thats called whats between openSession and Commit or Rollback Session.
Code:
public MythFact voteMythFact(int iMythFactID_p, String sMyVote_p) throws BusLogicException {
log.debug("getCurrentMythFact(String) was called.");
MythFact zMF;
try {
hsession = TeenFitHibernateUtil.getSession();
TransactionDAO.beginTransaction(hsession);
MythFactDAO zMythFactDAO = new MythFactDAO(hsession);
// GET the MythFact In question
zMF = zMythFactDAO.findById(iMythFactID_p);
if (sMyVote_p.equalsIgnoreCase("MYTH")) {
zMF.setGuessedMyth(zMF.getGuessedMyth() + 1);
} else {
zMF.setGuessedFact(zMF.getGuessedFact() + 1);
}
// SAVE THEM
zMythFactDAO.attachDirty(zMF);
TransactionDAO.commitTransaction(hsession);
} catch (Exception zEX) {
System.out.println("Exception:" + zEX.toString());
TransactionDAO.rollbackTransaction(hsession);
throw new BusLogicException(zEX.toString());
} finally {
// zMyThoughtsDAO = null;
}
return zMF;
}
Obviuosly there are 3 objects I use in that method
TeenFitHibernateUtil
TransactionDAO
MythFactDAO
Here are the needed methods from those objects:
Get the sessionCode:
public static Session getSession() {
Session hsession;
try {
hsession = getSessionFactory().openSession();
} catch (Exception zEX) {
System.out.println("HibernateUtil:: Exception Caught: " + zEX.getMessage());
//hsession = getSessionFactory().getCurrentSession();
System.out.println("HibernateUtil:: Exception Caught but recovered with current session ");
throw new RuntimeException(zEX);
}
return hsession;
}
Transaction stuffCode:
public static void beginTransaction(Session session){
System.out.println("**TRANSACTION FOUND ON BEGIN**:: session = " + session.getTransaction().toString());
session.getTransaction().begin();
}
public static void commitTransaction(Session session){
System.out.println("**TRANSACTION FOUND ON COMMIT**:: session = " + session.getTransaction().toString());
session.getTransaction().commit();
}
public static void rollbackTransaction(Session session){
System.out.println("**TRANSACTION FOUND ON ROLLBACK**:: session = " + session.getTransaction().toString());
session.getTransaction().rollback();
}
The DAOCode:
public MythFactDAO(Session zHBSession_p) {
zHBSession_m = zHBSession_p;
}
public void persist(MythFact transientInstance) throws DataLayerException {
log.debug("persisting AboutMe instance");
try {
zHBSession_m.persist(transientInstance);
log.debug("persist successful");
} catch (RuntimeException re) {
log.error("persist failed", re);
throw new DataLayerException(re);
}
}
public void attachDirty(MythFact instance) throws DataLayerException {
log.info("attaching dirty AboutMe instance");
try {
zHBSession_m.saveOrUpdate(instance);
log.info("attach successful");
} catch (RuntimeException re) {
log.error("attach failed", re);
throw new DataLayerException(re);
}
}
Full stack trace of any exception that occurs:You'll see here that on 3 extremely quick clicks of said link, that theres alot of stuff going on. There are 3 begin transactions, but as soon as the first one is attempted to be commited, boom. It says no go.
Code:
18:16:22,398 INFO [STDOUT] **TRANSACTION FOUND ON BEGIN**:: session = org.hibernate.transaction.JTATransaction@5d9afc
18:16:22,533 INFO [STDOUT] Hibernate: select teenfituse0_.TeenFitUserID as TeenFitU1_73_0_, teenfituse0_.Login as Login73_0_, teenfituse0_.Handle as Handle73_0_, teenfituse0_.OriginalEntryKey as Original4_73_0_, teenfituse0_.Avatar as Avatar73_0_, teenfituse0_.School as School73_0_, teenfituse0_.FirstName as FirstName73_0_, teenfituse0_.LastName as LastName73_0_, teenfituse0_.Email as Email73_0_, teenfituse0_.Sign as Sign73_0_, teenfituse0_.LoginCount as LoginCount73_0_, teenfituse0_.LastLogin as LastLogin73_0_, teenfituse0_.IsTeenfit as IsTeenfit73_0_, teenfituse0_.IsViewable as IsViewable73_0_, teenfituse0_.IsNutritionEmailOn as IsNutri15_73_0_, teenfituse0_.IsFoodTipEmailOn as IsFoodT16_73_0_, teenfituse0_.IsStayFitEmailOn as IsStayF17_73_0_, teenfituse0_.IsExerciseParentEmailOn as IsExerc18_73_0_, teenfituse0_.IsCustomNutritionEmailOn as IsCusto19_73_0_ from TeenFitUser teenfituse0_ where teenfituse0_.TeenFitUserID=?
18:16:22,543 INFO [STDOUT] Hibernate: select profiles0_.TeenFitID as TeenFitID1_, profiles0_.ProfileID as ProfileID1_, profiles0_.ProfileID as ProfileID71_0_, profiles0_.TeenFitID as TeenFitID71_0_, profiles0_.Gender as Gender71_0_, profiles0_.Age as Age71_0_, profiles0_.Grade as Grade71_0_, profiles0_.Race as Race71_0_, profiles0_.FemaleParentEducation as FemalePa7_71_0_, profiles0_.MaleParentEducation as MalePare8_71_0_, profiles0_.HomeLanguage as HomeLang9_71_0_, profiles0_.HaveTVInBedroom as HaveTVI10_71_0_, profiles0_.WeekdayHoursOfTV as Weekday11_71_0_, profiles0_.WeekendHoursOfTV as Weekend12_71_0_, profiles0_.UsedComputerYesterday as UsedCom13_71_0_, profiles0_.IMorEmailYesterday as IMorEma14_71_0_, profiles0_.BuddyListSize as BuddyLi15_71_0_, profiles0_.HaveEmailAddress as HaveEma16_71_0_, profiles0_.HaveInternetAccess as HaveInt17_71_0_, profiles0_.HaveCellPhone as HaveCel18_71_0_, profiles0_.CellHasInternetAccess as CellHas19_71_0_, profiles0_.UsedInternet as UsedInt20_71_0_, profiles0_.InternetUsageAmt as Interne21_71_0_, profiles0_.DailyInternetUsageAmt as DailyIn22_71_0_, profiles0_.WhereUsedInternet as WhereUs23_71_0_, profiles0_.WhereUsedInternetMostOften as WhereUs24_71_0_, profiles0_.InternetUsage as Interne25_71_0_, profiles0_.InternetUsageMostOften as Interne26_71_0_, profiles0_.HealthSelfAssessment as HealthS27_71_0_, profiles0_.FrequencyDaysMissed as Frequen28_71_0_, profiles0_.WeightSelfAssessment as WeightS29_71_0_, profiles0_.PastWeekExercise as PastWee30_71_0_, profiles0_.PersonalHealthInfoSource as Persona31_71_0_, profiles0_.MostValuableHealthInfoSource as MostVal32_71_0_, profiles0_.SnackOutsideMealsPerDay as SnackOu33_71_0_, profiles0_.FavoriteSnacks as Favorit34_71_0_, profiles0_.YesterdayFruitsVeggies as Yesterd35_71_0_, profiles0_.DaysWeekly5orMoreFruitsVeggies as DaysWeekly36_71_0_, profiles0_.ExamplesOf5orMoreFruitsVeggies as ExamplesOf37_71_0_, profiles0_.ExerciseMeanToYou as Exercis38_71_0_, profiles0_.FrequencyExerciseOverHour as Frequen39_71_0_, profiles0_.IsExerciseImportantToFriends as IsExerc40_71_0_, profiles0_.ITakeMediaBreaks as ITakeMe41_71_0_, profiles0_.ScaleMediaBreaks as ScaleMe42_71_0_, profiles0_.ScaleWillTakeMediaBreaks as ScaleWi43_71_0_, profiles0_.ScaleValueOfMediaBreaks as ScaleVa44_71_0_, profiles0_.ScaleEnjoymentOfMediaBreaks as ScaleEn45_71_0_, profiles0_.ScaleFriendsTakeMediaBreaks as ScaleFr46_71_0_, profiles0_.ScaleFreindsEncourageMeMediaBreaks as ScaleFr47_71_0_, profiles0_.ScalePossibilityTakeMediabreaks as ScalePo48_71_0_, profiles0_.ScalePossibilityOfRegularMediaBreaks as ScalePo49_71_0_, profiles0_.IChooseHealthyBeveragesCBS as IChoose50_71_0_, profiles0_.ScaleCHB as ScaleCHB71_0_, profiles0_.ScaleWillCHB as ScaleWi52_71_0_, profiles0_.ScaleValueOfCHB as ScaleVa53_71_0_, profiles0_.ScaleEnjoymentCHB as ScaleEn54_71_0_, profiles0_.ScaleFriendsCHB as ScaleFr55_71_0_, profiles0_.ScaleFreindsEncourageMeCHB as ScaleFr56_71_0_, profiles0_.ScalePossibilityCHB as ScalePo57_71_0_, profiles0_.ScalePossibilityOfRegularCHB as ScalePo58_71_0_, profiles0_.IChooseFruit as IChoose59_71_0_, profiles0_.ScaleFrequencyChooseFruit as ScaleFr60_71_0_, profiles0_.ScaleWillChooseFruit as ScaleWi61_71_0_, profiles0_.ScaleValueOfChooseFruit as ScaleVa62_71_0_, profiles0_.ScaleEnjoymentChooseFruit as ScaleEn63_71_0_, profiles0_.ScaleFriendsChooseFruit as ScaleFr64_71_0_, profiles0_.ScaleFreindsEncourageMeChooseFruit as ScaleFr65_71_0_, profiles0_.ScalePossibilityChooseFruit as ScalePo66_71_0_, profiles0_.ScalePossibilityOfRegularChooseFruit as ScalePo67_71_0_ from Profile profiles0_ where profiles0_.TeenFitID=?
18:16:22,568 INFO [TeenFitBO] getFitnessLevel() was called for teenfit User: 2
18:16:22,569 INFO [STDOUT] **TRANSACTION FOUND ON BEGIN**:: session = org.hibernate.transaction.JTATransaction@1dc0fec
18:16:22,570 INFO [STDOUT] Hibernate: select teenfituse0_.TeenFitUserID as TeenFitU1_73_0_, teenfituse0_.Login as Login73_0_, teenfituse0_.Handle as Handle73_0_, teenfituse0_.OriginalEntryKey as Original4_73_0_, teenfituse0_.Avatar as Avatar73_0_, teenfituse0_.School as School73_0_, teenfituse0_.FirstName as FirstName73_0_, teenfituse0_.LastName as LastName73_0_, teenfituse0_.Email as Email73_0_, teenfituse0_.Sign as Sign73_0_, teenfituse0_.LoginCount as LoginCount73_0_, teenfituse0_.LastLogin as LastLogin73_0_, teenfituse0_.IsTeenfit as IsTeenfit73_0_, teenfituse0_.IsViewable as IsViewable73_0_, teenfituse0_.IsNutritionEmailOn as IsNutri15_73_0_, teenfituse0_.IsFoodTipEmailOn as IsFoodT16_73_0_, teenfituse0_.IsStayFitEmailOn as IsStayF17_73_0_, teenfituse0_.IsExerciseParentEmailOn as IsExerc18_73_0_, teenfituse0_.IsCustomNutritionEmailOn as IsCusto19_73_0_ from TeenFitUser teenfituse0_ where teenfituse0_.TeenFitUserID=?
18:16:22,573 INFO [STDOUT] **TRANSACTION FOUND ON COMMIT**:: session = org.hibernate.transaction.JTATransaction@1dc0fec
18:16:22,579 INFO [STDOUT] Hibernate: select profiles0_.TeenFitID as TeenFitID1_, profiles0_.ProfileID as ProfileID1_, profiles0_.ProfileID as ProfileID71_0_, profiles0_.TeenFitID as TeenFitID71_0_, profiles0_.Gender as Gender71_0_, profiles0_.Age as Age71_0_, profiles0_.Grade as Grade71_0_, profiles0_.Race as Race71_0_, profiles0_.FemaleParentEducation as FemalePa7_71_0_, profiles0_.MaleParentEducation as MalePare8_71_0_, profiles0_.HomeLanguage as HomeLang9_71_0_, profiles0_.HaveTVInBedroom as HaveTVI10_71_0_, profiles0_.WeekdayHoursOfTV as Weekday11_71_0_, profiles0_.WeekendHoursOfTV as Weekend12_71_0_, profiles0_.UsedComputerYesterday as UsedCom13_71_0_, profiles0_.IMorEmailYesterday as IMorEma14_71_0_, profiles0_.BuddyListSize as BuddyLi15_71_0_, profiles0_.HaveEmailAddress as HaveEma16_71_0_, profiles0_.HaveInternetAccess as HaveInt17_71_0_, profiles0_.HaveCellPhone as HaveCel18_71_0_, profiles0_.CellHasInternetAccess as CellHas19_71_0_, profiles0_.UsedInternet as UsedInt20_71_0_, profiles0_.InternetUsageAmt as Interne21_71_0_, profiles0_.DailyInternetUsageAmt as DailyIn22_71_0_, profiles0_.WhereUsedInternet as WhereUs23_71_0_, profiles0_.WhereUsedInternetMostOften as WhereUs24_71_0_, profiles0_.InternetUsage as Interne25_71_0_, profiles0_.InternetUsageMostOften as Interne26_71_0_, profiles0_.HealthSelfAssessment as HealthS27_71_0_, profiles0_.FrequencyDaysMissed as Frequen28_71_0_, profiles0_.WeightSelfAssessment as WeightS29_71_0_, profiles0_.PastWeekExercise as PastWee30_71_0_, profiles0_.PersonalHealthInfoSource as Persona31_71_0_, profiles0_.MostValuableHealthInfoSource as MostVal32_71_0_, profiles0_.SnackOutsideMealsPerDay as SnackOu33_71_0_, profiles0_.FavoriteSnacks as Favorit34_71_0_, profiles0_.YesterdayFruitsVeggies as Yesterd35_71_0_, profiles0_.DaysWeekly5orMoreFruitsVeggies as DaysWeekly36_71_0_, profiles0_.ExamplesOf5orMoreFruitsVeggies as ExamplesOf37_71_0_, profiles0_.ExerciseMeanToYou as Exercis38_71_0_, profiles0_.FrequencyExerciseOverHour as Frequen39_71_0_, profiles0_.IsExerciseImportantToFriends as IsExerc40_71_0_, profiles0_.ITakeMediaBreaks as ITakeMe41_71_0_, profiles0_.ScaleMediaBreaks as ScaleMe42_71_0_, profiles0_.ScaleWillTakeMediaBreaks as ScaleWi43_71_0_, profiles0_.ScaleValueOfMediaBreaks as ScaleVa44_71_0_, profiles0_.ScaleEnjoymentOfMediaBreaks as ScaleEn45_71_0_, profiles0_.ScaleFriendsTakeMediaBreaks as ScaleFr46_71_0_, profiles0_.ScaleFreindsEncourageMeMediaBreaks as ScaleFr47_71_0_, profiles0_.ScalePossibilityTakeMediabreaks as ScalePo48_71_0_, profiles0_.ScalePossibilityOfRegularMediaBreaks as ScalePo49_71_0_, profiles0_.IChooseHealthyBeveragesCBS as IChoose50_71_0_, profiles0_.ScaleCHB as ScaleCHB71_0_, profiles0_.ScaleWillCHB as ScaleWi52_71_0_, profiles0_.ScaleValueOfCHB as ScaleVa53_71_0_, profiles0_.ScaleEnjoymentCHB as ScaleEn54_71_0_, profiles0_.ScaleFriendsCHB as ScaleFr55_71_0_, profiles0_.ScaleFreindsEncourageMeCHB as ScaleFr56_71_0_, profiles0_.ScalePossibilityCHB as ScalePo57_71_0_, profiles0_.ScalePossibilityOfRegularCHB as ScalePo58_71_0_, profiles0_.IChooseFruit as IChoose59_71_0_, profiles0_.ScaleFrequencyChooseFruit as ScaleFr60_71_0_, profiles0_.ScaleWillChooseFruit as ScaleWi61_71_0_, profiles0_.ScaleValueOfChooseFruit as ScaleVa62_71_0_, profiles0_.ScaleEnjoymentChooseFruit as ScaleEn63_71_0_, profiles0_.ScaleFriendsChooseFruit as ScaleFr64_71_0_, profiles0_.ScaleFreindsEncourageMeChooseFruit as ScaleFr65_71_0_, profiles0_.ScalePossibilityChooseFruit as ScalePo66_71_0_, profiles0_.ScalePossibilityOfRegularChooseFruit as ScalePo67_71_0_ from Profile profiles0_ where profiles0_.TeenFitID=?
18:16:22,591 INFO [STDOUT] **TRANSACTION FOUND ON COMMIT**:: session = org.hibernate.transaction.JTATransaction@1dc0fec
18:16:22,592 INFO [STDOUT] Exception:org.hibernate.TransactionException: Transaction not successfully started
18:16:22,592 INFO [STDOUT] **TRANSACTION FOUND ON ROLLBACK**:: session = org.hibernate.transaction.JTATransaction@1dc0fec
18:16:22,614 INFO [STDOUT] **TRANSACTION FOUND ON BEGIN**:: session = org.hibernate.transaction.JTATransaction@f1df22
18:16:22,614 INFO [WhatsNewDAO] WhatsNewDAO.findAll() getting WhatsNew instance with id:
18:16:22,615 INFO [STDOUT] Hibernate: select whatsnew0_.WhatsNewID as WhatsNewID74_, whatsnew0_.Type as Type74_, whatsnew0_.WhatsNewDesc as WhatsNew3_74_, whatsnew0_.PostDate as PostDate74_ from WhatsNew whatsnew0_ order by whatsnew0_.PostDate desc
18:16:22,601 ERROR [UtilityPortlet] The portlet threw an exception
org.hibernate.TransactionException: Transaction not successfully started
at org.hibernate.transaction.JTATransaction.rollback(JTATransaction.java:171)
at com.imediainc.teenfit.datalayer.dao.TransactionDAO.rollbackTransaction(TransactionDAO.java:30)
at com.imediainc.teenfit.buslogic.TeenFitBO.getFitnessLevel(TeenFitBO.java:388)
at com.imediainc.teenfit.main.UtilityPortlet.doView(UtilityPortlet.java:47)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:63)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:193)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:114)
at sun.reflect.GeneratedMethodAccessor333.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy61.invoke(Unknown Source)
at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:249)
at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy63.invoke(Unknown Source)
at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:139)
at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:155)
at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy65.invoke(Unknown Source)
at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:63)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:85)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:93)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:83)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:123)
at sun.reflect.GeneratedMethodAccessor325.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy47.invoke(Unknown Source)
at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:273)
at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:108)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:463)
at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:340)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
at $Proxy140.handle(Unknown Source)
at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294)
at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419)
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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
18:16:22,634 ERROR [ControllerCommand] Rendering portlet window default.Stuff 2 Do.Utility produced an internal error
java.lang.IllegalStateException: Already associated with a tx
at org.jboss.tm.TxManager.resume(TxManager.java:311)
at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:105)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:63)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
at sun.reflect.GeneratedMethodAccessor334.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:193)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:114)
at sun.reflect.GeneratedMethodAccessor333.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy61.invoke(Unknown Source)
at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:249)
at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy63.invoke(Unknown Source)
at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:139)
at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:155)
at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy65.invoke(Unknown Source)
at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:63)
at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:85)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:93)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:83)
at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:123)
at sun.reflect.GeneratedMethodAccessor325.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy47.invoke(Unknown Source)
at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:273)
at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:108)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:463)
at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:340)
at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.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.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
at $Proxy140.handle(Unknown Source)
at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294)
at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419)
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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Name and version of the database you are using:
SQL Server 2000
The generated SQL (show_sql=true):
NOt applicable
Debug level Hibernate log excerpt:
not applicable
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html