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:46:32 GMT
remove the DiseaseDiscovery and put it in webapps directory and u should be
good to go. Make it simple

On Tue, Sep 18, 2012 at 6:11 PM, Konstantin Kolinko
<knst.kolinko@gmail.com>wrote:

> 2012/9/18 joel badia escolà <bastoigm@gmail.com>:
> > The placement it's correct i'm using Debian and my app it's deployed
> > in /var/lib/tomcat6/webapps/ROOT/DiseaseDiscovery (where
> > $CATALINA_BASE=/var/lib/tomcat6).
> >
> > This is the full tree of my webapp:
> >
> > .
> > |-- disease_discover.jsp
> > |-- disease_discover.jsp~
> > |-- disease_simpts.jsp
> > |-- disease_simpts.jsp~
> > |-- get_diseases.jsp
> > |-- get_diseases.jsp~
> > |-- get_simpts.jsp
> > |-- get_simpts.jsp~
> > |-- images
> > |   |-- icona.png
> > |   |-- icona.xcf
> > |   |-- menu_background.png
> > |   `-- menu_background.xcf
> > |-- index.html
> > |-- index.html~
> > |-- make_completions.jsp
> > |-- make_completions.jsp~
> > |-- make_diagnosis.jsp
> > |-- make_diagnosis.jsp~
> > |-- make_disease_completions.jsp
> > |-- make_disease_completions.jsp~
> > |-- prediction_data
> > |   |-- rt-test-nonoise-20.model
> > |   `-- tmp_test.arff
> > |-- scripts
> > |   |-- diseasediscover.js
> > |   |-- diseasediscover.js~
> > |   |-- disease_simpts.js
> > |   |-- disease_simpts.js~
> > |   |-- jquery.js
> > |   |-- main.js
> > |   |-- main.js~
> > |   |-- simpt_diseases.js
> > |   `-- simpt_diseases.js~
> > |-- simpt_diseases.jsp
> > |-- simpt_diseases.jsp~
> > |-- styles
> > |   |-- basic_style.css
> > |   `-- basic_style.css~
> > `-- WEB-INF
> >     |-- classes
> >     `-- lib
> >         `-- weka.jar
> >
> >> Spelling matters. "WEB-INF" is in uppercase and "lib" is in lowercase
> [...]
> >
> > I think that it's correct. As you can see i respect the lower and upper
> cases !
> >
>
> 1. The ROOT web application is the wrong place for your files.  All
> web applications are independent. The ROOT application is just one of
> them.
>
> 2. You have not read the wikipedia article
>
>
> > Thank's and best regards,
> >
> > Joel Badia Escolà
> >
> > 2012/9/18, Konstantin Kolinko <knst.kolinko@gmail.com>:
> >> 2012/9/18 joel badia escolà <bastoigm@gmail.com>:
> >>> 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?
> >>
> >> 1. It is not possible to disable loading libraries from WEB-INF/lib
> >> and classes from WEB-INF/classes, as that is required by the Servlet
> >> specification.
> >>
> >> Spelling matters. "WEB-INF" is in uppercase and "lib" is in lowercase,
> >> and the full path is
> >>
> >> ${CATALINA_BASE}/webapps/${web application name}/WEB-INF/lib
> >>
> >> The mapping between web application names and their URLs is explained
> >> in the "Context" chapter of the Configuration Reference.
> >>
> >>
> >> 2. How do you deploy your application into Tomcat?
> >>
> >> 3. Note that the examples application that is included with the
> >> official Apache Tomcat distributive has several libraries in it:
> >> jstl.jar, standard.jar.
> >>
> >> 4.
> >>
> http://en.wikipedia.org/wiki/Posting_style#Choosing_the_proper_posting_style
> >>
>
> ---------------------------------------------------------------------
> 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