WebLogicSession and X-WebLogic-Cluster-Hash cookies
Hello, apologies up front if this has been posted before, I haven't
been able to
find any reference to it yet. First, how do I decode the
WebLogicSession cookie
between the HttpClusterSerlvet and the HTTP client to extract the IPs of the
primary/backup cluster servers that have replicated my HTTP session?
Second,
how is the translation done between the WebLogicSession cookie
(proxy<->client)
and the X-WebLogic-Cluster-Hash (proxy<->cluster)?
Thanks in advance for any responses,
-Steven Vaughan
I'm not exactly sure what you are asking. Are you trying to configure a
hardware load balancer or something like that in front of the proxy?
If you take a look at the cookie information (you can do so online by using
safe cookies at anonymizer.com for example) you will see the IP addresses
embedded in the cookie data. Do you need to know exactly what the
information/offsets there are in that data? Could you explain what you are
trying to accomplish?
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com
+1.617.623.5782
WebLogic Consulting Available
"Steven Vaughan" <[email protected]> wrote in message
news:[email protected]..
>
> Hello, apologies up front if this has been posted before, I haven't
> been able to
> find any reference to it yet. First, how do I decode the
> WebLogicSession cookie
> between the HttpClusterSerlvet and the HTTP client to extract the IPs of
the
> primary/backup cluster servers that have replicated my HTTP session?
> Second,
> how is the translation done between the WebLogicSession cookie
> (proxy<->client)
> and the X-WebLogic-Cluster-Hash (proxy<->cluster)?
>
> Thanks in advance for any responses,
> -Steven Vaughan
>
Similar Messages
-
Active and backup weblogic cluster setup
Env: wls10 MP1 running on RHEL 4/5.
I want to setup a scheme where a weblogic application (clients connect thru ejb/t3 interface) is deployed on two independent weblogic clusters.
I want to mark one cluster as active at a time and the backup cluster to take over when the active is down. This fail over need not be automatic (can be manual).
Is setting up a proxy (for the 2 clusters )the right way to approach this ? Clients connect to the proxy address which can then decide which cluster to route to ?
The client could probably use the cluster address as t3://cluster1Addr,cluster2Addr ?
Thanx,I guess you need hardware loadbalalncer. I doubt you can acheive this federation with weblogic pre-built-in capabilities.
-
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 ?
-
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
>> >
>
-
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 -
Weblogic Cluster with i686 and Itanium
Hello,
I want to configure a Bea Weblogic 8.1 Cluster including an itanium and a i686
server.
I have sucessfully configured a weblogic cluter with 2 Sun servers.
Now I want to use for my weblogic cluster an itanium server together with an Intel
i686 server both running on linux with jrockit as jvm.
Is it possible to do this with two different hardware platforms to use a Weblogic
Cluster?
MichaelHello,
I want to configure a Bea Weblogic 8.1 Cluster including an itanium and a i686
server.
I have sucessfully configured a weblogic cluter with 2 Sun servers.
Now I want to use for my weblogic cluster an itanium server together with an Intel
i686 server both running on linux with jrockit as jvm.
Is it possible to do this with two different hardware platforms to use a Weblogic
Cluster?
Michael -
Is it possible to setup a WLS cluster having two WLS boxes seperated by
switches/routers ?
- Bhupi
Yes. you have to set you weblogic.cluster.multicastTTL greater than 1 in
order to let multicast packages pass routers.
However, it is not a good practice to set your cluster across LAN.
Cheers - Wei
Bhupinder Dhillon <[email protected]> wrote in message
news:8h909a$kt4$[email protected]..
> Is it possible to setup a WLS cluster having two WLS boxes seperated by
> switches/routers ?
>
> - Bhupi
>
>
>
>
>
-
Single sign-on in weblogic cluster?
I am using wls 7.0 sp1 that form a cluster by two managed servers each at different
physical machine.
In front of the servers, a hardware load-balancer providing a virtual ip that
mapped to the real ip of the 2 machines.
I deployed a web application to the cluster. The html & jsp files are all protected
by Form Based Authorization.
My expectation is, whenever I sign-on to the first managed server, the login credential
should also be valid for the second managed server.
But it is not the case.
My situation is:
- open brower with url: http://virtual.ip:7001/admin.jsp
- the load balancer map the request to my first managed server.
- the response from the first managed server prompt the login page for username
and password.
- after POST the information, my target admin.jsp page display properly.
- when I click the link within the admin.jsp page, eg. http://virtual.address:7001/status.jsp
there is two possibilities:
1. the load balancer route the request to the first managed server and everything
well.
or
2. the load balancer route the request to the second managed server and response
with login page again.
The second case is definitely not what I expected.
Question:
Is it the default behavior of Weblogic cluster on the single sign-on? I think
my login is against a WLS domain (at least a cluster), not to a specific web server!
Any comments are welcome.
Note my answer is not directly related to your question, but it might help.
From my experience to configure WL cluster with hardware load balancer, the session
stick (layer 7 switch) should be used (either using the session cookie, or ServerID
cookie). That is, unless one instance is down, all requests from the same session
are better go to the same server. I ever tried round-robin or random load balance
policy at hardware load balancer without session stick, and the result was as
disappointing as you have seen.
"franky c." <[email protected]> wrote:
>
>
>I am using wls 7.0 sp1 that form a cluster by two managed servers each
>at different
>physical machine.
>In front of the servers, a hardware load-balancer providing a virtual
>ip that
>mapped to the real ip of the 2 machines.
>I deployed a web application to the cluster. The html & jsp files are
>all protected
>by Form Based Authorization.
>
>My expectation is, whenever I sign-on to the first managed server, the
>login credential
>should also be valid for the second managed server.
>
>But it is not the case.
>
>My situation is:
>- open brower with url: http://virtual.ip:7001/admin.jsp
>- the load balancer map the request to my first managed server.
>- the response from the first managed server prompt the login page for
>username
>and password.
>- after POST the information, my target admin.jsp page display properly.
>- when I click the link within the admin.jsp page, eg. http://virtual.address:7001/status.jsp
> there is two possibilities:
> 1. the load balancer route the request to the first managed server
>and everything
>well.
> or
> 2. the load balancer route the request to the second managed server
>and response
>with login page again.
>
>The second case is definitely not what I expected.
>
>Question:
>Is it the default behavior of Weblogic cluster on the single sign-on?
>I think
>my login is against a WLS domain (at least a cluster), not to a specific
>web server!
>
>
>Any comments are welcome.
>
>
-
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. -
I want to disable the use of cookies in WLS 4.5, and set the following
weblogic.httpd.session.cookies.enable=false
In WLS 4.5 sp7, this correctly prevents the server from using cookies
for session-tracking, forcing the extraction of the session id from a
rewritten URL.
However, for WLS 4.5 sp11 cookies are still sent from the server
Is this a known issue ?
joI want to disable the use of cookies in WLS 4.5, and set the following
weblogic.httpd.session.cookies.enable=false
In WLS 4.5 sp7, this correctly prevents the server from using cookies
for session-tracking, forcing the extraction of the session id from a
rewritten URL.
However, for WLS 4.5 sp11 cookies are still sent from the server
Is this a known issue ?
jo -
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 -
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 -
Timesten database driver is not supported in Weblogic cluster mode??
Does anybody encounter this situation??
I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
But when we start each of managed server, I will get exception:
####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
java.lang.AssertionError: Unsupported database driver
at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
BR,
Peng
Edited by: user8028210 on Nov 25, 2010 1:18 AM
Edited by: user8028210 on Nov 25, 2010 1:19 AMDoes anybody encounter this situation??
I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
But when we start each of managed server, I will get exception:
####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
java.lang.AssertionError: Unsupported database driver
at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
BR,
Peng
Edited by: user8028210 on Nov 25, 2010 1:18 AM
Edited by: user8028210 on Nov 25, 2010 1:19 AM -
About weblogic proxy call weblogic cluster's servlet error
I use weblogic server 5.1, configruation tow weblogic cluster server and a weblogic
web server, through weblogic web server received browser's http request only,
weblogic cluster server do with jsp and servlet, now html&jsp is ok but servlet
can not do with, if through weblogic cluster server do with jsp and servlet direct,
it's ok.
this is my weblogic.properties section:
weblogic.httpd.register.*.html=\
weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.*.html=\
defaultServers=132.147.35.221:7001|132.147.35.222:7001
weblogic.httpd.register.*.jsp=\
weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.*.jsp=\
defaultServers=132.147.35.221:7001|132.147.35.222:7001
weblogic.httpd.register.*.servlet=\
weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.*.servlet=\
defaultServers=132.147.35.221:7001|132.147.35.222:7001
these are weblogic server as proxy webserver errors:
星期一 八月 20 17:42:38 GMT+08:00 2001:<I> <ServletContext-General>
helloWorld: init
星期一 八月 20 17:42:38 GMT+08:00 2001:<E> <ServletContext-General>
Servlet failed with Exception
java.lang.NullPointerException
at weblogic.servlet.internal.HttpClusterServlet.init(HttpClusterServlet.java:99)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:499)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java,
Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
tell me a right configuration please ,thanks.
############### Cluster Proxy Configuration ########################
weblogic.httpd.register.cluster=weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.cluster=defaultServers=132.147.35.221:7001|132.147.3
5.222:7001
weblogic.httpd.defaultServlet=cluster
weblogic.allow.execute.weblogic.clustler=everyone
"chris" <[email protected]> wrote in message
news:[email protected]...
>
> I use weblogic server 5.1, configruation tow weblogic cluster server and
a weblogic
> web server, through weblogic web server received browser's http request
only,
> weblogic cluster server do with jsp and servlet, now html&jsp is ok but
servlet
> can not do with, if through weblogic cluster server do with jsp and
servlet direct,
> it's ok.
>
> this is my weblogic.properties section:
> -----------------------------------------------------------------
> weblogic.httpd.register.*.html=\
> weblogic.servlet.internal.HttpClusterServlet
> weblogic.httpd.initArgs.*.html=\
> defaultServers=132.147.35.221:7001|132.147.35.222:7001
> weblogic.httpd.register.*.jsp=\
> weblogic.servlet.internal.HttpClusterServlet
> weblogic.httpd.initArgs.*.jsp=\
> defaultServers=132.147.35.221:7001|132.147.35.222:7001
> weblogic.httpd.register.*.servlet=\
> weblogic.servlet.internal.HttpClusterServlet
> weblogic.httpd.initArgs.*.servlet=\
> defaultServers=132.147.35.221:7001|132.147.35.222:7001
> -----------------------------------------------------------------
>
>
>
> these are weblogic server as proxy webserver errors:
> -----------------------------------------------------------------
> 星期一 八月 20 17:42:38 GMT+08:00 2001:<I>
<ServletContext-General>
> helloWorld: init
> 星期一 八月 20 17:42:38 GMT+08:00 2001:<E>
<ServletContext-General>
> Servlet failed with Exception
> java.lang.NullPointerException
> at
weblogic.servlet.internal.HttpClusterServlet.init(HttpClusterServlet.java:99
> at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:499)
> at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va,
> Compiled Code)
> at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:442)
> at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:20
0)
> at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:115)
> at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:922)
> at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:886)
> at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
> at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
> at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
> -----------------------------------------------------------------
>
> tell me a right configuration please ,thanks.
Maybe you are looking for
-
HELP - computer doesn't keep icons in list view, etc from one day to next
Every day when I turn on my MAC (at work), the settings from the previous day are gone. I prefer my files/folders to be in "list" view, but they are always in large icon view and scattered all over the window. Each day I have to change every folder I
-
First of all, thank you so much Nokia for this awesome firmware upgrade. My N8 became new again!!! I have a question, though, ¿Will at some point be available to us (ex-Symbian^3 users) those beautiful widgets that we can see all over the web from th
-
MacBook Air USB Superdrive Won't Accept Disks
We recently purchased a MacBook Air and our client wanted to have OS X wiped out and have Windows XP SP/2 only. In order to accomplish this, we purchased the $99 MacBook Air USB Superdrive, booted to the OS X installation CD, ran the Disk Utility, wi
-
How to create a file links .....
Hi All! I want to achieve following, using the IFS java apis. How can i do that. what classes - methods i can use from ifs. A code snippet will be really helpful. Here goes my task of creating links to a file from different folders in repository.....
-
Third Party destination in BI7
Hi, I am planning to send data from BW to external system which is a SQL server. In open hub if we select third party destination and in SM 59 if we give the destination would it send data to external system. Thanks.