-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Smith wrote:
> Hi Nathan.
> 
> If setup properly, the location of your webapp shouldn't cause issues
> with finding various classes.  Just don't mention that dirty, dirty word
> CLASSPATH  :-).  Seriously messing with the CLASSPATH environment
> variable will cause loads of headaches.  Best to just not mess with it
> and let tomcat ignore it.

That's fine - I haven't touched it! :)

> 
> You can find information on tomcat's classloader structure at
> http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
> (assuming you are using tomcat 5.5).  Each version of tomcat has it's
> own version of this document.

I recently installed tomcat 6.0.13 and running with JVM version 1.6.0_01-b06

I'll have a look at this doc now.

> 
> The errors you are getting indicate your webapp can't find
> commons-fileupload.jar and commons-io.jar.  Those should be stored in
> WEB-INF/lib of your webapp.

here are the files in WEB-INF/lib:
commons-fileupload-1.1.1.jar
commons-io-1.2.jar
mysql-connector-java-3.1.10-bin.jar

does it matter they have their version number in their filenames?

> 
> Also your log indicates you have packages declared the same name as some
> of your classes.  Modify, MassList, Mass, Adducts, and AdductList should
> be declared to be of package db, not db.Modify for example.  Same goes
> for masIO.FileHandler -- should be declared of package massIO, not
> massIO.FileHandler.

I think you may be incorrect with this. I have double checked, and they
are all declared as the correct package and not as package.class as you
suggest (unless I misunderstand). e.g. at the top of my
massIO.FileHandler class I have:
"package massIO;"

Is this what you mean?

Also, one thing that puzzles me, is that this works fine in the tomcat
installation webapp dir at /usr/local/tomcat/webapps/appname

But not under public_html in a user's directory.

I'll read that webpage while I await a response.
Thanks
Nath
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGeTSJczuW2jkwy2gRAiypAKC3jKW0s/6ZerYCE5dgnJWVz8vcTgCglzy3
MGoahlleptf24M+0fTICy6g=
=7CSs
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to