-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem loading plugin STAPlus #2051
Comments
xavierrodriguezmarquez
changed the title
Problem loadint plugin STAPlus
Problem loading plugin STAPlus
Oct 28, 2024
Questions about STAplus should go in the STAplus repo The image |
Author
Is there no image with the plugins we need? I've only found this repository: securedimensions/frostserver-staplus
|
I don't know if the author of the STAplus plugin makes docker images available. |
Related to securedimensions/FROST-Server-PLUS#8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created a docker compose and the variables are:
web:
image: fraunhoferiosb/frost-server:latest
environment:
- serviceRootUrl=http://localhost:8080/FROST-Server
- plugins_plugins=de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel,de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream,de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation,de.fraunhofer
.iosb.ilt.sta.plugins.FROSTPluginOData,de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi,de.securedimensions.frostserver.plugin.staplus.PluginPLUS
- plugins_coreModel_enable=true
- plugins_coreModel_idType=LONG
- plugins_MultiDatastream_enable=true
- plugins_actuation_enable=true
- plugins_odata_enable=true
- plugins_openAPI_enable=true
- plugin_staplus_enable=true
- plugins_staplus_enable_enforceOwnership=false
- plugins_staplus_enable_plugins_staplus_enable_enforceLicensing=false
- http_cors_enable=true
- http_cors_allowed_origins=*
- persistence_db_driver=org.postgresql.Driver
- persistence_db_url=jdbc:postgresql://database:5432/sensorthings
But the plugin STAPlus not load. the log with grep sta, are:
ist of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
07:45:16.049 [Catalina-utility-1] WARN d.f.i.i.f.s.SettingsMigrator - Converting settings of key 'persistence.persistenceManagerImplementationClass' with old value 'de.fraunhofer.iosb.ilt.sta.persistence.pgjooq.imp.PostgresPersistenceManagerString'
07:45:16.069 [Catalina-utility-1] INFO d.f.i.i.f.settings.Settings - Setting plugins.plugins has value 'de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi, de.securedimensions.frostserver.plugin.staplus.PluginPLUS'.
07:45:16.201 [Catalina-utility-1] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel
07:45:16.569 [Catalina-utility-1] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: 'de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel
07:45:16.570 [Catalina-utility-1] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream
07:45:16.571 [Catalina-utility-1] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream
07:45:16.571 [Catalina-utility-1] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation
07:45:16.572 [Catalina-utility-1] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation
07:45:16.572 [Catalina-utility-1] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData
07:45:16.573 [Catalina-utility-1] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData
07:45:16.573 [Catalina-utility-1] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi
07:45:16.574 [Catalina-utility-1] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi
07:45:16.574 [Catalina-utility-1] INFO d.f.i.i.f.s.PluginManager - Loading de.securedimensions.frostserver.plugin.staplus.PluginPLUS
07:45:16.574 [Catalina-utility-1] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.securedimensions.frostserver.plugin.staplus.PluginPLUS': de.securedimensions.frostserver.plugin.staplus.PluginPLUS
23-Oct-2024 07:45:22.169 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/10.1.31
23-Oct-2024 07:45:22.180 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Oct 3 2024 19:02:38 UTC
23-Oct-2024 07:45:22.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 10.1.31.0
23-Oct-2024 07:45:22.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
23-Oct-2024 07:45:22.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.8.0-45-generic
23-Oct-2024 07:45:22.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
23-Oct-2024 07:45:22.181 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /opt/java/openjdk
23-Oct-2024 07:45:22.183 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 21.0.4+7-LTS
23-Oct-2024 07:45:22.183 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Eclipse Adoptium
23-Oct-2024 07:45:22.183 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/local/tomcat
23-Oct-2024 07:45:22.184 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/tomcat
23-Oct-2024 07:45:22.199 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
23-Oct-2024 07:45:22.201 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
23-Oct-2024 07:45:22.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
23-Oct-2024 07:45:22.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
23-Oct-2024 07:45:22.202 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
23-Oct-2024 07:45:22.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
23-Oct-2024 07:45:22.203 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
23-Oct-2024 07:45:22.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
23-Oct-2024 07:45:22.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
23-Oct-2024 07:45:22.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
23-Oct-2024 07:45:22.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
23-Oct-2024 07:45:22.204 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
23-Oct-2024 07:45:22.205 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
23-Oct-2024 07:45:22.211 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [2.0.8] using APR version [1.7.2].
23-Oct-2024 07:45:22.218 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 3.0.13 30 Jan 2024]
23-Oct-2024 07:45:22.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
23-Oct-2024 07:45:22.961 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1031] milliseconds
23-Oct-2024 07:45:23.086 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
23-Oct-2024 07:45:23.087 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31]
23-Oct-2024 07:45:23.092 SEVERE [main] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [/usr/local/tomcat/conf/Catalina/localhost]
23-Oct-2024 07:45:23.099 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/FROST-Server]
23-Oct-2024 07:45:28.308 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
07:45:29.291 [ main] WARN d.f.i.i.f.s.SettingsMigrator - Converting settings of key 'persistence.persistenceManagerImplementationClass' with old value 'de.fraunhofer.iosb.ilt.sta.persistence.pgjooq.imp.PostgresPersistenceManagerString'
07:45:29.320 [ main] INFO d.f.i.i.f.settings.Settings - Setting plugins.plugins has value 'de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData, de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi, de.securedimensions.frostserver.plugin.staplus.PluginPLUS'.
07:45:29.477 [ main] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel
07:45:29.901 [ main] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: 'de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginCoreModel
07:45:29.901 [ main] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream
07:45:29.902 [ main] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginMultiDatastream
07:45:29.903 [ main] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation
07:45:29.904 [ main] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginActuation
07:45:29.904 [ main] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData
07:45:29.905 [ main] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOData
07:45:29.905 [ main] INFO d.f.i.i.f.s.PluginManager - Loading de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi
07:45:29.906 [ main] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi': de.fraunhofer.iosb.ilt.sta.plugins.FROSTPluginOpenApi
07:45:29.906 [ main] INFO d.f.i.i.f.s.PluginManager - Loading de.securedimensions.frostserver.plugin.staplus.PluginPLUS
07:45:29.907 [ main] WARN d.f.i.i.f.s.PluginManager - Could not find given plugin class: ' de.securedimensions.frostserver.plugin.staplus.PluginPLUS': de.securedimensions.frostserver.plugin.staplus.PluginPLUS
23-Oct-2024 07:45:33.537 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/usr/local/tomcat/webapps/FROST-Server] has finished in [10,438] ms
23-Oct-2024 07:45:33.542 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
23-Oct-2024 07:45:33.560 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [10593] milliseconds
The text was updated successfully, but these errors were encountered: