Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
maryam maryam masoudy
how can i see content of console ?window of console by itself is closed
30 dicembre 2012 1.50
Risposta

maryam maryam masoudy

Punteggio: Regular Member

Messaggi: 149

Data di Iscrizione: 30 ottobre 2011

Messaggi recenti

hi all friends
i am up grade liferay5 to liferay 6.0 from this link
http://www.liferay.com/community/wiki/-/wiki/Main/Upgrade+Instructions+from+5.2+to+6.0
when i startup liferay 6.0 whit database 5 after some times console close automatic and i i can not see exception or errors
how can i see content of console ? Window by itself is closed
i startup liferay in windows i have not catalina.out in folder 's logs
Hitoshi Ozawa
RE: how can i see content of console ?window of console by itself is clos
30 dicembre 2012 2.42
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

Have you checked \liferay-portal-6.1.0-ce-ga1\logs folder to see if there's any liferay-.log files?
Jelmer Kuperus
RE: how can i see content of console ?window of console by itself is clos
30 dicembre 2012 2.44
Risposta

Jelmer Kuperus

Punteggio: Liferay Legend

Messaggi: 1192

Data di Iscrizione: 10 marzo 2010

Messaggi recenti

If you start with

1./catalina.sh run


The window won't close

also there's the log files in tomcat/log
maryam maryam masoudy
RE: how can i see content of console ?window of console by itself is clos
30 dicembre 2012 22.20
Risposta

maryam maryam masoudy

Punteggio: Regular Member

Messaggi: 149

Data di Iscrizione: 30 ottobre 2011

Messaggi recenti

i work with windows 7 i can do ./catalina.sh run !!
files in folder log is not complete for me
i want content of console like catalina.out when we run liferay in server linux
Hitoshi Ozawa
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 0.35
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

If you're running on Windows 7 (I'm typing this now running on Windows 7 64 bit machine), just go to the tomcat bin folder and press the Shift key and right click the mouse button. A context menu should appear with "Open command window here". Select that. Type "startup.bat" without the quotes.
Jelmer Kuperus
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 1.39
Risposta

Jelmer Kuperus

Punteggio: Liferay Legend

Messaggi: 1192

Data di Iscrizione: 10 marzo 2010

Messaggi recenti

on windows you use

1catalina.bat run
maryam maryam masoudy
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 2.18
Risposta

maryam maryam masoudy

Punteggio: Regular Member

Messaggi: 149

Data di Iscrizione: 30 ottobre 2011

Messaggi recenti

thanks Hitoshi and Jemler
your guidance was very good and particular
Hitoshi Ozawa
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 4.24
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

on windows you use

catalina.bat run


Thanks jelmer. startup.bat will open a new window. To execute within the same window, use "catalina.bat run". emoticon
maryam maryam masoudy
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 4.33
Risposta

maryam maryam masoudy

Punteggio: Regular Member

Messaggi: 149

Data di Iscrizione: 30 ottobre 2011

Messaggi recenti

hi
i do your coammand but
catalina.2012-12-31.log have not good content , i leave this for u

tomacat window has very error but i can not save completely this
emoticon
emoticon
Allegati: catalina.2012-12-31.log (3,7k)
Jelmer Kuperus
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 5.28
Risposta

Jelmer Kuperus

Punteggio: Liferay Legend

Messaggi: 1192

Data di Iscrizione: 10 marzo 2010

Messaggi recenti

java.net.BindException: Address already in use: JVM_Bind <null>:8080


means you still have another instance running in the background
Sushil Saini
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 5.34
Risposta

Sushil Saini

Punteggio: Regular Member

Messaggi: 104

Data di Iscrizione: 27 luglio 2011

Messaggi recenti

Hi Maryam,

Your log file is showing the error of port 8080 is already in use. Means in you windows machine some other process is using the 8080 port.

There are two ways to solve this process. Either kill the process running on the port 8080 or change the port of the liferay server to some other port.

To find which process is running on 8080 port in window machine you can use following command
netstat -ab

And then you can kill the process by going in the task manager or by taskkill command.


Second thing for changing the port of the liferay-tomcat bundle, you can change it in the server.xml.
Hitoshi Ozawa
RE: how can i see content of console ?window of console by itself is clos
31 dicembre 2012 5.38
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7949

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

You really should study MS Windows because this is a very basic MS Windows command operation.

Just redirect the output. Following will redirect the output to the file liferay.log file. You'll need to check the content of this file and use Ctrl + C to terminate liferay.
catalina.bat run 1>liferay.log 2>&1