January 2009 - Posts

How to install Sybase’s ODBC driver on Ubuntu Linux 8.10 for ASE/IQ/Replication Server/SQL Anywhere/etc

It is always interesting how when you are working on a problem, someone else in your sphere is solving almost the same problem. Jason posted yesterday about installing ODBC on Ubuntu for Sybase which was one of the challenges we had as part of my previous post about getting Sybase's ODBC/JDBC bridge working in our multi-platform environment..

Posted by Wayne Allen | 2 comment(s)
Filed under: , , ,

Sybase JDBC Craziness

Say you're working on an enterprise class system. Developers work on Windows and Linux. Servers run Linux. Not so unusual.

Now enter Sybase SQL Anywhere. Aka Sybase ASA or iAnywhere.

First off there are 2 different JDBC drivers. JConnect (jconn3) and the iAnywhere JDBC driver (jodbc). It turns out that only the iAnwhere driver actually works with the high availability option (although not documented).

Also it turns out that the iAnywhere driver is really an ODBC bridge and you have to specify another driver in the JDBC URL.

While a little confusing at first due to the lack of documentation eventually you can dig up an example.

jdbc:ianywhere:driver=SQL Anywhere 10;dbn=mydatabase;eng=myserver;

Everything works and you move on with life.

Except that eventually you want to deploy your new code to the server. BAM nothing works. All sorts of errors about no suitable driver found.

After thrashing around for a few days you discover that the JDBC URL must be different on Linux! (this is the only page on the Internet that specifies this).

jdbc:ianywhere:driver=libdbodbc10.so;dbn=mydatabase;eng=myserver;

Of course your application now works on Linux, but not on Windows.

Now if I were writing my own code that needed to talk to the database there wouldn't be much problem as I can use one of several techniques for figuring out which driver I should be using.

However, this URL used to configure some enterprise reporting tool which uses that same URL whether doing local report development or running from the server.

So now I have 3 options.

  1. Install the reporting server on every developers workstation.
  2. Stand up a Windows version of the reporting server.
  3. Create ODBC DSNs on all affected systems.

While option #1 is enticing (I like developers to have a local copy of all dependencies if at all feasible). Feasibility plays into the picture here because of license costs.

Option #2 is certainly doable, but I am not a big fan of adding the overhead of administering another server and keeping it in sync with all the others.

Options #3 is simple and works well. However, DSNs represent another thing that needs to be set up on every developer and qa system. This also breaks my rule of being able to check out the source tree and go, even on a new computer (for reasons of continuous integration and easy new team member set up).

Ultimately we will go with #3 because it is low cost in dollars, and low cost in time (we'll write an Ant target to do the DSN setup).

Now wasn't that easy? It only took 3 days to work through in real time.

Posted by Wayne Allen | 7 comment(s)
Filed under: , , , ,

Agile Open NW 2009

Agile Open NW 2009 has been scheduled for Feb 10-11, 2009 at the Ambridge Event Center in Portland, OR.

I'll be there again. If you are anywhere near Portland and have an interest in all things agile, this is a can't miss opportunity.


Agile Open Northwest, an alliance of agile practitioners in the US Pacific Northwest region, presents Agile Open Northwest 2009.

We invite you to our third annual conference. Our first conference in Portland brought together members of the Northwest Agile communities. We held our second annual event, Agile Open Northwest 2008, last year in Seattle and enjoyed another great success.

Please join us this year as we host 100 experienced, collaborative, committed agile practitioners from the Northwest U.S. (and beyond) in tackling the issues around our theme "Agile for Real."

Your commitment to arriving at the beginning and staying until the end both days will ensure we build on conversation after conversation as we engage important questions like:

  • What is agile really?
  • What does agile development look like in the real world?
  • Who practices agile philosophies, methods, principles or practices in the Northwest, and what's the impact?
  • What does agile or agility look like in organizations?
  • What new technical challenges face agile?
  • How does agile co-exist with project management, process control and other governance structures?
  • How do we adapt agile practices to our organizations without diluting them?
  • Can agile methods work in big, risky projects? How?
  • When distributed teams use agile approaches, what changes?

When an organization chooses a transition to agile, what really changes?

The Northwest has a wealth of practitioners with years of real-world experience with agile methods and self-organizing teams. Agile Open Northwest offers an opportunity to strengthen our community of practice and co-create the future for agile development in our region. Feel free to browse the list of currently registered participants.

Your hosts designed this event to allow practitioners like you to meet in self-organizing groups where we can share our latest ideas, challenges, hopes, experiences and experiments. We follow an Open Space format to foster collaboration and allow the conference to take its direction from the participants themselves.

  • What: An Open Space event discussing agile practices and techniques.
  • Where: Ambridge Event Center, *new* location near the Convention Center and Max line, 1333 NE MLK Blvd., Portland Oregon
  • When: February 10 and 11, 2009
  • Who: Anyone with some degree of experience in agile methods.
  • Cost: $125 per person, including lunch both days

A comment from a previous attendee:

"These two-day Agile Open Northwest conferences are an extremely good value. ..[Y]ou learn directly from practitioners in the agile community what works and what doesn't. I attended the first two of these conferences, they were stunningly good... loads of practical, useful stuff and stimulating discussions." -- Ian Savage, PNSQC Program Chair

Posted by Wayne Allen | with no comments
Filed under: ,

Speaking about Lean Software/Kanban at PADNUG on Mar 3, 2009

I'm be speaking at the March 2009 Portland Area .NET Users Group (PADNUG) meeting.

I'll be covering a different project management approach to product line development that includes:

  • Reduced meetings
  • Clear priorities
  • Minimal multitasking
  • No estimating
More Posts