Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

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.

Upgraded to Roller 0.9.9

I upgraded this site to Roller 0.9.9-dev about an hour ago. Seems to be humming along quite nicely - and the GZip Filter is back in action (wasn't working before I upgraded). There looks to be a few issues to iron out still, but since I was able to figure them all out - I'm pretty darn happy with this release.

  • oscache.properties is missing from CVS
  • a bunch of the editors had leftover (?) taglib declarations - I replaced them with an include to /theme/taglibs.jsp
  • the value in Website > Config > Site Name shows up where "Home" used to - I had to rename my site to "Home" to maintain my same menu selections
  • there's a lot of SQL (or HQL) logging going on that I can't turn off
  • bookmark display macros are broken - you'll need to change the name of your bookmark names (in the macros) to have a /root/ prefix. For example, #showBookmarks("Articles" true true) -> #showBookmarks("/root/Articles" true true)

Hope this helps any early adopters...

Posted in Roller at Nov 26 2003, 10:06:00 PM MST 6 Comments
Comments:

The database upgrade script will take care of the bookmark display problem, but I haven't committed it yet.

Posted by Dave Johnson on November 27, 2003 at 05:20 AM MST #

I also noticed the Hibernate "logging" that can't be turned off. Seems to me there is still some System.out stuff in there.

Posted by Jaap on November 27, 2003 at 08:39 AM MST #

Now that your rss feed is gzipped, it went from a size of 51.4KB to a size of 12KB to transmit - a 77% size reduction! (According to http://www.desilva.biz/gzip-test.php at least). Perhaps this will help with some of your bandwidth problems? ;-)

Posted by Will Gayther on November 27, 2003 at 01:10 PM MST #

I noticed that e-mail addresses are now obfuscated - is there a macro I can use to do this on any plain ol' e-mail address (i.e. on my contact page)?

Posted by Matt Raible on November 27, 2003 at 03:07 PM MST #

I don't think I created a macro, but it shouldn't be hard to do. See how it's done in ContextLoader now.

Posted by Lance on November 29, 2003 at 10:06 PM MST #

!! I compiled cvs version successfully, but running failed. Tomcat 5016 is used, and the exceptions is: {{{ 2004-2-20 11:34:04 org.apache.coyote.http11.Http11Protocol init 信息: Initializing Coyote HTTP/1.1 on port 8080 2004-2-20 11:34:04 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 3922 ms 2004-2-20 11:34:05 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2004-2-20 11:34:05 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/5.0.16 2004-2-20 11:34:05 org.apache.catalina.core.StandardHost start 信息: XML validation disabled 2004-2-20 11:34:05 org.apache.catalina.core.StandardHost getDeployer 信息: Create Host deployer for direct deployment ( non-jmx ) 2004-2-20 11:34:05 org.apache.catalina.core.StandardHostDeployer install 信息: Processing Context configuration file URL file:D:\tomcat5016\conf\Catalina \localhost\roller.xml 2004-2-20 11:34:06 java.util.jar.Attributes read 警告: Duplicate name in Manifest: Class-Path AbandonedObjectPool is used (org.apache.commons.dbcp.AbandonedObjectPool@6c1a82) LogAbandoned: false RemoveAbandoned: true RemoveAbandonedTimeout: 300 FATAL 2004-02-20 11:34:19,468 | RollerContext:contextInitialized | RollerContext initialization failed org.roller.RollerException at org.roller.persistence.hibernate.HibernateStrategy.commit(HibernateSt rategy.java:424) at org.roller.business.hibernate.RollerImpl.commit(RollerImpl.java:255) at org.roller.presentation.RollerContext.saveRollerConfig(RollerContext. java:931) at org.roller.presentation.RollerContext.setupRollerConfig(RollerContext .java:907) at org.roller.presentation.RollerContext.contextInitialized(RollerContex t.java:295) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3775) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 257) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:866) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:85 0) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe ployer.java:832) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav a:252) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester .java:123) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep loyer.java:512) at org.apache.catalina.core.StandardHost.install(StandardHost.java:890) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j ava:523) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :393) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardHost.start(StandardHost.java:816) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518 ) at org.apache.catalina.core.StandardService.start(StandardService.java:5 19) at org.apache.catalina.core.StandardServer.start(StandardServer.java:234 3) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) --- ROOT CAUSE --- java.lang.ArrayIndexOutOfBoundsException: 24 at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:2 005) at com.mysql.jdbc.PreparedStatement.setString(PreparedStatement.java:113 7) at org.apache.commons.dbcp.DelegatingPreparedStatement.setString(Delegat ingPreparedStatement.java:243) at net.sf.hibernate.type.StringType.set(StringType.java:22) at net.sf.hibernate.type.NullableType.nullSafeSet(NullableType.java:46) at net.sf.hibernate.type.NullableType.nullSafeSet(NullableType.java:31) at net.sf.hibernate.persister.EntityPersister.dehydrate(EntityPersister. java:373) at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.jav a:472) at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.jav a:450) at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.j ava:20) at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2101) at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2073) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2017) at org.roller.persistence.hibernate.HibernateStrategy.commit(HibernateSt rategy.java:416) at org.roller.business.hibernate.RollerImpl.commit(RollerImpl.java:255) at org.roller.presentation.RollerContext.saveRollerConfig(RollerContext. java:931) at org.roller.presentation.RollerContext.setupRollerConfig(RollerContext .java:907) at org.roller.presentation.RollerContext.contextInitialized(RollerContex t.java:295) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3775) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 257) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:866) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:85 0) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe ployer.java:832) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav a:252) at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256) at org.apache.commons.digester.Rule.end(Rule.java:276) at org.apache.commons.digester.Digester.endElement(Digester.java:1058) at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester .java:123) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1567) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep loyer.java:512) at org.apache.catalina.core.StandardHost.install(StandardHost.java:890) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j ava:523) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:468 ) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1002) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java :393) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:166) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) at org.apache.catalina.core.StandardHost.start(StandardHost.java:816) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1125) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:518 ) at org.apache.catalina.core.StandardService.start(StandardService.java:5 19) at org.apache.catalina.core.StandardServer.start(StandardServer.java:234 3) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398) 2004-2-20 11:34:21 org.apache.catalina.core.StandardHostDeployer install 信息: Processing Context configuration file URL file:D:\tomcat5016\conf\Catalina \localhost\admin.xml 2004-2-20 11:34:22 org.apache.struts.util.PropertyMessageResources <init> 信息: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru e 2004-2-20 11:34:22 org.apache.struts.util.PropertyMessageResources <init> 信息: Initializing, config='org.apache.struts.action.ActionResources', returnNul l=true 2004-2-20 11:34:23 org.apache.struts.util.PropertyMessageResources <init> 信息: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur nNull=true 2004-2-20 11:34:38 org.apache.catalina.core.StandardHostDeployer install 信息: Processing Context configuration file URL file:D:\tomcat5016\conf\Catalina \localhost\manager.xml 2004-2-20 11:34:38 org.apache.catalina.core.StandardHostDeployer install 信息: Processing Context configuration file URL file:D:\tomcat5016\conf\Catalina \localhost\balancer.xml 2004-2-20 11:34:38 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path /JSPWiki from URL file:D:/tomca t5016/webapps/JSPWiki 2004-2-20 11:34:39 org.apache.catalina.startup.ContextConfig validateSecurityRol es 信息: WARNING: Security role name admin used in an <auth-constraint> without bei ng defined in a <security-role> 2004-2-20 11:34:39 org.apache.catalina.startup.ContextConfig validateSecurityRol es 信息: WARNING: Security role name user used in an <auth-constraint> without bein g defined in a <security-role> 2004-2-20 11:34:39 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path from URL file:D:\tomcat5016\we bapps\ROOT 2004-2-20 11:34:39 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path /tomcat-docs from URL file:D:\t omcat5016\webapps\tomcat-docs 2004-2-20 11:34:39 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path /jsp-examples from URL file:D:\ tomcat5016\webapps\jsp-examples 2004-2-20 11:34:40 org.apache.catalina.core.StandardHostDeployer install 信息: Installing web application at context path /servlets-examples from URL fil e:D:\tomcat5016\webapps\servlets-examples 2004-2-20 11:34:40 org.apache.coyote.http11.Http11Protocol start 信息: Starting Coyote HTTP/1.1 on port 8080 2004-2-20 11:34:41 org.apache.jk.common.ChannelSocket init 信息: JK2: ajp13 listening on /0.0.0.0:8009 2004-2-20 11:34:41 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/187 config=D:\tomcat5016\conf\jk2.properties 2004-2-20 11:34:41 org.apache.catalina.startup.Catalina start 信息: Server startup in 37172 ms }}}

Posted by javen on February 20, 2004 at 03:47 AM MST #

Post a Comment:
  • HTML Syntax: Allowed