Operating System - HP-UX
1832244 Members
2968 Online
110041 Solutions
New Discussion

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

 
Smitha
Advisor

Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

I am trying to connect to weblogic7.0 from my HP UX 11.00 - on my local windows m/c - works fine ..but i get the following error :
Any clue on what the issue could be?I am trying since 2 weeks now :

Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at weblogic.kernel.ExecuteThreadManager.startThreads(ExecuteThreadManager.java:177) at weblogic.kernel.ExecuteThreadManager.setThreadCount(ExecuteThreadManager.java:158) at weblogic.socket.JavaSocketMuxer.register(JavaSocketMuxer.java:164) at weblogic.rjvm.t3.T3JVMConnection.createConnection(T3JVMConnection.java:292) at weblogic.rjvm.Protocol.createConnection(Protocol.java:228) at weblogic.rjvm.ConnectionManager.findOrCreateConnection(ConnectionManager.java:1269)

Also i get the below error at times -

Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.InternalError: error initializing kernel at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:107) at weblogic.jndi.WLInitialContextFactoryDelegate.(WLInitialContextFactoryDelegate.java:176) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at

Thanks in advance,
Smitha

18 REPLIES 18
Sridhar Bhaskarla
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi Smitha,

You may be running out of virtual memory. Look at your swap utilization and see if it is around 100%. If so, you will need to add more swap.

#swapinfo -t

observe the total column.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

How do i look at the swapinfo ?
I tried the command - swapinfo -t at the cprompt - but says - 'swapinfo not found'.

Sorry if this is too basic...

Thanks
Smitha
Sridhar Bhaskarla
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

You have to be root to execute this command. /usr/sbin/swapinfo is the path.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ravi_8
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

Apart from increasing swap could u install latest java 1.4
http://www.hp.com/products1/unix/java/java2/sdkrte14/downloads/index.html
never give up
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

I will try doing that - swapinfo.

Are supposed to use java1.3 for compatibility purposes,etc...so cannot use 1.4 for now.

But how does using 1.3 cause this error??

Is this error related to HX-UX ?I always thought that it was the problem of iplanet from where i was trying to lookup to weblogic7.0 which is in a different HP-UX box.

Thanks
Smitha
RAC_1
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

seems memory error.

running out of memory.

swainfo -mat.

if everything used, then create a logical volume as follows.

lvcreate -L -C y -r n /dev/vg_you want.

swapon /dev/vgxx/lvol

for permanent swapon add the entry in /etc/fstab

/dev/vgxx/lvol ... swap pri=0 0

you will have to tune maxswapchunks parameter also.
There is no substitute to HARDWORK
Ravi_8
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

which version of iplanet are you using?
never give up
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

It is iPlanet-WebServer-Enterprise/6.0SP2

Vesion of weblogic that i am trying to connect to from iplanet is 7.0.

Any dependency of the versions?

Smitha
U.SivaKumar_2
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

Increase these Kernel parameters,

maxfiles
maxfiles_lim
nfiles

regards,

U.SivaKumar










Innovations are made when conventions are broken
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

These kernel parameters are to be increased in the HP-UX ?What are the commands?

Sorry - am not familiar with these commands..

Smitha
U.SivaKumar_2
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Hi,

There is a menu based utility called sam.

Give this command.

#sam

There will be kernel configuration tab there.

regards,

U.SivaKumar

Innovations are made when conventions are broken
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

This command 'sam' to be executed at the root ??

RAC_1
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

yes ask system administrator to do it.
There is no substitute to HARDWORK
U.SivaKumar_2
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Yes , sam needs root access unless delegated.

regards,

U.SivaKumar
Innovations are made when conventions are broken
Steven Gillard_2
Honored Contributor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Smitha,

This problem is more often than not caused by inadequate settings for the following kernel parameters:

max_thread_proc
nkthread

Usually max_thread_proc is the culprit, and given the stack trace I would put money on it in your case. I recommend increasing these as well.

Regards,
Steve
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Thanks - i will forward these mails to my system admin and ask them to do the needful.

But whats the connection between these parameters and the connection to weblogic from iplanet?

As a standalone test program - it is able to connect to weblogic on HP-UX...thats why i did not tend to suspend any setting problems from HP-UX.

Regards
Smitha
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Sorry - i meant - i did not try to suspect that there could be any setting problems in HP-UX.
Smitha
Advisor

Re: Need Help - Kernel error while tring to connect to weblogic 7.0 from HP-UX 11.00

Sorry - i meant - i did not suspect that there could be any setting problems in HP-UX.