I am using "InetAddress.getByName("hostname")" to resolve the host name of smart host before sending the mail through SMTP.
Getting exception while resolving Host : Host Name=smarthost.demo.com Exception=java.net.UnknownHostException: smarthost.demo.com: Name or service not known.
My observation - It's working fine with Java 7 but on Java 8 facing this issue but couldn't find relevant proofs for the same.
Is it really because of Java versions or any other possible solution or reason is there ?
Related
We are trying to make a connection from PowerBI Desktop, to the Google Big Query Database. Upon starting the app and immediately after trying to make the connection to the Google Data Source, we get the error below:
Unable to Connect
We encountered an error.
Details: "ODBC: ERROR [HY000] [Microsoft][DriverOAuthSupport] (8701) Error interacting with REST API: Couldn't resolve host name
ERROR [HY000] [Microsoft][DriverOAuthSupport] (8701) Error interacting with REST
API: Couldn't resolve host name"
I suppose that it has something to do with the proxy used inside our corporate environment but i haven't found anything so far on what urls/ports should be opened in order for this connection to work.
Please do keep in mind that this is a new business need and it is not something that worked and stopped working.
I am following the instructions from here : http://jpos.org/blog/2013/07/setting-up-the-client-simulator/ to set up the client and server simulator. I am able to start one of them on my machine. If i start the server after the client is run, it throws this error :
"An instance of Q2 is already running. Shutting this instance"
I know its kind of self explanatory. But was wondering if there is a way to run both server and client simulators on the same machine.
Check your src/dist/deploy directory and remove the file 01_multi_instance_prevention.xml. That descriptor wasn't present in jPOS by the time the blog post was written and was installed when you calledinstallResources` as it's now part of the jPOS jar. We'll consider making that file optional.
I am using vertica 7.0 version and trying to add backupserver nodes during a connection failover. I tried to perform the similar steps as specified in the vertica 7.0 API programmer's guide. But I receive an error stating unknown host.
I am using this as the connection string : jdbc:vertica://badHostName:5433/dbName?connectionloadbalance=true
**A bad host name: **
If my current host name is xyz.abc.com then the bad host name I have mentioned as xyz.abc.comz.
Please let me know how to get through this.
Thanks
I had added a wrong version of vertica jdk which I assume was not compatible for the new feature. So do check in your versions for such errors :)
I am trying to put my laravel project from localhost to server. On my localhost I run it as this:
http://localhost/nih/public/bassengweb/hvertime
But when I uploaded it to the server:
http://student.cs.hioa.no/~s180393/nih/public/bassengweb/hvertime
I get this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, amirahm#cs.hioa.no and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
thats not a laravel issue but a server issue. So lets trace it, according to your error information its a mostly is a configuration issue.
Set the server to read from the public folder and not the root.
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).