Way to switch the connection in a JSp application

Is there a way to switch connections in my Online Orders application. I switched the database and connected to a new one. It's also listed under connection manager and highlighted. But, for some reason, the application tries the original connection that I created the application with. Isn't there a way to modify to a new connection for this application?
A

I beleive this JDBC connection gets hardcoded in the project. I tried to create a connection with the same name, but, ofcourse database, username and PW different. It still returns application error. Does anybody have an idea on to where the JDBC info gets written in the project?
A

Similar Messages

  • How can I switch the connection pool dynamically during on load happens

    HI,
    I have two data bases which holds same data. i.e Prod_db, Prod_db1,
    I want to switch the connection pool dynamically during load happens
    Ex: During load happens i want to hit prod_db1, after load completes i want to hit prod_db. How to achieve this.

    create dynamic repository variable for DSN using init block so that value is changes based on your timings and use this in connection pool.
    If you use same user and passwords for both the databases that would be easy or else need to follow the same for uid and pwd.
    That should work, if not update.
    If helps pls mark correct/helpful

  • What's the easiest way to switch the license to a new computer for the same user?

    What's the easiest way to switch the license to a new computer for the same user?

    Cloud License allows 2 activations http://www.adobe.com/legal/licenses-terms.html
    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0
    -Windows or Mac does not matter... 2 on the same operating system, or 1 on each

  • I have a DLINK 524 150 and bought recently an airport express to extend my WIFI network. I tried by many ways to get the connection but it was impossibble. If possible, what is the necessary setup and orientation I have to follow ?

    In have a DLINK 524 and bought recently (march/2013) an airport express to extend my WI-Fi network. I triedmany ways to get the connection but it was impossible. Is really possible to get this connection ? If it is, what is the necessary setup and orientations that I have to follow ?
    Thanks

    Apple designed their "extend" feature as a proprietary function to work with other Apple routers, so it's extremely unlikely that the AirPort Express would be able to wirelessly extend your D-Link network.
    If you can connect the AirPort Express to the D-Link router using a wired Ethernet connection, the Express can likely be configured to provide more wireless coverage that way.

  • Is there a way to restrict the network access of an application?

    Is there a way to restict the network access of an application? In other words, is there a way to guarantee that an application will only operate in offline mode?

    Well, more than just knowing if an application will work in offline mode, I'm interested in whether there's a way to forcibly the revoke network access of an application. For example, I don't think something like an epub reader should have network access and I want to insure it does not communicate to an external server.

  • Any way to test the connection from my web browser back to SAP?

    is there a way to test/monitor the connection/data that is sent from my Internet Explorer back to SAP when the Submit button is pressed?

    I would love to find a utility that lets me measure the speed of my network without the variable of including my internet connection.
    If you are using wireless and you have Mac laptop handy, take some quick measurements at different locations around your home.
    Hold down the option key on your Mac while you click on the fan shaped AirPort icon at the top of the screen. Look for the Transmit Rate number and jot that down.
    This represents the maximum speed that your wireless could support at that particular location.
    For example, let's say that your Transmit Rate at a given location is 130. This number is expressed in Mbps, so you would have 130 Mbps.
    You will find that your network speed is much faster than your internet connection speed, which is limited by the type of service that you have selected. If you have a 6 Mbps service, your internet speed and connection will be limited to that number no matter how fast your network number may be.
    Another way of saying the same thing is that your internet connection will always be the bottleneck on your network.

  • Is there a way to make the connection invisible to outsiders?

    Hi I am a college student and I wanted to put a wireless network in my dorm room. My question is there a way to make the wifi connection be invisible to outsiders but to people who know that it is there they can see it(use it)? basically I want it to remain on so i dont have to unplug the power to it all the time. anything would be very helpful!!
    thanks for your time.

    Okay, I see I should have read some of the other discussions before I posted. According to the discussions at http://discussions.apple.com/thread.jspa?threadID=887980 and http://discussions.apple.com/thread.jspa?threadID=821637, the option to "Create a closed network" (disable the broadcast of the SSID, as some utilities call it) is misleading and only makes the network invisible to the casual observer. Ordinarily, I would still consider that worth something -- having a better lock on my door might not make me completely safe, but it might make the next door down the block look like a more inviting target for a thief. However, considering the flaky behavior that my Mac often doesn't automatically find the same closed network that it has found many times before, I'm turning off the "closed network" setting and relying on encryption. Duane, thanks for the heads up.
    MacBook Pro 17"   Mac OS X (10.4.10)   2.33GHz Core 2 Duo

  • Is there a way to switch the right Ctrl with the mouse's rick click tab in the new X1 carbon?

    Hi,
    I just bought my new X1 Carbon and I was looking for a way to have the tab with the right click function (generally it is showed as a small window with the mouse arrow on it in bigger keybords) instead of the right ctrl button.
    Thank

    You should be able to do that with the [https://addons.mozilla.org/en-US/firefox/addon/710/ Menu Editor] add-on.

  • Is there way to switch the GPU in BootCamp 5.0 (MBP 8.2 15" 2011)

    I understand that in BootCamp, the discrete GPU (mine is Radeon 6770M) is a defaulted Graphic Display Component. Even when the battery was full-charged, the battery status reported just 3 hrs remaining (versus 8 hrs as advertised for MBP in OSX) .
    It would be nice if we can switch the integrated GPU (Intel 3000 Graphic Chip) when using a less-intensive graphic appilcation, so we can save the energy consumption i.e. only use the discrete GPU when needed.

    Well, You did suggest the downgrade as a viable solution, and I just seconded it.
    I understand that a developer needs the latest OS, for being sure that the program he is developing works with it.
    But you did report employing commercial software, which was working correctly under 10.8.5...
    In your case, what I suggest is to setup your machine with a dual HD (which indeed is a wise suggestion: I have this in my MBP 17" late-2011). So you can keep two different versions of OSX, one on each HD (and possibly also two different versions of Windows, again one for each HD).
    If testing the same app with many OSs is your concern, this is the solution...
    In the meanwhile, as soon as you find issues with any app, I suggest that you send feedback to the support service of both Apple and of the maker of the software which is stalling.
    It is thanks to these feedbacks that they will be able to release updated/fixed versions of both OSX and the affected programs...

  • Accessing user connected to my JSP application

    Does somebody know how can i access the informations of all my
    connected users at a given time in my JSP application with OC4J.
    I want to pick a user randomly in that pool and make him win a
    prize so that my users will want to come back frequently.
    I tought of a autonomous Java thread that can access those info
    of my users and pick someone ranomly at a given interval.
    Thanks

    You need to make sure that your users are logged in using one of
    the OC4J usermanagers. I am assuming you have already worked
    that one out.
    You will need a bean that collects all of the usernames, and
    then a method in the bean the randomly selects one. So the rub
    is, how do you get at the usernames?
    Depending on the usermanager, you would get the users with the
    method
    List users = usermanager.getUsers(0,usermanager.getUserCount());
    See the api on usermanager's
    http://www.orionserver.com/docs/api/index.html
    regards,
    the elephantwalker
    www.elephantwalker.com

  • There has to be a way to find the current directory in JSP, right?

    I've read a number of posts, with limited results.
    Here's my problem. I have 3 databases set up, and I'd like to use a different one depending on which directory I am in. (ie Stage, Production, Dev). So I am reading the database name from a parameter file.
    I am simply trying to read a text file from the same directory as my jsp file. For example, my jsp file is in /home/username/public_html/prod
    When I try System.getProperty("user.dir"), it returns /home/username/public_html/.
    Is there a way for the jsp page to let me know it is in the prod subdirectory? Verses another subdirectory? Everything I've tried puts me in either the /home/username directory or the home/username/public_html directory. I can't get to any of the subdirectories!!! Please help!

    This is what I'm working with right now, seems to work. Anyone know a better way:
    ServletContext context = getServletContext();
    String servletpath_str = request.getServletPath();
    StringTokenizer st = new StringTokenizer(servletpath_str,"/");
    int nooftokens_int = st.countTokens();
    nooftokens_int--;
    String virtualpath_str = "";
    for(int i=0; i<nooftokens_int; i++) {
    if(i == 0) { virtualpath_str = "/" + st.nextToken(); }
    else { virtualpath_str = virtualpath_str + "/" + st.nextToken(); }
    String currentDir = context.getRealPath(virtualpath_str);
    String filename = currentDir + "/file.txt";

  • Automatic way to change the connection for Multiple universes

    We recently migrated the BO objects like universes and connections from 3.1 QA to 4.1 Dev.
    But now we want to point all our universe connections of 4.1 Dev system to the BW Dev system instead of BW QA.
    Is there any automated way of doing it ?
    Thanks,
    Tilak

    Promotion Management Overrides

  • FF 4 - Is there any way to disable the connecting/loading animation on the tabs?

    It makes me dizzy when the arrow spins counterclockwise while connecting and then clockwise while loading the page!!

    Please developers include an option in about:config to turn the throbber off, at least the reversal of direction. Put cor-el's patch in the code.

  • Is there any way to switch the side panels, so my adjustment panels are on the left?

    I've started using a Surface Pro 3 to do my initial photo adjustments in Lightroom (v5) and the concept has the potential to really increase my productivity significantly, not least because it means I can stay in the same room as my family for much of my editing. But I'm a lefty and having the adjustments panels on the right is really hard to work with, because my hand is basically obliterating the image I'm working on, while making the adjustments. I can't find anything on the subject, but with all the miraculous (and frivolous) features of Lightroom, can't believe that its not possible to undock or switch around panels.  Can anyone help me find this feature?
    Thanks,
    Rich

    I found a feature request on the subject and added my support, but it doesn't appear to have as much interest as many other feature requests, so I'm guessing it'll stay buried.

  • Is there any way to get the appStore link for my application

    Hi everyone , i am developing an app which has a feature of sharing its appstore link with the friends through mail,so that they can see my appplication in appstore and buy it directly on click of a button. For that i need to use the app store link of my application for sending it . is there any way to get that and using it dynamically in my app immediately after releasing it.

    Your best bet would be to create a web page of your own for the app. Design that page so that it uses 'META REFRESH' to redirect the visitor straight to the App Store link.
    That way you can hard-wire your own web page address into your app.
    This has the advantage that it can work well even before you've noticed that your app has arrived on the App Store. Create a real web page, describing the app and telling people to search for it in the App Store by name - then replace it with the auto-redirect page when you've discovered your application's App Store address.

Maybe you are looking for

  • Remove Mozilla Suite, Keep Firefox 2.x

    Hello, Sorry if this is a n00b question, but I want to remove the Mozilla browser and Thunderbird from JDS3 on Solaris 10 8-07 SPARC (fully patched) without ruining the Firefox 2.0.0.4 install (pdf, flash, defaults expected by JDS etc.). Any special

  • Oracle Services dont start - Auto services, different login

    Hi Guys, I have one query, is it necessary that user account who has installed Oracle when login only then oracle services will run? I have created another user, who is added in following user groups - Administrators, Backup Operators, Power Users, O

  • Advertised lens not available for delivery or store pick up, Why?

    Nikon - AF-S DX Nikkor 35mm f/1.8 Lens for Nikon F-Mount Digital SLR Cameras $199 This lens is NOT AVAILABLE for home delivery at $199. Why is BB offering it for store pick-up? I spent hours trying to find a store to ship it to and I couldnt find a s

  • DTP to load master data, gives the message 'No more data available'.

    hi, when i execute the DTP to load master data from DSO, it executes and gives the message 'No more data available'. The request is green but no data is transferred from the DSO to master data. I want the DSO data to get into master data how do i do

  • HT203433 Trouble downloading preordered album

    I have the most recent version of iTunes. Recently preordered an album that was released on the 21st. I got a confirmation email saying it was ready to download. I enabled automatic downloads already. When I open the album in my library, it says I on