Netbeans cannot connect to internet (java.net.ConnectException: Network is unreachable) - ide

(I'm not sure if this question belongs here or on superuser.com, but it's about IDE so...) So I installed Netbeans with installation bundle from netbeans.org and it can't connect to internet. It can't reload plugin catalog or upload files to FTP. While updating plugin catalog it gives me the error:
Unable to connect to the NetBeans because of java.net.ConnectException: Network is unreachable
I'm using Crunchbang Linux statler (a debian-based distro) so I've also tried debian repositories and it actually worked (it could connect to internet), but the newest version there is 6.0 which is very old (at least for me).
Thank you for your answers.

I had the same problem. Dual IP stack seems to cause this issue (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560142).
Appending -J-Djava.net.preferIPv4Stack=true to netbeans_default_options variable in netbeans-6.9.1/etc/netbeans.conf has solved the problem for me.

Related

SQL developer error i/o network adapter: not found a tns

I'm trying to install SQL developer (19.4.0), but when I create my first DB on windows 10, it shows me: error i/o the network adapter could not establish the connection.
I looked something on google, but every solution needs to access to app folder (C:/app/Username/...)
I downloaded the zip file from the official site and it doesn't install anything, just unzip and I can run SQL developer. I don't have any listener.ora or tnslistener.ora file.
I downloaded the version without java because I've already installed jdk 1.8
LINK: https://www.oracle.com/tools/downloads/sqldev-downloads.html
What can I do?

Simple JNDI not working with Parallels VM

We use JNDI connections for all of our jobs.
I recently upgraded to a new Macbook pro and now, none of my jobs/transformations using JNDI work. All fail with a "No suitable driver found" error.
This is really weird since the /lib subdirectory has the necessary JAR files. I put them there. I made sure my jdbc.properties file is correctly located in /Volumes/C/data-integration-5.3/simple-jndi.
Even after I copied the simple-jndi directory to /Volumes/C/ and to /Volumes/C/.pentaho, the problem remains. "No suitable driver found" error.
The problem exists with multiple JDBC drivers (Oracle, MySQL and Postgres), not just one. Where should the simple-jndi directory be located???
My laptop runs OS X Yosemite with Parallels software for MS Windows 7 pro emulation.
Make sure you have ojdbc7.jar accessible.
Solved it.
My VM user id was not a domain user id . Only local. After my helpdesk guy fixed it, I am now able to use JNDI without problem.
Weird but it works.

Weblogic Server, Timed out waiting for completion, while creating a new server

I have installed the Weblogic 12c (12.1.3) on my Windows 7 machine. After creating the Admin server and logging in, I am trying to create a new Managed Server. But when I press the create button, it takes a lot of time showing the loading symbol and finally gives the error Timed out waiting for completion: Activate State: STATE_DISTRIBUTED Target Servers States: AdminServer STATE_DISTRIBUTED.
Earlier I was working on weblogic 10.3.2 and it was working fine, but after this installation it gives me the error and I am unable to create a new Managed Server.
My JAVA_HOME is pointing to JDK 1.8 currently. Also there is this entry in the PATH variable which is something like 'C:\ProgramData\Oracle\java\javapath' which has 3 SYMLINKS to java.exe, javaw.exe and javaws.exe to my JRE 1.8 instead of the JDK 1.8. I uninstalled the JRE and just kept the JDK for the time being but still did not work.
Please advice.
Was able to find the solution for it. Pointed my JAVA_HOME back to JDK 1.7 and at the same time changed the port of NodeManager from the default 5556 to 5557 and was able to successfully create and link the Machine and the Managed Server.

SVN error running context: An existing connection was forcibly closed by the remote host

I've created an SVN repo on my Debian Wheezy build server following this tutorial.
svn --version gives 1.6.17.
Sadly, I can't commit anymore to the repo from my Windows 7 machine; it fails with the following error message:
Transmitting file data .svn: E730054: Commit failed (details follow):
svn: E730054: Error running context: An existing connection was forcibly closed
by the remote host.
I have had this error both with TortoiseSVN and the command line client.
These are the contents of /var/log/apache2/access.log on the server for the time of the failed commit: access.log.
There is no entry for the same time in the error log.
I'm still able to check out the contents of the repo and svn info http://myurl/svn/myrepo works also fine.
The Debian server with the repo is running inside a VM on a Windows Server 2008 R2 (Hyper-V-Manager 6.1). The connection from my Windows machine to the Windows Server is established using FortiClient 4.2.8.0307.
After I ran into this error yesterday, I purged svn from the server and setup the repo again. This made the repo accept commits for a couple of hours until it failed again with the same error.
Currently commits work again with TortoiseSVN but fail with the command line client.
What does E730054 mean and how can I fix it for good?
I have upgraded to Jessie in the meantime, but the situation did not improve. Commits with Tortoise stopped working again, meaning that it hangs at the "Sending Content" action for about five minutes and then prints the error that's in the title.
Checkouts still work without a hitch, though.
apache2 -v:
Server version: Apache/2.4.9 (Debian)
Server build: Mar 29 2014 21:52:01
svn --version:
svn, version 1.8.8 (r1568071)
compiled Apr 1 2014, 03:41:42 on i486-pc-Linux-GNU
Here's a thread that discusses the error, but I could not conclude a solution for my problem from it.
I noticed that the problem occurs when I want to commit the second modification of a file.
My fix
The issue went away permanently after using svnserve instead of apache2. This tutorial helped me set it up.
I had this problem with a single file while attempting to check in multiple files using Tortoise SVN on Windows 7 x64. Several attempts to commit the file using a variety of different versions of Tortoise SVN and the command-line version of SVN failed.
At the time, my laptop was using my home ISP internet connection. When I later went to work and attempted to commit the failing file from my employer's network, the file was committed without a problem.
I don't know why that was the case, but if you encounter this problem and find your way to this answer through a search engine query, you may want to try again – using a different internet connection. While not a solution to the problem, it may provide a temporary work-around.
As I was reading over the thread, it seems like some problems in the WEBDAV implementation on client site crashing the apache-thread. I had other issues with pre 1.8 repositories and I solved most of them by dump/reload the whole repository into a new one (using "svnadmin upgrade" is not sufficient!). Pre 1.8 repos have sometimes "corrupt/obsolete" data in revision files which is ignored by clients. It seems that this could cause the segfault.
You can dump/reload your repository like this:
svnadmin create newrepos
svnadmin dump oldrepos | svnadmin load newrepos
Note that it could take a tremendous amount of time to perform an update/reload cycle (approx. 1GB/h +- 50% depending mostly on disk speed).
If you have a different time, please post your time, I am doing a private research of dump/reload cycle performances.
I was getting this error.
Error running context: An existing connection was forcibly closed by the remote
I solved this issue by switching the proxy to Cntlm and it works perfectly fine.
I am using TortoiseSVN 1.9.3 version.
I was getting this error.
Error: An existing connection was forcibly closed by the remote
I am using the TortoiseSVN 1.11 version.
I am using checkpoint VPN, I simply restart my VPN connection
I too faced the similar issue.
SVN details: TortoiseSVN 1.12.0, Build 28568 - 64 Bit
Solution: Go to task manager and search for Tortoise SVN cache service, end this task and retry to update/commit the changes.
Hade same error.
My problem was with Avast antivirus, when i put the url of the svn server in the exclutions the problem was solved.
I met this problem after our svn server migrated from lan to internet. At last, I solve this problem by changing my IP Address.
For Example: from 192.168.0.60 to 192.168.0.71.
SVN Version: TortoiseSVN 1.9.7, Build 27907 - 64 Bit
OS Version: Windows 10, 1703
I too had this issue in SVN client. I cleared the temp folders in windows. Then cleared all data including auth details from "saved data" in SVN settings. Then retried in SVN, it asked for authentication and it opened fine without any error.
I had the same issue when using VPN with CollabNet's SubversionEdge.
I simply enabled Subversion Server should serve via https in Configuration -> Server Settings and this solved the issue for me.
I solved this for myself by using Eclipse to commit (I guess that's Subclipse then) instead of Tortoise 1.8.11
I didn't try too many of the other answers first but I did reboot, try diff internet connections, and I tried end tasking the TSVN Cache service. None of those worked and didn't get around to trying others. I also tried deleting the entire folder locally, did SVN checkout and applied the exact same changes (merged in a few commits from trunk) and tried committing... still wouldn't work with Tortoise SVN but then I tried Eclipse and it worked immediately.
My next commit worked perfectly fine with Tortoise SVN. Not sure what the cause was.

STLINK cannot detect my STM32VL discovery

I'm working on a debian 6.0 installed on virtualbox 4 hosted by Windows7, and I'm trying to get my STM32VL work using STLINK project that allows programming and debugging STM32 on Linux.
I followed their tutorial and installed all needed dependancies.
But when I run the program ./​​st-util -1, I get the following error:
tbarry#darkstar:~/stlink$ ./st-util -1
2014-03-20T10:18:48 WARN src/stlink-sg.c: Failed to find an stlink v1 by VID:PID
Error: could not open stlink device
Error: could not open stlink device
I underline that I have already installed Virtualbox extensions, and usb 2.0 is well handled.
Does anyone have an idea of ​​what is blocking me?
I'd same problem. It was driver problem. Windows detected my st-link as mass storage device, so st-util didn't see it. I've used zadig utility in order to change the driver.
Not having found a solution to my problem, I tried with VMware player and it worked nice.
Conclusion: Whatever the problem I had, it was coming from VirtualBox.