- Home Page
Categories
Archives
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- February 2011
- January 2011
- December 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- February 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- June 2006
- May 2006
- April 2006
- February 2006
- November 2005
- October 2005
- September 2005
- June 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
Monthly Archives: February 2005
PaperCut listed in the SpreadFirefox Top 250
We at PaperCut are huge fans of the Mozilla Firefox web browser, and the Mozilla Thunderbird email client. We all use these products internally everyday.
Not only do they provide a great user experience, you’re not as susceptible to the viruses and spyware that plague the Microsoft products.
If you’re not using these products now … then start!
To help promote these great products we’ve put links on our emailStripper page (which gets plenty of hits), and also on the footer of our blogs below.
We’ve only had these links on the site, and we’re already ranked 179 on the SpreadFirefox Top referrers page and rising fast. We’re happy to try to promote these products any way we can, but it’s also nice to get this recognition!
(PS: Coincidently, I’m wearing my Firefox T-Shirt today too!)
Layout is fixed with a WordPress Template
OK, the blog is back looking quite close to what it used to. Chris’ blog is still running the old style, if you want to compare the differences.
I’ve implemented the new style using the new WordPress 1.5 templating system, which will make things easier to upgrade in the future. It should also be much easier to share a template between blogs just with a symlink to another blog’s theme directory. This should make it much simpler to keep all the PaperCut blogs looking the same and result in less maintenance over time.
Thanks again to the WordPress dev team for such a great product.
Posted in General
Leave a comment
Upgraded to WordPress 1.5
WordPress 1.5 was released this week, and I’ve only just found the time to upgrade. The upgrade process was a breeze.
I’m still running the default theme, so all I need to do now is to apply re-apply the PaperCut Software template. I’m wondering whether it’s worth creating a PaperCut theme, or just hack the template like we did previously. The themes seem to be a more manageable solution, but it’s probably a bit more work too. I guess it’s something to investigate over the next few days.
Gotta love open source … I fixed it myself
I’m currently using the excellent Eclipse Java IDE for development work, and using the Jetty Launcher plugin to enable firing up the Jetty web server within Eclipse. It allows you to debug your web application directly in the IDE, making Java web development much smoother.
Unfortunately the current version of the Jetty Launcher does not work with the latest Jetty release (5.1), and Jetty 5.0 doesn’t seem to be available for download anymore. I searched the issue database at SourceForge and found that the issue had been reported by Marino Jonsson, and he suggested a possible fix. But there was no response from the project owner. The plugin is open source, so I figured I should get the source, code up the fix and build the project for myself.
I haven’t done any Eclipse Plugin development, so it took some fiddling with the Ant build.xml to get the plugin to build (the Eclipse jars could not be found when compiling). The result is a jettylauncher.jar that you can drop into your Jetty Launcher 1.2.1 directory and overwrite the old one (in [eclipsedir]/plugins/com.iw.plugins.jettylauncher_1.2.1).
Download the fixed Jetty Launcher (jettylauncher.jar)
If you’re interested in what I changed, here’s the unified diff …
diff -u -r1.9 Utils.java --- Utils.java 29 Aug 2004 16:42:37 -0000 1.9 +++ Utils.java 17 Feb 2005 12:21:53 -0000 @@ -29,6 +29,8 @@ import java.io.File; import java.io.IOException; import java.lang.reflect.Field; +import java.lang.reflect.InvocationTargetException; +import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; @@ -303,7 +305,8 @@ */ public static String getJettyVersionString(File jarLocFile) throws MalformedURLException, ClassNotFoundException, - InstantiationException, IllegalAccessException, NoSuchFieldException + InstantiationException, IllegalAccessException, NoSuchFieldException, + NoSuchMethodException, InvocationTargetException { ClassLoader currentClassLoader = null; currentClassLoader = Thread.currentThread().getContextClassLoader(); @@ -314,10 +317,20 @@ URLClassLoader jarClassLoader = URLClassLoader.newInstance( new URL[]{jarLocFile.toURL()}, currentClassLoader); Class versionClass = jarClassLoader.loadClass("org.mortbay.http.Version"); - Object version = versionClass.newInstance(); - Field versionImplField = versionClass.getField("__VersionImpl"); - String versionString = (String)versionImplField.get(version); - return versionString; + + String versionString; + + try { + Object version = versionClass.newInstance(); + Field versionImplField = versionClass.getField("__VersionImpl"); + versionString = (String)versionImplField.get(version); + } catch (NoSuchFieldException e) { + // This must be Jetty 5.1+ + Method method = versionClass.getMethod("getImplVersion", null); + versionString = (String) method.invoke(null, null); + } + + return versionString; } /**
Posted in General
9 Comments
Some are still running version 1!
Today we were contacted by a customer who installed PaperCut version 1 back in 1999. Their original PaperCut install had run fine all this time until they upgraded the server to Windows 2003. Version one was originally designed for Windows NT so I’m not surprised it didn’t work on Windows 2003! Anyway they’ve upgraded to the latest and greatest 5.2 release ready for the next 6 years!
Anyone else is out their on PaperCut version 1 (back then known as Print Charger)? If so, send us an email. We’d love to hear from you… and help you upgrade to PaperCut 5.2!
Posted in General
Leave a comment
New “live web chat”
We’re experimenting with a new live web chat feature on the PaperCut website and knowledge base. The idea is that it might help turn around those quick questions people have in a more efficient manner. We’re manning the live chat for a 12-hour period each day for the next month to gauge it’s usefulness. If we’re online, you’ll see a flashing live chat image on the contact us page. It’s been up for a few days and already we’ve helped solve a few support problems and sales queries.
The live chat feature is fully web based and requires no additional software or plug-ins. Thanks to the guys at Crafty Syntax Live Help for the great software.
If you’d like to talk we me or any of the other people at PaperCut Software, why not try out our live web chat!
Posted in General
Leave a comment
Squid Proxy and Windows Active Directory Authentication
An Internet or Web Proxy is one of the most important applications on a large network. It allows you to
- track user’s internet usage
- save on bandwidth costs through content caching
- limit user access to irrelevant or objectionable content
If you’re running PaperCut, and want to make use of Internet Quotas, then you will need a proxy server that logs the Internet usage and user names to a log file.
Squid Proxy is one of the best proxies out there, and is available for no cost, however it’s designed to run on Linux/Unix machines. This often poses a problem if you’re running a Windows Active Directory, because you can’t get Squid to authenticate users before giving them access to the Internet.
Fortunately, Squid comes with some utilities to solve this problem. The Squid LDAP authentication helpers allow you to authenticate users in an LDAP directory and even assign access rights based on their LDAP group membership.
So what’s this got to do with Microsoft Active Directory?! Well Active Directory is actually an LDAP v3 compliant directory, so it can be queried across a network from any LDAP compliant applications, including Squid.
Working with Ryan Brinch (one of our customers), we’ve written a how-to guide to configuring Squid to authenticate with Active Directory.
It details the configuration changes you need to make to squid.conf in order to use the Squid LDAP helpers (ldap_auth and squid_ldap_group) to authenticate with Active Directory.
This is a much easier way to get Squid/Windows authentication to work without having to install and configure Samba and Winbind … and you don’t need your Squid server to be a member of your domain. It’s much simpler!
Hopefully that helps you out. Feel free to get in touch if you have any questions or suggestions.
Posted in General
2 Comments
PaperCut 5.2
Just a quick entry to let everyone know that version 5.2 preview-release now available for download. We are yet to finalize the documentation so this is not the “official” release. We expect to have the official release out by the end of next week. Please see our news page download for details. As always, users currently with a 5.0 or 5.1 license may upgrade to this release free of charge. Upgrade instructions are available in the knowledge base.
Posted in Releases
Leave a comment