I'm getting a null pointer when attempting to start a transaction using the included konakart torque jar.
Why doesn't this work?
Code Select
Transaction.begin("konakart")
Why doesn't this work?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Caused by: com.konakart.app.KKException: Unable to connect to the Database called null. Ensure that the database is running and if so, check the database connection parameters in the konakart.properties file under WEB-INF/classes.
torque.database.store1.adapter = mysql
torque.dsfactory.store1.connection.driver = com.mysql.jdbc.Driver
torque.dsfactory.store1.connection.url = jdbc:mysql://<some ip>:3306/konakart?zeroDateTimeBehavior=convertToNull
torque.dsfactory.store1.connection.user = user
torque.dsfactory.store1.connection.password = password