OCSSW Processors installing issues

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
suriya_nivas
Posts: 4
Joined: Tue Aug 08, 2023 6:08 am America/New_York
Answers: 0

OCSSW Processors installing issues

by suriya_nivas » Tue Aug 08, 2023 11:38 am America/New_York

-----------------------------------------------------------
Main Application Platform:
-----------------------------------------------------------
Application Version: SeaDAS 8.3.10
SNAP Engine Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Desktop Version: 10.0.0.0* (SeaDAS Platform modified)
SNAP Engine Build Date: 202306140444
SNAP Desktop Build Date: 202306140448
Installation Directory: /Users/nivas/Applications/SeaDas
Data Directory: /Users/nivas/.seadas8
Configuration: /Users/nivas/Applications/SeaDas/etc/snap.properties
VM Configuration: /Users/nivas/Applications/SeaDas/etc/seadas.conf
WARNING!! File '/Users/nivas/Applications/SeaDas/etc/seadas.conf' does not exist
VM Configuration: /Users/nivas/Applications/SeaDas/etc/snap.conf
WARNING!! File '/Users/nivas/Applications/SeaDas/etc/snap.conf' does not exist
VM Configuration (gpt): /Users/nivas/Applications/SeaDas/bin/gpt.vmoptions
VM Configuration (pconvert): /Users/nivas/Applications/SeaDas/bin/pconvert.vmoptions
Runtime Configuration: /Users/nivas/.seadas8/etc/snap.properties
Runtime Configuration (SeaDAS Toolbox): /Users/nivas/.seadas8/etc/seadas.properties
JRE: OpenJDK Runtime Environment 11.0.19+7
JVM: OpenJDK 64-Bit Server VM by Eclipse Adoptium
Memory: 4096 MiB
OCSSWROOT (Java Env): null
Python3 Directory: /Users/nivas/anaconda3/bin/python3


-----------------------------------------------------------
SeaDAS Toolbox:
-----------------------------------------------------------
SeaDAS Toolbox Version: 1.3.0
SeaDAS Toolbox Build Date: 202306140456
Configuration: /Users/nivas/.seadas8/etc/seadas.properties
OCSSW Root Directory: /root/ocssw
WARNING!! Directory '/root/ocssw' does not exist
OCSSW Log Directory: /
OCSSW Location: docker
Environment {$OCSSWROOT} (external): null


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



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

Operating System: Mac OS X 14.0
Java Version: 11.0.19

USING DOCKER

DOCKER RUNNING STATUS

2023-08-08 20:28:41 argument: ocsswserver.config
2023-08-08 20:28:41 -- listing properties --
2023-08-08 20:28:41 processErrorStreamPortNumber=6403
2023-08-08 20:28:41 java.runtime.name=Java(TM) SE Runtime Environment
2023-08-08 20:28:41 sun.boot.library.path=/root/jre1.8.0_321/lib/amd64
2023-08-08 20:28:41 java.vm.version=25.321-b07
2023-08-08 20:28:41 java.vm.vendor=Oracle Corporation
2023-08-08 20:28:41 java.vendor.url=http://java.oracle.com/
2023-08-08 20:28:41 path.separator=:
2023-08-08 20:28:41 java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2023-08-08 20:28:41 file.encoding.pkg=sun.io
2023-08-08 20:28:41 user.country=US
2023-08-08 20:28:41 sun.java.launcher=SUN_STANDARD
2023-08-08 20:28:41 sun.os.patch.level=unknown
2023-08-08 20:28:41 java.vm.specification.name=Java Virtual Machine Specification
2023-08-08 20:28:41 user.dir=/root
2023-08-08 20:28:41 java.runtime.version=1.8.0_321-b07
2023-08-08 20:28:41 java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
2023-08-08 20:28:41 java.endorsed.dirs=/root/jre1.8.0_321/lib/endorsed
2023-08-08 20:28:41 os.arch=amd64
2023-08-08 20:28:41 java.io.tmpdir=/tmp
2023-08-08 20:28:41 line.separator=
2023-08-08 20:28:41
2023-08-08 20:28:41 java.vm.specification.vendor=Oracle Corporation
2023-08-08 20:28:41 os.name=Linux
2023-08-08 20:28:41 sun.jnu.encoding=ANSI_X3.4-1968
2023-08-08 20:28:41 java.library.path=/usr/java/packages/lib/amd64:/usr/lib...
2023-08-08 20:28:41 java.specification.name=Java Platform API Specification
2023-08-08 20:28:41 java.class.version=52.0
2023-08-08 20:28:41 sun.management.compiler=HotSpot 64-Bit Tiered Compilers
2023-08-08 20:28:41 os.version=5.15.49-linuxkit-pr
2023-08-08 20:28:41 user.home=/root
2023-08-08 20:28:41 user.timezone=
2023-08-08 20:28:41 ocsswrest.version=1.0
2023-08-08 20:28:41 java.awt.printerjob=sun.print.PSPrinterJob
2023-08-08 20:28:41 file.encoding=ANSI_X3.4-1968
2023-08-08 20:28:41 java.specification.version=1.8
2023-08-08 20:28:41 ocsswroot=/root/ocssw
2023-08-08 20:28:41 user.name=root
2023-08-08 20:28:41 java.class.path=seadas-ocsswserver.jar
2023-08-08 20:28:41 keepIntermediateFilesOnServer=false
2023-08-08 20:28:41 java.vm.specification.version=1.8
2023-08-08 20:28:41 processInputStreamPortNumber=6402
2023-08-08 20:28:41 sun.arch.data.model=64
2023-08-08 20:28:41 java.home=/root/jre1.8.0_321
2023-08-08 20:28:41 sun.java.command=seadas-ocsswserver.jar ocsswserver.co...
2023-08-08 20:28:41 java.specification.vendor=Oracle Corporation
2023-08-08 20:28:41 user.language=en
2023-08-08 20:28:41 awt.toolkit=sun.awt.X11.XToolkit
2023-08-08 20:28:41 java.vm.info=mixed mode
2023-08-08 20:28:41 java.version=1.8.0_321
2023-08-08 20:28:41 java.ext.dirs=/root/jre1.8.0_321/lib/ext:/usr/java/...
2023-08-08 20:28:41 clientServerSharedDir=true
2023-08-08 20:28:41 sun.boot.class.path=/root/jre1.8.0_321/lib/resources.jar:...
2023-08-08 20:28:41 java.vendor=Oracle Corporation
2023-08-08 20:28:41 file.separator=/
2023-08-08 20:28:41 java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2023-08-08 20:28:41 baseUriPortNumber=6400
2023-08-08 20:28:41 sun.cpu.endian=little
2023-08-08 20:28:41 sun.io.unicode.encoding=UnicodeLittle
2023-08-08 20:28:41 serverWorkingDirectory=/root/seadasClientServerShared
2023-08-08 20:28:41 sun.cpu.isalist=
2023-08-08 20:28:41 server ocssw root path: /root/ocssw/bin
2023-08-08 20:28:46 ORS is starting at
2023-08-08 20:28:49 Aug 08, 2023 2:58:49 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
2023-08-08 20:28:49 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.
2023-08-08 20:28:51 Aug 08, 2023 2:58:51 PM org.glassfish.grizzly.http.server.NetworkListener start
2023-08-08 20:28:51 INFO: Started listener bound to [0.0.0.0:6400]
2023-08-08 20:28:51 Aug 08, 2023 2:58:51 PM org.glassfish.grizzly.http.server.HttpServer start
2023-08-08 20:28:51 INFO: [HttpServer] Started.
2023-08-08 20:28:51 Jersey new app started with WADL available at http://0.0.0.0:6400/ocsswws/application.wadl
2023-08-08 20:28:51 Press 'Ctrl' + 'C' to stop it...
2023-08-08 20:29:40 server ocssw root path: /root/ocssw/bin
2023-08-08 20:35:08 server ocssw root path: /root/ocssw/bin
2023-08-08 20:41:51 server ocssw root path: /root/ocssw/bin
2023-08-08 20:45:32 server ocssw root path: /root/ocssw/bin
2023-08-08 20:51:04 server ocssw root path: /root/ocssw/bin
2023-08-08 20:58:49 argument: ocsswserver.config
2023-08-08 20:58:49 -- listing properties --
2023-08-08 20:58:49 processErrorStreamPortNumber=6403
2023-08-08 20:58:49 java.runtime.name=Java(TM) SE Runtime Environment
2023-08-08 20:58:49 sun.boot.library.path=/root/jre1.8.0_321/lib/amd64
2023-08-08 20:58:49 java.vm.version=25.321-b07
2023-08-08 20:58:49 java.vm.vendor=Oracle Corporation
2023-08-08 20:58:49 java.vendor.url=http://java.oracle.com/
2023-08-08 20:58:49 path.separator=:
2023-08-08 20:58:49 java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2023-08-08 20:58:49 file.encoding.pkg=sun.io
2023-08-08 20:58:49 user.country=US
2023-08-08 20:58:49 sun.java.launcher=SUN_STANDARD
2023-08-08 20:58:49 sun.os.patch.level=unknown
2023-08-08 20:58:49 java.vm.specification.name=Java Virtual Machine Specification
2023-08-08 20:58:49 user.dir=/root
2023-08-08 20:58:49 java.runtime.version=1.8.0_321-b07
2023-08-08 20:58:49 java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
2023-08-08 20:58:49 java.endorsed.dirs=/root/jre1.8.0_321/lib/endorsed
2023-08-08 20:58:49 os.arch=amd64
2023-08-08 20:58:49 java.io.tmpdir=/tmp
2023-08-08 20:58:49 line.separator=
2023-08-08 20:58:49
2023-08-08 20:58:49 java.vm.specification.vendor=Oracle Corporation
2023-08-08 20:58:49 os.name=Linux
2023-08-08 20:58:49 sun.jnu.encoding=ANSI_X3.4-1968
2023-08-08 20:58:49 java.library.path=/usr/java/packages/lib/amd64:/usr/lib...
2023-08-08 20:58:49 java.specification.name=Java Platform API Specification
2023-08-08 20:58:49 java.class.version=52.0
2023-08-08 20:58:49 sun.management.compiler=HotSpot 64-Bit Tiered Compilers
2023-08-08 20:58:49 os.version=5.15.49-linuxkit-pr
2023-08-08 20:58:49 user.home=/root
2023-08-08 20:58:49 user.timezone=
2023-08-08 20:58:49 ocsswrest.version=1.0
2023-08-08 20:58:49 java.awt.printerjob=sun.print.PSPrinterJob
2023-08-08 20:58:49 file.encoding=ANSI_X3.4-1968
2023-08-08 20:58:49 java.specification.version=1.8
2023-08-08 20:58:49 ocsswroot=/root/ocssw
2023-08-08 20:58:49 user.name=root
2023-08-08 20:58:49 java.class.path=seadas-ocsswserver.jar
2023-08-08 20:58:49 keepIntermediateFilesOnServer=false
2023-08-08 20:58:49 java.vm.specification.version=1.8
2023-08-08 20:58:49 processInputStreamPortNumber=6402
2023-08-08 20:58:49 sun.arch.data.model=64
2023-08-08 20:58:49 java.home=/root/jre1.8.0_321
2023-08-08 20:58:49 sun.java.command=seadas-ocsswserver.jar ocsswserver.co...
2023-08-08 20:58:49 java.specification.vendor=Oracle Corporation
2023-08-08 20:58:49 user.language=en
2023-08-08 20:58:49 awt.toolkit=sun.awt.X11.XToolkit
2023-08-08 20:58:49 java.vm.info=mixed mode
2023-08-08 20:58:49 java.version=1.8.0_321
2023-08-08 20:58:49 java.ext.dirs=/root/jre1.8.0_321/lib/ext:/usr/java/...
2023-08-08 20:58:49 clientServerSharedDir=true
2023-08-08 20:58:49 sun.boot.class.path=/root/jre1.8.0_321/lib/resources.jar:...
2023-08-08 20:58:49 java.vendor=Oracle Corporation
2023-08-08 20:58:49 file.separator=/
2023-08-08 20:58:49 java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2023-08-08 20:58:49 baseUriPortNumber=6400
2023-08-08 20:58:49 sun.cpu.endian=little
2023-08-08 20:58:49 sun.io.unicode.encoding=UnicodeLittle
2023-08-08 20:58:49 serverWorkingDirectory=/root/seadasClientServerShared
2023-08-08 20:58:49 sun.cpu.isalist=
2023-08-08 20:58:49 server ocssw root path: /root/ocssw/bin
2023-08-08 20:58:54 ORS is starting at
2023-08-08 20:58:56 Aug 08, 2023 3:28:56 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
2023-08-08 20:58:56 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.
2023-08-08 20:58:58 Aug 08, 2023 3:28:58 PM org.glassfish.grizzly.http.server.NetworkListener start
2023-08-08 20:58:58 INFO: Started listener bound to [0.0.0.0:6400]
2023-08-08 20:58:58 Aug 08, 2023 3:28:58 PM org.glassfish.grizzly.http.server.HttpServer start
2023-08-08 20:58:58 INFO: [HttpServer] Started.
2023-08-08 20:58:58 Jersey new app started with WADL available at http://0.0.0.0:6400/ocsswws/application.wadl
2023-08-08 20:58:58 Press 'Ctrl' + 'C' to stop it...
2023-08-08 20:59:17 server ocssw root path: /root/ocssw/bin

Filters:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 660
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: OCSSW Processors installing issues

by OB SeaDAS - xuanyang02 » Tue Aug 08, 2023 12:46 pm America/New_York

You can install OCSSW on your Mac (with Intel chips) without using docker -- https://seadas.gsfc.nasa.gov/downloads/

suriya_nivas
Posts: 4
Joined: Tue Aug 08, 2023 6:08 am America/New_York
Answers: 0

Re: OCSSW Processors installing issues

by suriya_nivas » Tue Aug 08, 2023 2:09 pm America/New_York

Im using macbook with M2 Chip. Here is the log file.
Attachments
messages.pdf
(143.69 KiB) Downloaded 112 times

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 660
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: OCSSW Processors installing issues

by OB SeaDAS - xuanyang02 » Thu Aug 10, 2023 4:18 pm America/New_York

Software & System Info in SeaDAS has issues to recognize OCSSW installed through docker. I had ocssw installed through Docker, but Software & System Info shows the similar info as yours

SeaDAS Toolbox Version: 1.3.0
SeaDAS Toolbox Build Date: 202306140456
Configuration: /Users/*/.seadas8/etc/seadas.properties
OCSSW Root Directory: /root/ocssw
WARNING!! Directory '/root/ocssw' does not exist
OCSSW Log Directory: /Users/*
OCSSW Location: docker
Environment {$OCSSWROOT} (external): /Users/*/ocssw

You might actually have OCSSW installed in /Users/nivas/ocssw

Can you do

Code: Select all

ls -al ~]/Users/nivas/ocssw
and share the result here?

If there is no OCSSW installed, I have a few questions --

Did you follow the instructions here to set up? https://seadas.gsfc.nasa.gov/client_server/

Can you share the content of /Users/nivas/.seadas8/etc/seadas.properties?

Did you then install ocssw through GUI? Did the process complete with success?

I have
"2023-08-10 12:51:53 Press 'Ctrl' + 'C' to stop it...
2023-08-10 12:54:34 server ocssw root path: /root/ocssw/bin
2023-08-10 12:54:49 /tmp/install_ocssw --install_dir=/root/ocssw --modisa --tag=V2022.3 --seadas process status on server = -100
2023-08-10 12:54:49 server process observer: 6402
2023-08-10 12:54:49 server process observer: 6403
2023-08-10 13:18:01 final process status: 0
2023-08-10 13:18:01 final process status: 0"

in my Docker Logs, which I don't see your in your Docker Logs.
Last edited by OB SeaDAS - xuanyang02 on Thu Sep 07, 2023 10:01 am America/New_York, edited 1 time in total.

suriya_nivas
Posts: 4
Joined: Tue Aug 08, 2023 6:08 am America/New_York
Answers: 0

Re: OCSSW Processors installing issues

by suriya_nivas » Fri Aug 11, 2023 3:09 pm America/New_York

(base) nivas@Suryas-MacBook-Pro ocssw % ls -al
total 0
drwxr-xr-x 2 nivas staff 64 Aug 12 00:15 .
drwxr-x---@ 77 nivas staff 2464 Aug 12 00:30 ..
(base) nivas@Suryas-MacBook-Pro ocssw %

--------------------------------------------------------------------------------------------------------------------------------
Did I follow the instructions here to set up? https://seadas.gsfc.nasa.gov/client_server/ - YES, I FOLLOWED EACH AND EVERY STEPS MENTIONED IN THIS ARTICLE.

------------------------------------------------------------------------------------------------------------------------------------
The content of /Users/nivas/.seadas8/etc/seadas.properties

#SNAP configuration 'seadas'
#Sat Aug 12 00:27:28 IST 2023
seadas.ocssw.root=/Users/nivas/SeaDAS/ocssw
seadas.ocssw.location=docker
seadas.ocssw.port=6400
seadas.ocssw.serverAddress=
seadas.ocssw.sharedDir=/Users/nivas/seadasClientServerShared
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.processErrorStreamPort=6403

------------------------------------------------------------------------------------------------------------------------------------
Did I then install ocssw through GUI? Did the process complete with success? - I GET THIS ERROR

java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:139)
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:126)
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:118)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.base/java.lang.Class.newInstance(Unknown Source)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospector(JsonMapperConfigurator.java:113)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospectors(JsonMapperConfigurator.java:86)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg.MapperConfiguratorBase._setAnnotations(MapperConfiguratorBase.java:123)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator.getDefaultMapper(JsonMapperConfigurator.java:47)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase.locateMapper(ProviderBase.java:955)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase._endpointForReading(ProviderBase.java:881)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:789)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:257)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:236)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:156)
at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1091)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:834)
at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:363)
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:936)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:787)
at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
at org.glassfish.jersey.internal.Errors.process(Errors.java:229)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:414)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:785)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:438)
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:329)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerFormRemote.updateMissionValues(OCSSWInstallerFormRemote.java:52)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerForm.<init>(OCSSWInstallerForm.java:116)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerFormRemote.<init>(OCSSWInstallerFormRemote.java:32)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction.getProgramUI(CallCloProgramAction.java:107)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction.actionPerformed(CallCloProgramAction.java:151)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(Unknown Source)
at java.desktop/java.awt.MenuItem.processActionEvent(Unknown Source)
at java.desktop/java.awt.MenuItem.processEvent(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

----------------------------------------------------------------------------------------------------------------------------------
DOCKER LOG:

2023-08-12 00:18:13 argument: ocsswserver.config
2023-08-12 00:18:13 -- listing properties --
2023-08-12 00:18:13 processErrorStreamPortNumber=6403
2023-08-12 00:18:13 java.runtime.name=Java(TM) SE Runtime Environment
2023-08-12 00:18:13 sun.boot.library.path=/root/jre1.8.0_321/lib/amd64
2023-08-12 00:18:13 java.vm.version=25.321-b07
2023-08-12 00:18:13 java.vm.vendor=Oracle Corporation
2023-08-12 00:18:13 java.vendor.url=http://java.oracle.com/
2023-08-12 00:18:13 path.separator=:
2023-08-12 00:18:13 java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2023-08-12 00:18:13 file.encoding.pkg=sun.io
2023-08-12 00:18:13 user.country=US
2023-08-12 00:18:13 sun.java.launcher=SUN_STANDARD
2023-08-12 00:18:13 sun.os.patch.level=unknown
2023-08-12 00:18:13 java.vm.specification.name=Java Virtual Machine Specification
2023-08-12 00:18:13 user.dir=/root
2023-08-12 00:18:13 java.runtime.version=1.8.0_321-b07
2023-08-12 00:18:13 java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
2023-08-12 00:18:13 java.endorsed.dirs=/root/jre1.8.0_321/lib/endorsed
2023-08-12 00:18:13 os.arch=amd64
2023-08-12 00:18:13 java.io.tmpdir=/tmp
2023-08-12 00:18:13 line.separator=
2023-08-12 00:18:13
2023-08-12 00:18:13 java.vm.specification.vendor=Oracle Corporation
2023-08-12 00:18:13 os.name=Linux
2023-08-12 00:18:13 sun.jnu.encoding=ANSI_X3.4-1968
2023-08-12 00:18:13 java.library.path=/usr/java/packages/lib/amd64:/usr/lib...
2023-08-12 00:18:13 java.specification.name=Java Platform API Specification
2023-08-12 00:18:13 java.class.version=52.0
2023-08-12 00:18:13 sun.management.compiler=HotSpot 64-Bit Tiered Compilers
2023-08-12 00:18:13 os.version=5.15.49-linuxkit-pr
2023-08-12 00:18:13 user.home=/root
2023-08-12 00:18:13 user.timezone=
2023-08-12 00:18:13 ocsswrest.version=1.0
2023-08-12 00:18:13 java.awt.printerjob=sun.print.PSPrinterJob
2023-08-12 00:18:13 file.encoding=ANSI_X3.4-1968
2023-08-12 00:18:13 java.specification.version=1.8
2023-08-12 00:18:13 ocsswroot=/root/ocssw
2023-08-12 00:18:13 user.name=root
2023-08-12 00:18:13 java.class.path=seadas-ocsswserver.jar
2023-08-12 00:18:13 keepIntermediateFilesOnServer=false
2023-08-12 00:18:13 java.vm.specification.version=1.8
2023-08-12 00:18:13 processInputStreamPortNumber=6402
2023-08-12 00:18:13 sun.arch.data.model=64
2023-08-12 00:18:13 java.home=/root/jre1.8.0_321
2023-08-12 00:18:13 sun.java.command=seadas-ocsswserver.jar ocsswserver.co...
2023-08-12 00:18:13 java.specification.vendor=Oracle Corporation
2023-08-12 00:18:13 user.language=en
2023-08-12 00:18:13 awt.toolkit=sun.awt.X11.XToolkit
2023-08-12 00:18:13 java.vm.info=mixed mode
2023-08-12 00:18:13 java.version=1.8.0_321
2023-08-12 00:18:13 java.ext.dirs=/root/jre1.8.0_321/lib/ext:/usr/java/...
2023-08-12 00:18:13 clientServerSharedDir=true
2023-08-12 00:18:13 sun.boot.class.path=/root/jre1.8.0_321/lib/resources.jar:...
2023-08-12 00:18:13 java.vendor=Oracle Corporation
2023-08-12 00:18:13 file.separator=/
2023-08-12 00:18:13 java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2023-08-12 00:18:13 baseUriPortNumber=6400
2023-08-12 00:18:13 sun.cpu.endian=little
2023-08-12 00:18:13 sun.io.unicode.encoding=UnicodeLittle
2023-08-12 00:18:13 serverWorkingDirectory=/root/seadasClientServerShared
2023-08-12 00:18:13 sun.cpu.isalist=
2023-08-12 00:18:14 server ocssw root path: /root/ocssw/bin
2023-08-12 00:18:20 ORS is starting at
2023-08-12 00:26:57 argument: ocsswserver.config
2023-08-12 00:26:57 -- listing properties --
2023-08-12 00:26:57 processErrorStreamPortNumber=6403
2023-08-12 00:26:57 java.runtime.name=Java(TM) SE Runtime Environment
2023-08-12 00:26:57 sun.boot.library.path=/root/jre1.8.0_321/lib/amd64
2023-08-12 00:26:57 java.vm.version=25.321-b07
2023-08-12 00:26:57 java.vm.vendor=Oracle Corporation
2023-08-12 00:26:57 java.vendor.url=http://java.oracle.com/
2023-08-12 00:26:57 path.separator=:
2023-08-12 00:26:57 java.vm.name=Java HotSpot(TM) 64-Bit Server VM
2023-08-12 00:26:57 file.encoding.pkg=sun.io
2023-08-12 00:26:57 user.country=US
2023-08-12 00:26:57 sun.java.launcher=SUN_STANDARD
2023-08-12 00:26:57 sun.os.patch.level=unknown
2023-08-12 00:26:57 java.vm.specification.name=Java Virtual Machine Specification
2023-08-12 00:26:57 user.dir=/root
2023-08-12 00:26:57 java.runtime.version=1.8.0_321-b07
2023-08-12 00:26:57 java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
2023-08-12 00:26:57 java.endorsed.dirs=/root/jre1.8.0_321/lib/endorsed
2023-08-12 00:26:57 os.arch=amd64
2023-08-12 00:26:57 java.io.tmpdir=/tmp
2023-08-12 00:26:57 line.separator=
2023-08-12 00:26:57
2023-08-12 00:26:57 java.vm.specification.vendor=Oracle Corporation
2023-08-12 00:26:57 os.name=Linux
2023-08-12 00:26:57 sun.jnu.encoding=ANSI_X3.4-1968
2023-08-12 00:26:57 java.library.path=/usr/java/packages/lib/amd64:/usr/lib...
2023-08-12 00:26:57 java.specification.name=Java Platform API Specification
2023-08-12 00:26:57 java.class.version=52.0
2023-08-12 00:26:57 sun.management.compiler=HotSpot 64-Bit Tiered Compilers
2023-08-12 00:26:57 os.version=5.15.49-linuxkit-pr
2023-08-12 00:26:57 user.home=/root
2023-08-12 00:26:57 user.timezone=
2023-08-12 00:26:57 ocsswrest.version=1.0
2023-08-12 00:26:57 java.awt.printerjob=sun.print.PSPrinterJob
2023-08-12 00:26:57 file.encoding=ANSI_X3.4-1968
2023-08-12 00:26:57 java.specification.version=1.8
2023-08-12 00:26:57 ocsswroot=/root/ocssw
2023-08-12 00:26:57 user.name=root
2023-08-12 00:26:57 java.class.path=seadas-ocsswserver.jar
2023-08-12 00:26:57 keepIntermediateFilesOnServer=false
2023-08-12 00:26:57 java.vm.specification.version=1.8
2023-08-12 00:26:57 processInputStreamPortNumber=6402
2023-08-12 00:26:57 sun.arch.data.model=64
2023-08-12 00:26:57 java.home=/root/jre1.8.0_321
2023-08-12 00:26:57 sun.java.command=seadas-ocsswserver.jar ocsswserver.co...
2023-08-12 00:26:57 java.specification.vendor=Oracle Corporation
2023-08-12 00:26:57 user.language=en
2023-08-12 00:26:57 awt.toolkit=sun.awt.X11.XToolkit
2023-08-12 00:26:57 java.vm.info=mixed mode
2023-08-12 00:26:57 java.version=1.8.0_321
2023-08-12 00:26:57 java.ext.dirs=/root/jre1.8.0_321/lib/ext:/usr/java/...
2023-08-12 00:26:57 clientServerSharedDir=true
2023-08-12 00:26:57 sun.boot.class.path=/root/jre1.8.0_321/lib/resources.jar:...
2023-08-12 00:26:57 java.vendor=Oracle Corporation
2023-08-12 00:26:57 file.separator=/
2023-08-12 00:26:57 java.vendor.url.bug=http://bugreport.sun.com/bugreport/
2023-08-12 00:26:57 baseUriPortNumber=6400
2023-08-12 00:26:57 sun.cpu.endian=little
2023-08-12 00:26:57 sun.io.unicode.encoding=UnicodeLittle
2023-08-12 00:26:57 serverWorkingDirectory=/root/seadasClientServerShared
2023-08-12 00:26:57 sun.cpu.isalist=
2023-08-12 00:26:58 server ocssw root path: /root/ocssw/bin
2023-08-12 00:27:03 ORS is starting at
2023-08-12 00:27:05 Aug 11, 2023 6:57:05 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
2023-08-12 00:27:05 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.
2023-08-12 00:27:08 Aug 11, 2023 6:57:08 PM org.glassfish.grizzly.http.server.NetworkListener start
2023-08-12 00:27:08 INFO: Started listener bound to [0.0.0.0:6400]
2023-08-12 00:27:08 Aug 11, 2023 6:57:08 PM org.glassfish.grizzly.http.server.HttpServer start
2023-08-12 00:27:08 INFO: [HttpServer] Started.
2023-08-12 00:27:08 Jersey new app started with WADL available at http://0.0.0.0:6400/ocsswws/application.wadl
2023-08-12 00:27:08 Press 'Ctrl' + 'C' to stop it...
2023-08-12 00:27:37 server ocssw root path: /root/ocssw/bin

-----------------------------------------------------------------------------------------------------------------------------------

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 660
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: OCSSW Processors installing issues

by OB SeaDAS - xuanyang02 » Thu Aug 24, 2023 4:43 pm America/New_York

SeaDAS 8.3.10 does have a bug -- when trying to install/update SeaDAS processors through GUI using Docker, the install/update SeaDAS Processors GUI won't show

You might want to try installing SeaDAS processors on the docker Terminal

Code: Select all

/root/ocssw/bin/install_ocssw --install_dir=/root/ocssw --seadas --modisa --tag=V2022.3
Screenshot 2023-08-24 at 4.49.54 PM.png
Screenshot 2023-08-24 at 4.49.54 PM.png (373.28 KiB) Not viewed yet

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 660
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: OCSSW Processors installing issues

by OB SeaDAS - xuanyang02 » Thu Aug 31, 2023 9:36 am America/New_York

Here is how OCSSW works on M2.

1. install homebrew -- https://mac.install.guide/homebrew/3.html
2. use homebrew to install gcc 12

Code: Select all

brew install gcc@12
3. use homebrew to install jpeg-turbo

Code: Select all

brew install jpeg-turbo
4. install XQuartz -- https://www.xquartz.org/
5. install OCSSW T2023.21 -- https://seadas.gsfc.nasa.gov/downloads/

Please let us know if it works on your M2.

suriya_nivas
Posts: 4
Joined: Tue Aug 08, 2023 6:08 am America/New_York
Answers: 0

Re: OCSSW Processors installing issues

by suriya_nivas » Fri Sep 01, 2023 12:27 pm America/New_York

I have successfully installed OCSSW; however, when I attempt to access the processors, Seadas is not recognizing the location.


ERROR:

java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlElement
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:139)
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:126)
at com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.<init>(JaxbAnnotationIntrospector.java:118)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.base/java.lang.Class.newInstance(Unknown Source)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospector(JsonMapperConfigurator.java:113)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator._resolveIntrospectors(JsonMapperConfigurator.java:86)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.cfg.MapperConfiguratorBase._setAnnotations(MapperConfiguratorBase.java:123)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JsonMapperConfigurator.getDefaultMapper(JsonMapperConfigurator.java:47)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase.locateMapper(ProviderBase.java:955)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase._endpointForReading(ProviderBase.java:881)
at org.glassfish.jersey.jackson.internal.jackson.jaxrs.base.ProviderBase.readFrom(ProviderBase.java:789)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.invokeReadFrom(ReaderInterceptorExecutor.java:257)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:236)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:156)
at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1091)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:874)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:834)
at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:363)
at org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:936)
at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$2(JerseyInvocation.java:787)
at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
at org.glassfish.jersey.internal.Errors.process(Errors.java:229)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:414)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:785)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:438)
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:329)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerFormRemote.updateMissionValues(OCSSWInstallerFormRemote.java:52)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerForm.<init>(OCSSWInstallerForm.java:116)
at gov.nasa.gsfc.seadas.processing.common.OCSSWInstallerFormRemote.<init>(OCSSWInstallerFormRemote.java:32)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction.getProgramUI(CallCloProgramAction.java:107)
at gov.nasa.gsfc.seadas.processing.common.CallCloProgramAction.actionPerformed(CallCloProgramAction.java:151)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(Unknown Source)
at java.desktop/java.awt.MenuItem.processActionEvent(Unknown Source)
at java.desktop/java.awt.MenuItem.processEvent(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.MenuComponent.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
[catch] at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Attachments
Screenshot 2023-09-01 at 9.56.15.png
Screenshot 2023-09-01 at 9.56.15.png (428.34 KiB) Not viewed yet
Screenshot 2023-09-01 at 9.20.54.png
Screenshot 2023-09-01 at 9.20.54.png (209.31 KiB) Not viewed yet

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 660
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: OCSSW Processors installing issues

by OB SeaDAS - xuanyang02 » Wed Sep 06, 2023 1:14 pm America/New_York

SeaDAS 8.3.10 does have an issue for Software & System Info to recognize the SeaDAS processors installed using Docker

Can you do this --

Code: Select all

ls -al /Users/nivas/ocssw
Do you see this when you do SeaDAS-Toolbox -> SeaDAS processors?
Screenshot 2023-09-06 at 1.01.47 PM.png
Screenshot 2023-09-06 at 1.01.47 PM.png (118.19 KiB) Not viewed yet

Do you see this when you do SeaDAS-Toolbox -> SeaDAS Processors Location?
Screenshot 2023-09-06 at 1.09.53 PM.png
Screenshot 2023-09-06 at 1.09.53 PM.png (30.94 KiB) Not viewed yet
The docker image was made for SeaDAS 8.3.10, which is an emergency release, so there might be glitches using the docker image with SeaDAS 8.3.10. We are in the process to create a docker image that is compatible with SeaDAS 8.3.10.

In the mean time, we have a work around for SeaDAS processors to work on Mac M2 without using docker, as I mentioned earlier -- viewtopic.php?t=4553#p16309

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 660
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 2 times

Re: OCSSW Processors installing issues

by OB SeaDAS - xuanyang02 » Tue Sep 19, 2023 11:20 am America/New_York

You might also want to add a line to /Users/nivas/.seadas8/etc/seadas.properties

seadas.client.id=nivas

See "Section 4: SeaDAS Client Configuration" for docker on this page -- https://seadas.gsfc.nasa.gov/client_server/

Post Reply