cancel
Showing results for 
Search instead for 
Did you mean: 

Can't get past first Base

uandme
Champ in-the-making
Champ in-the-making
I don't think I have ever had so much trouble with an application as this one - normally you expect demo's to work, but I can't even get to first base with this. 

Can someone explain why, first this thing is looking for tomcat 6.0.29 and secondly why it can't download the version (looking at the script, I assume this is what should be happening!)   I had all sorts of trouble getting it to work in Eclipse, so I thought I would try the demo…no luck!

Thanks…

Ric
5 REPLIES 5

trademak
Star Contributor
Star Contributor
Strange. It seems like the first time you executed the ant demo.start command the installation wasn't successful.
The screenshot you attached from a second or third time you launched the ant demo.start command isn't it?

Best regards,

uandme
Champ in-the-making
Champ in-the-making
Yes, that was a 3rd run I believe.   I refreshed the directory and ran it again, but still no luck - see attached. 

fyi, also - was able to fix my Eclipse problems (I was not able to render a diagram) by removing  WSO2 Carbon Tools - actually I created another Eclipse Instance and workspace.

Here is a screen shot of the Apache Download 6.0.29 - it appears it is now just a mirror issue!

Ric

frederikherema1
Star Contributor
Star Contributor
Hi,

This problem occurs because of the mirror we use for apache tomcat download is no longer hosting the tomcat distribution (latest tomcat version is upgraded, mirrors don't keep older versions). This issue came up very recently, so the 5.2 distro was working fine when released. We try to make the demo-setup's as easy as possible, too bad this issue could't be forseen.
The 5.3-version of activiti (will be released beginning of next week) will use a tomcat hosted on our own system, to prevent this issue from occurring in the future.

To fix this using 5.2 release, this one should be used:
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.zip

Just alter the "apache.mirror.url" property in the build.xml file (located in /setup/ folder of your distro) to the following value:


<property name="apache.mirror.url" value="http://archive.apache.org/dist/" />

As the userguide states, we recommend using an eclipse helios classic for the eclipse-designer.

uandme
Champ in-the-making
Champ in-the-making
Thankyou.  Yes, that certainly got around the download of apache-tomcat-6.0.29 okay, and the build was successful, however tomcat would not launch (either using demo.start or manually invoking startup) , and after 4 hours, I still can't find the cause. The only way I could get the examples to run was to move them to the apache-tomcat-7.0.6 deployment folder, where the applications appear to be running okay.  

Being determined, I then created a clean new XP VM and loaded only the JDK, JRE, Ant and Activiti-5.2, this works.



Ric

frederikherema1
Star Contributor
Star Contributor
Hi,

The demo-setup is streamlined to just work out of the box, without any prerequisites (apart from apache ant and a JDK). It will inflate all examples, webapps, a tomat (which failed due to apache-mirror version update Smiley Wink) and wire everything up so the demo runs smoothly. For setting up a quick demo-setup we create a controlled environment with the 6.0.29 tomcat.

Not really sure what you mean with the difficulty of running multiple tomcats and the HOME and CLASSPATH stuff? Never saw so much problems with the 5.2 demo install. Most people don't have any issues or minor glitches (like being behind proxy etc.). Looks like you have bad luck Smiley Wink