when you start the server, Tomcat starts in another window and you can see startup messages there.
Another place to look for is in <presto_home>/logs/presto.log
and, can you try going to http://127.0.0.1:8080 ? If Tomcat is not running, then the error would be something like "Failed to connect" in the browser (basically, this is browser's message).
Also, check if your Window's *hosts* file has an entry for localhost.
You can verify if the tomcat server is running or not by checking netstat output as:
netstat -a | grep 8080
In the output, you should see something like "*.8080 LISTENING". That means, the server is up and running and listening on port 8080 for connections.
- Girish@JackBe
One minor addition, the " | grep 8080" part in Girish's message above may not work in Windows systems -- depending on whether you have some of the Unix utilities or not. You can do:
netstat -a >> myfile.txt
to send the output to a text file and then use search to find 8080.
Sara, technical writer/jackbe
Sara,
True, there's no grep on my system. But I was able to determine that something else was listening on 8080. So I re-did the setup using 8081 instead. Still getting the same results.
I've been put in contact with somebody at JackBe to help me get this staightened out. Once I figure out what I'm doing wrong I'll post the solution in a reply.
twh
It seems that the mashup server is not up.
Anyhow before starting your presto repository and tomcat please use the following command in your dos prompt to verify whether the port 8080 is in use or not.
netstat -an | findstr 8080.
If no output is displayed it is fine,.else you need to use setup.bat re-install presto dev edtion and make sure you have a different tomcat port number (other than 8080)
NOTE: If no other application is using the port 8080 then you need to check the system memory. For mashup server it requires atleast 2 GB RAM




I'm trying to get Presto 2.7.0 developer running on Windows XP.
There were no errors when running the setup, and I can start the repository:
[Server@1a758cb]: [Thread[main,5,main]]: checkRunning(false) entered
[Server@1a758cb]: [Thread[main,5,main]]: checkRunning(false) exited
[Server@1a758cb]: Startup sequence initiated from main() method
[Server@1a758cb]: Loaded properties from [C:\Program Files\Presto2.7.0\prestorepository\hsqldb\server.properties]
[Server@1a758cb]: Initiating startup sequence...
[Server@1a758cb]: Server socket opened successfully in 15 ms.
[Server@1a758cb]: Database [index=0, id=0, db=file:rdsdb, alias=] opened sucessfully in 359 ms.
[Server@1a758cb]: Startup sequence completed in 390 ms.
[Server@1a758cb]: 2009-07-15 11:30:35.071 HSQLDB server 1.8.0 is online
[Server@1a758cb]: To close normally, connect and execute SHUTDOWN SQL
[Server@1a758cb]: From command line, use [Ctrl]+[C] to abort abruptly
When I try to start the mashup server with mashupserver\startPresto.bat, it shows me a bunch of SET statements for the environment variables, then four using lines:
Using CATALINA_BASE: C:\Program Files\Presto2.7.0\server\apache-tomcat-5.5.20
Using CATALINA_HOME: C:\Program Files\Presto2.7.0\server\apache-tomcat-5.5.20
Using CATALINA_TMPDIR: C:\Program Files\Presto2.7.0\server\apache-tomcat-5.5.20\temp
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_19
Then nothing. Going to http://localhost:8080/ or http://localhost:8080/presto displays "Bad Request (Invalid Hostname)".
There is absolutely nothing in the C:\Program Files\Presto2.7.0\server\apache-tomcat-5.5.20\logs directory.
How can I even tell if tomcat is running? I don't see anything that looks like it in the task manager.