Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
Bart Versloot
Liferay 6.0 Windows service
4 de Março de 2010 03:20
Resposta

Bart Versloot

Ranking: New Member

Mensagens: 2

Data de entrada: 4 de Março de 2010

Mensagens recentes

Is it possible to run this version as a windows service? by moddify the old (liferay 5 version) service.bat?
because tomcat.exe isn't in the bin directory anymore!!

Thanks!!
Corné Aussems
RE: Liferay 6.0 Windows service
4 de Março de 2010 05:25
Resposta

Corné Aussems

Ranking: Liferay Legend

Mensagens: 1257

Data de entrada: 3 de Outubro de 2006

Mensagens recentes

None of Tomcat 6 Liferay distributions have tomcat.exe in the bin;
Maybe you could install your own Tomcat 6 and deploy LR on i or copy the .exe
Bart Versloot
RE: Liferay 6.0 Windows service
4 de Março de 2010 05:50
Resposta

Bart Versloot

Ranking: New Member

Mensagens: 2

Data de entrada: 4 de Março de 2010

Mensagens recentes

Corné A:
None of Tomcat 6 Liferay distributions have tomcat.exe in the bin;
Maybe you could install your own Tomcat 6 and deploy LR on i or copy the .exe


Liferay Tomcat Distributions do have Tomcat.exe in they Bin folder open this version and see... liferay-portal-tomcat-6.0-5.2.3.zip
Corné Aussems
RE: Liferay 6.0 Windows service
4 de Março de 2010 06:20
Resposta

Corné Aussems

Ranking: Liferay Legend

Mensagens: 1257

Data de entrada: 3 de Outubro de 2006

Mensagens recentes

Sorry Bart you're quite right.
They are automatically removed by our build scripts.

When you build Liferay yourself from SVN this is not, for sure ;)

Or maybe you could tell Jonathan Neil or issue a ticket.
Corné Aussems
RE: Liferay 6.0 Windows service
4 de Março de 2010 07:18
Resposta

Corné Aussems

Ranking: Liferay Legend

Mensagens: 1257

Data de entrada: 3 de Outubro de 2006

Mensagens recentes

Hey wait are you talking about the latest preview release.
It wasn't Announced yet here so I suppose you are one of the first emoticon
Announcement

Remmember it's a Preview
Jonathan Neal
RE: Liferay 6.0 Windows service
5 de Março de 2010 15:25
Resposta

Jonathan Neal

LIFERAY STAFF

Ranking: Junior Member

Mensagens: 66

Data de entrada: 29 de Agosto de 2007

Mensagens recentes

Hi Bart,

Right you are, Liferay 6.0 doesn't include the Windows executable, and that's because Apache Tomcat 6.0.24 is not bundled with those executables any longer.

http://tomcat.apache.org/download-60.cgi

As you can see on that page, they've included a separate 32-bit Windows version, a separate 64-bit Windows version, and even a separate 64-bit Itanium Windows version. In our case, it made sense to use the default. However, you could probably copy the latest executable from one of these packages of your choice and use that.

What are your thoughts?

Jonathan
Jeff Zhuk
RE: Liferay 6.0 Windows service
11 de Maio de 2010 14:19
Resposta

Jeff Zhuk

Ranking: Junior Member

Mensagens: 64

Data de entrada: 9 de Setembro de 2009

Mensagens recentes

**Where to get the Tomcat6.exe and Tomcat6w.exe?**

They are not in the main Liferay distribution bundle, neither in the main Tomcat distribution.
Here are a couple of links for the Tomcat 6.0.18
Go to Apache.org Home - Download
http://tomcat.apache.org/download-60.cgi

Select Archives: http://archive.apache.org/dist/tomcat/tomcat-6/
Then v.6.0.18 and the bin directory:
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.18/bin/

Download and save apache-tomcat-6.0.18.exe - this one includes both files needed to start Tomcat as a service.

This EXE file will install the service on your Windows machine in the Liferay directory.

After unzipping the liferay-tomcat bundle I renamed the liferay... directory in the "liferay" and "tomcat..." directory in the "tomcat6". I will use this naming for simplicity.

Before running this exe file make sure you have two copies of the Liferay-Tomcat bundles unzipped on your machine.
(For 64 bit machine check first **64 bit details"" below)

**Installation** of the service will overwrite several directories and you might need to restore tomcat6/conf and tomcat/webapps directories.
I'd recommeomend to remove first all the sub-directories from the tomcat6 directory.
Run the apache-tomcat-6.0.18.exe file and make your installation in the liferay/tomcat6 directory.
Double click on the tomcat6/bin/tomcat6w.exe and use GUI on the screen to configure Java options.

In the JAVA tab add these lines:
-XXemoticonermSize=128m
-XX:MaxPermSize=256m

Set initial memory pool and maximum memory pool to 1024.

Apply and Use General - Start controls to check that the Tomcat is starting. (It will).
Then stop the service and copy necessary directories (accept bin) from liferay copy into the main liferay/tomcat6 directories.

Start the service!
-------------------

**64 bit details**

64 bit JDK and JRE distributions from Sun Microsystems miss two things that are in the way and you'll need to fix both.

a) Service installation process expects jre/client/jvm.dll but 64 bit distributions have no jre/client directory. It was renamed into jre/server.

By copy/paste jre/server into jre/client (copy, not move!) you solve this one.

b) jvm.dll requires msvcp71.dll to be in the Windows/system32
Download the msvcp71.dll from
http://www.dll-files.com/dllindex/dll-files.shtml?msvcp71
and copy this dll into Windows/systems32

Go to the Installation section above and continue installation.
-----------------

Hope this work for you,

Jeff