Solved

Problem on Unix machine in weblogic

Posted on 2004-04-14
6
602 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 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