Hi, I am running JIRA 5.1 from a standalone Windows install and I am having trouble getting config.bat to run.
My JAVA_HOME and JRE_HOME environment variables are set to "C:\PROGRA~2\Atlassian\JIRA\jre\bin"
When I attempt to run config.bat, I get the following message:
"The system cannot find the path specified"
I have verified that Configurator.class is in "C:\Program Files (x86)\Atlassian\JIRA\atlassian-jira\WEB-INF\classes\com\atlassian\jira\configurator"
I have attempted running the app using "java -classpath ../atlassian-jira/WEB-INF/classes;../atlassian-jira/WEB-INF/lib/*;../lib/* com.atlassian.jira.configurator.Configurator"
However, that returns the following error:
C:\PROGRA~2\Atlassian\JIRA\jre\bin>java -classpath ../atlassian-jira/WEB-INF/cla
Exception in thread "main" java.lang.NoClassDefFoundError: com/atlassian/jira/co
Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.configurator.Con
at java.security.AccessController.doPrivileged(Native Method)
Could not find the main class: com.atlassian.jira.configurator.Configurator. Program will exit.
Any ideas as to what might be going on here and a workaround/solution would be great.
I was unable to get config.bat working. Setting up a new testing environment, reinstalling Jira, and restoring from a backup of the original install seemed to allow config.bat to work. However several of the fields on the WebServer tab were missing (I only had access to the connector ports).
The short version of the story is that I gave up and performed all the configuration changes I needed to manually in the server.xml and web.xml files.
I think you might have your JAVA_HOME set in the wrong spot. What's the output for "echo %JAVA_HOME%"? What about just "java -version"?
Based off of that article, the definition of JAVA_HOME is a few levels too deep.
I am using the JRE that came bundled with JIRA 5.1.
-- Command Prompt output --
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode)
I have experimented with setting JAVA_HOME to be "C:\PROGRA~2\Atlassian\JIRA" and " C:\PROGRA~2\Atlassian\JIRA\jre" with the same results.
config.bat simply returns "The system cannot find the path specified"
Running the command contained in config.bat results in the same class not found error above.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG