[Geoserver-users] running a web application and geoseerver on the same tomcat

Hello List,
i have installed Eclipse juno for JEE developpers, tomcat 7, and put the geoserver librairie in the same tomcat.
When i try to run tomcat 7 (to run a web application) while running geoserver (with cmd), the application doesn’t run.
Can you tell me how can i manage to run both on the same tomcat because i am trying to publish postgis layers with geoserver and use them in the web application.
thank you


Khaoula MIMID

Élève ingénieur - 3ème Sciences d’Information Géographique

Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : khaoula.mimid@anonymised.com


You should not put the lib to tomcat lib, instead you can import geoserver war file into it eclipse, just run it as normal JAEE app.

Regards,
Hua Jie

···

On Fri, Mar 15, 2013 at 12:01 AM, Khaoula MIMID <khaoula.mimid@anonymised.com> wrote:

Hello List,
i have installed Eclipse juno for JEE developpers, tomcat 7, and put the geoserver librairie in the same tomcat.
When i try to run tomcat 7 (to run a web application) while running geoserver (with cmd), the application doesn’t run.
Can you tell me how can i manage to run both on the same tomcat because i am trying to publish postgis layers with geoserver and use them in the web application.
thank you


Khaoula MIMID

Élève ingénieur - 3ème Sciences d’Information Géographique

Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : khaoula.mimid@anonymised.com



Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Thu, Mar 14, 2013 at 5:01 PM, Khaoula MIMID <khaoula.mimid@anonymised.com.> wrote:

Hello List,
i have installed Eclipse juno for JEE developpers, tomcat 7, and put the geoserver librairie in the same tomcat.
When i try to run tomcat 7 (to run a web application) while running geoserver (with cmd), the application doesn’t run.
Can you tell me how can i manage to run both on the same tomcat because i am trying to publish postgis layers with geoserver and use them in the web application.

You just have to deploy both .war in the same tomcat.
If you are running GeoServer wtih cmd it’s going to take port 8080, and tomcat 7 will try to start by default
on port 8080 too and fail… if you want, you can also configure either tomcat or geoserver to start on a different
port

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


Hello,

Thank you both foryour answers.
Can you show me how to deploy the geoserver war on eclipse?
Thank you very much

···

2013/3/15 Andrea Aime <andrea.aime@anonymised.com>

On Thu, Mar 14, 2013 at 5:01 PM, Khaoula MIMID <khaoula.mimid@anonymised.com> wrote:

Hello List,
i have installed Eclipse juno for JEE developpers, tomcat 7, and put the geoserver librairie in the same tomcat.
When i try to run tomcat 7 (to run a web application) while running geoserver (with cmd), the application doesn’t run.
Can you tell me how can i manage to run both on the same tomcat because i am trying to publish postgis layers with geoserver and use them in the web application.

You just have to deploy both .war in the same tomcat.
If you are running GeoServer wtih cmd it’s going to take port 8080, and tomcat 7 will try to start by default
on port 8080 too and fail… if you want, you can also configure either tomcat or geoserver to start on a different
port

Cheers
Andrea

==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it



Khaoula MIMID

Élève ingénieur - 3ème Sciences d’Information Géographique

Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : khaoula.mimid@anonymised.com