Weblogic cluster - communication problems
We have 2 app servers clustered and they seem to be running fine other than the
following issue. Usually, once, maybe twice a day, the servers are unable to communicate...
It happens early in the morning when load is low... So it does not seem to be
a load issue. Could something be timing out? We are using 6.1 and we have JMS
on one of the servers. The only RMI we are doing between the 2 app servers are
the JMS calls, which is where we are seeing the problem. Any help would be great
Thank you. We will try this.
"Zach" <[email protected]> wrote:
>Check. SP3. This is likely a DGC timeout mismatch problem that was
>fixed
>in SP3.
>_sjz.
>
>"Rajesh Mirchandani" <[email protected]> wrote in message
>news:[email protected]...
>> If you are on WLS 6.1SP2, upgrade to SP3.
>>
>> Ryan Stuetzer wrote:
>>
>> > Zach,
>> >
>> > Another symptom we are noticing (during the time we are having the
>communication
>> > problem) is that the weblogic console displays the state of the
>cluster(s) as
>> > not running. It appears as if they are not participating in the cluster,
>however
>> > they are running and processing our client requests normally according
>to our
>> > logs.
>> >
>> > Thanks,
>> > Ryan
>> >
>> > "Zach" <[email protected]> wrote:
>> > >What type of exceptiosn are you receiving?
>> > >_sjz.
>> > >
>> > >"Ryan Stuetzer" <[email protected]> wrote in message
>> > >news:[email protected]...
>> > >>
>> > >> We have 2 app servers clustered and they seem to be running fine
>other
>> > >than the
>> > >> following issue. Usually, once, maybe twice a day, the servers
>are
>> > >unable
>> > >to communicate...
>> > >> It happens early in the morning when load is low... So it does
>not
>> > >seem to
>> > >be
>> > >> a load issue. Could something be timing out? We are using 6.1
>and we
>> > >have
>> > >JMS
>> > >> on one of the servers. The only RMI we are doing between the 2
>app
>> > >servers
>> > >are
>> > >> the JMS calls, which is where we are seeing the problem. Any help
>would
>> > >be
>> > >great
>> > >> !!!!
>> > >
>> > >
>>
>> --
>> Rajesh Mirchandani
>> Developer Relations Engineer
>> BEA Support
>>
>>
>
>
Similar Messages
-
No communication between the two nodes in weblogic cluster
Hi All,
We have installed weblogic cluster in our environment(LINUX 64-Redhat.5).On one node admin server ,managed server1,on second node we have managed server2.When we try to deploy application on one node it is not getting reflected in othe node.We have ran datagram test to check communication between 2 node.
Here we observed that listener and pulisher are picking wrong IPs not the server Ips.
can any one explain why and what is the problem.
thanks,
sudheer.Hi Sudheer,
While performing the datagram test you mention the ports and ip so I am not sure how they are picking wrong ip and port. Follow the instructions to perform the test http://coherence.oracle.com/display/COH35UG/Performing+a+Datagram+Test+for+Network+Performance
Re the deployments, you need to ensure that multicast is enabled in your environment and both your managed server are in the same subnet otherwise you need to specify WKA for unicast communication. I am assuming that you are building SOA infrastructure as it internally uses Coherence for deploying applications and you can follow the instructions http://download.oracle.com/docs/cd/E15523_01/core.1111/e12036/extend_soa.htm#CHDEAFJH else use the intructions as mentioned here http://download.oracle.com/docs/cd/E17904_01/web.1111/e13709/features.htm
Hope this helps!
Cheers,
NJ -
Session lost problem in Weblogic cluster and Iplanet proxy
We have an environment like this
Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
The Weblogic servers are not really clusterd, but we are using the Weblogic Cluster
attribute in the obj.conf to configure the proxy (The Weblogic servers are really
independant servers with the same application deployed).
This is working fine in our development environment. No problem with session and
load balancing. Although this architecture is not documented in Weblogic docs,
I have seen several references to this type of architecture in the web and it
seems to be working.
Now we are into our pre-production environment. The same archictecture exists.
Only the following differences
1. Both the weblogic servers run on multihomed machines. We have bound the Weblogic
servers to specific IP addresses using the Listen address option.
2. The same IP addresses are there in the proxy plug-in conf file.
3. There is a firewall between the Iplanet and Weblogic.
Now if only one weblogic is running, the application works fine. The moment we
turn the other weblogic on, the application starts misbehaving. The session seems
to get lost and proxy forwards requests randomly.
What could be the reason?
Regards
Anup
Hi
The problem got solved. There was an older version of libproxy.so in the Iplanet
proxy
Regards
Anup
Yeshwant Kamat <[email protected]> wrote:
>Anup,
>
>Is there a reason you are not clustering the WLS instances? Remove the
>firewall in your
>prod environment and see if that makes a difference.
>
>Anup wrote:
>
>> Hi Mike
>> 1. As per the documentation WebLogic Server is set up to handle session
>tracking
>> by default. So we are not doing anything special. Since the application
>works
>> fine with one Weblogic and multiple clients connecting to it through
>Iplanet ,
>> I think there is no problem with Session tracking as such.
>>
>> 2.We are using the default cookie name for session (JSESSIONID). So
>we haven't
>> done anything extra in the proxy set up or weblogic.xml
>>
>> 3. I have watched the cookie that comes on the browser
>> PAACk3iviDm4ZuMPIbB9TpTTw9slk40IEC02MKjpu14EZ9ayzqaP!-1196227542!gmbpds054!7015!7016.
>>
>> gmbpds054 is the DNS name of one of the weblogic servers. So that is
>also fine.
>>
>> What else could be the problem.
>> Regards
>> Anup
>>
>> "Mike Reiche" <[email protected]> wrote:
>> >
>> >If you have session tracking turned on in weblogic, creating a session
>> >will write
>> >a cookie back to the browser. iPlanet does sticky load balancing
>based
>> >on the
>> >IP address in this cookie. So -
>> >
>> >1) do you have session tracking turned on?
>> >
>> >2) is the cookie getting written to your browser?
>> >
>> >3) are iPlanet and WebLogic using the same cookie? (same name)
>> >
>> >Mike
>> >
>> >"Anup Maliyackel" <[email protected]> wrote:
>> >>
>> >>We have an environment like this
>> >>
>> >>Iplanet 4.1--> Two Weblogic servers.(WLS 6.1 sp1)
>> >>
>> >>The Weblogic servers are not really clusterd, but we are using the
>Weblogic
>> >>Cluster
>> >>attribute in the obj.conf to configure the proxy (The Weblogic servers
>> >>are really
>> >>independant servers with the same application deployed).
>> >>
>> >>This is working fine in our development environment. No problem with
>> >>session and
>> >>load balancing. Although this architecture is not documented in Weblogic
>> >>docs,
>> >>I have seen several references to this type of architecture in the
>web
>> >>and it
>> >>seems to be working.
>> >>
>> >>Now we are into our pre-production environment. The same archictecture
>> >>exists.
>> >>Only the following differences
>> >>1. Both the weblogic servers run on multihomed machines. We have
>bound
>> >>the Weblogic
>> >>servers to specific IP addresses using the Listen address option.
>> >>
>> >>2. The same IP addresses are there in the proxy plug-in conf file.
>> >>
>> >>3. There is a firewall between the Iplanet and Weblogic.
>> >>
>> >>Now if only one weblogic is running, the application works fine.
>The
>> >>moment we
>> >>turn the other weblogic on, the application starts misbehaving. The
>> >session
>> >>seems
>> >>to get lost and proxy forwards requests randomly.
>> >>
>> >>What could be the reason?
>> >>
>> >>Regards
>> >>Anup
>> >
>
-
Apache Proxy Plugin with SSL in Weblogic Cluster
Hi,
I have configured a weblogic cluster and configured SSL. Then I configured the apache plugin to work with the cluster machines with non ssl and worked succesfull but when I configured the ssl communication between apache and weblogic I´m having problems.
The actual configuration is:
<Location /spmlws>
SetHandler weblogic-handler
WLLogFile /var/log/httpd/tmpweblogic1.log
DebugConfigInfo ON
Debug ALL
KeepAliveEnabled ON
KeepAliveSecs 15
WebLogicPort 7002
SecureProxy ON
TrustedCAFile /opt/freeware/etc/httpd/conf/trustedCA35cert.pem
TrustedCAFile /opt/freeware/etc/httpd/conf/trustedCA36cert.pem
WLProxySSL ON
RequireSSLHostMatch false
WebLogicCluster machine35:7002,machine36:7002
EnforceBasicConstraints false
</Location>
The problem is that the plugin always takes the last TrustedCAFile. In this way if machine36 is down the plugin tries to send all the request to machine35 but it takes the TrustedCAFile for the machine36 (/opt/freeware/etc/httpd/conf/trustedCA36cert.pem) hence the apache complains
[Wed Jun 30 11:13:56 2010] [error] [client 10.19.232.249] ap_proxy: trying GET /spmlws/OIMProvisioning at backend host '10.19.232.97/7002; got exception 'WRITE_ERROR_TO_SERVER [os error=0, line 796 of ../nsapi/URL.cpp]: '
What can I do to have multiple TrustedCAFile or to have working the communication between apache and weblogic cluster using SSL?
thanks in advanceAcording to the documentation this is not possible.
One way to achieve the load balancing of n-weblogic servers in cluster using ssl is to configure de HttpClusterServlet. -
Continous HTTP access error logged when using Weblogic Cluster
I am not sure if this is the right forum for this discussion, but here we go anyways.
We have created a Weblogic Cluster with one Administration Server and up to 12 Managed Servers. Our Weblogic version is 9.2.
SSL has been enabled for all Servers and the HTTP Listen Ports are all turned off. The cluster and all applications are working fine and communicating over HTTP as expected, however the logs grow 3MB+ per hour due to an error that repeatedly logged. This error appears to be an attempt by an internal Weblogic process to access some resource over HTTP.
Here are the various messages received in the logs. There are 3 messages logged per error occurred.
This first log message is from the domain log (I replaced the hostname/IP info with <PEER>):
####<Aug 11, 2008 12:08:46 PM GMT+00:00> <Warning> <Security> <PEER> <ManagedServer7> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1218456526962> <BEA-090475> <Plaintext data for protocol HTTP was received from peer <PEER> instead of an SSL handshake.>
This second log message is from the ".out" log from the Administration Server:
####<Aug 11, 2008 12:08:58 PM GMT+00:00> <Info> <ServletContext-/bea_wls_internal> <PEER> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1218456538658> <000000> <HTTPClntLogin: Login rejected with code: 'Failed', reason: java.net.ProtocolException: HTTP tunneling is disabled
at weblogic.rjvm.http.HTTPServerJVMConnection.acceptJVMConnection(HTTPServerJVMConnection.java:88)
at weblogic.rjvm.http.TunnelLoginServlet.service(TunnelLoginServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3231)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
This last message is from the access.log for the Admin Server:
<PEER> - - [11/Aug/2008:12:08:58 +0000] "GET /bea_wls_internal/HTTPClntLogin/a.tun?wl-login=https+dummy+WLREQS+9.2.2.0+dummy+%0A&rand=8038349418070109915&AS=2048&HL=19 HTTP/1.1" 200 1337
I have searched all over trying to find a solution but with no luck thus far. I have seen some posts about turning on HTTPTunneling and this does seem to prevent the error from occurring, but this is not a solution for us.
I could really use some help in understanding whats going on and trying to resolve this issue. Our client will make a big deal out of this and will want a solution. Any help would be greatly appreciated.
Message was edited by:
user651444Hi,
We had this problem with WebLogic Platform 9.2 MP2, running on Solaris. The patch CR344429 worked fine. The corresponding patch for 9.2 MP3 is CR370091. You can get these patches through Oracle Support.
A couple of points:
1. We did not have to set StartScriptEnabled=true for the patch to work. We use the SSL Niode manager.
2. Using the t3: protocol (-Dweblogic.management.server=t3://<admin server listen address>:<admin server listen port) does stop these exceptions, but causes these warning messages to appear in the administration server log file:
<Warning> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <...> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef ......>
<Warning> <[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <...> <BEA-002637> <Failed to register a disconnect listener because of weblogic.rmi.extensions.DisconnectMonitorUnavailableException: Could not register a DisconnectListener for [weblogic.rmi.internal.BasicRemoteRef ......>
Hope these comments help. -
Session state replication taking time to replicate in weblogic cluster
I have a application fully serialized code with WEB-INF/lib containing the below configs with Unicast communication.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">
<weblogic-web-app>
<session-descriptor>
<session-param>
<param-name>TimeoutSecs</param-name>
<param-value>1800</param-value>
</session-param>
<cookie-http-only>false</cookie-http-only>
<persistent-store-type>replicated_if_clustered</persistent-store-type>
</session-descriptor>
</weblogic-web-app>
OHS plugin is having below config
LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/mod_wl_ohs.so"
<IfModule mod_weblogic.c>
WebLogicCluster 172.12.113.141:7006,172.12.113.140:7006
MatchExpression /finapp/*
</IfModule>
And weblogic cluster is replicating session instantly when ever there is some activities happening in the application.
It is having a problem only in below scenario when the session is open but the user is not doing anything.
I have 2 nodes in the cluster if one goes down(currently request serving one) it is failing over to the next but the session is not getting copied instantly. Below is the scenario where it works fine and where the replication is delayed.
1. Both servers(server1,server2) up for some time and user logs in and is continuing work.
2. primary server(server1) crashes in middle, secondary(server2) will take over the existing session and you will see user will be continuing the work without any issues(no logouts).
3. After sometime server1 comes up online, user keeps on testing(clicking some tab which makes a request to server), you will see the server1 will have a replica of server2 instantly.
4. You can bring down the server2 now and you will see the users session will not interrupt and user will be able to continue session with the server1.
Now coming to the scenario where you will be able to delayed replication :
1. Both servers up and user logged in and started work.
2. Primary server(server1) goes down and secondary server(server2) will take over the session and let the user continue its work without any logout.
2. server1 comes back online and user is not doing anything(no clicks) with application just kept the session open and server2(primary session) goes down within the replication time then the user will get logged out and might see some erratic behavior in any applications deployed to that weblogic. (We saw that if we dont shutdown server2 immediately(within 1min) and wait for 5mins+ weblogic is copying the session from server2 to server1. After that copy if we shutdown the primary server(server2) user is not having any issues)
To summerize if a session is active(logged in) and some activity(clicking) is going on then replication is happening instantly from primary to secondary but if the user is active(logged in) and not doing anything(not clicking) then the session from primary to secondary is taking 5minutes+
Please let me know if there is some weblogic configs to check to reduce this time lag and let weblogic copy the session continuously either the user is performing any activity or not in the logged in session.
Thanks,Hi,
This is the expected behavior. Please take a look at this document: WebLogic Server - Session Replication/Failover Scenario When Only One Server In Cluster is RUNNING (Doc ID 1292033.1)
In a WebLogic Server domain, with a Cluster of 2 Managed Servers and a web application deployed on this Cluster, you have only one managed server running and then you make a request through a proxy server to access the application.
The default cookie which is JSESSIONID will be created something like
<SessionID>!<PrimaryJVMID>!NONE
Here, you see the secondary server as NONE as there is only one server in cluster running.
Now, you leave HTTP session idle, meaning there will be no activity and requests in it.
Now, you bring up the second managed server instance in the cluster. The JSESSIONID for the earlier created HTTPSession will be unchanged: still
<SessionID>!<PrimaryJVMID>!NONE
unless there are any requests made or activity in it.
At this point of time, if there is a failure of the Managed server, the idle in-flight HTTP Sessions which were created earlier when this managed server was RUNNING, will be dropped and there will be no failover. Only active HTTP Sessions which have a secondary JVM ID will be failed over to the secondary managed server.
At any point, if subsequent requests are made and if any activity is made to the Idle HTTP sessions which were earlier created, the JSESSIONID gets updated with the secondary JVMID and sessions gets replicated and failed over in case of server crash. -
Hi, I think I have a communication problem between the servers in a cluster,
I attached a picture of the administration console where it seems that one
server in the cluster cant communicate with the other.
(one server is running on Windows and the other on Linux)
Any ideas to solve this problems?
Thanks
[console.jpg]
Using multicastTest I found that the messages that the windows machine
produces are lost. Nobody receives that messages.
I don't know what might be happening
cheers
"Campot" <[email protected]> escribió en el mensaje
news:[email protected]..
> Hi, I think I have a communication problem between the servers in a
cluster,
> I attached a picture of the administration console where it seems that one
> server in the cluster cant communicate with the other.
> (one server is running on Windows and the other on Linux)
>
> Any ideas to solve this problems?
> Thanks
>
>
>
-
How to setup weblogic cluster in 6.1 SP4
Hi All,
I have a Licensed weblogic in my solaris servers. I need to test weblogic clustering
. How can i simulate weblogic clustering is there is any easy steps to do that
and what should i do in order to make my EJB`s cluster aware. And some ppl say
that i need to take a seperate weblogic cluster license other than the weblogic
license.Kindly help me in proceeding further
Thanks in advance
Bala.J
Hi
I have same problem at beforetime.
You can do follow:
Step 1:
copy rt.jar form JDK 1.2.1\jre\lib\jar
to J2EE1.2.1\lib\system\
Step 2:
Set J2ee_classpath = c:\j2ee1.2.1\lib\system\rt.jar
Step 3:
Restart computer and J2ee
You can try it
Help can help you
David -
Having issue with start weblogic cluster with tangosol cluster
Hi,
Oracle Coherence Version 3.3.1/389p1
Grid Edition: Development mode
We are using Weblogic 8.1.5 with Tangosol 3.3.1 on Linux servers.
And we added the initializing logic in the servlet's init() method to get all NamedCaches and put into the ServletContext.
When we start weblogic cluster, the first weblogic member will startup successfully with following messages :
<Nov 7, 2007 10:12:30 AM EST> <Info> <HTTP> <BEA-101047> <[2007-11-07 10ServletContext(id=259640596,name=clusterqa,context-path=)] initObjects: init>:12:31.565 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa1/.wlnotdelete/extract/docqa1_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
2007-11-07 10:12:31.598 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
Oracle Coherence Version 3.3.1/389p1
Grid Edition: Development mode
Copyright (c) 2000-2007 Oracle. All rights reserved.
2007-11-07 10:12:31.938 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
2007-11-07 10:12:31.983 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
2007-11-07 10:12:33.267 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
2007-11-07 10:12:34.118 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2007-11-07 10:12:37.508 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Created a new cluster with Member(Id=1, Timestamp=2007-11-07 10:12:33.323, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) UID=0x0A05B056000001161AAB782BBF561F98
2007-11-07 10:12:37.736 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2007-11-07 10:12:38.168 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
<Nov 7, 2007 10:12:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=259640596,name=clusterqa,context-path=)] xslProcessor: init>
But trying to start the second weblogic member server, the startup process is stucked after tangosol cache initialization and the second weblogic member server never up running. Please see following messages :
<Nov 7, 2007 9:49:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initDSNames: init>
<Nov 7, 2007 9:49:42 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initObjects: init>
2007-11-07 09:49:43.156 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa2/.wlnotdelete/extract/docqa2_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
2007-11-07 09:49:43.188 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
Oracle Coherence Version 3.3.1/389p1
Grid Edition: Development mode
Copyright (c) 2000-2007 Oracle. All rights reserved.
2007-11-07 09:49:43.528 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
2007-11-07 09:49:43.571 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
2007-11-07 09:49:44.829 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
2007-11-07 09:49:45.419 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Failed to satisfy the variance: allowed=16, actual=47
2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Increasing allowable variance to 19
2007-11-07 09:49:46.040 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2007-11-07 09:49:45.69, Address=10.5.176.85:8088, MachineId=48981, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) joined cluster with senior Member(Id=1, Timestamp=2007-11-07 09:45:10.205, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2)
Could you please explain why it happens, and what should I do to resolve this issues ?
Many Thanks,
BingHi, Gene
Thank you for the response. I will send you our full log files and thread dumps.
I just want to give you more details about our cases :
1. This only happened without starting cache servers (com.tangosol.net.DefaultCacheServer).
2. And our application which are running on weblogic cluster will just call "CacheFactory.getCache("XXX")", and running as the Tangosol DataClient.
3. All weblogic member servers will be up running successfully if our cache servers are up running.
Also I tried to test another case :
Suppose all weblogic instances and cache server instances are up running. Now I trying to restart (kill weblogic instance process and restart) one of the weblogic member, It will up running successfully only if add some sleep times after killing weblogic processes and restarting it. Looks like tangosol cluster need certain time to aware the member has left cluster, then the restart process will be successful.
Questions :
1. Should we start our weblogic cluster only after cache server cluster is up running ?
2. How do we decide how many time we should wait before start new process to join the cache cluster ?
Could you please help to explain this one for me and let us if there anyway we can do to avoid the problem.
Many Thanks !!!
Bing -
WLS 7.0 SP2 Cluster deployment problems
I am having problems deploying our application to a weblogic cluster. Environment is
windows 2000/XP and weblogic 7.0 SP2.
Here's a simplified version of the cluster.
I have 2 managed servers that are part of the cluster.I have defined the managed server
configuration in the admin server's config.xml as below.
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine1" Name="Server1" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server1">
<COM Name="Server1"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server1"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server1" UserPreferred
er="Server1"/>
<JTARecoveryService Name="Server1"/>
<KernelDebug Name="Server1"/>
<Log Name="Server1"/>
<SSL Enabled="false" ListenPort="7772" Name="Server1"/>
<ServerDebug Name="Server1"/>
<ServerStart Name="Server1"/>
<WebServer Name="Server1"/>
</Server>
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine2" Name="Server2" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server2">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferred
er="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log Name="Server2"/>
<SSL Enabled="false" ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer Name="Server2"/>
</Server>
<Server AcceptBacklog="50" HelpPageURL="c:/public/as"
InstrumentStackTraceEnabled="true"
JDBCLogFileName="myserver\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7770" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="myserver"
NativeIOEnabled="false" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_myserver" XMLRegistry="company XMLRegist
<COM Name="myserver"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="myserver"/>
<JTAMigratableTarget Cluster="" Name="myserver" UserPreferredServer="
rver"/>
<JTARecoveryService Name="myserver"/>
<KernelDebug Name="myserver"/>
<Log FileMinSize="4096" FileName="myserver\company.log"
FileTimeSpan="24" Name="myserver"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7775" Name="myserver"/>
<ServerDebug Name="myserver"/>
<ServerStart Name="myserver"/>
<WebServer DefaultWebApp="go" LogFileName="myserver\access.log"
LoggingEnabled="true" Name="myserver" Targets="myserver"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="600" Name="companyShutdown2"
Targets="myCluster,Server1,Server2,myserver"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="675" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="myserver"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server1"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLEntityCache Name="XMLCacheMBean_myserver"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactory
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transf
rFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
/Domain>
The managed server config.xml looks like below.
$ cat config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--Last updated on: Fri Nov 12 15:46:28 CET 2004, If your domain is active, ple
ase do not edit the config.xml file. Any changes made to that file while the dom
ain is active will not have any effect on the domain's configuration and are lik
ely to be lost. If your domain is inactive, you may edit this file with an XML e
ditor. If you do so, please refer to the BEA Weblogic Server Configuration Refer
ence documentation available from http://edocs.bea.com/wls/docs70/config_xml.
In general, we recommend that changes to your configuration file be made through
the Administration Console.-->
<Domain ConfigurationVersion="7.0.2.0" Name="company">
<Application Deployed="true" Name="AGENTMANAGER"
Path=".\deployments\activity" TwoPhase="false">
<EJBComponent DeploymentOrder="20" Name="AGENTMANAGER"
Targets="Server2" URI="AGENTMANAGER.jar"/>
</Application>
<Application Deployed="true" Name="MDBERT1"
Path=".\deployments\service" TwoPhase="false">
<EJBComponent DeploymentOrder="46" Name="MDBERT1"
Targets="Server2" URI="MDBERT1.jar"/>
</Application>
<Application Deployed="true" Name="TM" Path=".\deployments\service" TwoPhase
="false">
<EJBComponent DeploymentOrder="15" Name="TM.jar"
Targets="Server2" URI="TM.jar"/>
</Application>
</Application>
<Application Deployed="true" Name="go" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="go" Targets="Server2" URI="go"/>
</Application>
<Application Deployed="true" Name="im" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="im" Targets="Server2" URI="im"/>
</Application>
<Application Deployed="true" Name="pmcl" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="pmcl" Targets="Server2" URI="pmcl"/>
</Application>
<ApplicationManager Name="company"/>
<CachingRealm ACLCacheEnable="true" ACLCacheSize="2000"
ACLCacheTTLNegative="60" ACLCacheTTLPositive="60"
AuthenticationCacheEnable="false" AuthenticationCacheSize="211"
AuthenticationCacheTTLNegative="10"
AuthenticationCacheTTLPositive="60" BasicRealm="companyRealm"
CacheCaseSensitive="true" GroupCacheEnable="true"
GroupCacheSize="100" GroupCacheTTLNegative="60"
GroupCacheTTLPositive="60" GroupMembershipCacheTTL="17700"
Name="companyCacheRealm" PermissionCacheEnable="true"
PermissionCacheSize="211" PermissionCacheTTLNegative="10"
PermissionCacheTTLPositive="60" UserCacheEnable="true"
UserCacheSize="2000" UserCacheTTLNegative="60" UserCacheTTLPositive="60"
/>
<CustomRealm Name="companyRealm" Password="{3DES}2LwBLCayHcc=" RealmClassName
="company.appserver.weblogic.WLRealmStub"/>
<EmbeddedLDAP
Credential="{3DES}VW4H4+7OUny8Er78dGhHbIqbB6w7l9btTnLbz4Cu1jE=" Name="Cy
gent"/>
<FileRealm Name="myFileRealm"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="5"
MaxCapacity="100" Name="Geneva0"
PreparedStatementCacheSize="100"
Properties="user=admin;password=;server=LSUP1"
Targets="Server2" URL="jdbc:weblogic:oracle"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
MaxCapacity="100" Name="JMSDBConnectionPool"
PreparedStatementCacheSize="100"
Properties="user=admin;password=gent;url=jdbc:oracle:thin:@x.x.x.179:1521:SUP1;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
Targets="Server2" URL="jdbc:oracle:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="5" MaxCapacity="100" Name="ejbPool"
PreparedStatementCacheSize="100"
Properties="user=company_admin;url=jdbc:oracle:thin:@10.28.138.179:1521:P
MCLSUP1;password=company;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
SupportsLocalTransaction="true" Targets="Server2,Server2" URL="jdbc:orac
le:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCDataSource JNDIName="geneva.jdbc.GenevaNonTrans0"
Name="GenevaNonTrans0" PoolName="Geneva0" Targets="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="true"
JNDIName="geneva.jdbc.Geneva0" Name="Geneva0" PoolName="Geneva0" Targets
="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="false"
JNDIName="authJtsDataSource" Name="authJtsDataSource"
PoolName="ejbPool" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.ctm.QCFactory"
Name="CTMQCFactory" Targets="Server2"
UserTransactionsEnabled="true" XAConnectionFactoryEnabled="true"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.QCFactory"
Name="QCFactory" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.TCFactory"
Name="TCFactory" Targets="Server2"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyCTMJDBCStore" PrefixName="CTM"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyJMSJDBCStore" PrefixName="IM"/>
<JMSServer Name="CIM JMSServer-0" Store="companyJMSJDBCStore" Targets="Server
2">
<JMSQueue JNDIName="javax.jms.inRequestQueue" Name="inRequestQueue"/>
<JMSQueue JNDIName="javax.jms.inResponseQueue" Name="inResponseQueue"/>
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
<JMSQueue JNDIName="javax.jms.outRequestQueue" Name="outRequestQueue"/>
<JMSQueue JNDIName="javax.jms.outResponseQueue" Name="outResponseQueue"/
>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inRequestQueue"
MessagesMaximum="10" Name="InboundRequestSessionPool" Selector="
TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inResponseQueue"
MessagesMaximum="10"
Name="InboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outRequestQueue"
MessagesMaximum="10"
Name="OutboundRequestConnectionPool" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outResponseQueue"
MessagesMaximum="10"
Name="OutboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSTopic JNDIName="javax.jms.CreateOfferTopic" Name="createOfferTopic"/
>
<JMSTopic JNDIName="javax.jms.CreateProductTopic" Name="createProductTop
ic"/>
</JMSServer>
<JMSServer Name="JMSServer-0">
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
</JMSServer>
<JMSServer DeploymentOrder="1" Name="Task Manager Server-1"
Store="companyCTMJDBCStore" Targets="Server2">
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="activate_task"
Name="AT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="complete_process_flow" Name="CPF1 Queue" RedeliveryL
imit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="complete_task"
Name="CT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="error_task" Name="ERT1 Queue" RedeliveryLimit="1"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="escalate_task"
Name="ET1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="recover_process_flow" Name="RPF1 Queue" RedeliveryLi
mit="5"/>
<JMSQueue JNDIName="terminate_process_flow" Name="TPF1 Queue" Redelivery
Limit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue"
JNDIName="terminate_task" Name="TT1 Queue" RedeliveryLimit="5"/>
</JMSServer>
<JTA Name="company" TimeoutSeconds="3600"/>
<Log FileName="./logs/company.log" Name="company"/>
<Machine Name="MyMachine">
<NodeManager Name="MyMachine"/>
</Machine>
<PasswordPolicy MinimumPasswordLength="8" Name="mypasswordpolicy"/>
<Realm CachingRealm="companyCacheRealm" FileRealm="myFileRealm" Name="myRealm
"/>
<SNMPAgent Name="company"/>
<Security CompatibilityMode="true" Name="company"
PasswordPolicy="mypasswordpolicy" Realm="myRealm" RealmSetup="true"/>
<SecurityConfiguration Credential="{3DES}Osb3tCLDbyc="
CredentialGenerated="false" Name="company"/>
<Server HelpPageURL="c:/public/as" InstrumentStackTraceEnabled="true"
JDBCLogFileName="Server2\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7771" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="Server2"
NativeIOEnabled="true" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_Server2" XMLRegistry="company XMLRegistry">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferredSer
ver="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log FileMinSize="4096" FileName="Server2\company.log"
FileTimeSpan="24" Name="Server2"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer DefaultWebApp="go" LogFileName="Server2\access.log"
LoggingEnabled="true" Name="Server2" Targets="Server2"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="200" Name="companyShutdown2" Targets="Server2"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="175" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="100" FailureIsFatal="true"
Name="companyStartup1" Targets="Server2,Server2"/>
<StartupClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="125" FailureIsFatal="true"
Name="TaskManagerStartup" Targets="Server2"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImp
l"
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transform
erFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
</Domain>
I start the admin server first followed by one of the managed servers. The admin server
starts fine. When I start the managed server 1, it is not deploying the application on the
managed server and I am getting the following exception on the managed server.
Setting custom initial context factory<Nov 25, 2004 11:54:44 PM CET> <Notice> <Management> <141053> <Application Polle
r not started for production server.>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <Management> <141030> <Starting discover
y of Managed Server... This feature is on by default, you may turn this off by p
assing -Dweblogic.management.discover=false>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <WebLogicServer> <000354> <Thread "Liste
nThread.Default" listening on port 7770>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.x and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server2 on listen address x.x.x.223 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.222 and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server1 on listen address x.x.x.222 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Notice> <WebLogicServer> <000329> <Started WebLo
gic Admin Server "myserver" for domain "company" running in Production Mode>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000365> <Server state
changed to RUNNING>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000360> <Server starte
d in RUNNING mode>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server1,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server1,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
Can somebody help me find out why this problem is occuring..?I am having problems deploying our application to a weblogic cluster. Environment is
windows 2000/XP and weblogic 7.0 SP2.
Here's a simplified version of the cluster.
I have 2 managed servers that are part of the cluster.I have defined the managed server
configuration in the admin server's config.xml as below.
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine1" Name="Server1" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server1">
<COM Name="Server1"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server1"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server1" UserPreferred
er="Server1"/>
<JTARecoveryService Name="Server1"/>
<KernelDebug Name="Server1"/>
<Log Name="Server1"/>
<SSL Enabled="false" ListenPort="7772" Name="Server1"/>
<ServerDebug Name="Server1"/>
<ServerStart Name="Server1"/>
<WebServer Name="Server1"/>
</Server>
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine2" Name="Server2" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server2">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferred
er="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log Name="Server2"/>
<SSL Enabled="false" ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer Name="Server2"/>
</Server>
<Server AcceptBacklog="50" HelpPageURL="c:/public/as"
InstrumentStackTraceEnabled="true"
JDBCLogFileName="myserver\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7770" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="myserver"
NativeIOEnabled="false" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_myserver" XMLRegistry="company XMLRegist
<COM Name="myserver"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="myserver"/>
<JTAMigratableTarget Cluster="" Name="myserver" UserPreferredServer="
rver"/>
<JTARecoveryService Name="myserver"/>
<KernelDebug Name="myserver"/>
<Log FileMinSize="4096" FileName="myserver\company.log"
FileTimeSpan="24" Name="myserver"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7775" Name="myserver"/>
<ServerDebug Name="myserver"/>
<ServerStart Name="myserver"/>
<WebServer DefaultWebApp="go" LogFileName="myserver\access.log"
LoggingEnabled="true" Name="myserver" Targets="myserver"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="600" Name="companyShutdown2"
Targets="myCluster,Server1,Server2,myserver"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="675" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="myserver"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server1"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLEntityCache Name="XMLCacheMBean_myserver"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactory
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transf
rFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
/Domain>
The managed server config.xml looks like below.
$ cat config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--Last updated on: Fri Nov 12 15:46:28 CET 2004, If your domain is active, ple
ase do not edit the config.xml file. Any changes made to that file while the dom
ain is active will not have any effect on the domain's configuration and are lik
ely to be lost. If your domain is inactive, you may edit this file with an XML e
ditor. If you do so, please refer to the BEA Weblogic Server Configuration Refer
ence documentation available from http://edocs.bea.com/wls/docs70/config_xml.
In general, we recommend that changes to your configuration file be made through
the Administration Console.-->
<Domain ConfigurationVersion="7.0.2.0" Name="company">
<Application Deployed="true" Name="AGENTMANAGER"
Path=".\deployments\activity" TwoPhase="false">
<EJBComponent DeploymentOrder="20" Name="AGENTMANAGER"
Targets="Server2" URI="AGENTMANAGER.jar"/>
</Application>
<Application Deployed="true" Name="MDBERT1"
Path=".\deployments\service" TwoPhase="false">
<EJBComponent DeploymentOrder="46" Name="MDBERT1"
Targets="Server2" URI="MDBERT1.jar"/>
</Application>
<Application Deployed="true" Name="TM" Path=".\deployments\service" TwoPhase
="false">
<EJBComponent DeploymentOrder="15" Name="TM.jar"
Targets="Server2" URI="TM.jar"/>
</Application>
</Application>
<Application Deployed="true" Name="go" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="go" Targets="Server2" URI="go"/>
</Application>
<Application Deployed="true" Name="im" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="im" Targets="Server2" URI="im"/>
</Application>
<Application Deployed="true" Name="pmcl" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="pmcl" Targets="Server2" URI="pmcl"/>
</Application>
<ApplicationManager Name="company"/>
<CachingRealm ACLCacheEnable="true" ACLCacheSize="2000"
ACLCacheTTLNegative="60" ACLCacheTTLPositive="60"
AuthenticationCacheEnable="false" AuthenticationCacheSize="211"
AuthenticationCacheTTLNegative="10"
AuthenticationCacheTTLPositive="60" BasicRealm="companyRealm"
CacheCaseSensitive="true" GroupCacheEnable="true"
GroupCacheSize="100" GroupCacheTTLNegative="60"
GroupCacheTTLPositive="60" GroupMembershipCacheTTL="17700"
Name="companyCacheRealm" PermissionCacheEnable="true"
PermissionCacheSize="211" PermissionCacheTTLNegative="10"
PermissionCacheTTLPositive="60" UserCacheEnable="true"
UserCacheSize="2000" UserCacheTTLNegative="60" UserCacheTTLPositive="60"
/>
<CustomRealm Name="companyRealm" Password="{3DES}2LwBLCayHcc=" RealmClassName
="company.appserver.weblogic.WLRealmStub"/>
<EmbeddedLDAP
Credential="{3DES}VW4H4+7OUny8Er78dGhHbIqbB6w7l9btTnLbz4Cu1jE=" Name="Cy
gent"/>
<FileRealm Name="myFileRealm"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="5"
MaxCapacity="100" Name="Geneva0"
PreparedStatementCacheSize="100"
Properties="user=admin;password=;server=LSUP1"
Targets="Server2" URL="jdbc:weblogic:oracle"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
MaxCapacity="100" Name="JMSDBConnectionPool"
PreparedStatementCacheSize="100"
Properties="user=admin;password=gent;url=jdbc:oracle:thin:@x.x.x.179:1521:SUP1;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
Targets="Server2" URL="jdbc:oracle:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="5" MaxCapacity="100" Name="ejbPool"
PreparedStatementCacheSize="100"
Properties="user=company_admin;url=jdbc:oracle:thin:@10.28.138.179:1521:P
MCLSUP1;password=company;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
SupportsLocalTransaction="true" Targets="Server2,Server2" URL="jdbc:orac
le:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCDataSource JNDIName="geneva.jdbc.GenevaNonTrans0"
Name="GenevaNonTrans0" PoolName="Geneva0" Targets="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="true"
JNDIName="geneva.jdbc.Geneva0" Name="Geneva0" PoolName="Geneva0" Targets
="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="false"
JNDIName="authJtsDataSource" Name="authJtsDataSource"
PoolName="ejbPool" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.ctm.QCFactory"
Name="CTMQCFactory" Targets="Server2"
UserTransactionsEnabled="true" XAConnectionFactoryEnabled="true"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.QCFactory"
Name="QCFactory" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.TCFactory"
Name="TCFactory" Targets="Server2"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyCTMJDBCStore" PrefixName="CTM"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyJMSJDBCStore" PrefixName="IM"/>
<JMSServer Name="CIM JMSServer-0" Store="companyJMSJDBCStore" Targets="Server
2">
<JMSQueue JNDIName="javax.jms.inRequestQueue" Name="inRequestQueue"/>
<JMSQueue JNDIName="javax.jms.inResponseQueue" Name="inResponseQueue"/>
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
<JMSQueue JNDIName="javax.jms.outRequestQueue" Name="outRequestQueue"/>
<JMSQueue JNDIName="javax.jms.outResponseQueue" Name="outResponseQueue"/
>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inRequestQueue"
MessagesMaximum="10" Name="InboundRequestSessionPool" Selector="
TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inResponseQueue"
MessagesMaximum="10"
Name="InboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outRequestQueue"
MessagesMaximum="10"
Name="OutboundRequestConnectionPool" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outResponseQueue"
MessagesMaximum="10"
Name="OutboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSTopic JNDIName="javax.jms.CreateOfferTopic" Name="createOfferTopic"/
>
<JMSTopic JNDIName="javax.jms.CreateProductTopic" Name="createProductTop
ic"/>
</JMSServer>
<JMSServer Name="JMSServer-0">
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
</JMSServer>
<JMSServer DeploymentOrder="1" Name="Task Manager Server-1"
Store="companyCTMJDBCStore" Targets="Server2">
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="activate_task"
Name="AT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="complete_process_flow" Name="CPF1 Queue" RedeliveryL
imit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="complete_task"
Name="CT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="error_task" Name="ERT1 Queue" RedeliveryLimit="1"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="escalate_task"
Name="ET1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="recover_process_flow" Name="RPF1 Queue" RedeliveryLi
mit="5"/>
<JMSQueue JNDIName="terminate_process_flow" Name="TPF1 Queue" Redelivery
Limit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue"
JNDIName="terminate_task" Name="TT1 Queue" RedeliveryLimit="5"/>
</JMSServer>
<JTA Name="company" TimeoutSeconds="3600"/>
<Log FileName="./logs/company.log" Name="company"/>
<Machine Name="MyMachine">
<NodeManager Name="MyMachine"/>
</Machine>
<PasswordPolicy MinimumPasswordLength="8" Name="mypasswordpolicy"/>
<Realm CachingRealm="companyCacheRealm" FileRealm="myFileRealm" Name="myRealm
"/>
<SNMPAgent Name="company"/>
<Security CompatibilityMode="true" Name="company"
PasswordPolicy="mypasswordpolicy" Realm="myRealm" RealmSetup="true"/>
<SecurityConfiguration Credential="{3DES}Osb3tCLDbyc="
CredentialGenerated="false" Name="company"/>
<Server HelpPageURL="c:/public/as" InstrumentStackTraceEnabled="true"
JDBCLogFileName="Server2\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7771" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="Server2"
NativeIOEnabled="true" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_Server2" XMLRegistry="company XMLRegistry">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferredSer
ver="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log FileMinSize="4096" FileName="Server2\company.log"
FileTimeSpan="24" Name="Server2"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer DefaultWebApp="go" LogFileName="Server2\access.log"
LoggingEnabled="true" Name="Server2" Targets="Server2"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="200" Name="companyShutdown2" Targets="Server2"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="175" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="100" FailureIsFatal="true"
Name="companyStartup1" Targets="Server2,Server2"/>
<StartupClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="125" FailureIsFatal="true"
Name="TaskManagerStartup" Targets="Server2"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImp
l"
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transform
erFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
</Domain>
I start the admin server first followed by one of the managed servers. The admin server
starts fine. When I start the managed server 1, it is not deploying the application on the
managed server and I am getting the following exception on the managed server.
Setting custom initial context factory<Nov 25, 2004 11:54:44 PM CET> <Notice> <Management> <141053> <Application Polle
r not started for production server.>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <Management> <141030> <Starting discover
y of Managed Server... This feature is on by default, you may turn this off by p
assing -Dweblogic.management.discover=false>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <WebLogicServer> <000354> <Thread "Liste
nThread.Default" listening on port 7770>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.x and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server2 on listen address x.x.x.223 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.222 and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server1 on listen address x.x.x.222 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Notice> <WebLogicServer> <000329> <Started WebLo
gic Admin Server "myserver" for domain "company" running in Production Mode>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000365> <Server state
changed to RUNNING>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000360> <Server starte
d in RUNNING mode>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server1,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server1,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
Can somebody help me find out why this problem is occuring..? -
Weblogic Plugin Configuration Problem -- no more in server list
HELP! Has anyone seen anything like this before. What we are seeing
is that the plugin sporadically sends requests to the wrong weblogic
instance. When it sends it to the wrong instance we are seeing the
following in the wlproxy.log. Like I said, this happens sporadically.
Sometimes it will work just fine for an entire transaction. Does
anyone know what the "no more in server list" means. We've had bea on
the phone for the last 12 hours and they haven't been able to help us
up to this point. If I need to send any more information please let
me know....
Thanks in advance!!!
Jeremy Martin
========New Request: [POST
/ra/controller/AuthenticationConversation/getAuthenticationXmlInfo?currenttime=03/20/2002%2008:45:12:548000
HTTP/1.1] =========
Wed Mar 20 08:45:14 2002 Content-Length=368 clength=0
Wed Mar 20 08:45:14 2002 Going to get the post data of size 368
Wed Mar 20 08:45:14 2002 SEARCHING
id=[207.40.168.13:7001,207.40.168.115:7001,207.40.168.34:7001,207.40.168.118:7001]
from current ID=[207.40.168.13:7001,207.40.168.115:7001,207.40.168.34:7001,207.40.168.118:7001]
Wed Mar 20 08:45:14 2002
@@@FOUND...id=[207.40.168.13:7001,207.40.168.115:7001,207.40.168.34:7001,207.40.168.118:7001],
server_name=[p02n0310.it.sprintspectrum.com], server_port=[80]
Wed Mar 20 08:45:14 2002 Init:
availcookie=[WebLogicSession=PJZrt2jMA3CQTgvq2s31nz1Z1nh59Z81CQalCmaZLPWO2yVpAy71|6556818855266464983/-819419018/6/7001/7001/7002/7002/7001/-1;
CFID=17578; CFTOKEN=9604102; FULLACCESS=1;
CFGLOBALS=HITCOUNT%3D200%23LASTVISIT%3D%7Bts+%272002%2D03%2D06+10%3A52%3A38%27%7D%23TIMECREATED%3D%7Bts+%272001%2D11%2D03+17%3A29%3A44%27%7D%23;
COLORS=spring; ZIPCODE=64119]
Wed Mar 20 08:45:14 2002 PRIMARY 207.40.168.118:7001 no more in server
list
Wed Mar 20 08:45:14 2002 The request string is
'/ra/controller/AuthenticationConversation/getAuthenticationXmlInfo?currenttime=03/20/2002%2008:45:12:548000'
Wed Mar 20 08:45:14 2002 After trimming path:
'/ra/controller/AuthenticationConversation/getAuthenticationXmlInfo?currenttime=03/20/2002%2008:45:12:548000'
Wed Mar 20 08:45:14 2002 Now trying whatever is on the list;
ci->canUseSrvrList = 1
Wed Mar 20 08:45:14 2002 AttemptConnect(): Srvr# [1] =
[207.40.168.115:7001]
Wed Mar 20 08:45:14 2002 AttemptConnect(): Srvr# [2] =
[207.40.168.13:7001]
Wed Mar 20 08:45:14 2002 general list: trying connect to
'207.40.168.13'/7001
Wed Mar 20 08:45:14 2002 Connected to 207.40.168.13:7001
Wed Mar 20 08:45:14 2002 Headers from the client [Accept]=[*/*]
Wed Mar 20 08:45:14 2002 Headers from the client
[Accept-Encoding]=[gzip, deflate]
Wed Mar 20 08:45:14 2002 Headers from the client
[accept-language]=[en-us]
Wed Mar 20 08:45:14 2002 Headers from the client
[Cache-Control]=[no-cache]
Wed Mar 20 08:45:14 2002 Headers from the client
[Content-Length]=[368]
Wed Mar 20 08:45:14 2002 Headers from the client
[content-type]=[text/xml]
Wed Mar 20 08:45:14 2002 Headers from the client
[Cookie]=[WebLogicSession=PJZrt2jMA3CQTgvq2s31nz1Z1nh59Z81CQalCmaZLPWO2yVpAy71|6556818855266464983/-819419018/6/7001/7001/7002/7002/7001/-1;
CFID=17578; CFTOKEN=9604102; FULLACCESS=1;
CFGLOBALS=HITCOUNT%3D200%23LASTVISIT%3D%7Bts+%272002%2D03%2D06+10%3A52%3A38%27%7D%23TIMECREATED%3D%7Bts+%272001%2D11%2D03+17%3A29%3A44%27%7D%23;
COLORS=spring; ZIPCODE=64119]
Wed Mar 20 08:45:14 2002 Headers from the client
[Host]=[rmsweb.intranet.sprintspectrum.com]
Wed Mar 20 08:45:14 2002 Headers from the client
[User-Agent]=[Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)]
Wed Mar 20 08:45:14 2002 Sending header to WLS [Accept]=[*/*]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[Accept-Encoding]=[gzip, deflate]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[accept-language]=[en-us]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[Cache-Control]=[no-cache]
Wed Mar 20 08:45:14 2002 Sending header to WLS [Content-Length]=[368]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[content-type]=[text/xml]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[Cookie]=[WebLogicSession=PJZrt2jMA3CQTgvq2s31nz1Z1nh59Z81CQalCmaZLPWO2yVpAy71|6556818855266464983/-819419018/6/7001/7001/7002/7002/7001/-1;
CFID=17578; CFTOKEN=9604102; FULLACCESS=1;
CFGLOBALS=HITCOUNT%3D200%23LASTVISIT%3D%7Bts+%272002%2D03%2D06+10%3A52%3A38%27%7D%23TIMECREATED%3D%7Bts+%272001%2D11%2D03+17%3A29%3A44%27%7D%23;
COLORS=spring; ZIPCODE=64119]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[Host]=[rmsweb.intranet.sprintspectrum.com]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[User-Agent]=[Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[X-WebLogic-Force-Cookie]=[true]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[Proxy-Client-IP]=[207.167.161.73]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[X-Forwarded-For]=[207.167.161.73]
Wed Mar 20 08:45:14 2002 Sending header to WLS
[x-weblogic-cluster-hash]=[fw44lcQkjNI+PhjBPgtTl5Qwmi4]
Wed Mar 20 08:45:16 2002 Header received from WLS : [HTTP/1.1 200 OK]
= []
Wed Mar 20 08:45:16 2002 Header received from WLS : [Server] =
[WebLogic 5.1.0 Service Pack 11 11/20/2001 08:39:10 #149952]
Wed Mar 20 08:45:16 2002 Header received from WLS : [Content-Length]
= [622]
Wed Mar 20 08:45:16 2002 Header received from WLS : [Content-Type] =
[text/xml]
Wed Mar 20 08:45:16 2002 Header received from WLS : [X-WebLogic-Load]
= [0]
Wed Mar 20 08:45:16 2002 Header received from WLS : [Set-Cookie] =
[WebLogicSession=PJigemmFCOSmpZvQ8VD8AEn7t7RtPEEbSQqarpCmUYbNZ5nhoL9j|-9091816865617485599/-819419123/6/7001/7001/7002/7002/7001/-1;
expires=Sunday, 11-May-2003 06:45:16 GMT; path=/]
Wed Mar 20 08:45:16 2002 Header received from WLS : [Connection] =
[Close]
Wed Mar 20 08:45:16 2002 Headers to the client [Server]=[WebLogic
5.1.0 Service Pack 11 11/20/2001 08:39:10 #149952]
Wed Mar 20 08:45:16 2002 Headers to the client [Content-Length]=[622]
Wed Mar 20 08:45:16 2002 Headers to the client
[Set-Cookie]=[WebLogicSession=PJigemmFCOSmpZvQ8VD8AEn7t7RtPEEbSQqarpCmUYbNZ5nhoL9j|-9091816865617485599/-819419123/6/7001/7001/7002/7002/7001/-1;
expires=Sunday, 11-May-2003 06:45:16 GMT; path=/]
Wed Mar 20 08:45:16 2002 r->status=200 returning 0
Wed Mar 20 08:46:58 2002
This one sound stricky. Have you checked all the usual suspects:
-same cookie name in WB-INF/weblogic.xml and the cookiename set in
plugin settings (defualts to JSESSIONID in 6.x)
-network errors between web servers and WLS servers
That utility can be invaluable in solving problems like this.I have seen
session settings cause sessions to be lost, but never the message you
are talking about. Try turning on the "DebugConfigInfo" setting and see
what the "?__WebLogicBridgeConfig" page can tell you about your
settings, what server list it is using and what servers are
primary/secondary. One tip, you need to hit the WLS server one time, and
then use the "?__WebLogicBridgeConfig". Until it communicates with the
WLS server, it can only tell you it's own settings and not any
information about up servers and primary/secondary assignements. Also
look to make sure each server in the "Server List" has a blue ":OK" next
to it to signify the plugin can see them.
Hope that can help, though I am not sure they will deal with the problem
you are seeing. Make sure you post the outcome to this issue, I will be
very interested in seeing it.
-Mark Vaughn
Jeremy Martin wrote:
>HELP! Has anyone seen anything like this before. What we are seeing
>is that the plugin sporadically sends requests to the wrong weblogic
>instance. When it sends it to the wrong instance we are seeing the
>following in the wlproxy.log. Like I said, this happens sporadically.
> Sometimes it will work just fine for an entire transaction. Does
>anyone know what the "no more in server list" means. We've had bea on
>the phone for the last 12 hours and they haven't been able to help us
>up to this point. If I need to send any more information please let
>me know....
>
>Thanks in advance!!!
>
>Jeremy Martin
>
>========New Request: [POST
>/ra/controller/AuthenticationConversation/getAuthenticationXmlInfo?currenttime=03/20/2002%2008:45:12:548000
>HTTP/1.1] =========
>Wed Mar 20 08:45:14 2002 Content-Length=368 clength=0
>Wed Mar 20 08:45:14 2002 Going to get the post data of size 368
>Wed Mar 20 08:45:14 2002 SEARCHING
>id=[207.40.168.13:7001,207.40.168.115:7001,207.40.168.34:7001,207.40.168.118:7001]
>from current ID=[207.40.168.13:7001,207.40.168.115:7001,207.40.168.34:7001,207.40.168.118:7001]
>Wed Mar 20 08:45:14 2002
>@@@FOUND...id=[207.40.168.13:7001,207.40.168.115:7001,207.40.168.34:7001,207.40.168.118:7001],
>server_name=[p02n0310.it.sprintspectrum.com], server_port=[80]
>Wed Mar 20 08:45:14 2002 Init:
>availcookie=[WebLogicSession=PJZrt2jMA3CQTgvq2s31nz1Z1nh59Z81CQalCmaZLPWO2yVpAy71|6556818855266464983/-819419018/6/7001/7001/7002/7002/7001/-1;
>CFID=17578; CFTOKEN=9604102; FULLACCESS=1;
>CFGLOBALS=HITCOUNT%3D200%23LASTVISIT%3D%7Bts+%272002%2D03%2D06+10%3A52%3A38%27%7D%23TIMECREATED%3D%7Bts+%272001%2D11%2D03+17%3A29%3A44%27%7D%23;
>COLORS=spring; ZIPCODE=64119]
>Wed Mar 20 08:45:14 2002 PRIMARY 207.40.168.118:7001 no more in server
>list
>Wed Mar 20 08:45:14 2002 The request string is
>'/ra/controller/AuthenticationConversation/getAuthenticationXmlInfo?currenttime=03/20/2002%2008:45:12:548000'
>Wed Mar 20 08:45:14 2002 After trimming path:
>'/ra/controller/AuthenticationConversation/getAuthenticationXmlInfo?currenttime=03/20/2002%2008:45:12:548000'
>Wed Mar 20 08:45:14 2002 Now trying whatever is on the list;
>ci->canUseSrvrList = 1
>Wed Mar 20 08:45:14 2002 AttemptConnect(): Srvr# [1] =
>[207.40.168.115:7001]
>Wed Mar 20 08:45:14 2002 AttemptConnect(): Srvr# [2] =
>[207.40.168.13:7001]
>Wed Mar 20 08:45:14 2002 general list: trying connect to
>'207.40.168.13'/7001
>Wed Mar 20 08:45:14 2002 Connected to 207.40.168.13:7001
>Wed Mar 20 08:45:14 2002 Headers from the client [Accept]=[*/*]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[Accept-Encoding]=[gzip, deflate]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[accept-language]=[en-us]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[Cache-Control]=[no-cache]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[Content-Length]=[368]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[content-type]=[text/xml]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[Cookie]=[WebLogicSession=PJZrt2jMA3CQTgvq2s31nz1Z1nh59Z81CQalCmaZLPWO2yVpAy71|6556818855266464983/-819419018/6/7001/7001/7002/7002/7001/-1;
>CFID=17578; CFTOKEN=9604102; FULLACCESS=1;
>CFGLOBALS=HITCOUNT%3D200%23LASTVISIT%3D%7Bts+%272002%2D03%2D06+10%3A52%3A38%27%7D%23TIMECREATED%3D%7Bts+%272001%2D11%2D03+17%3A29%3A44%27%7D%23;
>COLORS=spring; ZIPCODE=64119]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[Host]=[rmsweb.intranet.sprintspectrum.com]
>Wed Mar 20 08:45:14 2002 Headers from the client
>[User-Agent]=[Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)]
>Wed Mar 20 08:45:14 2002 Sending header to WLS [Accept]=[*/*]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[Accept-Encoding]=[gzip, deflate]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[accept-language]=[en-us]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[Cache-Control]=[no-cache]
>Wed Mar 20 08:45:14 2002 Sending header to WLS [Content-Length]=[368]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[content-type]=[text/xml]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[Cookie]=[WebLogicSession=PJZrt2jMA3CQTgvq2s31nz1Z1nh59Z81CQalCmaZLPWO2yVpAy71|6556818855266464983/-819419018/6/7001/7001/7002/7002/7001/-1;
>CFID=17578; CFTOKEN=9604102; FULLACCESS=1;
>CFGLOBALS=HITCOUNT%3D200%23LASTVISIT%3D%7Bts+%272002%2D03%2D06+10%3A52%3A38%27%7D%23TIMECREATED%3D%7Bts+%272001%2D11%2D03+17%3A29%3A44%27%7D%23;
>COLORS=spring; ZIPCODE=64119]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[Host]=[rmsweb.intranet.sprintspectrum.com]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[User-Agent]=[Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[X-WebLogic-Force-Cookie]=[true]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[Proxy-Client-IP]=[207.167.161.73]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[X-Forwarded-For]=[207.167.161.73]
>Wed Mar 20 08:45:14 2002 Sending header to WLS
>[x-weblogic-cluster-hash]=[fw44lcQkjNI+PhjBPgtTl5Qwmi4]
>Wed Mar 20 08:45:16 2002 Header received from WLS : [HTTP/1.1 200 OK]
>= []
>Wed Mar 20 08:45:16 2002 Header received from WLS : [Server] =
>[WebLogic 5.1.0 Service Pack 11 11/20/2001 08:39:10 #149952]
>Wed Mar 20 08:45:16 2002 Header received from WLS : [Content-Length]
>= [622]
>Wed Mar 20 08:45:16 2002 Header received from WLS : [Content-Type] =
>[text/xml]
>Wed Mar 20 08:45:16 2002 Header received from WLS : [X-WebLogic-Load]
>= [0]
>Wed Mar 20 08:45:16 2002 Header received from WLS : [Set-Cookie] =
>[WebLogicSession=PJigemmFCOSmpZvQ8VD8AEn7t7RtPEEbSQqarpCmUYbNZ5nhoL9j|-9091816865617485599/-819419123/6/7001/7001/7002/7002/7001/-1;
>expires=Sunday, 11-May-2003 06:45:16 GMT; path=/]
>Wed Mar 20 08:45:16 2002 Header received from WLS : [Connection] =
>[Close]
>Wed Mar 20 08:45:16 2002 Headers to the client [Server]=[WebLogic
>5.1.0 Service Pack 11 11/20/2001 08:39:10 #149952]
>Wed Mar 20 08:45:16 2002 Headers to the client [Content-Length]=[622]
>Wed Mar 20 08:45:16 2002 Headers to the client
>[Set-Cookie]=[WebLogicSession=PJigemmFCOSmpZvQ8VD8AEn7t7RtPEEbSQqarpCmUYbNZ5nhoL9j|-9091816865617485599/-819419123/6/7001/7001/7002/7002/7001/-1;
>expires=Sunday, 11-May-2003 06:45:16 GMT; path=/]
>Wed Mar 20 08:45:16 2002 r->status=200 returning 0
>Wed Mar 20 08:46:58 2002
>
-
Libproxy sp12 behind a firewaill fails to connect to weblogic cluster
Two WLS 5.1 SP11 clustering, iPlanet4.1 w/wlproxy plugin, Solaris Box. There is a firewall in between the iPlanet WebServer and the weblogic cluster. The NSAPI proxy plugin ( libproxy.so )connects successfully to one of the weblogic cluster for the first time using the NAT IPs of the cluster m/c maintained in the obj.conf. The Response contains the actual IP of the weblogic cluster m/c which gets updated in the proxy and uses that to connect to the cluster and firewall blocks that as it is not the NAT IP. But this works fine in libproxy of weblogic 6.1 unfortunately this has a problem when the data that gets passed is more than 1000 chars.
shouldn't the connect string look like jdbc:oracle:thin:@MyIP:1521:MySID ?
-
Web Proxying to a WebLogic Cluster using the HTTPS protocol
Hi all,
I am recently involved into JWS proxying to WebLogic Cluster.
I don't have any technical problems at the moment but "conceptual" problems, that is:
- my jws proxy server should connect to a WebLogic Cluster through a Bea plugin configured wish SSL parameters;
- my jws proxy server should pass the incoming request using a load-balancing algorithm among the two nodes of the cluster, that are actually installed on two different machines;
- the jws proxy server doesn't seem to accept multiple certificates.
My question is: how can I configure my proxy plugin to route the incoming requests to my WebLogic Cluster using the https protocol? As a matter of fact, each certificate should be hostname dependent, and it looks like that the proxy plugin doesn't accept a multiple certificate configuration (and it should actually match the CN entry in the certificates with the actual hostnames of the nodes).
Any hint?
Thx a lot,
LucaIt is supported in 5.2
- Prasad
Wei Guan wrote:
> As I knew of, secure proxying is not supported yet.
> --
> Cheers - Wei
> Bob Kiep <[email protected]> wrote in message
> news:8bvvc7$7uf$[email protected]..
> > The NSAPI plugin cannot perform SSL proxying, as documented at the bottom
> of
> > this message (taken from
> > http://www.weblogic.com/docs/admindocs/nsapi.html#background). When
> > Weblogic is the proxy, can I do SSL? If someone could send me the link to
> > where is states whether is SSL or not would be very helpful.
> >
> > "The plug-in is for an environment where NES serves static pages, and a
> > Weblogic Server (operating in a different process, possibly on a different
> > host) is delegated to serve dynamic pages (such as JSPs or pages generated
> > by HTTP Servlets). The connection between WebLogic Server and the NSAPI
> > plug-in is clear text http, not SSL. To the end user -- the browser -- the
> > HTTP requests delegated to WebLogic appear to come from the same source as
> > the static pages. In other words, WebLogic on the back-end is invisible.
> > Additionally, the HTTP-tunneling facility of the WebLogic client-server
> > protocol can operate through the plug-in, providing access to all WebLogic
> > services (not just dynamic pages). "
> >
> >
Cheers
- Prasad
-
Weblogic cluster for 24x7 environment and a front OHS server
Hi experts,
We are going to set up a reliable J2EE application server environment by using clustering webgoic servers on TWO nodes, and a front OHS https server in DMZ for load balancing.
I am new to weblogic cluster and load balance by OHS. I have visited this forum for Fusion MiddleWare clustering etc. Can some experts share some light on this?
Will our deployment architecture be able to handle the J2EE applications failover? In other word, we can restart one of Weblogic Managed Servers when a new release of J2EE codes are re-deployed without impacting business end users’s usage?
Problems we want to solve:
1. All J2EE applications are available for 24x7 even when new J2EE codes are released and deployed on weblogic Managed Servers ANY TIME, side-by-side deployment and restart a managed server if we need to clean the HTTP cache.
2. The J2EE applications should be accessed by external and internal users with a Single Access Point, like
https://apps.company1.com/j2ee1
https://apps.company2.com/j2ee1
https://apps.company1.com/j2ee2
https://apps.company2.com/j2ee2
All J2EE applications (j2ee1, j2ee2, j2ee3 etc) should be deployed on both of weblogic Servers in a cluster, and pointing to a SAME backend database.
Can some experts share with us the best practices on components and configurations? Thanks.Seems your architecture is like Browser => OHS ( DMZ ) => Weblogic => DB OR Browser => HLB( like bigip ) => OHS ( DMZ ) => Weblogic => DB
Cluster is the solution for load balancing however if you are using OHS for redirection to weblogic then OHS does the load balancing in round robin way. using cluster in this way has a benefit of in case of any one of your managed server is down the OHS will divert connection request to any one of the active managed server ( you have to turn on dynamic list on at OHS ).
http://weblogicserveradministration.blogspot.com/2010/10/load-balancing-in-weblogic-server.html
Failover is something different, if in case any of the any managed server goes down then your user you get the application session from another server but new one, means the the tasks not saved by the users on earlier session will lost. for that yo need to use cluster and then need to enable the session replication. another best option is you can use the coherence web if you are using latest versions of weblogic supporting coherence web. with that you not need to worry on user sessions and you can start any of the managed server anytime without worrying about the user sessions.
http://weblogicserveradministration.blogspot.com/2010/10/manage-http-session-states-session.html
http://weblogicserveradministration.blogspot.com/2011/05/oracle-coherence-37-coherenceweb.html
http://weblogicserveradministration.blogspot.com/2010/11/clustering-part-i.html
another way is, you can use side by side deployment feature in case you don't want shutdown your application completely, with this, old connections and new requests will goes to old application and once new application activated all new requests will come to new application and once all requests on old application will complete that application will retire automatically.
Regards
Mukesh Negi
http://weblogicserveradministration.blogspot.com -
StreamCorruptedException when starting Weblogic cluster
Hi, I have an application running on Weblogic Server 8.1 sp4 in clustered environment. When the cluster is restarted the first server restarts without errors but the second one has the following error message. What does the error message mean? Some messages have disappeared form the JMS queue when the cluster has been restarted. Does this error message have something to do with the disappeared messages?
<29.9.2006 14:09:17 EEST> <Notice> <Cluster> <BEA-000138> <Listening for announcements from cluster Cluster2 on 237.0.0.6:10603.>
<29.9.2006 14:09:17 EEST> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize with other running members of Cluster2.>
<29.9.2006 14:09:47 EEST> <Notice> <Cluster> <BEA-000142> <Trying to download cluster JNDI tree from server CL2Server2.>
<29.9.2006 14:09:54 EEST> <Error> <JMS> <BEA-040368> <The following exception has occurred:
java.io.StreamCorruptedException: Unknown object stream version. 5505025
at weblogic.jms.store.BufferDataInputStream.readObject(BufferDataInputStream.java:167)
at weblogic.jms.store.JDBCIOStream.doRecoverBodies(JDBCIOStream.java:1024)
at weblogic.jms.store.JDBCIOStream.doRecover(JDBCIOStream.java:939)
at weblogic.jms.store.JDBCIOStream.recover(JDBCIOStream.java:1140)
at weblogic.jms.store.JMSStore.recover(JMSStore.java:315)
at weblogic.jms.backend.BEStore.open(BEStore.java:264)
at weblogic.jms.backend.BEStore.start(BEStore.java:151)
at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1290)
at weblogic.jms.backend.BackEnd.migratableActivate(BackEnd.java:2939)
at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
at weblogic.jms.JMSService.addJMSServer(JMSService.java:2226)
at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:754)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:733)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:509)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1560)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1528)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:946)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7691)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)Make sure that the JMS server isn't attempting to load a store that was created from a later version of WLS. Also, make sure that no two JMS servers share the same database table - otherwise they will corrupt each-other's data. I think the latter is likely the problem.
Tom
Maybe you are looking for
-
I have managed to associate my iPod Touch 5th generation, iPad 2 and my PC with my Apple ID alright, but I couldn't do this with my iPhone 4s. Granted , the iPhone was originally my mum's who lives in another country and I simply made a whole reset t
-
Installing Hp Laserjet 1018 on Ubuntu 13.10
Hplip can't see my printer, but lsusb can what can I do to get it to be found manually? I can not discover what to enter in the manual discovery options and what format to enter them in. output from my terminal console is as follows: robert@phenom:~
-
I have an apple desktop, IKEA does not support mac, so I used firefox for awhile, now I can't access the site. What happened? Thank you
-
How do I install an older version of Premiere CS6
I want to install Premiere CS6 6.0.3 but have 6.0.5 installed. I downloaded the 6.0.3 update from this page: http://www.adobe.com/support/downloads/product.jsp?product=98&platform=Windows but when I tried to install it I got an error. How do I instal
-
Final Cut Pro 5.1.2 and Protools Mbox2
Anyone have both of these running on an Intel mac? I have these setup on several edit stations, but only have problems with the two intel macs crashing when using Final Cut Pro and using the mbox2 for monitoring audio output. All stations are set up