I have a problem with configuring database connection for Database Custom Field plugin. The following messages I can read in log file:
2012-05-25 17:11:49,548 http-8080-1 ERROR milanrusek 1031x273x1 zsddas 126.96.36.199 /browse/BS-7935 [commons.jira.kconfig.PluginConfiguration] Database JNDI >>GalaxyDevDS<< is not defined 2012-05-25 17:11:49,549 http-8080-1 ERROR milanrusek 1031x273x1 zsddas 188.8.131.52 /browse/BS-7935 [databasecf.querydb.impl.QueryDatabaseImpl] Not connected. Possible database misconfiguration ? 2012-05-25 17:11:49,549 http-8080-1 ERROR milanrusek 1031x273x1 zsddas 184.108.40.206 /browse/BS-7935 [databasecf.querydb.impl.QueryDatabaseImpl] Could not execute SQL query >>SELECT 1<< on database GalaxyDevDS. java.sql.SQLException: Not connected. Possible database misconfiguration ?
I set up configuration conform to the plugin's specification for MySQL. In conf/context.xml I have written:
<Resource name="GalaxyDevDB" auth="Container" type="javax.sql.DataSource" username="login" password="******" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/galaxy" />
I am using JIRA version 5.0 (build 713).
Could you help me, please!
Check your spelling? Resource name and the error in the log do not match, so you've got two different names in the two areas you need to configure...
You could put it in the server.xml file, if I understand correctly, but you still have to refer to it in the context.xml. So you might as well do it all in there.
Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events