Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
04-24-2017 04:45 AM - edited 04-24-2017 04:49 AM
Hi
I´am new in Appdynamics have some problem after shutdown (./stopController.sh) it wont start anymore or it seems to start but it dosen´t work when i try to connect to the console i get http error 500 and i get this messagen in the server.log
[#|2017-04-24T13:43:51.174+0200|SEVERE|glassfish 4.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RunLevelControllerThread-1493034179004;_TimeMillis=1493034231174;_LevelValue=1000;
_MessageID=NCLS-CORE-00026;|Exception during lifecycle processing
org.glassfish.deployment.common.DeploymentException: Error in linking security policy for controller -- Inconsistent Module State
at com.sun.enterprise.security.ee.SecurityUtil.linkPolicyFile(SecurityUtil.java:336)
at com.sun.enterprise.security.ee.SecurityDeployer.linkPolicies(SecurityDeployer.java:319)
at com.sun.enterprise.security.ee.SecurityDeployer.access$100(SecurityDeployer.java:87)
at com.sun.enterprise.security.ee.SecurityDeployer$AppDeployEventListener.event(SecurityDeployer.java:145)
at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:328)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:406)
at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:243)
at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:326)
at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374)
at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228)
at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114)
at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java)
at java.lang.Thread.run(Thread.java:745)
|#]
[#|2017-04-24T13:43:51.175+0200|SEVERE|glassfish 4.1|javax.enterprise.system.core|_ThreadID=31;_ThreadName=RunLevelControllerThread-1493034179004;_TimeMillis=1493034231175;_LevelValue=1000;|Exception while loading the app|#]
[#|2017-04-24T13:43:51.266+0200|SEVERE|glassfish 4.1|javax.enterprise.web|_ThreadID=31;_ThreadName=RunLevelControllerThread-1493034179004;_TimeMillis=1493034231266;_LevelValue=1000;_MessageID=AS-WEB-GLUE-00192;|Undeployment failed for context /controller|#]
//Thomas
Solved! Go to Solution.
04-25-2017 02:15 AM
Hi Thomas,
Can you please do a stepwise restart of controller and let us know your observations.
Stop the controller app-server
/controller/bin/controller.sh stop-appserver
Stop the DB
/controller/bin/controller.sh stop-db
Make sure that the mysql and java processes are not running on the machine, if it exists, kill them. Below command should not return any process:
ps -ef | grep java
ps -ef | grep mysql
Start the DB
/controller/bin/controller.sh start-db
Start the controller app-server
/controller/bin/controller.sh start-appserver
This should hopefully fix the issue.
Let us know how it goes. Please wait for 10-15 mins once you see the controller has started message after you run point #5.
One reason where you see HTTP 500 error is that controller could be in a state of warming up and it might take controller to do some house keeping tasks related to database. During that time, you could expect to see HTTP 500
Thanks
Rajesh
04-25-2017 02:17 AM
Hi
I reinstalled the controller and now it works fine.
//Thomas
04-25-2017 02:22 AM
Hi Thomas,
Glad to hear this good news.
Thanks
Rajesh
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form