cancel
Showing results for 
Search instead for 
Did you mean: 

Preview Not Working - Virtualization Server Questions

ninerfan
Champ in-the-making
Champ in-the-making
I'm running 2.1R1 Community on Windows 2003 server.

Preview does not work. It keeps trying to use this URL

http://admin.xyz-www.www--sandbox.127-0-0-1.ip.alfrescodemo.net:8180/Test

I followed the instructions on the wiki for configuring the virtualization server in the alfresco-virtserver.properties file.

However when I try to following the start up instructions below from the FAQ wiki I find that I have no c:\java\jdk1.5.0_08

   cmd> set JAVA_HOME=c:\java\jdk1.5.0_08
   cmd> cd c:\alfresco\virtual-tomcat
   cmd> bin\service.bat install alfrescoVirtualTomcat

Do I need the jdk shown in this first step? If so do I need that exact version? If I do need it then why is this not included in the alfresco download/install?

Where can I get it? All I find on java.com is the JRE.

I should mention that the service did get installed successfully. But when I try to start it I get this service specific error.

The Apache Tomcat alfrescoVirtualTomcat service terminated with service-specific error 0 (0x0).

Is this because I had no place to set JAVA_HOME to? I tried to go back and set JAVA_HOME to c:\java\jdk1.5.0_08 even though nothing is there but it would not install the service with that setting.

Thanks.
-Ninerfan
2 REPLIES 2

steve
Champ in-the-making
Champ in-the-making
The 1.5.x JDK can be downloaded from java.com here:
http://java.sun.com/javase/downloads/index_jdk5.jsp

sanghamitra
Champ in-the-making
Champ in-the-making
The latest release of alfresco 2.1 does not have the java folder.

Have you set your BASEDIR properly.It should point to <alfresco root folder>/tomcat .I would suggest do that first and then try again.

Your Java_home and jre_home should point to a valid location where your   jdk and jre  folders are present.

Then try running setclasspath.bat from command line inside <alfresco-folder>/tomcat/bin. You can track your errors if any there.

try restarting your machine before or after making the changes.

let me know if it worked fyn.

best of luck