cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop Alfresco tomcat server on Windows Vista

zeki
Champ in-the-making
Champ in-the-making
Hi for all


I'm using Alfresco community tomcat 2.1.0 with MySQL 5 on Windows Vista Professional
I  have problem stopping tomcat with alf_stop.bat, when I try to stop It it didn't stop even when I try to kill java process from the Windows Process Manager it didn't stop and I can't reboot my PC. I have to turnoff my PC to kill the java process who host tomcat.

Please can someone help

Regards
6 REPLIES 6

mikeh
Star Contributor
Star Contributor
Hi,

Initially, this sounds like a permissions problem. How are you running Tomcat? What user is it running under? Are you a local administrator? Are there any messages in the Tomcat window (or catalina.out or alfresco.log) after alf_stop.bat?

thanks,
Mike

zeki
Champ in-the-making
Champ in-the-making
Dear Mike

Dear MikeH

Thank you for your response
Yes I'm a local administrator

Here are the traces from  catalina log file :


Exception in thread "Thread-32" java.lang.Error: IP Helper Library GetIfTable fu
nction failed
        at java.net.NetworkInterface.getAll(Native Method)
        at java.net.NetworkInterface.getNetworkInterfaces(NetworkInterface.java:
281)
        at org.alfresco.filesys.netbios.win32.Win32NetBIOS.LanaEnumerate(Win32Ne
tBIOS.java:228)
        at org.alfresco.filesys.smb.server.win32.Win32NetBIOSLanaMonitor.run(Win
32NetBIOSLanaMonitor.java:245)
16 ao¹t 2007 23:56:06 org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Suspension de Coyote HTTP/1.1 sur http-8080
16 ao¹t 2007 23:56:08 org.apache.catalina.core.StandardService stop
INFO: ArrÛt du service Catalina
16 ao¹t 2007 23:57:24 org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: ArrÛt de Coyote HTTP/1.1 sur http-8080

17 août 2007 00:16:44 org.apache.catalina.startup.Catalina stopServer
GRAVE: Catalina.stop:
java.net.ConnectException: Connection refused: connect
   at java.net.PlainSocketImpl.socketConnect(Native Method)
   at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
   at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
   at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
   at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
   at java.net.Socket.connect(Socket.java:518)
   at java.net.Socket.connect(Socket.java:468)
   at java.net.Socket.<init>(Socket.java:365)
   at java.net.Socket.<init>(Socket.java:179)
   at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)

Regards

mikeh
Star Contributor
Star Contributor
Hi,

I've just tried installing 2.1 Community Final on Vista Ultimate using JDK 6u2 and MySQL 5.0.45.

The only config changes I had to make were to add TCP/3306 (MySQL) and TCP/8080 (Tomcat) to the Windows Firewall.

All seems to work well for me - incl the CIFS interface and shutdown using alf_stop.bat.

Have you made any other changes or have a particularly customised setup?


Mike

zeki
Champ in-the-making
Champ in-the-making
Hi

Thank you for your response

The changes I have made are to make MySQL as default databse.
I have Norton Internet Security on my computer, I disabled all its componentes (Firewall, IDS, …) and make a test but there is no changes

Regards

mikeh
Star Contributor
Star Contributor
Hmmm… I know that disabling programs like Norton can still leave shims installed on top of key services, like network and file access. I'd try uninstalling Norton completely then trying again.

As an aside, I personally run Vista without any third party security add-ons as I don't believe they're either necessary or well-tested yet.

Mike

binlah
Champ in-the-making
Champ in-the-making
I have the same problem on window xp.

I'm using Alfresco community bundle with tomcat 2.1.0 and default database[and already try with MySQL] on Window XP.I'm administrator on local machine and do not have 3d party firewall,just have window fire wall running.


It work properly until I'm trying to stop tomcat via alf_stop.bat [or kill tomcat process], the computer will hang and what I can do is only to force shutdown computer.

I don't know what's problem.
Please can someone help.

Thanks so much.