Basic questions about the PL/SQL web services and data source names

Hello

I've successfully generated a web service for a procedure from PL/SQL packaged JDeveloper 11.1.1.3.0).

The following code was generated in the base class for web services:
 __dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");
However in the weblogic server, the data source name is jdbc/Gisele for deployment fails in a first time.

What is the recommended procedure to solve this problem? The obvious solution is to manually change the source - that's what I did and it worked fine. However if I re - generate the web service I won't lose my change. Is there a better way to do it?

Another question - in the web.xml file that is generated, there is a resource-ref to the data source. I was hoping that change the data source name it would help, but it didn't work. What is - it used to in this context?

Thank you
Luis

I forgot to add, so in case some time later and you want to update the connection to your service details, all you have to do is to add the following entry in your weblogic.xml:
.

JDBC/ref_name_from_web. XML
JDBC/new_jndi_name

.
And in this way, you will not have to change any code level to point your web service to another connection.

Vishal-

Tags: Java

Similar Questions

  • An error occurred when DNS was questioned about the resource record (SRV) service location used to locate a domain controller Active Directory (AD DC) for the domain 'HAMI. LOCAL ".

    An error occurred when DNS was questioned about the resource record (SRV) service location used to locate a domain controller Active Directory (AD DC) for the domain 'HAMI. LOCAL ".

    The error was: "an existing connection was to be closed by the remote host".
    (0 x 00002746 WSAECONNRESET error code)

    The query was for the SRV record for _ldap._tcp.dc._msdcs. HAMI. LOCAL

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Forums TechNet Windows 7 Technet.

    Here is the link:
    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

    Hope this helps

  • stupid questions on the use of mds-GOSA/bip_datasource data sources.

    Dear gurus,
    I'm confused about the use of some as securities data sources.
    And what is the relationship of them with RPD source data/connection pool setting?

    As I found in the turning performance guide, while I can't find where is the caller / user of these data sources and never mentioned turning guide turning data sources RPD which I think is more important...

    So I think I must have Miss understanding of something, need your help!

    Michael

    Hi Michael,

    The data sources mds-GOSA/bip_datasource etc. are for the weblogic server access to the metadata of Fusion Middleware.

    If you remember, we had used the RCU to create a repository of information of configuration settings, host of Fusion Middleware /product information/versions etc in a separate database, and these data sources are created in weblogic, and the different products that we install, in this case OBIEE/RTD/BIPublisher etc. can interact between them, transparently and through weblogic.

    Since then, it is the common platform (application server) on which all products have been deployed, it is necessary that we tune elsewhere too for optimal performance from the Infrastructure point of view.

    Now, the connection pool of the physical layer in our .rpd is all about access to data, and so the setting guide does not, in this regard because it is completely dependent on the type of data source, network interfaces of appeal, not concurrrent users, total dashboards, reports etc etc which is dependent demand.

    The setting guide is all about the setting of the Middleware Infrastructure + optimal settings for middleware (middleware) only.

    Hope that I was clear.

    Thank you
    Diakité

  • The consumption of web services and paging data.

    Hi all

    I am building an ADF application where I need to make web service calls to two different external systems. Each of them say return 50 records. On the user interface, I want to display 10 records at a time. Also, I need check duplicate records.

    What is the best approach in this case. Will I call the web services and generate the data in a temporary table and ADF - BC allows to display these data on the user interface. In this case set the data of a given user will be a challenge. Or will I programatically create 100 your and use them to display data on the UI (tabular) with paging option.

    Help, please!

    Yes, the pagination of POJO would be appropriate.

  • Consider purchase of Wacom Cintiq 27 HD Touch - Questions about the tactile feature in Photoshop and Lightroom

    I'm considering buying a 27 HD Touch of Wacom Cintiq monitor. I have a few questions about the two programs Adobe and their use of the 'touch' feature - Photoshop CS6 and Lightroom 5.7 running on Windows 7.

    1 problems related to touch a feature in Lightroom and Photoshop CS6 and 5 resolved that you see on the forums of Wacom a year ago?

    2. If so, is there sufficient value gained through the tactile feature in Photoshop CS6 and Lightroom 5 to justify the $500 price difference between the Cintiq 27 HD vs Touch HD? (I realize that this is a subjective question based on the abundance of its cash).

    3. I intend to stay with CS6 as long as possible to avoid a monthly subscription, BUT I wonder if buy the Touch HD can provide additional key features in future releases of these products that do not exist currently. (It is a pie in the kind of sky in question).

    Thank you!

    Kent

    Support for Photoshop Touch is added by CC 2014.2.2.  However as the Pro Intuos Wacom tablets with touch can be used with earlier versions of Photoshop and the Wacom Tablets Configurator can custom features can be used with Photoshop touch tablets.  I use LR but I don't know that the same thing would be true for her. You can configure the setting for many applications. The device driver knows which application its interfacing with and uses the parameter set for each...

    I have disable most of touch when using Photoshop.  The main reason why I have a Tablet is Photoshop Brush tools. Like Eraser, clone stamp, etc, nothing is better then a pen when it come to create the layer mask.  For most programs, I always use a mouse and I use the keyboard, the mouse and the pen with Photoshop...

    I never wanted a Cintig I do not have my hand between my eyes and the work. I'm not an artist.

  • Basic questions about the port of Vsphere mirror

    I set up a lightweight VM that would deal with inter-VM traffic. To do this, I want to activate the duplication of port between virtual machines.


    I have ESXi 5.5 Update 1 installed, use the Vsphere (no webclient) client. I see no duplication of port capacity on my Vsphere Client

    vsphere_esxi5.5_sc1.png

    I have some very basic questions:

    (1) all documentation I've read involving 'Port mirror' is done via web Vsphere client. Vsphere is provided with Vcenter (please, correct me if I'm wrong)

    (2) only functions with "Distributed Virtual Switch", not "switch vSphere Standard" port mirroring. How can I activate "Distributed Virtual Switch"? What products can I download/install and try (suppose I go to the user a license for 60 days)

    (3) exist what API to enable/disable/setup Port mirroring?

    (1) all documentation I've read involving 'Port mirror' is done via web Vsphere client. Vsphere is provided with Vcenter (please, correct me if I'm wrong)

    Because the mirror of port requires a distributed switch, you will need to vCenter Server and once in vCenter Server, you can the vSphere Web Client of the user or the vSphere Client (c# version).

    (2) only functions with "Distributed Virtual Switch", not "switch vSphere Standard" port mirroring. How can I activate "Distributed Virtual Switch"? What products can I download/install and try (suppose I go to the user a license for 60 days)

    You can download the server vCenter Server (60 day trial) and you'll have an Enterprise Plus version for your ESXi host vSphere.

    (3) exist what API to enable/disable/setup Port mirroring?

    Check the comments of this blog: http://blogs.vmware.com/vsphere/2013/01/vsphere-5-1-vds-feature-enhancements-port-mirroring-part-1.html

  • Basic questions about the storage on ESXi

    Hello

    We are about to implement a VMware ESXi environment and I would like to get some clarification on the storage in ESXi before proceeding.

    Material: 3 guests and HP EVA4000 FC 4 TB SAN.

    We execute the file, mail, web, directory, application and database servers.

    Some of these services require quick I/O and some require data to be 'seen' by at least 2 virtual servers for HA.

    Can I use discs RDM for HA/Clustering servers and for those who need quick I/O, or can I use VMDK:s?

    If I present to you the entire 4 TB SAN ESXi can I then several virtual servers use certain parts of this 4 TB SAN as discs RDM and other servers use certain parts of this SAN as VMDK:s? (Do we have virtual HBA:s in ESXi?)

    Thank you

    Yes. But you must consider as usual VMDK of hard drives in this case, you must install the cluster file system there.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • Urgent: The PL/SQl web service call fails with XML parsing

    Hello

    I try to call a WebService from PL/SQL (using the SOAP and UTL_HTTP Protocol built in package). I use Oracle 9i. I'm calling from pl/sql block, created in java web service method invocation.
    I get the below response as a SOAP protocol object, but I could not able to parse the SOAP.
    Could you please provide values for FirstName, LastName, and ErrorDescription


    declare
    request_env varchar2 (32767).
    v_xml XMLTYPE.
    l_user_first_name varchar2 (100);
    l_user_last_name varchar2 (100);
    l_error_value varchar2 (100);

    Start
    response_env: =' < soapenv:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv >
    < soapenv:Body >
    < UserInfoObjResponse xmlns:axis2ns1 = "http://www.test.com/services" >
    < axis2ns1:FirstName > first name out < / axis2ns1:FirstName >
    < axis2ns1:LastName > last exit name < / axis2ns1:LastName >
    < axis2ns1:ErrorDescription / >
    < / UserInfoObjResponse >
    < / soapenv:Body >
    < / soapenv:Envelope > ';

    dbms_output.put_line (' length to ask:' | length (response_env));
    dbms_output.put_line (' ask: ' | response_env);

    v_xml: = XMLTYPE (response_env);

    -SELECT EXTRACTVALUE(v_xml, '//UserInfoObjResponse/FirstName') IN the varchar2 (100) of l_user_fast_name; FROM DUAL;

    dbms_output.put_line ('l_user_first_name: ' | l_user_first_name);
    dbms_output.put_line ('l_user_last_name: ' | l_user_last_name);
    dbms_output.put_line ('l_error_value: ' | l_error_value);
    end;

    NS is a string that contains the declaration of namespaces.

    Look at line 7:

    ns varchar2(200) := 'xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:axis2ns1="http://www.test.com/services"';
    

    Max
    http://oracleitalia.WordPress.com

  • A question about the order of COLUMN sqlplus and PL/SQL

    Hello everyone.



    I would like to ask a question about sqlplus command COLUMN that I use in order to define the length of my queries of output columns. So, for example, I run something like:
    COLUMN market FORMAT a20
    That is why any column with the name 'the market' will be composed by sqlplus as 20 characters.

    Currently I'm working on a PL/SQL script that makes this automatic procedure, in other words, instead of manually write for each column in the above COLUMN order, it uses the DBMS_SQL. He read first as input the name of the table and then inside a loop, it detects the maximum length.

    For those interested, here is the Oracle documentation page that I found (example 8)
    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_sql.htm

    If everything worked well enough I managed to recover the maximum of each column in my table length, except that I don't know how to use the COLUMN sqlplus command in my PL/SQL block. I would like to do something like that (it's just a pseudo-code)
    FOR colIndex in 1 .. numberOfColumns LOOP
            currentColumnName = getColumnName(tableDescriptionObject, colIndex);
            currentColumnLength = getColumnLength(tableDescriptionObject, colIndex);
            
            COLUMN  currentColumnName FORMAT a -- and here after 'FORMAT a' I have to write currentColumnLenth but I don't know how to proceed.
    
    END LOOP;
    I would like to know is there a command in PL/SQL to define the appropriate column typeset in sqlplus length?


    Thanks in advance,
    Dariyoosh

    Hi, Dariyoosh,

    Sory, I don't think that there is a simple way to publish SQL * most orders fom PL/SQL.
    PL/SQL runs in the database (back-end); There isn't any direct contact with SQL * more at the front end.

    The best way I know is that PL/SQL script (myfile.sql) with orders of the COLUMN, and then have SQL * more run the script (@myfile).

  • Basic question about the selection of the AP and multiple channels

    I have about 10 PA (Aironet 1240 G) intended to be deployed one of my floors of office. We examined a diagram of the floor and made sure that we ordered enough to completely saturate the ground with wireless coverage. There are a few AP which are probably only 50' with each other. It's actually a bit exaggerated.

    I put a base on the switch configuration so that there are two different SSID on the access point (one for a production of WLAN and the other for a WLAN comments). Each SSID is associated with a VLAN different.

    I want to know is this what to do on the channels for the AP? Each access point will be independently configured and controlled.

    I understand that there is a way to control which channels each AP uses, but I'm not familiar with the controls or best practices for the configuration of the AP

    Can I do something like make sure that each access point uses a different channel than its nearest adjacent neighbors? Someone would mind sharing what is the command to do it, and where it is applied?

    I have read through some archives and saw people talk to set "no bunk channels" and to configure them to use 1,6,11 channels. I guess I don't understand what is meant by there.

    Manually define you an access point to channel 1, then set his neighbour to use 6 and another neighbor to use 11, and then you who stay?

    What is the worst of the scenarios on what happens when you have no AP too close to the other located on the same channel?

    It is a pleasure to read through the documentation if someone wouldn't mind pointing me to it. I'm still trying to understand the concept, and then I should be able to understand the documentation that came with the AP.

    Thank you for your help.

    If your stand-alone Access Points. If it was a deployment of Comptrollership, in fact to dynamically manage the channels for you.

    But what you really want to do, is you see APs do something like this:

    (imagine each number represents an access point, and it channel)

    1 6 11 1

    6 11 1 6

    11 1 6 11

    1 6 11 1

    It is a conceerne configuration guide. I think he has a small section on the channel assignment. If you do this manually, I think that you specify the actual frequency used in the CLI instead of the channel number.

    http://www.Cisco.com/en/us/docs/wireless/access_point/12.4_3g_JA/configuration/guide/s43rf.html

    So the CLI under the Dot11Radio0 you would do something like 'channel 2412' for channel 1... 2437 for 6, 2462

    for 11...

    If you have APs side by side on the same channel, you are likely to have clients interfere between them.

  • questions about the uses of flash cs6 and the code that it exports VS. switch to other tools

    I looked at the overviews on the new version of flash and I did experiment a bit with muse and edge of adobe. I have also heard the announcement Friday 4.1 android devices will run is no longer the flash player. my questions are:

    1 does flash cs6 fuction basically the same design-wise, but when it comes to export the file, the code a combination of html and javascript rather than in a solid swf file as it was currently publishing my work as?

    2 East edge meant to supplement flash? or he will take some of the uses of the flash so edge can publish for flash and mobile devices will remain in the area of desktop applications?

    3. If I created full-flash sites in older versions of flash, can I import in cs6 and make them exported as functional across all devices?

    I guess that, overall, just trying to get an overview here so that I can decide how to move forward and what to focus on.

    Thank you!

    1. Yes. The Toolbox for CreateJS is an additional downloadable extension for Flash CS6. He's going to post html and js files that will provide the animation rather than the swf file that you would normally publish. The success or failure of the version of javascript from your animation is the result of the work within the Toolbox. You are a bit constrained in the use of the timeline in Flash for your animations. If you are only working in Actionscript, then the output will be very disappointing.

    2 edge outputs javascript, css and html for you give an animation. The user interface allows you to design within the limits of what can make the border. You can preview and adjust and adjust your animation work you. Edge is a tool of html5. It can create some animation html5. It is not a replacement for Flash. It's something that you can use to integrate the animation in html instead of Flash.

    The problems and the benefits of each are unique. It is a good substitute to learn javascript, css and HTML 5. If you don't understand the code that is created from each of these tools, you can easily end up with huge, inflated, files which improved. I'm very biased towards really knowing what is happening. If I need to change something, I want to be able to enter the code and make a change, do not add an extra piece of code to work around what was there. I don't use any of the timeline, and so nothing of what I publish using CreateJS. Well, he's going to publish, but nothing happens because there is nothing on the timeline to translate.

    You can download a trial version of Flash CS6 and try to box at tools for yourself. Edge is still in free preview, you can get a copy to http://labs.adobe.com and try to see how it works.

    Also, if you do not use the Greensock Animation with Flash platform, take a look at this. It has recently been extended to ensure similar Javascript for most libraries. http://www.greensock.com/

  • Suggestions and Questions about the upgrade my Hardrive Mac and Ram.

    Hi This is my first time asking something in the forums. (At least I think) Well anyway, I got the Macbook Pro Mid 2012 13 "with the retina also runs the OS El captain. I do computer for school and sometimes animation video editing and ive noticed some performance as my projects get bigger and bigger issues. I want to improve my mac, but I'm not very tech savy and don't want to do something useless, so I had a few questions, I wanted to ask you.

    Do I need for my hard drive and my Ram?

    What effect will the upgrade of my Ram and what effect will be upgrading my hard drive with an SSD?

    I saw this SSD online and thought of novice opion that sounds get Id more bang for my buck (link) with her. Is this good? What more to kill? WiIll it still works? Could you suggest some other good affordable options?

    My next question if I decide to upgrade my Ram can provide you with some good affordable links to buy of new RAM sticks, is also 8 GB, the best he can do?

    My next question I watched a few videos online and by installing the updates level looks really easy and fast. But I use bootcamp (to play games sometimes), and I wanted to know if I save my files on my drive as ive seen people do videos, (something to wipe the drive and put it back in after installing updates) will be I lose my windows 7, I lost the disc to reinstall and he check so I really want to buy a new also do not want to lose the things I put in memory.

    From the retina MacBooks you is impossible to pass the ram as it is soldered to the logic board. As with the hard drive, it's just a card ssd and you can't get those anywhere because their hard to find.

  • A question about the CREATE DATABASE LINK PUBLIC and ORA-12154 error

    Hi all


    I have a problem on the public database link creation and I would be grateful if you could kindly give me a helping hand. I have the following connection settings in my
    tnsnames.ora file:
    ...
    DGPAPROD.WORLD = 
         (DESCRIPTION = 
           (ADDRESS_LIST = 
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
             ) 
           )
           (CONNECT_DATA = (SID = DGPAPROD))
        )
    ...
    Having the above mentioned parameters, I can connect to this remote database directly in a SQL * more shell:
    $ sqlplus username/[email protected]
    It works pretty well and the connection is established without any problem.

    Now, what I want to do is to create a public database of this remote database link to avoid the user/connection of switch for the visualization of the
    the content of this database. I proceeded in line with the syntax indicated in the Oracle online documentation:

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205

    This is why I run the following to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';
    Apparently there is no error and the link is created successfully. However, it cannot resolve the remote host and every time I run this query
    (myenterprise is the name of a table in the remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    What causes this problem?

    Thanks in advance,


    Kind regards
    Dariyoosh

    You must have defined DGPAPROD. WORLD in tnsnames.oar on the server where DB is runnig.

  • OCP: Question about the critical files on control and collision

    Hello

    I am currently a student at OCP certification exam 1z0-053.

    To do this, I bought the all-in-one fixed Oracle Press (http://www.mcgrawhill.ca/professional/products/9780071629188/)

    During his studies, I would like to test, to prove things and simulate the operation to get more familiar as possible with important concepts.

    The study guide covers the fact that when a critical file is damaged or lost, the proceedings will end. The critical files listed are: all copies of the controlfile, a data file that belongs to the SYSTEM table, a data file which is part of the current tablespace undo.

    As said here's the quote:

    Some of the files are important. Damage to a critical file means that the database instance will end if it is open and cannot be reopened until the damage is repaired.

    [...]

    Practically the moment where that the damage occurs, the instance will end. As always, first reaction of the DBA to an instance crashed should be to attempt a start. It will fail in NOMOUNT mode, with an error message appropriate. The alert log will show what controlfile copy is missing and also - in the section list of parameters to initialize default - controlfile how many copies there are actually is and where they are.

    A self-test at the end of the chapter, it is:

    1. loss of these files will cause a database open failed? (Choose all good answers.)

    A. a controlfile multiplex

    B. A multiplexed log file online

    C. a multiplexed log file archive

    D. an undo tablespace datafile asset

    E. a tablespace temporary assets tempfile

    F. Since the SYSAUX tablespace data file

    G. a file of data space of SYSTEM tables

    H. a data file containing the user's critical data

    [...]

    Answer:

    1. A, D and G. damage to any copy controlfile put an end to the proceedings, as damage to critical tablespaces: SYSTEM and break current tablespace.

    So, under the 11.2.0.3 when I delete or corrupt a control file copy, the instance is not crashing and the database continue to work. Alerts log is only regularly notifynig controlfile missing:

    Fri Aug 30 10:16:02 2013

    Errors in the /u01/app/oracle/diag/rdbms/ocp1/ocp1/trace/ocp1_m000_26767.trc file:

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' / u01/app/oracle/oradata/ocp1/control03.ctl'

    ORA-27041: could not open the file

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    I'm not really knowledge.

    I have to stick to what is said in the book or the experienced facts?

    Thank you

    Bruno

    The information contained in the Guide of the exam are not correct as written.  The Oracle instance would end on the loss of a single control file.  Oracle documentation on the management of the control files is here:

    Management of control files

    It says: "If a control file is damaged due to a disk failure, the associated instance should be stopped. Once the drive is repaired, damaged control file can be restored using the intact copy of the control of the other disk file and the instance can be restarted. »

    "Stop" means that the instance has become unstable.  Unstable case act differently depending on the situation this way, the book is not (cannot) document the specific behavior that may occur.  While the loss of a control file means that the DBA should be abandoned to the instance, it is a very different thing from the instance to the destination of its own.

    The ultimate source is always the Oracle documentation. I checked the page of errata for this book to McGraw-Hill.  I only see an extra.  Submit this to them and get your name on the page as a contributor.

  • question about the position of horizontal scrolling and grit

    Hey!

    I want a picture come outside of the browser with the movement of the scroll, the problem is that I can't block at the edge of the browser. Its an image with link to the top of the page and I just want it to be a small tab, but it keeps going all the way in my content area and does not hang on the edge of the screen. Am I missing something? I have poitioned at the edge of the browser in design mode, and iv as triple checked.

    The button positioning on the edge of the area of browser in design mode is not the same as the edge of browser window. It is just a representation, since the browser window can evolve differently at your disposal. To have the button on the edge of the window would require you to pin the button, but then you cannot use scroll motion: you can use scroll opacity, however, so it's a choice of having a floating manuscripts button in, or pinned button that fades in.

Maybe you are looking for