Solved

Problem on Unix machine in weblogic

Posted on 2004-04-14
6
581 Views
Last Modified: 2013-12-10
P.S I had posted the same question in unix forums but was recomended to post here.

Hi I hope some one can help me in this dire situation.

Development env

WinXP Pro
Pentium 4, 512 RAM
Weblogic 8.x sp1
oracle 9i
J2sdk 1.4.1_03

Deployment

HP unix box
Weblogic 8.x sp1
oracle 9i
J2sdk 1.4.1_03

The application
Some  EJB
Struts 1.1

The Problem

We have deployed our application on our XP boxes and never came accross any kind of problem
whatsoever,it runs very smoothly, however when we deployed it on our HP unix box it intermittently
crashes(weblogic just dies)
We get no errors in the log file of any type....but we have to restart the server.it happens one time a day or
several times a day,we have been not able to pin point a certain criteria where it crahses.
Please some one hwho may have any idea about it help me.

Thanks
0
Comment
Question by:KhalidAli
6 Comments
 

Expert Comment

by:jufer
ID: 10918035
Hi,
we had the same problem with windows 2000 weblogic and solaris weblogic. normaly it is one of the following points below:
-any file path in the code (windows uses C:\, unix /)
-any services not defined the same way (JDBC Pools, Webservices,...)
-any used system is not the same (differen tables in the db,....)
-recompile it with ejbc on the system and check for error..

Does bea run without your application? If not, reinstall bea.

I know, that I couldn't point out the problem..... but we had developed more than 30 application (webapp, webservices, ejbs,...) on windows and have deployed it on solaris and had always one of this problem making our life as hell.

cu
gabriel
0
 

Expert Comment

by:ysinghal
ID: 10996414
Khalid,

When you say it crashes , Does that mean it throw the coredump.  If yes you can analyze the core file using Unix GDB tool.

Known Issues
The HP-UX 11.0 default value for maximum threads per process is 64, which may be too low for WebLogic Server and many Java server applications in general. When the value is too low, WebLogic Server may have problems starting up.
BEA recommends that you use the maximum kernel setting for the max_thread_proc and maxusers parameters. Setting maxusers to a higher value increases other machine-wide limits, such as nkthread (the maximum number of kernel threads). The following table provides some examples.


Parameter
 Old Value
 New Value
 Description
 
max_thread_proc
 64
 1024
 Maximum threads per process
 
maxfiles
 60
 256
 Soft file limit per process
 
maxusers
 32
 256
 Influences other parameters
 
nkthread
 499
 3635
 Number of threads total on the system
 
nproc
 276
 2068
 Maximum number of processes
 
ncallout
 292
 2084
 Number of pending timeouts
 



 
The cacerts file under ${BEA_HOME}/jdk141_01/jre/lib/security is corrupt. For a new version, see HP's developer site. For demonstration purposes use the following file: ${WL_HOME}/server/lib/cacerts.
To avoid OutOfMemory exceptions or JVM crashes, increase the values of three Java options: -Xms, -Xmx, and -XX:MaxPermSize.
The following values are suggested: -Xms200m, -Xmx512m, and -XX:MaxPermSize=128m.


JAVA_ARGS="${JAVA_ARGS} -Xms512m -Xmx512m -Xnoclassgc -Xss512k -Xmn128m
 -XX:+ForceMmapReserved -XX:+DisableExplicitGC -XX:-UseHighResolutionTimer
 -XX:SurvivorRatio=8 -XX:PermSize=128m -XX:+UseTLE"

export JAVA_ARGS




What is your domain and server configuration ? Can you send config.xml to see what architecture you have also send me your startup script and what JVM options you are using ( i.e -hotspot etc )

Search for JVM crashes on HP UX support

http://h21007.www2.hp.com/cmdspp/QuestionAnswer/1,1764,2AF2E3A8-134D-44CF-A0B9-05E2130F59AA,00.html



0
 

Author Comment

by:KhalidAli
ID: 10997544
Thank you very much  ysinghal,
The issue was resolved when we upgraded the weblogic to its latest SP.
Thanks again for a detailed message.
0
 
LVL 3

Expert Comment

by:yuvalg
ID: 11141006
Hi,
I would suggest you read the requirements section in the BEA installation documentation and verify that all OS level patches are applied.
Also, check the OS system log for weird messages and behavior (memory consumption, cpu utilization).

Goodluck,
Yuval.

0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 11361322
PAQed, with points refunded (50)

CetusMOD
Community Support Moderator
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

-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 …
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 video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

707 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

12 Experts available now in Live!

Get 1:1 Help Now