Can we take a bug to make this not fail silently? Perhaps giving
some helpful message like:
"It appears you are already running a service on port 8080, most
likely another Java Servlet Container, such as Tomcat. If you really
want to run the Open Laszlo Server, you should stop your other server
first. If you know what you are doing, you can install the Open
Laszlo Server on your Java Servlet Container instead. See (the right
place in the documentation) for details."
On 2007-01-04, at 17:07 EST, Benjamin Shine wrote:
I understand this, and it is only an issue on developer machines,
or people already running tomcat for some other purpose.
The installer and the "Start Open Laszlo Server" and "Stop Open
Laszlo Server" all try to start tomcat. If tomcat is already
running, all of those scripts should fail, but they might fail
quietly or obscurely. Regardless, they will not even try to install
the new webapp. That's why Mamye and Phil were seeing a 404; the
installer hadn't even tried to install the webapp.
To reproduce,
1) start tomcat from your developer build
2) clear out all webapps: go to http://localhost:8080/manager/html
and do "undeploy" for each lps-ish webapp.
3) run the "Start Open Laszlo Server" command that gets installed
from the OL installer
4) try to go to http://localhost:8080/lps-4.0b1/index.html
5) you'll see the 404
to fix
1) stop tomcat from your developer build
2) run "Start Open Laszlo Server" command installed with the installer
3) try to go to http://localhost:8080/lps-4.0b1/index.html
4) it will work
On Jan 4, 2007, at 1:44 PM, Phillip George Apley wrote:
I got the wrong build from www.openlaszlo.org/download.
I just loaded the correct one and when I loaded it I got the same
error that Mamye saw.
Basically the application was not deployed so the browser couldn't
find it. When I looked on tomcat manager the correct application
was not registered, although Tomcat was running. After running
'Stop Openlaszlo Server' and
'Start Openlaszlo Server' a couple of times it did start and ran
correctly.
I did this on a machine that was already running a different
version (4.0b1rc1). Unfortunately the initial state was not
entirely clear so I'll
have to run this again to get more information.
On Jan 4, 2007, at 4:17 PM, Mamye Kratt wrote:
Did you download 3256 4.0b1? rc1 shouldn't be on the build
number. Where did you see 4.0b1rc1?
----- Original Message -----
From: Phillip George Apley
To: Laszlo-dev bug reporting
Cc: Jim Grandy ; Mamye Kratt
Sent: Thursday, January 04, 2007 3:10 PM
Subject: Success in loading and running lps4.0b1rc1 on pc.
I loaded and am running the lps4.0b1rc1 build on one of my PC's
with no glitches.
Phillip G. Apley
Senior Software Engineer
Platform Team
Laszlo Systems, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
maynard: 978-298-5210
allston: 617-787-2831
cell: 617-283-1717
skype: phillipapley
aim: phillipapley
jabber: [EMAIL PROTECTED]
irc: [EMAIL PROTECTED]
icq: 258643767
benjamin shine
software engineer
[EMAIL PROTECTED]