about jdk

Hi,

I use linux system which has JDK1.5.0_07 already installed.
below is the install log with error messages.

error 1:
XML validation disabled

error 2:
Unable to locate project.properties in CLASSPATH

error 3:
Address already in use:8080
to correct this error 3 , hoe can I modify start_embedded_server.sh file?
like this is ok?

cd ./WEB-INF/bin && ./embeddedTomcat.sh --war /=../../../ “$@”
–>
cd ./WEB-INF/bin && ./embeddedTomcat.sh --war /=../../../ “$@” --port 8081

in spite of thease errors, the explorer.html was opened.
but I turn of my all browser and retry to open http://localhost:8081/index.html,
it shows dns error page.

how can i fix it?

Hope your quick help.

Thanks,
-hyung


Using user-defined JAVA_HOME: /usr/java/jdk1.5.0_07

=== 2007-02-20 11:40:16,256 [main] INFO Embedded - Starting tomcat server
=== 2007-02-20 11:40:16,477 [main] INFO StandardEngine - Starting Servlet Engine: Apache Tomcat/5.0.27
=== 2007-02-20 11:40:16,506 [main] INFO StandardHost - XML validation disabled
ISC: Configuring log4j from: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/classes/log4j.isc.config.xml
=== 2007-02-20 11:40:18,207 [main] INFO ISCInit - Isomorphic SmartClient Framework - Initializing
=== 2007-02-20 11:40:18,224 [main] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
=== 2007-02-20 11:40:18,341 [main] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/embeddedTomcat/work/null/localhost//loader/framework.properties
=== 2007-02-20 11:40:18,341 [main] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
=== 2007-02-20 11:40:18,342 [main] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
=== 2007-02-20 11:40:18,346 [main] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/embeddedTomcat/work/null/localhost/
/loader/isc_interfaces.properties
=== 2007-02-20 11:40:18,347 [main] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
=== 2007-02-20 11:40:18,352 [main] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/classes/server.properties
=== 2007-02-20 11:40:18,367 [main] INFO Logger - Logging system started.
=== 2007-02-20 11:40:18,369 [main] INFO ISCInit - Isomorphic SmartClient Framework (5.5.1/SDK Development Only 2006-12-12) - Initialization Complete
=== 2007-02-20 11:40:18,370 [main] DEBUG ISCInit - Verifying webroot: /usr/local/SmartClient_551_Evaluation/smartclientSDK
=== 2007-02-20 11:40:18,371 [main] INFO ISCInit - Auto-detected webRoot - using: /usr/local/SmartClient_551_Evaluation/smartclientSDK
=== 2007-02-20 11:40:18,482 [main] INFO JSSyntaxScannerFilter - Couldn’t load list of FileAssembler URLs - if the filter intecepts those URLs, they will be scanned.
=== 2007-02-20 11:40:18,774 [main] INFO TilesPlugin - Tiles definition factory loaded for module ‘’.
=== 2007-02-20 11:40:18,833 [main] INFO ValidatorPlugIn - Loading validation rules file from ‘/WEB-INF/validator-rules.xml’
=== 2007-02-20 11:40:18,836 [main] INFO ValidatorPlugIn - Loading validation rules file from ‘/WEB-INF/validation.xml’
=== 2007-02-20 11:40:19,179 [main] INFO PreCache - Isomorphic PreCache servlet loading
=== 2007-02-20 11:40:19,291 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DataSource.ds.xml: 15ms
=== 2007-02-20 11:40:19,302 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/builtinTypes.xml: 5ms
=== 2007-02-20 11:40:19,361 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DataSourceField.ds.xml: 3ms
=== 2007-02-20 11:40:19,384 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Validator.ds.xml: 2ms
=== 2007-02-20 11:40:19,402 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/ValueMap.ds.xml: 3ms
=== 2007-02-20 11:40:19,419 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/InstantDataApp.ds.xml: 14ms
=== 2007-02-20 11:40:19,495 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Application.ds.xml: 4ms
=== 2007-02-20 11:40:19,499 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/IDAPage.ds.xml: 2ms
=== 2007-02-20 11:40:19,514 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/IDAUserType.ds.xml: 5ms
=== 2007-02-20 11:40:19,521 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/IDAOperation.ds.xml: 3ms
=== 2007-02-20 11:40:19,562 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Canvas.ds.xml: 34ms
=== 2007-02-20 11:40:19,618 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Img.ds.xml: 1ms
=== 2007-02-20 11:40:19,627 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/StatefulCanvas.ds.xml: 4ms
=== 2007-02-20 11:40:19,644 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Button.ds.xml: 4ms
=== 2007-02-20 11:40:19,664 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/ListViewer.ds.xml: 4ms
=== 2007-02-20 11:40:19,669 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/ListGrid.ds.xml: 4ms
=== 2007-02-20 11:40:19,697 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DynamicForm.ds.xml: 5ms
=== 2007-02-20 11:40:19,811 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/FormItem.ds.xml: 94ms
=== 2007-02-20 11:40:19,838 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DetailViewer.ds.xml: 5ms
=== 2007-02-20 11:40:19,847 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DetailViewerField.ds.xml: 4ms
=== 2007-02-20 11:40:19,851 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/isomorphicXML.ds.xml: 2ms
=== 2007-02-20 11:40:19,853 [main] INFO PreCache - Isomorphic PreCache complete (674ms)
=== 2007-02-20 11:40:20,057 [main] ERROR Http11Protocol - Error initializing endpoint
java.net.BindException: Address already in use:8080
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:264)
at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
at org.apache.catalina.startup.Embedded.start(Embedded.java:851)
at com.isomorphic.embedded_tomcat.EmbeddedTomcat.main(EmbeddedTomcat.java:227)
Exception in thread “main” LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use:8080
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
at org.apache.catalina.startup.Embedded.start(Embedded.java:851)
at com.isomorphic.embedded_tomcat.EmbeddedTomcat.main(EmbeddedTomcat.java:227)
[root@localhost smartclientSDK]#

Hi canyon,

Neither your “error 1” or “error 2” are errors, they are normal log messages during startup. You should consider something prefixed with “WARN” or “ERROR” to be an indication of an error (and many warnings are harmless).

Yes, “–port 8081” is a correct way to switch port.

If you see the server successfully start up but are unable to access it via “http//localhost:8081/index.html”, then the most likely cause is some basic Linux networking configuration problem.

  1. How did you open explorer.html when it worked?

  2. Are you able to access other pages via http://localhost/ URLs, for example, whatever was already running on port 8080?

after installation, when when i open http://localhost:8088/index.html for the first time, it works.

but when i close the browser and shell program and reopen the browser and try the same address, the browser shows dns error page.

install without 8080 port shows below… installation can,t finished itself. stopped the last line. but it works at first time…

------------below-----------------------------------------------
[root@localhost smartclientSDK]# sh start_embedded_server.sh

Using user-defined JAVA_HOME: /usr/java/jdk1.5.0_07

=== 2007-02-27 12:52:29,774 [main] INFO Embedded - Starting tomcat server
=== 2007-02-27 12:52:29,994 [main] INFO StandardEngine - Starting Servlet Engine: Apache Tomcat/5.0.27
=== 2007-02-27 12:52:30,023 [main] INFO StandardHost - XML validation disabled
ISC: Configuring log4j from: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/classes/log4j.isc.config.xml
=== 2007-02-27 12:52:31,335 [main] INFO ISCInit - Isomorphic SmartClient Framework - Initializing
=== 2007-02-27 12:52:31,349 [main] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
=== 2007-02-27 12:52:31,464 [main] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/embeddedTomcat/work/null/localhost//loader/framework.properties
=== 2007-02-27 12:52:31,464 [main] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
=== 2007-02-27 12:52:31,465 [main] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
=== 2007-02-27 12:52:31,470 [main] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/embeddedTomcat/work/null/localhost/
/loader/isc_interfaces.properties
=== 2007-02-27 12:52:31,471 [main] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
=== 2007-02-27 12:52:31,476 [main] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/usr/local/SmartClient_551_Evaluation/smartclientSDK/WEB-INF/classes/server.properties
=== 2007-02-27 12:52:31,489 [main] INFO Logger - Logging system started.
=== 2007-02-27 12:52:31,490 [main] INFO ISCInit - Isomorphic SmartClient Framework (5.5.1/SDK Development Only 2006-12-12) - Initialization Complete
=== 2007-02-27 12:52:31,491 [main] DEBUG ISCInit - Verifying webroot: /usr/local/SmartClient_551_Evaluation/smartclientSDK
=== 2007-02-27 12:52:31,492 [main] INFO ISCInit - Auto-detected webRoot - using: /usr/local/SmartClient_551_Evaluation/smartclientSDK
=== 2007-02-27 12:52:31,665 [main] INFO JSSyntaxScannerFilter - Couldn’t load list of FileAssembler URLs - if the filter intecepts those URLs, they will be scanned.
=== 2007-02-27 12:52:31,952 [main] INFO TilesPlugin - Tiles definition factory loaded for module ‘’.
=== 2007-02-27 12:52:32,014 [main] INFO ValidatorPlugIn - Loading validation rules file from ‘/WEB-INF/validator-rules.xml’
=== 2007-02-27 12:52:32,015 [main] INFO ValidatorPlugIn - Loading validation rules file from ‘/WEB-INF/validation.xml’
=== 2007-02-27 12:52:32,363 [main] INFO PreCache - Isomorphic PreCache servlet loading
=== 2007-02-27 12:52:32,475 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DataSource.ds.xml: 13ms
=== 2007-02-27 12:52:32,485 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/builtinTypes.xml: 5ms
=== 2007-02-27 12:52:32,547 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DataSourceField.ds.xml: 5ms
=== 2007-02-27 12:52:32,570 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Validator.ds.xml: 2ms
=== 2007-02-27 12:52:32,587 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/ValueMap.ds.xml: 2ms
=== 2007-02-27 12:52:32,601 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/InstantDataApp.ds.xml: 11ms
=== 2007-02-27 12:52:32,674 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Application.ds.xml: 3ms
=== 2007-02-27 12:52:32,681 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/IDAPage.ds.xml: 4ms
=== 2007-02-27 12:52:32,692 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/IDAUserType.ds.xml: 2ms
=== 2007-02-27 12:52:32,704 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/IDAOperation.ds.xml: 9ms
=== 2007-02-27 12:52:32,746 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Canvas.ds.xml: 32ms
=== 2007-02-27 12:52:32,799 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Img.ds.xml: 1ms
=== 2007-02-27 12:52:32,811 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/StatefulCanvas.ds.xml: 8ms
=== 2007-02-27 12:52:32,824 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/Button.ds.xml: 5ms
=== 2007-02-27 12:52:32,842 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/ListViewer.ds.xml: 3ms
=== 2007-02-27 12:52:32,847 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/ListGrid.ds.xml: 4ms
=== 2007-02-27 12:52:32,880 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DynamicForm.ds.xml: 5ms
=== 2007-02-27 12:52:32,905 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/FormItem.ds.xml: 5ms
=== 2007-02-27 12:52:32,931 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DetailViewer.ds.xml: 6ms
=== 2007-02-27 12:52:32,942 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/DetailViewerField.ds.xml: 3ms
=== 2007-02-27 12:52:32,947 [main] DEBUG XML - Parsed XML from /usr/local/SmartClient_551_Evaluation/smartclientSDK/isomorphic/system/schema/isomorphicXML.ds.xml: 3ms
=== 2007-02-27 12:52:32,949 [main] INFO PreCache - Isomorphic PreCache complete (586ms)
=== 2007-02-27 12:52:33,161 [main] INFO Http11Protocol - Initializing Coyote HTTP/1.1 on http-8088
=== 2007-02-27 12:52:33,198 [main] INFO Http11Protocol - Starting Coyote HTTP/1.1 on http-8088

installation stops!
but http://localhost:8088/index.html is available at first time.

http://localhost:8080
shows the Apache Tomcat/5.5.17 page with cat image.

..so should i edit any port configure files?

thanks,

Hi canyon,

The shell script provided with the SmartClient SDK (start_embedded_server.sh) is not a one-time installer script, it actually runs the server included with the SDK. When you stopped the script, you stopped the server.

If you want the server to run in the background, do “sh start_embedded_server.sh &” (note trailing ampersand), or set up your Linux machine to run the server on startup.