Solved

Problem on Unix machine in weblogic

Posted on 2004-04-14
6
600 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

737 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