Problem to get Connection from JBoss AS

PLEASE HELP ME....
I GOT ERROR WHILE I TRYED TO GET A CONNECTION FROM JBOSS APP. SERVER.
THE CODE IS
package com.beo.atlas.common;
public final class ServiceLocator     {
     private static final String JBOSS_INITIAL_CONTEXT_FACTORY = "org.jnp.interfaces.NamingContextFactory";
     private static final String JBOSS_PROVIDER_URL = "localhost:8080";
     private static final String JBOSS_URL_PKG_PREFIXES = "org.jboss.naming:org.jnp.interfaces";
     public static final String ATLAS_DATASOURCE = "java://myatlasdbpool";
     private static java.util.Hashtable dataSourceCache = null;
     private static ServiceLocator locator = null;
     static     {
          System.out.println("Locator Initializing");
          dataSourceCache = new java.util.Hashtable();
          locator = new ServiceLocator();
     private ServiceLocator()     {     }
     public static ServiceLocator newInstance()     {
          System.out.println("Returning the Locator Object");
          return locator;
     public java.sql.Connection getDBConnection() throws java.sql.SQLException,javax.naming.NamingException     {
          System.out.println("Getting Data base Connection....");
          if(dataSourceCache.containsKey(ATLAS_DATASOURCE))     {
               System.out.println("Trying to get Connection from CACHE...");
               System.out.println("Returning Connection Object from cache.");
               return (java.sql.Connection)dataSourceCache.get(ATLAS_DATASOURCE);
          System.out.println("FAILED to get Connection from CACHE");
          System.out.println("Trying to create new Connection...");
          java.util.Properties props = new java.util.Properties();
          props.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,JBOSS_INITIAL_CONTEXT_FACTORY);
          props.put(javax.naming.Context.PROVIDER_URL,JBOSS_PROVIDER_URL);
          props.put(javax.naming.Context.URL_PKG_PREFIXES, JBOSS_URL_PKG_PREFIXES );
          javax.naming.InitialContext context = new javax.naming.InitialContext(props);
          Object o = context.lookup(ATLAS_DATASOURCE);
          System.out.println("Object Created...");
          javax.sql.DataSource dataSource = null;
          try     {
          dataSource = (javax.sql.DataSource)javax.rmi.PortableRemoteObject.narrow(o,javax.sql.DataSource.class);
          }catch(Exception e)     {     
          java.sql.Connection con = dataSource.getConnection();
          dataSourceCache.put(ATLAS_DATASOURCE,con);
          System.out.println("Returning new Connection Object.");
          return con;          
ERROR
Locator Initializing
Returning the Locator Object
Getting Data base Connection....
FAILED to get Connection from CACHE
Trying to create new Connection...
Object Created...
java.lang.ClassCastException
at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(Unknown S
ource)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at com.beo.atlas.common.ServiceLocator.getDBConnection(ServiceLocator.ja
va:56)
at AtlasClient.printData(AtlasClient.java:16)
at AtlasClient.main(AtlasClient.java:8)
Caused by: java.lang.ClassCastException: org.jnp.interfaces.NamingContext
... 5 more

I've got the same problem. Working with JBoss 4.0.3 and Tomcat 5.5. The lookup goes fine and returns an object of type remote home, however when I perform the narrow() I get ClassCastException. I'm sure the client and the server have got the same file version as I built from the same source.
[error]
Caused by: java.lang.ClassCastException
     at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
     at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
[error]

Similar Messages

  • Open script cannot get connection from the brower helper after 15 seconds.

    Error:
    ===
    Open script cannot get connection from the brower helper after 15 seconds. Do you want to continue waiting for the browser to load?
    Please Note:
    ========
    1. I have tried this only on IE
    2. I am running OATS on a Remote desktop
    Situation:
    ======
    Trying to stop the recording
    Try to get xpath of an object using Inspect Path
    Setup details
    ========
    Windows XP 5.1 Service Pack 3, x86
    OpenScript 12.1.0.1.383
    Internet Explorer 8.0.6001.18702
    FireFox 13.0.1
    Mitigation steps done till now:
    ==================
    1. Disabled windows firewall
    2. Disable XSS filter setting
    3. Restarted the ATS services (3 of them)
    4. Run the Open Script Diagnosis Tool (PS: There are 3 errros even after running it. The 3 errros are listed in the workspace_log log file snippet below...)
    Error in worspace_log:
    =============
    To Change setting:
    Go to Tools > Internet Options and Choose Security Tab
    Select the Zone to modify and Press Custom level
    Find Enable XSS filter Setting - Select Disable and click Ok
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Failure found when diagnosing Oracle EBS/Forms Load Testing Forms LT Diagnoser
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Did not auto-fix the problem.
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Suggestion for fixing: Please change your Java proxy setting to Use Browser Settings
    Aprreciate help on this.

    To resolve this, you need to reconfigure the "Oracle Application Testing Suite Helper Service" (OATSHelperSvr) to start as a user who has privledges to run open script tests rather than the default SYSTEM user.
    Reconfiguring the OATSHelperSvr Service:
    1. Open the services panel (Start > Run > services.msc)
    2. Find the Oracle Application Testing Suite Helper Service
    3. Right Click > Properties then select the Log On Tab
    4. Specify an interactive user that has rights to run OpenScript (test by logging in as that user and running tests):
    5. Click OK
    6. Restart the service after dialogs are closed by Right Click > Restart
    7. You should now repeat this process for the "Oracle Application Testing Suite Agent Service" (eLoadAgentMon) Service (Two services in
    total)
    You should now retry running the test in Oracle Test Manager

  • Weblogic realm authentication failure getting connection from pool

    We are getting this error when we try to get a connection from the
    pool for a Tx Data Source. We are successfully getting connections
    from a (non-Tx) Data Source.
    java.lang.SecurityException: Authentication for user Fitness_demo
    denied in realm weblogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:212)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:125)
    at weblogic.security.acl.Security.doAsPrivileged(Security.java:481)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:127)
    We have added the DB user as a user in the realm, which usually does
    the trick; but in this case it does not. We are using Merant's
    JSQLConnect type 2 driver for SQL Server, and we are running on
    Solaris. The scenario works fine using Oracle Thin driver on Windows.
    Do we need ACL entries or something? We do not have any ACL entries
    now.
    Thanks,
    -wes

    We are getting this error when we try to get a connection from the
    pool for a Tx Data Source. We are successfully getting connections
    from a (non-Tx) Data Source.
    java.lang.SecurityException: Authentication for user Fitness_demo
    denied in realm weblogic
    at weblogic.security.acl.Realm.authenticate(Realm.java:212)
    at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:125)
    at weblogic.security.acl.Security.doAsPrivileged(Security.java:481)
    at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:127)
    We have added the DB user as a user in the realm, which usually does
    the trick; but in this case it does not. We are using Merant's
    JSQLConnect type 2 driver for SQL Server, and we are running on
    Solaris. The scenario works fine using Oracle Thin driver on Windows.
    Do we need ACL entries or something? We do not have any ACL entries
    now.
    Thanks,
    -wes

  • Get Connection from connection pooling

    Hi,
    I am aware of the fact that to get connection from a connection pool we need to add JNDI name in context.xml of apache tomcat and use it in our application to get connection. I have tested this and it works fine.
    Now, we have 12 servers having free database each having almost 20 small Java applications for different purposes (get data from server database do some business logic and maipulation with data from central database and store on central database) each connecting to central database.
    We were enjoying life till we had almost 8-9 servers but now many times we have connection issues as there are too many connections to central database and servers are going to increase.
    I know my company design is not good but we need some solution.
    I want my Java applications to take database connectivity using connection pooling on servers. My Java applications are standalone applications that do not run in web server. Is this approach fine?
    I searched google for some solution but was unable to find.
    Any pointers would be really helpful.
    I think that since my application is outside web container I am unable to get Context (java:/comp/env). Please give me some pointers on how can i get web server context outside web server.
    Thanks and Regards,
    Vikash Anand.

    Google ( [jndi standalone application|http://www.google.com/search?q=jndi+standalone+application] ).

  • OSR registry not getting connected from Jdeveloper 10.1.3.3.

    Hi,
    i am getting below error while connecting to OSR registry link. i.e, while making a new UDDI connection from JDev.
    Testing connection with no proxy...
    Contacting http://calvin.fcoracle.com:7800/registry/uddi/web...
    The inquiry endpoint could not be contacted. Test failed.
    Unsupported response content type "text/html; charset=UTF-8", must starts with "text/xml". Response was:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>Registry Control 10.1.3.1 - Home</title>
    <base href="http://calvin.fcoracle.com:7800/registry/uddi/webdata/"/>
    <link rel="stylesheet" type="text/css" href="script/uddi.css"/>
    <script language="JavaScript" src="script/cookies.js"></script>
    <script language="JavaScript" src="script/wf.js"></script>
    <script language="JavaScript" src="script/uddi.js"></script>
    <script language="JavaScript" src="script/tree.js"></script>
    <script language="JavaScript" src="script/init.js"></script>
    <script language="JavaScript" src="script/ctxmenu2.js"></script>
    <script language="JavaScript" src="script/sizer.js"></script>
    <script language="JavaScript" src="script/tabswitch.js"></script>
    <script language="JavaScript" src="script/fswitch.js"></script>
    <script language="JavaScript" src="script/tree_scroller.js"></script>
    <noscript>???pageHeader_notSupportJavascript???</noscript>
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" onResize="redrawScrollable()">
    <table>
    <form name="form" method="POST" >
    <input type="hidden" name="actionId"/>
    <input type="hidden" name="targetTask"/>
    <input type="hidden" name="targetDepth"/>
    <input type="hidden" name="redirect"/>
    </table>
    <div style="position:absolute;top:0px;left:50px;width:350px;height:50px;display:none;" id="alertDiv" name="alertDiv"></div>
    <div style="position:absolute;top:0px;left:0px;width:10px;height:10px;display:none;background:url('gfx/tree/selector.gif');border:1px solid #606060;" id="selectorDiv" name="selectorDiv"></div>
    <script language="JavaScript">
    var navObjs=new Array();
    navObjs[0]='mbrowse';
    navObjs[1]='msearch';
    navObjs[2]='mpublish';
    </script>
    <!-- using localizable script, fixed by utdanh -->
    <script language="JavaScript" src="script/naviswitch.js"></script>
    <!-- page content start -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td align="left" valign="middle">
    <img src="gfx/logo/uddi_logo.gif" alt="Registry Control 10.1.3.1" width="335" height="33" border="0" >
    </td>
    <td align="right" valign="bottom" width="100%" nowrap>
    <span class="registryName">OracleAS Service Registry</span> 
    <br>
    <a href="javascript:submitPage('form','/limits','root##834',-1,false);" title=""> Licensing Information.</a>
    </td>
    </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="100%" valign="bottom" align="right" nowrap>
    <a href="http://calvin.fcoracle.com:7800/registry/uddi/web#Main" title="Go go the main content of page">Skip to content</a>  
    <a href="javascript:submitToURL('form','/createAccount','root##835',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Register"> Register</a>
     
    </td>
    <td valign="bottom" nowrap>
    <a href="javascript:submitToURL('form','','root#login#836',-1,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Login"> Login</a>
     
    </td>
    <td valign="bottom">
    <a href="javascript:submitPage('form','','root#refresh#837',-1,false);"><img src="gfx/icon/refresh.gif" style="border: 0;" title="Refresh page content" alt="Refresh" width="16" height="16" align="absmiddle" border="0"/></a>
    </td>
    <td valign="bottom">
     <a href="../doc/index.html" target="_blank"><img src="gfx/icon/help.gif" width="16" height="16" border="0" alt="Help" title="Registry Documentation (Open link in a new window)" align="absmiddle">
    </a>
    </td>
    </tr>
    <tr>
    <td colspan="4">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" class="headerSeperateLine">
    <tr>
    <td width="34" height="8"><img src="gfx/tabs/beginLine.gif" alt="" width="34" height="8" align="middle"/></td>
    <td width="100%" height="8" class="seperateLine"><img src="gfx/0.gif" alt="" width="1" height="1" border="0"/></td>
    <td width="34" height="8"><img src="gfx/tabs/endLine.gif" alt="" width="34" height="8" align="middle"/></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td>
      
    <a href="javascript:submitPage('form','','root##838',0,false);"> Home</a>
    </td>
    <td colspan="3" align="right" class="welcomeMessage" nowrap>
    Welcome 
    Guest 
    </td>
    </tr>
    </table>
    <div class="headerHorizon">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tbody>
    <tr>
    <td class="lightHeaderHorizon"><img src="gfx/0.gif" alt=""></td>
    </tr>
    </tbody>
    </table>
    </div>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td class="darkHeaderHorizon"><img src="gfx/0.gif" alt=""></td>
    </tr>
    </table>
    <table border="0" width="100%" border="0" bordercolor="#6600cc" cellpadding="0" cellspacing="0" id="UIheaderTable" name="UIheaderTable" >
    <tr>
    <td colspan="4">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td width="3" height="21" class="menuTweenTopLeftTabActive" name="L_mbrowse" id="L_mbrowse" background="gfx/tabs/menu_tween_top_left_1.gif" ><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td align="center" nowrap="nowrap" name="B_mbrowse" id="B_mbrowse" class="menuTabActive">
    <img src="gfx/0.gif" alt="" width="5" height="1" border="0"/> 
    <a href="javascript:navSave('mbrowse');submitPage('form','/browseTaxonomy','root##839',0,false);">Browse</a> 
    <img src="gfx/0.gif" alt="" width="5" height="1" border="0"/>
    </td>
    <td width="3" height="21" class="menuTweenTopRightTabActive" name="R_mbrowse" id="R_mbrowse" background="gfx/tabs/menu_tween_top_right_1.gif"><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td width="3" height="21" class="menuTweenTabInactive" name="L_msearch" id="L_msearch" background="gfx/0.gif"><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td align="center" nowrap="nowrap" name="B_msearch" id="B_msearch" class="menuTabInactive">
    <img src="gfx/0.gif" alt="" width="5" height="1" border="0"/> 
    <a href="javascript:navSave('msearch');submitPage('form','/simpleFind','root##840',0,false);">Search</a> 
    <img src="gfx/0.gif" alt="" width="5" height="1" border="0"/>
    </td>
    <td width="3" height="21" class="menuTweenTabInactive" name="R_msearch" id="R_msearch" background="gfx/0.gif"><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td width="3" height="21" class="menuTweenTabInactive" name="L_mpublish" id="L_mpublish" background="gfx/0.gif"><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td align="center" nowrap="nowrap" name="B_mpublish" id="B_mpublish" class="menuTabInactive">
    <img src="gfx/0.gif" alt="" width="5" height="1" border="0"/> 
    <a href="javascript:navSave('mpublish');submitToURL('form','/publish','root##841',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');">Publish</a> 
    <img src="gfx/0.gif" alt="" width="5" height="1" border="0"/>
    </td>
    <td width="3" height="21" class="menuTweenTabInactive" name="R_mpublish" id="R_mpublish" background="gfx/0.gif"><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td width="100%" class="menuTabInactive"><img src="gfx/0.gif" alt="" border="0"></td>
    </tr>
    <tr>
    <td colspan="3" class="menuUnderTabActive" name="U_mbrowse" id="U_mbrowse"><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td colspan="3" class="menuUnderTabInactive" name="U_msearch" id="U_msearch"><img src="gfx/0.gif" alt="" border="0"></td>
    <td colspan="3" class="menuUnderTabInactive" name="U_mpublish" id="U_mpublish" ><img src="gfx/0.gif" alt="" width="3" height="1" border="0"></td>
    <td colspan="3" class="menuUnderTabInactive"><img src="gfx/0.gif" alt="" border="0"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td height="24" colspan="3" class="horizMainMenu">
    <div name="mbrowse" id="mbrowse" style="display:block">
     
    </div>
    <div name="msearch" id="msearch" style="display:none">
    <a href="javascript:submitPage('form','/findBusiness','root##842',0,false);" title="Search business"> Business</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/findService','root##843',0,false);" title="Search services"> Services</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/findBinding','root##844',0,false);" title="Search bindings"> Bindings</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/findTModel','root##845',0,false);" title="Search tModels"> tModels</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/directGet','root##846',0,false);" title="Direct get"> Direct get</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/findWsdl','root##847',0,false);" title="Search WSDL"> WSDL</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/findXML','root##848',0,false);" title="Search XML"> XML</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/findXsd','root##849',0,false);" title="Search XSD"> XSD</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitPage('form','/findXslt','root##850',0,false);" title="Search XSLT"> XSLT</a>
     
    </div>
    <div name="mpublish" id="mpublish" style="display:none">
    <a href="javascript:submitToURL('form','/publish','root##851',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Publish"> Publish</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitToURL('form','/subscriptions','root##852',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Subscriptions"> Subscriptions</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitToURL('form','/custody','root##853',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Custody transfer"> Custody transfer</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitToURL('form','/publishWsdl','root##854',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Publish WSDL"> WSDL</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitToURL('form','/publishXML','root##855',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Publish XML"> XML</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitToURL('form','/publishXsd','root##856',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Publish XSD"> XSD</a>
     <img src="gfx/misc/separator.gif" alt="" width="7" height="7" border="0"> 
    <a href="javascript:submitToURL('form','/publishXslt','root##857',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');" title="Publish XSLT"> XSLT</a>
     
    </div>
    </td>
    </tr>
    <tr>
    <td height="10" colspan="4" background="gfx/table/sh.gif"><img src="gfx/0.gif" alt="" width="1" height="10" border="0"></td>
    </tr>
    </table>
    <table width="100%" border="0">
    <tr><td class="DialogOffset_5px">
    </td> </tr> </table>
    <!-- normal frame header begin -->
    <div class="DialogOffset_5px">
    <table border="0" bordercolor="navy" width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="10" height="30" background="gfx/table/bl.gif" valign="top"><img src="gfx/table/cc01.gif" alt="" width="10" height="30" border="0"></td>
    <td height="30" width="100%" class="frameTop" background="gfx/table/hdr_bg.gif" nowrap><div class="DialogName" style="float:left">Oracle Application Server Service Registry </div>
    </td>
    <td width="10" height="30" valign="top" background="gfx/table/br.gif"><img src="gfx/table/c02.gif" alt="" width="10" height="10" border="0"></td>
    <td width="10" height="30" valign="top" background="gfx/table/sv.gif"><img src="gfx/table/sc02.gif" alt="" width="10" height="10" border="0"></td>
    </tr>
    <tr>
    <td width="10" background="gfx/table/bl.gif"><img src="gfx/0.gif" alt="" width="10" height="305" border="0"></td>
    <td height="10" valign="top" class="DialogContent" name='normalDialogPane' id='normalDialogPane'><!-- normal frame header end -->
    <div class="mainDialogContent">
    <div>
    <!-- anchor to quickly Skip to Content -->
    <a name="Main"></a> <!-- normal frame header end -->
    <p class="horizontalSpace">
    <ul class="bigtitle">
    <li style="width:80%"><h2 style="padding:0 !important;">Oracle Application Server Service Registry 10.1.3.1</h2></li>
    <li style="text-align:right"><a class="docLink" href="javascript:void(0);" onClick='window.open("http://calvin.fcoracle.com:7800/registry/uddi/web/../doc/stepbystep/stepbystep.html","","scrollbars=yes,width=390, height=535, resizable=yes")'>Registry Step By Step Guide</a>
    <br/>
    <a href="javascript:submitPage('form','/about','root##804',-1,false);" title=""> About Oracle Registry</a>
    </li>
    <br/>
    </ul>
    </p>
    <p class="horizontalSpace">Oracle Application Server Service Registry is the most complete and proven business services registry providing a foundation for the governance and lifecycle management of your business services. The Registry provides you with what you need to obtain enterprise-wide insight, control and economic leverage of your organization's business services assets. Much more than just a UDDI registry, the Registry captures and makes discoverable business service descriptions into a centrally managed, reliable and searchablelocation, becoming the system of record for your business services<br/>
    Oracle Application Server Service Registry provides two user interfaces.
    </p>
    <table width="100%" border="0">
    <tr>
    <td valign="top" width="50%"> <h3 class="horizontalSpace">Registry Control</h3>
    <ul class="list1">
    <li>Using the <b>Registry Control</b> users can browse and publish registry content, create subscription and perform ownership changes. The Registry Control is the primary console for administrators to perform registry management.</li>
    <li><h4 class="horizontalSpace">Getting Started with the Registry Control</h4></li>
    <li>
    <b>Register</b> - <a href="javascript:submitToURL('form','/createAccount','root##805',0,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');">Register</a> so that you can later publish business service content to the registry
    </li>
    <li>
    <b>Login</b> - <a href="javascript:submitToURL('form','','root#login#806',-1,false,'http://calvin.fcoracle.com:7800/registry/uddi/web');">Login</a> to publish content to the registry
    </li>
    <li>
    <b>Browse</b> - <a href="javascript:navSave('mbrowse');submitPage('form','/browseTaxonomy','root##807',0,false);">Browse</a> registry content using enterprise taxonomies
    </li>
    <li>
    <b>Search</b> - <a href="javascript:navSave('msearch');submitPage('form','/simpleFind','root##808',0,false);">Search</a> registry content including services, service providers, service endpoints and interfaces, and business service artifacts
    <ul class="vlist2">
    <li><a href="javascript:navSave('msearch');submitPage('form','/findBusiness','root##809',0,false);" title="Search business"> Business </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/findService','root##810',0,false);" title="Search services"> Services </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/findBinding','root##811',0,false);" title="Search bindings"> Bindings </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/findTModel','root##812',0,false);" title="Search tModels"> tModels </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/directGet','root##813',0,false);" title="Direct get"> Direct get </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/findWsdl','root##814',0,false);" title="Search WSDL"> WSDL </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/findXML','root##815',0,false);" title="Search XML"> XML </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/findXsd','root##816',0,false);" title="Search XSD"> XSD </a></li>
    <li><a href="javascript:navSave('msearch');submitPage('form','/findXslt','root##817',0,false);" title="Search XSLT"> XSLT </a></li>
    Pls. help me out with this..
    Rgds,
    Nikhil

    Hi,
    Yes, I am able to open the url and the results are:
    <?xml version="1.0" encoding="utf-8" ?>
    - <definitions name="UDDI_API_V3" targetNamespace="urn:uddi-org:api_v3generated/" xmlns:tns="urn:uddi-org:api_v3generated/" xmlns="http://schemas.xmlsoap.org/wsdl/">
    <import namespace="urn:uddi-org:api_v2" location="http://calvin.fcoracle.com:7800/registry/uddi/inquiry/2.0/wsdl" />
    <import namespace="urn:uddi-org:api_v3" location="http://calvin.fcoracle.com:7800/registry/uddi/inquiry/3.0/wsdl" />
    <import namespace="urn:uddi-org:inquiry" location="http://calvin.fcoracle.com:7800/registry/uddi/inquiry/1.0/wsdl" />
    </definitions>
    Did u get any clue to this now what might be the problem? Any services are down?
    Rgds,
    Nikhil

  • How to get connection from TopLink

    Hi All,
    I am facing problem in production while getting connection through JNDI.
    Since i need some result from the view and some other data for business functionality. My toplink connection is working fine....but when i try to get connection through JNDI its failing because of network issues or more connection is opened in DB side. But toplink connection is working fine.
    So i want to use the toplink connection instead of JNDI to get my result.
    For that i used all the solution given in the forum to get the connection from top link. But when i using those thing it shows the method are deprecated.
    import oracle.toplink.internal.sessions.UnitOfWorkImpl; --- In this package all the methods are deprecated so i used this package (import oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl;)
    UnitOfWork uow = getSessionFactory().acquireUnitOfWork();
    uow.beginEarlyTransaction();
    connection = ((UnitOfWorkImpl)uow).getAccessor().getConnection();
    import oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl;-----
    when i used this package i am getting below exception
    08/12/21 09:58:20 java.lang.ClassCastException: oracle.toplink.internal.sessions.UnitOfWorkImpl
    08/12/21 09:58:20      at mof.egov.portal.POMasterDetailSessionEJBBean.checkValidSupplier(POMasterDetailSessionEJBBean.java:2207)
    08/12/21 09:58:20      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08/12/21 09:58:20      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    08/12/21 09:58:20      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    08/12/21 09:58:20      at java.lang.reflect.Method.invoke(Method.java:585)
    Anyone help me to resolve the issues.
    Note : I am using, JDeveloper 10.1.3.3, EJB 3.0 (Stateless Session), TopLink
    Thanks & Regards
    VB

    Vimilan,
    Hi, try the following JEE snippet of EclipseLink code, the connection code you are using is for non-EE (SE EntityManagers - I received the same CCE as you in the past).
    [http://wiki.eclipse.org/EclipseLink/Examples/JPA/EMAPI#Getting_a_DataSource_from_an_EntityManager]
    Normally you let the JPA container manage all interaction with the datasource for your application. However, if you do require access to the datasource or connection in use by your JPA application, the following code should help you.
    The following line of code will get the current JTA or non-JTA datasource in use by an entityManager in a container managed JPA application using a JTA transaction-type.
    DataSource from a Container Managed EntityManager
    DataSource aDataSource = ((JNDIConnector)((DatabaseLogin)
    ((UnitOfWorkImpl)((JpaEntityManager)entityManager
    .getDelegate())
    .getActiveSession()
    .acquireUnitOfWork())
    .getProject()
    .getDatasourceLogin())
    .getConnector())
    .getDataSource();{noformat}
    Connection from an SE EntityManager
    The following code will return a null connection or cause a (non-narrow()) $Proxy ClassCastException if run on a container managed EntityManager, it is supplied for SE applications or one using the JavaSECMPInitializer or a RESOURCE_LOCAL transaction-type.
    Connection aConnection = ((UnitOfWorkImpl)((JpaEntityManager)entityManager)
    .getActiveSession()
    .acquireUnitOfWork())
    .getAccessor()
    .getConnection();
    thank you
    /michael [http://www.eclipselink.org|http://www.eclipselink.org/]
    Edited by: michael_obrien on Dec 21, 2008 2:16 PM

  • Having problems sharing internet Connection from Macbook to Vonage Adapter

    Hello,
    I just got my Vonage adaptor and I am trying to share the Internet connection from my Macbook Pro (10.7.3) to the Adaptor to use the Vonage service bc my router is downstairs.
    I turned off my Firewall, hooked my Vonage adapter to the Macbook with the ethernet cable and then went to Sys Preferences > Sharing > Selected Internet Sharing > Share Connection from Wifi to computers using Ethernet, and it looks like everything is ok but when i try to use the phone which is connected to to Vonage Adapter, it says "Your Vonage device cannot connect to the internet, check to see if your high speed internet is down".
    I went and looked at my Network preferences and it shows Ethernet connected which is the Vonage Adapter and gives the following:
    IP Address: 169.254.163.167
    Subnet Mask: 255.255.0.0
    Is there something Im doing wrong? Ive seen on several forums that its possible to do but having bad luck. Any help is appreciated.

    All I know is that I got Ubuntu to share internet and offer IPs through DHCP by using Firestarter. I am very new to Solaris, however, and am looking forward to learning about it. I've just made it my regular desktop environment. Long as you can get Solaris to configure its network interface with DHCP after your Ubuntu is configured, you should be able to share to as many clients as you'd like. Fedora also works well for that, and in my opinion, it's a better Linux than Ubuntu, though Solaris remains a better Linux than Linux, right? Har.

  • BC4J: How get Connection from Application Module

    I've written a custom method for my Application Module for using by the client tier. In this method I call a JPUblisher created class, that accesses a PL/SQL procedure. For this JPublisher created class I need a connection context. The class calls DefaultContext.getDefaultContext() but that seems to be null.
    How can I get the current Connection of the Application Module, so that I can create a DefaultContext?
    Unfortunately Transaction has no getConnection method.
    Thanks,
    Robert

    We don't make the Connection directly available because in some sense it's a rope on which you can hang yourself if you are not careful. Since BC4J AppModules are most often used from a pool, and you might be using connection pooling in addition to application module pooling, in general it is not safe to get hold of the raw JDBC connection and "hang onto it".
    If you make careful use to always get the current JDBC connection before you use it, and not try to cache it, then you should be ok. Often, you can avoid the need to get the raw JDBC connection by calling getDBTransaction().createPreparedStatement(...) or the analogous createCallableStatement() or createStatement() that are also on the DBTransaction interface.
    Here is a little function you can add to your application module impl class to retrieve the Connection:
      private Connection getCurrentConnection() {
        Statement st = null;
        try {
          st = getDBTransaction().createStatement(0);
          return st.getConnection();
        catch (SQLException s) {
          s.printStackTrace();
          return null;
        finally {
          if (st != null) try { st.close(); } catch (SQLException s2) {}
      }It basically creates a (dummy) statement, gets the current connection from the statement, then closes the statement.
    I tried using this in a custom method in an AppModuleImpl class that invoked a JPublisher-create package-wrapper class like this:
      public void callStoredProc() {
        try {
          // Empservice is package wrapper class created by JPublisher
          Empservice e = new Empservice(getCurrentConnection());
          BigDecimal sal = e.lookupsalary(new BigDecimal(7369));
          System.out.println(sal);
        catch (SQLException s) {
          s.printStackTrace();
      }and it works for me.

  • Problems in getting userid from Appscontext object

    Hi,
    Just a novice on OA ..Need a way to get userid .Currently i initiate an appsContext object using a DBC filepath. and then call getUserID() on the initialized object but I get it as -1 .
    WebAppsContext app = new WebAppsContext("dbc file name along with the path");
    app.getUserID(); // Gets me -1
    As a cross check on the appsContext object app I acquired a jdbc connection from the appscontext object and fired a dummy query , which did worked implying the object app has been initialized.
    Hopin for a quick resolution or an alternate way of doin this,.

    Hi .
    sorry i hadnt made my reqmt clear ...
    the thing is i m hitting a servlet from OA. And in this servlet i need to fetch userid so that i can query on fnd_users for getting the logged in user description , letz say i get user desc as abc ..so as to display welcome abc on top of the my custom page.
    as itz a normal servlet ..i dont have pagecontext object ..just the usual servlet stuff like httpRequest . So how to get userid / user desc in this case...
    any alternate way .. does an OA exception trace has userid info that can be extracted....
    just a quest ..does AppsContext.getUserID() return -1 if itz initialized thru DBC filepath ?
    Regards,
    Ashley.

  • I am unable to get print from JBoss server

    i am unable to print from JBOss server , but i am abele print from JRun , same code deployed in JBOss , i am getting this error:
    sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: : java.io.FileNotFoundException: http://devuc.corporate.ge.com/ftlt/META-INF/services/javax.print.PrintServiceLookup      at sun.misc.Service.fail(Unknown Source)      at sun.misc.Service.parse(Unknown Source)      at sun.misc.Service.access$100(Unknown Source)      at sun.misc.Service$LazyIterator.hasNext(Unknown Source)      at javax.print.PrintServiceLookup$1.run(Unknown Source)      at java.security.AccessController.doPrivileged(Native Method)      at javax.print.PrintServiceLookup.getAllLookupServices(Unknown Source)      at javax.print.PrintServiceLookup.lookupDefaultPrintService(Unknown Source)      at sun.print.RasterPrinterJob.lookupDefaultPrintService(Unknown Source)      at sun.awt.windows.WPrinterJob.getPrintService(Unknown Source)      at sun.print.RasterPrinterJob.print(Unknown Source)      at sun.print.RasterPrinterJob.print(Unknown Source)      at presentation.BaseFrame.doPrint(BaseFrame.java:1068)      at presentation.MainFrame.JMenuItemPrintDataSet_actionPerformed(MainFrame.java:1368)      at cmpresentation.CMMainFrame.access$33(CMMainFrame.java:1)      at cmpresentation.CMMainFrame$SymAction.actionPerformed(CMMainFrame.java:850)      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)      at javax.swing.AbstractButton.doClick(Unknown Source)      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)      at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)      at java.awt.Component.processMouseEvent(Unknown Source)      at java.awt.Component.processEvent(Unknown Source)      at java.awt.Container.processEvent(Unknown Source)      at java.awt.Component.dispatchEventImpl(Unknown Source)      at java.awt.Container.dispatchEventImpl(Unknown Source)      at java.awt.Component.dispatchEvent(Unknown Source)      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)      at java.awt.Container.dispatchEventImpl(Unknown Source)      at java.awt.Window.dispatchEventImpl(Unknown Source)      at java.awt.Component.dispatchEvent(Unknown Source)      at java.awt.EventQueue.dispatchEvent(Unknown Source)      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)      at java.awt.EventDispatchThread.run(Unknown Source)
    can anybody help on this
    Message was edited by:
    ravindar_reddy

    no , i am tring to print some data form swing component
    that time i am getting this error

  • TS3276 can't download mail from windows live account.  I have deleted and re-set up the account but still won't work.  I can go online and access with no problem or get mail from other apple devices.

    Not able to get mail from windows live account.

    Firefox can find plugins in several locations, but Firefox 21 changed the location of the "shared" plugin folder so older installers like the Microsoft Windows Media Plugin no longer drop the DLL file in the correct location.
    There apparently are two ways to address this:
    (1) Change a Firefox preference so that Firefox checks the old location. Here's how:
    (i) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (ii) In the filter box, type or paste '''plugins''' and pause while the list is filtered
    (iii) Double-click '''plugins.load_appdir_plugins''' to switch its value from false to true.
    This will take effect after you restart Firefox.
    (2) Copy the plugins folder to the new location. Here's how on Win 7 64-bit:
    Open a Windows Explorer window to:
    C:\Program Files (x86)\Mozilla Firefox
    Right-click and copy the '''Plugins''' folder
    Double-click the '''browser''' folder to open it
    Right-click and paste
    Right-click the new copy of '''Plugins''' and rename it to '''plugins'''
    After restarting Firefox, the plugins in that folder should now be available.
    ''Edit: I suggest just doing #1.''

  • Get MBean from JBoss???

    Hi everyone,
    I deployed a session bean on JBoss, and I saw it is managed by an MBean
    In the JBoss's JMX MBean View:
    MBean Name: Domain Name: jboss.j2ee
         service: EJB
         jndiName: TestFacadeBean
    MBean Java Class: org.jboss.ejb.StatelessSessionContainer
    Now, I want to get this MBean and use it's methods.
    I used this code to find the MBeanServer:
         ArrayList arl = MBeanServerFactory.findMBeanServer("jboss.j2ee");
    but art.size() = 0 and I cannot find MBean Java Class: org.jboss.ejb.StatelessSessionContainer
    Could you tell me how I can get a particular MBean from the Agent View of JBoss.
    Can I lookup it like EJBs, if can, what is it's jndiName?
    Please help me,
    I'm waiting for your answers.
    Thanks a lot.

    I've got the same problem. Working with JBoss 4.0.3 and Tomcat 5.5. The lookup goes fine and returns an object of type remote home, however when I perform the narrow() I get ClassCastException. I'm sure the client and the server have got the same file version as I built from the same source.
    [error]
    Caused by: java.lang.ClassCastException
         at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
         at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    [error]

  • How to get Connection from Internet

    I have Internet Connection having
    Localhost I.P Address : 127.0.0.1
    Network I.P Address : 192.168.0.26
    Proxy I.P Address:      193.251.135.124
    Real I.P : 203.135.59.209
    I have TCP client server Sources, when I listen the port on my PC at 1000, I can send the request from client version if I use Server I.P as
    Localhost
    Lan Ip 192.168.0.26
    But if i send it on Proxy or Real I.p , server hosted on same machine cannot recive,
    Then How a Client Connect to My PC, without Any Server...
    Any Idea????????

    Currently, the Airport Express (not the Airport Express Extreme router) is acting as a base station via Ethernet to a cable modem.
    I guess that it would be correct to assume that your new Mac can connect wirelessly to the AirPort Express base station, and access the Internet that way.
    I am not sure if my 41/2 year old HP(Hewlect Packard) PC - (with AMD Athlon 64 3400 processor) which I am unable to get internet connection now is Wi-Fi capable.
    You said "Prior to using the new Airport Express,I was using the Linksys wireless G router and have a wireless adapter sitting on top of my PC.". The wireless adapter would be Wi-Fi certified (they normally are). Is it a USB adapter? Please post back with the exact model.
    Question: do I still need to use the adapter or not? Or the new Airport Express is enough to send internet signal to the PC?
    A Wi-Fi adapter would act as a wireless network card for a PC, and should communicate wirelessly with an AirPort Express base station without a problem (providing that the chosen security/encryption is supported on both sides). Since the wireless adapter apparently was OK (with the Linksys router), you should be able to continue using it. Any other (built-in) wireless capability ought to be externally visible at the PC as a PCI card with an antenna.
    Does the (Windows?) PC operating system detect any wireless networks? Is your AirPort Express on this list (even if you cannot connect or access the Internet)?
    Jan

  • I'm facing a lot of problem to get connected to 3G speed on my iPhone4 . And also I hardly get 2g speed . I'm done with all the checks as network reset , clearin cache n cookies even . Thus request to clear this heck of a issue

    Facing a lot of problem in connecting to 3G speed on my iphone4 . Done with all the checks as network reset and also done with clearing cache n cookies still the problem is same . I hardly get 2g speed even . Thus I request to help to fix this problem.

    Your code is absolutely unreadable - even if someone was willing to
    help, it's simply impossible. I do give you a few tips, though: If you
    understand your code (i.e. if it really is YOUR code), you should be
    able to realize that your minimum and maximum never get set (thus they
    are both 0) and your exam 3 is set with the wrong value. SEE where
    those should get set and figure out why they're not. Chances are you
    are doing something to them that makes one 'if' fail or you just
    erroneously assign a wrong variable!

  • Database not getting connected from sql developer(Vendor code 20)

    Am getting the following error while connecting db from sql dev
    "network adapter could not establish connection vendor code 20"
    FYI - database is up and running fine in sqlplus, and am not able to find the service in lnsrctl. As am using OIM db as service name while its showing CLRExtProc.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
    ction
    Start Date 21-NOV-2012 20:28:48
    Uptime 0 days 0 hr. 27 min. 32 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\li
    tener.ora
    Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
    The command completed successfully
    Also contents of tnsnames.ora and listener.ora are shown below
    # listener.ora Network Configuration File: d:\app\Karan\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = d:\app\Karan\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:d:\app\Karan\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = d:\app\Karan
    ---------------------------------------------tnsnames.ora-----------------------------------------------------
    # tnsnames.ora Network Configuration File: d:\app\Karan\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    OIMDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = OIMDB)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    FYI - yesterday all database was running fine. As I was trying to do some modifications in tnsnames.ora and listener.ora, I was unable to save them, as permission is denied.
    Kindly suggest.....
    Regards,
    KK

    stop everything OIM, Database and listener.
    now open your listener.ora and put below ( backup the original one somewhere)
    LISTENER=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (GLOBAL_DBNAME=oimdb)
    (ORACLE_HOME=d:\app\Karan\product\11.2.0\dbhome_1)
    (SID_NAME=OIMDB)))
    LISTENER=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (GLOBAL_DBNAME=oimdb)
    (ORACLE_HOME=d:\app\Karan\product\11.2.0\dbhome_1)
    (SID_NAME=oimdb))
    (SID_DESC=
    (SID_NAME=plsextproc)
    (ORACLE_HOME=d:\app\Karan\product\11.2.0\dbhome_1)
    (PROGRAM=extproc)))
    1.set ORACLE_SID at command prompt . like set ORACLE_SID=OIMDB
    2.start listener (lsnrctl start)
    3.start database.
    4. check this query ( select instance_name from v$instance;)
    5. check listener status( lsnrctl status)
    if still doesn't work try same step with the original listener.ora file

Maybe you are looking for

  • What step is required for open sap in browser (internet explorer)

    Hi All, What is configuration is required for open sap in internet explorer, i want to open sap gui in browser, for that what customizing is required?. i have ecc 6.0. Thanks & Regards Arpit

  • Change the layout of a query items in BEx analyzer

    Hi, I had developed a query, so when it is viewed in BEx analyzer the items(Char and Keyfigures) that i had used in rows and columns are displayed in analyzer. Apart from this in report i can see the items i had used, in top corner. So i need to chan

  • Search Dictionary in Data Services Designer

    Hello, I am on Data Services 12.2.0.0 on DB2 I am using the option Search Dictionary in the designer. i tried to do a search on the dictionary PERSON_FIRM_EN without putting any search string. And it is giving me a list of results. Afterwhich i use o

  • Hiding POSTed parameters in v2

    Hi: I have a portal which contains tabbed pages. My problem is that within those tabbed pages I have jsp portlets which contain forms. When I submit the form, the data gets posted correctly, but when I change to another tabbed page, all the form vari

  • CS6 Working Fine ... Then Unusable

    I am losing my mind.  I have tried everything with Adobe Premiere.  I have been working on a 30 second file and it keep crashing.  Here's what I've tried: I thought I isolated it to a plugin, so I deleted it.  Still freezes. I disabled all 3rd party