Topic
  • 15 replies
  • Latest Post - ‏2012-03-05T03:14:47Z by U4UE_xie_zhi
SystemAdmin
SystemAdmin
2233 Posts

Pinned topic Starting WASCE 3.0.0.0 as a Windows service fails

‏2012-01-17T20:03:26Z |
Starting WASCE 3.0.0.0 from the .bat file works correctly, attempting to start WASCE 3.0.0.0 as a Windows service returns

System Event log
The IBM WebSphere Application Server Community Edition Service - geronimosrv service terminated with service-specific error 0 (0x0).

geronimosrv.log
2012-01-18 00:57:21 info Procrun (2.0.4.0) started
2012-01-18 00:57:21 info Running Service...
2012-01-18 00:57:22 info Starting service...
2012-01-18 00:57:22 http://1058 prunsrv.c error Failed executing process
2012-01-18 00:57:22 http://1271 prunsrv.c error ServiceStart returned 5
2012-01-18 00:57:22 info Run service finished.
2012-01-18 00:57:22 info Procrun finished.

Using Sun and IBM Java alternately produces the same results.

Platform details are

Windows XP SP3 version 2600.xpsp_sp3_gdr.111025-1629
WASCE version 3.0.0.0 build 201109141759
Eclipse Indigo SR 1 Build 20110916-0149
SUN Java Platform SE 6u30 version 6.0.300.12
IBM SDK Java2 Technology Edition version R2.4
Updated on 2012-03-05T03:14:47Z at 2012-03-05T03:14:47Z by U4UE_xie_zhi
  • U4UE_xie_zhi
    U4UE_xie_zhi
    54 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-01-19T06:55:29Z  
    Could you describe what did you do when you attempted to start WASCE 3.0.0.0 as a Windows service returns.
  • SystemAdmin
    SystemAdmin
    2233 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-01-21T02:52:46Z  
    Could you describe what did you do when you attempted to start WASCE 3.0.0.0 as a Windows service returns.
    Hi
    I am having the same issue as what descirpted by "therophyte".

    1.Starting WASCE 3.0.0.0 from the .bat file works correctly
    2.attempting to start WASCE 3.0.0.0 as a Windows service returns
    ServiceStart returned 5.

    I am using Sun jdk.

    I have tested in two platform:
    windows xp SP3
    and Window server 2003
  • pbordin
    pbordin
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-02T16:17:55Z  
    Hi
    I am having the same issue as what descirpted by "therophyte".

    1.Starting WASCE 3.0.0.0 from the .bat file works correctly
    2.attempting to start WASCE 3.0.0.0 as a Windows service returns
    ServiceStart returned 5.

    I am using Sun jdk.

    I have tested in two platform:
    windows xp SP3
    and Window server 2003
    Same problem on win7 pro x64, any suggestion?
  • U4UE_xie_zhi
    U4UE_xie_zhi
    54 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-09T03:58:56Z  
    • pbordin
    • ‏2012-02-02T16:17:55Z
    Same problem on win7 pro x64, any suggestion?
    I reproduced the problem. I'm working on it to find a solution.
  • pbordin
    pbordin
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-09T12:33:41Z  
    I reproduced the problem. I'm working on it to find a solution.
    Thank you very much ... looking forward to a solution.
    Bye
  • U4UE_xie_zhi
    U4UE_xie_zhi
    54 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-13T02:18:08Z  
    Hi,guys. Please replace your <WASCE_HOME>bin\service_pr.bat with which I attached before you backup it. And then try to execute the command "service_pr.bat install" again. Good luck!
  • CharlieWaffles
    CharlieWaffles
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-13T18:43:28Z  
    Hi,guys. Please replace your <WASCE_HOME>bin\service_pr.bat with which I attached before you backup it. And then try to execute the command "service_pr.bat install" again. Good luck!
    U4UE, the new batch file allows the service to be installed and started, but a few seconds after you start the service the CPU utilization spikes up to 100% with 99% being taken by java.exe. On windows 2003 server, the spike goes away after a few minutes, but then you can't stop the service. It fails, and you can't connect to the console either. On Windows 2008 server the CPU spike stays at 99% taken by java.exe and memory utilization swells up to about 300MB. Any assistance with this would be greatly appreciated. Thank you.
  • pbordin
    pbordin
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-15T10:58:48Z  
    U4UE, the new batch file allows the service to be installed and started, but a few seconds after you start the service the CPU utilization spikes up to 100% with 99% being taken by java.exe. On windows 2003 server, the spike goes away after a few minutes, but then you can't stop the service. It fails, and you can't connect to the console either. On Windows 2008 server the CPU spike stays at 99% taken by java.exe and memory utilization swells up to about 300MB. Any assistance with this would be greatly appreciated. Thank you.
    Hi, i have EXACTLY the same problems as Charlie: one cpu at 100% on a multi core system, huge memory utilization (500Mb), no connection to the console.
  • Forrest_Xia
    Forrest_Xia
    82 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-15T12:37:35Z  
    • pbordin
    • ‏2012-02-15T10:58:48Z
    Hi, i have EXACTLY the same problems as Charlie: one cpu at 100% on a multi core system, huge memory utilization (500Mb), no connection to the console.
    Hi, pbordin, CharlieWaffles,

    Thanks for trying this new service_pr.bat.

    About the problem you met, Can you let us know if you could start the server normally from the command window via WASCE_HOME\bin\startup.bat? Please help post any findings here.

    More information may require:
    1. What's your windows version respectively?
    2. What's the JDK used to start WAS CE 3.0.0.0?
    3. Any error messages logged in the CE log files(var\log\server.out or/and var\log\server.log)?
  • pbordin
    pbordin
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-15T14:02:42Z  
    Hi, pbordin, CharlieWaffles,

    Thanks for trying this new service_pr.bat.

    About the problem you met, Can you let us know if you could start the server normally from the command window via WASCE_HOME\bin\startup.bat? Please help post any findings here.

    More information may require:
    1. What's your windows version respectively?
    2. What's the JDK used to start WAS CE 3.0.0.0?
    3. Any error messages logged in the CE log files(var\log\server.out or/and var\log\server.log)?
    > About the problem you met, Can you let us know if you could start the server normally from the command window > > via WASCE_HOME\bin\startup.bat? Please help post any findings here.
    Yes, it starts correctly, no problems of cpu utilization, about 350 Mb of memory utilization reported by task manager

    > More information may require:
    > 1. What's your windows version respectively?

    Windows 7 Professional x64

    > 2. What's the JDK used to start WAS CE 3.0.0.0?

    1.6.0_30 (build 1.6.0_30-b12), x64 edition

    > 3. Any error messages logged in the CE log files(var\log\server.out or/and var\log\server.log)?

    IN SERVER.LOG

    2012-02-15 11:55:50,546 WARN FeaturesServiceImpl Unable to add features repository at startup
    java.lang.IllegalArgumentException: URI is not absolute
    at java.net.URI.toURL(Unknown Source)
    at org.apache.karaf.features.internal.FeatureValidationUtil.validate(FeatureValidationUtil.java:46)
    at org.apache.karaf.features.internal.FeaturesServiceImpl.validateRepository(FeaturesServiceImpl.java:199)
    at org.apache.karaf.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:210)
    at org.apache.karaf.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:918)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:226)
    at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:824)
    at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:636)
    at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:724)
    at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:64)
    at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:219)
    at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:147)
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:640)
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:331)
    at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

  • CharlieWaffles
    CharlieWaffles
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-15T17:57:11Z  
    Hi, pbordin, CharlieWaffles,

    Thanks for trying this new service_pr.bat.

    About the problem you met, Can you let us know if you could start the server normally from the command window via WASCE_HOME\bin\startup.bat? Please help post any findings here.

    More information may require:
    1. What's your windows version respectively?
    2. What's the JDK used to start WAS CE 3.0.0.0?
    3. Any error messages logged in the CE log files(var\log\server.out or/and var\log\server.log)?
    The best I can tell, the problem with with geronimo it keeps giving "java.lang.OutOfMemoryError: PermGen space" errors, and changing the -XX:MaxPermSize= to a larger value does not seem to make any difference. Hope this helps in troubleshooting.

    FYI, the OS's I've tried this on are Windows 2003 32-bit and Windows 2008 64-bit, same behavior on both.
  • U4UE_xie_zhi
    U4UE_xie_zhi
    54 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-16T08:15:47Z  
    The best I can tell, the problem with with geronimo it keeps giving "java.lang.OutOfMemoryError: PermGen space" errors, and changing the -XX:MaxPermSize= to a larger value does not seem to make any difference. Hope this helps in troubleshooting.

    FYI, the OS's I've tried this on are Windows 2003 32-bit and Windows 2008 64-bit, same behavior on both.
    hi,CharlieWaffles. I tested WAS CE 3.0.0.0 in Windows Server 2008 Enterprise Edition R2(64bit). And the JDK I used is JRE 1.6.0 IBM J9 2.4. The CPU utilization spikes up to 100% with 99% being taken by java.exe too. But it just took one or two minutes.
    My step
    1.install IBM JDK 60SR10 win.x64.
    2.install IBM WAS CE3.0.0.0(201109141759)
    3.remove windows service as default to install via the command "service_pr.bat remove"
    4.replace service_pr.bat with which I posted in this thread.
    5.install windows service via the command "service_pr.bat install".
    6.start server via the command "net start geronimosrv".

    a few seconds after log show service was started successfully, you can open the admin console while the CPU maybe be utilized highly. one or two minute passed, and when the memory which java.exe took reached to 500M-600M, the CPU utilization came down.

    So I think WAS CE3.0.0.0 as windows service run well on the window2008 64bit. Could you provide your detail action?
    By the way, could provide the memory size in your test server? And are there any other programs in use when you start WAS CE server?
  • CharlieWaffles
    CharlieWaffles
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-16T18:40:37Z  
    hi,CharlieWaffles. I tested WAS CE 3.0.0.0 in Windows Server 2008 Enterprise Edition R2(64bit). And the JDK I used is JRE 1.6.0 IBM J9 2.4. The CPU utilization spikes up to 100% with 99% being taken by java.exe too. But it just took one or two minutes.
    My step
    1.install IBM JDK 60SR10 win.x64.
    2.install IBM WAS CE3.0.0.0(201109141759)
    3.remove windows service as default to install via the command "service_pr.bat remove"
    4.replace service_pr.bat with which I posted in this thread.
    5.install windows service via the command "service_pr.bat install".
    6.start server via the command "net start geronimosrv".

    a few seconds after log show service was started successfully, you can open the admin console while the CPU maybe be utilized highly. one or two minute passed, and when the memory which java.exe took reached to 500M-600M, the CPU utilization came down.

    So I think WAS CE3.0.0.0 as windows service run well on the window2008 64bit. Could you provide your detail action?
    By the way, could provide the memory size in your test server? And are there any other programs in use when you start WAS CE server?
    I will try your suggestion on the Win2008 64-bit server, but what about my Win2003 32-bit system? I am sure that the JDK will not be appropriate for it, right? And is there a problem with using the Oracle Java JDK 1.6? That is what I have on both servers right now. Should I remove that JDK prior to installing IBM's JDK? Thank you for your help.
  • CharlieWaffles
    CharlieWaffles
    4 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-02-21T16:38:41Z  
    hi,CharlieWaffles. I tested WAS CE 3.0.0.0 in Windows Server 2008 Enterprise Edition R2(64bit). And the JDK I used is JRE 1.6.0 IBM J9 2.4. The CPU utilization spikes up to 100% with 99% being taken by java.exe too. But it just took one or two minutes.
    My step
    1.install IBM JDK 60SR10 win.x64.
    2.install IBM WAS CE3.0.0.0(201109141759)
    3.remove windows service as default to install via the command "service_pr.bat remove"
    4.replace service_pr.bat with which I posted in this thread.
    5.install windows service via the command "service_pr.bat install".
    6.start server via the command "net start geronimosrv".

    a few seconds after log show service was started successfully, you can open the admin console while the CPU maybe be utilized highly. one or two minute passed, and when the memory which java.exe took reached to 500M-600M, the CPU utilization came down.

    So I think WAS CE3.0.0.0 as windows service run well on the window2008 64bit. Could you provide your detail action?
    By the way, could provide the memory size in your test server? And are there any other programs in use when you start WAS CE server?
    U4UE,
    Could you provide a link for the IBM JDK 60SR10 win.x64 download? IBM website is not exactly user-friendly when it comes to locating downloads, and the best I could find was an SDK for 32-bit. No JDK of any kind not even for the 32-bit. Your help as always is greatly appreciated. Thank you.
  • U4UE_xie_zhi
    U4UE_xie_zhi
    54 Posts

    Re: Starting WASCE 3.0.0.0 as a Windows service fails

    ‏2012-03-05T03:14:47Z  
    U4UE,
    Could you provide a link for the IBM JDK 60SR10 win.x64 download? IBM website is not exactly user-friendly when it comes to locating downloads, and the best I could find was an SDK for 32-bit. No JDK of any kind not even for the 32-bit. Your help as always is greatly appreciated. Thank you.
    could you access this link
    https://review.boulder.ibm.com:7443/webapp/iwm/web/preLogin.do?lang=en_US&source=wsced

    Edited by: xiaofan_admin on Mar 4, 2012 10:14 PM
    Updated on 2012-03-05T03:14:47Z at 2012-03-05T03:14:47Z by U4UE_xie_zhi