[jruby-user] classpath issues
snacktime <[email protected]>
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CABFnarZ9P5pTEnp5sLWDKoi0v==m0Hw4SAm+RSVRMUt=LFUB2Q@mail.gmail.com> |
When using jdbc connection pools, reconnects end up using a classloader that doesn't use any of the existing classloaders that have the driver jar so they fail. The only way I have gotten it to work is to set the classpath using a wildcard entry or explicit entry for the jarfile. Just having the jars in the start path or lib doesn't work. So is having OS/shell specific start scripts that set the classpath before loading jruby the only way to handle this? That appears to be the case but thought I would ask before converting my gem binaries. Chris