Yeah - it works fine except when I use it in this context. The double // after the host is a ... well it's like this: =)
protocol:subprotocol://server/path ... and because my path starts with a /, I have two of them - works super on everything else. I run on RHL 7.2 =) The first one is a delimiter - the second is necessary to indicate the path. ... at least that's how I've always done it. I read it somewhere I think, but I couldn't tell you where. I just downloaded Firebird - and upon looking at the docs I think I quite like it. I'm in the process of uninstalling interclient, as it wasn't an RPM install - so I guess I get to do that part by hand =) Ignacio tells me I won't need interserver anymore, so ... I want to be sure everything is as 'tight' (security-wise and file-system-wise) as it can be. I abhor needless clutter floating around ... unless it's in my personal directory ;) lol >From the looks/sound of things, I can either use the driver approach or I have the option of binding a datasource into JNDI - InterBase didn't offer that, so it's a step ahead, I think. I figure the JDBCRealm will use the driver approach (since the only JNDI lookup supported by TC is currently LDAP), and then I can just have my initialization servlet bind a reference to the appropriate POOLING datasource (I liked that part =) provided by Firebird into JNDI and have the rest of my app get it from there. I wish the TC guys would let you configure a pool for the JDBCRealm. I know ... I know ... it's in the works. That'll be really nice! Thanks for your comments - I'm not sure where I'm going to turn for sure at this point. In the end I'll either wind up using TC stand-alone or using mod_jk instead of mod_webapp. I'll cross that bridge later ;) Thanks =) Eddie ----- Original Message ----- From: "Rick Fincher" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 4:04 PM Subject: Re: Null Pointer Exception - would you please take a look? > Hi Eddie, > > I use Interbasse to do what you are trying, but directly to Tomcat, so I > know it can be done. My server.xml entry follows. The only thing I see > different is that you have two forward slashes after the host name. Is this > a typo? Does this work with your other JDBC apps? I'm accessing a database > on a Solaris system so Windows would be a little different. The error > message you are getting is from the Interbase driver so Tomcat IS finding > interclient.jar. It is basically saying that it is getting a bad filename > > The only other thing I can think of with Interbase is that you have to be > sure that "file.gdb" has granted read authorization to "username" on your > "member" table. > > <Realm className="org.apache.catalina.realm.JDBCRealm" debug="0" > > driverName="interbase.interclient.Driver" > > connectionURL="jdbc:interbase://myhost.mydomain.com/dbDir/databases/usersdb. > gdb" > > connectionName="username" > > connectionPassword="password" > > userTable="USERS" > > userNameCol="USER_NAME" > > userCredCol="USER_PASS" > > userRoleTable="USER_ROLES" > > roleNameCol="ROLE_NAME" /> > > > > Rick -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
