Hi,
I am trying to start this program:
public class Launcher {
public static void main(String args){
new AsynchConsumerManager(“applicationContext-download.xml”);
}
}
when GeoServer starts first time.
I wanted to know which class actually starts GeoServer first time.
Cheers,
Adit
Well I am not sure there is a class that "starts" geoserver since its
run inside of a servlet container.
When running with jetty, its org.mortbay.start.Main to start jetty.
However, andrea setup a class that is used to debug geoserver from
eclipse, org.vfny.geoserver.jetty.Start in the web module. You can try that.
-Justin
Adit Santokhee wrote:
Hi,
I am trying to start this program:
public class Launcher {
public static void main(String args){
new AsynchConsumerManager("applicationContext-download.xml");
}
}
when GeoServer starts first time.
I wanted to know which class actually starts GeoServer first time.
Cheers,
Adit
!DSPAM:1004,45536e2783141527717022!
------------------------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
!DSPAM:1004,45536e2783141527717022!
------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
!DSPAM:1004,45536e2783141527717022!
--
Justin Deoliveira
jdeolive@anonymised.com
The Open Planning Project
http://topp.openplans.org
It's a bit non-intuitive, and I'm not sure why it ended up this way. But it's in the FAQ:
http://docs.codehaus.org/display/GEOSDOC/What+class+loads+GeoServer
It can be a bit tricky to figure out where GeoServer actually starts. It does so in org.vfny.geoserver.global.GeoServerPlugIn It is started by Struts, and it gets the load location from GeoserverDataDir, and then calls org.vfny.geoserver.global.xml.XMLConfigReader
Chris
Adit Santokhee wrote:
Hi,
I am trying to start this program:
public class Launcher {
public static void main(String args){
new AsynchConsumerManager("applicationContext-download.xml");
}
}
when GeoServer starts first time.
I wanted to know which class actually starts GeoServer first time.
Cheers,
Adit
!DSPAM:1003,45536e2783111665516417!
------------------------------------------------------------------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
!DSPAM:1003,45536e2783111665516417!
------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
!DSPAM:1003,45536e2783111665516417!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org