Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Slow performance of OC4J application.

Posted on 2003-11-03
4
Medium Priority
?
1,099 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
2 Comments
 
LVL 9

Accepted Solution

by:
vzilka earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

773 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