Documents Location:
[Link]
Elevation server is used to bring the 3D terrain realization and elevation units in the Applet viewer.
There are two mode of running the elevation server.
1 Standalone application SAMVAHAK-II_CVOB/SAM/3DServer2011
2 Embedded web application SAMVAHAK-II_CVOB/SAM/3dServerWeb_Dev
SAMVAHAK-II_CVOB/SAM/3dServerWeb_Dev_2012
1)Standalone server is a normal Socket based server, which is based on the following configuration steps
Refer
[Link]
Web based embedded server. Comes up with updated INCP RoltaLiferay Server and Installation process.
Please refer the configuration process: Similar to stand alone
2) Use of Servlet to pass the kickoff call of the Server
Servlet Name: [Link]
Servlet Mapping in : D:\SAM4_170412\Mayuresh.Pandey_Samvahak_Dev\SAMVAHAK-II_CVOB\S
Servlet mapping is done automatically as an installation process, and if you want to c
3) Use of Thread Call the start the Web based
In RGWSViewApplet please refer the following piece of code
public void init()
{
[Link](1000,600);
[Link]("[Link]", "true");
try {
// try {
// for (LookAndFeelInfo info : [Link]()) {
// if ("Nimbus".equals([Link]())) {
// [Link]([Link]());
// break;
// }
// }
// } catch (Exception e) {
// // If Nimbus is not available, you can set the GUI to another look and feel.
// }
if([Link] == false) {
Thread serverThread = new Thread(){
public void run(){
OpenUrlConnection oUrl = new O
[Link]();
}
};
[Link](true);
[Link]();
}
This piece of code is used to cick of the servlet based elevation server, first time when client browser start
Note:- We can not auto start it in Jboss as it will not let the Jboss end point to be created and it will end up
3) Elavati Server Startup Port: 8888
4) Building the elevation server
Run the D:\SAM4_170412\Mayuresh.Pandey_Samvahak_Dev\SAMVAHAK-II_CVOB\SAM\3dSer
5) Deploying the elevation server
Copy the artifact from dist to Jboss deploy folder.
6) Database Support in elevation server
Note: it is not able to bring 3D realization from DB to terrain and hence elevation server has been used onl
The following files are responsible for using JNDI Based oracle connection
D:\SAM4_170412\Mayuresh.Pandey_Samvahak_Dev\SAMVAHAK-II_CVOB\SAM\3dServerWeb_Dev\rgw3dw
D:\SAM4_170412\Mayuresh.Pandey_Samvahak_Dev\SAMVAHAK-II_CVOB\SAM\3dServerWeb_Dev\rgw3dw
The Java Class wich uses the JNDI connection object are
[Link]
[Link]
Purpose of using JNDI based DB connection is to use the pooled JDBC connection objects of Jboss
Note:- Please ensure that [Link] are placed in your Jboss's \jboss-5.1.0\server\def
Projects%2FMOTS%2FDesign%2FSamvahak%2DII%2F3D%20Client%20and%20Server
ServerWeb_Dev Old Version
ServerWeb_Dev_2012 New Version
uration steps
ak-II/3D%20Client%20and%20Server/Configuring%20WMS%[Link]
on process.
v\SAMVAHAK-II_CVOB\SAM\3dServerWeb_Dev\rgw3dweb\WEB-INF\[Link]
ess, and if you want to configure it manually you could also do it by editing it manually and restarting the Jboss.
Connection oUrl = new OpenUrlConnection();
nURLConnection();
hen client browser starts the application
reated and it will end up starting its own socket at 8888
AK-II_CVOB\SAM\3dServerWeb_Dev\rgw3dweb\[Link]
rver has been used only with GeoRaster support.
ServerWeb_Dev\rgw3dweb\WEB-INF\[Link]
ServerWeb_Dev\rgw3dweb\WEB-INF\[Link]
objects of Jboss
\jboss-5.1.0\server\default\lib folder.