Connection refused error running JSP on Jdev 10.1.3.0.3.3412 with MySL 5.0

Hello,
I'm using Jdeveloper 10.1.3.0.3.3412 on a Mac with a MySQL database. In Jdeveloper i can make a connection to the database and create adf business components
I've made a JSP page with ADF on a single table. No errors when compiling. When I try to run the JSP Page using Embedded OC4J (on Mac OSX Tiger) I get the error:
5/12/09 00:45:50 java.net.ConnectException: Connection refused
05/12/09 00:45:50      at java.net.PlainSocketImpl.socketConnect(Native Method)
05/12/09 00:45:50      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
05/12/09 00:45:50      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
05/12/09 00:45:50      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
05/12/09 00:45:50      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
05/12/09 00:45:50      at java.net.Socket.connect(Socket.java:507)
05/12/09 00:45:50      at java.net.Socket.connect(Socket.java:457)
05/12/09 00:45:50      at java.net.Socket.<init>(Socket.java:365)
05/12/09 00:45:50      at java.net.Socket.<init>(Socket.java:207)
05/12/09 00:45:50      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
05/12/09 00:45:50      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
05/12/09 00:45:50      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
05/12/09 00:45:50      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
05/12/09 00:45:50      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
05/12/09 00:45:50      at java.lang.Thread.run(Thread.java:613)
What am I doing wrong? The embedded OC4J library is added to the project. I've tried to use the javac compiler. It looks like the OC4J instance cannot make a connection to the db.
Thanks,
Martin

Hello
I've added the connection to the web.xml, but still get the same error.
When I go to embedded OC4J preferences and change the JNDI-names of the datasources (global and current-workspace) to the same name (this was default), i get this error message:
9-dec-2005 9:30:09 com.evermind.server.ApplicationStateRunning initNativeDataSource
SEVERE: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
05/12/09 09:30:09 Application: current-workspace-app is in state FAILED
05/12/09 09:30:09 Error instantiating application 'current-workspace-app' at file:/Users/martinsuijs/jdevhome/mywork/myWorldApp/myWorldApp-oc4j-app.xml: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
05/12/09 09:30:14 java.net.ConnectException: Connection refused
grtz
Martin

Similar Messages

  • Error running jsp page through jdevloper

    Hi,
    I am a newbie trying to run jsp through jdev.It comes up with a error saying Error: /Documents and Settings/al/Desktop/jdev1012/jdev/booking/ViewController/public_html/ not contained in /Documents and Settings/al/Desktop/jdev1012/jdev/Booking/ViewController/public_html/index.jsp.
    Can some one help me.
    I am running on a winxp machine.
    jdev10g.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • Connection Refused Error In Connection Client

    Hello Geeks
    I am runnig a RMI application in which runs on internet , i have setup RMI server on a host server and it is running there.
    Now, when i try to call client using ip address of the Host , i am getting Connection Refused error.
    Example :
    Registry registry=LocateRegistry.getRegistry("70.33.246.110");
    System.out.println("Above connectMe");
    String  serverName = "rmi://70.33.246.110:2786/connectUser";
    connectMe stub=(connectMe)Naming.lookup(serverName);
    System.out.println("Below connectMe");
    boolean log=stub.login(username,password,1);
    System.out.println("Below login");Here "connectuser" is name i have given in server to which client lookups.I am getting -> Above connectMe and Below connectMe
    but then i am getting connection refused error.
    Please Help Me Out.....ASAp
    Edited by: Hardik.Mishra on Oct 3, 2009 5:46 PM

    Registry registry=LocateRegistry.getRegistry("70.33.246.110");There's no point to doing that ...
    System.out.println("Above connectMe");
    String serverName = "rmi://70.33.246.110:2786/connectUser";
    connectMe stub=(connectMe)Naming.lookup(serverName);... if you're doing that. The getRegistry() doesn't do a network operation, it just constructs a stub to that Registry locally. Only by using it would you find out whether it meant anything: and you're not using it.
    I am getting -> Above connectMe and Below connectMe
    but then i am getting connection refused error.See item A.1 on the RMI Frequently Asked Questions list in the Javadoc.

  • JNDI Connection refused error

    HI
    I am new to Java so please excuse my stupid questions and general lack of ignorance. I am trying to connect to an Oracle database using JNDI to retrieve a Datasource using a 'data-source.xml' file but I get a 'Connection refused' error I am at a total loss at what this can be, I just have a simple Java Class which gets an InitialContext then does a lookup from here but this is were it fails.
    Could anybody give me any idea as to where to look. Could it be a problem with the JNDI server itself?. I'm using JDeveloper 10.1.3 and am just trying to run it in the embedded server.
    Sorry for the general rambling nature of this post and please ask me to provide any extra information required.
    Any help would be much appreciated as I'm going nowhere with this at the moment and very frustrated as have searched everywhere with no results.
    Thanks
    Andy

    Hi
    Thanks for the reply. I have checked my data-sources.xml and this all seems fine. I can even connect to the DB using DriverManager rather than the JNDI method. One thing that confuses me is which data-sources.xml it is using as there appear to be many. In JDeveloper you can specify the data sources in 'embeeded oc4j preferences' plus create your own under meta-inf. Which is being used when run in embedded, maybe thats obvious the first one?
    thanks once again

  • Connection refused error while connecting to port.

    Hello,
    I have a service (Connect Direct) listening at port 1364 in server X.
    $ netstat -an | grep 1364
    11.22.33.44.1364 *.* 0 0 0 0 LISTEN
    (Assume 11.22.33.44 = Server X's IP.)
    Now, when another server (say Y) tries to use this service in server X, it is getting "Connection Refused" error. I tried telneting.
    From Y:
    telnet 11.22.33.44 23 is working
    telnet 11.22.33.44 1364 is giving the same Connection Refused error.
    telnet 11.22.33.44 1364
    Trying 11.22.33.44...
    telnet: Unable to connect to remote host: Connection refused
    /usr/sbin/ping 11.22.33.44
    11.22.33.44 is alive
    To complicate things, 11.22.33.44 is not the original IP of server X.
    ifconfig -a gives:
    hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
    inet 11.22.33.55 netmask ffffff00 broadcast 11.22.33.255
    hme0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 11.22.33.44 netmask ffffff00 broadcast 11.22.33.255
    (in additional to a couple of other IPs).
    What could be the problem?
    Help!!!!

    IPF firewalling could cause this, if you have it enabled.
    I havent used it, so I'm not entirely sure how to check.
    Of another firewall if its between the 2 machines. Are they on the same subnet?

  • Connection refused error showing in ironport s170 - WSA

    Connection refused error showing in ironport s170 -  WSA
    I am getting “Connection refused” error while I connect ironport s170 through console cable. also i am not able to connect it through HTTP and SSH. Complete output is given below.
    Last login: Thu Sep 11 07:16:59 on cuad0
    Copyright (c) 2001-2011, Cisco Systems, Inc.
    AsyncOS 7.5.2 for Web build 303
    Welcome to the Cisco IronPort S170 Web Security Appliance
    Traceback (most recent call last):
      File "/usr/build/iproot/ap/ipoe/ipoe/bootstrap.py", line 55, in <module>
      File "/data/lib/python2.6_7_i386_nothr/runpy.py", line 128, in _run_module_as_
    main
        "__main__", fname, loader, pkg_name)
      File "/data/lib/python2.6_7_i386_nothr/runpy.py", line 34, in _run_code
        exec code in run_globals
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/cli.py", line 426, in <modul
    e>
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/external_auth/__init__.py",
    line 212, in initialize
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/external_auth/__init__.py",
    line 118, in _setup_old_authentication
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/command_client.py", line 674
    , in quick_read_var
      File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/command_client.py", line 133
    , in connect
    Commandment.CommunicationError: <host name>: Network communication error
    : Connection refused
    AsyncOS <host name> (cuad0)
    login:

    Hi,
    You can upgrade to 7.7+ but if you require a root cause analysis I suggest you to open a TAC case.
    Regards,
    Luis Silva

  • RDS Server : Connection refused error

    Hi All,
        I am using flash builder 4.
       When i try to connect rds from DataServices - > Connect to LCDS it throws a connection refused error.
       I have uncommented the rds in web.xml and set the useappSecurity to false.
       Can any body please help me get rid of this issue.
       I am still using a trial version. Does this have any impact.
       Any help is highly appreciated !!!!!!!!!!!!!!!!!!!!!!!
    Thanks

    I have the same problem.

  • Hi, I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mail are not receiving. Mail queue showing Connection refused error. Please help me

    I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
    Thanks
    GIRI

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

  • Connection Refused Error while running AS ABAP Initial Load

    All,
    I've never connected SAP NW IdM to an actual SAP system before, and I feel like I'm missing some obvious step of configuration, but I can't figure out what.
    We are in the process of trying provision user accounts to our SAP ABAP systems. My first step was to try to read all of the existing accounts from the ABAP system:
    Our Basis team created me a Communication user with the proper authorizations (I ensured that the authorizations included in SAP_BC_SEC_IDM_COMMUNICATION)
    I created a repository using the SAP NewWeaver AS ABAP (Specific Application Server) Repository Template (No CUA, No SNC) using that user's credentials
    I then used the Job Wizard and used the job template AS ABAP - Initial Load, specifying my repository above.
    When I run the job I get the following:
    Initializing SAP connection with parameters:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server failed Connect_PM MSHOST=<IPADDRESS>, R3NAME=<SID>, GROUP=PUBLIC LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host <IPADDRESS>, service sapms<SID>) TIME Wed Jun 01 13:54:36 201 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8840 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1
    Error Init failed
    I'm running SAP NW IdM 7.1 SP5 on Windows Server 2003 with MSSQL 2005. The ABAP server is on a UNIX box with an Oracle 10.2 dB.
    Is there additional configuration that needs to take place on the ABAP side to accept the connection?
    I've tried to find documentation on this, but have been unsuccessful. If someone could point me to the correct documents, or at least point me in the right direction for troubleshooting, it would be greatly appreciated.

    Ankur,
    Looks like the endpoint URL of the webservice is not updated and still pointing to the localhost. Try changing it to http://<ip_addres_of_your_server>:7101..... and see if it works fine then.
    -Arun

  • Web Services/BPEL - Connection Refused Error

    I am getting the following error while invoking this web service (in JDev 10.1.2) from Oracle BPEL console...
    faultSubcode: faultString: java.net.ConnectException: Connection refused: ..............
    Did anyone face the same error...pleaseeee help!!!

    where is your web service deployed?

  • RMI: connection refused error while invoking remote method from client mac.

    Hi All,
    when i run client program, which is calling remote object from other system, it shows the below error.
    please help me solving this issue, i also have policy file and installed security manager.
    Exception in Cliendjava.rmi.ConnectException: Connection refused to host: 10.66.
    112.137; nested exception is:
    java.net.ConnectException: Connection refused: connect
    thanks in advance.
    Regards,
    Anand.

    See item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].

  • [Error running JSP portlet in JDeveloper

    I'm writing a JSP portlet with JDeveloper 9.0.3.
    The "index.jsp" works OK, and I can see the registration URL for my new provider.
    I deploy the application to Oracle9iAS 9.0.2.0.1 Application Server succesfully throught DCM servlet, register the new provier and I can run the portlet succesfully.
    But if I try to run the "pasa_parametroShowPage.jsp" inside the Jdeveloper, I get an HTTP 500 Error :
    java.lang.NullPointerException
         void htdocs.pasa__parametro._pasa__parametroShowPage._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         [htdocs/pasa_parametro/pasa_parametroShowPage.jsp]
              pasa_parametroShowPage.jsp:12
    Line 12 is:
    Hello <%= pReq.getUser().getName() %>
    Thanks in advance.

    In order to successfully run, "pasa_parametroShowPage.jsp" must be called in a portal context - JDeveloper does not do this.
    Therefore, when called from JDeveloper, the PortletRenderRequest object is not present, hance the null pointer exception.
    You shouldn't attempt to run this JSP directly from with in jdev. You'll notice that if you point a browser directly at that JSP, you will get the same null pointer exception.
    If you need to debug this JSP in jdev, you can use a portal instance **or** the test harness (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/TESTSUITE/PDKTEST/PDKTEST.ZIP)
    to fire http requests at JDeveloper's embedded OC4J.

  • Xorg won't start - gives Connection Refused error

    I'm trying to use Xorg, I have it configured with Xorg -configure and all that, but when dtlogin tries to start it reports these errors in it's logfile:
    XIO: fatal IO errors 146 (Connection Refused) on X server ":0.0"^M
    (the ^M is part of the message as well)
    Any ideas?

    Hi Reasons,
    Your problem seems to appear atfer loading the libglx module:
    (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
    Maybe you're having this issue described in nouveau's wiki: http://nouveau.freedesktop.org/wiki/InstallNouveau
    9. Now start Xorg and run for cover. If you used the the nvidia blob before, the X server may possibly not start because NVIDIA overwrites the libglx.so which the X server provides with it's proprietary libglx.so. If that happens, install the X server package from your distribution again to resetore the original libglx.so and make a backup copy of it in case you install the blob again.

  • SOAP Exception, Connection refused error in jdeveloper 11g

    Hello,
    I am using jdeveloper 11g 11.1.2.3.0.
    I have been experiencing the following error everytime I try to run the applicaiton. I use webservices in my applicaiton and recently the webservices url were changed pointing now to dev instead of the lab environment. The code has been migrated to dev environment, I tested the webservices in my browser, they seem to be working fine and are pulling up the required data.
    ERROR:
    javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
    Error     
    Message send failed: Connection refused: connect
    Error     
    Connection refused: connect
    I am not sure what is causing this. Any help would be appreciated.
    Thanks in advance,
    Sal

    Hello Frank,
    Thanks for your response. I checked the browser proxy settings in Jdeveloper, nothing is set there right now. Use HTTP Proxy Server is unchecked. What do I need to set this to?
    Thanks,
    Sal

  • Jdeveloper 11g TP4: Connection refused error for Embedded Oc4j

    Hi,
    I am getting following error whenever trying to deploy any application in embedded oc4j or whenever try to connect with embedded server on Resource palette.
    Error while getting remote MBeanServer for url: ormi://127.0.0.1:23891/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException
    I am using Jdeveloper 11g TP 4 on windows XP.
    I have checked other links too related to above error and have checked following:
    Proper host name entry in host file
    No spaces in Jdveleoper installed directory name
    Proxy setting in Jdeveloper: excluded localhost and ip address
    Will be very thankful if anyone can help me to resolve this issue.
    Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Don't spend to much time on this. JDev 11g is production and there will be no OC4J 11g!
    --olaf                                                                                                                                                                                               

Maybe you are looking for

  • Trying to install a setup on a 64 bit machine with Windows server 2012 R2 which writes to registry FAILES

    My msi is a 32 bit setup. When I install it on a 32 bit machine with Windows XP it works fine . I tried to install it on a 64 bit machine with windows server 2008 and it succeeds While running my setup on a 64 bit machine with Windows server 2012 R2

  • RE:calculated Average Valuated Stock Value

    Hi ALL, how to calculated Average Valuated Stock Value  logic (The sum of the daily stock value for the time frame of the analysis divided by the number of days) please guide me. regards, ravi

  • SOA with E-business suite

    Hi, I want to know something about SOA, and if the same can be integrated with E-biz suite ? What would be the benefit of this ? Thx.

  • OCI call starcture for Purchase requisitions  trans NME51N

    Hi, I am looking for any documentation on the OCI call structure ('Web service') for PO/Requisitions. This it allow accessing external catalog via transaction NME51N using ERP 2005 PR/PO. The only documentation I have seen is related to the SRM EBP a

  • SRW.Set_Format_Mask not working!!

    Hi, I want the number to be displayed as : 500.00 or 100.00 or 10.00 or 1.00 This format mask works in the DB SQL> select to_char(100,'99999990.9999') from dual; TO_CHAR(100,'9       100.0000I right click on the Graph embedded with the report, and se