Hi All.
I am new to mapstore2 and trying to install it on a freshly deployed Rocky 8.x server. I have installed Tomcat and tried to deploy mapstore.war file from tomcat interface but it is not working. And when I checked the mapstore.logs, I see this error. Please can someone guide me or help we me with tomcat installation.
INFO 2021-11-20 11:05:33.112 SessionFactoryImpl.<init>() - building session factory
INFO 2021-11-20 11:05:33.399 SessionFactoryObjectFactory.addInstance() - Not binding factory to JNDI, no JNDI name configured
INFO 2021-11-20 11:05:33.402 SchemaUpdate.execute() - Running hbm2ddl schema update
INFO 2021-11-20 11:05:33.402 SchemaUpdate.execute() - fetching database metadata
ERROR 2021-11-20 11:05:34.733 SchemaUpdate.execute() - could not get database metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Error while creating file "/webapps" [90062-168])
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1225)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:27)
at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:127)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:314)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:225)
: