tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishwanath Washimkar <vwashim...@gmail.com>
Subject Re: Problems loading external jar in my app !
Date Tue, 18 Sep 2012 12:40:17 GMT
Hi ,

why are you putting your webapplication under
/var/lib/tomcat6/webapps/ROOT/DiseaseDiscovery .
This make DiseaseDirecovery a part of the root web appliction.

Put the webapplication in under the webapps directory :
/var/lib/tomcat6/webapps/ROOT/DiseaseDiscovery

I think u jars are not deploying as u r putting the webpplication directory
under ROOT webapplication.

I don't think debian OS will change anything how tomcat deploys web app.
The deployment is minimum as specified in J2EE specs

try this
Vish

On Tue, Sep 18, 2012 at 2:44 PM, joel badia escolĂ  <bastoigm@gmail.com>wrote:

> I tried all the things that you expose, but without results :(
>
> Is it possible that the Debian installation disable tomcat auto
> WEB-INF checking? If it's possible, can you tell me where I can find
> this "magic" configuration file?
>
> I have another theory, Is it possible that the jar i'm using needs
> some extra configuration for tomcat recognition? I'm working with weka
> if this can help you !
>
> Greetings,
>
> Joel
>
> 2012/9/13, Christopher Schultz <chris@christopherschultz.net>:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Vishwanath,
> >
> > On 9/13/12 10:04 AM, Vishwanath Washimkar wrote:
> >> Joel,
> >>
> >> At first look it seemed to me odd, but I google search I got this
> >> link. It seems that you have not provided ' ; ' at the end of  your
> >> import.
> >
> > That's not how it is supposed to work. Either there is a bug in Tomcat
> > or there is something else wrong. I would be very surprised if adding
> > a ";" after the last "import" fixed this problem.
> >
> >> Also test it out putting the jar in the webapps/lib or
> >> <tomcat-root>/lib.
> >
> > That first one is the right solution.
> >
> >> I need to research on aptitude installation though.
> >
> > Aptitude is a package manager for Debian-based OSs.
> >
> >> The following link might help.
> >>
> >>
> http://stackoverflow.com/questions/1858463/java-error-only-a-type-can-be-imported-xyz-resolves-to-a-package
> >
> > I
> >>
> > think the ";" is a red herring.
> >
> > - -chris
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> > Comment: GPGTools - http://gpgtools.org
> > Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
> >
> > iEYEARECAAYFAlBSUCUACgkQ9CaO5/Lv0PAoygCfckVCwmJvMuhSEpgPWqOdQggP
> > 20MAn0LeFCrswdcu6vI0zXzA8VbbHYZE
> > =s0oX
> > -----END PGP SIGNATURE-----
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message