Alfresco / alfresco-sdk

The Alfresco In-Process SDK is based on Apache Maven, includes support for rapid and standard development, testing, packaging, versioning and release of your Alfresco integration and extension projects
Apache License 2.0
185 stars 113 forks source link

getting port issue after doing deploying jar type using sdk 3.0.1 #488

Closed kranthi23 closed 5 years ago

kranthi23 commented 6 years ago

Hi @ohej ,

I did build using alfresco sdk 3.0.1 for both platform and share side with jar type.After doing build and deployed in another server for testing I am getting error.Here I am having two different projects in eclipse for share and repo.

I am pointing to 8090 installed with AC-5.2 version.And also I checked in my code share-config-custom.xml whether it contains 8080 port anywhere but it's not having that.Please find the log files.

alfrescotomcat-2-stdout.2018-01-05.log

2018-01-05 15:41:59,530 INFO [webscripts.connector.RemoteClient] [http-apr-8090-exec-3] Exception calling (GET) http://localhost:8080/alfresco/s/api/admin/restrictions?guest=true 2018-01-05 15:41:59,534 INFO [webscripts.connector.RemoteClient] [http-apr-8090-exec-3] Error status 503 Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect login

binduwavell commented 6 years ago

@kranthi23, when you say you deploy to another server for testing, I assume you copied your jar files into modules/platform and module/share appropriately for a deployment that was made with the Alfresco installer. If that is the case, please remove the jars and make sure you don’t still have the problem. If you’re have the problem without your customizations deployed, this would be a config issue unrelated to the SDK.

kranthi23 commented 6 years ago

@binduwavell if I remove those then it work's.I have checked in share-custom configuration for 8080 port but it is not exits there.

binduwavell commented 6 years ago

Can you share your customization so folks can take a look?

ohej commented 5 years ago

Haven't been able to reproduce this issue and no additional info provided in over a year. Feel free to open a new issue with more info.