tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugo Osorio <osorio.h...@gmail.com>
Subject help on a publication
Date Thu, 06 Oct 2005 19:44:08 GMT
here the is what i have done,


what could be the reason because this app is not showing up

thank you in advance for your help
--------------




by oxygene27 on 2005/10/04 16:39

 Hi everybody again, please help,

 Is it necessary to have the database up, for having the webapp visible in
tomcat? it's just that i have chose as a name "mapserv" BUT i cannot see my
publication, it is in $TOMCAT_HOME/webapps/mapserv

 I have done

 1. Create a dir in [TOMCAT_HOME]/webapps.

2. Unzip the distribution zip file into this folder.

3. i have created in mysql the database, running the script .sql

4. i have copied the mm.(connector JDBC).jar into the WEB-INF/lib directory

5. i have restarted Tomcat. and go to :
http://myhost:8080/mapserv/index.html

 and appears like nothing exist :S

does not appears anything, like a wrong application

 what can I do?

by artem on 2005/10/04 21:37

 1) Verify that the path to index database (clearinghouse) is correct. Open
WEB-INF/mapserv-home/mapserv.xml. Check the section

 <database user="root" password=""

url="jdbc:mysql://localhost/alov" driver="com.mysql.jdbc.Driver"
server="MySQL"/>

 2) Verify that SQL server is up.

 3) Verify that web.xml in the WEB-INF

 The best way to check database is to enter into admin zone.

 http://localhost:8080/map/pump

 If Tomcat and our server are installed correctly you have to see the login
screen. If connection to clearinghouse database is correct after login you
won't see the error message.

by oxygene27 on 2005/10/05 17:58

 thank you, i have followed your indications, but i can't see the webapp
yet, i dont know what's happening... all the servers are up, and the
publication is its right place, this is the message i get:

 -------------------------------------

HTTP Status 404 - /alovmap/index.html

 type Status report

 message /alovmap/index.html

 description The requested resource (/alovmap/index.html) is not available.

Apache Tomcat/5.0.29

-------------------------------------

 my files are here and just like this:

 $TOMCAT/webapps:

drwxr-xr-x 3 www www 512 Oct 4 16:01 ROOT

drwxr-xr-x 11 www www 512 Oct 5 16:11 alovmap

drwxr-xr-x 4 www www 512 Nov 10 2004 balancer

drwxrwxr-x 3 www www 512 Nov 10 2004 dbtest

drwxr-xr-x 21 www www 512 Nov 10 2004 jsp-examples

drwxr-xr-x 7 root www 512 Aug 25 16:23 lenya

drwxr-xr-x 11 www www 512 Oct 5 16:10 mapserv

drwxr-xr-x 4 www www 512 Nov 10 2004 servlets-examples

drwxr-xr-x 12 www www 1024 Nov 10 2004 tomcat-docs

drwxr-xr-x 22 www www 512 Sep 20 09:49 webdav

 alovmap content:

drwxr-xr-x 11 www www 512 Oct 5 16:11 .

drwxr-xr-x 12 www www 512 Oct 3 18:22 ..

-rw-r--r-- 1 www www 3285 Oct 3 18:27 LICENSE.txt

drwxr-xr-x 2 www www 512 Oct 3 18:27 META-INF

drwxr-xr-x 2 www www 512 Oct 3 18:27 Sydney

drwxr-xr-x 4 www www 512 Oct 5 16:03 WEB-INF

-rw-r--r-- 1 www www 266453 Oct 3 18:27 alov_applet.jar

-rw-r--r-- 1 www www 435314 Oct 5 16:11 alov_servlet.jar

drwxr-xr-x 2 www www 512 Oct 3 18:27 base

drwxr-xr-x 2 www www 512 Oct 3 18:27 images

drwxr-xr-x 2 www www 1024 Oct 3 18:27 images_wms

drwxr-xr-x 2 www www 512 Oct 3 18:27 img

-rw-r--r-- 1 www www 2916 Oct 3 18:27 index.html

drwxr-xr-x 2 www www 512 Oct 3 18:27 layouts

-rw-r--r-- 1 www www 1043 Oct 3 18:27 main3.css

drwxr-xr-x 2 www www 1536 Oct 3 18:27 sample

-rw-r--r-- 1 www www 150 Oct 3 18:27 top.html

-rw-r--r-- 1 www www 1386 Oct 3 18:27 up_search.html

-rw-r--r-- 1 www www 10270 Oct 3 18:27 wms.jsp

-rw-r--r-- 1 www www 4334 Oct 3 18:27 wms.xml

-rw-r--r-- 1 www www 3194 Oct 3 18:27 wms_feature.jsp

-rw-r--r-- 1 www www 423 Oct 3 18:27 world.html

-rw-r--r-- 1 www www 4462 Oct 3 18:27 world.xml

-rw-r--r-- 1 www www 51 Oct 3 18:27 world_keymap.gfw

-rw-r--r-- 1 www www 1837 Oct 3 18:27 world_keymap.gif

 I WAS COPYING THE alov_servlet.jar TO THIS DIRECTORY, JUST TESTING... BUT
after restarting the TOMCAT Server it appears the same message, like if
nothing exist.

 what could be the problem ?

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