geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burt Prior <bpr...@cisco.com>
Subject Re: Geronimo 2.1 and Seam
Date Fri, 07 Mar 2008 22:51:31 GMT

Hi David and David,

First, thank you both for helping us.  Our team has been hanging on your
every post!

> Do you have any evidence that seam runs with a bean with a @Destroy
> annotated method on any certified platform?

I sure don't, other than latest Seam doc/articles i've went thru here:
http://seamframework.org/Documentation/GettingStarted Getting Started with
Seam 

Also, this booking example is the 'jee5' booking example; there is a 'non
jee5' booking example as well in every Seam download.  I think the 'non
jee5' uses plain JavaBean and Hibernate instead of EJB3 and JPA.

The only other JEE5 certified platform I know of that works with Seam is
GlassFish.  Not from personal exerience but from articles from Sun and Seam.
http://weblogs.java.net/blog/caroljmcdonald/archive/2007/07/sample_applicat_1.html
GlassFish and Seam 

I was just wondering. Anyone running Seam on a JEE5 compliant server such
Geronimo or GlassFish must get the same error?

> Also, it doesn't make much sense.

Yes, i agree.  All the errors we solved to get to this point 'made sense'. 
But when I saw this error, and read David's response, i thought we were in
trouble;  If I'm hitting up against the spec, and I can't change my code,
where does that leave my architecture?  (Geronimo, EJB3, Seam, Oracle, JPA,
JSF).

> I would think the jboss/seam developers would be the ones to start this
> although we  might challenge it also.

Yes, I will post on the appropriate Seam list today.  I guess the question
is to focus on @Destroy?  How would you phrase it?

What also doesn't make sense is the Seam doc for @Destroy.  Why do we see
any issue at all?
http://docs.jboss.com/seam/2.1.0.A1/reference/en/html/annotations.html#d0e19563
Seam @Destroy Annotation 


> The challenge process typically takes a while.

Yes.  Not really an option for us.  We are trying get our Geronimo app out
now.

> Other than filling up your logs what problems is this causing?

There appears to be no other errors or problems.  I've been exercising the
app, watching the console log in real time in the eclipse console, then
checking the db.  It appears to work fine.  It throws the exceptions, then
recovers.  It's always the same error: 'Callback methods cannot access
parameters'.

> Seeing the entire stack trace from your bean's @Destroy method to the
> original exception might possibly shed more light on the subject.

You bet.  I have the log output setting to its highest log level, so i'm
seeing everything load successfully.  The stack trace follows.  See below.

Also, the app is already deployed in the repository,  so i get a perfectly
clean geronimo startup and booking app load as well.  You can see the EJB
container load all the (7) 'booking' apps beans perfect with no errors. 
When I 'log in' to the booking app, I get no errors. Only when I perform
some 'bean logic' do I get the errors, and even then it appears to carry out
its business logic.

One more note on the following listing:  

You will see 'bookingList', and 'hotelSearch'.  these are the Seam @Name's
for the Stateful Session Beans that contain the @Destroy annotation.  As I
mentioned, each bean's code is rather simple.

...
perfect Geronimo and Booking application startup... No errors.
...
start exercising the booking app until first error, then recover...
...

11:24:05,791 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:24:05,807 INFO  [OpenEJB] finished invoking method create
11:24:06,010 INFO  [OpenEJB] invoking method create on
jboss-seam-jee5.jar/AuthenticatorAction
11:24:06,010 INFO  [OpenEJB] finished invoking method create
11:24:06,056 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract boolean
org.jboss.seam.example.booking.Authenticator.authenticate()
Hibernate: select user0_.username as username2_, user0_.name as name2_,
user0_.password as password2_ from Customer user0_ where user0_.username=?
and user0_.password=?
11:24:28,118 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:24:28,118 INFO  [OpenEJB] finished invoking method create
11:24:28,259 INFO  [OpenEJB] invoking method create on
jboss-seam-jee5.jar/AuthenticatorAction
11:24:28,259 INFO  [OpenEJB] finished invoking method create
Hibernate: select user0_.username as username2_, user0_.name as name2_,
user0_.password as password2_ from Customer user0_ where user0_.username=?
and user0_.password=?
11:24:28,337 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:24:28,337 INFO  [OpenEJB] finished invoking method create
11:24:28,993 INFO  [OpenEJB] invoking method create on
jboss-seam-jee5.jar/HotelSearchingAction
11:24:29,009 INFO  [OpenEJB] finished invoking method create
11:24:29,009 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract java.lang.String
org.jboss.seam.example.booking.HotelSearching.getSearchString()
11:24:29,024 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract int
org.jboss.seam.example.booking.HotelSearching.getPageSize()
11:24:29,040 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract boolean
org.jboss.seam.example.booking.HotelSearching.isNextPageAvailable()
11:24:29,040 INFO  [OpenEJB] invoking method create on
jboss-seam-jee5.jar/BookingListAction
11:24:29,040 INFO  [OpenEJB] finished invoking method create
11:24:29,040 INFO  [Transaction] TX RequiresNew: Suspended transaction
org.apache.geronimo.transaction.manager.TransactionImpl@8f7906
11:24:29,040 INFO  [Transaction] TX RequiresNew: Started transaction
org.apache.geronimo.transaction.manager.TransactionImpl@133d8b
Hibernate: select booking0_.id as id0_, booking0_.beds as beds0_,
booking0_.checkinDate as checkinD3_0_, booking0_.checkoutDate as
checkout4_0_, booking0_.creditCard as creditCard0_,
booking0_.creditCardExpiryMonth as creditCa6_0_,
booking0_.creditCardExpiryYear as creditCa7_0_, booking0_.creditCardName as
creditCa8_0_, booking0_.hotel_id as hotel11_0_, booking0_.smoking as
smoking0_, booking0_.user_username as user10_0_ from Booking booking0_ where
booking0_.user_username=? order by booking0_.checkinDate
11:24:29,087 INFO  [Transaction] TX RequiresNew: Committing transaction
org.apache.geronimo.transaction.manager.TransactionImpl@133d8b
11:24:29,087 INFO  [Transaction] TX RequiresNew: Resuming transaction
org.apache.geronimo.transaction.manager.TransactionImpl@8f7906
11:24:33,805 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:24:33,805 INFO  [OpenEJB] finished invoking method create
11:24:33,930 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract void
org.jboss.seam.example.booking.HotelSearching.setSearchString(java.lang.String)
11:24:33,930 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract void
org.jboss.seam.example.booking.HotelSearching.setPageSize(int)
11:24:34,040 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract void
org.jboss.seam.example.booking.HotelSearching.find()
Hibernate: select * from ( select hotel0_.id as id1_, hotel0_.address as
address1_, hotel0_.city as city1_, hotel0_.country as country1_,
hotel0_.name as name1_, hotel0_.price as price1_, hotel0_.state as state1_,
hotel0_.zip as zip1_ from Hotel hotel0_ where lower(hotel0_.name) like ? or
lower(hotel0_.city) like ? or lower(hotel0_.zip) like ? or
lower(hotel0_.address) like ? ) where rownum <= ?
11:24:43,258 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:24:43,258 INFO  [OpenEJB] finished invoking method create
Hibernate: select * from ( select hotel0_.id as id1_, hotel0_.address as
address1_, hotel0_.city as city1_, hotel0_.country as country1_,
hotel0_.name as name1_, hotel0_.price as price1_, hotel0_.state as state1_,
hotel0_.zip as zip1_ from Hotel hotel0_ where lower(hotel0_.name) like ? or
lower(hotel0_.city) like ? or lower(hotel0_.zip) like ? or
lower(hotel0_.address) like ? ) where rownum <= ?
11:24:47,711 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:24:47,711 INFO  [OpenEJB] finished invoking method create
Hibernate: select * from ( select hotel0_.id as id1_, hotel0_.address as
address1_, hotel0_.city as city1_, hotel0_.country as country1_,
hotel0_.name as name1_, hotel0_.price as price1_, hotel0_.state as state1_,
hotel0_.zip as zip1_ from Hotel hotel0_ where lower(hotel0_.name) like ? or
lower(hotel0_.city) like ? or lower(hotel0_.zip) like ? or
lower(hotel0_.address) like ? ) where rownum <= ?
11:25:05,023 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:25:05,023 INFO  [OpenEJB] finished invoking method create
11:25:05,148 INFO  [Transaction] TX RequiresNew: Suspended transaction null
11:25:05,148 INFO  [Transaction] TX RequiresNew: Started transaction
org.apache.geronimo.transaction.manager.TransactionImpl@84038
11:25:05,179 ERROR [OpenEJB] The bean instance business method encountered a
system exception: Callback methods cannot access parameters
java.lang.IllegalStateException: Callback methods cannot access parameters
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.getParameters(ReflectionInvocationContext.java:71)
	at
org.jboss.seam.intercept.EJBInvocationContext.getParameters(EJBInvocationContext.java:34)
	at
org.jboss.seam.intercept.SeamInvocationContext.getParameters(SeamInvocationContext.java:49)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:33)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
	at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
	at
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
	at
org.apache.openejb.core.stateful.StatefulContainer._invoke(StatefulContainer.java:428)
	at
org.apache.openejb.core.stateful.StatefulContainer.removeEJBObject(StatefulContainer.java:332)
	at
org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:244)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:321)
	at
org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49)
	at $Proxy76.destroy(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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
	at
org.javassist.tmp.java.lang.Object_$$_javassist_4.destroy(Object_$$_javassist_4.java)
	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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2084)
	at org.jboss.seam.Component.callDestroyMethod(Component.java:2015)
	at org.jboss.seam.Component.destroy(Component.java:1331)
	at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251)
	at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:249)
	at
org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:129)
	at
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:49)
	at
org.mortbay.jetty.servlet.AbstractSessionManager.removeSession(AbstractSessionManager.java:665)
	at
org.mortbay.jetty.servlet.AbstractSessionManager$Session.invalidate(AbstractSessionManager.java:938)
	at
org.mortbay.jetty.servlet.HashSessionManager$Session.invalidate(HashSessionManager.java:493)
	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
org.jboss.seam.contexts.FacesLifecycle.invalidateSession(FacesLifecycle.java:141)
	at
org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:118)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterRenderResponse(SeamPhaseListener.java:515)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:247)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
	at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:142)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at
org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65)
	at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
	at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)
	at
org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
	at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
	at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
11:25:05,179 INFO  [Transaction] TX RequiresNew: setRollbackOnly() on
transaction org.apache.geronimo.transaction.manager.TransactionImpl@84038
11:25:05,179 INFO  [Transaction] TX RequiresNew: Rolling back transaction
org.apache.geronimo.transaction.manager.TransactionImpl@84038
11:25:05,179 INFO  [Transaction] TX RequiresNew: No transaction to resume
11:25:05,194 INFO  [OpenEJB] Activation failed: file not found
C:\DOCUME~1\bprior\LOCALS~1\Temp\51df64433d24c9fb=-58e5aeb7=1188aadff79=-7f84
11:25:05,194 WARN  [Component] Exception calling component @Destroy method:
bookingList
javax.ejb.EJBException: The bean encountered a non-application exception.;
nested exception is: 
	java.lang.IllegalStateException: Callback methods cannot access parameters
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:366)
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:323)
	at
org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49)
	at $Proxy76.destroy(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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
	at
org.javassist.tmp.java.lang.Object_$$_javassist_4.destroy(Object_$$_javassist_4.java)
	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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2084)
	at org.jboss.seam.Component.callDestroyMethod(Component.java:2015)
	at org.jboss.seam.Component.destroy(Component.java:1331)
	at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251)
	at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:249)
	at
org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:129)
	at
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:49)
	at
org.mortbay.jetty.servlet.AbstractSessionManager.removeSession(AbstractSessionManager.java:665)
	at
org.mortbay.jetty.servlet.AbstractSessionManager$Session.invalidate(AbstractSessionManager.java:938)
	at
org.mortbay.jetty.servlet.HashSessionManager$Session.invalidate(HashSessionManager.java:493)
	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
org.jboss.seam.contexts.FacesLifecycle.invalidateSession(FacesLifecycle.java:141)
	at
org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:118)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterRenderResponse(SeamPhaseListener.java:515)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:247)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
	at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:142)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at
org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65)
	at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
	at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)
	at
org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
	at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
	at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Callback methods cannot access
parameters
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.getParameters(ReflectionInvocationContext.java:71)
	at
org.jboss.seam.intercept.EJBInvocationContext.getParameters(EJBInvocationContext.java:34)
	at
org.jboss.seam.intercept.SeamInvocationContext.getParameters(SeamInvocationContext.java:49)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:33)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
	at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
	at
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
	at
org.apache.openejb.core.stateful.StatefulContainer._invoke(StatefulContainer.java:428)
	at
org.apache.openejb.core.stateful.StatefulContainer.removeEJBObject(StatefulContainer.java:332)
	at
org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:244)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:321)
	... 92 more
11:25:05,210 INFO  [OpenEJB] The following method doesn't have a transaction
policy assigned: public abstract void
org.jboss.seam.example.booking.HotelSearching.destroy()
11:25:05,210 INFO  [Transaction] TX Required: Started transaction
org.apache.geronimo.transaction.manager.TransactionImpl@16e4a57
11:25:05,210 ERROR [OpenEJB] The bean instance business method encountered a
system exception: Callback methods cannot access parameters
java.lang.IllegalStateException: Callback methods cannot access parameters
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.getParameters(ReflectionInvocationContext.java:71)
	at
org.jboss.seam.intercept.EJBInvocationContext.getParameters(EJBInvocationContext.java:34)
	at
org.jboss.seam.intercept.SeamInvocationContext.getParameters(SeamInvocationContext.java:49)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:33)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
	at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
	at
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
	at
org.apache.openejb.core.stateful.StatefulContainer._invoke(StatefulContainer.java:428)
	at
org.apache.openejb.core.stateful.StatefulContainer.removeEJBObject(StatefulContainer.java:332)
	at
org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:244)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:321)
	at
org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49)
	at $Proxy75.destroy(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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
	at
org.javassist.tmp.java.lang.Object_$$_javassist_3.destroy(Object_$$_javassist_3.java)
	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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2084)
	at org.jboss.seam.Component.callDestroyMethod(Component.java:2015)
	at org.jboss.seam.Component.destroy(Component.java:1331)
	at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251)
	at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:249)
	at
org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:129)
	at
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:49)
	at
org.mortbay.jetty.servlet.AbstractSessionManager.removeSession(AbstractSessionManager.java:665)
	at
org.mortbay.jetty.servlet.AbstractSessionManager$Session.invalidate(AbstractSessionManager.java:938)
	at
org.mortbay.jetty.servlet.HashSessionManager$Session.invalidate(HashSessionManager.java:493)
	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
org.jboss.seam.contexts.FacesLifecycle.invalidateSession(FacesLifecycle.java:141)
	at
org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:118)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterRenderResponse(SeamPhaseListener.java:515)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:247)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
	at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:142)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at
org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65)
	at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
	at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)
	at
org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
	at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
	at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
11:25:05,210 INFO  [Transaction] TX Required: setRollbackOnly() on
transaction org.apache.geronimo.transaction.manager.TransactionImpl@16e4a57
11:25:05,210 INFO  [Transaction] TX Required: Rolling back transaction
org.apache.geronimo.transaction.manager.TransactionImpl@16e4a57
11:25:05,226 INFO  [OpenEJB] Activation failed: file not found
C:\DOCUME~1\bprior\LOCALS~1\Temp\51df64433d24c9fb=-58e5aeb7=1188aadff79=-7f85
11:25:05,226 WARN  [Component] Exception calling component @Destroy method:
hotelSearch
javax.ejb.EJBException: The bean encountered a non-application exception.;
nested exception is: 
	java.lang.IllegalStateException: Callback methods cannot access parameters
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:366)
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:323)
	at
org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49)
	at $Proxy75.destroy(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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
	at
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
	at
org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:41)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
	at
org.javassist.tmp.java.lang.Object_$$_javassist_3.destroy(Object_$$_javassist_3.java)
	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 org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
	at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
	at org.jboss.seam.Component.callComponentMethod(Component.java:2084)
	at org.jboss.seam.Component.callDestroyMethod(Component.java:2015)
	at org.jboss.seam.Component.destroy(Component.java:1331)
	at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251)
	at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:249)
	at
org.jboss.seam.contexts.ServletLifecycle.endSession(ServletLifecycle.java:129)
	at
org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:49)
	at
org.mortbay.jetty.servlet.AbstractSessionManager.removeSession(AbstractSessionManager.java:665)
	at
org.mortbay.jetty.servlet.AbstractSessionManager$Session.invalidate(AbstractSessionManager.java:938)
	at
org.mortbay.jetty.servlet.HashSessionManager$Session.invalidate(HashSessionManager.java:493)
	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
org.jboss.seam.contexts.FacesLifecycle.invalidateSession(FacesLifecycle.java:141)
	at
org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:118)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterRenderResponse(SeamPhaseListener.java:515)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:247)
	at
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:194)
	at
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:92)
	at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:142)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
	at
org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
	at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
	at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
	at
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
	at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
	at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
	at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.access$101(TwistyWebAppContext.java:40)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext$TwistyHandler.handle(TwistyWebAppContext.java:65)
	at
org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46)
	at
org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58)
	at
org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48)
	at
org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47)
	at
org.apache.geronimo.jetty6.handler.TwistyWebAppContext.handle(TwistyWebAppContext.java:59)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
	at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:324)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
	at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
	at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
	at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
	at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Callback methods cannot access
parameters
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.getParameters(ReflectionInvocationContext.java:71)
	at
org.jboss.seam.intercept.EJBInvocationContext.getParameters(EJBInvocationContext.java:34)
	at
org.jboss.seam.intercept.SeamInvocationContext.getParameters(SeamInvocationContext.java:49)
	at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:33)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27)
	at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
	at
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
	at
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
	at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146)
	at
org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129)
	at
org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67)
	at
org.apache.openejb.core.stateful.StatefulContainer._invoke(StatefulContainer.java:428)
	at
org.apache.openejb.core.stateful.StatefulContainer.removeEJBObject(StatefulContainer.java:332)
	at
org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:244)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
	at
org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
	at
org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:321)
	... 92 more
11:25:05,241 INFO  [Contexts] starting up: org.jboss.seam.security.identity
11:25:05,241 INFO  [Contexts] starting up: org.jboss.seam.web.session
11:25:05,257 INFO  [OpenEJB] invoking method create on
jboss-seam.jar/EjbSynchronizations
11:25:05,257 INFO  [OpenEJB] finished invoking method create


If possible, could you please keep us in the loop on this issue?  We would
be happy to help in any way we can.

Thanks again,
.Burt
 



djencks wrote:
> 
> I talked with david blevins about this a little more.  From the  
> evidence available so far we think that seam is not jee5 compliant  
> with the tck requirements.  If openejb did not throw this exception  
> in these circumstances it would fail the tck.  Recall that seam is  
> developed on a non-jee5-certified platform.  Under these  
> circumstances we'd have a hard time changing openejb to not throw the  
> exception. Do you have any evidence that seam runs with a bean with a  
> @Destroy annotated method on any certified platform?
> 
> On the other hand the requirement appears to be only in tck code and  
> not stated in the spec.  Also, it doesn't make much sense.  Thus it  
> might be worth pursuing a challenge to the tck.  I would think the  
> jboss/seam developers would be the ones to start this although we  
> might challenge it also.  The challenge process typically takes a while.
> 
> Seeing the entire stack trace from your bean's @Destroy method to the  
> original exception might possibly shed more light on the subject.
> 
> Other than filling up your logs what problems is this causing?  If it  
> does not cause functional problems perhaps pursuing a challenge would  
> be the best solution.
> 
> thanks
> david jencks
> 
> On Mar 7, 2008, at 10:06 AM, Burt Prior wrote:
> 
>>
>> Hi David,
>>
>> Thanks for the reply.  Our team really needs some help in solving  
>> this last
>> issue with Geronimo and Seam.  There must be some way to resolve this.
>>
>> As I exercise Seam's booking app, I monitor the Geronimo log very  
>> closely.
>> As I mentioned, the app works fine.  You can see the entities and ejb3
>> (stateful) session beans are found (jndi) and loaded correctly.   
>> The only
>> error we see is the one mentioned in my last post.
>>
>> The error is thrown, and the app continues on.
>>
>> Data is saved correctly in the DB, and the business logic in the  
>> session
>> beans are executed in the container fine.
>>
>> After closer inspection of the log, the error appears every time  
>> any session
>> bean is invoked, for example, 'BookingListAction' -> 'bookingList',
>> 'HotelSearchingAction' -> 'hostSearch'.   I've went over the source  
>> code for
>> these beans; they are simple and easy to understand, and I don't see
>> anything that would cause this error.
>>
>> What every session bean shares is the following method and annotation:
>>
>> ...
>> @Destroy @Remove
>> public void destroy() {}
>> ...
>>
>> I think this is related to the error, but I'm not sure.  I'm  
>> looking for
>> something to change in any bean code, but I don't see a thing.
>>
>> The Seam 'booking' example is important to our team to work with no  
>> errors
>> because this is exactly how we are building our current production  
>> app;
>> (Geronimo 2.1, Seam 2.1, JSF (facelets), EJB3 Session Beans, JPA  
>> Entities).
>>
>> And everything works, except for this error!
>>
>> It appears to us that any 'Seam app' running on Geronimo 2.1 would
>> experience this issue.
>>
>> Could we ask for you and your team's help to work with us in  
>> resolving this,
>> and how we can move forward?
>>
>> Thanks very much for your time and help,
>> .Burt
>>
>>
>>
>>
>> David Blevins wrote:
>>>
>>>
>>> On Mar 6, 2008, at 1:30 PM, Burt Prior wrote:
>>>
>>>> ...
>>>> 13:16:36,385 INFO  [OpenEJB] invoking method create on
>>>> jboss-seam.jar/EjbSynchronizations
>>>> 13:16:36,385 INFO  [OpenEJB] finished invoking method create
>>>> 13:16:36,495 INFO  [Transaction] TX Required: Started transaction
>>>> org.apache.geronimo.transaction.manager.TransactionImpl@13a6ecc
>>>> 13:16:36,495 ERROR [OpenEJB] The bean instance business method
>>>> encountered a
>>>> system exception: Callback methods cannot access parameters
>>>> java.lang.IllegalStateException: Callback methods cannot access
>>>> parameters
>>>> 	at
>>>> org
>>>> .apache
>>>> .openejb
>>>> .core
>>>> .interceptor
>>>> .ReflectionInvocationContext
>>>> .getParameters(ReflectionInvocationContext.java:71)
>>>> 	at
>>>> org
>>>> .jboss
>>>> .seam
>>>> .intercept
>>>> .EJBInvocationContext.getParameters(EJBInvocationContext.java:34)
>>>> 	at
>>>> org
>>>> .jboss
>>>> .seam
>>>> .intercept
>>>> .SeamInvocationContext.getParameters(SeamInvocationContext.java:49)
>>>> ...
>>>> 13:16:36,495 WARN  [Component] Exception calling component @Destroy
>>>> method:
>>>> hotelBooking
>>>> javax.ejb.EJBException: The bean encountered a non-application
>>>> exception.;
>>>> nested exception is:
>>>> 	java.lang.IllegalStateException: Callback methods cannot access
>>>> parameters
>>>> 	at
>>>> org
>>>> .apache
>>>> .openejb
>>>> .core
>>>> .ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:
>>>> 366)
>>>> 	at
>>>> org
>>>> .apache
>>>> .openejb
>>>> .core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:323)
>>>> 	at
>>>> org
>>>> .apache
>>>> .openejb
>>>> .util
>>>> .proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49)
>>>> 	at $Proxy77.destroy(Unknown Source)
>>>> ...
>>>>
>>>> I'm really stuck on this. Any idea's on how I can resolve this last
>>>> error?
>>>
>>> This it seems like some code is trying to call
>>> InvocationContext.getParameters() from inside a lifecycle method.
>>>
>>> I can't find a reference to this in the spec, but the TCK definitely
>>> says this must throw an IllegalStateException.
>>>
>>> -David
>>>
>>>> djencks wrote:
>>>>>
>>>>> I don't have oracle set up here which makes it hard to test much.
>>>>>
>>>>> Right now you have the persistence element in your geronimo plan  
>>>>> set
>>>>> up so that it's using the jdbc/ElvisPool configured later on in the
>>>>> same plan.  While it was my idea originally to introduce the "ext-
>>>>> module" stuff I now think its usually a bad idea.  In this case  
>>>>> there
>>>>> are no config-properties specified in the plan for the pool, so  
>>>>> it's
>>>>> not surprising that oracle can't figure out where the db is.
>>>>>
>>>>> From the end of your post it looks like you've set up a pool using
>>>>> the wizard.  I'd recommend using that one.  So
>>>>> - remove the entire ext-module section from your plan.
>>>>> -  Change the persistence element so the jta-datasource is whatever
>>>>> you named the datasource in the wizard-created pool.
>>>>> - Remove the oracle dependency from the plan and replace it with a
>>>>> dependency on the wizard-created pool.
>>>>> - I don't know if you'll need the non-jta-datasource.  I strongly
>>>>> recommend removing it until you find out you need it.  If  
>>>>> present, it
>>>>> absolutely needs to be a different datasource, with no-transaction
>>>>> configured.
>>>>>
>>>>> hope this helps
>>>>> david jencks
>>>>>
>>>>>
>>>>>
>>>>> On Mar 4, 2008, at 5:07 PM, Burt Prior wrote:
>>>>>
>>>>>>
>>>>>> Hi Jacek and David,
>>>>>>
>>>>>> Here is the stack trace of when I try to 'register' myself in the
>>>>>> booking
>>>>>> application:
>>>>>> <snip>
>>>>>> and here is my 'jboss-seam-jee5-geronimo-plan.xml':
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/
>>>>>> application-2.0">
>>>>>>
>>>>>>  <environment xmlns="http://geronimo.apache.org/xml/ns/
>>>>>> deployment-1.2">
>>>>>>    <moduleId>
>>>>>>      <groupId>org.jboss.seam.examples.jee5</groupId>
>>>>>>      <artifactId>jboss-seam-jee5</artifactId>
>>>>>>      <version>2.1.0.A1</version>
>>>>>>      <type>ear</type>
>>>>>>    </moduleId>
>>>>>>    <dependencies>
>>>>>>      <dependency>
>>>>>>        <groupId>org.apache.geronimo.hibernate</groupId>
>>>>>>
>>>>>> <artifactId>geronimo-hibernate-transaction-manager-lookup</
>>>>>> artifactId>
>>>>>>        <type>jar</type>
>>>>>>      </dependency>
>>>>>>
>>>>>>       <!-- bprior added new dependency below per Jacek -->
>>>>>>       	<dependency>
>>>>>>         	<groupId>oracle</groupId>
>>>>>>         	<artifactId>jdbc</artifactId>
>>>>>>         	<version>10.2</version>
>>>>>>         	<type>jar</type>
>>>>>>       	</dependency>
>>>>>>       	
>>>>>>       <!--  bprior added new dependency below per david jencks -->
>>>>>>
>>>>>>       <dependency>
>>>>>>        <groupId>concurrent</groupId>
>>>>>>        <artifactId>concurrent</artifactId>
>>>>>>        <type>jar</type>
>>>>>>      </dependency>	
>>>>>>
>>>>>>    </dependencies>
>>>>>>  </environment>
>>>>>>
>>>>>>  <module>
>>>>>>    <web>jboss-seam-jee5.war</web>
>>>>>>    <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/
>>>>>> web-2.0.1">
>>>>>>      <environment xmlns="http://geronimo.apache.org/xml/ns/
>>>>>> deployment-1.2">
>>>>>>        <moduleId>
>>>>>>          <groupId>org.jboss.seam.examples.jee5</groupId>
>>>>>>          <artifactId>jboss-seam-jee5</artifactId>
>>>>>>          <version>2.1.0.A1</version>
>>>>>>          <type>war</type>
>>>>>>        </moduleId>
>>>>>>      </environment>
>>>>>>      <context-root>/seam-jee5</context-root>
>>>>>>    </web-app>
>>>>>>  </module>
>>>>>>
>>>>>>  <module>
>>>>>>    <ejb>jboss-seam-jee5.jar</ejb>
>>>>>>    <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-
>>>>>> jar-2.1">
>>>>>>
>>>>>>      <environment xmlns="http://geronimo.apache.org/xml/ns/
>>>>>> deployment-1.2">
>>>>>>        <moduleId>
>>>>>>          <groupId>org.jboss.seam.examples.jee5</groupId>
>>>>>>          <artifactId>jboss-seam-jee5</artifactId>
>>>>>>          <version>2.1.0.A1</version>
>>>>>>          <type>jar</type>
>>>>>>        </moduleId>
>>>>>>      </environment>
>>>>>>
>>>>>>      <!-- overrides what's in the module's persistence.xml -->
>>>>>>
>>>>>>      <persistence xmlns="http://java.sun.com/xml/ns/persistence">
>>>>>>        <persistence-unit name="bookingDatabase">
>>>>>>          <provider>org.hibernate.ejb.HibernatePersistence</ 
>>>>>> provider>
>>>>>>          <jta-data-source>jdbc/ElvisPool</jta-data-source>
>>>>>>          <non-jta-data-source>jdbc/ElvisPool</non-jta-data-source>
>>>>>>          <class>org.jboss.seam.example.booking.Booking</class>
>>>>>>          <class>org.jboss.seam.example.booking.Hotel</class>
>>>>>>          <class>org.jboss.seam.example.booking.User</class>
>>>>>>          <exclude-unlisted-classes>true</exclude-unlisted-classes>
>>>>>>
>>>>>>          <properties>
>>>>>>          	<property name="hibernate.dialect"
>>>>>> value="org.hibernate.dialect.OracleDialect"/>
>>>>>>            <property
>>>>>> name="hibernate.transaction.manager_lookup_class"
>>>>>>
>>>>>> value
>>>>>> ="org.apache.geronimo.hibernate.transaction.GeronimoTransactionMa
>>>>>> nagerLookup"
>>>>>> />
>>>>>>
>>>>>>         <property name="hibernate.hbm2ddl.auto" value="create-
>>>>>> drop"/>
>>>>>>         <property name="hibernate.show_sql" value="true"/>
>>>>>>         <property
>>>>>> name="hibernate.transaction.flush_before_completion"
>>>>>> value="true"/>
>>>>>>         <property name="hibernate.cache.provider_class"
>>>>>>              value="org.hibernate.cache.HashtableCacheProvider"/>
>>>>>>
>>>>>>          </properties>
>>>>>>
>>>>>>        </persistence-unit>
>>>>>>        <!-- change the way the default PU works - make it an alias
>>>>>> to
>>>>>> bookingDatabase PU -->
>>>>>>        <persistence-unit name="cmp">
>>>>>>          <class>org.jboss.seam.example.booking.Booking</class>
>>>>>>          <class>org.jboss.seam.example.booking.Hotel</class>
>>>>>>          <class>org.jboss.seam.example.booking.User</class>
>>>>>>          <exclude-unlisted-classes>true</exclude-unlisted-classes>
>>>>>>        </persistence-unit>
>>>>>>      </persistence>
>>>>>>
>>>>>>
>>>>>>    </openejb-jar>
>>>>>>  </module>
>>>>>>
>>>>>>  <ext-module>
>>>>>>    <connector>seam-jee5-dbpool</connector>
>>>>>>    <external-path
>>>>>> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
>>>>>>      <dep:groupId>org.tranql</dep:groupId>
>>>>>>      <dep:artifactId>tranql-connector-oracle-local</ 
>>>>>> dep:artifactId>
>>>>>>      <dep:type>rar</dep:type>
>>>>>>    </external-path>
>>>>>>    <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/
>>>>>> connector-1.2">
>>>>>>      <environment xmlns="http://geronimo.apache.org/xml/ns/
>>>>>> deployment-1.2">
>>>>>>        <moduleId>
>>>>>>          <groupId>org.jboss.seam.examples.jee5</groupId>
>>>>>>          <artifactId>booking-dbpool</artifactId>
>>>>>>          <version>2.1.0.A1</version>
>>>>>>          <type>rar</type>
>>>>>>        </moduleId>
>>>>>>        <dependencies>
>>>>>>          <dependency>
>>>>>>            <groupId>org.apache.geronimo.configs</groupId>
>>>>>>            <artifactId>system-database</artifactId>
>>>>>>            <type>car</type>
>>>>>>          </dependency>
>>>>>>
>>>>>>
>>>>>>        </dependencies>
>>>>>>      </environment>
>>>>>>      <resourceadapter>
>>>>>>        <outbound-resourceadapter>
>>>>>>          <connection-definition>
>>>>>>
>>>>>> <connectionfactory-interface>javax.sql.DataSource</
>>>>>> connectionfactory-interface>
>>>>>>            <connectiondefinition-instance>
>>>>>>
>>>>>>              <name>jdbc/ElvisPool</name>
>>>>>>
>>>>>>              <!--
>>>>>>              <config-property-setting
>>>>>> name="UserName">ENGLRN_BPRIOR</config-property-setting>
>>>>>>              <config-property-setting
>>>>>> name="Password">BPRIOR</config-property-setting>
>>>>>>              <config-property-setting
>>>>>> name="Driver">oracle.jdbc.driver.OracleDriver</config-property-
>>>>>> setting>
>>>>>>              <config-property-setting
>>>>>> name="ConnectionURL">jdbc:oracle:thin:@englearn-app1@cisco.com:
>>>>>> 1521:xe</config-property-setting>
>>>>>>              -->
>>>>>>
>>>>>>              <!--  <config-property-setting
>>>>>> name="DatabaseName">SystemDatabase</config-property-setting> -->
>>>>>>
>>>>>>              <connectionmanager>
>>>>>>                <local-transaction />
>>>>>>                <single-pool>
>>>>>>                  <max-size>8</max-size>
>>>>>>                  <min-size>4</min-size>
>>>>>>
>>>>>> <blocking-timeout-milliseconds>5000</blocking-timeout- 
>>>>>> milliseconds>
>>>>>>                  <select-one-assume-match />
>>>>>>                </single-pool>
>>>>>>              </connectionmanager>
>>>>>>            </connectiondefinition-instance>
>>>>>>          </connection-definition>
>>>>>>        </outbound-resourceadapter>
>>>>>>      </resourceadapter>
>>>>>>    </connector>
>>>>>>  </ext-module>
>>>>>>
>>>>>> </application>
>>>>>>
>>>>>>
>>>>>> and here is my 'persistence.xml':
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>>> <persistence xmlns="http://java.sun.com/xml/ns/persistence"
>>>>>>             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>>>             xsi:schemaLocation="http://java.sun.com/xml/ns/
>>>>>> persistence
>>>>>> http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
>>>>>>             version="1.0">
>>>>>>   <persistence-unit name="bookingDatabase">
>>>>>>      <provider>org.hibernate.ejb.HibernatePersistence</provider>
>>>>>>      <jta-data-source>ElvisPool</jta-data-source>
>>>>>>      <properties>
>>>>>>         <!-- The following two properties are for Glassfish -->
>>>>>>         <property name="hibernate.dialect"
>>>>>> value="org.hibernate.dialect.OracleDialect"/>
>>>>>>         <property  
>>>>>> name="hibernate.transaction.manager_lookup_class"
>>>>>>
>>>>>> value
>>>>>> ="org.apache.geronimo.hibernate.transaction.GeronimoTransactionMa
>>>>>> nagerLookup"/>
>>>>>>
>>>>>>
>>>>>>         <!-- The following three properties are OC4J -->
>>>>>>         <!--
>>>>>>         <property name="hibernate.dialect"
>>>>>>                   value="org.hibernate.dialect.HSQLDialect"/>
>>>>>>         <property name="hibernate.query.factory_class"
>>>>>>
>>>>>> value="org.hibernate.hql.classic.ClassicQueryTranslatorFactory"/>
>>>>>>         <property  
>>>>>> name="hibernate.transaction.manager_lookup_class"
>>>>>>
>>>>>> value="org.hibernate.transaction.OrionTransactionManagerLookup"/>
>>>>>>         -->
>>>>>>
>>>>>>         <property name="hibernate.hbm2ddl.auto" value="create-
>>>>>> drop"/>
>>>>>>         <property name="hibernate.show_sql" value="true"/>
>>>>>>         <property
>>>>>> name="hibernate.transaction.flush_before_completion"
>>>>>> value="true"/>
>>>>>>         <property name="hibernate.cache.provider_class"
>>>>>>              value="org.hibernate.cache.HashtableCacheProvider"/>
>>>>>>      </properties>
>>>>>>   </persistence-unit>
>>>>>> </persistence>
>>>>>>
>>>>>>
>>>>>> I think the 'jta-data-source' is incorrect, but I've tried every
>>>>>> example I
>>>>>> could find with no luck.
>>>>>>
>>>>>> I have my Geronimo database pool configured correctly with the
>>>>>> usual Oracle
>>>>>> thin driver;
>>>>>>
>>>>>> <dependency>
>>>>>>   <groupId>console.dbpool</groupId>
>>>>>>    <artifactId>ElvisPool</artifactId>
>>>>>>    <version>1.0</version>
>>>>>>     <type>rar</type>
>>>>>> </dependency>
>>>>>>
>>>>>>
>>>>>> Could I ask for your help in this?  I'm just not able to  
>>>>>> connect to
>>>>>> the
>>>>>> geronimo's database pool, and I'm not sure why.
>>>>>>
>>>>>> Thanks again,
>>>>>> .Burt
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Jacek Laskowski wrote:
>>>>>>>
>>>>>>> On Mon, Mar 3, 2008 at 10:16 AM, Burt Prior <bprior@cisco.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 'java.sql.SQLException - invalid oracle url specified:
>>>>>>>> OracleDataSource.makeURL'.
>>>>>>>
>>>>>>> Show the plan for the database pool and the entire stack  
>>>>>>> trace. If
>>>>>>> oracle thin driver class barfs it could mean that the url is
>>>>>>> incorrect
>>>>>>> which might be easy to fix. In the meantime write a sample jdbc
>>>>>>> program to connect to the database to make sure it can be  
>>>>>>> connected
>>>>>>> from outside.
>>>>>>>
>>>>>>> Jacek
>>>>>>>
>>>>>>> -- 
>>>>>>> Jacek Laskowski
>>>>>>> http://www.JacekLaskowski.pl
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> View this message in context: http://www.nabble.com/Geronimo-2.1-
>>>>>> and-Seam-tp15621154s134p15840865.html
>>>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>>>> Nabble.com.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/Geronimo-2.1-and-Seam- 
>>>> tp15621154s134p15884374.html
>>>> Sent from the Apache Geronimo - Users mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Geronimo-2.1- 
>> and-Seam-tp15621154s134p15902126.html
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Geronimo-2.1-and-Seam-tp15621154s134p15908225.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message