REST on ADR 2.0.8 and DB 12.1.0.2 access PDB returns invalid username / password

Yesterday, I upgraded my database at 12.1.0.2.

Then I removed the APEX of the database of the container and (re) installed in a PDB (called apex42) file.

Downloaded and configured ADR 2.0.8.

APEX now works fine. Great!

Now, I want to use the REST stuff yet. So I ran the apex_rest_config.sql - that creates the users APEX_REST_PUBLIC_USER and APEX_LISTENER. I checked that I can connect using SQLPlus with these users and passwords. ADR ran config to store passwords in XML files.

But this REST services testing returns (after lighting debug):

Error in the evaluation of the model of resource: GET/HR /, SQL error Code: 1 017, SQL Error Message: ORA-01017: name of user and password invalid. connection refused

Ask the path passes the validation of syntax

Application of mapping to the database pool: PoolMap [_failed = false, _lastUpdate = 1407103200000, _pattern = / demo / _poolName = apex, _regex = null, _type = BASE_PATH, _workspaceIdentifier = DEMO, _serviceName = null]

Applied database connection information

Try to deal with the PL/SQL gateway

Not treated as a request of the PL/SQL gateway

Try to treat as a RESTful Service

HR/employee/match: hr/employees/score: 0

Choose: oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as a current candidate with score: Score [handle = JDBCURITemplate [scopeId = null, templateId = 3177324644782361 | 3177909187782428, uriTemplate = HR / /], score = 0, range = SecurityConfig [constraint = none, realm = NONE, logonConfig = NONE], originsAllowed = [,], corsEnabled = true]

Determine if the request can be sent as a RESTful Service occupied

The request path has a path segment, continue the treatment

Tenant main already established, cannot send

At selected oracle.dbtools.rt.resource.templates.jdbc.JDBCResourceTemplateDispatcher as the final candidate score: Score [handle = JDBCURITemplate [scopeId = null, templateId = 3177324644782361 | 3177909187782428, uriTemplate = HR / /], score = 0, range = SecurityConfig [constraint = none, realm = NONE, logonConfig = NONE], originsAllowed = [,], corsEnabled = true] for: GET/HR.

HR / / is a public resource

Using the generator: oracle.dbtools.rt.json.query.JSONQueryGenerator

JDBC query as: DEMO

Error model of resource assessment: ORA-01017: name of user and password invalid. connection refused

These are the "db" - entered into the file defaults.xml.

< key = "db.hostname entry" > localhost < / entry >

< key = "db.password entry" > @05D44DA435E3E78677DDE9C471942412B5 < / entry >

< key = "enter db.port" > 1522 < / entry >

< key = "db.servicename entry" > apex42 < / entry >

contents of the apex_rt.xml file:

< key = "db.password entry" > @05ED7A07BBB7570F17EA7258C03F13673C < / entry >

< key = "db.username entry" > APEX_REST_PUBLIC_USER < / entry >

My hypothesis is that the service REST tries to connect to the CBD and not the PDB--but this assumption may be false...

What I could do to get this race?

The solution seems simple and strange at the same time...: when I click on the link "Reset the sample data" in the page Services RESTful, REST demo services like mine are working again. Do not know what is happening behind the scenes, but it seems more than I expected...

Recreate as a service seems to help as well...

Tags: Database

Similar Questions

  • Use of IE with Windows and active Internet the FMS server 8.1 requires a username / password

    When you use the copied link browser provided on the iOS (http://sandiskxxxxxx.local/files) application settings page I get a standard pop-up browser asking for a username and password.  What should I enter here?  Does not allow an anonymous connection.  I tried the usual stuff, Admin, the UID on my computer, the UID for my router admin, empty string, etc. With all the combinations of passwords, that I am entered for the WFD WPA2, the DDT from the admin of my router and my PC, etc. No luck.  Anyone else understand it?

    The user name is 'owner', if requested.

    If you have set a password in the security settings in the application, then the password is the password that you configured in the settings, otherwise there is no password.

  • IPv4 and IPv6 connectivity says no Internet access

    My computer says that it has access to the internet but when I use a browser it does not work. Also Ipv4 and Ipv6 connectivity says no internet access, and at the launch of the troubleshooting, it indicates that the DNS server is not responding. So there are a lot of problems.

    Hello

    Internet works with IPv4.

    I can't give a targeted response as you have not provided technical information on how you connect to the Internet and devices that are involveved.

    In general.

    Check the Device Manager for the entry of valid card of the wire.

    http://www.ezlan.NET/Win7/net_dm.jpg

    If there is no valid entry, remove any entry from fake and re - install the drivers for the wireless card.

    Check network connections to make sure that you have a Local Area Connection icon/entry, and that the properties of the icon (right-click on the icon) are correctly configured with the TCP/IPv4 protocol in the properties of network connections.

    http://www.ezlan.NET/Win7/net_connection_tcp.jpg

    Connect you to the menu of the router from a work computer and make sure DHCP is on, and it is configured to assign IPs which can cover the number of computers that are connected (a bit more will be even better).

    Turn off the computer and the router, reset the router and the computer.

    Right-click on the wireless network connection card, select status, details and see if she got an IP address and the rest of the settings.

    It still does not work, try this too.

    Firewall software.

    Make sure that the software firewall on each computer allows free local traffic. If you use 3rd party Firewall Windows Firewall should be disabled, and the active firewall has adjusted to your network numbers IP on what is sometimes called the Zone of confidence (see part 3 firewall instructions

    General example, http://www.ezlan.net/faq#trusted
    Please note that some 3rd party software firewall continue to block the same aspects it traffic Local, they are turned Off (disabled). If possible, configure the firewall correctly, or uninstall it completely allowing the clean flow of traffic on the local network. If the 3rd party software is uninstalled, or disables, make sure Windows native firewall is active .

    Reset the network stacks .

    Type Cmd in the search text box.

    Press Ctrl-Shift-Enter keyboard shortcut to run a command as administrator prompt.  Allow the elevation.

    Type netsh winsock reset at the command prompt and press the Enter key.

    Do the same process to refresh the TCP/IP, just replace the command typed with.

    netsh int ip reset

    Restart the computer.

    Jack, MVP-Networking. WWW.EZLAN.NET

  • I NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he try to put the itunes thing but

    NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he tried to put the itunes thing but it says enter password I put in what I rember, then said lokced for five minutes help me pls

    Without knowing the password for your iPhone, there is no way to unlock it, bring even you to the Genius Bar. If you continue to enter the wrong password, you will be locked out of your iPhone, and your data will be unaccessable.

  • How can I put someone other iCloud for my computer account? I'm on my mothers iPhone account and I don't have physical access to its features, nor can I explain to heehaw to do itself.

    How can I put someone elses iCloud account from my computer? I'm on my mothers iPhone account and I do not have physical access to its features nor can I explain how do it herself.

    No, but you can use a remote control program and do it yourself. Try Teamviewer, or similar.

  • I have an iPhone and a MacBook Air 11 '' 6. iPhone 6 syncs and backup icloud. I can access iCloud via the net on MacBook.  The problem is that I can't get the MacBook to sync with iCloud.  How can I do this?  Help, please. Thank you.

    I have an iPhone and a MacBook Air 11 '' 6. iPhone 6 syncs and backup icloud. I can access iCloud via the net on MacBook.  The problem is, I can't get the MacBook to sync with iCloud.  How can I do this?  Help, please. Thank you.

    What, in particular, looking to sync with the Mac iCloud? If you mean things like Contacts, calendars, Notes, etc., then you want to go in under the  system preferences, click the iCloud and connect to iCloud there with your iCloud ID. Then select which items you want to sync'd via iCloud.

    What - what are you trying to do?

    See you soon,.

    GB

  • I dropped my phone from a height accidentally and now its completely broken and destroyed I can't access anything and all my photos are on it and the battery decreases very quickly please how to unlock my password without touching my screen its broken

    I dropped my iPhone 4S height accidentally and now its completely broken and destroyed I can't access anything and all my photos are on it and the battery decreases very quickly please how to unlock my password without touching my screen its broken and I can't touch I have all my studies on this subject two years ago and I still need the documents please someone help Please I need my pictures and documents

    Hello

    You must make an appointment at apple store in for breach of warranty replacement.

    You pay part of the cost of using iCloud upward when you configure new iphone.

    Even apple ID.

    See you soon

    Brian

  • I have a second hand iPhone and can't set up as the person he was find my iPhone on the phone and wont let me sign in with my Apple or the password and IE you have to communicate with the person he was and connect with Apple here

    I have a second hand iPhone and cannot configure as the person he was find my iPhone on the phone and wont let me sign in with my Apple or the password and IE to communicate with the person he was and connect you with there Apple ID and then cut to find my iphone. Unfortunately o cannot get in contact with that I had to and now can't activate my phone can anyone help? Is there another way I can get into my new phone

    There is no possible way to turn it off without having to contact the original owner. Nothing whatsoever.

    This is why you should always check if find my iPhone is not activated on a used phone.

  • I just 6 s phone and when I try to buy stuff, it says "enter a password for santosjim@***". It's not my apple ID and my password does not work

    I just 6 s phone and when I try to buy stuff, it says "enter a password for santosjim@***". It's not my apple ID and my password does not work

    The phone that you have just bought is not new. It is locked to its previous owner.

  • My machine works all the microsoft Web sites. I can access the site for a few minutes, after a while, it displays a virtual memory and the next stage i cannot access sites Ms.

    Could not open the MS Sites

    My machine works all the microsoft Web sites. Formatted several times and doing a new installation, I can access the site for a few minutes, after a while, it displays a virtual memory and the next stage i cannot access sites MS. no software or installed applications. cool, but I can not go to Sites Ms. other Web sites, I can access.  Also tried to change the memory... no luck, I've seen other sites asking to change the settings of the modem or dial the ISP, but my 2nd computer work well on the same network, took my computer to the office network and found that the same problem exists... could someone help me please...

    Hello

    Please let me know if:

    1. you are able to access other Web sites, or the question appear with only Microsoft based sites?

    All other websites work well. problem only in trying to gain access to www.microsoft.com

    2. What is the operating system that is installed?

    Windows XP Pro.

    3. are you aware of the physical RAM installed?

    1 GB

    4 and it meets the minimum requirements of the browser you are using?

    For the past 2 years my laptop works fine with the same hardware configuration. It stops working suddenly MS websites. I did not have all the hardware changes.

    Provide answers to the following questions.

    a. also mention the name of the operating system that you use.

    Windows XP Pro

    (b) is there an error message that is displayed when the site no longer works?

    trying to access the page from www.microsoft.com when rises, it is 'Impossible to view the Page.

    c. What is the browser you are using?

    Tried it on IE, mozilla and chrome.

    I tried to change the size of the memory virtual and also changed to the size of the managed system.

    formatted and installed xp pro with sp3 and I also tried formatting and install from different cd with xp and sp2. It works for 3 or 4 minute MS sites and the message immedly appears low virtual memory and it stops working MS sites.

    tried to change the physical memory.

    Tried with different browsers.

    at the top does not a little luck. :(

    Method 1: Please visit the following link to change the size of virtual memory

    Change the size of virtual memory

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-size-of-virtual-memory

    Method 2:

    See the following links

    http://support.Microsoft.com/kb/967897

    WARNING: Reset Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings

    http://support.Microsoft.com/kb/972034

  • In XP, the C:\Documents and Settings\All Users\Menu Menu access denied error

    Windows is comeing up C:\Documents and Settings\All Users\Menu Menu access is denied

    How can I solve this problem

    Hi Tony,.

    a. is the narrow question in the folder of the Start Menu ?

    b. you are the administrator of the computer?

    Check to see if this article helps you.

    "Access denied" error message when you try to open a folder

  • Unable to access computer because the account password for Windows Vista has been forgotten and don't have a password reset disk/hard to find ways to restore the system... Help please

    Hello
    I'm stuck on the screen on my computer for my Windows Vista Home Premium 64-bit edition. The password to the user account has been lost, and now I am unable to access my computer. I don't have a created password reset disk so I can't reset the password. I searched these forums and seems the most effective way is to run a system restore to a time where I did have a password for my account. Fortunately for me, I did an automatic update of Windows that created a system restore point literally moments before I put the password, so I should be able to get access to my computer once I figured out how to get system restore to work. The advice I found on other forums do not seem to work, because I'm in my Windows vista operating system disc, but no screen is coming up with 'Repair your computer', which indicate the steps happen. I need assistance to find another way to run the system restore on boot menus/Vista/DVD CD. Thank you.

    Go to Bestbuy or other PC shop. They can fix it for you. (Could I have so I am not allowed to post these alternative instructions.)

  • Wireless router requesting domain username, password and logon

    I recently bought a router without wire - WBR - T2 - as my old netgear router has stopped working. I can connect via the ethernet fine connection and access the internet. But on my computer Vista laptop when I try to connect to the wireless network, what I asks me to enter a username, password and domain logon. The old netgear router has not asked for these. Any help if her I need information would be appreciated.

    Thank you
    Jon

    I don't know where you get the application for the user name, etc. Your computer is on a domain? In the meantime, here is general information about the implementation of a wireless network. See if anything here helps you.

    To configure the router:

    Have a computer connected to the router with an ethernet cable. Examples given are for a Linksys router. See the manual of your router or the router mftr's Web site. for the parameters by default if you don't have a Linksys. Open a browser such as Internet Explorer or Firefox and in the address bar type:

    http://192.168.1.1 [Enter] (it is default IP address of the router, which varies from router to router then check your manual)

    This will bring you to the login screen of the router. The default username is blank and the Linksys default password is "admin" without the quotes. Enter this information. You are now in the configuration of the router utility. Your configuration utility may be slightly different from mine. The first thing to do is to change the default password because * all * known default passwords for different routers.

    Click the Administration link at the top of the page. Enter your new password. MAKE A NOTE SOMEWHERE THAT YOU WILL NOT LOSE. Re-enter the password to confirm it, and then click Save settings at the bottom of the page. The router will reboot and show you the box of connection again. Do not fill in the user name and put it in your new password to enter the configuration utility.

    Now, click on the link wireless at the top of the page. Change the network name (SSID) wireless by default to something, you'll recognize. I suggest that my clients not use their surname as the SSID. For example, you might want to name your network wireless network "CastleAnthrax" or similar. ;-)

    Click on save settings and when you get the prompt that your changes were successful, click the wireless security link which is just beside the Basic Wireless Settings link (where you changed your SSID). Most computers purchased during the last 4 years have the wireless hardware that will support WPA2-Personal (also known as WPA2-PSK). This is the desired encryption level. If your wireless hardware is older, use WPA. Don't use WEP, because who is easily broken within minutes. So go ahead and set the Security Mode WPA2-Personal. Do this and enter a password. For example, you could use the password ' here be dragons, beware you scurvy dogs! The password is what you enter on all computers that are allowed to connect to the wireless network. MAKE A NOTE SOMEWHERE THAT YOU WILL NOT LOSE.

    At this point, your router is set up and if the computer that you use to configure the router will normally connect wireless, disconnect the ethernet cable and wireless of the computer should see your new network. Enter the password that you have created (exactly as you wrote it with all capital letters and punctuation) to join the network and start surfing.
    MS - MVP - Elephant Boy computers - don't panic!

  • Windows mail user name and password appear invalid username and password Port110 Secure (ssc) sever error: 0X8000CCC90 error number0X8000CCC92

    original title: windows mail windows security ask user name and password that has never been there before and error appears the invalid username and password Port110 Secure (ssc) sever error: 0X8000CCC90 error number0X8000CCC92

    Error invalid username and password Port110 Secure sever error: 0X800CCC90 error number0X800CCC92

    This thread was on Windows Mail, not Windows Live Mail.
     
  • When I reboot after installation of service pack 2, the message comes out and says that updates are not configured correctly, returning from changes

    When I reboot after installation of service pack 2 on a computer laptop with Windows Vista Home Premium 32-bit Dell XPS M1530, the message comes out and says that updates are not configured correctly, returning from changes. Do not turn off your computer. I installed update readiness tool, but it does still every time. I tried to disable the antivirus software prior to installation.

    Hello
     
     
     
    1. how you try to install Service Pack 2?
    2. are you able to boot to the desktop?
     
     
    Method:
    Step 1: If you are able to start the computer in normal mode, then try a clean boot.

    To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135
    Please note: after troubleshooting, start the computer in normal mode.

     
    Step 2: Try to install Service Pack 2 manually.
     
    How to obtain the latest Windows Vista service pack

     
     
    If you are unable to start the computer, then you can follow this link to start the computer in safe mode.
    Start your computer in safe mode
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode
     
     
     
     
    If you are unable to install Service pack 2, you can consult this article.
    Error: Failed to setup of the Windows updates. Restoration of the changes. Do not turn off your computer when you try to install Windows updates
    http://support.Microsoft.com/kb/949358
    Please note: method 2 refers about upgrade on site.  Perform a repair installation/place will not damage files and applications that are currently installed on your computer.   However, I suggest you to back up all important data on the computer before you perform the upgrade on the spot.
     
     
     
     
     
     
     

Maybe you are looking for

  • Notation of the songs on iphone after updating iOS 9.3

    After the last update to iOS9.3, I can no longer RATE my songs on my iPhone 6. And by 'rate', I mean with the stars (1-5) so that I can build or modify my TOP RATED playlist. Click or tap on the song, same double tap and it will lead you to the album

  • Trouble accessing some sites like Yahoo and Facebook.

    Original title: Internet Prolems I have internet explore 8 and im having difficulties to access certain sites like yahoo and facebook.  I can not also open google chrome and I don't know why.  Does anyone have idea as to what could be the problem?

  • 'Install msi' fixing problem

    I have the problem of 'install status.msi' and tried to fix it with your advice, which says 'click Start and in the Find box type msconfig." When I click Start on my computer, I don't have a search box, I have 'search' as an option, but the window do

  • updated security KB3013455 and make corruption

    I tried to uninstall the update.  He reinstalled himself. Changed settings do not install the updates and uninstalled the update again. Restarted the computer.  Enter a last restore point (a few weeks) has not helped, because he reinstalled himself l

  • You can install streets and trips and highway 2010 on the same computer?

    1. is it possible to install streets and trips 2010 and highway 2010 on the same computer? 2. don't they install as separate applications or both detailed maps are visible in the same application with the same characteristics, and they are available