0

haii
I an trying to connect to openfire server from a remote system that is not with in my LAN.I got an error that server not found.
I tried both by using IP address and server host name but the same error.
Is it possible to connect to server from remote server?
And i found errors in log record as:

at java.sql.DriverManager.getConnection(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)
at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)
at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)
at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:211)
at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.jivesoftware.database.EmbeddedConnectionProvider.getConnection(EmbeddedConnectionProvider.java:61)
at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:620)
at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:100)
at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:344)
at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:90)
at org.jivesoftware.util.JiveProperties$JivePropertyHolder.<clinit>(JiveProperties.java:57)
at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:69)
at org.jivesoftware.util.JiveGlobals.getProperty(JiveGlobals.java:551)
at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:349)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:468)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:212)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
2012.05.04 12:48:01 org.jivesoftware.openfire.update.UpdateManager - Error checking for updates
java.net.UnknownHostException: www.igniterealtime.org
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at org.jivesoftware.openfire.update.UpdateManager.checkForServerUpdate(UpdateManager.java:226)
at org.jivesoftware.openfire.update.UpdateManager$1.run(UpdateManager.java:142)

so,please any one try to solve my problem as early as possible.
thaq in advance.

2
Contributors
1
Reply
2
Views
5 Years
Discussion Span
Last Post by JorgeM
1

Aside from the application issue, start by validating network connectivity. Also, think about what is in between these two systems that may be filtering traffic, such as a firewall.

-Try a simple PING test. Can you ping the server by IP address?
-Try to conenct to the port that application is listening on. for example, if you are connecting to a web server, you can use a telnet client to connect on 80. If you get a blinking cursor, that mean you connected. For example:

telnet ip_address_of_server 80

-If there is a firewall in between, ask the firewall adminsitrator to look at the traffic logs and see if the traffic is passing or being blocked. If its passing, then the issue is most likely on the server, if its blocked, then you need to open the correct port(s).

Votes + Comments
Good post.
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.