From your thread, I assume you are running on Windows? What version? Would you attach a screenshot of your add remove programs? I have noticed weird things happen w/ different versions of Java, and want to see everything you have java related installed.
Also, would you include the full contents of the java information message in your dos window?
Not sure whether I can include an in-line graphic in an email reply, so
I'm trying it here. Following is a screenshot of the Java-related
entries in add/remove programs:
The DOS screen seems to have changed. Before (even yesterday, I'm pretty
sure), the window opened up and displayed the following, then
"This release of Apache Tomcat was packaged to run on J2SE or later. It
can be run on earlier JVMs by downloading and installing a compatibility
package from the Apache Tomcat binary download page."
However, I don't get that anymore. Instead, I get one or two DOS windows
that flash on my screen so quickly that I can't tell what they say and
I'm not even sure if I'm seeing one or two windows. They are quicker
than I can capture, too. Except that I managed to capture at least part
of one of them after several tries. Here it is:
Finally, the output of my "java -version" command is:
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
After I send this message, if I see that the screenshots didn't make it,
I'll figure out another way to send them.
I couldn't see the screenshots (they don't make it through the email importer). Would you hop online, and attach the screenshots to the message manually?
Kevin, as far as I can tell there's no way for me to manually add attachments or images here. I'll send you a private email through the system to give you my email address. You can send me a message and I'll reply with the images.
I am also having issues installing the standalone version.
I unzipped the file to my C:\ drive and then went about stating the bat file. Nothing happened when I went to localhost:8080. All I get is a 404 error.
Windows Version: Windows Server 2003
JAVA: JDK 1.5.11
I am glad to know I am not alone!
Hopefully Jive can suggest a fix. I have yet to be able to see their
product in action and am quite interested in it.
As you are still having problems, would you send the screen shots I requested to email@example.com. To help other customers, we can add a message to this thread stating what we did to fix your problem once we identify the resolution.
I just now sent my provious reply (including the screenshots) to that address and mentioned that it should go to your attention.
I tried both, localhost:8080 and localhost:8080/clearspace/ and nothing is happening
Would you deploy the zip file to your C:\ directory? There is an issue with spaces in the path (this has been fixed in our upcoming 1.0.1 release). Also, a dos window will remain open if you are running successfully.
Thanks for that Kevin. I will re-deploy to my C:\ directory and see what happens.
Thank you in advance
The root cause of this issue was the JAVA_HOME environment variable. You must have your JAVA_HOME set as a system property, and not as a user property.
I also stumbled on this one, in a slightly different manner. Having downloaded the standalone, i blindly followed the installation documentation Java setup example that shows JAVA_HOME pointing to the jre instead of the sdk - see snip below
Open Notepad (Start > Run > Type "Notepad" then press ENTER) and type the following text: SET JAVA_HOME="<java_install_path>", where <java_install_path> is the directory where you installed Java. For example: SET JAVA_HOME="c:\Program Files\Java\*jre1.5.0_06*", or SET JAVA_HOME="c:\Java\1.5.0". Be sure to include the quotes, especially if your path has spaces (ie, "Program Files").
... when i try to start the server it reminds me that JAVA_HOME must point to the jdk, not the jre - also stated clearly in the Requirements section. So i installed the jdk and now everything is just fine.
Just a small inconsistency there in your installation guide you may want to fix.
Nice Catch. I will forward this message onto our documentation team to ensure it is cleared up.
Thanks for the help in improving our documentation
Many thanks to Kevin's dedication in helping me correct this issue.
As Kevin said, I had two JAVA_HOME variables (one USER, the other SYSTEM) and they were set differently. The USER variable was correct, but only the SYSTEM variable matters here.
If you encounter this problem in Windows XP (and probably other versions):
(1) Open your Control Panel
(2) Open the System Control Panel
(3) Click the Advanced tab
(4) Click the Environment Variables button near the bottom left
(5) Remove any JAVA_HOME variable in the User Variables section at the top
(6) Confirm that JAVA_HOME is defined in the System Variables section
and that its definition points to the path where your most current
java.exe resides (e.g., "C:\Program Files\Java\jdk1.5.0_11" is the
default for Java 5.0 build 11)
Thanks again, Kevin!
I'm also unable to get the install for the standalone version to complete - on Windows XP SP2. I've read this thread and set up the apparently required JAVA_HOME variable as required, so far as I can tell. When I execute the batch file "start-clearspace" I get the following in the cmd window:
(C) Copyright 1985-2001 Microsoft Corp.
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE+
Which is interesting, as the path IS for the JDK instance of java.exe. Any ideas? I've already spent more time trying to get the install to work than I can justify. Seems like the install procedure and documentation need some work. I'm probably missing something obvious, but the procedure described didn't even come close to working for my configuration and gave few clues for troubleshooting.
Thanks. Looks like a great conceptual architecture, but I have limited time to check out functionality.
Could you take a screenshot (ALT-Print Screen) of the system environment variables applet window (mine is attached so you know what I'm talking about) and then attach it to this thread?
environment_variables.png 82.9 KB
Thanks for the screen print - it shows the JAVA_HOME string contains just a partial path, not the complete path including the executable (java.exe). I used that and got the appserver started and the rest of the setup - until the last Admin Account step, where it stopped, said the setup had been run before, and then directs me to the Aministration Console logon and requires a username and password - and nothing I entered seems to work as username and password. Any ideas?
nothing I entered seems to work as username and password. Any ideas?
I tried that early on. Actually the username was set to admin and the password was set to my account password. Thanks.
A couple of questions:
How are you setting the JAVA_HOME environment variable?
What is the exact path you're using for JAVA_HOME? Note, that your
path should be something like c:\jdk1.5 not c:\jdk1.5\bin.
There seems to be a significant delay in mail processing on this blog at
Note my post that is marked as "Posted: Feb 20, 2007 5:02 PM" where I
started with the words "No ideas except the resolution in my post."
I actually mailed that reply on Monday 02/19/2007 at 1:05pm (Eastern
Just thought I'd point that out in case it's something you all need to
No ideas except the resolution in my post. Your symptom is exactly what
I experienced. Please ensure that you set up the environment variable in
the SYSTEM section rather than the USER section. Tomcat (or Clearspace,
I'm not sure which) is reading the system variable.
Open your control panel, open the System control panel, click the
Advanced tab, and then click the Environment Variables button. Remove
any JAVA_HOME that is defined in the top section (which is User
Variable) and add it to the bottom section (System variables). Make sure
the path is set correctly to the root level of the folder in which your
version 5 java.exe resides.
Incidentally, Java 5 is also referred to as Java 1.5.0, so don't let it