Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

AppFuse Demos moved to demo.appfuse.org

I bought the appfuse.org domain name sometime last year. I haven't done anything with it for the most part and I've just pointed it to this site. It's amazing how many people actually use it - it's my 4th largest referrer! The demo site I have at Kattare (demo.raibledesigns.com) has a whole slew of demos installed on it, so I contacted Keith (at kgbinternet.com) to set me up a new domain for AppFuse-only demos. These can now be found at http://demo.appfuse.org or by clicking on of the URLs below. The site is currently running AppFuse 1.8 with JDK 5 and Tomcat 5.5.7.

The "Issues" link on this site won't work yet - I'm in the process of setting up JIRA at http://issues.appfuse.org. Hopefully we'll have it done sometime this week. Contegix has been gracious enough to offer free hosting of AppFuse's JIRA instance.

Update: AppFuse's JIRA is now up. Thanks again to Atlassian for a great product and to Contegix for hosting it. The quick installation and support from Contegix has been outstanding.

Posted in Java at May 03 2005, 09:54:30 AM MDT 10 Comments
Comments:

fyi the jsf demo ended up with a ... javax.servlet.ServletException: HibernateTemplate: Duplicate entry '7' for key 1; nested exception is java.sql.BatchUpdateException: Duplicate entry '7' for key 1 at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:214)

Posted by andres on May 03, 2005 at 11:58 AM MDT #

Andres - do you remember what you did to produce this error? I'd like to try and reproduce it so I can fix it. Thanks.

Posted by Matt Raible on May 03, 2005 at 01:07 PM MDT #

Im just trying to login with tomcat/tomcat and remember me checked. It did it again here is the full stack: javax.servlet.ServletException: HibernateTemplate: Duplicate entry '10' for key 1; nested exception is java.sql.BatchUpdateException: Duplicate entry '10' for key 1 at net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:214) at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at net.sf.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:153) at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at net.sf.acegisecurity.wrapper.ContextHolderAwareRequestFilter.doFilter(ContextHolderAwareRequestFilter.java:50) at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:225) at net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at net.sf.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) at net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:125) 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:214) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 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:825) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)

Posted by andres on May 03, 2005 at 01:36 PM MDT #

Hmmm, that sure is wierd. I tried logging into the JSF version using tomcat/tomcat with Remember Me checked and it worked fine. I suspect it might be your cookies or something.

Posted by Matt Raible on May 03, 2005 at 01:41 PM MDT #

Also had that error mentioned by andres upon first try. disappeared though. The Tapestry version gave me this when first clicked on sorting column in the User List. Couldn't reproduce it either... but I thought I let you now anyway... Great work Matt. Now go focus on the kids... Cheers, t. org.apache.tapestry.ApplicationRuntimeException Page recorder for page users is locked after a commit(), but received a change to property sessionState of component users/table.tableView. Stack Trace: * org.apache.tapestry.record.PageRecorder.observeChange(PageRecorder.java:119) * org.apache.tapestry.engine.RequestCycle.observeChange(RequestCycle.java:621) * org.apache.tapestry.Tapestry.fireObservedChange(Tapestry.java:1339) * org.apache.tapestry.AbstractComponent.fireObservedChange(AbstractComponent.java:304) * org.apache.tapestry.contrib.table.components.TableView$Enhance_29.setSessionState(TableView$Enhance_29.java) * org.apache.tapestry.contrib.table.components.TableView.storeSessionState(TableView.java:430) * org.apache.tapestry.contrib.table.components.TableView.saveSessionState(TableView.java:403) * org.apache.tapestry.contrib.table.components.TableView.fireObservedStateChange(TableView.java:367) * org.apache.tapestry.contrib.table.components.inserted.SimpleTableColumnComponent.columnSelected(SimpleTableColumnComponent.java:162) * sun.reflect.GeneratedMethodAccessor1044.invoke(Unknown Source) * sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) * java.lang.reflect.Method.invoke(Method.java:585) * org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257) * org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:46) * org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:97) * org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:102) * org.apache.tapestry.link.DirectLink.trigger(DirectLink.java:119) * org.apache.tapestry.engine.DirectService.service(DirectService.java:169) * org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:872) * org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197) * org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:158) * javax.servlet.http.HttpServlet.service(HttpServlet.java:689) * javax.servlet.http.HttpServlet.service(HttpServlet.java:802) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) * com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * org.appfuse.webapp.filter.GZIPFilter.doFilter(GZIPFilter.java:51) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:75) * org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * org.appfuse.webapp.filter.ActionFilter.doFilter(ActionFilter.java:119) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172) * org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292) * net.sf.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:84) * net.sf.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:182) * net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) * net.sf.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:153) * net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) * net.sf.acegisecurity.wrapper.ContextHolderAwareRequestFilter.doFilter(ContextHolderAwareRequestFilter.java:50) * net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) * net.sf.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:225) * net.sf.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) * net.sf.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) * net.sf.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:125) * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) * org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) * org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) * org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) * org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) * org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) * org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) * org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) * org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738) * org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526) * org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) * org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) * java.lang.Thread.run(Thread.java:595)

Posted by thot on May 03, 2005 at 11:52 PM MDT #

[Trackback]

  • AppFuse replaces Container Managed Authentication (CMA) with Acegi Security.
  • Refactoring of build.xml to use Ant 1.6 features.
  • Numerous bug fixes to AppGen.
  • All-in-one installer was also added.
...

Posted by mornlee's blog on May 09, 2005 at 08:42 AM MDT #

I was wondering if appFuse will soon support OpenLaszlo to get the following combo: OpenLaszlo + Spring + Hibernate Thanks, Peter

Posted by Peter Dishchekenian on June 21, 2006 at 05:49 PM MDT #

Peter - it's on the roadmap, but I don't know when I'll get to it. I'm probably 40 hours away from having it done in Equinox, but I haven't had time to clean it up and release it. Doing AppFuse would be a much larger endevour, but definitely possible. If XFire supported RESTful services, it'd likely be a lot easier. Working with SOAP is just a pain IMO.

Posted by Matt Raible on July 21, 2006 at 07:44 AM MDT #

I would like to contact Peter Dishchekenian; my father's last name was the same as Peter's. Matt can you notify Peter? Thank you.

Posted by Robert Sarquis on October 19, 2006 at 01:24 PM MDT #

Robert - Peter didn't leave his e-mail address, so I don't know how to get in touch with him. Hopefully he'll check back on this post.

Posted by Matt Raible on October 19, 2006 at 01:36 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed