Jdeveloper-connections-xml

Trying to work through examples in Oracle XML Applications. Platform is Windows 2000 server. When clicking tools|connection, jdeveloper hangs-no message, no event log. The connection manager is in project libraries. Oracle 8.1.6 database works fine. I tried 3.1 and 3.1.1.2 versions.

Ok that will be nice, but is not the case I dont want to read the tutorial, the problem is I already start to read and execute the tutorial you told me the problem is this tutorial it doesnt show how to do everything from scratch because you already have inside the zip file everything like xmls etc etc, and I want to get my DO and create the process myself, I dont want to get something that it is already done, this tutorial does not show for example how to create this composite.xml, this file it is already inside the zip file, so this way I just follow half of the process and dont learn how to make the whole process.
tks

Similar Messages

  • Problem with web service proxy and connections.xml

    JDev 11.1.14
    Hello
    I'm trying to create a web service proxy that takes advantage of the connections.xml so that the endpoints can be changed without recompiling the code (as described here http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/web_services.htm#ADFFD548 - 13.2.2 How to Create a New Web Service Connection)
    I created the web service proxy using the Jdev wizard and a test client. The access to the web service works as expected.
    The client test code is :
    package model;
    import ch.mit.trac.ws.proxy.*;
    import ch.mit.trac.ws.root.Currency;
    import javax.naming.NamingException;
    public class wsTest {
      public wsTest() {
        super();
      public void testIt() throws NamingException {
        CurrencyConvertor currencyConvertor = new CurrencyConvertor();
        CurrencyConvertorSoap currencyConvertorSoap = currencyConvertor.getCurrencyConvertorSoap();
        Double res = currencyConvertorSoap.conversionRate(Currency.CHF, Currency.USD);
        System.out.println("Hello");
        System.out.println(res);
      public static void main(String [] args) throws NamingException {
        wsTest tt = new wsTest();
        tt.testIt();
    }I then create a connection as described in the docs.
    I now have a connections.xml as follows:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <References xmlns="http://xmlns.oracle.com/adf/jndi">
       <Reference name="CurrencyConvertor" className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl" xmlns="">
          <Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
          <RefAddresses>
             <XmlRefAddr addrType="WebServiceConnection">
                <Contents>
                   <wsconnection description="file:/C:/JDeveloper/mywork/WebServiceTest/Model/src/ch/mit/trac/ws/proxy/CurrencyConvertor.wsdl" service="{http://www.webserviceX.NET/}CurrencyConvertor">
                      <model name="{http://www.webserviceX.NET/}CurrencyConvertor" xmlns="http://oracle.com/ws/model">
                         <service name="{http://www.webserviceX.NET/}CurrencyConvertor">
                            <port name="CurrencyConvertorHttpPost" binding="{http://www.webserviceX.NET/}CurrencyConvertorHttpPost">
                               <operation name="ConversionRate">
                                  <output name=""/>
                                  <input name=""/>
                               </operation>
                            </port>
                            <port name="CurrencyConvertorHttpGet" binding="{http://www.webserviceX.NET/}CurrencyConvertorHttpGet">
                               <operation name="ConversionRate">
                                  <output name=""/>
                                  <input name=""/>
                               </operation>
                            </port>
                            <port name="CurrencyConvertorSoap12" binding="{http://www.webserviceX.NET/}CurrencyConvertorSoap12">
                               <soap addressUrl="http://www.webservicex.com/CurrencyConvertor.asmx" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                               <operation name="ConversionRate">
                                  <soap soapAction="http://www.webserviceX.NET/ConversionRate" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <output name=""/>
                                  <input name=""/>
                               </operation>
                            </port>
                            <port name="CurrencyConvertorSoap" binding="{http://www.webserviceX.NET/}CurrencyConvertorSoap">
                               <soap addressUrl="http://www.webservicex.com/CurrencyConvertor.asmx" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                               <operation name="ConversionRate">
                                  <soap soapAction="http://www.webserviceX.NET/ConversionRate" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <output name=""/>
                                  <input name=""/>
                               </operation>
                            </port>
                         </service>
                      </model>
                   </wsconnection>
                </Contents>
             </XmlRefAddr>
          </RefAddresses>So far so good.
    I then created a new jspx page with a button that calls a method in a request scoped bean.
    The method is supposed to use the connections.xml to get the web service proxy in order to call the web service.
    The bean code is as follows :
    package ch.mit.test;
    import javax.faces.event.ActionEvent;
    import ch.mit.trac.ws.proxy.*;
    import ch.mit.trac.ws.root.Currency;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import oracle.adf.model.connection.webservice.api.WebServiceConnection;
    import oracle.adf.share.ADFContext;
    public class test {
      public test() {
      public void testIt() throws NamingException {
        Context ctx;
        ctx = ADFContext.getCurrent().getConnectionsContext();
        WebServiceConnection wsc;
        wsc = (WebServiceConnection) ctx.lookup("CurrencyConvertor");
        CurrencyConvertor currencyConvertor = wsc.getJaxWSPort(CurrencyConvertor.class);   -- NPE here
        CurrencyConvertorSoap currencyConvertorSoap = currencyConvertor.getCurrencyConvertorSoap();
        Double res = currencyConvertorSoap.conversionRate(Currency.CHF, Currency.USD);
        System.out.println("Hello");
        System.out.println(res);
      public void testws(ActionEvent actionEvent) {
        try {
          testIt();
        } catch (NamingException e) {
    }When running the application and clicking on the button I keep getting the following error at the line marked NPE Here above:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Le cycle de vie Faces reçoit des exceptions non traitées en phase INVOKE_APPLICATION 5
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.NullPointerException
         at java.lang.Class.isAssignableFrom(Native Method)
         at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
         at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
         at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processParameters(OperationMappingModeler.java:268)
         at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processMethod(OperationMappingModeler.java:155)
         at oracle.j2ee.ws.common.jaxws.runtime.ServiceEndpointRuntimeModeler.buildRuntimeModel(ServiceEndpointRuntimeModeler.java:114)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.getRuntimeMetadata(WsClientProxyFactory.java:69)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:126)
         at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:106)
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:219)
         at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:249)
         at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.getJaxWSPort(WebServiceConnectionImpl.java:399)
         at ch.mit.test.test.testIt(test.java:27)
         at ch.mit.test.test.testws(test.java:41)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         ... 44 moreCan anybody help as to what the problem is...
    (the WSDL is at http://www.webservicex.com/CurrencyConvertor.asmx?WSDL)
    Regards
    Paul

    Hi Frank
    The page is ADF bound, I've added the page source and the adfc-config source below :
    Page
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:commandButton text="commandButton 1" id="cb1"
                              actionListener="#{test.testws}"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>adfc-config
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <view id="view1">
        <page>/view1.jspx</page>
      </view>
      <managed-bean id="__4">
        <managed-bean-name id="__3">test</managed-bean-name>
        <managed-bean-class id="__2">ch.mit.test.test</managed-bean-class>
        <managed-bean-scope id="__1">request</managed-bean-scope>
      </managed-bean>
    </adfc-config>It seems to be the same sort of problem as in Re: Error in ADF Web Service Connection
    Regards
    Paul

  • Issue with Connections.xml

    Hi,
    I have an UI project, for which i have created a Deployment Profile named 'adfXXXXXUI' nothing but created a adflibrary for that UI project.
    While creating the adf jar, i have come across an Option called 'Connections' .
    Here i have selected Connection Names Only ... means i will be getting all the names of the connections i have created & those will be reflected in my local connection.xml file.
    After configuring the rest of the params, i deployed my UI project to "deploy -> adfXXXXXUI.jar".
    And we have used this jar to integrate with another UI application ... And the taskflows avilable in the jar will be used in the other UI application.
    Now here is my problem ... Actually my connections.xml file has a URL Connection. This is how it looks like....
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <References xmlns="http://xmlns.oracle.com/adf/jndi">
    ><Reference name="MapServer" className="oracle.adf.model.connection.url.HttpURLConnection" xmlns="">
    ><Factory className="oracle.adf.model.connection.url.URLConnectionFactory"/>
    ><RefAddresses>
    ><XmlRefAddr addrType="MapServer">
    ><Contents>
    ><urlconnection name="MapServer" url="http://sbsys1.intra.schneider.com:8109/mapviewer"/>
    ></Contents>
    ></XmlRefAddr>
    ></RefAddresses>
    ></Reference>
    ><Reference name="snibuilddb" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="snibuilddb" xmlns="">
    ><Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
    ><RefAddresses>
    ><StringRefAddr addrType="subtype">
    ><Contents>oraJDBC</Contents>
    ></StringRefAddr>
    ><StringRefAddr addrType="user">
    ><Contents>sni_guest</Contents>
    ></StringRefAddr>
    ><StringRefAddr addrType="port">
    ><Contents>3720</Contents>
    ></StringRefAddr>
    ><StringRefAddr addrType="hostname">
    ><Contents>uxsys186v</Contents>
    ></StringRefAddr>
    ><SecureRefAddr addrType="password"/>
    ><StringRefAddr addrType="serviceName">
    ><Contents>snit0.world</Contents>
    ></StringRefAddr>
    ><StringRefAddr addrType="DeployPassword">
    ><Contents>true</Contents>
    ></StringRefAddr>
    ><StringRefAddr addrType="oraDriverType">
    ><Contents>thin</Contents>
    ></StringRefAddr>
    ></RefAddresses>
    ></Reference>
    </References>All the taskflows avaialble in my jar using the URL connection which mentioned above. But the adflibray jar got created with a file named 'jar-connection.xml', where i can see <Reference/> as an empty Tag. Because i have selected connections name only as an option when creating the adflibrary for my UI.
    Hence it is appearing so ... But when i added this jar to the other application, i have dragged & dropped the taskflows as a region on to the JSPX page. And i started running the page. On the page .... i can see only the data which is not making use of MapServer connection defiition. Along with that, some maps needs to rendered .. but that is not happening. Rest of the page with the filter critieria is being displayed properly.
    Now i have selected Include Connection Details as an option, by editing the adfLibrary Deployment profile of the UI & redeployed & found the same thing. Like, though i specify the Include Connection Details as an option ... i did not see those URL connection details in my jar-connection.xml file.Still it is not working.
    All the taskflows inside the jar are trying to use this URL connection from jar-connection.xml, which is avaiable inside the adfLibUI.jar.
    I tried with a scenorio some thing like ... For the application to which i have added this adfUILibrary, there itself i created a URLConnection ... but it did not worked as well.
    Requesting you to let me know how can i get avail of my URL connection in to my jar ...
    Thanks & Regards,
    Kiran Konjeti

    Hi Steve,
    Thanks for your immediate reply.
    Yes...we are exactly doing the same. This ADFUI Library will be used as ADD TO PROJECT to consume in other application.
    I tried adding this to the Consumer Application's connections.xml file .... But it did not worked too...
    <Reference name="MapServer" className="oracle.adf.model.connection.url.HttpURLConnection" xmlns="">
    <Factory className="oracle.adf.model.connection.url.URLConnectionFactory"/>
    <RefAddresses>
    <XmlRefAddr addrType="MapServer">
    <Contents>
    <urlconnection name="MapServer" url="http://sbsys1.intra.schneider.com:8109/mapviewer"/>
    </Contents>
    </XmlRefAddr>
    </RefAddresses>
    </Reference>

  • Avoid connections.xml in JAR file

    I am using a "JAR Deployment Profile" in JDeveloper 9.0.3 to create a JAR file.
    How can I prevent that connections.xml becomes a part of the JAR file?
    tnx
    -Jan

    Seems to be a bit more complicated ;)
    I don't have "Connection Manager" library selected, but I do have "BC4J Tester". As this one also includes jdev-cm.jar, I still get connections.xml included in my JAR file.
    As long as the tester library is required during development - and even later, during the maintenance process ;), there should be another way to remove connections.xml from the deployment result...
    Maybe if we could specify the active configuration for all projects in the workspace at once...
    Thanks,
    Adrian

  • JDeveloper connect ok, but not getConnection

    Hi all, I am working on my first java program with JDeveloper. I was able to connect to my local Oracle9i database successfully, but when I tried to connect it in the program, I got "ORA-06401: NETCMN: invalid driver designator".
    *** Here is the export from my JDeveloper connection *****
    <?xml version = '1.0'?>
    <!DOCTYPE connections>
    <connections>
    <connection>
    <JDBC_PORT>1521</JDBC_PORT>
    <ConnectionType>JDBC</ConnectionType>
    <HOSTNAME>localhost</HOSTNAME>
    <user>SCOTT</user>
    <ConnectionName>Connection1</ConnectionName>
    <SID>CIS</SID>
    <JdbcDriver>oracle.jdbc.driver.OracleDriver</JdbcDriver>
    <password>tiger</password>
    <ORACLE_JDBC_TYPE>oci8</ORACLE_JDBC_TYPE>
    </connection>
    </connections>
    **** Here is my connection codes in program ******
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    conn = DriverManager.getConnection ("jdbc:oracle:oci8:@localhost.1521:CIS", "scott", "tiger");
    Thanks in advance for your help.
    Chris

    For using the 'thin' driver
    <ORACLE_JDBC_TYPE>thin</ORACLE_JDBC_TYPE>
    conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost.1521:CIS", "scott", "tiger");
    If you want to use the thick-oci driver the connection string will be of the format
    conn = DriverManager.getConnection ("jdbc:oracle:oci8:@tns_entry_name", "scott", "tiger");
    Regards
    Elango.

  • NPE when working with connections.xml for Web Service client

    Our ADF Web Service clients needs to read the WSDL and End point URL from connections.xml. But this is giving an Error.
    Here are the details:
    jdevloper 11.1.1.6.0
    Weblogic 10.3.5
    OWSM 11.1.1.6
    From my ADF based Application I need to call out a web service.
    For this I have built a Web Service Proxy and coded to call it from the application.
    Since the app needs to run through the development testing deployment lifecycle and hence be deployed on different environments, we need the ability allow configuration of wsdl and end point URL for the web service call without the need to recompile the app.
    We want to leverage the connections.xml for this purpose.
    http://docs.oracle.com/cd/E23943_01/web.1111/b31974/web_services.htm#autoId6
    My connection.xml looks like:
       <Reference name="MyService" className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl" xmlns="">
          <Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
          <RefAddresses>
             <XmlRefAddr addrType="WebServiceConnection">
                <Contents>
                   <wsconnection description="file:/C:/JDeveloper/mywork/jdev116/DeployTstCnnxtnLov/LovProxy/src/abc/lov/proxy/MyService.wsdl" service="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService">
                      <model name="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService" xmlns="http://oracle.com/ws/model">
                         <service name="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService">
                            <port name="MyService_Port" binding="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService_Binding">
                               <soap addressUrl="http://<machine:port>/PSIGW/PeopleSoftServiceListeningConnector" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                               <operation name="MyServiceOperation">
                                  <soap soapAction="MyServiceOperation.v1" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
                                  <output name="MyService_RESP.V1"/>
                                  <input name="MyService_REQ.V1"/>
                               </operation>
                            </port>
                         </service>
                      </model>
                   </wsconnection>
                </Contents>
             </XmlRefAddr>
          </RefAddresses>
       </Reference>
    My code in the Service Client Looks like:
      @WebServiceRef
      private static MyService myservice;
                Context ctx = ADFContext.getCurrent().getConnectionsContext();
                WebServiceConnection wsc =
                    (WebServiceConnection)ctx.lookup("MyService");
                String urlString = wsc.getWsdlUrlStr();
                System.out.println("WSDL URL: "+urlString);
                myservice = wsc.getJaxWSPort(MyService.class);
                MyService_PortType port = myservice.getMyService_Port();
      ServiceRequest request = new ServiceRequest();
      ServiceResponse response = port.MyServiceOeration(request);
    The WSDL URL is being read correctly.
    Error:
    This error appears to be triggered by the code:
        myservice = wsc.getJaxWSPort(MyService.class);
    java.lang.NullPointerException
            at java.lang.Class.isAssignableFrom(Native Method)
            at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
            at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
            at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processParameters(OperationMappingModeler.java:268)
            at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processMethod(OperationMappingModeler.java:155)
            at oracle.j2ee.ws.common.jaxws.runtime.ServiceEndpointRuntimeModeler.buildRuntimeModel(ServiceEndpointRuntimeModeler.java:114)
            at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.getRuntimeMetadata(WsClientProxyFactory.java:69)
            at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:126)
            at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:106)
            at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:219)
            at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:249)
            at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.getJaxWSPort(WebServiceConnectionImpl.java:385)
            at abc.lov.proxy.MyService_PortClient.fetchDesc(MyService_PortClient.java:84)
            at abc.lov.ServiceManager.fetchEmplID(ServiceManager.java:13)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    Hi Frank,
    I got the following two lines of code just to check if WebServiceConnection was able to read the connections file alright.
                String urlString = wsc.getWsdlUrlStr();
                System.out.println("WSDL URL: "+urlString);
    I am not using urlString for further processing.
    The output is
    WSDL URL: http://<host>/PSIGW/PeopleSoftServiceListeningConnector/MyService.1.wsdl
    java.lang.NullPointerException
            at java.lang.Class.isAssignableFrom(Native Method)
            at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
            at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
    The WSDL Url pointed to is the one that I configure in the connection while deploying the App.
    Ran a test and WSDL Url is accessible by the app.

  • Connection issue: missng connection.xml

    Hi I downloaded sqldeveloper 3.0.0.3.97 for window
    I unzip it in a folder and I double click the sqldeveloper.exe
    When I try to connect to the database it gives me this error: Any help?? My Toad and sqlplus works fine.
    Failed to create naming Context for db connections at url: file:/C:/Documents and Settings/laun1/Application Data/SQL Developer/system3.0.03.97/o.jdeveloper.db.connection.11.1.1.4.37.59.36

    I can create a dummy connection.xml using notepad so there is write permission of my account user.
    When I set it up to use TNS, it is able to ping up the TNS_NAME from my Oracle client environment and it is able to pass the TNS with my dbname,username & password
    However, it is not able to make the connection.

  • JDeveloper Connection to AS

    I have installed (and am evaluating) Oracle 9i AS. I want to connect to it from JDeveloper. AS and JDeveloper are on seperate machines.
    The Enterprise Manager shows OC4J to be up and running. If I execute "http://<ohs_host>:7777/j2ee/servlet/HelloWorldServlet" I get the proper response.
    But when I connect from JDeveloper to AS the connection fails.
    However, if on the server I execute on the command line: "java -jar oc4j.jar" then the connection from JDeveloper works. (I learned this trick from someone else, not from the manual.) But if I interrupt that process then the JDeveloper connection fails again.
    What is this oc4j.jar executable? Why won't JDeveloper connect without it? Why isn't it automatically part of the AS services? How can I get it to start with AS? Is there some config setting I need to change? Is it described somewhere in the documentation?
    Edward A. Ipser, Jr., PhD
    [email protected]
    www.ipserlab.com

    Hi all,
    I am using JDeveloper 10.1.3 for my development environment.
    I am able to deploy the EAR at development environment but at live site, I am getting error like Connection refused.
    I am using Oracle Application server 10.1.3 for deployment.
    I am getting frequent restarting problem of my application server and the logs are as follows...
    09/10/12 11:56:06 SEVERE: CoreRemoteMBeanServer.fetchMBeanServerEjbRemote Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused] for URL: ormis://app3.mptax.net:12702/defaultjavax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]]
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at oracle.oc4j.admin.topology.ConnectionRefImpl.getConnector(ConnectionRefImpl.java:241)
         at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.getAttribute(JVMAgr.java:1378)
         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
         at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
         at oracle.oc4j.admin.jmx.distributed.MBeanServerDelegate.invoke(MBeanServerDelegate.java:495)
         at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.getAttribute(J2EEServerAgr.java:1599)
         at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
         at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
         at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
         at oracle.sysman.ias.studio.j2ee.shared.jmx.oc4j.ClusterIASJMXUtil.getAttribute(ClusterIASJMXUtil.java:370)
         at oracle.sysman.ias.studio.setup.javasso.JMXJavaSSOConfAdminBean.isJssoConfigured(JMXJavaSSOConfAdminBean.java:1041)
         at oracle.sysman.ias.studio.setup.javasso.JavaSSOConfHelper.isJssoConfigured(JavaSSOConfHelper.java:802)
         at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1300)
         at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
         at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         ... 77 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 78 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 83 more
    Caused by: java.io.IOException: Connection refused
         at com.evermind.server.rmi.RMIClientConnection.createSecureSocket(RMIClientConnection.java:703)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:678)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 85 more
    09/10/12 12:00:05 SEVERE: CoreRemoteMBeanServer.fetchMBeanServerEjbRemote Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused] for URL: ormis://app3.mptax.net:12702/defaultjavax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused] [Root exception is java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]]
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
         at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
         at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
         at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
         at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
         at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
         at oracle.oc4j.admin.topology.ConnectionRefImpl.getConnector(ConnectionRefImpl.java:241)
         at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.getAttribute(JVMAgr.java:1378)
         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
         at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
         at oracle.oc4j.admin.jmx.distributed.MBeanServerDelegate.invoke(MBeanServerDelegate.java:495)
         at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.getAttribute(J2EEServerAgr.java:1599)
         at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
         at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
         at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
         at oracle.sysman.ias.studio.j2ee.shared.jmx.oc4j.ClusterIASJMXUtil.getAttribute(ClusterIASJMXUtil.java:370)
         at oracle.sysman.ias.studio.setup.javasso.JMXJavaSSOConfAdminBean.isJssoConfigured(JMXJavaSSOConfAdminBean.java:1041)
         at oracle.sysman.ias.studio.setup.javasso.JavaSSOConfHelper.isJssoConfigured(JavaSSOConfHelper.java:802)
         at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1300)
         at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
         at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Error communicating with server: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
         at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
         ... 77 more
    Caused by: oracle.oc4j.rmi.OracleRemoteException: Connection refused; nested exception is:
         javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
         at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
         at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
         ... 78 more
    Caused by: javax.naming.CommunicationException: Connection refused [Root exception is java.io.IOException: Connection refused]
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:292)
         at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
         at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
         ... 83 more
    Caused by: java.io.IOException: Connection refused
         at com.evermind.server.rmi.RMIClientConnection.createSecureSocket(RMIClientConnection.java:703)
         at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:678)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:58)
         at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:78)
         at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
         at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
         at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
         at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
         at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
         ... 85 more
    Please help me out,
    Thanks,
    RGB Team

  • Problem setting ADF BC Conneciton.  Error Invalid connections.xml

    Hi,
    I need to do some enhancement on an existing ADF Based project so I got the project source code
    from Source Control.
    But when I am trying to define a Database Connection on my Application Resources>Connections->New Connection->Database
    I am encountering below error.
    oracle.adf.rc.exception.CatalogException: Invalid connections.xml.I wanted to change the ADFBC connections also by right clicking the project and then choosing properties.
    When I try to add a Database Connection nothing is happening. CLicking the OK button does not do anything?
    Anyone has similar experience? Thanks

    Hi,
    Could you pls check whether your connections.xml is a valid xml.
    You can get more detail form this link:
    http://radalcove.com/wordpress/wp-content/uploads/2007/06/connections.htmlI think you can try creating new connection after removing corresponding "connections.xml" in your environment, Check matching location like below:
    <JDEV_HOME>\system11.1.1.0.18.45.24\o.jdevimpl.rescat2\connections\connections.xmlHope this will be helpful.
    -Prasad

  • Connections.xml usage in BC4J

    If i've defined a connection in my META-INF/connections.xml of the form:
    <Reference name="ReposConn" credentialStoreKey="ReposConn" className="oracle.jdbc.pool.OracleDataSource">
    <Factory className="oracle.jdbc.pool.OracleDataSource"/>
    <RefAddresses>
    <StringRefAddr addrType="sid">
    <Contents>mysid</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="subtype">
    <Contents>oraJDBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="user">
    <Contents>user</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="port">
    <Contents>15041</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="hostname">
    <Contents>localhost</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="password"/>
    <StringRefAddr addrType="DeployPassword">
    <Contents>false</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oraDriverType">
    <Contents>thin</Contents>
    </StringRefAddr>
    </RefAddresses>
    and added the relevant chunk to the META-INF/credential-jazn-data.xml,
    and added the following chunk to my META-INF/adf-config.xml:
    <jndiC:adf-jndi-config xmlns="http://xmlns.oracle.com/adf/jndi/config"
    initialContextFactoryClass="oracle.adf.share.jndi.InitialContextFactoryImpl"
    backingStoreClass="oracle.adf.share.jndi.ResourceBackingStore"
    backingStoreURL="/META-INF/connections.xml">
    <contextEnv name="context1" value="JNDIContextValue" />
    </jndiC:adf-jndi-config>
    <sec:adf-config-child xmlns="http://xmlns.oracle.com/adf/security/config">
    <CredentialStoreContext credentialStoreClass="oracle.adf.share.security.providers.jazn.JAZNCredentialStore"
    credentialStoreDefaultUser="anonymous"
    credentialStoreLocation="./credential-jazn-data.xml"/>
    </sec:adf-config-child>
    what do I have to do in my bc4j.xcfg to use this connection and is there anything about what's defined above which is incorrect?
    thanks,
    -Ian

    Andrew:
    Try the following steps:
    1. Go to the IDE.
    2. Select the EO (the one that will draw its data from a different
    database).  Let's call this EO, MyEO.  Right-mouse click to edit the
    EO.
    3. Switch to the 'Java' panel.  Check the checkbox for 'Entity
    collection Class'.  Apply the change.
    4. You will see that MyEOCollImpl.java is generated.  This is the
    custom Java class for the collection that manages instances of MyEO
    rows (MyEOImpl instances).
    In MyEOCollImpl.java add fields and methods to make connection to
    the other database.  E.g.,
    import oracle.jbo.server.EntityCache;
    import java.sql.*;
    public class MyEOCollImpl extends EntityCache
       Connection conn;
       public MyEOCollImpl()
          // Set up JDBC connection to the other database.
          DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
          conn = DriverManager.getConnection("jdbc:oracle:thin:scott/tiger@localhost:1521:ORCL");
    5. Then, in MyEOImpl.java (not MyEOCollImpl.java), override the following methods:
       protected void doSelect(boolean lock)
       protected void doDML(int operation, TransactionEvent e)
    The first is called to populate attriutes into the entity row.
    The second is called to push edits back out to database.
    In doSelect, use
       protected void populateAttribute(int index, Object value)
    to populate attribute values.  'index' is the attr index.
    Take a look at the following HOWTO doc:
       re:Certification
    It will give you further info on these two methods.
    Thanks.
    Sung

  • JDeveloper and XML Publisher with EBS ?

    Hi All,
    Can anyone clarify my doubts ?
    I am new to Java and i have some experience in XMLP, but i saw in the User guide the Java API's, how to and where to run those API's.
    And is JDeveloper used with XMLP to run Java API's ?, if yes can u pls explain how to start working on that and what is the relation between JDeveloper and XML Publisher in EBS.
    I really appriciate your early reply.
    Thanks in advance.

    XML Publisher ships with 2 XDK parsers a 9i version for backward compatibility and 10g version - you can switch at runtim using the properties. However, you have to make sure that the XML Publisher versions of the libraries are used and not the ones coming with i.e. jdeveloper version or oc4j version that you are using. You should use the version shipped with XML Publisher, because these versions are thoroughly tested with XML Publisher.
    See the deployment notes in the install document:
    Oracle OC4J Deployment Notes
    The version of the XML Parser shipped with Oracle OC4J is incompatible with XML Publisher. When you create an XML Publisher application for OC4J you need to configure the system to use the XML Publisher version of the XML Parser. This can be accomplished by setting an orion-web.xml configuration file with the following content:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <orion-web-app>
    <web-app-class-loader search-local-classes-first="true" />
    </orion-web-app>

  • Connecting XML files with xMII

    Hi,
      i want to connect xml file (say one.xml having table name and price) with xMII. how can i do it? by using TAG query? what is the simulatorTag.xml?
    - senthil

    Senthil,
    Save your .xml file in your local system
    Open Business Logic Editor and under WEB you can find xmlLoader.
    Right Click and configure the path of the xml file in source URL.
    This will load your xml file and all the rowsets will be available for further manipulation...
    Tag Query is normally used to query a Tag type database like simulator..
    Hope this helps,
    Ajitha

  • JDeveloper Connections AQ Setup?

    We are still using BPEL & JDeveloper 10.1.2 . I'm trying to set up a AQ service in JDeveloper so I can use it in the Partner Link wizard. Can someone either explain the steps required, or point me to a URL that explains how to set up the AQ service.
    The current BPEL application has a process that is invoked by a message on the database AQ. I'm assuming the developer had the JDeveloper connection tab on his system set up before creating the partner link. His system and configuration are long gone, and I am trying to recreate the configuration. I would appreciate any help you might provide.

    Hi,
    I am trying to setup Oracle AQ on 10.2 on Linux platform. When I execute catmgw.sql script to load database objects, I am getting errors. Specifically it is failing to execute mgwityp.plb script. The script has CREATE OR REPLACE TYPE mgwi_msglink OID '00000000000000000000000000021090' wrapped statement followed by wapped code. I get a ORA-02304: invalid object identifier literal error.
    Has anybody seen this error? Am I missing some setup/dependancies before I execute catmgw.sql script?
    Regards
    Kiran

  • Connect xml with flex

    Dear Friends,
    iam doing my first project in flex. trying to connect a xml
    generated by php connected to mysql. i took an example from the
    following link:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showDetails&postId=5561&produ ctId=2&loc=en_US
    my xml is generated. working fine. when i run my Flex, it is
    not working. it is giving the following error
    Process terminated without establishing connection to
    debugger.
    Command:
    "C:\Program Files\Adobe\Flex Builder
    3\sdks\3.2.0\bin\adl.exe"
    C:\Rahim\TestApplications\Flexapplication\xmltest\bin-debug\xmltest-app.xml
    C:\Rahim\TestApplications\Flexapplication\xmltest\bin-debug
    Output from command:
    invocation forwarded to primary instance
    my flex file is :
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    initialize="doSend()"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.rpc.events.ResultEvent;
    [Bindable]
    private var datalist:ArrayCollection;
    private function resultHandler(event:ResultEvent):void{
    datalist = event.result.data.row;
    public function doSend():void {
    xmlFromDatabase.url = "
    http://localhost/flex/flexdb.php";
    xmlFromDatabase.send();
    ]]>
    </mx:Script>
    <mx:HTTPService url="
    http://localhost/flex/flexdb.php"
    id="xmlFromDatabase"
    showBusyCursor="true"
    result="resultHandler(event)"
    method="GET" />
    <mx:DataGrid x="10" y="10" dataProvider="{datalist}"
    id="dg">
    <mx:columns>
    <mx:DataGridColumn headerText="Col1" dataField="id"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    Thanks and Regards,
    Syed Abdul Rahim

    hi _funkyboy ,
    thks for ur msg. i tried using run also.. still not
    running... can u pls advice me wt to do. i got struct up.. i have
    to do this.
    tell me how to connect xml which was generated by php and
    fetch the data and display in Flex.
    thanks and regards,
    Syed Abdul Rahim

  • Deployment without connections.xml

    Hi all
    I use my own connection pool and not use any connection.xml settings at all. But I can not manage to remove connection.xml from server side catalog WEB-INF/classes. I do not want this file to be deployed on the server because it contains my test connection to the local servers. I use standalone OC4J container.
    Pleas describe how can I set the deployment profile that removes connections.xml from deployment .ear.
    Best regards,
    Vyacheslav

    Hi all
    I use my own connection pool and not use any connection.xml settings at all. But I can not manage to remove connection.xml from server side catalog WEB-INF/classes. I do not want this file to be deployed on the server because it contains my test connection to the local servers. I use standalone OC4J container.
    Pleas describe how can I set the deployment profile that removes connections.xml from deployment .ear.
    Best regards,
    Vyacheslav

Maybe you are looking for

  • 'Unable to load database' er

    Hi, I have the Creative MuVo V200 and it is installed with drivers .07 00 250 latest and Creative Mediasource organiser ver 3.30.2. The initial installation caused no problems and I used the Rip CD option on the MuVo V200 media Explorer on My Compter

  • Can't Transfer Songs to iPod

    Whenever I plug in my iPod, all my USB devices stop working. Anyone know a solution?

  • MAIL cannot update your mailboxes---error in MAIL 2.1

    "MAIL cannot update your mailboxes---" Have 26 Gb of space left and found the fix to delete the Envelope Index file. I moved Envelope Index to the DT and relaunched MAIL. It seemed to import 1200 items, then it just goes to colored wheel of death. Ha

  • How to listen to iphone ipod through my car stereo?

    Before the iphone, I had the ipod shuffle. I used the connector with the shuffle to my aux power plug-in and it worked great. This same connector fits the iphone but no music comes through the speakers? I sometimes get loud "cracks" like something is

  • Dreaded iMac lines symptom hits 23" Cinema display!

    Have a 17" iMac that developed the "lines" symptom within a month after the factory warranty expired - that computer is all but useless now unless I spend the $700+ to get the display working again (& who knows how long the fix will last...) Now, the