I am new to IBM WorkLight. I am getting an error when I am trying to execute "Build All And Deploy" from the Run menu from eclipse IDE when my Mac connected to Internet (static IPv4). I am using Mac Book Pro with mac os x 10.9. If it is disconnected from the Internet then build will get succeeded. The error message is given below,
Failed executing POST /applications/upload
java.lang.RuntimeException: java.net.SocketTimeoutException: Socket operation timed out before it could be completed
Please help to resolve this issue.
Thanks
I suspect you got more than one IPv4 address for your machine.
can you post here the result of the 'ifconfig' command (while failure occurs)? (run it in terminal).
in such case you will need to tell Eclipse which IP you prefer for your Development Worklight Server or to close extra network interfaces (for example: disable wireless network).
You can affect Eclipse and "hint" what IP should be chosen by using a special environment variable which contains a begining of an IP (or just the whole IP address)
for example: WL_PREFERRED_IP_PREFIX=192.168.4
this will help Eclipse detect your server on 192.168.4.100 (for example).
Related
Here is my working context;
no internet (I use my company's intranet)
Linux CentOS 7.9 remote server with my source files
PhpStorm 2021.3.2 on my development PC
My wish is to develop on my PC on remote sources. Your new JetBrains Gateway solution seems to meet my expectations on paper.
However, in practice, I have the impression that it is not possible to use this solution without internet ? Indeed, the connection process stops on this failure:
Looks like your solution is trying to download an IDE client to install on my machine. Which from my point of view is a weird behavior because I already have a client to install on my machine: PhpStorm. Why not use my PhpStorm client already installed on my machine ?
Thank you for your reply
The "Jetbrains Client" mentioned in the error message is not for your local machine, but for the Linux server:
Once the IDE version and project directory are selected, Gateway will download the IDE to the remote server, unpack it, and launch it with your project loaded.
It acts on the remote server as a "backend IDE" to which the client on your local machine connects:
The JetBrains Client runs locally and provides the user interface for the IDE backend.
You would not even require the full PHPStorm IDE, the Jetbrains Gateway is a standalone app that comes with a "thin client" that can connect to the backend IDE:
This whole process is managed by JetBrains Gateway, a new, compact, standalone app that provides everything you need to get started with remote development. Since it’s standalone, it’s the only thing you need to install locally to start working and is ideal for less powerful laptops and in cases where a full IDE install isn’t desired.
See https://blog.jetbrains.com/blog/2021/12/03/dive-into-jetbrains-gateway/ for a more detailed look at how it works.
To answer your question: it is not possible to use Jetbrains Gateway without an internet connection.
I just downloaded JProfiler and tried to connect to a remote JVM.
When I click "OK" I get an error message saying:
"Another application is listening on port 8888. Please check your port configuration".
I also succeeded to profile this machine with 8888 with Java Mission Control (JMC). However, JMC asked me for a username and password and only then allowed the connection.
JProfiler does not use JMX to connect to a profiled JVM, it uses its own protocol. Also, you can only use the attach mode in your screen shot if the profiling agent is already loaded. You would either have to start the profiled JVM with the -agentpath=... VM parameter as given by "Session->Integration Wizards->New Remote Integration" or run the command line tool bin/jpenable on the remote machine to prepare a selected process for profiling. This will tell you the port you have to connect to.
Alternatively, you can use the "quick attach" feature in the start center to connect to any remote unrprofiled JVM through SSH. Then you do not have to prepare the JVM for profiling.
If you use the JProfiler in local Windows machine ,may be you can try run the jprofiler.exe and then click "session - Start center - Quick Attach ",then pick the Process Name that associated to your program.
I have used loadrunner 12.53 in my previous machine and had connected to a telnet host for recording without any issues.
But I recently downloaded 12.55 community edition in my new machine. When I give the host name and terminal type as before, it says "unable to connect to host".
I don't have any idea why it is showing this. The installation was done the same way as before. The telnet application also didn't change recently. Can you suggest what could be the problem?
I am using 2 computers and both are running fedora 23. In computer A I have installed ovirt engine 4.0 and in computer B I installed ovirt node 4.0.3 on a virtual machine manager and both the computer are in a same network.
When I login to the engine admin account using web interface, I tried to setup a host, but always gives error as install failed as shown below, any idea whats going wrong here?
Engine Host setup error picture
I thought it might be due to node storage issue, I tried to setup a node shared storage, again it gives error. Can anyone help how to setup a shared storage for node?
Node storage setup issue
in the lower panel you can see a message telling you that it failed to verify power management configuration.
You can see more messages if you'll go to the events tab.
For full details you can check the host installation log.
I am developing windows store apps for the surface tablet.
I am remote debugging onto a surface tablet via the local network. At first I had no issues with this, and then occasionally about one out of every four times it would fail to deploy, and I would get the message:
Error: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'my_debugging_tablet'. The debugger cannot connect to the remote computer. The debugger was unable to resolve the specified computer name.
Initially when this happened, I would simply deploy the project again and the error would not occur again, or, occasionally, I would close and then re-open the Remote Debugging Monitor on the tablet, but generally this would happen seemingly randomly and not re-occur.
However, lately, it has been happening more and more often (with no changes to my code) and now I have been unable to deploy at all, ever, for a couple of days now (and thus I cannot debug on my tablet.)
The same error message listed above is what displays every time I try to deploy or debug.
I verified in project properties that the target device and remote machine name were set correctly, and each time verified that the connection on both the surface tablet and my host computer were fine (my host machine is Windows 8 on Oracle Virtualbox.)
From project properties, if I attempt to manually "Find" the target device (as it does when you deploy back when this used to work) it is unable to locate my tablet (or anything) on my local network. ("Found 0 connections on my subnet")
My MS developer license registration is up to date as well. Additionally, there doesn't seem to be an issue the local network, as both my host machine and the tablet can "see" other things on the network (printers, etc.)
I can't for the life of me figure this out, because, as I mentioned, there have not been any changes to anything such as developer license registration, network status, code, or anything else that should have affected this.
I originally read your question and thought you were saying the two devices could see each other, except through Visual Studio. I was scratching my head at that.
Visual Studio just uses the OS to resolve names and addresses. I recommend troubleshooting the connectivity problems outside of VS, as the problem is larger than just trouble with remote debugging.
Try nbtstat -n to verify you can see what you expect on your network.