ocssw is not accessible

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
skolluru
Posts: 2
Joined: Sun Nov 14, 2021 7:03 pm America/New_York
Answers: 0

ocssw is not accessible

by skolluru » Mon Nov 14, 2022 9:38 pm America/New_York

Hello,

I installed seadas 8.2.0 and tried to install ocssw through wsl. Here's the error that i am obtaining
"Remote server is down. OCSSW is not accessible.Please start OCSSW remote server".

I followed the instructions at https://seadas.gsfc.nasa.gov/client_server/
but still i run into this error.
Below is the ocsswserver.config file i copied to a folder named "seadasClientServerShared" in WSL

ocsswrest.version=1.0
baseUriPortNumber=6400
ocsswroot=/home/srinivaskolluru/ocssw
serverWorkingDirectory=/mnt/c/Users/Sri/seadasClientServerShared
clientServerSharedDir=true
keepIntermediateFilesOnServer=false
processInputStreamPortNumber=6402
processErrorStreamPortNumber=6403

Below is the seadas.properties file that used
seadas.ocssw.port=6400
seadas.ocssw.keepFilesOnServer=false
seadas.ocssw.processErrorStreamPort=6403
seadas.ocssw.location=virtualMachine
seadas.client.id=${user.name}
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.sharedDir=C:\\Users\\Sri\\seadasClientServerShared


and finally the systeminformation for SeaDAS

-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.2.0
SNAP Engine Version: 8.0.9* (SeaDAS Platform modified)
SNAP Desktop Version: 8.0.9* (SeaDAS Platform modified)
SNAP Engine Build Date: 202203171426
SNAP Desktop Build Date: 202203171431
Installation Directory: C:\Program Files (x86)\SeaDAS
Data Directory: C:\Users\Sri\.seadas8
Configuration: C:\Program Files (x86)\SeaDAS\etc\snap.properties
VM Configuration: C:\Program Files (x86)\SeaDAS\etc\snap.conf
VM Configuration (gpt): C:\Program Files (x86)\SeaDAS\bin\gpt.vmoptions
VM Configuration (pconvert): C:\Program Files (x86)\SeaDAS\bin\pconvert.vmoptions
Runtime Configuration: C:\Users\Sri\.seadas8\etc\snap.properties
Runtime Configuration (SeaDAS Toolbox): C:\Users\Sri\.seadas8\etc\seadas.properties
JRE: Java(TM) SE Runtime Environment 1.8.0_201-b09
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Memory: 3641 MiB
OCSSWROOT (Java Env): null
Python3 Directory: /usr/bin/python3


-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.2.0
SeaDAS Toolbox Build Date: 202203231309
Configuration: C:\Users\Sri\.seadas8\etc\seadas.properties
OCSSW Root Directory: null
OCSSW Log Directory: C:\F_Drive\
OCSSW Location: virtualMachine
Environment {$OCSSWROOT} (external): null


-----------------------------------------------------------
NASA Science Processing (OCSSW):
-----------------------------------------------------------
Warning! Processers not installed



-----------------------------------------------------------
General System and Software (from GUI):
-----------------------------------------------------------

Operating System: Windows 10 10.0
Java Version: 1.8.0_201

Note: I was able to install modis files in wsl. But couldn't access them through SeaDAS in windows.

Tags:

OB SeaDAS - aynur
Subject Matter Expert
Subject Matter Expert
Posts: 45
Joined: Tue Dec 20, 2011 12:28 pm America/New_York
Answers: 0

Re: ocssw is not accessible

by OB SeaDAS - aynur » Wed Nov 16, 2022 11:17 am America/New_York

Hi,

Can you post the server-side console output?

Thanks.

skolluru
Posts: 2
Joined: Sun Nov 14, 2021 7:03 pm America/New_York
Answers: 0

Re: ocssw is not accessible

by skolluru » Wed Nov 16, 2022 12:15 pm America/New_York

Hello,
Thank you for your reply. This is the server side message i get when i use

argument: ocsswserver.config
-- listing properties --
awt.toolkit=sun.awt.X11.XToolkit
java.specification.version=11
sun.cpu.isalist=
sun.jnu.encoding=UTF-8
java.class.path=seadas-ocsswserver.jar
ocsswroot=/home/srinivaskolluru/ocssw
java.vm.vendor=Oracle Corporation
sun.arch.data.model=64
processInputStreamPortNumber=6402
processErrorStreamPortNumber=6403
java.vendor.url=https://openjdk.java.net/
user.timezone=
os.name=Linux
java.vm.specification.version=11
sun.java.launcher=SUN_STANDARD
sun.boot.library.path=/usr/lib/jvm/java-11-oracle/lib
sun.java.command=seadas-ocsswserver.jar ocsswserver.co...
jdk.debug=release
sun.cpu.endian=little
user.home=/home/srinivaskolluru
user.language=en
java.specification.vendor=Oracle Corporation
serverWorkingDirectory=/mnt/c/Users/Sri/seadasClientServerSh...
java.version.date=2021-10-19
java.home=/usr/lib/jvm/java-11-oracle
file.separator=/
java.vm.compressedOopsMode=Zero based
line.separator=

java.specification.name=Java Platform API Specification
java.vm.specification.vendor=Oracle Corporation
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
java.runtime.version=11.0.13+10-LTS-370
user.name=srinivaskolluru
path.separator=:
os.version=5.15.68.1-microsoft-standard-WSL2
java.runtime.name=Java(TM) SE Runtime Environment
file.encoding=UTF-8
baseUriPortNumber=6400
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vendor.version=18.9
java.vendor.url.bug=https://bugreport.java.com/bugreport/
java.io.tmpdir=/tmp
java.version=11.0.13
user.dir=/home/srinivaskolluru
os.arch=amd64
java.vm.specification.name=Java Virtual Machine Specification
ocsswrest.version=1.0
java.awt.printerjob=sun.print.PSPrinterJob
sun.os.patch.level=unknown
java.library.path=/usr/java/packages/lib:/usr/lib64:/li...
java.vendor=Oracle Corporation
java.vm.info=mixed mode
clientServerSharedDir=true
java.vm.version=11.0.13+10-LTS-370
sun.io.unicode.encoding=UnicodeLittle
java.class.version=55.0
keepIntermediateFilesOnServer=false
server ocssw root path: /home/srinivaskolluru/ocssw/bin
ocssw installation script failed to download.
Please check network connection or 'seadas.ocssw.root' variable in the "seadas.config" file.
possible cause of error: Connection timed out (Connection timed out)
ORS is starting at
Nov 16, 2022 11:33:42 AM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
WARNING: A provider java.io.InputStream registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider java.io.InputStream will be ignored.
Nov 16, 2022 11:33:42 AM org.glassfish.grizzly.http.server.NetworkListener start
INFO: Started listener bound to [0.0.0.0:6400]
Nov 16, 2022 11:33:42 AM org.glassfish.grizzly.http.server.HttpServer start
INFO: [HttpServer] Started.
Jersey new app started with WADL available at http://0.0.0.0:6400/ocsswws/application.wadl
Press 'Ctrl' + 'C' to stop it...

Post Reply