Hi Youcef,

Thanks for reporting the issue.
As per the logs, the issue is occurring when parsing the IPV6 IP address.
>
>  URL parsing error for : http://0:0:0:0:0:0:0:1:9292/publisher


We have not tested the product in an IPV6 environment.

We will track this issue via the JIRA you have created. [1]

[1] https://github.com/wso2/product-apim/issues/1559

On Sun, Sep 3, 2017 at 11:53 PM, Youcef HILEM <[email protected]>
wrote:

> Hi,
> This exception is thrown when I access to the API Publisher at
> https://localhost:9292/publisher
>
> C:\Platform\POC\WSO2\APIM-3.0.0\wso2apim-3.0.0-m6>.\bin\carbon.bat --run
> JAVA_HOME environment variable is set to C:\Platform\Java\jdk1.8.0_144
> CARBON_HOME environment variable is set to
> C:\Platform\POC\WSO2\APIM-3~1.0\WSO2AP~2.0-M\bin\..
> osgi> [2017-09-03 08:46:24,689]  INFO {com.zaxxer.hikari.HikariDataSource}
> -
> HikariPool-0 - is starting.
> [2017-09-03 08:46:25,324]  INFO {com.zaxxer.hikari.HikariDataSource} -
> HikariPool-1 - is starting.
> [2017-09-03 08:46:25,533]  INFO
> {org.wso2.carbon.lcm.sql.LifecycleDatabaseCreator} - Lifecycle DB tables
> created successfully.
> [2017-09-03 08:46:25,717]  INFO
> {org.wso2.msf4j.analytics.metrics.MetricsComponent} - Metrics Component is
> activated
> [2017-09-03 08:46:25,756]  INFO
> {org.wso2.carbon.transport.http.netty.internal.
> HTTPTransportServiceComponent}
> - All CarbonHTTPServerInitializers are available
> [2017-09-03 08:46:25,957]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.msf4j.swagger.SwaggerDefinitionService@258efa0f
> [2017-09-03 08:46:25,982]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.admin.BlacklistApi@1058e7de
> [2017-09-03 08:46:25,996]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.admin.LabelsApi@1f0ddb56
> [2017-09-03 08:46:26,063]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.admin.PoliciesApi@67a21ce1
> [2017-09-03 08:46:26,109]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.admin.WorkflowsApi@77bef20e
> [2017-09-03 08:46:26,153]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.authenticator.AuthenticatorAPI@3a63340a
> [2017-09-03 08:46:26,201]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.ApisApi@75334517
> [2017-09-03 08:46:26,250]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.ApplicationsApi@5925bff7
> [2017-09-03 08:46:26,292]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.BlacklistApi@36d15239
> [2017-09-03 08:46:26,344]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.EndpointsApi@25ecbdbd
> [2017-09-03 08:46:26,389]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.ExportApi@100fbbd9
> [2017-09-03 08:46:26,435]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.GatewaysApi@64a16428
> [2017-09-03 08:46:26,486]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.PoliciesApi@58ddb21f
> [2017-09-03 08:46:26,526]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.ResourcesApi@189cedec
> [2017-09-03 08:46:26,576]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.core.SubscriptionsApi@75204c55
> [2017-09-03 08:46:26,685]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.publisher.ApisApi@5e5fd600
> [2017-09-03 08:46:26,775]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.publisher.EndpointsApi@54d8b3be
> [2017-09-03 08:46:26,865]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.publisher.ExportApi@1a9dff73
> [2017-09-03 08:46:26,994]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.publisher.ImportApi@6d280b48
> [2017-09-03 08:46:27,109]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.publisher.LabelsApi@18bb07f9
> [2017-09-03 08:46:27,225]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.publisher.PoliciesApi@346a1c6d
> [2017-09-03 08:46:27,309]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.publisher.SubscriptionsApi@281b3588
> [2017-09-03 08:46:27,437]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.ApisApi@5440988
> [2017-09-03 08:46:27,541]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.ApplicationsApi@216db7bf
> [2017-09-03 08:46:27,635]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.CompositeApisApi@502b716f
> [2017-09-03 08:46:27,752]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.LabelInfoApi@75062aab
> [2017-09-03 08:46:27,863]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.PoliciesApi@32d156ef
> [2017-09-03 08:46:27,961]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.SelfSignupApi@7e4ddf45
> [2017-09-03 08:46:28,047]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.SubscriptionsApi@756669ea
> [2017-09-03 08:46:28,166]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.store.TagsApi@31f1469f
> [2017-09-03 08:46:28,311]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.apimgt.rest.api.webserver.PublisherApi@9af1860
> [2017-09-03 08:46:28,322]  INFO
> {org.wso2.msf4j.internal.MicroservicesServerSC} - All microservices are
> available
> [2017-09-03 08:46:28,423]  INFO {org.wso2.carbon.uuf.internal.UUFServer} -
> RenderableCreator
> 'org.wso2.carbon.uuf.renderablecreator.hbs.internal.HbsRenderableCreator'
> registered for [hbs] extensions.
> [2017-09-03 08:46:28,431]  INFO {org.wso2.carbon.uuf.internal.UUFServer} -
> RenderableCreator
> 'org.wso2.carbon.uuf.renderablecreator.html.internal.
> HtmlRenderableCreator'
> registered for [html] extensions.
> [2017-09-03 08:46:28,846]  INFO
> {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController}
> -
> Started listener https-9292
> [2017-09-03 08:46:28,847]  INFO
> {org.wso2.carbon.transport.http.netty.listener.ServerConnectorController}
> -
> HTTPS Interface netty-gw-https starting on host  0.0.0.0 and port 9292
> [2017-09-03 08:46:28,874]  INFO {org.wso2.carbon.uuf.internal.UUFServer} -
> 'org.wso2.carbon.uuf.internal.UUFServer' registered as a Server.
> [2017-09-03 08:46:28,900]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.uuf.httpconnector.msf4j.UUFMicroservice@367b38e5
> [2017-09-03 08:46:28,901]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager}
> -
> You are trying to add an available capability org.wso2.msf4j.Microservice
> from bundle(org.wso2.carbon.uuf.httpconnector.msf4j:1.0.0.m14) to an
> already
> activated startup listener component wso2-microservices-server in
> bundle(msf4j-core:2.3.0.m1). Refer the Startup Order Resolver documentation
> and verify your configuration
> [2017-09-03 08:46:28,905]  INFO
> {org.wso2.carbon.uuf.httpconnector.msf4j.internal.MSF4JHttpConnector} -
> UUF
> app 'org.wso2.carbon.apimgt.web.store' is available at '/store'.
> [2017-09-03 08:46:28,907]  INFO
> {org.wso2.msf4j.internal.MicroservicesRegistryImpl} - Added microservice:
> org.wso2.carbon.uuf.httpconnector.msf4j.UUFMicroservice@35bac4b9
> [2017-09-03 08:46:28,907]  WARN
> {org.wso2.carbon.kernel.internal.startupresolver.StartupComponentManager}
> -
> You are trying to add an available capability org.wso2.msf4j.Microservice
> from bundle(org.wso2.carbon.uuf.httpconnector.msf4j:1.0.0.m14) to an
> already
> activated startup listener component wso2-microservices-server in
> bundle(msf4j-core:2.3.0.m1). Refer the Startup Order Resolver documentation
> and verify your configuration
> [2017-09-03 08:46:28,909]  INFO
> {org.wso2.carbon.uuf.httpconnector.msf4j.internal.MSF4JHttpConnector} -
> UUF
> app 'org.wso2.carbon.apimgt.web.editor' is available at '/editor'.
> [2017-09-03 08:46:28,910]  INFO
> {org.wso2.carbon.kernel.internal.CarbonStartupHandler} - WSO2 Carbon
> Kernel
> started in 7,901 sec
> [2017-09-03 08:47:02,946] ERROR
> {org.wso2.carbon.apimgt.rest.api.webserver.impl.PublisherApiServiceImpl} -
> Invalid URL, URL parsing error for : http://0:0:0:0:0:0:0:1:9292/publisher
> java.net.MalformedURLException: For input string: "0:0:0:0:0:0:1:9292"
>         at java.net.URL.<init>(URL.java:627)
>         at java.net.URL.<init>(URL.java:490)
>         at java.net.URL.<init>(URL.java:439)
>         at
> org.wso2.carbon.apimgt.rest.api.webserver.impl.PublisherApiServiceImpl.
> publisherGet(PublisherApiServiceImpl.java:30)
>         at
> org.wso2.carbon.apimgt.rest.api.webserver.PublisherApi.
> publisherGet(PublisherApi.java:59)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at
> org.wso2.msf4j.internal.router.HttpMethodInfo.invoke(
> HttpMethodInfo.java:132)
>         at
> org.wso2.msf4j.internal.MSF4JMessageProcessor.dispatchMethod(
> MSF4JMessageProcessor.java:139)
>         at
> org.wso2.msf4j.internal.MSF4JMessageProcessor.lambda$receive$0(
> MSF4JMessageProcessor.java:81)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1149)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NumberFormatException: For input string:
> "0:0:0:0:0:0:1:9292"
>         at
> java.lang.NumberFormatException.forInputString(
> NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:580)
>         at java.lang.Integer.parseInt(Integer.java:615)
>         at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:222)
>         at java.net.URL.<init>(URL.java:622)
>         ... 14 more
>
>
>
> Thanks,
> Youcef HILEM
>
>
>
> --
> Sent from: http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-
> Development-f3.html
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <[email protected]>[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to