Hi Tony,

I don't really know the problem other than it's caused by a database
failure.  In your catalina.out log file this is the cause:

Caused by: java.sql.BatchUpdateException: failed batch
        at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)

Can you update your code and re-create your database again?

# ant db.create
# ant db.init

See if that helps.

Cynick

On Feb 6, 9:28 pm, "Anthony Perritano" <[EMAIL PROTECTED]> wrote:
> heres the catalina out
>
> On 2/6/07, laurel <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Tony,
>
> > I'm having a hard time guessing what this one could be, but thinking
> > that I might benefit
> > from a view of your catalina.out log. Could you also post a snapshot
> > of it. Thanks,
> > and thanks to both you and Hiroki for the persistent job you are doing
> > of working through
> > the portal getting started document. You are both doing a great job of
> > catching stuff.
>
> > Laurel
>
> > On Feb 6, 1:44 am, "Anthony Perritano" <[EMAIL PROTECTED]> wrote:
> > > when i go tohttp://localhost:8080/webapp
>
> > > i get welcome:anomyous user and the sign up button.
>
> > > when i enter a user and pass in the and click sign up it crashes with
> > this
> > > error:
>
> > > HTTP Status 500 -
> > > ------------------------------
>
> > > *type* Exception report
>
> > > *message*
>
> > > *description* *The server encountered an internal error () that
> > prevented it
> > > from fulfilling this request.*
>
> > > *exception*
>
> > > org.springframework.web.util.NestedServletException: Request
> > > processing failed; nested exception is
> > > org.springframework.orm.hibernate3.HibernateJdbcException: JDBC
> > > exception on Hibernate data access; nested exception is
> > > org.hibernate.exception.GenericJDBCException: Could not execute JDBC
> > > batch update
> > >         org.springframework.web.servlet.FrameworkServlet.processRequest(
> > FrameworkServlet.java:408)
> > >         org.springframework.web.servlet.FrameworkServlet.doPost(
> > FrameworkServlet.java:360)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:264)
> > >         org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke
> > (FilterSecurityInterceptor.java:107)
>
> > org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(
> > FilterSecurityInterceptor.java:72)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
> > >         org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(
> > ExceptionTranslationFilter.java:110)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
>
> > org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(
> > AnonymousProcessingFilter.java:125)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
> > >         org.acegisecurity.ui.AbstractProcessingFilter.doFilter(
> > AbstractProcessingFilter.java:217)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
>
> > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(
> > HttpSessionContextIntegrationFilter.java:229)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
> > >         org.acegisecurity.util.FilterChainProxy.doFilter(
> > FilterChainProxy.java:148)
> > >         org.acegisecurity.util.FilterToBeanProxy.doFilter(
> > FilterToBeanProxy.java:98)
>
> > > *root cause*
>
> > > org.springframework.orm.hibernate3.HibernateJdbcException: JDBC
> > > exception on Hibernate data access; nested exception is
> > > org.hibernate.exception.GenericJDBCException: Could not execute JDBC
> > > batch update
>
> > org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException
> > (SessionFactoryUtils.java:636)
>
> > org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException
> > (HibernateTransactionManager.java:699)
>
> > org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(
> > HibernateTransactionManager.java:570)
>
> > org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
> > (AbstractPlatformTransactionManager.java:654)
>
> > org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
> > (AbstractPlatformTransactionManager.java:624)
>
> > org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
> > (TransactionAspectSupport.java:307)
>
> > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
> > TransactionInterceptor.java:117)
>
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> > ReflectiveMethodInvocation.java:176)
> > >         org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
> > JdkDynamicAopProxy.java:210)
> > >         $Proxy18.createUser(Unknown Source)
> > >         net.sf.sail.webapp.controllers.SignupController.onSubmit(
> > SignupController.java:58)
>
> > org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission
> > (SimpleFormController.java:267)
>
> > org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal
> > (AbstractFormController.java:250)
>
> > org.springframework.web.servlet.mvc.AbstractController.handleRequest(
> > AbstractController.java:153)
>
> > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(
> > SimpleControllerHandlerAdapter.java:45)
> > >         org.springframework.web.servlet.DispatcherServlet.doDispatch(
> > DispatcherServlet.java:820)
> > >         org.springframework.web.servlet.DispatcherServlet.doService(
> > DispatcherServlet.java:755)
> > >         org.springframework.web.servlet.FrameworkServlet.processRequest(
> > FrameworkServlet.java:396)
> > >         org.springframework.web.servlet.FrameworkServlet.doPost(
> > FrameworkServlet.java:360)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:264)
> > >         org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke
> > (FilterSecurityInterceptor.java:107)
>
> > org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(
> > FilterSecurityInterceptor.java:72)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
> > >         org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(
> > ExceptionTranslationFilter.java:110)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
>
> > org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(
> > AnonymousProcessingFilter.java:125)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
> > >         org.acegisecurity.ui.AbstractProcessingFilter.doFilter(
> > AbstractProcessingFilter.java:217)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
>
> > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(
> > HttpSessionContextIntegrationFilter.java:229)
>
> > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(
> > FilterChainProxy.java:274)
> > >         org.acegisecurity.util.FilterChainProxy.doFilter(
> > FilterChainProxy.java:148)
> > >         org.acegisecurity.util.FilterToBeanProxy.doFilter(
> > FilterToBeanProxy.java:98)
>
> > > *root cause*
>
> > > org.hibernate.exception.GenericJDBCException: Could not execute JDBC
> > > batch update
>
> > org.hibernate.exception.SQLStateConverter.handledNonSpecificException(
> > SQLStateConverter.java:103)
> > >         org.hibernate.exception.SQLStateConverter.convert(
> > SQLStateConverter.java:91)
> > >         org.hibernate.exception.JDBCExceptionHelper.convert(
> > JDBCExceptionHelper.java:43)
> > >         org.hibernate.jdbc.AbstractBatcher.executeBatch(
> > AbstractBatcher.java:249)
> > >         org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java
> > :235)
> > >         org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java
> > :143)
>
> > org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
> > AbstractFlushingEventListener.java:298)
> > >         org.hibernate.event.def.DefaultFlushEventListener.onFlush(
> > DefaultFlushEventListener.java:27)
> > >         org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
> > >         org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java
> > :338)
> > >         org.hibernate.transaction.JDBCTransaction.commit(
> > JDBCTransaction.java:106)
>
> > org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(
> > HibernateTransactionManager.java:562)
>
> > org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit
> > (AbstractPlatformTransactionManager.java:654)
>
> > org.springframework.transaction.support.AbstractPlatformTransactionManager.commit
> > (AbstractPlatformTransactionManager.java:624)
>
> > org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning
> > (TransactionAspectSupport.java:307)
>
> > org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
> > TransactionInterceptor.java:117)
>
> > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
> > ReflectiveMethodInvocation.java:176)
> > >         org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
> > JdkDynamicAopProxy.java:210)
> > >         $Proxy18.createUser(Unknown Source)
> > >         net.sf.sail.webapp.controllers.SignupController.onSubmit(
> > SignupController.java:58)
>
> > org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission
> > (SimpleFormController.java:267)
>
> > org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal
> > (AbstractFormController.java:250)
>
> > org.springframework.web.servlet.mvc.AbstractController.handleRequest(
> > AbstractController.java:153)
>
> > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(
> > SimpleControllerHandlerAdapter.java:45)
> > >         org.springframework.web.servlet.DispatcherServlet.doDispatch(
> > DispatcherServlet.java:820)
>
> ...
>
> read more ยป
>
>  catalina.out
> 260KDownload


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to