Professional Documents
Culture Documents
http://products.rolta.com:1000/Projects/MOTS/Design/Forms/AllItems.aspx?RootFolder=%2FProjects%2FMOTS%2FD
Elevation server is used to bring the 3D terrain realization and elevation units in the Applet viewer.
1)Standalone server is a normal Socket based server, which is based on the following configuration steps
Refer
http://products.rolta.com:1000/Projects/MOTS/Design/Samvahak-II/3D%20Client%20an
Web based embedded server. Comes up with updated INCP RoltaLiferay Server and Installation process.
Please refer the configuration process: Similar to stand alone
try {
// try {
// for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
// if ("Nimbus".equals(info.getName())) {
// UIManager.setLookAndFeel(info.getClassName());
// break;
// }
// }
// } catch (Exception e) {
// // If Nimbus is not available, you can set the GUI to another look and feel.
// }
if(ApplicationLogin.offlineFlag == false) {
Thread serverThread = new Thread(){
}
};
serverThread.setDaemon(true);
serverThread.start();
}
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
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
com.rolta.mil.terrain.rgwserver.wms.generators.OraSpatialElevGenerator.java
com.rolta.mil.terrain.rgwserver.wms.utilities.OracleConnector
Purpose of using JNDI based DB connection is to use the pooled JDBC connection objects of Jboss
Note:- Please ensure that classes12.jar are placed in your Jboss's \jboss-5.1.0\server\def
Projects%2FMOTS%2FDesign%2FSamvahak%2DII%2F3D%20Client%20and%20Server
uration steps
ak-II/3D%20Client%20and%20Server/Configuring%20WMS%20server.doc
on process.
v\SAMVAHAK-II_CVOB\SAM\3dServerWeb_Dev\rgw3dweb\WEB-INF\web.xml
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();
AK-II_CVOB\SAM\3dServerWeb_Dev\rgw3dweb\build.xml
ServerWeb_Dev\rgw3dweb\WEB-INF\jboss-web.xml
ServerWeb_Dev\rgw3dweb\WEB-INF\web.xml
objects of Jboss
\jboss-5.1.0\server\default\lib folder.