Solved

Slow performance of OC4J application.

Posted on 2003-11-03
4
1,071 Views
Last Modified: 2013-12-01
We have an application where the server runs on a system with the following configuration:

SunOS redwood 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-EnterpriseSystem = SunOS
Node = redwood
Release = 5.8
KernelID = Generic_108528-14
Machine = sun4u
OEM# = 0
Origin# = 1
NumCPU = 12

The version of Java on that system is:
java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_03-b03)
Java HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)

We have the OC4J (version 9.0.2.0.0) and Oracle database installed on this system.

The Java client application runs on Windows 2000.

We are facing the problem that the application runs very slowly. There are instances when the UI greys out for sometime and after a few minutes comes out with the result. Our application runs several queries to the database and this is usually done by calling appropriate interfaces in EJB components (Stateless Session beans) deployed on the server.
Any idea why the performance is very slow and how this can be improved?

Thanks.
0
Comment
Question by:chowdry
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
vzilka earned 250 total points
ID: 9676537
Can you pin point the performance problem location?
Try the following - if you have a profiling tool (style JProbe) then use it on the server.
Otherwise - try using DMS - http://machine_name:8888/dmsoc4j/Spy
It will give you the time it takes for each EJB to run.
If the problem is on the server, then try to see if it is a database related issue (and then you can tune the database) or an OC4J issue. Try putting debug statements before your DB calls, and see how long they take. DMS in OC4J 9.0.2 was not powerful enough to monitor DB operations.

Once you pin point the problem location, we can see what has to be done.
Usually tuning the app server gives only about 5-15% performance boost. The problem might be in the application code, or the database configuration, or the client code. These are the most likely candidates.
0
 
LVL 9

Expert Comment

by:vzilka
ID: 9893806
chowdry, was the issue solved?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
New Website 15 29
Apache Tomcat Web Server - How to connect the web server to a windows file share 3 307
multithreading example 7 126
eror when calling procedure in java adf 4 67
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now