Comments (10)
I think this may be fixed if you use the github version of the module. Just
busy finishing some other minor updates and plan to push a new version to
the forge which hopefully will fix this for you.
Let me know if that works, if not I'll take a look.
On 12 Jan 2015 23:28, "Zach Daniel" [email protected] wrote:
This question probably leaves much to be desired, and my be resolved
simply with some puppet-fu.We were receiving errors when starting JIRA in regards to a lack of mysql
drivers. We specified the driver in the dbdriver parameter as
com.mysql.jdbc.Driver, but still ended up needing to add a driver(.jar)
file to <install_directory>/lib/. Due to the fact that JIRA module
declares the directory where this needs to be placed, we can't place the
file in the right place before running the JIRA module. We do it afterwards
then, but by the time we've placed the driver in the right place, JIRA has
finished starting without that required file and is displaying a JIRALocked
page. So we are forced to stop JIRA, place the file, and start JIRA again.
But this means that our nightly puppet runs bounce our JIRA instance. This
could be solved by not needing to add the mysql driver, or by having a good
way to ensure the service is running at the very end of the puppet run.Any thoughts?
—
Reply to this email directly or view it on GitHub
#45.
from puppet-jira.
Thanks! I'll wait for the forge update and give it a shot.
from puppet-jira.
I have pushed a new version to the forge. Please let me know if it solved your problem.
If you have the time, please consider rating the puppet jira module on the forge :)
from puppet-jira.
Hi Zach
I have been testing the mysql connector on various operating systems.
Both CentOS 6 and Ubuntu 12.04 have this issue: http://bugs.mysql.com/bug.php?id=61201.
MySQL Connector 5.1.16 and 5.1.17 is known not to work with most atlassian products: Ubuntu 12.04 ships 5.1.16. Centos 6 with 5.1.17.
from puppet-jira.
I suspect I'm doing this wrong, but no matter how I configure it I'm getting the Tomcat error 'could not determine database type'
class { '::jira':
version => $version,
installdir => $install_dir,
homedir => $home_dir,
db => 'mysql',
dbuser => $dbuser,
dbpassword => $dbpassword,
dbserver => $dbserver,
dbname => $dbname,
dbport => $dbport,
dbtype => 'mysql',
dbdriver => 'com.mysql.jdbc.Driver',
javahome => '/usr/java/latest/',
jvm_xmx => '3584m',
jvm_permgen => '3584m',
require => File[$install_dir],
service_ensure => 'running',
java_opts => '-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true',
}
From reading the docs, it looks like everything I want to manage the driver should be defaults.
I wondered if perhaps I shouldn't have been setting $dbdriver
, but the documentation is unclear on that topic.
from puppet-jira.
I've tried it without dbdriver set, but I see no evidence of it managing or installing any mysql drivers.
from puppet-jira.
I think I had a misconception here. I realize now the option to select a jar was all I needed. I just placed the jar before-hand, and pointed to it during the installation. Sorry for the confusion, I would consider this issue addressed, seeing as the MySQL Connector package for CentOS is the reason it wasn't working earlier, not your module.
from puppet-jira.
Hi Zach,
Glad its working, I added a new feature this weekend to download the latest driver and correctly place it. Its not uploaded to the forge yet though. I have just finished testing it on Ubuntu 12.04/14.04/Centos67 and Debian.
I hope to release 1.1.5 this week, just adding some other small features first.
from puppet-jira.
Please consider rating the module on puppet forge if you have time :)
from puppet-jira.
Just rated the other day. The module has been a lifesaver in the process of moving from a modified WAR version of JIRA to a standalone.
from puppet-jira.
Related Issues (20)
- Add optional MySQL connection string options HOT 1
- Jira_facts deprecation warnings HOT 1
- jira::java_opts defined as YAML multiline block string generates incorrect JAVA_OPTS string in setenv.sh HOT 2
- server.xml - StuckThreadDetectionValve introduced in 7.6.12
- Drop Ubuntu 16.04, Add 18.04 instead
- 5.0.0 release summary
- Test with Puppet 7 and fresher OSes
- JIRA will not start if the installation directory mode is missing o+x HOT 2
- connection-settings parameter in dbconfig.xml template should be connection-properties instead
- Manage web.xml Config HOT 1
- Release a new Jira version
- Add manage_homedir support
- scheme written twice in server.xml when using tomcat_native_ssl and supplying proxy settings
- cluster node id is too long using fqdn
- AlmaLinux support
- Release v5.2.0 HOT 2
- cluster.properties.epp - soon to be deprecated code by Puppet 8 HOT 1
- JVM_OPENS not set for JIRA Java 17 support
- Optional[Integer[-1]] $pool_max_wait breaks with latest puppet agent (7.29 or 8.5) HOT 3
- Jira cluster and NGINX Plus as the load balancer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-jira.