Hello Supun,

Thanks alot for your response. I changed the config as you indicated, but still 
not working:


===

[ERROR] org.apache.airavata.server.security.DefaultAiravataSecurityManager
java.lang.ClassNotFoundException: 
org.apache.airavata.server.security.DefaultAiravataSecurityManager
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at 
org.apache.airavata.service.security.SecurityManagerFactory.getSecurityManager(SecurityManagerFactory.java:38)
    at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:154)
    at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:189)
    at 
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:372)
    at 
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:221)
    at org.apache.airavata.server.ServerMain.main(ServerMain.java:206)
[ERROR] Security Manager class could not be found.
org.apache.airavata.security.AiravataSecurityException: Security Manager class 
could not be found.
    at 
org.apache.airavata.service.security.SecurityManagerFactory.getSecurityManager(SecurityManagerFactory.java:44)
    at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:154)
    at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:189)
    at 
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:372)
    at 
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:221)
    at org.apache.airavata.server.ServerMain.main(ServerMain.java:206)
[ERROR] Server Start Error:
org.apache.airavata.model.error.AiravataSystemException: null
    at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:170)
    at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:189)
    at 
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:372)
    at 
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:221)
    at org.apache.airavata.server.ServerMain.main(ServerMain.java:206)

===



Any ideas? Below are some of my configuration sections which might be related:


########################################################################
## API Security Configuration
########################################################################
api.secured=false
#security.manager.class=org.apache.airavata.api.server.security.DefaultAiravataSecurityManager
security.manager.class=org.apache.airavata.server.security.DefaultAiravataSecurityManager
### TLS related configuration ####
TLS.enabled=false
TLS.api.server.port=9930
TLS.client.timeout=10000
#### keystore configuration ####
keystore.path=airavata.jks
keystore.password=airavata
#### trust store configuration ####
trust.store=client_truststore.jks
trust.store.password=airavata
#### remote authorization server url ####
remote.oauth.authorization.server=https://idp.scigap.org:9443/services/
#### xacml based authorization policy ####
authorization.policy=airavata-default-xacml-policy
#### authorization cache related configuration ####
authz.cache.enabled=true
authz.cache.manager.class=org.apache.airavata.api.server.security.authzcache.DefaultAuthzCacheManager
in.memory.cache.size=1000

# Kafka Logging related configuration
isRunningOnAws=false
kafka.broker.list=localhost:9092
kafka.topic.prefix=local
enable.kafka.logging=false

###########################################################################
# User Profile module Configuration
###########################################################################
user.profile.server.host=localhost
user.profile.server.port=8961
user_profile=org.apache.airavata.user.profile.server.UserProfileServer

###########################################################################
# Profile Service Configuration
###########################################################################
profile.service.server.host=localhost
profile.service.server.port=8962
profile_service=org.apache.airavata.service.profile.server.ProfileServiceServer
# derby properties
#profile.service.jdbc.url=jdbc:derby:profile_service;create=true;user=airavata;password=airavata
#profile.service.jdbc.driver=org.apache.derby.jdbc.ClientDriver
# MariaDB properties
profile.service.jdbc.url=jdbc:mysql://localhost:3306/profile_service
profile.service.jdbc.driver=com.mysql.jdbc.Driver
profile.service.jdbc.user=airavata
profile.service.jdbc.password=airavata
# add validationquery only if db has been initialized during server startup,
# and tables have been created. for now commenting out.
#profile.service.validationQuery=SELECT 1

###########################################################################
# Iam Admin services Configuration
###########################################################################
iam.server.url=https://iam.scigap.org/auth
new.gateway.admin.temp.password=Password@123
iam.server.super.admin.username=admin
iam.server.super.admin.password=password


###########################################################################
# DB Event Manager Runner
###########################################################################
db_event_manager=org.apache.airavata.db.event.manager.DBEventManagerRunner





Thanks,

Qiyang

________________________________
From: Supun Nakandala <[email protected]>
Sent: Tuesday, August 22, 2017 12:23:18 PM
To: [email protected]
Cc: Abeysinghe, Eroma
Subject: Re: help for airavata installation

I think you need to make some config changes. In the airavata-server.properties 
file in your bin directory change the security.manager.class as follows

########################################################################
## API Security Configuration
########################################################################
.
.
.
security.manager.class=org.apache.airavata.service.security.DefaultAiravataSecurityManager


On Wed, Aug 23, 2017 at 12:49 AM, Supun Nakandala 
<[email protected]<mailto:[email protected]>> wrote:
Which branch are you trying to run?

On Wed, Aug 23, 2017 at 12:14 AM, Hu, Qiyang 
<[email protected]<mailto:[email protected]>> wrote:

Hello Airavata User Support,


I tried to install Airavata again in the VM on Jetstream and met some errors 
that I didn't see during my previous installation a couple of months ago.


Specifically, could you please give me some quick hint on how to handle the 
error below?


[INFO] Started API Server ....
[INFO] Starting Airavata API Server on Port 8930
[INFO] Listening to Airavata Clients ....
[ERROR] org.apache.airavata.api.server.security.DefaultAiravataSecurityManager
java.lang.ClassNotFoundException: 
org.apache.airavata.api.server.security.DefaultAiravataSecurityManager
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at 
org.apache.airavata.service.se<http://org.apache.airavata.service.se>curity.SecurityManagerFactory.getSecurityManager(SecurityManagerFactory.java:38)
    at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:154)
    at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:189)
    at 
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:372)
    at 
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:221)
    at org.apache.airavata.server.ServerMain.main(ServerMain.java:206)
[ERROR] Security Manager class could not be found.
org.apache.airavata.security.AiravataSecurityException: Security Manager class 
could not be found.
    at 
org.apache.airavata.service.se<http://org.apache.airavata.service.se>curity.SecurityManagerFactory.getSecurityManager(SecurityManagerFactory.java:44)
    at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:154)
    at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:189)
    at 
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:372)
    at 
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:221)
    at org.apache.airavata.server.ServerMain.main(ServerMain.java:206)
[ERROR] Server Start Error:
org.apache.airavata.model.error.AiravataSystemException: null
    at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:170)
    at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:189)
    at 
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:372)
    at 
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:221)
    at org.apache.airavata.server.ServerMain.main(ServerMain.java:206)


Any update documentation on the installation would be helpful as well.


Thanks,

Qiyang



Reply via email to