Nullpointer in Application Connection Manager

Hi All,
when deploying an application I get the following exception. Has anybody else seen this? I'm somewhat lost at this point since other applications (e.g. ascontrol) deploy correctly. This occurs from a highly customized build and deployment environment which I'm trying to switch from OC4J 9.0.4 to 10.1.3.
Thanks for any help
Tobias
14.07.2006 10:13:12 oracle.oc4j.admin.internal.Notifier sendNotification
INFO: Von EJB generierter Code wird kompiliert
14.07.2006 10:13:15 oracle.j2ee.jndi.JndiMessages warningInvalidResourceReferenc
e
WARNUNG: Resource reference jdbc/STORAGE not found. Allowing J2EEContext creati
on to continue anyway.
14.07.2006 10:13:15 com.evermind.server.ejb.logging.EJBMessages logException
SCHWERWIEGEND: [sfs] An error occured deploying EJB module: java.lang.NullPointe
rException
java.lang.NullPointerException
at com.evermind.server.connector.ApplicationConnectionManager.getOracleC
onnectionManager(ApplicationConnectionManager.java:304)
at com.evermind.server.administration.ApplicationResourceFinder.getJCACo
nnectionResource(ApplicationResourceFinder.java:455)
at com.oracle.naming.J2EEContext.addResourceEntries(J2EEContext.java:743
at com.oracle.naming.J2EEContext.create(J2EEContext.java:81)
at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstanceCore(EJBP
ackageDeployment.java:1153)
at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstance(EJBPacka
geDeployment.java:1189)
at com.evermind.server.ejb.EJBPackageDeployment.bindRemoteHome(EJBPackag
eDeployment.java:533)
at com.evermind.server.ejb.EJBPackageDeployment.bindHomes(EJBPackageDepl
oyment.java:442)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1010)
at com.evermind.server.ApplicationStateRunning.initializeApplication(App
licationStateRunning.java:210)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1771)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:507)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:191)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
at com.evermind.server.ApplicationServerTask.deploySingleFile(Applicatio
nServerTask.java:133)
at com.evermind.server.ApplicationServerTask.performAutoDeployCheck(Appl
icationServerTask.java:97)
at com.evermind.server.ApplicationServerTask.run(ApplicationServerTask.j
ava:71)
at com.evermind.util.Task.schedule(Task.java:51)
at com.evermind.util.TaskManager.run(TaskManager.java:212)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:814)
at java.lang.Thread.run(Thread.java:534)
14.07.2006 10:13:15 oracle.oc4j.admin.internal.Notifier sendNotification
INFO: Anwendung sfs hat nicht erfolgreichen Status
06/07/14 10:13:15 WARNUNG: Application.setConfig Application: sfs is in failed s
tate as initialization failedjava.lang.InstantiationException: Error initializin
g ejb-modules: null
14.07.2006 10:13:15 com.evermind.server.Application setConfig
WARNUNG: Application: sfs is in failed state as initialization failedjava.lang.I
nstantiationException: Error initializing ejb-modules: null
06/07/14 10:13:15 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:510)
06/07/14 10:13:15 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
oy(ApplicationDeployer.java:191)
06/07/14 10:13:15 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
yerBase.java:93)
06/07/14 10:13:15 at com.evermind.server.ApplicationServerTask.deploySingl
eFile(ApplicationServerTask.java:133)
06/07/14 10:13:15 at com.evermind.server.ApplicationServerTask.performAuto
DeployCheck(ApplicationServerTask.java:97)
06/07/14 10:13:15 at com.evermind.server.ApplicationServerTask.run(Applica
tionServerTask.java:71)
06/07/14 10:13:15 at com.evermind.util.Task.schedule(Task.java:51)
06/07/14 10:13:15 at com.evermind.util.TaskManager.run(TaskManager.java:21
2)
06/07/14 10:13:15 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worke
r.run(PooledExecutor.java:814)
06/07/14 10:13:15 at java.lang.Thread.run(Thread.java:534)
06/07/14 10:13:15 Caused by: java.lang.InstantiationException: Error initializin
g ejb-modules: null
06/07/14 10:13:15 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:1056)
06/07/14 10:13:15 at com.evermind.server.ApplicationStateRunning.initializ
eApplication(ApplicationStateRunning.java:210)
06/07/14 10:13:15 at com.evermind.server.Application.setConfig(Application
.java:391)
06/07/14 10:13:15 at com.evermind.server.Application.setConfig(Application
.java:308)
06/07/14 10:13:15 at com.evermind.server.ApplicationServer.addApplication(
ApplicationServer.java:1771)
06/07/14 10:13:15 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:507)
06/07/14 10:13:15 ... 9 more
06/07/14 10:13:15 Caused by: java.lang.NullPointerException
06/07/14 10:13:15 at com.evermind.server.connector.ApplicationConnectionMa
nager.getOracleConnectionManager(ApplicationConnectionManager.java:304)
06/07/14 10:13:15 at com.evermind.server.administration.ApplicationResourc
eFinder.getJCAConnectionResource(ApplicationResourceFinder.java:455)
06/07/14 10:13:15 at com.oracle.naming.J2EEContext.addResourceEntries(J2EE
Context.java:743)
06/07/14 10:13:15 at com.oracle.naming.J2EEContext.create(J2EEContext.java
:81)
06/07/14 10:13:15 at com.evermind.server.ejb.EJBPackageDeployment.getHomeI
nstanceCore(EJBPackageDeployment.java:1153)
06/07/14 10:13:15 at com.evermind.server.ejb.EJBPackageDeployment.getHomeI
nstance(EJBPackageDeployment.java:1189)
06/07/14 10:13:15 at com.evermind.server.ejb.EJBPackageDeployment.bindRemo
teHome(EJBPackageDeployment.java:533)
06/07/14 10:13:15 at com.evermind.server.ejb.EJBPackageDeployment.bindHome
s(EJBPackageDeployment.java:442)
06/07/14 10:13:15 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:1010)
06/07/14 10:13:15 ... 14 more
14.07.2006 10:13:15 oracle.oc4j.admin.internal.Notifier sendNotification
INFO: Application Deployer für sfs FAILED.

Hi,
I've converted the datasource from the fromat used by OC4j 9.0.4 with the converter tool in admin.jar. Now it looks like this.
<?xml version="1.0" encoding="ISO-8859-1"?>
<data-sources
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd"
schema-major-version="10"
schema-minor-version="1"
>
<managed-data-source user="z155" password="pw" login-timeout="-1"
connection-pool-name="pooljdbc/ds/STORAGE_DB_O"
jndi-name="jdbc/STORAGE" name="jdbc/STORAGE"/>
<managed-data-source user="z155" password="pw" login-timeout="-1"
connection-pool-name="pooljdbc/ds/STORAGE_DB_O"
jndi-name="jdbc/ds/STORAGE_non_tx" name="jdbc/ds/STORAGE_non_tx"/>
<managed-data-source user="z155" password="pw" login-timeout="-1"
connection-pool-name="pooljdbc/ds/STORAGE_DB_O"
jndi-name="jdbc/ds/STORAGE" name="jdbc/ds/STORAGE"/>
<connection-pool name="pooljdbc/ds/STORAGE_DB_O" connection-retry-interval="0" inactivity-timeout="120" max-connections="2147483647" num-cached-statements="600">
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
user="z155" password="pw" url="jdbc:oracle:thin:@dev10.bonn.fiscus.de:1521:dev10" login-timeout="-1"/>
</connection-pool>
</data-sources>
I can check the connection/URL with ascontrol, so the database seems to be ok.
Thanks
Tobias

Similar Messages

  • HP Connection manager service not installed. Application will exit

    I'm actually having a number of problems with this laptop, but I figured I'd start with this one. I get the message "HP connection manager service not installed. Application will exit.
    As strange as this may seem, when I get this message,  I also cannot open any of the folders on my desktop. I don't know if the problems are related or not.
    Any help is appreicated !
    If this helps its model number is A5F92AV

    Hi @krazykat_randi ,
    Welcome to the HP Forums!
    It is a superb place to find answers and suggestions!
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp that you are having multiple issues with your notebook, one of which is when you try to open the connection manager you get the message "HP connection manager service not installed. Application will exit.".  You also can not open folders on your desktop.
    Have you checked for viruses or malware?  MS Malicious Software Removal Tool.
    This is not a recommendation but many people have used Malwarebytes with success also.
    Have you tried running MS Fix It  to aid with overcoming issues?
    Have you tried doing a restore  back to when it was working properly?
    If you still have issues I suggest you do a recovery back to factory.
    HP PCs - Performing an HP system recovery (Windows 7)
    If you have not yet done a backup you will have an opportunity during the recovery to do one.
    HP PCs - Restoring Files that were Backed Up Using HP Recovery Manager (Windows 7)
    Hope this helps!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Connection Management Error in Biller Direct Application

    Hi Experts,
    We are in the process of implementing Biller Direct Solution for the Suppliers/Vendor!
    All the XCM Settings , Backend Settings , Portal Settings have been in place and we were able to run the application without any difficulties but all of a sudden now , when we run the Biller Direct Application , an error appears which says "Error" (Thats it) .
    In NWA , i get the below errors but not sure what can be the issue or how can i resolve it. I am sure it relates to Connection Management Pool but not sure what settings does it requires.
    Errors in NWA:
    1) The Standard Pool Connection BillerDirect_#bd" for language "EN" could not be created. There is an existing connection with this name.
    2) Recurring Error in the initialization of the application "ConnectionManager.initdefaultpool failed
    3) Could not create Connection Manager Scenario-Biller Direct
    4) Java Exception "java.lang.NullPointerException has occurred". Check the trace for location "com.sap.fin.webbase.taglib.LogExceptionTag"
    Much appreciate the Prompt Responses , Thanks!
    Just to highlight , I have reverted all my code modifications and now have deployed the original .sca , Still have the same Error

    hi,
    Check your XCM connection settings...Goto your custom xcm configuration page and check if pool details are mentioned properly.
    Also, check this link for help - http://scn.sap.com/thread/1881735
    cheers,
    sen

  • A note on Setup Manager - Application Change Management Pack

    Hi All,
    This is Mugunthan, Development manager for iSetup and Setup Manager. I am happy to begin my note with the launch of Application Change Management Pack 3.1. For those who are not aware of Application Change Management Pack, it is a new product built on top of Oracle Enterprise Manager and comprises of three major modules namely Setup Manager, Customization Manager and Patch Manager. You can find more information about this pack here (LCM: Oracle Application Change Management Pack Setup Manager is enhanced and advanced version of iSetup on Oracle Enterprise Manager. There were good amount of reasons to re-architect iSetup on Oracle Enterprise Manager as Setup Manager.
    Why Setup Manager?
    Ability to migrate to data over point releases of EBS – EBS comes up with rollup patches on top of major releases periodically. It means that you have to certify the patch before it get deployed on to production which means that setup data are to be certified again. iSetup cannot connect between 12.0.4 to 12.0.6 or 12.0.6 to 12.1.1. We have achieved the data migration for above scenarios in Setup Manager (11i to R12 is not supported in Setup Manager)
    Projects – Setup Manager supports grouping of Extracts, Transforms, Loads and Reports as a single entity and can be deployed multiple times to multiple targets. The project consists of one or more tasks (of type Extract/Load/Transform/Report) and can be orchestrated according to your ends. Project execution supports scheduling which means that you can use this feature to sync up setup data between two instances at periodic internal. Projects can be shared with other users which is remarkable difference between iSetup and Setup Manager. You can share your projects with others in a combined development environment. The functional configuration data (Extracts) are stored in Oracle Enterprise Manager. This means that you can refresh EBS without losing Extracts.
    Integration with Change Approval mechanism – Execution of projects is integrated with change approval mechanism which means that you can control who executes what. Also, you have fine grain access control where you can control EBS targets assigned to a user.
    Offline Transformation – I would say this is the most unique feature of Setup Manager and as an implementer you would welcome this feature very much. iSetup has got very limited capability on Transformation. Here we have gone way ahead and support Transformation on almost all Setup Objects. We present you the extracted data in excel sheets. You can download the excel template and work offline. All the attribute value fields in the excel sheet are editable which means that you supply your own value. For example, you can download Operating Unit data in xls file and change operating unit “OU100” to “OU200” and upload it back to system and load to target instance. Please note that any attribute of Operating Unit setup data can be edited. Also, system has got intelligence and once you upload the excel sheet, it automatically changes all the inventory organization which belongs to “OU100” to “OU200”. This behavior can be controlled using attribute mapping which you can create in Setup Manager. Hold on, this is not the end, also you can add more operating unit in excel, say OU300 and OU400 and load it to target instance. You can delete few Operating Units from extracted data in excel sheet and load the remaining to target instance. This gives you complete flexibility to manage (add/edit/delete) functional configuration data offline. This is fantastic feature and please have a look at how it works.
    Advanced Filtering – Filter support in iSetup is not flexible where you cannot use comma separated values and complex sql join conditions. Also you do not know what query is executed behind the scenes to the data. All this problems are addressed in Setup Manager 3.1. We show you the “select clause” (SQL) associated with interface and provide you a text field where you can refer the select clause and provide your own custom where criteria (SQL). This means that filter support is unlimited and you can set filter any database columns. For example, you can extract “Responsibilities/Menu” which are active or created as on yesterday. You can extract all Operating Units excluding “OU100 and OU200”. We support all filter criteria that are supported by SQL.

    Hi,
    your note very interesting. Is there any other way to extract the configuration using SQL? not using Enterprise Manager? hope this will be fastest way then using GUI base.
    Thanks,
    Fahmi Fahlevi

  • Excel connection manager - Error after Installing Office 2013

    Hi Team,
    My SSIS package used to work fine until I Upgraded my Office 2010 to Office 2013. After upgrading to 2013, the SSIS package which is created using SQL 2012 is throwing error for Excel Connection manager. Below is the error what I see
    TITLE: Microsoft Visual Studio
    Could not retrieve the table information for the connection manager 'Excel Connection Manager'.
    Failed to connect to the source using the connection manager 'Excel Connection Manager'
    BUTTONS:
    OK
    FYI, I am running the package with Run64BitRunTime property = False.
    Do let me know the solution please. It will be of great help as we are proposing this tool in a migration project.

    I found the solution. Thanks
    You don't need office on your server (not recommended and not supported). You should install
    Microsoft Access Database Engine 2010 Redistributable for excel (xlsx) files and then use the Excel
    This download will install a set of components that facilitate the transfer of data between existing Microsoft Office files such as Microsoft Office Access 2010 (*.mdb and *.accdb) files and Microsoft Office Excel 2010 (*.xls, *.xlsx, and *.xlsb) files to
    other data sources such as Microsoft SQL Server. Connectivity to existing text files is also supported. ODBC and OLEDB drivers are installed for application developers to use in developing their applications with connectivity to Office file formats.

  • Setup Manager - Application Change Management Pack

    Hi All,
    This is Mugunthan, Development manager for iSetup and Setup Manager. I am happy to begin my note with the launch of Application Change Management Pack 3.1. For those who are not aware of Application Change Management Pack, it is a new product built on top of Oracle Enterprise Manager and comprises of three major modules namely Setup Manager, Customization Manager and Patch Manager. You can find more information about this pack here (LCM: Oracle Application Change Management Pack Setup Manager is enhanced and advanced version of iSetup on Oracle Enterprise Manager. There were good amount of reasons to re-architect iSetup on Oracle Enterprise Manager as Setup Manager.
    Why Setup Manager?
    Ability to migrate setup data over point releases of EBS – EBS comes up with roll-up patches on top of major releases periodically. It means that you have to certify the patch before it get deployed on to production which means that setup data are to be certified again. iSetup cannot connect between 12.0.4 to 12.0.6 or 12.0.6 to 12.1.1. We have achieved the data migration for above scenarios in Setup Manager (11i to R12 is not supported in Setup Manager)
    Projects – Setup Manager supports grouping of Extracts, Transforms, Loads and Reports as a single entity and can be deployed multiple times to multiple targets. The project consists of one or more tasks (of type Extract/Load/Transform/Report) and can be orchestrated according to your needs. Project execution supports scheduling which means that you can use this feature to sync up setup data between two instances at periodic internal. Projects can be shared with other users which is remarkable difference between iSetup and Setup Manager. You can share your projects with others in a combined development environment. The functional configuration data (Extracts) are stored in Oracle Enterprise Manager. This means that you can refresh EBS without losing Extracts.
    Integration with Change Approval mechanism – Execution of projects is integrated with change approval mechanism which means that you can control who executes what. Also, you have fine grain access control where you can control EBS targets assigned to a user.
    Offline Transformation – I would say this is the most unique feature of Setup Manager and as an implementer you would welcome this feature very much. iSetup has got very limited capability on Transformation. Here we have gone way ahead and support Transformation on almost all Setup Objects. We present you the extracted data in excel sheets. You can download the excel template and work offline. All the attribute value fields in the excel sheet are editable which means that you supply your own value. For example, you can download Operating Unit data as xls file and change operating unit “OU100” to “OU200” and upload it back to system and load to target instance. Please note that any attribute of Operating Unit setup data can be edited. Also, system has got intelligence and once you upload the excel sheet, it automatically changes all the inventory organization which belongs to “OU100” to “OU200”. This behavior can be controlled using attribute mapping which you can create in Setup Manager. Hold on, this is not the end, also you can add more operating unit in excel, say OU300 and OU400 and load it to target instance. You can delete few Operating Units from extracted data in excel sheet and load the remaining to target instance. This gives you complete flexibility to manage (add/edit/delete) functional configuration data offline. This is fantastic feature and please have a look at how it works.
    Advanced Filtering – Filter support in iSetup is not flexible where you cannot use comma separated values and complex sql join conditions. Also you do not know what query is executed behind the scenes to get the data. All this problems are addressed in Setup Manager 3.1. We show you the “select clause” (SQL) associated with interface and provide you a text field where you can refer the select clause and provide your own custom where criteria (SQL). This means that filter support is unlimited and you can set filter on any database columns. For example, you can extract “Responsibilities/Menu” which are active or created as on yesterday. You can extract all Operating Units excluding “OU100 and OU200”. We support all filter criteria that are supported by SQL.

    Hi Mugunthan,
    Can you provide links to any tutorial or example (screenshots) of using Setup Manager to transfer something between two environments (say Users or DFFs)?
    Thanks,
    Gareth

  • HP CONNECTION MANAGER

    Received the following error message - HP connection manager service has stopped responding.  Please exit and restart the application''
    A fatal error occurred, check the HP connection manager in event viewer for  more details
    Retreiving the COM class factory for component with CLSID (24DB46C8-C842-4E91-9AC4-8A9525A551D) FAILED DUE TO THE FOLLOWNG ERROR:  80070422

    Hi
    Request you to try this step and see if this fixes your issue.
    Start -> Control Panel-> Program and Features-> Select HP Connection Manager and select Repair.
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • PDA Application Connect to Database

    Hi,
    I want to develop application sit on PDA(like iPAQ) eg.Contact Manager (to keep personal contact). this require a database to keep all these information in the PDA so that can be retrieve.
    Its there any Micro-Database that can be installed into PDA (free?).
    Please show me the link to get this Installaler, JDBC and documentation.
    Please show me also the way to create database and table in PDA. and step to install this micro-db into the PDA.
    It would be more helpful, if someone can give me some simple example of a PDA Application connect to Database.
    Thanks in advance, Regards

    Open source one is :
    http://sourceforge.net/projects/hsqldb
    This one is not absolute free but the price is quite compelling.$995 for unlimited install.
    http://www.quadcap.com/home.html
    http://www.quadcap.com/purchase/index.html
    4. The rights granted pursuant to this Agreement are contingent upon Licensee's payment of the license fees for the QED Software. The License Fee for this Commercial Redistribution License is USD $995.
    Even SQL CE from MS is free, as long as you not use it connected to backend system. so if u could work out other sync implementation or u dont need data sync at all, this might be a choice too. The issue is no official JDBC driver for SQL CE though there is for SQL server.
    However, I have no hand on experience on those 3. We are evaluating Pointbase Micro, thought not free.l

  • 5800 Connection Manager is not working correctly

    I have my preferred connections setup with my home WLAN as priority, then my cell phone provider (ATT) as the last priority. The connection manager switches from my WLAN to ATT everytime I go out of range of my WLAN fully automatically. So that part is working as designed.
    The problem is when I get back to my home WLAN the connection manager doesn't automatically drop the EDGE or 3G connection and connect to my WLAN.
    To make things worse, even if I kill the EDGE or 3G connection manually, it may or may not pick up my WLAN and start using it.
    Then, if I can get the WLAN to connect, the connection manager will insist on connecting to the EDGE/3G connection and disconnecting the WLAN.
    This is crazy behavior. I've been pretty happy with the phone's stability over my old N78, but I hope to Zeus that a Firmware upgrade will be release that fixes this bug. It drives me nuts.
    So far the only way I can get the connection manager to resume it's expected behavior is to power off the phone and pull the battery. Then it will behave for a few days before becoming schizophrenic.
    If you have any tips on how to correct this behavior, I'd appreciate hearing it.
    cheers,
    mikehd
    5800XM NE
    F/W 40.2.005
    Solved!
    Go to Solution.

    mikehd wrote:
    The problem is when I get back to my home WLAN the connection manager doesn't automatically drop the EDGE or 3G connection and connect to my WLAN.
    Then, if I can get the WLAN to connect, the connection manager will insist on connecting to the EDGE/3G connection and disconnecting the WLAN.
    This is crazy behavior. I've been pretty happy with the phone's stability over my old N78, but I hope to Zeus that a Firmware upgrade will be release that fixes this bug. It drives me nuts.
    So far the only way I can get the connection manager to resume it's expected behavior is to power off the phone and pull the battery. Then it will behave for a few days before becoming schizophrenic.
    First, you may get much better response if you post in the appropriate forum.  in you case, "Connectivity."
    Dropping an active connection & switching to another connection is probably not designed behavior.  So in your case if the 3G connection is active, I can understand why it is not switching to WLAN.  I can also see why it might be a "nice-to-have" feature, but in some cases dropping an active connection may cause problems with applications that are using it, so you may end up with more problems if the connection kept changing (maybe).
    Firmware upgrade will not change as-designed behavior, but what you're describing sounds like there's some application which is configured to use either "default" or the 3G connection.  What I would do is look through all applications that are using the net and check the connection settings in each one and make sure it's set to use "Internet"
    Another thing you can do is set the AT&T connection to "always ask" mode so that it doesn't get used without you clicking OK.
    Lumia 920, Lumia 800
    Nokia N8-00 (NAM, Product Code: 059C8T6), Symbian Belle, Type RM-596, 111.030.0609
    Nokia 5800 XpressMusic (NAM, Product Code: 0577454) Software v51.2.007, Type RM-428

  • Oracle Connection Manager

    Hi,
    i'm having a problem configuring Oracle Connection Manager. It does start the instance of connection manager
    Summary of my environment is
    10g Application server and infrastructure machine OS: Windows 2003
    9i Database Server: Windows 2003
    Client : Java Applet
    JDBC driver type : THIN
    Installed: 10g Infra first and then 10g midiier(portal and wireless) in seperate oracle homes on the same machine. Eveything is up and running as i was able to login seperately in infra and midtier enterprise managers.
    Final Goal : Trying to connect to an Oracle 9i database on a differnt machine than the appserver using an applet, thin drivers and Oracle Connection Manager
    Problem : Connection manager instance not started however cmanADMIn service started.
    CMCTL:CMAN_oracle9-app> administer cmanOracleAS
    Current instance cmanOracleAS is not yet started
    Connections refer to (address=(protocol=tcp)(host=10.10.1.101)(port=1610)).
    The command completed successfully.
    CMCTL:cmanOracleAS> startup
    Service Oracleoracle_infraCMAdmincmanOracleAS already running.
    TNS-04012: Unable to start Oracle Connection Manager instance.
    CMCTL:cmanOracleAS>
    Steps done to configure Oracle Connection manager
    1. Copied 4 .exe (CMADMIN, CMCTL,CMGW,CMMIGR) files to bin folder of Appserver or midtier's main ORACLE_HOME/BIN folder.
    2) created a cman.ora file and copied in appservers /NETWORK/ADMIN directory
    3) On cammand prompt type CMCTL...ADMINISTER cman_OracleAS where cman_OracleAS is the name of cman instance used in cman.ora file.
    My cman.ora file is as follows
    # Copyright (c) 2001,2002, Oracle Corporation. All rights reserved.
    # NAME
    # cman.ora
    # DESCRIPTION
    # Sample CMAN configuration file that the user can modify for their
    # own use.
    # NOTES
    # 1. Change <fqhost> to your fully qualified hostname
    # 2. Change <lsnport> to the listening port number
    # 3. Change <logdir> and <trcdir> to your log and trace directories
    # MODIFIED (MM/DD/YYYY)
    # asankrut 10/05/2002 - Added Rule List Specifications
    # asankrut 06/11/2002 - Modified to add new parameters; added comments.
    # asankrut 12/31/2001 - Creation.
    # CMAN Alias
    cmanOracleAS =
    (configuration=
    # Listening address of the cman
    (address=(protocol=tcp)(host=appserver_name)(port=1610))
    # Configuration parameters of this CMAN
    (parameter_list =
    # Need authentication for connection?
    # Valid values: boolean values for on/off
    (aso_authentication_filter=off)
    # Connection statistics need to be collected?
    # Valid values: boolean values for on/off
    (connection_statistics=yes)
    # Log files would be created in the directory specified here
    (log_directory=D:\GAV\OracleAS10\NETWORK\log)
    # Logging would be in done at this level
    # Valid values: OFF | USER | ADMIN | SUPPORT
    (log_level=ADMIN)
    # Maximum number of connections per gateway
    # Valid values: Any positive number (Practically limited by few 1000s)
    (max_connections=256)
    # Idle timeout value in seconds
    # Valid values: Any positive number
    (idle_timeout=0)
    # Inbound connect timeout in seconds
    # Valid values: Any positive number
    (inbound_connect_timeout=0)
    # Session timout in seconds
    # Valid values: Any positive number
    (session_timeout=0)
    # Outbound connect timeout in seconds
    # Valid values: Any positive number
    (outbound_connect_timeout=0)
    # Maximum number of gateways that can be started
    # Valid values: Any positive number (Practically limited by
    # system resources)
    (max_gateway_processes=16)
    # Minimum number of gateways that must be present at any time
    # Valid values: Any positive number (Practically limited by
    # system resources)
    # max_gateway_processes > min_gateway_processes
    (min_gateway_processes=2)
    # Remote administration allowed?
    # Valid Values: Boolean values for on/off
    (remote_admin=on)
    # Trace files would be created in the directory specified here
    (trace_directory=D:\GAV\OracleAS10\NETWORK\trace)
    # Trace done at this level
    # Valid values: OFF | USER | ADMIN | SUPPORT
    (trace_level=ADMIN)
    # Is timestamp needed with tracing?
    # Valid values: Boolean values for on/off
    (trace_timestamp=on)
    # Length of the trace file in kB
    # Valid values: Any positive number (Limited practically)
    (trace_filelen=1000)
    # No. of trace files to be created when using cyclic tracing
    # Valid values: Any positive number
    (trace_fileno=1)
    # Maximum number of CMCTL sessions that can exist simultaneously
    # Valid values: Any positive number
    (max_cmctl_sessions=4)
    # Event logging: event groups that need to be logged
    (event_group=init_and_term,memory_ops)
    # Rule list
    # Rule Specification:
    # src = Source of connection; '*' for 'ANY'
    # dst = Destination of connection; '*' for 'ANY'
    # srv = Service of connection; '*' for 'ANY'
    # act = Action: 'accept', 'reject' or 'drop'
    # Action List Specification:
    # aut = aso_authentication_filter
    # moct = outbound_connect_timeout
    # mct = session_timeout
    # mit = idle_timeout
    # conn_stats = connect_statistics
    (rule_list=
    (rule=
    (src=*)(dst=databaseIP)(srv=*)(act=accept)
    (action_list=(aut=off)(moct=0)(mct=0)(mit=0)(conn_stats=on))
    (rule=
         (src=appserverIP)(dst=127.0.0.1)(srv=cmon)(act=accept)
    Please help
    Thanks
    Atul Jain
    [email protected]

    Forgot to mention that
    cmanOracleAS.log file i.e connection manger log file is as follows.
    It says does not currently know of service 'cmon' but i have the rule which
    allows cmctl to conect locally with 127.0.0.1 .
    TNSLSNR for 32-bit Windows: Version 10.1.0.3.0 - Production on 17-MAR-2005
    12:17:53
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    System parameter file is D:\GAV\oracle_infra\network\admin\sqlnet.ora
    Command-line specified parameter file is D:\GAV\oracle_infra\network\admin\
    cman.ora
    Log messages written to D:\GAV\OracleAS10\NETWORK\log\cmanoracleas1_924.log
    Trace information written to D:\GAV\OracleAS10\NETWORK\trace\
    cmanoracleas1_924.trc
    Trace level is currently 6
    Started with pid=332
    Running in PROXY mode
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)
    (PORT=1610)))
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    17-MAR-2005 12:22:07 * (connect_data=(service_name=cmon)(pid=ctl)) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)(PORT=4589)) * establish * cmon *
    12514
    TNS-12514: TNS:listener does not currently know of service requested in
    connect descriptor
    17-MAR-2005 12:22:10 * (connect_data=(service_name=cmon)(pid=ctl)) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)(PORT=4596)) * establish * cmon *
    12514
    TNS-12514: TNS:listener does not currently know of service requested in
    connect descriptor
    17-MAR-2005 12:23:31 * (connect_data=(service_name=cmon)(pid=ctl)) *
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.1.101)(PORT=4782)) * establish * cmon *
    12514
    Thanks
    Atul jain

  • Cannot Drag and Drop a Field from Connection manager to a worksheet.

    Hi
    I've recently installed the latest version of SQLDEVELOPER (1.5.3) onto winxp.
    I used to be able (previous version) to drag fields from the connection manager and drop onto a worksheet to save typing the field name when writing sql.
    This new version currently does not allow me to do this (it lets me drag, but not drop).
    I am able to drag a table object - and when I drop onto worksheet it creates a select statement with all fields.
    Is this by design, or is there a setting in preferences that I'm missing, or could there be something wrong with my installation ?
    Another not so good feature on this new version:
    When you Right-Click a package object on the connection manager and select "Run" : a window appears with automatically generated plsql block to run the package - great. However I used to be able to copy this plsql and paste it into anything I wanted (e.g. note-pad, or another application etc), but now I am unable to use the generated code unless I use the "Save File.." button. (Copy/paste etc is not available from either "right click", Edit menu or CTRL C).
    Again is this by design (I certainly used to be able to do it) or is it a problem specific to my installation.
    Any pointers much appreciated.
    jacr

    Jacr,
    We introduced the choice of drag and drop options in 1.5.0. Under preferences Database -> Worksheet Parameters, you can switch between the dragging on join clauses or individual statements including insert, update or delete. With this change and with the increase in code insight, we removed the ability to drag individual columns onto the worksheet. Have you tried the code insight feature in 1.5.3?
    I am able to use the copy and paste from the anonymous block to the worksheet works in 1.5.3. Are your copy and paste keys working else where? Perhaps resetting these keys to default in the preferences might help.
    Sue

  • Certificates in lieu of Oracle connection Manager for our Applets -- Help!!

    I support an application named IDEA out of New York. The IDEA application is an INTRANET application for use within our company Firewall.
    Currently, the IDEA application's front end resides on a Windows 2000 Server running IIS 5 and JRun 3.0. The back-end runs on Oracle 8.1.7 database on a UNIX Database Hosting Utility (DHU). Our applets communicate with the back-end database using Oracle Connection Manager that is installed on the Web Host.
    We are trying to migrate to the DWeb environment (Linux cluster). The linux cluster is running Apache Tomcat. We have been told that installing Oracle connection manager is not a viable solution (our company does not support it). Because of this our applets cannot communicate with our database. Below is a brief description of this limitation and also the work-around.
    ====================================================================================================================================================
    Connecting to the Database through the Applet
    The most common task of an applet using the JDBC driver is to connect to and query a database. Because of applet security restrictions, unless particular steps are taken an applet can open TCP/IP sockets only to the host from which it was downloaded (this is the host on which the Web server is running). This means that without these steps, your applet can connect only to a database that is running on the same host as the Web server.
    If your database and Web server are running on the same host, then there is no issue and no special steps are required. You can connect to the database as you would from an application.
    As with connecting from an application, there are two ways in which you can specify the connection information to the driver. You can provide it in the form of host:port:sid or in the form of a TNS keyword-value syntax.
    For example, if the database to which you want to connect resides on host prodHost, at port 1521, and SID ORCL, and you want to connect with user name scott with password tiger, then use either of the two following connect strings:
    using host:port:sid syntax:
    String connString="jdbc:oracle:thin:@prodHost:1521:ORCL";
    conn = DriverManager.getConnection(connString, "scott", "tiger");
    using TNS keyword-value syntax:
    String connString = "jdbc:oracle:thin:@(description=(address_list=
    (address=(protocol=tcp)(port=1521)(host=prodHost)))
    (connect_data=(sid=ORCL)))";
    conn = DriverManager.getConnection(connString, "scott", "tiger");
    If you use the TNS keyword-value pair to specify the connection information to the JDBC Thin driver, then you must declare the protocol as TCP.
    However, a Web server and an Oracle database server both require many resources; you seldom find both servers running on the same machine. Usually, your applet connects to a database on a host other than the one on which the Web server runs. There are two possible ways in which you can work around the security restriction:
    You can connect to the database by using the Oracle8 Connection Manager.
    or:
    You can use a signed applet to connect to the database directly.
    These options are discussed in the next section, "Connecting to a Database on a Different Host Than the Web Server".
    Connecting to a Database on a Different Host Than the Web Server
    If you are connecting to a database on a host other than the one on which the Web server is running, then you must overcome applet security restrictions. You can do this by using either the Oracle8 Connection Manager or signed applets. ====================================================================================================================================================
    It was suggested that we implement signed applets (it is our only alternative at this time). This is where, hopefully, you can help me. We are unfamiliar with using certificates and signing applets. We need to obtain certificates that will allow our applets to connect to our oracle database on the DHU. What kind of certificates do we use? Are their coding examples of how to use these certificates? We have a CA within our company but they cannot tell us what kind of certificates we need. How many certificates do we need? Do we install any certificates on the backend database server? Any information would be greatly appreciated. We are basically trying to get our applet to work outside the sandbox by establishing a connection to the database server.Thanks in advance for your time.

    or:
    You can use a signed applet to connect to the database directly.
    These options are discussed in the next section, "Connecting to a Database on a Different Host Than the Web Server".
    If you want to connect to the database from the applet there is a third option.
    Since this is an intranet application you have control over the desktops using this
    application. In our company the jre ignores signed applets (as it should) because
    it gives control to the user to run potentially harmfull applets from the Internet.
    The way to dish out special privileges to applets is the policy, put a policy file on
    you intranet and have the jre use it by specifying its URL in the java.security.
    Here is some more info about security configuration of the jre:
    http://forum.java.sun.com/thread.jspa?threadID=646161&tstart=45
    reply 3
    We use Oracle jinitiator to run Oracle forms but I am not involved in that project
    and do not know a lot about it. It does perform quite good though.

  • Certificates in lieu of Oracle connection Manager for our Applets

    I support an application named IDEA out of New York. The IDEA application is an INTRANET application for use within our company Firewall.
    Currently, the IDEA application's front end resides on a Windows 2000 Server running IIS 5 and JRun 3.0. The back-end runs on Oracle 8.1.7 database on a UNIX Database Hosting Utility (DHU). Our applets communicate with the back-end database using Oracle Connection Manager that is installed on the Web Host.
    We are trying to migrate to the DWeb environment (Linux cluster). The linux cluster is running Apache Tomcat. We have been told that installing Oracle connection manager is not a viable solution (our company does not support it). Because of this our applets cannot communicate with our database. Below is a brief description of this limitation and also the work-around.
    ====================================================================================================================================================
    [i][i][i]Connecting to the Database through the Applet
    The most common task of an applet using the JDBC driver is to connect to and query a database. Because of applet security restrictions, unless particular steps are taken an applet can open TCP/IP sockets only to the host from which it was downloaded (this is the host on which the Web server is running). This means that without these steps, your applet can connect only to a database that is running on the same host as the Web server.
    If your database and Web server are running on the same host, then there is no issue and no special steps are required. You can connect to the database as you would from an application.
    As with connecting from an application, there are two ways in which you can specify the connection information to the driver. You can provide it in the form of host:port:sid or in the form of a TNS keyword-value syntax.
    For example, if the database to which you want to connect resides on host prodHost, at port 1521, and SID ORCL, and you want to connect with user name scott with password tiger, then use either of the two following connect strings:
    using host:port:sid syntax:
    String connString="jdbc:oracle:thin:@prodHost:1521:ORCL";
    conn = DriverManager.getConnection(connString, "scott", "tiger");
    using TNS keyword-value syntax:
    String connString = "jdbc:oracle:thin:@(description=(address_list=
    (address=(protocol=tcp)(port=1521)(host=prodHost)))
    (connect_data=(sid=ORCL)))";
    conn = DriverManager.getConnection(connString, "scott", "tiger");
    If you use the TNS keyword-value pair to specify the connection information to the JDBC Thin driver, then you must declare the protocol as TCP.
    However, a Web server and an Oracle database server both require many resources; you seldom find both servers running on the same machine. Usually, your applet connects to a database on a host other than the one on which the Web server runs. There are two possible ways in which you can work around the security restriction:
    You can connect to the database by using the Oracle8 Connection Manager.
    or:
    You can use a signed applet to connect to the database directly.
    These options are discussed in the next section, "Connecting to a Database on a Different Host Than the Web Server".
    Connecting to a Database on a Different Host Than the Web Server
    If you are connecting to a database on a host other than the one on which the Web server is running, then you must overcome applet security restrictions. You can do this by using either the Oracle8 Connection Manager or signed applets. ====================================================================================================================================================
    It was suggested that we implement signed applets (it is our only alternative at this time). This is where, hopefully, you can help me. We are unfamiliar with using certificates and signing applets. We need to obtain certificates that will allow our applets to connect to our oracle database on the DHU. What kind of certificates do we use? Are their coding examples of how to use these certificates? We have a CA within our company but they cannot tell us what kind of certificates we need. How many certificates do we need? Do we install any certificates on the backend database server? Any information would be greatly appreciated. We are basically trying to get our applet to work outside the sandbox by establishing a connection to the database server.
    Thanks in advance for your time.

    Eston,
    Have you searched SUN's java Web site? Maybe this article will help:
    http://java.sun.com/developer/technicalArticles/Security/Signed/index.html
    Good Luck,
    Avi.

  • 9i Connection Manager Resource Leak?

    I am experiencing serious performance problems with the Connection Manager gateway (CMGW.exe) that ships with Oracle9i for Windows NT/2K.
    There appears to be a memory leak after the first connection to the Connection Manager is made. I've come across mention of a similar problem with CMGW on Solaris. Is there a fix for this problem?
    Background: my students are building Java applets to connect to Oracle9i via Oracle9i application server. The applets are hosted on the application server, so I was planning on using Connection Manager to hit the database from the application server. It works fine the first time, but due to the memory leak the application server slows to a crawl whenever another connection is attempted.
    Thanks,
    Ray Moro
    Eastern Washington University

    Use the same as you were using in 8i. Just upgrade your client (if required).

  • JDBC-Connection in SQL-Developer via Connection-Manager gives ORA-12529

    Hi !
    This is a followup of this Thread: https://community.oracle.com/thread/3568462
    I have the same problem but I have ConnectionManager 11g (11.2.0.1.0) , which doesn't know the setting for AUTHENTICATION_LEVEL=0
    And I have to use JDBC, so the OCI/Thick-driver is no option for me.
    The same error is raised when I use JDBC with Eclipse,...
    SQL-Plus over the Connection-Manager works without any problems.
    The ruleset of my cman.ora is:
    (rule_list=
        (rule=
           (src=*)(dst=*)(srv=*)(act=accept)
           (action_list=(aut=off)(moct=0)(mct=0)(mit=0)(conn_stats=on))
    The error is:
    Listener refused the connection with the following error:
    ORA-12529, TNS:connect request rejected based on current filtering rules
    Anyone got jdbc-connections over ConnectionManager 11g+ running?
    Charly

    Using Windows XP/Vista...
    After testing in our environment, it appears that SQL Developer 1.5.1 (5440) does in fact ignore the TNS_ADMIN environment variable and ONLY looks in the Oracle Home directory (network/admin). We define a central network location for our tnsnames file and have the tns_admin setup to point there instead of locally for our users.
    When selecting to add a new connection (in 1.5.1, it works in previously releases... meaning 1.2.something) and selecting TNS, the drop-down remains empty. However, if I exit SQL Developer and then copy the tnsnames file to the local network/admin directory I can then re-launch SQL Developer and the drop-down is populated. Exiting SQL Developer again, deleting the local copy of tnsnames, and then launching SQL Developer yet again results in the drop-down being empty.
    All other Oracle-related applications function as expected (as they have for years) using the TNS_ADMIN environment variable.
    Any suggestions/ideas?

Maybe you are looking for

  • Which is better for school and notes pages or ms word

    Hi have a macbook white and i bring this to school and i want to know which is better to use ms word or pages for notes and school work

  • Employee download from HR

    Hi all,   As per the OSS note 312090 employee can be downloaded from HR by setting filters.    How will I filter only sales rep from the entire list of employees as the employee master data will contain both sales rep as well as internal employees li

  • How do i share youtube link on facebook?

    I use to be able to click the share button on you tube to share on facebook. Now I am unable to do that. It just open a blank page. Please help

  • Mvt Type 101 + Delivery Note

    Dear all, I want to made delivery note field in MIGO mandatory for movement type 101 only. Is it possible? Thank you.

  • Weird Looking Issue in System Preferences

    So i was looking in system preferences and i notcied one of the graphics looked weird and it was the speech one it is a light switch and you cannot really see the writing for it. Is this normal an issue or corruption.