Operating System - HP-UX
1752805 Members
5568 Online
108789 Solutions
New Discussion юеВ

Urgent - connecting to weblogic 7.0 from HP-UX11

 
Smitha
Advisor

Urgent - connecting to weblogic 7.0 from HP-UX11

Hi ,

This is regarding lookup problem to weblogic 7.0 from iplanet 6.0 installed on HP-UX.

These are the error that i am getting:

1)
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.(

2)
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)



When i posted this problem last week,i got replies saying that some kernel parameters have to be set for this by the sys admin.

But,as a standalone test program - it is able to connect to weblogic on HP-UX...

Could u explain please - my web admin wants the reason before he makes any changes to the parameters..

Thanks
Smitha
6 REPLIES 6
T G Manikandan
Honored Contributor

Re: Urgent - connecting to weblogic 7.0 from HP-UX11

The number of threads per process is crossing its limits.you need to
increase the kernel parameter, max_thread_proc and rebuild the kernel and reboot.

check the kernel parameter description

http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.MaxThreadsPerProcess.html
Smitha
Advisor

Re: Urgent - connecting to weblogic 7.0 from HP-UX11

Thanks.But why does it work when accessed from a stand alone application?
Steven E. Protter
Exalted Contributor

Re: Urgent - connecting to weblogic 7.0 from HP-UX11

I smell java problems.

I'd check http://www.hp.com/go/java

Perhaps get a current or more compatible version. Make sure all java patches on the link page are installed.

Also, December 2002 QPK is always a good idea.

Anyway a start.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Smitha
Advisor

Re: Urgent - connecting to weblogic 7.0 from HP-UX11

HI,

1)jdk1.3 is installed correctly
2)All other patches,etc present
3)Works on local HT,sun solaris and also as a standalone appln in HP-UX.

Problem occurs only when i try to access from iplanet on HP-UX.

Thanks
Smitha
T G Manikandan
Honored Contributor

Re: Urgent - connecting to weblogic 7.0 from HP-UX11

What is the standalone test program?
How is your setup?
have a brief summary on the setup and the problem and your question?

Smitha
Advisor

Re: Urgent - connecting to weblogic 7.0 from HP-UX11

Hi,

Below is the detailed account of the problem:

1)Requirement : Perform a JNDI lookup from my JSP(deployed in iplanet 6.0 ) to weblogic 7.0 server - on a different server.
The Iplanet web server is installed on HP-UX11 system.

2)Problem : While accessing the weblogic server while performing lookup - am getting one of the below errors..each time i access :

a)
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.(

b)
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)

3)Question :
The lookup works fine when :
a)I access WLS from my local iplanet 6.0
b)I access WLS from iplanet 6.0 installed on Sun solaris
c)I access WLS from a standalone java program - to test the lookup - on HP-UX.

How to solve this problem?

Am i clear enough?
DO let me know if u need any other details...but am desperate for the solution...

Thanks