HTTP - 'connection refused '.

All,

I'm going nuts!  I was dead in the water for a while.  I'm trying to get the web content to load in my application and everything works fine in the Simulator, but on the current device, which is a Storm 9530 on the Verizon network, I get ' connection refused [field of Web site]: 80 "to where the content would be.

The connection string, I'm passing to the HTTPConnection is: http://fulldomainname/Test/Test.aspx;deviceside=false;connectionUID=GPMDSNA5C

A test, I was logging every query on my IIS server, but when I try to connect is not hitting the newspaper, so demand is still not making it on the server.  I also tried this on pages like google.com and other well-known sites, so I don't think that it's the server either.

I use the HTTPConnectionFactory of http://www.versatilemonkey.com/HttpConnectionFactory.java and have actually used successfully for another project, so I don't know why it does not work.

HttpConnectionFactory _factory = new HttpConnectionFactory("http://domain/TestAd/Test.aspx");

while({
  try
  {
                    String nextString = _factory.getNextConnectionString();
                    _httpConnection = (HttpConnection) Connector.open(nextString);
            _httpConnection.setRequestProperty( "User-Agent", getUserAgentString());

                    _renderingSession = RenderingSession.getNewInstance();

                    _browserContent = _renderingSession.getBrowserContent(_httpConnection, this, null);

                    _adField = _browserContent.getDisplayableContent();
                    _adField.setBackground(BackgroundFactory.createSolidBackground(Color.RED));
hfm.add(_adField);

                    manager.add(hfm);

                    _browserContent.finishLoading();

}

public HttpConnection getResource(RequestedResource resource,
                BrowserContent referrer) {
              /*if (resource == null) {
                    return null;
                }

                // check if this is cache-only request
                /*if (resource.isCacheOnly()) {
                    // no cache support
                    return null;
                }*/

                String url = resource.getUrl();

                // We dont need to return the thing if it is a fav icon
                if(url.endsWith("favicon.ico"))
                {
                    logEvent("favIcon detected");
                    url = "http://dev.synasync.com/favicon.ico";
                }

                if(url.equals("http://a.jumptap.com/favicon.ico"))
                 {
                    logEvent("a.jumptap.com/favIcon detected");
                    return null;
                 }
                //if (url == null) {
                //    return null;
               // }

                // if referrer is null we must return the connection
               // if (referrer == null) {
                    HttpConnectionFactory factory = new HttpConnectionFactory(url);

                    while(true)
                    {
                        try
                        {

String nextString = factory.getNextConnectionString();

                            logEvent("PreCall For resource " + resource.getUrl() + ": " + nextString);

                            HttpConnection httpConnection = (HttpConnection) Connector.open(nextString);

                            logEvent("Call For resource " + resource.getUrl() + ": " + nextString);

                            return httpConnection;
                        }
                        catch(RemoteException e)
                        {
                            logEvent("RE in inner: " + e.getMessage());

                        }

                        catch(NoMoreTransportsException e)
                        {
                            break;
                        }

                        catch(Throwable saxException)
                        {
                            logEvent("SAX in inner: " + saxException.getMessage());

                        }
                    }

private String getUserAgentString()
        {
            String version = "";
            ApplicationDescriptor[] ad = ApplicationManager.getApplicationManager()
                    .getVisibleApplications();
            for (int i = 0; i < ad.length; i++) {
                if (ad[i].getModuleName().trim().equalsIgnoreCase(
                        "net_rim_bb_ribbon_app")) {
                    version = ad[i].getVersion();
                    break;
                }
            }

            String result = "Blackberry" + DeviceInfo.getDeviceName() + "/" + version
            + " Profile/" + System.getProperty("microedition.profiles")
            + " Configuration/"
            + System.getProperty("microedition.configuration")
            + " VendorID/";

            if(Branding.getVendorId() < 0)
                result += "105";
            else
                result += Branding.getVendorId();

            return result;
        }
                return null;
        }

This should be the most relevant code.  I apologize for posting without care - I can't seem to fix this.  If you copy and paste into a text editor, it should be easier to read.

Can anyone offer avenues of advice?  I'm REALLY stuck!

Thank you!

Devon

Sorry, not looked carefully, just noticed this:

deviceside = false; connectionUID = GPMDSNA5C

If you want to use WAP, which should really be

deviceside = true; connectionUID = GPMDSNA5C

If you try to use WAP, I recommend that you first try the WAP browser on the device, just confirm that it actually works.

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • HP Easy tools - connection refused error

    Hi all

    can we use easy tools to upgrade the Os of our thin client versions. I did the following steps and

    1 downloaded the new WES2009 image for t5740 and it suited our needs

    2. I captured the image thinclinet (t5740, wes 2009) with HP EASY TOOLS to the FTP - successful (2 GB image file)

    3 deployed to an another computer thinclient (t5740, wes 2009 + has only HPDM, EASY TOOLS INSTALLED) with tools easy hp - success

    4. now, tried to install on thinclients (t5740, wes, 2003, no. HPDM AGENT & EASY TOOLS) & t5740 wes 2003 - FAILED

    Here is the log file...

    Send the file < filename.img > image

    Connection refused

    Couldn't something on ther service manual. Can someone tell me what service (hpdm officer or easy tools) should remote thinclients run so that we can deploy the image using HP EASY TOOLS.

    Could someone help me please I have to upgrade all of our WES 2003 thinclients to WES2009

    Thanks in advance

    Hello

    If you want to deploy an image using Easy Tools, thin clients HP target must also have HP Easy Tools installed. If you deploy an image using HPDM then target clients must also have DM HP installed.

    You can get HP Easy Tools from here:

    http://h20000.www2.HP.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en & cc = us & prodTypeId = 12454 & prodSeriesId = 3996155 & prodNameId = 3996164 & swEnvOID = 4044 & swLang = 13 & mode = 2 & taskId = 135 & swItem = vc-104221-1

    Also have you tried HP ThinState? It uses the USB disk to the image of your thin clients.

  • Subversion addon - connection refused

    Hi all

    ReadyNAS ultra 2

    I installed the addon from rnxtras subversion. Now when I try to the Fund I get connection refused. Here are the steps I followed:

    On the readnas:

    NetgearNAS: / opt # svnadmin create/opt/subversion/SVNTest
    NetgearNAS: / # chown admin:admin/opt/subversion r opt / *.

    On my local machine:

    ~ > svn checkout svn://192.168.1.100/SVNTest
    svn: E000111: unable to connect to a repository to the URL "svn://192.168.1.100/SVNTest".
    "svn: E000111: could not connect to host" 192.168.1.100 ": connection refused

    I have installed EnableRootSSH.

    Any ideas how I can make it work?

    Sorry for the late reply, still getting used to the new "forums".

    In fact, you were already close. You have successfully created the SVN repo but the correct command to the Fund a repo of the ReadyNAS would

    svn checkout https://192.168.1.100/svn/SVNTest

    Two things to note here: to access the Board, use the HTTP or HTTPS protocol, not SVN. And the path to the pension you habe to prefix name of the repo with "/svn/".

    When you press the ReadyNAS changes you will have to authenticate using a username/password combination valid, as defined on the ReadyNAS.

    -Stefan

  • Port 80 connection refused on localhost

    Hello

    I am trying to solve a problem that I am having with the virtual hosts in Apache 2.4 on one of my two Macs, both running El Capitan. On a Mac, use virtual hosts without a hitch on another, I get connection refused.

    ↪ curl -I -L test.dev 15:51:08
    HTTP/1.1 200 OK
    Date: Tue, 08 Dec 2015 14:51:17 GMT
    Server: Apache/2.4.16 (Unix)
    Last-Modified: Tue, 08 Dec 2015 08:52:04 GMT
    ETag: "c-5265f1673f500"
    Accept-Ranges: bytes
    Content-Length: 12

    Content-Type: text/html

    vs.

    ↪ curl -I -L test.dev 15:51:01
    curl: (7) Failed to connect to test.dev port 80: Connection refused

    My question is not on Apache or the configuration of the vhosts, / etc/hosts, etc. All that is not the issue here. The only difference between the two Macs I can find is in the Port Scan output. The right seems to have port 80 open:

    Port Scanning host: 127.0.0.1

    Open TCP Port: 22 ssh
      Open TCP Port: 53 domain
      Open TCP Port: 80 http
      Open TCP Port: 88 kerberos
      Open TCP Port: 445 microsoft-ds
      Open TCP Port: 548 afpovertcp
      Open TCP Port: 631 ipp

    СКАНИРОВАНИЕ ПОРТОВ ЗАВЕРШЕНО...

    While it is not bad:

    Port Scanning host: 127.0.0.1

    Open TCP Port: 88 kerberos
      Open TCP Port: 445 microsoft-ds
      Open TCP Port: 548 afpovertcp
      Open TCP Port: 631 ipp
    Сканирование портов завершено…

    Could someone explain why port 80 is not on this machine and how do I enable it?

    All the best,

    Tench

    To make sure that port 80 is open for TCP on all interfaces, I added

    pass in proto tcp from any to any port 80 

    à /etc.pf.conf . Reloading of pfctl(8) didn't quite do the trick, but did a reboot. Now, the port appears as open in the port scan, and my virtual hosts are served as it should.

  • Get 'connection refused' when I open my browser.

    connection refused

    Whe I take IE8, I get 'connection refused', what should I do?

    Hello sitrovan,

    I suggest you try some troubleshooting in this article:
    This article is also useful to solve many common network problems in Windows:
  • XMPP? net.rim.device.cldc.io.ippp.SocketBaseIOException: Connection refused: connect

    Hello

    My system is running under the power of Attorney and I confifured mds setting of Article number: DB-00047.

    After this adjustment, I am able to do the http connection.

    I have downloaded the open source XMPP from this link. and I'm doing the connection socket with my Gmail now, but through it throw net.rim.device.cldc.io.ippp.SocketBaseIOException: connection refused: exception, but when I add on the side of true device he throw "java.io.IOException: Peer refused the connection.

    final StreamConnection connection = (StreamConnection) Connector.open("socket://" + this.host + ":" + this.port, Connector.READ_WRITE);
    

    I also tried adding deviceside = 'true' and 'false' parameter but I got same result.please help where I am doing wrong or it is still problem of proxy that do not allow the socket connection. Thoughts or ideas is greatly appreciated.

    Thank you.

    Currently, the MDS - CS Simulator allows only proxies be set for straight HTTP connections.

    Kind regards

  • Occasional SocketBaseIOException "Connection refused" problem on R5.0

    Hello

    I developed an application that uses an https connection to communicate with a web service using data in XML format. I did test in-depth the application on 9000 "BOLD" 4.6.0.28 2 current execution with all sorts of conditions of access network (Wifi, 3G, Edge) and everything worked well for me on the Rogers network.

    I have improved my 9000 to run OS5.0.0.411 and I now get the following exception in my logic of connection:

    SocketBaseIOException "Connection refused".

    In characterizing this problem, it seems to only happen once every 5 to 10 connections. Even more, it doesn't happen when I turn off my cell transmitter and go on WiFi only.

    I rebuilt my application for 5.0 with the string of tools Eclipse 1.1 to 5.0 and get the same problem.

    In a debugging perspective, I have a real problem, because:

    (a) with Eclipse 1.0 JDE I can attach it to the device, but cannot set a breakpoint.

    (b) with Eclipse 1.1 JDE I can't yet set to the device.

    Suggestions to help isolate or work around this problem would be greatly appreciated.

    I was unable to find a root cause or an elegant solution to this problem. However, I could characterize enough to work around him in an acceptable way. I'm capturing the info hear so I hope this helps someone else. This has been a difficult one to isolate and characterize. Here is a summary.

    Even if the underlying stack could not create a connection https on the BIS service identified by a Service UID book, it would be on the first 'open '.

    1 generate the SocketBaseIOException.

    2. somehow to cache the connection so that 'open' later against the same URL would cause the stack return the connection from 1. which, once the IO later would generate the same exception.

    This problem moved not on WiFi connections or the Simulator.

    My work around was to create a cache of years to keep track of services with these embarrassing the UID and avoid them in the selection of connection logic.

    I guess this problem is also specific carrier because he had other services in the service with CID of IPPP log "" what has worked well for me. I have test it on the Rogers network with a BIS service.

    Hope this helps someone out there, and maybe someone rim could look at this rather clumsy difference in behavior in R5 compared to what's happening on A4.6

  • Search goocle net 102 error cannot reach. ERR-connection-refused

    just installed google crome but I can not go on the line he know THE WEB PAGE only IS NOT AVAILABLE ERROR 102 (NET... ERR-CONNECTION-REFUSED) THE SERVER HAS REFUSED THE CONNECTION

    The Google Chrome Help Center has the following about the 102 error: http://www.google.com/support/chrome/bin/answer.py?answer=117805

    There are other elements of support of Chrome on the 102 error at: http://www.google.com/support/chrome/bin/search.py?ctx=en%3Asearchbox&query=error+102

  • I'm unable to connect database of cloud of the trial, it gives connection refused error

    I am trying to connect to cloud trail oracle database using sql developer, I get the error message "connection refused".

    Service URL

    https://databasetrial5793-inexcelityglotrial51349.DB.US2.oraclecloudapps.com/Apex

    Username: Tes_user

    SFTP host: port sftp.us2.cloud.oracle.com 22

    username: us220585

    What version of sql developer are you helping and you use the "Cloud connect" correct?

  • vCO 5.5.2.1951762 getting connection refused when adding a vCenter

    I hope someone can help here.  We have two servers separate vCO using the same vCenter.  Both of them have problems connecting to the same vCenter.  If I try a different vCenter, no problem.  This should remove the vCO to the equation and prove that something is happening with the vCenter.  We've updated vCenter 5.5 2 updated about two weeks ago and have not had any problems until yesterday.  I wonder if this is the cause, and if anyone else has encountered this problem?

    Weirder still is, I am able to get a license of this same vCenter, who must use the same SOAP WS.

    Connectivity to the vCenter what API is confirmed and the DNS name resolves. I am able to pull down this wsdl with wget on the server of the vCO.

    SDK/vimService.wsdl

    This is recorded in the vCO in the vCenter admin page.

    Exception, ' java.net.ConnectException: connection refused '


    I see this in the logs on the vCO device configuration cataliana.out.


    com.vmware.vim.vmomi.client.exception.ConnectionException: java.net.ConnectException: connection refused

    at com.vmware.vim.vmomi.client.common.impl.ResponseImpl.setError(ResponseImpl.java:224)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:131)

    at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:98)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.sendCall (MethodInvocationHandlerImpl.java:533)

    to com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$ CallExecutor.executeCall (MethodInvocationHandlerImpl.java:514)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:302)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeFetch(MethodInvocationHandlerImpl.java:294)

    at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:165)

    to com.sun.proxy. $Proxy62.getContent (unknown Source)

    at com.vmware.vmo.plugin.vi4.config.VlsiHelper.getServiceInstanceContent(VlsiHelper.java:294)

    at com.vmware.vmo.plugin.vi4.config.VlsiHelper.login(VlsiHelper.java:223)

    to com.vmware.vmo.plugin.vi4.config.VlsiHelper. < init > (VlsiHelper.java:159)

    at com.vmware.vmo.plugin.vi4.config.ConnectionTester.call(ConnectionTester.java:117)

    at com.vmware.vmo.plugin.vi4.config.ConnectionTester.call(ConnectionTester.java:18)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.net.ConnectException: connection refused

    at java.net.PlainSocketImpl.socketConnect (Native Method)

    at java.net.AbstractPlainSocketImpl.doConnect (unknown Source)

    at java.net.AbstractPlainSocketImpl.connectToAddress (unknown Source)

    at java.net.AbstractPlainSocketImpl.connect (unknown Source)

    at java.net.SocksSocketImpl.connect (unknown Source)

    at java.net.Socket.connect (unknown Source)

    at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117)

    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)

    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)

    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)

    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)

    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)

    at com.vmware.vim.vmomi.client.http.impl.HttpExchange.run(HttpExchange.java:111)

    ... 16 more

    Hello

    I meant to return and from what I've found on this.  I had this problem.  vCO does not use only TCP/443, but also TCP/80.  Our vCenter which was not has its port http TCP/81 value.  It was probably due to a conflict at installation time.  The person who installs to vCenter took a shortcut and changed the port.  It is all very well until you get to where I was.  Make sure that you use the standard ports in vCenter, and then try again.  This is what was causing my issue and was originally "Connection refused" on TCP/80.  I was about to start tcpdump to see what was going on until it has been.  Let me know and good luck.

    Mike

  • Users to push AD on Horizon - sync error - connection refused

    Hi all

    I'm Configuration Manager Application Horizon atm. I sent them both. OVF files, network settings, enabled with token etc all right.


    In the Setup Wizard that I have in my field, I can see my users when I filter and can select my group.

    The last step of the installation wizard is "pushing ahead".
    Unfortunately, it won't grow. I get the following errors:

    Push on the Horizon: synchronization of actions cannot be calculated at this time. Please try again later.

    And the menu alerts, I get this: "otherError: unable to complete sync due to a problem with the service: request failed: connection refused"

    On this picture you can see the Bell on the horizon, but I get the error ' can' sync actions... "
    instead of this form: http://letusgovirtual.com/wp-content/uploads/2012/06/push-to-Horizon.png

    I already opened the port 443 & 636 firewall, does not work. The name of my group is not with a space between.

    What Miss me? If someone can point me in the right direction, I would be very grateful.

    Please enter you.

    The service - will and the connector must trust each other certificates.  Best is to use a signed public certificate. In the menu of the console of the connector, you can download the cert of the AV service. This should make the trust service connector - goes.

    Set up certificates. is a little bit of work to be honest. You must build a certificate chain and save it as a file of keys to TC and then manually copy the keystore in the service - will.

    What do you mean hostname for the service - go? You should be able to use what you want. Personally, I often use horizon.domain.com or workspace.domain.com.

  • Connection to the machine to ESX4 Wizard fails with "connection refused".

    Environment: ESX 4 server, hosting VMware Studio 2.0 (final version), will deploy device created in the same ESX host.

    -


    In my profile generation, generation settings section, I chose VMware ESX/ESXi 4.x and entered the Connection Wizard...

    Host, Port, user, password fields are filled.

    Connection test fails with the following message is displayed:

    Failed: error connecting to the server " " https://x.x.x.x:443/sdk/vimService ': connection refused

    My initial inspection is that it is probably caused by the server proxy/ISA on our network. It is know to cause some problems with https connections and some browsers. I am not sure that it is the first cause, but this is my first guess.* *.

    There are balls that can confirm?

    Is it possible to force a non-secure http connection?

    No, it's not a way to connect by using http.

    Try the following:

    stop /etc/init.d/VAMI-SFCB

    http_proxy = / opt/vmware/sbin/vami-sfcbdhttp://your_proxy:proxy_port;

    Now, try the user interface.

    Vishwas

  • Siebel 8.1 and OPA 10.3.1: error 'WD Smoke Test' - 'Connection Refused '.

    Hello!

    I'm setting up Siebel 8.1.1.5 with OPA 10.3.1. All the Windows environment, Oracle database backend and use Apache Tomcat 5.0 to run any OPA.

    Followed the instructions through and with the Web Service tweak outbound and two symbolic URLS to specify correct host Apache and port, some things work.

    However, when I hit the 'WD Smoke Test' button I get an error in the window for the determination of the sea which opens:

    An error occurred when loading the case ID ', SADMIN, 0-1, AdminSmokeTest'.
    This error has been recorded and is available in the application logs.

    No error is reported in the journal on the Siebel EAI server file, but I see the following on the Tomcat server:

    874517 [http-8080-1] ERROR com.oracle.determinations.web.platform.controller.actions.StartSessionAction - errors in result of Transaction for case ID [, SADMIN, 0-1, AdminSmokeTest]:
    874517 [http-8080-1] ERROR com.oracle.determinations.web.platform.controller.actions.StartSessionAction - failed to load data: java.net.ConnectException: connection refused: connect
    874517 [http-8080-1] ERROR com.oracle.determinations.web.platform.servlet.WebDeterminationsServletUtility - com.oracle.determinations.web.platform.exceptions.error.FailedToLoadCaseError: could not load case:, SADMIN, 0-1, AdminSmokeTest
    com.oracle.determinations.web.platform.exceptions.error.FailedToLoadCaseError: could not load case:, SADMIN, 0-1, AdminSmokeTest

    I checked:

    -The EAI URL .properties for siebel-WD-embedded and siebel-web-determinations, all worked very well for the OPA server host
    -J' have also checked and checked the values of username and password in both .properties files
    -The definitions of Web Service starting, only change the host and port
    -The symbolic URL, by changing only the host and port
    -The rest was implemented using business 'policy of automation Install '.
    -The 'DS' smoke tests will work perfectly
    -The button "Launch WD" works very well 'Sessions' view, after selecting the map of "AdminSmokeTest".

    Any thoughts where to start?

    Thank you!

    mroshaw

    I am officially a doughnut - I went back to check and I had not updated the siebel data - adapt .properties for the siebel-web-determination purposes. DOH!

    Everything works now - excellent! :)

  • NETBEAN Oracle: Problem of connection refused

    Hi, Im currently using Netbean to develop a system of JSP. I already managed to connect to Oracle 11g. However, I am facing problem connection refused. It always happens.
    For the server, I use GlassFish Server 3.1

    Anyone have idea to solve this problem? Thanks in advance.

    Details of the error:

    WARNING: StandardWrapperValve [jsp]: PWC1406: Servlet.service () for servlet jsp threw exception
    java.sql.SQLException: IO exception: connection refused (DESCRIPTION = (TMP =)(VSNNUM=186646784) (ERR = 12519) (ERROR_STACK = (ERROR = (CODE = 12519) (EMFI = 4)))
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    to oracle.jdbc.driver.OracleConnection. < init > (OracleConnection.java:404)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
    at java.sql.DriverManager.getConnection(DriverManager.java:579)
    at java.sql.DriverManager.getConnection(DriverManager.java:221)
    at dbConnection.dbConnection.connectEasy(dbConnection.java:66)
    at org.apache.jsp.Boundary.insertStudForm_jsp._jspService(insertStudForm_jsp.java:783)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:787)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:649)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:534)
    at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:462)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
    at java.lang.Thread.run(Thread.java:722)

    You must increase the PROCESS instance with the ALTER SYSTEM statement parameter and restart the instance of database: it is compulsory for these static parameters.

    You can also try to make sure that the database sessions are closed by the application code when needed or create a profile database with times of inactivity just to assign to the user Oracle accounts.

  • Error creating socket to host: reason: Connection refused: connect

    I'm moving an old x 32 server for a new 64-bit server x.  With the help of Adobe support, I finally got CF8.0.1 running on the new server: http://forums.adobe.com/thread/470337?tstart=0.

    I'm now trying the CF8.0.1 standard on the x 64 new machine to connect to SQLServer 2005 x 64 bit. All of the databases I try installation on the new server running on an x 32 with CF8.0.1 and SQLServer 2005 x 32.

    CFVerInfo.JPG

    Using the type of SQL Server disk I get the following error:

    "Connection verification failed for data source: PHREDsevenSQL.
    java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] Error establishing socket to host and port: DELLx64Server:1433. Reason: Connection refused: connect
    The root cause was that: java.sql.SQLException: [Macromedia] [SQLServer JDBC Driver] Error establishing socket to host and port: DELLx64Server:1433. Reason: Connection refused: connect. »

    Using the ODBC Socket type I don't get an ODBC DSN name in the selection box so I can not actually try this type of connection. I tried the x 32 and x 64 bit ODBC system configurations.

    P7SQL_def.JPG

    I checked the following:

    SQLServer configuration: the port is set to 1433.

    Password and user name are correct.

    I looked for a x 64 bit SQLServer for CF8 on Adobe, but could not find one. Perhaps one is already installed.

    If anyone has a suggestion or a solution, I would appreicate your help.   Thanks in advance for your help.

    :-}}}

    Len

    Things to check

    1. is the SQL authentication is enabled on the new SQL Server?  This is disabled in the default installation.

    2. no SQL server accepts remote TCP/IP connections?

    a. This article may help:
    "How to configure SQL Server 2005 to allow remote connections"
        http://support.Microsoft.com/kb/914277

    b. check that the connections are not blocked by a firewall.

Maybe you are looking for