The following instructions describe the steps that I took to achieve this.
Environment:
- MacOSX (Snow Leopard)
- JIRA version 4.0.2
- MySQL
1. Download the EAR/WAR version of JIRA (NOTE if it isn't visible on the downloads page then look for the small link that says "Show All" rather than just recommended.
2. Once downloaded, unpack the archive to a folder. From now on know as $JIRA_INSTALL. According to the Atlassian website there have been reported problems with the Windows extractor not extracting all files and a similar situation with WinRAR. Try using WinZip or another alternative.
3. Download and install mysql. This is beyond the scope of this post but there are plenty of good howto's and tutorials out there on how to do it.
4. Once my sql is installed we need to create a user for our jira database. Run the following commands to create the user replacing the changeme100 with your desired password:
5. Now we need to create the jira db. Log into MySQL as an administrator and run the following commands replacing the changeme100 with your desired password:
CREATE DATABSE jiradb character set utf8;
CREATE USER 'jira'@'localhost' IDENTIFIED BY 'changeme100';
GRANT ALL PRIVILEGES ON jiradb.* TO 'jira'@'localhost' WITH GRANT OPTION;
6. Download the mysql Connector/J JDBC driver and place the jar file in your $CATALINA_HOME/lib folder.
7. Open $JIRA_INSTALL/edit-webapp/WEB-INF/class/entityengine.xml in a text editor and change the
<datasource name="defaultDS" class="org.ofbiz.core.entity.GenericHelperDAO" keys="false" indices="false" start="true">
<jndi-jdbc name="default">
</jndi-jdbc>
</datasource>
to
<datasource name="defaultDS" class="org.ofbiz.core.entity.GenericHelperDAO" keys="false" indices="false" check="" start="true">
<jndi-jdbc name="default">
</jndi-jdbc>
</datasource>
8. Open $JIRA_INSTALL/edit-webapp/WEB-INF/classes/jira-application.properties in a text editor and change the "jira.home" property near the top of the file to an absolute folder. I'm using /usr/share/jira.
10. Download the required Tomcat jars for JIRA to work. Unzip the folder and copy the contents (jar files) into the $JIRA_INSTALL/webapp/WEB-INF/lib folder.
11. Create a new folder called META-INF in the $JIRA_INSTALL/edit-webapp/META-INF folder and then create a new file called context.xml inside it. Open this file up in a text editor and add the following contents:
<context path="/jira">
<resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource" username="jira" password="changeme100" driverclassname="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/jiradb"/>
<resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction" factory="org.objectweb.jotm.UserTransactionFactory" timeout="60">
<manager pathname=""/>
</resource>
</context
12. Now in a command window go to the $JIRA_INSTALL folder and run build.bat (Windows) or ./build.sh (Unix/Linux/Mac).
13. Once the build is complete copy the $JIRA_INSTALL/dist-tomcat/atlassian-jira-4.0.2.war to your $CATALINA_HOME/webapps folder
14. You should now be able to start up your tomcat instance and browse to http://localhost:8080/jira.
Please let me know if you have any issues or problems :)
great
ReplyDeleteHi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training from India . Nowadays Java has tons of job opportunities on various vertical industry.
ReplyDeleteReally very nice blog information for this one and more technical skills are improve,i like that kind of post.
ReplyDeleteBest Devops online Training
Online DevOps Certification Course - Gangboard
It seems you are so busy in last month. The detail you shared about your work and it is really impressive that's why i am waiting for your post because i get the new ideas over here and you really write so well.
ReplyDeleteSelenium training in Chennai
Selenium training in Bangalore
Selenium training in Pune
Selenium Online training
Selenium training in bangalore
Thank you for benefiting from time to focus on this kind of, I feel firmly about it and also really like comprehending far more with this particular subject matter. In case doable, when you get know-how, is it possible to thoughts modernizing your site together with far more details? It’s extremely useful to me
ReplyDeleteonline Python training
python training in chennai
Saved as a favorite, I really like your site! See this website: How To Password Protect Folder In 10 Minutes And Still Look Your Best
ReplyDeleteGood Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
ReplyDeleteSelenium Training in Electronic City
The article is so informative. This is more helpful for our
ReplyDeleteBest online software testing training course institute in chennai with placement
Best selenium testing online course training in chennai
Learn best software testing online certification course class in chennai with placement
Thanks for sharing.
Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear, keep sharing..
ReplyDeleteJava Training in Chennai
Java Training in Coimbatore
Java Training in Bangalore
Awesome Blog!!! Thanks for it, it is more useful for us.
ReplyDeleteIOS Training in Chennai
ios training institute in chennai
Best ios Training institutes in Chennai
iOS Training
IOS Training in Annanagar
IOS training in vadapalani
Digital Marketing Course in Chennai
Python Training in Chennai
Big data training in chennai
JAVA Training in Chennai
Nice article I was really impressed by seeing this blog, it was very interesting and it is very useful for me.
ReplyDeleteMachine Learning course in Chennai
Machine Learning Certification
Machine Learning Chennai
Data Science Training in Chennai
RPA Training in Chennai
AWS Training in Chennai
Machine Learning Training in T Nagar
Machine Learning Training in OMR
Machine Learning Training in Adyar
Machine Learning Training in Porur
Nice Blog....thanks for sharing..
ReplyDeleteSpring Training in Chennai
Spring framework Training in Chennai
Spring course in Chennai
Spring Training in Velachery
Spring Training in Tambaram
Hibernate Training in Chennai
javascript training in chennai
QTP Training in Chennai
Mobile Testing Training in Chennai
SAS Training in Chennai
Nice blog and valuable for all people. Thank you for posting this.
ReplyDeleteIonic Training in Chennai
ionic course in chennai
IELTS Coaching in Chennai
Japanese Classes in Chennai
French Classes in Chennai
pearson vue test center in chennai
Ionic Training near me
Ionic Training in Velachery
This stays as one of the best and attractive post I have read yet. Great sharing this post.
ReplyDeleteIELTS Training in Tambaram
IELTS Training in Velachery
IELTS Training in T Nagar
Spoken English Classes in Chennai
Best Spoken English Classes in Chennai
IELTS Coaching Centre in Chennai
IELTS Coaching in Chennai
English Speaking Classes in Mumbai
English Speaking Course in Mumbai
IELTS Coaching in Mumbai
Outstanding blog with lots of information. Keep posting more like this.
ReplyDeleteEthical Hacking course in Chennai
Ethical Hacking Training in Chennai
Hacking course in Chennai
ccna course in Chennai
Salesforce Training in Chennai
AngularJS Training in Chennai
PHP Training in Chennai
Ethical Hacking course in Tambaram
Ethical Hacking course in Velachery
Ethical Hacking course in T Nagar
thanks for your information really good and very nice web design company in velachery
ReplyDeleteGet inspired by your blog. Keep doing like this....
ReplyDeleteTally Course in Chennai
Tally training in coimbatore
Tally course in madurai
Tally Classes in Chennai
tally classes in coimbatore
tally coaching centre in coimbatore
tally training institute in coimbatore
Software Testing Training in Chennai
It's a looks very awesome article! Thanks a lot of sharing for information.
ReplyDeletePython course in Chennai
Python Training in Bangalore
Python Training in Coimbatore
Python Training in Chennai
php training in madurai
salesforce course in bangalore
Python Classes in Chennai
Python Training Institute in Chennai
Very nice post here and thanks for it .I like this blog and really good content.
ReplyDeleteHadoop Admin Training in Chennai
Hadoop administration in Chennai
Data Analytics Courses in Chennai
IELTS Coaching centre in Chennai
Japanese Language Classes in Chennai
Best Spoken English Classes in Chennai
content writing course in chennai
spanish language course in chennai
Hadoop Admin Training in Tambaram
Hadoop Admin Training in Anna Nagar
Nice blog! Full of informative ideas. Thank you, keep sharing.
ReplyDeleteweb design company in chennai
Popular Fashion Blogs in Surat
ReplyDeleteFashion Blogger in Surat
Surat Blogger
Indian Fashion Blogger
Great blog thanks for sharing Your website is the portal to your brand identity. The look and feel of every page carry a strong message. This is why your brand needs the best web design company in chennai to capture your visions and make it art. Adhuntt Media is graced with the most creative design team in Chennai.
ReplyDeletedigital marketing company in chennai
seo service in chennai
web designing company in chennai
social media marketing company in chennai
Nice blog thanks for sharing Evolve past boring simple rooftops and bling them up by converting your upstairs to a terrace garden. Interested? Get your very own at Karuna Nursery Gardens - the best terrace garden service in Chennai.
ReplyDeleteplant nursery in chennai
rental plants in chennai
corporate gardening service in chennai
Excellent blog thanks for sharing Run your salon business successfully by tying up with the best beauty shop in Chennai - The Pixies Beauty Shop. With tons of prestigious brands to choose from, and amazing offers we’ll have you amazed.
ReplyDeleteCosmetics Shop in Chennai
Thanks for sharing valuable information.
ReplyDeleteDigital Marketing training Course in Chennai
digital marketing training institute in Chennai
digital marketing training in Chennai
digital marketing course in Chennai
digital marketing course training in omr
digital marketing certification in omr
digital marketing course training in velachery
digital marketing training center in Chennai
digital marketing courses with placement in Chennai
digital marketing certification in Chennai
digital marketing institute in Chennai
digital marketing certification course in Chennai
digital marketing course training in Chennai
Digital Marketing course in Chennai with placement
digital marketing courses in Chennai