Skip FOLIO Project Navigation

deployment mod-circulation-storage on okapi

#1

Hello,
I’m trying to deploy mod-circulation-storage as module on okapi,but get the error “Could not connect to port 9131: connection timed out: localhost/127.0.0.1:9131”.
Here my moduleDescriptor.json:
{
“id”: “mod-circulation-storage-8.1.0-SNAPSHOT”,
“name”: “Circulation Storage Module”,
“provides”: [
{
“id”: “staff-slips-storage”,
“version”: “1.0”,
“handlers”: [
{
“methods”: [“GET”],
“pathPattern”: “/staff-slips-storage/staff-slips”
},
{
“methods”: [“POST”],
“pathPattern”: “/staff-slips-storage/staff-slips”
}
]
}
],
“launchDescriptor”: {
“exec”: “java -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y -Dport=%p -jar D:\work\okapi\mod-circulation-storage/target/mod-circulation-storage-fat.jar”
}
}

and server log:
09:37:10 INFO TcpPortWaiting tryConnect() port 9131 count 1
10 五月 2019 09:37:10:906 INFO PomReader [1459eqId] module name: mod_circulation_storage, version: 8.1.0
Getting rules from jar:file:/D:/work/okapi/mod-circulation-storage/target/mod-circulation-storage-fat.jar!/rules
10 五月 2019 09:37:11:326 INFO LogUtil [1879eqId] org.folio.rest.RestVerticle start metrics enabled: true
09:37:11 INFO TcpPortWaiting tryConnect() port 9131 count 2
10 五月 2019 09:37:11:418 INFO AnnotationGrabber$1 [1971eqId] Mapping functions in org.folio.rest.jaxrs.resource.CancellationReasonStorage class to appropriate urls
10 五月 2019 09:37:11:457 INFO AnnotationGrabber$1 [2010eqId] Mapping functions in org.folio.rest.jaxrs.resource.CirculationRulesStorage class to appropriate urls
10 五月 2019 09:37:11:459 INFO AnnotationGrabber$1 [2012eqId] Mapping functions in org.folio.rest.jaxrs.resource.FixedDueDateScheduleStorage class to appropriate urls
10 五月 2019 09:37:11:464 INFO AnnotationGrabber$1 [2017eqId] Mapping functions in org.folio.rest.jaxrs.resource.LoanPolicyStorage class to appropriate urls
10 五月 2019 09:37:11:469 INFO AnnotationGrabber$1 [2022eqId] Mapping functions in org.folio.rest.jaxrs.resource.LoanStorage class to appropriate urls
10 五月 2019 09:37:11:473 INFO AnnotationGrabber$1 [2026eqId] Mapping functions in org.folio.rest.jaxrs.resource.PatronNoticePolicyStorage class to appropriate urls
10 五月 2019 09:37:11:477 INFO AnnotationGrabber$1 [2030eqId] Mapping functions in org.folio.rest.jaxrs.resource.RequestPolicyStorage class to appropriate urls
10 五月 2019 09:37:11:482 INFO AnnotationGrabber$1 [2035eqId] Mapping functions in org.folio.rest.jaxrs.resource.RequestStorage class to appropriate urls
10 五月 2019 09:37:11:486 INFO AnnotationGrabber$1 [2039eqId] Mapping functions in org.folio.rest.jaxrs.resource.StaffSlipsStorage class to appropriate urls
10 五月 2019 09:37:11:489 INFO AnnotationGrabber$1 [2042eqId] Mapping functions in org.folio.rest.jaxrs.resource.Rmbtests class to appropriate urls
10 五月 2019 09:37:11:495 INFO AnnotationGrabber$1 [2048eqId] Mapping functions in org.folio.rest.jaxrs.resource.Tenant class to appropriate urls
10 五月 2019 09:37:11:508 INFO AnnotationGrabber$1 [2061eqId] Mapping functions in org.folio.rest.jaxrs.resource.JsonSchemas class to appropriate urls
10 五月 2019 09:37:11:509 INFO AnnotationGrabber$1 [2062eqId] Mapping functions in org.folio.rest.jaxrs.resource.Ramls class to appropriate urls
10 五月 2019 09:37:11:511 INFO AnnotationGrabber$1 [2064eqId] Mapping functions in org.folio.rest.jaxrs.resource.Admin class to appropriate urls
10 五月 2019 09:37:11:519 INFO AnnotationGrabber$1 [2072eqId] Mapping functions in org.folio.rest.jaxrs.resource.Jobs class to appropriate urls
10 五月 2019 09:37:11:529 INFO RestVerticle [2082eqId] ^/cancellation-reason-storage
10 五月 2019 09:37:11:531 INFO RestVerticle [2084eqId] ^/circulation-rules-storage
10 五月 2019 09:37:11:531 INFO RestVerticle [2084eqId] ^/fixed-due-date-schedule-storage
10 五月 2019 09:37:11:535 INFO RestVerticle [2088eqId] ^/loan-policy-storage
10 五月 2019 09:37:11:535 INFO RestVerticle [2088eqId] ^/loan-storage
10 五月 2019 09:37:11:535 INFO RestVerticle [2088eqId] ^/patron-notice-policy-storage
10 五月 2019 09:37:11:537 INFO RestVerticle [2090eqId] ^/request-policy-storage
10 五月 2019 09:37:11:538 INFO RestVerticle [2091eqId] ^/request-storage
10 五月 2019 09:37:11:545 INFO RestVerticle [2098eqId] ^/staff-slips-storage
10 五月 2019 09:37:11:548 INFO RestVerticle [2101eqId] ^/rmbtests
10 五月 2019 09:37:11:549 INFO RestVerticle [2102eqId] ^//tenant
10 五月 2019 09:37:11:553 INFO RestVerticle [2106eqId] ^/
/jsonSchemas
10 五月 2019 09:37:11:553 INFO RestVerticle [2106eqId] ^/_/ramls
10 五月 2019 09:37:11:554 INFO RestVerticle [2107eqId] ^/admin
10 五月 2019 09:37:11:554 INFO RestVerticle [2107eqId] ^/jobs
10 五月 2019 09:37:11:561 INFO RestVerticle [2114eqId] 1 verticles deployed
10 五月 2019 09:37:11:652 INFO RestVerticle [2205eqId] init succeeded…
10 五月 2019 09:37:11:720 INFO LogUtil [2273eqId] org.folio.rest.RestVerticle runPeriodicHook Periodic hook called with implemented class named org.folio.rest.impl.RequestExpiryImpl
09:37:12 INFO TcpPortWaiting tryConnect() port 9131 count 3
10 五月 2019 09:37:12:368 INFO LogUtil [2921eqId] org.folio.rest.RestVerticle runPostDeployHook no Post Deploy Hook implementation found, continuing with deployment
10 五月 2019 09:37:12:369 INFO LogUtil [2922eqId] org.folio.rest.RestVerticle start http server for apis and docs started on port 8081.
10 五月 2019 09:37:12:370 INFO LogUtil [2923eqId] org.folio.rest.RestVerticle start Documentation available at: http://localhost:8081/apidocs/
10 五月 2019 09:37:12:375 INFO VertxIsolatedDeployer [2928eqId] Succeeded in deploying verticle
09:37:13 INFO TcpPortWaiting tryConnect() port 9131 count 4
09:37:14 INFO TcpPortWaiting tryConnect() port 9131 count 5
09:37:15 INFO TcpPortWaiting tryConnect() port 9131 count 6
09:37:17 INFO TcpPortWaiting tryConnect() port 9131 count 7
09:37:19 INFO TcpPortWaiting tryConnect() port 9131 count 8
09:37:21 INFO TcpPortWaiting tryConnect() port 9131 count 9
09:37:23 INFO TcpPortWaiting tryConnect() port 9131 count 10
09:37:25 INFO TcpPortWaiting tryConnect() port 9131 count 11
09:37:28 INFO TcpPortWaiting tryConnect() port 9131 count 12
09:37:31 INFO TcpPortWaiting tryConnect() port 9131 count 13
09:37:34 INFO TcpPortWaiting tryConnect() port 9131 count 14
09:37:37 INFO TcpPortWaiting tryConnect() port 9131 count 15
09:37:40 INFO TcpPortWaiting tryConnect() port 9131 count 16
09:37:44 INFO TcpPortWaiting tryConnect() port 9131 count 17
09:37:48 INFO TcpPortWaiting tryConnect() port 9131 count 18
09:37:52 INFO TcpPortWaiting tryConnect() port 9131 count 19
09:37:56 INFO TcpPortWaiting tryConnect() port 9131 count 20
09:38:00 INFO TcpPortWaiting tryConnect() port 9131 count 21
09:38:05 INFO TcpPortWaiting tryConnect() port 9131 count 22
09:38:10 INFO TcpPortWaiting tryConnect() port 9131 count 23
09:38:15 INFO TcpPortWaiting tryConnect() port 9131 count 24
09:38:20 INFO TcpPortWaiting tryConnect() port 9131 count 25
09:38:25 INFO TcpPortWaiting tryConnect() port 9131 count 26
09:38:31 INFO TcpPortWaiting tryConnect() port 9131 count 27
09:38:37 INFO TcpPortWaiting tryConnect() port 9131 count 28
09:38:43 INFO TcpPortWaiting tryConnect() port 9131 count 29
09:38:49 INFO TcpPortWaiting tryConnect() port 9131 count 30
09:38:49 WARN DeploymentManager Deploying mod-circulation-storage-8.1.0-SNAPSHOT failed
09:38:49 INFO ProxyContext 971422/discovery;183966/deployment RES 400 100578824us okapi Deployment failed. Could not connect to port 9131: connection timed out: localhost/127.0.0.1:9131
09:38:49 ERROR HttpResponse HTTP response code=400 msg=Deployment failed. Could not connect to port 9131: connection timed out: localhost/127.0.0.1:9131
09:38:49 INFO ProxyContext 971422/discovery RES 400 100591316us okapi Deployment failed. Could not connect to port 9131: connection timed out: localhost/127.0.0.1:9131
09:38:49 ERROR HttpResponse HTTP response code=400 msg=Deployment failed. Could not connect to port 9131: connection timed out: localhost/127.0.0.1:9131

we are using system enviroment:
-Windows 10

#2

Hey Jude (sorry, couldn’t resist!)

You might do better asking on the #support Slack channel, since developers are not here on Discuss very much. If you have not already signed up for FOLIO Slack, you can do that at https://slack-invitation.folio.org/

Thanks,
A-M

1 Like
#3

Hi Ann,

‘reCaptcha validation not successful’ by the invitation page.
slack channel seams invite only.
do you have any suggestion?

thanks & regards,