Help coderanch get a
new server
by contributing to the fundraiser

Karthik Prabu

Ranch Hand
+ Follow
since Dec 27, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Karthik Prabu

We have a standalone application which does intense DB update operations. Pseudo code below


We are getting OutOfMemory for messages more than 175000. I assume this could be because of not closing the Statement objects and its not being GC'ed. Please let me know if this correct. Before fixing the code i need to confirm this. Please advise
I have a webservice deployed in WLS 8.1sp5. I have configured few users in the WLS. From my Java Client generated using the <clientgen> process I am calling the webservice by StockQuoteProvider sqp = sqs.getStockQuoteProviderPort ("juliet", "mypassword");. I need to know how I can call my WebService from .NET with the credentials provided . Is there any way I can specify the credential while Adding the web reference to my project?

Thanks
18 years ago
Hi All,

We have a scenario where we have to write Bean Managed Stateless Session EJB. We have noticed that, if we get the DB Connection from Connection pool after usertran.begin(), then if there is any error proper rollback is done after issuing usertran.rollback(). But if we get the connection before usertran.begin() statement, rollback is not happening as expected.

For some reasons we need to have the connection created before the Transaction begins. Is there any workaround for this ? Why the system is behaving like this?

We use
App. Server - WLS 8.1
DB server - Sybase 12.5
JDBC Driver - weblogic.jdbc.sybase.SybaseDriver

Thanks
Karthik
Hi,

How to configure the HTTP request Timeout( NOT session Time Out ) value in WLS8.1 Server ?

Thanks
Karthik
19 years ago
Is there any way to time out EJB call from the Client Side, something similar to java.sql.Statement.setQueryTimeout()

Thanks
Prabu
Hi Valentin,

First thing that you need to clarify is whether or not your app commits/rollback transactions in your stored procedures


No.

I prefer using BMT. I will try to do a little proto-type on this and get back to you if i face any problems.

Thanks for replying
Is it a good practise to make all the Objects stored in the HTTPSession as Serializable ?

Thanks
19 years ago
Hi All,

We need to call different EJB methods from a single method, all those methods inturn calls some stored procedures. We need to make these calls ATOMIC. We dont have an option to make all the different Stored Procs to a single procedure and handle the atomicity within it. So we have decided to use Programatic Transactions and handle it using JTA. Is this a good approach? Is there any better approach than this?. Please let me know your views.

Thanks
Page is from the same domain only....This happens only when I scroll the page...If I am not scrolling the page while the page is loading, loaded page is resized properly

Prabu
I have a page with 3 frames. In the init method of the frameset i have a call as self.resizeto("500","500").This is the last statement of the method. While the page gets loaded, if i scroll the page with scroll bar provided by IE I am getting the Access Denied script error, If I am not doing anythig with the scroll bar there is no script error.

What is the reason for this error and what is the solution for this ?


Thanks
Prabu
Hi All,

We have a webpage with around 10 IFRAME's pointing to different applications in the same domain( Ex. https://www.myserver.com/app1, https://www.myserver.com/app3 etc.. ). We noticed that IFRAME's are not loaded concurrently. When we did some research we found that in RFC for HTTP1.1

Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD maintain AT MOST 2 connections with any server or proxy.

is mentioned. A work around given by IE for this issue is here. But this cannot be used in our case as we can't ask our clients to change their registry settings.

Is there any other workaround for this ?

Thanks
Prabu
Hi shaik,

Have you set the Content-Type header in your response object ? If not please set it to the proper MIME type of the content you are flushing to the browser

Karthik
19 years ago
Hi Folks,

I need to write a Monitoring tool for Sybase 12.0 DB using JDBC. Can u please suggest what all parameters to be monitored? For example number of locks etc..

Thanks
Saravanaan. A