组合视图 统一视图 树状图
讨论主题 [ 上一个 | 下一个 ]
toggle
Does Liferay work on Windows 7?? Nitin Pawar 2010年1月11日 上午8:28
RE: Does Liferay work on Windows 7?? Dominik Förderreuther 2009年12月30日 上午5:09
RE: Does Liferay work on Windows 7?? Nitin Pawar 2009年12月30日 上午5:54
RE: Does Liferay work on Windows 7?? steve rieger 2009年12月30日 下午12:12
RE: Does Liferay work on Windows 7?? Nitin Pawar 2010年1月3日 上午10:38
RE: Does Liferay work on Windows 7?? Shagul Khajamohideen 2010年1月3日 上午11:44
RE: Does Liferay work on Windows 7?? Dominik Förderreuther 2010年1月4日 上午2:26
RE: Does Liferay work on Windows 7?? Nitin Pawar 2010年1月4日 上午4:44
RE: Does Liferay work on Windows 7?? Dominik Förderreuther 2010年1月4日 上午6:02
RE: Does Liferay work on Windows 7?? Nitin Pawar 2010年1月5日 上午4:32
RE: Does Liferay work on Windows 7?? Dominik Förderreuther 2010年1月5日 上午5:07
RE: Does Liferay work on Windows 7?? Nitin Pawar 2010年1月5日 上午6:03
RE: Does Liferay work on Windows 7?? György Vilmos Papp 2010年1月4日 上午6:45
RE: Does Liferay work on Windows 7?? Jack A. Rider / Alfredo Prats 2010年1月5日 上午10:15
RE: Does Liferay work on Windows 7?? Marsha Clark 2010年6月14日 上午9:00
RE: Does Liferay work on Windows 7?? Arcko Duan 2010年6月14日 上午10:27
RE: Does Liferay work on Windows 7?? Marsha Clark 2010年6月15日 上午11:08
RE: Does Liferay work on Windows 7?? Senthil Chockalingam 2012年4月12日 上午7:06
RE: Does Liferay work on Windows 7?? Apurv Agrawal 2010年6月24日 上午5:08
Nitin Pawar
Does Liferay work on Windows 7??
2010年1月11日 上午8:28
答复

Nitin Pawar

等级: New Member

帖子: 18

加入日期: 2009年8月14日

最近的帖子

Hi All,

I want to know whether Liferay 5.2.3 bundled with Tomcat can work on Windows 7 or not.

Has anyone tested it ?

Regards
Nitin Pawar
Dominik Förderreuther
RE: Does Liferay work on Windows 7??
2009年12月30日 上午5:09
答复

Dominik Förderreuther

等级: Junior Member

帖子: 41

加入日期: 2009年9月15日

最近的帖子

Hi,

sure. All you need is an actual JDK from java.sun.com. For a deeper test, you need to install a database server like MySQL.

Best regards,
Dominik
Nitin Pawar
RE: Does Liferay work on Windows 7??
2009年12月30日 上午5:54
答复

Nitin Pawar

等级: New Member

帖子: 18

加入日期: 2009年8月14日

最近的帖子

Thnks Dominik!!


I am using MS SQL Server Express and JDK 1.5
Both are running absolutely fine.

Somehow Liferay isn't starting up.. So I thought of checking if there is any compatibility issue...

Thanks
Nitin Pawar
steve rieger
RE: Does Liferay work on Windows 7??
2009年12月30日 下午12:12
答复

steve rieger

等级: Expert

帖子: 436

加入日期: 2006年9月11日

最近的帖子

no compatibility issues
what is the error ?
Nitin Pawar
RE: Does Liferay work on Windows 7??
2010年1月3日 上午10:38
答复

Nitin Pawar

等级: New Member

帖子: 18

加入日期: 2009年8月14日

最近的帖子

The Error is:


Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine

Configuration is:
1GB RAM, 2.99 GHz Processor
OS : Windows 7
Shagul Khajamohideen
RE: Does Liferay work on Windows 7??
2010年1月3日 上午11:44
答复

Shagul Khajamohideen

等级: Liferay Master

帖子: 759

加入日期: 2007年9月27日

最近的帖子

Hi Nitin,

Liferay tomcat default configuration requires at least 1GB+ to run. Take a look at the setenv.bat file.

1
2set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1024m -XX:MaxPermSize=128m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config="%CATALINA_HOME%/conf/jaas.config" -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false


From your post it looks like 1 GB is the total RAM in the machine. Is that right?

You may be able to reduce the -Xmx1024m to -Xmx512m in setenv.bat file and try again.


-Shagul
Dominik Förderreuther
RE: Does Liferay work on Windows 7??
2010年1月4日 上午2:26
答复

Dominik Förderreuther

等级: Junior Member

帖子: 41

加入日期: 2009年9月15日

最近的帖子

Hi,

@Nitin, you wan't have fun with liferay and windows 7 until you increase the memory of your machine.

Btw:
I have one exception on startup of liferay on windows 7 machines. There is no resulting problem so I've ignored it, but maybe anybody can give me a hint how to stop the exception? I suppose it is a file system / rights issue, but I'm not very familiar with these special windows topics.

 1
 2java.io.FileNotFoundException: C:\Liferay-Portal\apache-tomcat-6.0.20\temp\liferay\com\liferay\portal\deploy\dependencies\util-java.jar (Der Vorgang ist bei einer Datei mit einem geöffneten Bereich, der einem Benutzer zugeordnet ist, nicht anwendbar)
 3        at java.io.FileOutputStream.open(Native Method)
 4        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
 5        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
 6        at com.liferay.portal.deploy.DeployUtil._getResourcePath(DeployUtil.java:159)
 7        at com.liferay.portal.deploy.DeployUtil.getResourcePath(DeployUtil.java:92)
 8        at com.liferay.portal.deploy.auto.ThemeAutoDeployer.<init>(ThemeAutoDeployer.java:69)
 9        at com.liferay.portal.deploy.auto.exploded.tomcat.ThemeExplodedTomcatDeployer.<init>(ThemeExplodedTomcatDeployer.java:37)
10        at com.liferay.portal.deploy.auto.exploded.tomcat.ThemeExplodedTomcatListener.<init>(ThemeExplodedTomcatListener.java:40)
11        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
12        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
13        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
14        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
15        at java.lang.Class.newInstance0(Class.java:355)
16        at java.lang.Class.newInstance(Class.java:308)
17        at com.liferay.portal.events.GlobalStartupAction.getAutoDeployListeners(GlobalStartupAction.java:70)
18        at com.liferay.portal.events.GlobalStartupAction.run(GlobalStartupAction.java:145)
19        at com.liferay.portal.events.EventsProcessorImpl.processEvent(EventsProcessorImpl.java:116)
20        at com.liferay.portal.events.EventsProcessorImpl.process(EventsProcessorImpl.java:68)
21        at com.liferay.portal.events.EventsProcessorUtil.process(EventsProcessorUtil.java:42)
22        at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:511)
23        at javax.servlet.GenericServlet.init(GenericServlet.java:212)
24        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
25        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
26        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4149)
27        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4458)
28        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
29        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
30        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
31        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)
32        at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)
33        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)
34        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
35        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
36        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
37        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
38        at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
39        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
40        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
41        at org.apache.catalina.core.StandardService.start(StandardService.java:516)
42        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
43        at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
44        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
45        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
46        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
47        at java.lang.reflect.Method.invoke(Method.java:597)
48        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
49        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


Any ideas?

Thanks and best regards,
Dominik
Nitin Pawar
RE: Does Liferay work on Windows 7??
2010年1月4日 上午4:44
答复

Nitin Pawar

等级: New Member

帖子: 18

加入日期: 2009年8月14日

最近的帖子

@ Shagul

I tried what u have mentioned and it worked. Tomcat is now starting. But in the process it gives this error
:
 1Jan 4, 2010 10:59:33 AM org.apache.catalina.startup.Catalina stopServer
 2SEVERE: Catalina.stop:
 3java.net.ConnectException: Connection refused: connect
 4    at java.net.PlainSocketImpl.socketConnect(Native Method)
 5    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
 6    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
 7    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
 8    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 9    at java.net.Socket.connect(Socket.java:520)
10    at java.net.Socket.connect(Socket.java:470)
11    at java.net.Socket.<init>(Socket.java:367)
12    at java.net.Socket.<init>(Socket.java:180)
13    at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
14    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
16    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
17    at java.lang.reflect.Method.invoke(Method.java:585)
18    at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
19    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
20Jan 4, 2010 10:59:37 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
21INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\BIC\LiferaySQL_jan10\liferay-portal-5.2.3\tomcat-5.5.27_org\jre1.5.0_17\win\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program Files\Microsoft SQL Server\90\Tools\binn\
22Jan 4, 2010 10:59:38 AM org.apache.coyote.http11.Http11BaseProtocol init
23INFO: Initializing Coyote HTTP/1.1 on http-8080
24Jan 4, 2010 10:59:38 AM org.apache.catalina.startup.Catalina load
25INFO: Initialization processed in 3125 ms
26Jan 4, 2010 10:59:39 AM org.apache.catalina.core.StandardService start
27INFO: Starting service Catalina
28Jan 4, 2010 10:59:39 AM org.apache.catalina.core.StandardEngine start
29INFO: Starting Servlet Engine: Apache Tomcat/5.5.27
30Jan 4, 2010 10:59:39 AM org.apache.catalina.core.StandardHost start
31INFO: XML validation disabled
32Jan 4, 2010 10:59:46 AM org.apache.catalina.startup.ContextConfig validateSecurityRoles
33WARNING: Security role name PENTAHO_ADMIN used in an <auth-constraint> without being defined in a <security-role>
34Jan 4, 2010 11:04:16 AM org.apache.catalina.core.StandardContext start
35SEVERE: Error listenerStart
36Jan 4, 2010 11:04:16 AM org.apache.catalina.core.StandardContext start
37SEVERE: Context [] startup failed due to previous errors
38Jan 4, 2010 11:04:16 AM org.apache.catalina.startup.HostConfig deployWAR
39INFO: Deploying web application archive BIConsulting.war
40Jan 4, 2010 11:04:16 AM org.apache.catalina.startup.HostConfig deployWAR
41INFO: Deploying web application archive pentaho-portal-layout.war
42Jan 4, 2010 11:04:17 AM org.apache.catalina.startup.HostConfig deployWAR
43INFO: Deploying web application archive pentaho-style.war
44Jan 4, 2010 11:04:17 AM org.apache.catalina.startup.HostConfig deployWAR
45INFO: Deploying web application archive sw-style.war
46Jan 4, 2010 11:04:27 AM org.apache.coyote.http11.Http11BaseProtocol start
47INFO: Starting Coyote HTTP/1.1 on http-8080
48Jan 4, 2010 11:04:27 AM org.apache.jk.common.ChannelSocket init
49INFO: JK: ajp13 listening on /0.0.0.0:8009
50Jan 4, 2010 11:04:27 AM org.apache.jk.server.JkMain start
51INFO: Jk running ID=0 time=0/47  config=null
52Jan 4, 2010 11:04:27 AM org.apache.catalina.storeconfig.StoreLoader load
53INFO: Find registry server-registry.xml at classpath resource
54Jan 4, 2010 11:04:28 AM org.apache.catalina.startup.Catalina start
55INFO: Server startup in 289562 ms



Can u pl help me out in overcoming this...


Regards,
Nitin Pawar
Dominik Förderreuther
RE: Does Liferay work on Windows 7??
2010年1月4日 上午6:02
答复

Dominik Förderreuther

等级: Junior Member

帖子: 41

加入日期: 2009年9月15日

最近的帖子

Hi,

are you still using the liferay tomcat bundle? How do you start the server?

Line 1 to 19 of your error message looks like you've used shutdown.bat without starting the server before...

Are there any lines before line 1 of your post?

Best regards,
Dominik
György Vilmos Papp
RE: Does Liferay work on Windows 7??
2010年1月4日 上午6:45
答复

György Vilmos Papp

等级: Regular Member

帖子: 127

加入日期: 2009年5月4日

最近的帖子

I use 64bit Windows 7 Enterprise with 64bit SUN JDK and MySQL server. It works fine with liferay even on Tomcat or on JBOSS+Tomcat bundle.
Nitin Pawar
RE: Does Liferay work on Windows 7??
2010年1月5日 上午4:32
答复

Nitin Pawar

等级: New Member

帖子: 18

加入日期: 2009年8月14日

最近的帖子

@ Dominik

In my startup.bat, I am first calling shutdown.bat so that if tomcat is already running, it will shutdown and start again.

I have found the reason for this error.

There is some problem in my portal-ext file, coz when i rename this file so that tomcat skips it and uses its own database, then liferay portal comes up.

That means it is related to database connection.

Here is the code portal-ext.

1
2
3jdbc.default.driverClassName=net.sourceforge.jtds.jdbc.Driver
4jdbc.default.url=jdbc:jtds:sqlserver://localhst/DatabaseName
5jdbc.default.username=abcd
6jdbc.default.password=abcd


I believe, this code is correct.

What changes I need to do in my Database configuration?


Regards,
Nitin
Dominik Förderreuther
RE: Does Liferay work on Windows 7??
2010年1月5日 上午5:07
答复

Dominik Förderreuther

等级: Junior Member

帖子: 41

加入日期: 2009年9月15日

最近的帖子

Hi,

remove shutdown.bat from your startup.bat. It's not possible to do a restart on this way, because the script shutdown.bat ends long before your tomcat completes the shutdown process.

Maybe there is a missing "o" in your "localhost"? :-)

Best regards,
Dominik
Nitin Pawar
RE: Does Liferay work on Windows 7??
2010年1月5日 上午6:03
答复

Nitin Pawar

等级: New Member

帖子: 18

加入日期: 2009年8月14日

最近的帖子

Hi,

The issue is resolved completely.

I had to give a specific port no. to my Database.
It is working gr8 now.

Thanks all for your valuable suggestions.


Regards
Jack A. Rider / Alfredo Prats
RE: Does Liferay work on Windows 7??
2010年1月5日 上午10:15
答复

Jack A. Rider / Alfredo Prats

等级: Regular Member

帖子: 139

加入日期: 2007年3月26日

最近的帖子

Hi,

It works for my

- Liferay 5.2.3 bundled with tomcat-6.0.18

- no problem with HSQL or MySQL.

Saludos, Jack.
Marsha Clark
RE: Does Liferay work on Windows 7??
2010年6月14日 上午9:00
答复

Marsha Clark

等级: New Member

帖子: 2

加入日期: 2010年6月14日

最近的帖子

I'm having difficulty getting Liferay 5.2.3 with Tomcat 6.0.2 to launch in Windows 7. Tomcat gives the following error message:

  1Jun 14, 2010 3:37:15 PM org.apache.catalina.core.AprLifecycleListener init
  2INFO: The APR based Apache Tomcat Native library which allows optimal performanc
  3e in production environments was not found on the java.library.path: C:\Liferay\
  4liferay-portal-tomcat-6.0.2\liferay-portal-6.0.2\tomcat-6.0.26\jre1.5.0_22\win\b
  5in;.;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\Sy
  6stem32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\SAS\Sha
  7redFiles\Formats;C:\Program Files\QuickTime\QTSystem\
  8Jun 14, 2010 3:37:15 PM org.apache.coyote.http11.Http11Protocol init
  9SEVERE: Error initializing endpoint
 10java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
 11        at java.net.PlainSocketImpl.socketBind(Native Method)
 12        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
 13        at java.net.ServerSocket.bind(ServerSocket.java:319)
 14        at java.net.ServerSocket.<init>(ServerSocket.java:185)
 15        at java.net.ServerSocket.<init>(ServerSocket.java:141)
 16        at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(De
 17faultServerSocketFactory.java:50)
 18        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
 19        at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
 20
 21        at org.apache.catalina.connector.Connector.initialize(Connector.java:101
 224)
 23        at org.apache.catalina.core.StandardService.initialize(StandardService.j
 24ava:680)
 25        at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
 26a:795)
 27        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 28        at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 29        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 30        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 31java:39)
 32        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 33sorImpl.java:25)
 34        at java.lang.reflect.Method.invoke(Method.java:592)
 35        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 36        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
 37Jun 14, 2010 3:37:15 PM org.apache.catalina.startup.Catalina load
 38SEVERE: Catalina.start
 39LifecycleException:  Protocol handler initialization failed: java.net.SocketExce
 40ption: Unrecognized Windows Sockets error: 0: JVM_Bind
 41        at org.apache.catalina.connector.Connector.initialize(Connector.java:101
 426)
 43        at org.apache.catalina.core.StandardService.initialize(StandardService.j
 44ava:680)
 45        at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
 46a:795)
 47        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
 48        at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
 49        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 50        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 51java:39)
 52        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 53sorImpl.java:25)
 54        at java.lang.reflect.Method.invoke(Method.java:592)
 55        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
 56        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
 57Jun 14, 2010 3:37:15 PM org.apache.catalina.startup.Catalina load
 58INFO: Initialization processed in 718 ms
 59Jun 14, 2010 3:37:15 PM org.apache.catalina.core.StandardService start
 60INFO: Starting service Catalina
 61Jun 14, 2010 3:37:15 PM org.apache.catalina.core.StandardEngine start
 62INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
 63Jun 14, 2010 3:37:15 PM org.apache.catalina.startup.HostConfig deployDescriptor
 64INFO: Deploying configuration descriptor ROOT.xml
 65Jun 14, 2010 3:37:27 PM org.apache.catalina.core.StandardContext start
 66SEVERE: Error listenerStart
 67Jun 14, 2010 3:37:27 PM org.apache.catalina.core.StandardContext start
 68SEVERE: Context [] startup failed due to previous errors
 69Jun 14, 2010 3:37:27 PM org.apache.coyote.http11.Http11Protocol start
 70SEVERE: Error starting endpoint
 71java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
 72        at java.net.PlainSocketImpl.socketBind(Native Method)
 73        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
 74        at java.net.ServerSocket.bind(ServerSocket.java:319)
 75        at java.net.ServerSocket.<init>(ServerSocket.java:185)
 76        at java.net.ServerSocket.<init>(ServerSocket.java:141)
 77        at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(De
 78faultServerSocketFactory.java:50)
 79        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
 80        at org.apache.tomcat.util.net.JIoEndpoint.start(JIoEndpoint.java:565)
 81        at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:203
 82)
 83        at org.apache.catalina.connector.Connector.start(Connector.java:1087)
 84        at org.apache.catalina.core.StandardService.start(StandardService.java:5
 8534)
 86        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
 87)
 88        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
 89        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 90        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 91java:39)
 92        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 93sorImpl.java:25)
 94        at java.lang.reflect.Method.invoke(Method.java:592)
 95        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
 96        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
 97Jun 14, 2010 3:37:27 PM org.apache.catalina.startup.Catalina start
 98SEVERE: Catalina.start:
 99LifecycleException:  service.getName(): "Catalina";  Protocol handler start fail
100ed: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
101        at org.apache.catalina.connector.Connector.start(Connector.java:1094)
102        at org.apache.catalina.core.StandardService.start(StandardService.java:5
10334)
104        at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
105)
106        at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
107        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
108        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
109java:39)
110        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
111sorImpl.java:25)
112        at java.lang.reflect.Method.invoke(Method.java:592)
113        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
114        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
115Jun 14, 2010 3:37:27 PM org.apache.catalina.startup.Catalina start
116INFO: Server startup in 12380 ms


Are there any suggestions on what could be wrong?

Thanks in advance,
Marsha
Arcko Duan
RE: Does Liferay work on Windows 7??
2010年6月14日 上午10:27
答复

Arcko Duan

等级: Regular Member

帖子: 202

加入日期: 2007年10月15日

最近的帖子

The error is saying the port your tomcat try to using is already been used by other app.

Maybe you have already other tomcat server running on your win 7.
Marsha Clark
RE: Does Liferay work on Windows 7??
2010年6月15日 上午11:08
答复

Marsha Clark

等级: New Member

帖子: 2

加入日期: 2010年6月14日

最近的帖子

Thanks for the tip. I configured the server.xml sheet to point to port 9090 instead of 8080. It now opens. Thanks so much for your help!
Apurv Agrawal
RE: Does Liferay work on Windows 7??
2010年6月24日 上午5:08
答复

Apurv Agrawal

等级: New Member

帖子: 2

加入日期: 2010年6月19日

最近的帖子

I had a similar problem like Nitin...used the same soln...n it workd..

Thanks alot...cheers...
Senthil Chockalingam
RE: Does Liferay work on Windows 7??
2012年4月12日 上午7:06
答复

Senthil Chockalingam

等级: Junior Member

帖子: 58

加入日期: 2010年1月18日

最近的帖子


Same JVM Bind issue.


My Vmware web service(tomcat) is accessing that port.

Now I stopped tht service and started the liferay server.

it's up and running fine.