[Jolie-devel] Change location of service at runtime
A service-oriented programming language.
Brought to you by:
fmontesi
From: Alessandro S. <su...@h2...> - 2016-02-03 17:54:21
|
Hello, I have to change the location of a service at runtime reading location from a database table, but when I change the location with the syntax ServicePort.location: socket://127.0.0.1:51006 I receive this message GRAVE: [main_synch_as2in.ol] java.net.URISyntaxException: Illegal character in authority at index 9: socket://127.0.0.1:51006 at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.parseAuthority(Unknown Source) at java.net.URI$Parser.parseHierarchical(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at jolie.net.ports.OutputPort.getLocation(OutputPort.java:279) at jolie.net.ports.OutputPort.getResourcePath(OutputPort.java:266) at jolie.process.SolicitResponseProcess.run(SolicitResponseProcess.java:102) at jolie.process.SequentialProcess.run(SequentialProcess.java:59) at jolie.process.RequestResponseProcess.runBehaviour(RequestResponseProcess.jav a:190) at jolie.process.RequestResponseProcess.access$000(RequestResponseProcess.java: 46) at jolie.process.RequestResponseProcess$1.run(RequestResponseProcess.java:117) at jolie.process.SequentialProcess.run(SequentialProcess.java:59) at jolie.SessionThread.runProcess(SessionThread.java:464) at jolie.ExecutionThread.run(ExecutionThread.java:470) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) What is the problem? How can I solve this? Thanks Alessandro Suzzi <mailto:su...@h2...> su...@h2... H2B s.r.l. Via del Grano, 241 47822 - Santarcangelo di Romagna (RN) Tel. 0541/685474 - Fax 0541/621092 P Per favore considera l'ambiente. Devi davvero stampare questa mail ? Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o alla ditta/ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto ai sensi del DL nr.196/03. Nel caso in cui questo messaggio fosse da voi ricevuto per errore, vogliate cortesemente darcene notizia a mezzo fax oppure e-mail e successivamente cancellarla dal Vostro sistema. The information contained in this e-mail and any attachments May be legally privileged or confidential. If you are not an Intended recipient, you are hereby notified that any dissemination, Distribution or copying of this e-mail is strictly prohibited. If you have Received this e-mail in error, please notify the sender and permanently Delete the e-mail and any attachments immediately. You should not retain, Copy or use this e-mail or any attachment for any purpose, nor disclose all Or any part of the contents to any other person. Thank you. |