View Full Version : Installation Issues on Win 2K Pro
innovata
05-19-2004, 09:32 AM
I have downloaded and installed the required Sun SDK and I have downloaded and installed the Laszlo Presentation Server. I am unable to get the presentation server to run. After following the recommendation on the website to start the Tomcat services manually using the catalina.bat with the run option I am unable to get things up and running.
I am running a Windows 2000 Pro that already is running IIS. I need help getting this to run.
antun
05-19-2004, 09:36 AM
I presume you installed the .exe, right? What error message are you seeing? Did you try starting Tomcat with the link in the Start menu?
-Antun
innovata
05-19-2004, 09:44 AM
Yes, I have tried using the links in the Start Menu.
The only thing that happens is I see a dos command window pop up breifly and disappear hence the reason I was following the manual instructions.
antun
05-19-2004, 09:44 AM
Do you have anything currently running on port 8080?
-Antun
innovata
05-19-2004, 09:52 AM
I do have IIS running and it does use port 8080 but I have already tried shutting IIS completly down and attempted to run again but with no success.
antun
05-19-2004, 11:03 AM
The behavior you described is frequently what you would see if something was still using port 8080.
If you open up a command prompt, cd to:
C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\bin
... and run startup.bat (not catalina.bat)
You should get the same content as you did in the window that flashed by quickly. That should have some useful debugging information in it.
-Antun
vfunshteyn
05-19-2004, 11:09 AM
The IIS admin service may still be running; try stopping it by typing 'net stop "IIS Admin"' in the Windows command prompt.
innovata
05-19-2004, 11:35 AM
After having stopped IIS admin at command prompt and then dropping into command prompt and running startup.bat I receive the following:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\Sun\AppServer\jdk\bin
'-Xms128m' is not recognized as an internal or external command,
operable program or batch file.
I have tried changing the JAVA_HOME environment variable but I really do not know what the valid location should be. C:\Sun\AppServer\jdk\bin is on my machine in the locatio where I installed teh SDK.
bloch
05-19-2004, 11:55 AM
What version of the JDK did you download?
Did you take JWSDP or JDK?
-Eric
innovata
05-19-2004, 12:12 PM
I followed the link on the Laszlo installation instruction page to j2se 1.4 and which takes you to Sun's site where on the right hand side I selected the link to J2SE 1.4.2 whcih brings you to page where you can select the NetBeans IDE + J2SE SDK or the J2EE 1.4 SDK or the J2SE 1.4.2 SDK and I selected the JSEE 1.4 SDK and installed it.
bloch
05-19-2004, 12:18 PM
Hey... sorry about that. Sun has recently redone their download stuff and made it quite confusing and we haven't yet made the J2SE availalbe from our site directly.
I know this may sounds strange, but for the LPS, you want J2SE and not J2EE. I'd recommend uninstalling the J2EE and grabbing only the J2SE.
FYI, it's possible to make LPS work with the J2EE install but it requires more defailed installation instructions than you probably want to bother with.
-Eric
innovata
05-20-2004, 11:54 AM
I have unistalled the incorrect sun jdk and donwloaded the J2SE SDK 1.4.2 and installed. I have shutdown IIS services including the admin services. I have run the startup.bat file in the C:\Program Files\Laszlo Presentation Server 2.1.2\jakarta-tomcat-4.1.12\bin
folder and I receive the following:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\j2sdk1.4.2_04\bin
'-Xms128m' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
JAVA_HOME is set to teh location the software installed
vfunshteyn
05-20-2004, 12:00 PM
Please do not run the startup.bat script in the bin directory of Tomcat directly. Instead, use the "start LPS" shortcut installed by the setup.
bloch
05-20-2004, 12:02 PM
Do you have the JAVA_HOME env var properly to
C:\j2sdk1.4.2_04
-Eric
innovata
05-20-2004, 12:15 PM
Yes my JAVA_HOME environment variable is set to:
C:\j2sdk1.4.2_04
vfunshteyn
05-20-2004, 12:26 PM
You should not have to set JAVA_HOME in your system to run the LPS developer package, because it is set by our startup script referenced by the shortcut. However, if you do not want to use the installed shortcut, you should be sure to:
- set JAVA_HOME system-wide, i.e. right-click on "My Computer", select "System Properties", change to the "Advanced" tab, click on "Environment variables", and add JAVA_HOME to the system variables list (at the bottom).
- the value should be "C:\j2sdk1.4.2_04", and not "C:\j2sdk1.4.2_04\bin", and it seems from your last console output that you had it set the latter.
innovata
05-20-2004, 01:29 PM
I have tried the path with C:\j2sdk1.4.2_04
without the bin and it still does the same thing.
I have spoken with Alec Morgana and he has aske dme to post requesting someone to plan on calling me tomorrow Friday 5/21/2004 around 11:00am EST to walk me through to see if we can determine what is happening. This is important since I ma trying to do a proof of concept prior to our Presiednt and Diretor of IT visiting your San Francisco Office next week.
Thanks,
Richard Davis
This Exception is happenning when LPS is loading:
(Obs.: I´m trying run LPS in a WINDOS XP)
What can i do?
================================================== ====
INFO: Jk running ID=0 time=16/188 config=C:\PROGRA~1\Laszlo Presentation Server
2.1.2\jakarta-tomcat-4.1.12\bin\..\conf\jk2.properties
StandardServer.await: create[8005]: java.net.BindException: Address already in u
se: JVM_Bind
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java :331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at org.apache.catalina.core.StandardServer.await(Stan dardServer.java:509
)
at org.apache.catalina.startup.Catalina.start(Catalin a.java:519)
at org.apache.catalina.startup.Catalina.execute(Catal ina.java:400)
at org.apache.catalina.startup.Catalina.process(Catal ina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:203)
vfunshteyn
05-21-2004, 11:55 AM
This exception is thrown when the default port Tomcat runs on (8080) is used by another process. Do you have another instance of Tomcat running or a different application using that port, perhaps?
Theres no knew application acessing this PORT. There´s some way i discover it...
Looking at TomCat startup i see the Coyote stating using port 8080.
bloch
05-21-2004, 01:41 PM
If you see this error in the log, it means you are
running something on 8080 when the LPS copy of tomcat tries to start up.
There are almost no other reasons why a Bind will fail.
-Eric
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.