Viswa Sethu

Ranch Hand
+ Follow
since Nov 01, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Viswa Sethu

Hello friends,

Does WAS 7.0 supports the codebase compiled in JDK1.5 version?
I know that the JRE associated with WAS 7.0 is jdk1.6, I believe there must be a backward compatibility in the WAS 7.0 release.

Please share your experience, if you have come across any issues in deploying the code compiled in JDK1.5.

Thanks
Viswa
12 years ago
Helo Experts,

We have recently mugrated our application from Weblogic 7.0 to Websphere 6.1.

We started the websphere server with teh same setting as weblogic but the server started throwing Out Of Memory error continuously.
The error was resolved only after increasing the Java heap size to 4GB.

Same application/user base was running in weblogic with 2GB (heap size) which never threw this memory error.

Really not sure why websphere neeeds more memory.
The application behavior is slower in WAS compared to Weblogic,.The concern is if there is any other attribute4 that needs to be altered in WAS to handle performance related issues?

Please share your experience with performance enhancement in WAS server.

Thanks
Viswa
13 years ago
Hi,

In our aplication we are recieving the following closed connection exception randomly.
java.sql.SQLException: Closed Connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleConnection.java:976)
at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:883)
at weblogic.jdbc.pool.Connection.prepareStatement(Connection.java:393)

And this exception is thrown from different class. But when the same screen is accessed again then these exceptions arent thrown. This happens wehn the application uis loaded with more users.
We are using weblogic 7.0 and database Oracle 9i. JDK1.4 and JDBC version 9.0.2.0.0

Is this because of a connection breakage between the appl server and db server? Though when thse above error occurs, i could connect to database from sql plus.

I see an option in weblogic to test Reserved/Released connection; if we enable this option, will it have any adverse effect in the application performance > I believe this will validate the connection everytime the client request for a new conenction from the weblogic pool.
Please throw some light.

Thanks
vishy
14 years ago
Hi,

In our aplication we are recieving the following closed connection exception randomly.
java.sql.SQLException: Closed Connection
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at oracle.jdbc.driver.OracleConnection.privatePrepareStatement(OracleConnection.java:976)
at oracle.jdbc.driver.OracleConnection.prepareStatement(OracleConnection.java:883)
at weblogic.jdbc.pool.Connection.prepareStatement(Connection.java:393)

And this exception is thrown from different class. But when the same screen is accessed again then these exceptions arent thrown. This happens wehn the application uis loaded with more users.
We are using weblogic 7.0 and database Oracle 9i. JDK1.4 and JDBC version 9.0.2.0.0

Is this because of a connection breakage between the appl server and db server? Though when thse above error occurs, i could connect to database from sql plus.

I see an option in weblogic to test Reserved/Released connection; if we enable this option, will it have any adverse effect in the application performance > I believe this will validate the connection everytime the client request for a new conenction from the weblogic pool.
Please throw some light.

Thanks
vishy



14 years ago
HI Hareesh,
Thanks for the reply.

Have been monitoring the queu, throughput and memory usage. There was a spike in the throughput whenever i recieve exceptions or whenever the user experience 500 Internal server error in the UI. ALso at some times application throws "weblogic.transaction.internal.TimedOutException: Transaction timed out after 31 seconds" . Am trying to configure the timeout attribute. I am usin regular datasource (not the transactional ds), so what would be the default timeout seconds associated with the db connection.
Tryinkg to tune up the following attribute. Please provide your comment on these:
Post Timeout Secs - 30
Duration - 30
Https Duration - 60
Above values are the default valeus for these atttributes in both production and dev environments, please suggest if there is any production specific value.

Thanks
14 years ago
Hi,
We are using Weblogic 7.0 , recently we keep recieving "weblogic.transaction.internal.TimedOutException: Transaction timed out after 31 seconds" error in the application.

Following are the values set for the timeout attributes in the server:
Post Timeout Secs - 30
Duration - 30
Https Duration - 60

All these attributes are left with default value. Can tuning up these value have effect on the above exception? I believe these are development environment values. As am getting this error in production env, i believe there must be a suggested optimal value for these attribute. Our application is used by more than 50 concurrent users and some of the db queries may take more than 30 secs to return results.

If any of you have configured above attributes and have seen any visible in the performance of the application or if you have any suggestion to get rid of this timeout error Please share your experience.

Thanks
Vishy
14 years ago
Our application is deployed in weblogic 7.0. It is a simple deployment , no clustering or no load balancer.
But i recieved below exception in my server log at which point my response time was very slow:
<Error> <Management> <myDomainServer> <ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel identity> <> <141051> <Operation failed with message: Could not get logs from server 'myDomainServer' via Node Manager - reason: 'Target machine configuration not found'. This feature is applicable only to servers that were started up through the Node Manager.

I have never configured node manager for my application. nd when i recieved this error message, my application was active. And after this message i didnt do anything , byut my application started working fine. Only when this mesasge was thrown at that time the response time was slow and i got 500 internal server error in my appln screen.

If anyone hascome across any such issues please throw some light.

Thanks
Vishy>
14 years ago
Nitesh and Kees,

Thanks for yuor reply.
Nitesh,
We have monitored CPU utilization and it has never crossed more than 25%(That is the worst case) , on an average it takes less than 10% through out the day.
Have checked the DB side too ,the CPU and other resource utilization(Memory,I/o,Concurrency) never exceeded 30%.
Hence to optimize weblogic server parameters, we have configured the "Thread Increase" attribute to 5(default 0).
This has contributed an optimum throughput results.
Can you suggest any free and efficient profiler ? I checked (YourKit javaprofiler,JIP) None of them seem to give any better results.

Kees,
Our hardware is quite sufficient for the application that we deployed. Most of the time in a day all the resources are utilized less than 10%.
To ensure app server attributes are configured to handle the concurrent requests and the huge data volume,we need to know the optimum values for the server attributes.

Thanks again for your response.

-Vishy
14 years ago
In weblogic 7.0 is there a way to monitor the number of threads that are getting processed and available threads?

Our applicaton is undergoing serious performance issues, We need to configure our thread count to an optimum values based on the behavior of the application.
As most of the pages in our applications is procesed int he server side its better to increase teh thread counts. Currently we have configured to 50 , we are planning to increase to 100.Please advice will there be any issues on increasing the thread count ? Checked the weblogic 7.0 e-docs, they suggested to increase the thread count according tot he application requirement.

If anyone has configured thread count as 100 , please share your experience.

Thanks
Vishy
14 years ago
In weblogic 7.0 is there a way to monitor the number of threads that are getting processed and available threads?

Our applicaton is undergoing serious performance issues, We need to configure our thread count to an optimum values based on the behavior of the application.
As most of the pages in our applications is procesed int he server side its better to increase teh thread counts. Currently we have configured to 50 , we are planning to increase to 100.Please advice will there be any issues on increasing the thread count ? Checked the weblogic 7.0 e-docs, they suggested to increase the thread count according tot he application requirement.

If anyone has configured thread count as 100 , please share your experience.

Thanks
Vishy
14 years ago
Hi
In my application am trying to open a saved document from database. When i click on teh document name am passing the name of the document as the query string. The problem is when there isa %20 or # in the document name it keep throwing error. i tried encodeURI(documentname) and encodeURIcomponent(documentname). The later has support for handliong # but neither of them handles %20. As am using this in javascript i cant use java.net.URL class.
Please throw some light on this.

Thanks
Vishy
Hi,
I want to get the kernel thread count set in my UNIX OS. How/where could iget the info.

Thanks
Vishy
15 years ago
Hi,
I would like to know the vlaue set for the Kernel thread count.Where/how could i get the value.

Thanks
Vishy
15 years ago
Rajesh,

Just checked the backlog value it is set to 50.it is not set explicitly in my config.xml. So default value is set.Any optimal value is suggested for this parameter.

-Vishy
15 years ago
Rajesh,
1.I have not yet tested with any loadrunner tool.
2.There is an iplanet web server running on top of the weblogic.
3.Where could i check the connection backlog setting.If it is about the number of connections :
Initial capacity - 50
Maximum Capacity - 100

Roger,
Taht means all the 50 users are working on the system the whole day.They remain logged in to the system the whole day.Their main work is to work on our application the whole day.

Thanks
Vishy
15 years ago