AnsweredAssumed Answered

SocketException

Question asked by yuva on Nov 23, 2017
Latest reply on Nov 23, 2017 by fegor

Hi

I am getting error while trying to run my application. I have done database connections correctly and previously it was working fine.Now i am facing issues with two things,

1. I am getting exception like below

 

017-11-23 14:53:30,162  ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr
AlfrescoCoreAdminHandler@5e0d1e7e_Worker-5] Tracking failed
java.net.SocketException: Software caused connection abort: recv failed
       at java.net.SocketInputStream.socketRead0(Native Method)
       at java.net.SocketInputStream.socketRead(Unknown Source)
       at java.net.SocketInputStream.read(Unknown Source)
       at java.net.SocketInputStream.read(Unknown Source)
       at sun.security.ssl.InputRecord.readFully(Unknown Source)
       at sun.security.ssl.InputRecord.read(Unknown Source)
       at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
       at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
       at sun.security.ssl.AppInputStream.read(Unknown Source)
       at java.io.BufferedInputStream.fill(Unknown Source)
       at java.io.BufferedInputStream.read(Unknown Source)
       at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:
8)
       at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106

 

       at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.
ava:1116)
       at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http
onnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
       at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMetho
Base.java:1973)
       at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodB
se.java:1735)
       at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.j
va:1098)
       at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt
MethodDirector.java:398)
       at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe
hodDirector.java:171)
       at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
:397)
       at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
:323)
       at org.alfresco.httpclient.AbstractHttpClient.executeMethod(AbstractHttp
lient.java:135)
       at org.alfresco.httpclient.AbstractHttpClient.sendRemoteRequest(Abstract
ttpClient.java:111)
       at org.alfresco.httpclient.HttpClientFactory$HttpsClient.sendRequest(Htt
ClientFactory.java:408)
       at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.ja
a:1178)
       at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.j
va:256)
       at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:
14)
       at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:174)

 

       at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:
90)
       at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
       at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
va:563)

 

2 . and the second one i am getting severe warning for bean creation exception, but the thing is,I am not using this repo named as DigiGov-repo-amp currently.I have removed this amp from C:\alfresco-community\amps folder and added some other amp file. But still it is trying install the same amp file into the alfresco.war.

Can anyone tell me, How can i uninstall this amp file from alfresco.war?

log :

 

Nov 23, 2017 2:50:30 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of clas
s org.alfresco.web.app.ContextListener
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'DigiGov-repo-amp.dictionaryBootstrap' defined in class path resource [al
fresco/module/DigiGov-repo-amp/context/bootstrap-context.xml]: Invocation of ini
t method failed; nested exception is org.alfresco.service.namespace.NamespaceExc
eption: URI http://www.mycompany.com/model/content/1.0 has already been defined
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:458)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:293)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:290)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:191)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:636)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:938)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:479)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebA
pplicationContext(ContextLoader.java:410)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:112)
        at org.alfresco.web.app.ContextLoaderListener.contextInitialized(Context
LoaderListener.java:70)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
      

 

with regards,

Yuvaraj

Outcomes