Number of connections with JSP

I'm using a Bean from examples, its name: "ods", this is Pool Connection Cache, when a user start connection, this open 10 connections. In my project works 20 users, the DBA prefers don't use too many connections. The version of DB is 8.1.7 and web server 9iAS.
How do I do?
Can I use other number of connections by session?
What is the most rapid connection for work?
The instruction used is:
<jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
Thanks
MIGUEL ANGEL CARO
[email protected]

Hi,
Please repost your question in the J2EE forum. This forum is for Web Cache issues only. Sorry about the confusion.
We'll be changing the title of this forum soon to avoid mispostings.

Similar Messages

  • Number of connections with JSP pool cache

    I'm using a Bean from examples, its name: "ods", this is Pool Connection Cache, when a user start connection, this open 10 connections. In my project works 20 users, the DBA prefers don't use too many connections. The version of DB is 8.1.7 and web server 9iAS.
    How do I do?
    Can I use other number of connections by session?
    What is the most rapid connection for work?
    The instruction used is:
    <jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
    Thanks
    MIGUEL ANGEL CARO
    [email protected]

    Hi,
    Please repost your question in the J2EE forum. This forum is for Web Cache issues only. Sorry about the confusion.
    We'll be changing the title of this forum soon to avoid mispostings.

  • Number of connections in JSP with pool cache connection

    I'm using a Bean from examples, its name: "ods", this is Pool Connection Cache, when a user start connection, this open 10 connections. In my project works 20 users, the DBA prefers don't use too many connections. The version of DB is 8.1.7 and web server 9iAS.
    How do I do?
    Can I use other number of connections by session?
    What is the most rapid connection for work?
    The instruction used is:
    <jsp:useBean id="ods" class="oracle.jdbc.pool.OracleConnectionCacheImpl" scope="session" />
    Thanks
    MIGUEL ANGEL CARO
    [email protected]

    Hi,
    Please repost your question in the J2EE forum. This forum is for Web Cache issues only. Sorry about the confusion.
    We'll be changing the title of this forum soon to avoid mispostings.

  • Sharing Portal database connection with JSP page

    Hi out there,
    I implemented a JSP page as a selection form to be integrated into Oracle Portal. This JSP page contains a 'dynamic' form which needs to send queries to the database also integrated in the Portal.
    For this I am currently using a JDBC connection but I would prefer to use the internal db connection of the Portal System.
    Explanation: The user has to log in to the Portal and after that can call the JSP form. To poulate some comboboxes within this form I need some data from the database and the user does have READING privileges on that database.
    Can anybody tell me how to use the user's login and password (or the established connection) to fetch the needed data from the database OTHER than with a jdbc connection?
    Thanx in advance!
    Cheers,
    Thomas

    sorry. not going to happen. you're running in a completely different environment when running Java on Portal. Portal is running in the database; your Java is running on the application server. your Java code must use JDBC to access any database resources, even if Portal related.
    it is essential that you implement a connection pool on the application server to optimize your database traffic. check out bitmechanic for a very good open source option.
    good luck,
    rich

  • Sybase Connectivity with JSP

    Can someone gimme the code for Sybase-JSP database connectivity ?
    Thanx
    Rams

    you can get the connection within your JSP or out the code in an external bean which can be shared among many applications.
    Here is the external version, assuming Sybase JConnect.
    jConnect should be in your classpath,
    e.g. CLASSPATH=.;D:\jConnect-5_5\classes\jconn2.jar;
    import java.util.* ;
    import java.io.* ;
    import java.sql.* ;
    import java.text.* ;
    public class Util {
    java.sql.Connection conn = null ;
    public java.sql.Connection getConnection(String serverUrl, String userId, String password) {
    // serverUrl = server and port in the format "servername:port"
    try {
    Class.forName("com.sybase.jdbc2.jdbc.SybDriver");
    conn = DriverManager.getConnection("jdbc:sybase:Tds:" + serverUrl, userId, password);
    catch (java.sql.SQLException e) {
    System.err.println(e);
    catch (Exception e) {
    System.err.println(e);
    return conn;
    public void closeConnection() {
    try {
    if ( conn != null ) {
    conn.close() ;
    catch (java.sql.SQLException e) {
    System.err.println(e);
    }

  • Problem with great number of  connections with jolt

    My application connects to Jolt using the java API. The two kind of object i am using
    are JoltSesion and JoltService. i tried
    to use several service within the same session and tried one service per session.
    The two solutions gave me the same result in case of a great number of simultaneous
    connections: Jolt
    doesn't accept any more connections and my java program receive
    errors like RESCON FAILED, CHALLENGE FAILED...
    can Jolt support more than 20 connexion per sec ?? and if this
    the case, what are the parameters to fix to allow this ?
    Thanks in advance,
    Pierre

    Hi Ali,
    please check whether you have unchecked the  "Use Default Settings"  checkbox in the display property.
    BR
    adlin

  • Large number of connections with AMS

    Hi,
    I  need to display multiple view in a application. Multiple camera view up  to 16 are displaying in the interface. But some of the connections are  rejected.
    NetConnection.Connect.Rejected
    NetConnection.Connect.Closed
    protocol is : RMTP
    I am unable to identify the error. Is there any limitation in it. please help.

    Here's the limits in the comparison guide of Adobe Media Server:
    http://www.adobe.com/hk_en/products/adobe-media-server-family/buying-guide-comparison.html
    In Pro and Extended IP multicast is unlimited, otherwise limited to 10 minutes in the trial.

  • Database connection with jsp?

    any database (access preferred)

    kajbj wrote:
    What's the question?"give me teh codez", of course. ;-)

  • I just got a new iphone 4 for att and my friend installed the sim card in it for me. the imessage function isnt connecting with the my cell number. a while back i had logged into my apple account on someone elses cell phone and their number keeps showing.

    i just got a new iphone 4 for att and my friend installed the sim card in it for me. the imessage function isnt connecting with the my cell number. a while back i had logged into my apple account on someone elses cell phone and their number keeps showing. when i try to just select my number to send and recieve imessages from it will not show up. i can send and recieve regular text but not pictures or imessage. i have tried logging off and restarting and nothing has worked.help please!!

    Did you remove your account information from the other person's iPhone?

  • I recently updated my MacBook Pro to the new software, and now my iMessage and my FaceTime are not connected with my computer. How do I get them to match so that I would be able to use my cellphone number?

    I recently updated my MacBook Pro to the new software, and now my iMessage and my FaceTime are not connected with my phone number like it is supposed to be. How do I get them to match so that I would be able to use my cellphone number on my notebook?

    To reset any OS X program just go to the folder and trash the affected files.
    Open a new Finder Window
    Click "Go" in the above status bar
    Click and HOLD the "option/alt" key and you will see "Library" now show in the above list
    Click Library while still holding the option/alt key and a new window will open with all of your system files
    Go to the preference file (NOT Preference Panes)
    Locate a file named <com.apple.FaceTime.bag.plist>
    Locate another file named <com.apple.FaceTime.plist>
    Locate the file <com.apple.iMessage.bag.plist>
    Drag the files to the trash
    Delete the trash
    Close FaceTime and iMessage if not already closed
    Relaunch FaceTime and iMessage from Applications folder
    This should reset the program back to default. You will have to put your information back into the program but it should work.
    Good Luck.

  • How to Connect SQL Server 7.0 with JSP ?

    Recently, I just installed SQL Server 7.0 with the advice from my boss. But, I have encountered a problem as I am not familiar with the SQL Server's connectivity with the JSP and JDBC. Previously, I was using MySQL to connect and it works fine.
    Anybody can give me any idea or hints ? Thank you a lot.

    You connect the same way you did for the mySQL database.
    The only thing that need to change is the Driver and Connection string.

  • If an airport Extreme is combined with one or more airport expresses, what is the max number of connections? Is it just 50, or 50 plus 10 for each Express?

    I would like to set up a wireless network with an Airport Extreme, plus one or more Airport Expresses to extend the range. I know an Extreme supports 50 users and an Express 10 users, but when they're combined does the number of users go up according to the number of Expresses combined with the Extreme, or is it limited at 50 no-matter how many Expresses are added?
    Thanks
    Steve

    50 users + 10 users + 10 users + etc. I am assuming that each Express device will be connected using a wired Ethernet connection.
    But, unless you have a truly fantastic Internet connection with your ISP, things are going to be mighty slow on the network since all users split up the available bandwidth.
    So, if you have a 50 Mbps Internet connection, 50 users will have approximately 1 Mbps of bandwidth to work with. Few of us would consider having a 1 Mbps service in our home, even if we only had one computer....way too slow.

  • Which is better to connect with MIDlet? jsp or servlets

    Hello to all,
    I am Vishnu from India. I have tried connecting MIDlet with jsp but not using servlet. Few asked me to use servlet to connect to MIDlet.
    I want to connect to database (sql server) from MIDlet.
    I do not know which should I go for ,
    what should i choose whether jsp or servlet?
    If I choose servlet, can i create new servlets on the run, is it possible?
    Thank you in advance,

    hey vishnu,
    can u please tell me how to Connect a servlet/jsp using a midlet.. i also want to connect SQL Server .
    i have one application on JSP and i want tht application to run on j2me platform.
    i hope u ll help me.
    thnx
    Ahmed

  • Hi guys Pls tell me a way to connect db4 database with jsp and which driver

    hi guys
    Pls tell me a way to connect db4 database with jsp and
    also tell me which driver i have to use
    also tell me how to connect with excel sheets

    take a look at the follwing links. There, you'll find all what you need :
    DB4:
    http://www.oracle.com/database/berkeley-db/je/index.html
    http://www.oracle.com/technology/products/berkeley-db/je/index.html
    http://www.oracle.com/database/berkeley-db/db/index.html
    http://www.oracle.com/database/docs/berkeley-db-je-datasheet.pdf
    Excel:
    http://64.18.163.122/rgagnon/javadetails/java-0516.html
    Hope That Helps

  • How can I find the number of megabytes per seconde of mij connection with internet

    In a tuning program is asked the number of MB per second of mij lan-connection with internet.
    I should like to know how I can find that number.

    Hey Tongo,
    This isn't really a Firefox question. I would suggest doing a quick Google search for "Internet Speed Test" or something of that nature. I know a very popular one is located here: http://www.speakeasy.net/speedtest/
    Hopefully this helps!

Maybe you are looking for

  • Is that possible to use iPhone as a GPS ???

    Can I connect any Bluetooth GPS receiver to my iPhone and make it as a GPS Nav.? Thanks

  • PS1 String behaving differently - how to get only "/"?

    Hi there, let me first start with the 4 lines of code I use for my PS1 string (in bash) boBlack="\[\033[1;30m\]" boGreen="\[\033[1;32m\]" boCyanOnBlack="\[\033[1;36;40m\]" export PS1="$boCyanOnBlack"'${PWD%*/}'"$boBlack/$boGreen" Now what does this d

  • MSS iView 'Team Calendar' display only one Month

    Hi , The Managers want to see at least 3 months for the leave , in order to schedule resources/coverage .MSS iView 'Team Calendar' display only one Month . Can we change the number of months ? or use another tool/functionality via the portal ? Any he

  • How to burn pictures onto a cd?

    I would like to burn some pictures that I have in a file to a cd.  I put the disc in the Macbook air but when I bring up the file there does not appear any choice to burn them onto the disc.  what do I need to do?

  • LSMW used only for master data upload?

    Hi Can you please let me know if LSMW is used only for master data upload or we can also use it for transaction data ?