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

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?

Related

Is analytics available with the MobileFirst Platform CLI developer edition?

I have installed the MobileFirst Platform CLI developer edition from https://developer.ibm.com/mobilefirstplatform/install/#clui
I am trying to investigate the analytics of the application, but this doesn't seem to be properly installed from here.
I am able to create a MFP server, start it and access the console. It doesn't have a link to the analytics in the top-right of the console as it does in the developer edition provided by Eclipse. Is this behaviour as expected or is there something missing?
I have tried installing this package twice. I am running on OSX 10.10
In the Liberty servers directory, /Users//.ibm/mobilefirst/6.3.0/server/wlp/usr/servers, I can see the Worklight folder. It has an _analytics.war file in it (which is different from my Eclipse install which has a worklight-analytics.war and worklight-analytics-service.war)
And in the messages.log file, I am getting messages saying that the web application _analytics is available.
But I then a number of messages with
com.worklight.analytics.api.AnalyticsHttpService.sendDataToURL target server response code: 404
Going directly to http://localhost:10080/_analytics responds with an "Authorization failed" message.
Update - Got it working
I uninstalled the dev edition CLI and downloaded the CLI from Passport Advantage and installed it from there. The analytics feature now seems to work. Although the link to it is still not available in the top right of the console.
I don't know if it's a different install package, or an issue on my Mac that I inadvertently resolved, but the analytics feature is now working
The issue here was that the version you originally downloaded was not up-to-date.
This will be corrected soon.
Proper mechanisms will be put in place so that this will not happen again.
Yesterday I downloaded and installed the publically available MobileFirst Platform 6.3 CLI from https://developer.ibm.com/mobilefirstplatform/install/#clui. I created a simple app which connects to the MFP server.
Result: Analytics works without any problem.
So you do not have to buy the product just to use the CLI with analytics.

IBM MobileFirst Platform Studio SQL Adapter User Password in Encrypted format

I'm Using IBM SQLAdapter for storing updating user information.. but I want to store password in database in encrypted format. and displaying password shown in decrepted format.. how can i do this using IBM MobileFirst Stdio
If you will read the error message, you'll see it's not related to your installed Java version nor to the Eclipse version you're using.
I've tried myself on Mac OS X 10.10.1 and Eclipse Kepler SR2. The installation from the Marketplace was successful. Note that the installed artifacts are the same whether you use Windows, Linux or Mac.
It was very slow, though, so it could be it something 'bad' happened during it.
This may also be due to either a network problem or temporary cache problem on the servers.
What you can do:
Wait and try again later,
Or download this Studio .zip file. Then, in Eclipse > Help > Install new software... > Add > Archive, and select the downloaded .zip file.

how to install jdbc driver for sql server

Hi I am new to eclipse ; I am trying to do example of nhibernate ; I downloaded sqljdbc4jar and uzipped it but when I double click to install it is not installing and no messages on windows 7 why it is not installing.however in windows 8 i am getting messages: cannot launch this type of file file types that contain executable code like exe ..cannot be launched
Try downloading JDBC driver for SQL Server from this Microsoft website:
http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774
This Binary Code is: Microsoft JDBC Driver 4.0 for SQL Server
Make sure you follow the installation instruction on the same link, to probably install it.

installing phonegap on windows7 error

I am a web developer and new to Phonegap..
I was trying to install phone gap on my windows 7 machine as per described here
http://docs.phonegap.com/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface
but when i run the following command
cordova platform add android
i am getting the following error
[Error: An error occured during creation of android sub-project.
ERROR : executing command 'ant', make sure you have ant installed and added to y
our path.
]
does this mean that i should install apache ant on my machine ? if so can someone redirect me to right link.
I am also running wampserver on my machine for my other developments..
will installing 'ant' affect on my wamp ?
As described in PhoneGap Getting Started
Finally, you may need to include %ANT_HOME%\bin to your PATH as well. To check to see if this is required, run a command prompt and type ant. If the program can not be found add %ANT_HOME%\bin to the PATH. You may need to specify the full path instead of using the %ANT_HOME% environment variable.
If you need ant for Windows, you may want to download and install it from here
You need ant to add the android platform.
Ant is a java-based build tool.
You can get further informations and download it at http://ant.apache.org.
ant has nothing to do with the apache webserver and doesn't effect your wamp installation. It's another software product provided by the apache foundation.
lg
fastrde

How to install pgAgent service on windows

I am new in postgreSQL database , I recently found that postgreSQL support SQL Job by pgAgent. I am using windows XP operating system.
I searched lots about pgAgent on Google and trying to configure pgAgent on machine.
Download pgAgent package in which I found pgagent.sql file after executing this file JOB(0) icon is appear on my pgAdmin III object panel. like following image.
But I am facing problem to register pgAgent service. As per postgres sql documentation following is next steps to register services but I am fail to do this. or don't know how to configure pgAgent service.
Following step from postgre sql documentaion :
The service may be quite simply installed from the command line as follows:
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p secret hostaddr=127.0.0.1 dbname=pgadmin user=postgres
but I tried lot to do this, please help in how to register pgAgent service with Windows XP.
reference link of postgre sql : http://www.pgadmin.org/docs/1.6/pgagent-install.html
Please help in this , Thanks in Advance !
PgAgent is probably not installed
The pgAgent download page says:
pgAgent is a job scheduler for PostgreSQL which may be managed using
pgAdmin. Prior to pgAdmin v1.9, pgAgent shipped as part of pgAdmin.
From pgAdmin v1.9 onwards, pgAgent is shipped as a separate
application.
And then it provides a download link to http://www.postgresql.org/ftp/pgadmin3/release/pgagent/
But the problem is there's only source code there. There are also SQL files in the tarball but they're useless without pgagent.exe.
How to install it
Apparently the correct way to install a pre-compiled pgAgent is with the Stack Builder installer that also happens to be the primary installation method on Windows for the PostgreSQL server itself. That's what is suggested on the official download page:
http://www.postgresql.org/download/windows/
If you have already installed PostgreSQL for Windows with this method, the installer is available under the name Application Stack Builder in the PostgreSQL 9.2 folder in Windows Start Menu.
StackBuilder will normally recognize your installed PostgreSQL version(s), and suggest to install among various programs pgAgent in the Add-ons, tools and utilities category.
Once you check pgAgent and continue with the installation, it will download it and launch its setup. The setup phase includes runnning the necessary SQL statements and installing the PostgreSQL scheduling Agent - pgAgent windows service. If this step is successful, there is nothing else to do, the functionality will be available in pgAdmin for creating jobs.
What's misleading in the docs
The latest pgAdmin docs at http://www.pgadmin.org/docs/1.16/pgagent-install.html has a Service installation on Windows chapter that says:
The service may be quite simply installed from the command line as
follows (adjusting the path as required):
"C:\Program Files\pgAdmin III\pgAgent" INSTALL pgAgent -u postgres -p
secret hostaddr=127.0.0.1 dbname=postgres user=postgres
However in the majority of cases this is not going to be of help because either:
pgAgent install is done by pgAgent setup as launched by StackBuilder and this step is not necessary.
or you have got pgAdmin alone and pgagent.exe will not be installed so this step is not possible.
pgAdmin will be successfully installed after downloading the compressed file from
https://www.pgadmin.org/download/pgagent-source-code/
there inside, you will find the file "sql\pgagent.sql"
Toss the content of this file into the Query Tool and run it. That will install pgAgent. Refresh your database connection to see the result. The tab pgAgent Jobs should have been created at the root level for your connection.
There is no need of using the INSTALL command from your command line.
I faced the same problem. I was able to get pgagent working by downloading and executing the stand-alone installation file pgagent-3.4.0-4-windows.exe from here: http://sbp.enterprisedb.com/getfile.jsp?fileid=11842