0
votes

i'm using the WSO2 ESB to integrate several services on the Windows virtual machine. I used the simple proxy to map the services deployed on it. But the problem is what i can't access them from outside it nevetheless the port 8280 where services are deployed is open for internet, but i can see only blank page instead. What could be wrong? Another question is i was trying to map the WSO2 ESB management console itself to be availbe from outside the machine using simple proxy, and i'm failed, it loads me the this is what i see on trying the service.

Could you please give me a hint on how to resolve this issue? is it possible to share the esb mgmt console using the ESB itself?

Thanks a lot in advance,

4

4 Answers

0
votes

Do u have proxy in the middle? It looks like on screenshot webpage missing all pictures, meanwhile css was loaded successfully.

Another question which kind of virtual machine u use? For example in virtualbox by default virtual machine behind NAT.

I wasn't able to connect to server on virtual machine from host only opposite way server on host available in virtual machine.

To make server in virtual machine available on host need to configure network as bridge.

0
votes

Not sure if it helps, but I think I had a similar problem in our corporate network after I applied all the security patches (poodle,Diffie-Hellman etc.). I had to configure the addresses in catalina.xml (if i remember right) that are/under which allowed to access the admin console. Cannot tell you more details because I'm on holiday :-)

Maybe it's worth to give it a try.

0
votes

Another example from real life. HTTP Response from external resource was application/json, status of response 200 OK. ESB configured to use

    <messageFormatter contentType="application/json"
                      class="org.apache.synapse.commons.json.JsonStreamFormatter"/>

but content was simple text/plain.

During parsing body of http response exception was thrown and just silently was written to log, without any fault message processing. Just empty response to client.

To clarify that services reachable, there is echo service by default on server, which respond content equal to request. Try to use it.

0
votes

was trying to map the WSO2 ESB management console itself to be availbe from outside the machine using simple proxy

By default the management console tries to enforce the port 9443 for dynamic links (JSP) pages. That's why you see only part of the pages and you shouldn't be able to log on.

what you can do is edit the repository/conf/tomcat/catalina-server.xml and to the Connector running the port 9443 you can add an attribute proxyPort="443", the carbon console will be happy to run on 443.

For the services, my educated guess would be on the firewall / network rules, however without other information I cannot answer (or - they are working, just you may not try to access them by simple browser request)