I have created a scaled application and added Infinispan Cartridge from the below URL:
raw.github.com/bdecoste/openshift-origin-cartridge-infinispan/master/metadata/manifest.yml
Now I want to connect to the infinispan server from the application running in seperate gear. I am using hotrod-client. properties having the following content:
infinispan.client.hotrod.server_list = $OPENSHIFT_INIFINISPAN_HOST:$OPENSHIFT_INFINISPAN_TCP_PROXY_PORT; infinispan.client.hotrod.socket_timeout = 500 infinispan.client.hotrod.connect_timeout = 10
When I run the application I get the following in the error logs:
ISPN004007: Exception encountered. Retry 9 out of 10: org.infinispan.client.hotrod. exceptions.TransportException:: java.net.SocketTimeoutException at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransport.readByte(TcpTransport.java:184) [i nfinispan-client-hotrod-5.2.1.Final.jar:5.2.1.Final]
what causes this and how we can resolve?
Thanks a lot in advance.
You can not communicate between gears that are not part of the scaled application unless it is over port 80,443,8000,8443 using your public url.
Related
So i have a spring boot web application. I have done my application pretty muuch and I have a remote ubuntu vps server to deploy from hostinger. I configured all of needs server for my application. when i try to click "deploy" button my .war file to a tomcat server after a couple of seconds (about a minute) it returns bad gateway error code 502 following ss in my case
I tried every singe method both here and elsewhere but nothing done
here is my screen shot
I'm trying to use SignalR in ASP.NET Core 5; I've added SignalR service in service configuration and also created a hub class and its method with Angular, which is also configured as I saw on websites there codes similar but still getting below error please some help me:
Error: Failed to start the connection:
Error: WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.
This Previous question was from me ,Actually from 4 days i was facing issue in signalr Configuration but the error issue Reason was Port Number Incidently i changed My port number from application properties (Debug Properties) but forgot to change the application path in angular signalR configuration which was not showing any cores issue and i was being confused for 4 days. << I changed angular signalR Configuration withUrl path to right path and issue resolved
In RAD 7 I created a new server profile (using version 6.1) and tried to start this server without any projects added to it, with the intention of making sure the server starts up fine and then adding projects via the Add/Remove projects option. While I have done this many times before I have started getting this problem now:
1) Console says 'Server server1 open for e-business` but the server tab still shows that server is 'Starting...'
2) After several minutes I get the error saying server failed startup failed after 300 seconds.
3) Opening the FFDC log file shows the following exception
------Start of DE processing------ = [9/16/13 16:40:06:745 EDT] , key =
javax.naming.NameNotFoundException
com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info 1133
Exception = javax.naming.NameNotFoundException
Source = com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info
probeid = 1133
Stack Dump = javax.naming.NameNotFoundException: Name "RMIConnector" not found in context "".
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1095)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991)
at com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info(WsnOptimizedNamingImpl.java:566)
at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.resolve_complete_info(WsnOptimizedNamingImplBase.java:2226)
at com.ibm.WsnOptimizedNaming._NamingContextImplBase._invoke(_NamingContextImplBase.java:284)
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:627)
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:480)
at com.ibm.rmi.iiop.ORB.process(ORB.java:512)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2665)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2530)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:62)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)
4)I also see a server1_exception file with the following line in it
Index Count Time of last Occurrence Exception SourceId ProbeId
------+------+---------------------------+--------------------------
1 1 9/16/13 16:40:06:745 EDT javax.naming.NameNotFoundException
com.ibm.ws.naming.ipcos.WsnOptimizedNamingImpl.do_resolve_complete_info 1133
------+------+---------------------------+--------------------------
I do have other server profiles created for other versions of the workspace but I'm sure none of them are running while I try to run the profile in question. I noticed this started happening when I stopped one profile, then switched to another one and tried to start that up. Since then I haven't been able to start any of the profiles old or new and I keep getting this error/exception. Any help would be appreciated.
This is usually due to connectivity problems between RAD and the application server. The causes of these errors are many different possible:
Change of credentials of the user you are trying to connect with. There should be error messages in your SystemOut.log of the server to support this.
Pure connectivity errors, such as the port configuration being wrong. Check which RMI/SOAP ports you are using by accessing your administrative console directly in a browser and make sure that you have the same ports configured in your RAD configuration. Try both SOAP and RMI and most important, do not trust the automatic settings (I have found them to be wrong in more than one time).
I'm trying to configure https on JBoss-AS 7.1. When I connect via https I get a blank screen. The JBoss management console shows 4 errors on 4 requests for the https connector, but there is nothing the standalone/log/server.log for any of these failed requests.
Where is JBoss logging the failed https?
try setting the log level to DEBUG in the standalone.xml and then look at the server.log
you may find this link useful
I'm using XCode 4.0.2 to upload my iPhone app to the iTunes app store but get the following error messages:
Failure instantiating web-service client
An exception has occurred: Unable to open url: https://contentdelivery.itunes.apple.com/WebObjects/MZLabelService.woa/ws/MZITunesProducerService?wsdl
Could not connect to Apple's web service
Unable to authenticate the package: 450416349.itmsp
I've got the latest Java version (1.6) and have double checked the network settings in the Java preferences.
Any ideas?
Got to the bottom of it. Running a TCP dump on our firewall discovered that some (but not all) of the requests that XCode made were using the configured proxy, and others were not.
We allowed the proxy to be bypassed completely to test and it all worked fine.
Have you tried using Application Loader? Try that and see if it works. Hope this helps.