Hi Marcus, Thanks a lot for the responses. 1. Now I am not getting any issues from Airavata-Django-Portal. *airavata.host* was somehow removed from /etc/hosts. After adding it doesn't give ssl version related error. but login still fails saying Login failed: Could not connect to any of [('127.0.0.1', 8962)]. Please try again.
and workspace/dashboard gives the following error: Could not connect to any of [('127.0.0.1', 9930)] API Server is down. Checking status ... 2. I am still not able to run APIServerStarter. I ran *mvn clean install -DskipTests *but still had the same error which I have pasted below. I use VS Code ide but I couldn't find any option *"Auto Build" *. It will be very helpful if you can elaborate on where I can find this option. Thanks & Regards, Saurav Kumar Jha On Fri, Jun 9, 2023 at 12:18 AM Christie, Marcus Aaron <machr...@iu.edu> wrote: > Hi Saurav, > > > On Jun 7, 2023, at 10:34 AM, saurav kumar jha < > imsauravgaurav...@gmail.com> wrote: > > > > 2. Fixing 1 fixed the second one as you said. but there is another > exception related to expcatalog database: > > > > I just went through the instructions to make sure I could bring up the API > server and django portal locally. > > One thing I'll mention, you may want to disable any sort of "auto build" > option in your IDE (in VS Code it's called "Auto Build"). The reason is > that the auto build will tend to overwrite the enhanced entity classes. > > > Exception in thread "main" java.lang.RuntimeException: Failed to > post-initialize the expcatalog database > > at > org.apache.airavata.registry.core.utils.ExpCatalogDBInitConfig.postInit(ExpCatalogDBInitConfig.java:81) > > at > org.apache.airavata.common.utils.DBInitializer.initializeDB(DBInitializer.java:46) > > at > org.apache.airavata.registry.api.service.RegistryAPIServer.StartRegistryServer(RegistryAPIServer.java:69) > > at > org.apache.airavata.registry.api.service.RegistryAPIServer.start(RegistryAPIServer.java:151) > > at > org.apache.airavata.ide.integration.APIServerStarter.main(APIServerStarter.java:23) > > Caused by: java.lang.RuntimeException: Failed to get EntityManager > > at > org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:137) > > at > org.apache.airavata.registry.core.repositories.AbstractRepository.get(AbstractRepository.java:75) > > at > org.apache.airavata.registry.core.repositories.AbstractRepository.isExists(AbstractRepository.java:113) > > at > org.apache.airavata.registry.core.repositories.expcatalog.GatewayRepository.isGatewayExist(GatewayRepository.java:99) > > at > org.apache.airavata.registry.core.utils.ExpCatalogDBInitConfig.postInit(ExpCatalogDBInitConfig.java:62) > > ... 4 more > > Caused by: <openjpa-3.1.0-rafcec21a1d489dff682a3ce7986fac6a1c80e8e0 > nonfatal user error> org.apache.openjpa.persistence.ArgumentException: This > configuration disallows runtime optimization, but the following listed > types were not enhanced at build time or at class load time with a > javaagent: " > > > > 3. I copied the django_airavata/settings_local.py.ide to my > settings_local.py file and still the issue exists. I have attached the > settings_local.py file with this email. > > > > I was able to use the settings_local.py.ide successfully. If you are still > getting errors after fixing #2 above, then make sure you are using a Python > version from 3.6 to 3.10. > > Thanks, > > Marcus