To add to your notes, I found some online documentation yesterday:

http://www.yolinux.com/TUTORIALS/LinuxTutorialTomcat.html

and the following recently-released book available at Amazon and Barnes and
Noble:

"Professional Tomcat Apache" by Chanoch Wiggers et al., Wrox Press, Sept
2002

Now, as far as my installation: I've got tomcat working, and java working. I
looked at downloaded unixodbc (from www.unixodbc.org) but this package
requires X include files, which my system does not have because I run a
non-gui command line system. so then I hunted for jdbc on sun, the sun
documentation is rather cryptic, I downloaded jdbc-stdext package but I'm
not sure if its the right one. I put all the jar files in the classpath.

The jsp file executes as it should until it gets to where it has to write to
the database (a mdb file) then it chokes and says "Unknown source."

Of course, there is no mdb file on the system, I haven't gone through the
the jsp code to see if it's expecting one to already exist, or whether it
should be able to "create" one if needed. Of course, I'm a system admin, I'm
not a java developer so I really shouldn't have to learn java just to get
this to work.

So my question at this point woudl be: what is the cause of the "Unknown
source" error?

Michael Martinez


> -----Original Message-----
> From: Kevin Weslowski [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 25, 2002 7:35 PM
> To: [EMAIL PROTECTED]
> Subject: Re: How to install JDBC ?
> 
> 
> I don't believe there's much to installing JDBC...
> 
> if you're already running tomcat fine, you should just be 
> able to put the .jar file provided by the db vendor into the 
> classpath recognized by tomcat and it'll find the classes it 
> needs to connect to the db.
> 
> I recommend getting jdbc to work first with a simple java (no 
> servlet/jsp) program.  Once that's done, it's only a matter 
> of making sure tomcat can find the same .jar class(es).
> 
> here is an example I just found...
> 
> http://www.fluffycat.com/java/JavaNotes-JDBC.html
> 
> of how to use JDBC...most db vendors should give some 
> installation tips when you download their jdbc .jar file...
> 
> Kevin
> 
> "Martinez, Michael - CSREES/ISTM" wrote:
> 
> > Can someone point me to some documentation that describes 
> how to install
> > JDBC and how to interface it with Apache/Tomcat/?
> >
> > Michael Martinez
> >
> > _______________________________________________
> > Seawolf-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/seawolf-list
> 
> 
> 
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list
> 



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to