CMDBuild Forum

shark startup errors

Hi,

I'm trying to get CMDBuild 2.1.8 working with the shark-CMDBuild-2.1.8 workflow package.

I've got /cmdbuild and /shark as webapps installed from the JAR files installed (as far as I can tell) as directed by the Technical Manual

/cmdbuild seems to work fine, I can add classes, run reports, etc. All Good

When I start the shark webapp, however, I get lots of errors in shark.log and catalina.out. I've turned up the logging in Shark.conf and the log lines I believe are most relevant are:

 

File dodsConf.xml not exists on path: '/var/lib/tomcat6/webapps/shark/conf/dods' using default insteadUnknown JDBC Driver Vendor for : null using default (Standard) instead

DODS init problem.

com.lutris.appserver.server.sql.DatabaseManagerException: Could not create logical database sharkdb: java.lang.NullPointerException

 
This is stopping me getting any further as I can't use the workflow tools.
 
Any help is appreciated. I have tried running tomcat6 as root but it is no better.
 
For info, I'm running this on Ubuntu 13.10 with Tomcat 6.
 
Regards
 
David Martin
 
Sorry for this, but I have solved my problem (I hope).
 
Although I changed the TOMCAT6_USER and TOMCAT6_GROUP in /etc/init.d/tomcat6 I noticed that the tomcat6 user was still running when restarting tomcat.
 
I don't know why the system is ignoring the settings but putting the values into /etc/default/tomcat6 instead fixed the issue.
 
Regards
 
David
 
Previously David wrote:

Hi,

I'm trying to get CMDBuild 2.1.8 working with the shark-CMDBuild-2.1.8 workflow package.

I've got /cmdbuild and /shark as webapps installed from the JAR files installed (as far as I can tell) as directed by the Technical Manual

/cmdbuild seems to work fine, I can add classes, run reports, etc. All Good

When I start the shark webapp, however, I get lots of errors in shark.log and catalina.out. I've turned up the logging in Shark.conf and the log lines I believe are most relevant are:

 

File dodsConf.xml not exists on path: '/var/lib/tomcat6/webapps/shark/conf/dods' using default insteadUnknown JDBC Driver Vendor for : null using default (Standard) instead

DODS init problem.

com.lutris.appserver.server.sql.DatabaseManagerException: Could not create logical database sharkdb: java.lang.NullPointerException

 
This is stopping me getting any further as I can't use the workflow tools.
 
Any help is appreciated. I have tried running tomcat6 as root but it is no better.
 
For info, I'm running this on Ubuntu 13.10 with Tomcat 6.
 
Regards
 
David Martin