We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

Cannot start tomcat7

Hello,

I'm in step H,5-6.

I'm trying to start tomcat after I changed the n value to 4:
-XX:+UseParallelGC
-XX:ParallelGCThreads=4
-XX:MaxPermSize=180m
-XX:+CMSClassUnloadingEnabled

I also inserted 1280 in the maximum memory pool.
I clicked 'apply'
first I stoped tomcat (it was started in the previous steps and there was no mention of stopping it)
and then click start- there it failed.

log looks like:


2016-04-12 13:22:50 Commons Daemon procrun stderr initialized
Apr 12, 2016 1:22:57 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: C:\oc\tomcat\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Common Files\IBM\SPSS\DataCollection\7\DMOM\;C:\Program Files\IBM\SPSS\DataCollection\7\Accessories\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files\SASHome\Secure\ccme4;C:\Program Files\SASHome\x86\Secure\ccme4;;.
Apr 12, 2016 1:23:01 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 12, 2016 1:23:01 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Apr 12, 2016 1:23:01 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4925 ms

...


2016-04-12 13:34:18 Commons Daemon procrun stderr initialized
Unrecognized option: -XX:+UseParallelGC

2016-04-12 13:34:25 Commons Daemon procrun stderr initialized
Unrecognized option: -XX:+UseParallelGC

2016-04-12 13:34:39 Commons Daemon procrun stderr initialized
Unrecognized option: -XX:+UseParallelGC

2016-04-12 13:34:46 Commons Daemon procrun stderr initialized

2016-04-12 13:35:04 Commons Daemon procrun stderr initialized

2016-04-12 13:36:20 Commons Daemon procrun stderr initialized
Unrecognized option: -XX:+UseParallelGC

2016-04-12 13:45:10 Commons Daemon procrun stderr initialized
Unrecognized option: -XX:+UseParallelGC

2016-04-12 13:59:22 Commons Daemon procrun stderr initialized
Unrecognized option: -XX:+UseParallelGC


can you help?
Tagged:
«1

Comments

  • ebsebs Posts: 137 ✭✭
    Check if you have any white space after UseParallelGC
  • TziporaTzipora Posts: 21
    I deleted them and then clicked 'apply' and 'start'. it fails again.

    log:
    2016-04-12 14:43:42 Commons Daemon procrun stderr initialized
    Unrecognized option: -XX:+UseParallelGC

    any idea?
  • TziporaTzipora Posts: 21
    I also tried to put empty record like this:

    -Dcatalina.home=C:\oc\tomcat
    -Dcatalina.base=C:\oc\tomcat
    -Djava.endorsed.dirs=C:\oc\tomcat\endorsed
    -Djava.io.tmpdir=C:\oc\tomcat\temp
    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=C:\oc\tomcat\conf\logging.properties

    -XX:+UseParallelGC
    -XX:ParallelGCThreads=4
    -XX:MaxPermSize=180m
    -XX:+CMSClassUnloadingEnabled

    but it fails.

    log:
    2016-04-12 14:47:18 Commons Daemon procrun stderr initialized
    Apr 12, 2016 2:47:18 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: C:\oc\tomcat\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Common Files\IBM\SPSS\DataCollection\7\DMOM\;C:\Program Files\IBM\SPSS\DataCollection\7\Accessories\;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files\SASHome\Secure\ccme4;C:\Program Files\SASHome\x86\Secure\ccme4;;.
    Apr 12, 2016 2:47:18 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Apr 12, 2016 2:47:18 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
    Apr 12, 2016 2:47:18 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 371 ms
    Apr 12, 2016 2:47:18 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Apr 12, 2016 2:47:18 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.52
    Apr 12, 2016 2:47:18 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive C:\oc\tomcat\webapps\OpenClinica.war
    Apr 12, 2016 2:47:19 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:\oc\tomcat\webapps\OpenClinica\WEB-INF\lib\servlet-api-2.3.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
  • ebsebs Posts: 137 ✭✭
    There is no error in your latest log. They are INFO messages.

    Did you try the front end?
  • BinaryVisionBinaryVision Posts: 42
    Have you tried only the -XX:MaxPermSize=180m and min and max to 1280 MB? Doubt it's the issue but might be worth a try. Based on recommendation elsewhere on the forum that's what I use, the parallel settings and unloading should be handled dynamically by Tomcat now (from my understanding)
  • TziporaTzipora Posts: 21
    here is the specific window:


    is there anything to fix?
  • TziporaTzipora Posts: 21
    all Java options are:

    -Dcatalina.home=C:\oc\tomcat
    -Dcatalina.base=C:\oc\tomcat
    -Djava.endorsed.dirs=C:\oc\tomcat\endorsed
    -Djava.io.tmpdir=C:\oc\tomcat\temp
    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=C:\oc\tomcat\conf\logging.properties
    -XX:+UseParallelGC
    -XX:ParallelGCThreads=4
    -XX:MaxPermSize=180m
    -XX:+CMSClassUnloadingEnabled
  • GerbenRienkGerbenRienk Posts: 818 ✭✭✭
    Hi,
    Are you sure that tomcat is not running and OpenClinica is not accessible? In your log it says:
    Deploying web application archive C:\oc\tomcat\webapps\OpenClinica.war
  • TziporaTzipora Posts: 21
    yes. tomcat begin to start but fails after few seconds. it is in stopped mode.
    I cannot start and then stop it myself- it starts and then stops after few seconds
    .
  • TziporaTzipora Posts: 21
    log doesn't show the info message: INFO: Server Startup in XXXXX ms

    it shows only:

    2016-04-13 11:52:22 Commons Daemon procrun stderr initialized
    Unrecognized option: -XX:+UseParallelGC

Sign In or Register to comment.