AnsweredAssumed Answered

Facing problem with HTTP ERROR 500 on port 4578

Question asked by amitabhb74 on Dec 23, 2016
Latest reply on Dec 24, 2016 by mitpatoliya

Hi,

 I am new to Alfresco development. I am following ecmarchitect tutorial by Jeff Potts at About the Alfresco Developer Tutorial Series | ECM Architect. While working out the sample content model as describe in - "Working with Custom Content Types in Alfresco" and deploying it using Maven 3.3.9. I am encountering problem HTTP Error: 500, Problem accessing /com.someco.demoamp.test.DemoComponentTest.

Please find the complete stack trace of the problem.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.someco.demoamp.test.DemoComponentTest
java.lang.RuntimeException: Unable to send request to http://localhost:4578/com.someco.demoamp.test.DemoCompon
entTest?method=testChildNodesCount&runner=org.springframework.test.context.junit4.SpringJUnit4ClassRunner: <ht
ml>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 com.someco.demoamp.test.DemoComponentTest</title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /com.someco.demoamp.test.DemoComponentTest. Reason:
<pre>    com.someco.demoamp.test.DemoComponentTest</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>

 


</body>
</html>

 

        at com.tradeshift.test.remote.internal.InternalRemoteRunner.handleError(InternalRemoteRunner.java:189)

 

        at com.tradeshift.test.remote.internal.InternalRemoteRunner.runChild(InternalRemoteRunner.java:143)
        at com.tradeshift.test.remote.internal.InternalRemoteRunner.runChild(InternalRemoteRunner.java:41)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
java.lang.RuntimeException: Unable to send request to http://localhost:4578/com.someco.demoamp.test.DemoCompon
entTest?method=testWiring&runner=org.springframework.test.context.junit4.SpringJUnit4ClassRunner: <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 com.someco.demoamp.test.DemoComponentTest</title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /com.someco.demoamp.test.DemoComponentTest. Reason:
<pre>    com.someco.demoamp.test.DemoComponentTest</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>

 

If I try http://localhost:4578 on browser, it gives me HTTP 500 error.

 

Any help in this direction will be helpful.

 

Thanks

Amitabh

Attachments

Outcomes