Foros de discusión

Problem opening Page

Henry Ng, modificado hace 10 años.

Problem opening Page

Junior Member Mensajes: 29 Fecha de incorporación: 21/04/13 Mensajes recientes
I manage to copy the whole of Liferay+TomCat 7 bundle into a server.
Run the startup.sh file

Gives the following Result in the log

Jul 25, 2013 12:22:01 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /data/java/jdk1.6.0_37/jre/lib/amd64/server:/data/java/jdk1.6.0_37/jre/lib/amd64:/data/java/jdk1.6.0_37/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jul 25, 2013 12:22:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jul 25, 2013 12:22:02 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 25, 2013 12:22:02 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1965 ms
Jul 25, 2013 12:22:02 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 25, 2013 12:22:02 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jul 25, 2013 12:22:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/conf/Catalina/localhost/ROOT.xml
Jul 25, 2013 12:23:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/welcome-theme
Jul 25, 2013 12:23:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/resources-importer-web
Jul 25, 2013 12:23:09 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /home/henry/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/webapps/marketplace-portlet
Jul 25, 2013 12:23:10 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jul 25, 2013 12:23:10 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 25, 2013 12:23:10 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 67754 ms


but when I try to enter ipaddress_of_server:8080 , they said site not found.

I ran a listof on my server
[henry@batik1 ~]$ lsof -i:8080
COMMAND  PID  USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
java    6643 henry   52u  IPv6 184032      0t0  TCP *:webcache (LISTEN)
java    6643 henry  277u  IPv6 184072      0t0  TCP localhost.localdomain:47100->localhost.local   


Does anyone know how do I access the page
thumbnail
Péter Borkuti, modificado hace 10 años.

RE: Problem opening Page

New Member Mensajes: 18 Fecha de incorporación: 15/06/12 Mensajes recientes
Hi Henry,

Did you tried from a client computer? Could you try it from the server?

I am not a linux guru, but lsof -i should have written some ipv4 ports also, but there is not any...
Have you tried it with "localhost:8080"?
Could you check if you can telnet to port 8080 ?

Could you check if there is a portal-ext.properties or portal-setup-wizard.properties files in your liferay home?
If yes, could you check if there is any rows in that which is related to file-system directories? Probably they are pointing to wrong places
because of copying the bundle.

Could you check, if you run a normal tomcat (without Liferay), the tomcat's welcome-page can be accessed?

Best
Péter