We can replace of some kind of databases using Oacle Coherence?

We can replace of some kind of databases using Oacle Coherence?
Some kind of database can be replaced by Oracle Coherence using the Serialization Paged Cache as the backing storage for the service and using the Serialization Paged Cache as the backup store on disks.
Do you agree with me?
Edited by: jetq on Sep 4, 2009 5:53 PM

So far basically what I did for the connection was create a constant equal to the name of the database, in the servlet. I will post my Servlet code so far, and I suppose it would help people with either I am going about this all wrong, or on the right track.
public class SMServ extends javax.servlet.http.HttpServlet{
      private static void initialize()throws SQLException {
      String dataSourceName = Constants.MY_DS;
      try{
      Context wocContext = new InitialContext();
      DataSource ds = (DataSource)wocContext.lookup(dataSourceName);
      Connection conn = null;
      conn = ds.getConnection();
      }catch(NamingException ne){
public void doGet(HttpServletRequest req, HttpServletResponse res)
          throws ServletException,IOException{
RequestDispatcher rdSearch =
getServletContext().getRequestDispatcher("/RTMain.jsp");
if (rdSearch != null)
rdSearch.forward(req,res);
}The doGet is there, because what is supposed to happen is the Servlet is supposed to be hit first then go to the jsp. My jsp basically just has a button sitting on it, all I am trying to get out of this is, a button click on the jsp will trigger a hardcoded SQL statement to pull data. As most of you can understand, my purpose is to see this relationship working so I can understand it. I am not sure if I am completely right on my DS setup there. The Constants.MY_DS is from another class, that is basicallypublic static final String MY_DS = "name of my database"; Name of the database being the one I have an established connection to in rad.
Edited by: tsdobbi on Nov 21, 2007 8:52 AM

Similar Messages

  • Can not find some messages in Mail using search

    I have some problems with Mail.app I can not find some messages in Mail using search, the strange thing is that sometimes mail search finds some messages, but after rebuilding spotlight index the search displays other messages with the all messages searched using same search criteria. I have also tried to delete Envelope index file from the Mail folder in usr/library and forced mail to import all mailboxes but it started to crash importing some of mailboxes - I deleted the messages from that mailboxes, imported remaining mailboxes and tried to rebuild mailbox, but everything without a successes. Any ideas how to solve it?

    Hi lnaki vila
    I'm using pi 7.0 version
    i can see the other scenarios like SOAP to RFC, SOAP to IDOC,FILEto IDOC
    in sender side i'm not using any communication channel and adapter engine i'm just using http client tool for testing purpose
    i'm getting the response that's fine because its a synchronous communication
    i checked sxmb_adm in that -->integration configuration LOGGING parameter of category RUNTIME is set to  ENGINE_TYPE and current value is HUB(Integration server)
    thanks in advance
    regards
    Satish

  • Can I make some tables of database into archived logging?

    Is that possible that making logging part of tables in database ?I mean ,only some changes of tables recorded in archived log file .If do so,the size of logging file may decrease ?

    In my oracle database, there are some streams which are used to make the datafile in different machine located in different place.For these streams normal running has to look archived log to kown what has happen in my database and needs to tell other database,
    SCN is used to identify the different states of databse.When a stream get a scn, it is what stream get the change which has happen ,such as data insert or update.And applied_scn is used to identify the states streams have told other database .
    My question is that,if I do nothing during a long time,the applied_scn stop,and archivelogs increase day after day.If these so large archivelog make the database down ,and I can not delete them .The streams can not work well, What can I do to prevent this thing to happen one day.
    I have a solution,I do some changes to local databse.This make applied_snc increase.
    Although the archivelog file increase ,I can delete them for the streams has get the informations form them ,But it is not a good idea.
    Has a good idea? Help me!
    Thank a lot!

  • Can we get some kind of effect for iphone lock screen???

    i'm looking into changing my lock screen. i would like to get some kind of effect instead of the plane lock screen that we already have. any suggestions if any and possible to do???

    Switch now, don't wait. You sound like you are more of a Android OS type user (a rooted Android device at that) and Apple is probably never going to make the changes you want. You definitely do not want to look at Windows 8 mobile which is even stodgier than iOS.
    Good luck with your Android device.

  • Can't Connect to the Mysql Database using J2SE jdk1.5

    Can anyone tell me why this error occurs ????????????????????
    Following are the codes ;
    package dbconnect2;
    import java.sql.*;
    public class dbconn2 {
    public static final String URL =
    "jdbc:mysql://localhost:3306/test";
    public static final String USERNAME = "test";
    public static final String PASSWORD = "password";
    * @param args the command line arguments
    public static void main(String[] args) throws Exception {
    // TODO code application logic here
    Connection connection = null;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    connection = DriverManager.getConnection(URL,
    USERNAME, PASSWORD);
    Statement stm = connection.createStatement();
    ResultSet rs = stm.executeQuery("select * from emp");
    while (rs.next())
    String strnaam = rs.getString("emp_name");
    System.out.println(strnaam);
    finally {
    if (connection != null)
    connection.close();
    ================================================================================
    This is the run time error ;
    init:
    deps-jar:
    compile:
    run:
    Exception in thread "main" java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at dbconnect2.dbconn2.main(dbconn2.java:39)
    Java Result: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    please help me to sort this out
    Thanks
    Sishani

    I've solved the DW problem by changing the site folders from
    'db' to 'wwwroot' e.g. 'C:\CFusionMX\db\' is now
    'C:\CFusionMX\wwwroot\
    However I'm now back to my original problem. I've lost my
    mqysql connection in CF Adminstrator. Before I made these changes I
    could connect to my mysql databases using the following settings:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Driver Name: MySQL Connector J
    using the following Java path and file:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar
    Now these settings give me the following error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    Any suggestions on this would also be welcome.
    Thanks again to everyone for their help.
    Sincerely,
    Graham A. Kerby

  • Can we connect and access SAP database using db adapter?

    Hi,
    I need couple of details:
    1) Can we connect to SAP database using db adapter and run select query to extract data from the SAP database tables?
    2) Where can I download SAP adapter? How to install it? and how to plug that in to the JDev?
    Cheers

    1) Can we connect to SAP database using db adapter and run select query to extract data from the SAP database tables? It is possible as long as back-end DB version of SAP are supported by DB adapter. Oracle recommends SAP connectivity through Oracle Application Adapter for SAP rather than direct connection to SAP Database tables.
    2) Where can I download SAP adapter? How to install it? and how to plug that in to the JDev?http://www.oracle.com/technology/products/integration/adapters/pdf/DS_OracleASAdapter_SAP.pdf
    http://www.oracle.com/technology/software/htdocs/devlic.html?url=/technology/software/products/ias/htdocs/101202.html
    http://download.oracle.com/docs/cd/E12524_01/doc.1013/e14201/toc.htm (Installation)
    http://download.oracle.com/docs/cd/E12524_01/doc.1013/e14196/toc.htm (SAP adapter configurtation)
    Manoj

  • Can't open some of my documents using firefox

    first of all I can not open some of my document's that were downloaded onto Firefox how can I open them?
    second of all is there a way to download them onto internet explorer and if so how, in order to read them through that site?

    1) Try a reset. Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost.
    2) Download any app right now, free or paid, from the App Store and try your other apps now.

  • Can I Control Some One Elses iTunes Using Remote App on my iPhone

    I have iPhone with Remote app and obviously can control my iTunes with it around the home with my Airport Express...
    Heres the situation :
    I'm round at my mates having a BBQ, can I log into his account with my iPhone so I can use the remote app to change his cheesey choice in music?
    Can this be done if my phone is already logged into my itunes account? Can I simply log out of mine and into his, with his permission of course, to take control of music selection...
    Or would I have to go as far as syncing my phone with his iTunes account? In which case its not worth it, because I would the lose all my music wouldn't I, until I resynced with my account...
    Thanks for anyone taking some time to answer this for me...
    Andy...

    I have the exact same problem trying to use the Remote app on both my iPhone 3gs and iPad 2 with either my Mac or ATV2.  My Remote app used to work on my phone - I can't recall if I ever actually used it with my iPad, but when I tried today, I got all the same results as you did (on both iPad, and then iPhone).  I  was using my ATV2 to play music from iTunes on my Mac and wanted to use the Remote app, but it would not connect to either device no matter what I did. 

  • Can we call any kind of database sequence from OEDQ

    Hi Guys,
    Please let us know whether a oracle database sequence can be called from OEDQ? If yes then how? Please let us know how can we call any shell script/PL/SQl package from OEDQ. Your help is appreciated.

    Hi Mike,
    We have written a small script to call package in Oracle from OEDQ using Script Processor. Below is the script:
    #! language : groovy
    import groovy.sql.Sql
    import oracle.jdbc.driver.OracleTypes
    Sql sql = Sql.newInstance("jdbc:oracle:thin:@xxxxx.msd.ihost.com:1523:TTTTT","USERNAME","PWD",
    "oracle.jdbc.driver.OracleDriver")
    sql.call ('{call seq_upd.test_proc}')
    output1='Updated Successfully';
    We tried by hard coding the username and password and the script is successfully calling package at Oracle side. We would like to know whether there is any option to receive password dynamically using reference that can be passed as an attribute or any prompt possible in OEDQ or any alternative available.
    Please advice.
    Thanks in Advance,
    VT

  • TS1424 My grandson was playing temple run and tried to down load coins. The IPAD frozen so he kept pushing the button and I now have a forty dollar bill for coins. Can I get some kind of help with this?

    My five year old grandson was laying Temple Run and tried to down load extra Coins.  The IPAD froze up so he kept hitting the button to get his coins. I ended up with a forty dollar bill for coins. Is there any way of geting this corrected? 

    In app purchases can be restricted in Settings/General/Restrictions.
    For all other things, try to contact iTunes support, maybe they can help.
    Apple - Support - Express Lane - Product Selection

  • What can I tune to make the database use less memory in a 1GB ram notebook?

    Hi,
    Our notebook has 1GB ram only, running Windows XP Pro, Oracle10g Database, Oracle9i Application Server. It consumes about 1.4 - 1.5GB ram where it's already start using the virtual memory, therefore have some performance issue with it especially when try to startup the services.
    I'm not a DBA but I would like to get some advice on what and how can I tune the database to use less memory since the notebook is used for demo application only, so we save memory resource and make the notebook runs faster.
    Please advise.
    Thank you.

    Application Server 10gR1, 10gR2 is certified against WinXP:
    XP      10g (9.0.4.0.1)      N/A      Desupported       None       Yes      N/A
    XP      10g (9.0.4)      N/A      Desupported      None      Yes      N/A
    XP      10g (10.1.3.1.0)      N/A      Certified      Yes      None      None
    XP SP2+      10g (10.1.3.0.0)      N/A      Certified      None      Yes      Yes
    XP SP2      10g (10.1.2.0.2)      N/A      Certified      None      Yes      Yes
    XP SP2      10g (10.1.2.0.1)      N/A      Certified      None      Yes      Yes
    XP Xeon      10g (10.1.2.0.0)      N/A      Certified      None      Yes      Yes
    XP      10g (10.1.2.0.0)      N/A      Certified      None      Yes      Yes
    XP      9.0.3      N/A      Desupported      None      Yes      N/A
    XP      9.0.2.0.1      N/A      Desupported      None      None      N/ADessupported means Oracle will no longer produce patches or provide maintenance for the version, so in case you hit some new bug the only alternative will be to work with a higher version.
    In your case you could use 10g on XP. The only XP not supported is Home Edition.
    Coming back to the issue, since 9iR2 Oracle recommendation is to provide 1G for each AS node (infrastructure and middle tier). If you have this on the same box, by itself on the Enterprise install will consume more than 1G.
    Tuning 10g database won't make much difference. If you install AS 10gR2 it includes a 10gR1 Database as infrastructure database you could use for demo purposes.
    ~ Madrid.

  • OWB: how can automatic updation  perform in staging database using OWB

    I am using OWB-etl to fetch data from source database and store to staging db.
    in target table operator i am using insert operation.
    it is inserting data fien.
    but my requirement is target database must be automatically updated with what ever modification made to source data base.
    can u pls help me how to achive this ?
    Thanks alot ...
    k azamtulla khan

    Hi,
    why do you want to do this using OWB, is it not easier to create a before/after insert/update trigger on source table so that your target table is updated automatically. You can benefit by using owb in scenarios where you need to transform and load data and then schedule this process and for the rest of it i would recommend using triggers for row level activities such as update.

  • What kind of database can I use with jsp pages?

    Well I have been an ASP programer for a while and now I want to be able to host sites on an Apache server so that means i need to just jsp pages or something that is not windows dependant. So I need to start a database, a small one just for client information, and I don't know what to create it in. I was going to use MS acess but I am guessing that won't work with jsp. So what are my options for desktop database applications? Should I download star office and try that I havne't ever used that but I imagine it comes with some kind of database program. Well let me know thanks.

    JSP should work with any database that worked with ASP. The key is to use JDBC which is the equivalent to ADO. As long as you get the appropriate driver for the database, you're all set. As the previous poster mentioned, for MS Access you must use a JDBC-ODBC bridge which is really a JDBC driver that works on top of ODBC. This is the worst performing type of driver, but if you're using MS Access then perhaps performance isn't a priority.
    Check out the Sun tutorial on JDBC if interested.

  • Can a PDF connect to a database which can be revised?

    I have someone that wants to have a file that would have the information for a house with a photo as a template. They want the information to work with a database (Excel or something probably) that he could easily swap out or revise. My plan was to create this with InDesign which I know I can do already but is it possible to convert this to a PDF and still have that ability? If not, is there a way to add some kind of database connection to a PDF? I realize you would probably need Acrobat Pro if it is at all possible but if the Reader works at all, would like to know that also

    I have done this and play my DS using my Cable/DSL connection.
    Use System Preferences/Sharing.
    Choose to share your Ethernet Connection to computers using Airport. I had problems when I tried to use WEP encryption and my firewall. Turn both of these off when you wish to connect to Nintendo WFC. Start the sharing to allow you to connect.
    On your DS you have to do some settings too. On the Wi-Fi settings:
    SSID - The name of your Airport Network that you created
    WEP Key - <blank>
    Auto-obtain IP - Yes
    IP Address - 10.0.2.4
    Subnet Mask - 255.255.255.0
    Gateway - 10.0.2.1
    Auto-obtain DNS - No
    Primary DNS - 62.31.64.39
    Secondary DNS - <blank>
    These settings work for me, so good luck with your DSing.

  • IPod leaking some kind of fluid - NEW

    Hi,
    I have a 60G iPod video which in the past few months started to leak some kind of fluid from to wheel button. The push button in the center of the wheel also sunk down but is still functioning.
    Since the button had sunk down I assumed that it is some kind of oil used in the button but the leak doesn't stop. This made me think that it might be the battery leaking but again the device is still working.
    I could only find here a related post in the name "iPod leaking some kind of fluid" (http://discussions.apple.com/thread.jspa?messageID=5223930) but with no answers.
    Can anyone help? Is there a way to make sure that it is not the battery who's leaking before the entire device goes dead?
    Thanks.

    Batteries= storage system for electricity. Although it may not be acid (as the batteries are not lead-acid batteries but rather lithium-ion), it could still be fluid from the battery.
    Whatever it is, it's not a good sign. Google for iPod repair. iresq.com comes up a lot in discussions.
    Best of luck.

Maybe you are looking for

  • Wireless iBook not connecting to Airport Express

    As in previous discussions i've seen, all of a sudden my iBook which i have used for quite some time now without any major problems will not find my airport express wirelessly, i am using a router and the same connection for my desktop (hardwired) an

  • [URGENT] 64bit Mode Question

    Hello. I recently bought a 13'' Macbook (early 2008 model), and it had Leopard (10.5) installed before buying, and I told them to upgrade to Snow Leopard. They upgraded it, and now I have Snow Leopard. But today, one my friend pointed me that it is b

  • CUOM 2.3 Unknown Publisher

    Hello All, I have installed CUOM 2.3 and added my Publisher as a Device. The first alarm I receive is "Unknown Publisher". Help says: Description: The publisher in the cluster is unknown to Operations Manager. This event is generated based on polling

  • Inventory Only 10.2.1 on SLES10

    Two servers with Inventory Only Agent 10.2.1: 1. HP ProLiant DL320 G5 with SLES10 SP2 (64 bit) 2. HP NetServer LH3 with SLES10 SP2 (32 bit) In reports: 1. "Total Memory: 0 MB" - is not easy-to-use. 2. "Last Scan Date: 6:33 PM" = Local Time + 3 (?). I

  • Netweaver Developer Studio required Libraries

    Hi I have just finished installing 7.2 Composite Environment. When I try to run my first web dynpro app, the IDE asks  me to configure the build path. This is what I have in my library: [http://www.kodakgallery.com/imaging-site/services/doc/5761:7190