WLS utils.MulticastTest syntax ?
Hi,
I am debugging a problem I have with a four-node Solaris cluster.
I try to use the utils.MulticastTest utility to see if the multicast is
working. But, I can't get the utility to work with the following error
message:
weblogic $> java -cp ./classes:./lib/weblogicaux.jar utils.MulticastTest
-a host -n 224.0.0.2
*******Problem*******
java.lang.SocketException: not in multicast
Does anyone know what might be causing this error message ?
Thanks!
/Johan
Johan,
The exception should be java.net.SocketException. Does it give a stack
trace? It should be coming from somewhere nested under
MulticastSocket.create.
What version of Solaris? If I remember correctly, it used to be that
multi-cast was not enabled by default but I think it has been since 2.6 or
2.7 (Solaris 7) (?). Check the admin guides that came with your Solaris or
check with your sys admin. (BTW I tested the command line params that you
used and they worked fine. Make sure nothing else on your network is using
that multi-cast address though.)
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com
+1.617.623.5782
WebLogic Consulting Available
"Johan Landerholm" <[email protected]> wrote in message
news:[email protected]..
> Hi,
>
> I am debugging a problem I have with a four-node Solaris cluster.
> I try to use the utils.MulticastTest utility to see if the multicast is
> working. But, I can't get the utility to work with the following error
> message:
>
> weblogic $> java -cp ./classes:./lib/weblogicaux.jar utils.MulticastTest
> -a host -n 224.0.0.2
>
> *******Problem*******
>
> java.lang.SocketException: not in multicast
>
> Does anyone know what might be causing this error message ?
> Thanks!
> /Johan
>
Similar Messages
-
Application giving error while accessing from WLS standalone 10.3
Hi All,
I am working on jdev 11.1.1.2
My application is running fine using IDE WLS.
however i am getting this warning ADFv: Could not find selected item matching value 35 of type: java.lang.String in the list-of-values.
the page contains dropdown for dates
when i deploy the application to standalone weblogic 10.3 i am getting the error for a Not Null value of database as required...
the problem is that the method on which m setting this value for this attribute is not getting called frm standalone server....
this is the log i m getting
WARNING: ADFv: Could not find selected item matching value 35 of type: java.lang.String in the list-of-values.
Jan 6, 2010 11:09:59 PM oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNING: ADF: Adding the following JSF error message: Attribute IndvHomePhone in individualEnrollmentByIndividualAppModule.IndvEnrollmentRequestView1 is required
oracle.jbo.AttrValException: JBO-27014: Attribute IndvHomePhone in individualEnrollmentByIndividualAppModule.IndvEnrollmentRequestView1 is required
at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java:186)
at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2766)
at oracle.jbo.server.EntityCache.validate(EntityCache.java:2704)
at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:2116)
at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:2205)
at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:4258)
at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:1585)
at oracle.adf.model.binding.DCBindingContainer.validateReferredDataControls(DCBindingContainer.java:4052)
at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:4011)
at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:3943)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:297)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:114)
at oracle.adf.controller.v2.lifecycle.Lifecycle$6.execute(Lifecycle.java:190)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$3.after(ADFPhaseListener.java:316)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
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:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Jan 6, 2010 11:09:59 PM oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
WARNING: ADF: Adding the following JSF error message: Attribute IndvHomePhone in individualEnrollmentByIndividualAppModule.IndvEnrollmentRequestView1 is required
oracle.jbo.AttrValException: JBO-27014: Attribute IndvHomePhone in individualEnrollmentByIndividualAppModule.IndvEnrollmentRequestView1 is required
at oracle.jbo.server.JboMandatoryAttributesValidator.validate(JboMandatoryAttributesValidator.java:186)
at oracle.jbo.server.EntityDefImpl.validate(EntityDefImpl.java:2766)
at oracle.jbo.server.EntityCache.validate(EntityCache.java:2704)
at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:2116)
at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:2205)
at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:4258)
at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:1585)
at oracle.adf.model.binding.DCBindingContainer.validateReferredDataControls(DCBindingContainer.java:4052)
at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:4011)
at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:3943)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:297)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:114)
at oracle.adf.controller.v2.lifecycle.Lifecycle$6.execute(Lifecycle.java:190)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:21)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$3.after(ADFPhaseListener.java:316)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:71)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
Edited by: user11958784 on Jan 11, 2010 8:53 AMHi,
Can you try to deploy app through WLST without using Admin console or you can use Deploy utility.
% java weblogic.Deployer [options] [actions] [file(s)]
http://docs.oracle.com/cd/E13222_01/wls/docs81/deployment/tools.html
using WLST we can deploy through following way.
Set WebLogic environment variables by running the setDomainEnv script.
Connect to WLST offline mode using below command
java weblogic.WLST
Connect to the domain using below connect command (to go online)
connect('weblogic','weblogic','t3://localhost:7001')
Syntax" deploy ('<application name>','<source location>', targets='<target server or cluster>', stageMode='<stage, no stage or external stage>', versionIdentifier='<application version>'
deploy('survey_web','D:/survey_web.war', targets='AdminServer', stageMode='nostage', versionIdentifier='10-2')
After deploying the application you can use application name with version number "survey_web (10-2)" in active state in console.
To deploy the same application with some updates, deploy the application as below in WLST.
Syntax: deploy('<application name>','<source location>', archiveVersion='<current version of application>', appVersion='<new version of application>')
deploy('survey_web','D:/survey_web.war', archiveVersion='10-2', appVersion='10-3')
This will help you to deploy the App for now but this issue need to check with Support team I request to raise a Ticket with weblogic support.
Regards,
Kal
Edited by: kalyan Pasupuleti on Jul 19, 2012 3:18 AM -
MulticastTest for Load balancing issue
Hi,
We are currently facing issues with Load balancing using IIS Proxy plug-in.
__WebLogicBridgeConfig list of dynamic servers does not return both servers. MulticastTest is the first resolution suggested by Bea Support on this page
http://support.bea.com/application_content/product_portlets/support_patterns/wls/HTTPLoadBalancingInClusterUsingProxyPlug-inPattern.html
Can someone please interpret following results of second utils.MulticastTest test.
Thanx & Reagrds,
Sagar
I carried out two multicast tests with three machines with names ES01, ES02 & STAGE with different IP & Ports on the network.
Following extract is from ES01 with IP 237.0.0.2 & port 8052. It finds 2 neighbors on lines 12 & 13 (ES02 & STAGE). Message exchange also looks fine.
1 H:\>java utils.MulticastTest -n ES01 -a 237.0.0.2 -p 8052
2 ***** WARNING ***** WARNING ***** WARNING *****
3 Do NOT use the same multicast address as a running WLS cluster.
4
5 Starting test. Hit any key to abort
6
7 Using multicast address 237.0.0.2:8052
8 Will send messages under the name ES01 every 2 seconds
9 Will print warning every 600 seconds if no messages are received
10
11 I (ES01) sent message num 1
12 New Neighbor ES02 found on message number 1
13 New Neighbor STAGE found on message number 1
14 Received message 2 from ES01
15 I (ES01) sent message num 2
16 Received message 2 from ES02
17 Received message 2 from STAGE
18 Received message 3 from ES01
19 I (ES01) sent message num 3
20 Received message 3 from ES02
21 Received message 3 from STAGE
22 Received message 4 from ES01
23 I (ES01) sent message num 4 Following extract is also from ES01 with IP 237.0.0.1 & port 8050. Note that this IP & port is also used by Weblogic cluster. In this case, test finds 3 neighbors on lines 12 & 16 (ES02 & STAGE) and another on line 13 with name "úWÿº?sr ?weblogic.rj".
I am not sure if cluster is responding here. On 2 physical machines, we have 3 services - admin, Server_1 & Server_2, shouldn't it find more "Neighbors" if cluster is responding to test?
Regarding Message exchange, there several "Duplicate messages" received from this neighbour like on line 17 and 35.
1 H:\>java utils.MulticastTest -n ES01 -a 237.0.0.1 -p 8050
2 ***** WARNING ***** WARNING ***** WARNING *****
3 Do NOT use the same multicast address as a running WLS cluster.
4
5 Starting test. Hit any key to abort
6
7 Using multicast address 237.0.0.1:8050
8 Will send messages under the name ES01 every 2 seconds
9 Will print warning every 600 seconds if no messages are received
10
11 I (ES01) sent message num 1
12 New Neighbor ES02 found on message number 1
13 New Neighbor úWÿº?sr ?weblogic.rj found on message number 1997013044
14 Received message 2 from ES01
15 I (ES01) sent message num 2
16 New Neighbor STAGE found on message number 1
17 Duplicate message from úWÿº?sr ?weblogic.rj: 1997013044
18 Received message 2 from ES02
19 Received message 3 from ES01
20 I (ES01) sent message num 3
21 Received message 2 from STAGE
22 Received message 3 from ES02
23 Received message 4 from ES01
24 I (ES01) sent message num 4
25 Received message 3 from STAGE
26 Received message 4 from ES02
27 I (ES01) sent message num 5
28 Received message 5 from ES01
29 Received message 4 from STAGE
30 Received message 5 from ES02
31 Received message 6 from ES01
32 I (ES01) sent message num 6
33 Received message 5 from STAGE
34 Received message 6 from ES02
35 Duplicate message from úWÿº?sr ?weblogic.rj: 1997013044
36 Received message 7 from ES01
37 I (ES01) sent message num 7George,
Did you have to modify anything on the ECC side to get this to work/load balance? I made all the changes explained in the How to Scale Up doc (http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c02f072f-3799-2c10-e0b8-d98d323c0908) to fully implement the Web Dispatcher.... but I was wondering how the ECC backend would know where to deliver outbound transactions. Does it get the WD system information from the SLD at the time it attempts to deliver a transaction to PI? Or do we have to update SM59 or someother configuration to make the ECC aware of the Web Dispatcher? -
How to use Muticast testing utilities with WLS ??
Hello,
Does anyone here know how we can use the muticast testing utilities that are
avilable with WLS ??
I have run it, but I don't understand how to use it...
What will it show ??
WIll it show that there is a conflict in the muticast address ??
Will it show something else ??
Whenever I run it.... it just writes a bunch of messages ot the screen.
What does that mean ??
Is there any documentation available on this utlity ??
Please help.
-Anu
see below
If your multicast is properly setup each server reports that a new
neighbor is found and it's able to accept messages from the other server.
java utils.MulticastTest -N S1 -A 224.0.0.1
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.
Starting test. Hit any key to abort
Using multicast address 224.0.0.1:7001
Will send messages under the name S1 every 2 seconds
Will print warning every 600 seconds if no messages are received
New Neighbor s2 found on message number 2
Duplicate message from s2: 2
Duplicate message from s2: 2
Duplicate message from s2: 2
Duplicate message from s2: 2
Duplicate message from S1: 1
Duplicate message from S1: 1
Duplicate message from S1: 1
Duplicate message from S1: 1
I (S1) sent message num 1
Received message 3 from s2
Duplicate message from s2: 3
Duplicate message from s2: 3
Duplicate message from s2: 3
Duplicate message from s2: 3
Received message 2 from S1
java utils.MulticastTest -N S2 -A 224.0.0.1
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.
Starting test. Hit any key to abort
Using multicast address 224.0.0.1:7001
Will send messages under the name s2 every 2 seconds
Will print warning every 600 seconds if no messages are received
Duplicate message from s2: 1
Duplicate message from s2: 1
Duplicate message from s2: 1
Duplicate message from s2: 1
I (s2) sent message num 1
Received message 2 from s2
Duplicate message from s2: 2
Duplicate message from s2: 2
Duplicate message from s2: 2
Duplicate message from s2: 2
I (s2) sent message num 2
New Neighbor S1 found on message number 1
Duplicate message from S1: 1
Duplicate message from S1: 1
Duplicate message from S1: 1
Duplicate message from S1: 1
Received message 3 from s2
Duplicate message from s2: 3
Duplicate message from s2: 3
Duplicate message from s2: 3
Duplicate message from s2: 3
I (s2) sent message num 3
Received message 2 from S1
Duplicate message from S1: 2
Duplicate message from S1: 2
Duplicate message from S1: 2
Duplicate message from S1: 2
Received message 4 from s2
Duplicate message from s2: 4
Duplicate message from s2: 4
Duplicate message from s2: 4
Duplicate message from s2: 4
I (s2) sent message num 4
Anu Kulatunga wrote:
> Hello,
>
> Does anyone here know how we can use the muticast testing utilities that are
> avilable with WLS ??
>
> I have run it, but I don't understand how to use it...
>
> What will it show ??
>
> WIll it show that there is a conflict in the muticast address ??
>
> Will it show something else ??
>
> Whenever I run it.... it just writes a bunch of messages ot the screen.
>
> What does that mean ??
>
> Is there any documentation available on this utlity ??
>
> Please help.
> -Anu
>
>
>
>
>
-
OutlineLoad utility for Classic Planning v11.1.2
Hi All,
I am using OutlineLoad.cmd utility to build dimensions for classic planning applications in v11.1.2. The utility works fine and loads dimension on my sandbox environment.
I need to load the dimensions to client's planning application. I used the following syntax to build dimension for application on client planning server, but it fails with an error message. I am able to ping the planning server successfully from my server, but cannot connect to the application using Outlineload utility.
Syntax
D:\ORCL\MW\user_projects\epmsystem1\Planning\planning1>OutlineLoad.cmd /S:<server> /A:PLANTEST /U:<username> /M /N /I:c:\Entity.csv /D:Entity /L:c:/outlineload.log /X:c:/outlineload.exc
Error
Unable to login to application "PLANTEST": The application PLANTEST is invalid.
[Tue Jan 11 12:31:10 CST 2011]Unable to obtain dimension information and/or perf
orm a data load: The application PLANTEST is invalid.
Please advise.
Any inputs will be helpful.
Thanks,
DVHave you tried to log in through the web first to see if the user you use has admin access to the app?
Also try with the native "admin" user, might help.
Cheers,
Abhishek -
MaxL script syntax: How do I add comment lines?
How do I add comment lines to MaxL scripts? REM didn't work, ' didn't work.
http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/utils/shell/syntax.htmHmm, a url delimted by "!" on either side is supposed to allow me to embed a graphic.
Apparently I am to stupid/impatient/all of the above to figure that out, so check out a code sample from my blog (I am on a roll today with references to this beast) to see what it looks like: Regards,
Cameron Lackpour -
Jrockit multicast bug on RHEL4, WLS cluster does not works!
OS and Kernel Version: Linux achilles1 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 16:59:36 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
We use Bea Weblogic 8.1SP5 with Jrockit JVM 1.4.2 on RHEL3. We upgraded to operating system to RHEL4, and found that the interface binding for multicast communication does not bind to the correct interface, it is always using the default interface. We tried it from a sample program, and found that the error is in the JVM.
This is a critical error for us, because our application server cluster use multicast for cluster communication.
No error msg. It seems like this BUG:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4082533 but it is solved.
List steps to reproduce the problem:
socket = new MulticastSocket(i);
if(s2 != null)
try
InetAddress inetaddress = InetAddress.getByName(s2);
System.out.println("Using interface at " + inetaddress.getHostAddress());
socket.setInterface(inetaddress);
System.out.println(socket.getInterface());
catch(SocketException socketexception)
throw socketexception;
}Helo,
You can reproduce it by this way (we have 6 RHEL4 servers, problem is the same). We tried with programs written in C (mcast,Tibco), multicast perfectly works on all interfaces on all servers. But in Java:
Server:
[wlxapp@webex3]$ uname -a
Linux webex3 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 17:05:24 EDT 2006 i686 i686 i386 GNU/Linux
Problem - with Bea mukticast tester (or any Java class), using the nondefault webex3-priv interface(eth1):
[wlxapp@webex3]$ java -cp wl9.jar utils.MulticastTest -N webex3_priv -I webex3_priv -A 224.1.1.11 Starting test. Hit any key to abort Using interface at 192.168.1.1 Using multicast address 224.1.1.11:7001 Will send messages under the name webex3_priv every 2 seconds Will print warning every 600 seconds if no messages are received
I (webex3_priv) sent message num 1
I (webex3_priv) sent message num 2
I (webex3_priv) sent message num 3
Did not receive any message.
But if we use the default webex3 interface (eth0)
[wlxapp@webex3]$ java -cp wl9.jar utils.MulticastTest -N webex3 -I webex3 -A 224.1.1.11 Starting test. Hit any key to abort Using interface at 10.4.20.4 Using multicast address 224.1.1.11:7001 Will send messages under the name webex3 every 2 seconds Will print warning every 600 seconds if no messages are received
I (webex3) sent message num 1
I (webex3) sent message num 2 Received message 2 from webex3
I (webex3) sent message num 3 Received message 3 from webex3
Works perfectly.
TCPDUMP:Messages are out from server(other srv also see it), so we have problems probably with receiving them:
[root@webex3]# tcpdump -i eth1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
11:42:56.647362 IP webex3_priv.idmz.t-mobile.intra.afs3-callback > 224.1.1.111.afs3-callback: rx type 95 (1472)
11:42:56.648168 IP webex3_priv.idmz.t-mobile.intra > 224.1.1.111: udp
11:42:56.648245 IP webex3_priv.idmz.t-mobile.intra > 224.1.1.111: udp
We examined the lsof output, the tester bind to all interfaces, so it should receive the messages:
[wlxapp@webex3]$ /usr/sbin/lsof -p 11127
gij 11127 wlxapp 8u IPv4 150320 UDP *:afs3-callback
We tried the test with Java 1.4.2 and 1.5 (Jrockit and Sun), the results are the same.
You can easily reproduce the problem with an RHEL4 server with 2 network interface.
Our real problem that if multicast have problems, our Weblogic clusters does not works. -
Failover is work, but Session replication doesn't work!
Dear all,
My Cluster can failover, but can't session replicate....
I start up the 2 WLS 6.0 and the Web Server, then I visit
http://web_server_ip/myWebApp/SessionServlet serveral times, then the
counter variable in the session raise up, then I down the "target" WLS, then
I try http://web_server_ip/myWebApp/SessionServlet now, I can call but the
counter restart.... so the session seems not yet replicated. what I can
do...?!
My Setup: I setup a Netscape Web Server 3.6.3 as the proxy using libproxy.so
with the cluster setting, and use 2 WLS 6.0 (both are running in 7001,7002)
as the Application Server Cluster (WLCluster). one WLS is on Unix Machine
and the other in on a NT. I set the 2 WLSs: the Primary Group is
"WL_rep_group1", and set the secondary is "WL_rep_group2".
Deployment: I deploy the application "myWebApp" (.war) on the servers unix
and nt, adn also deploy to the cluster WLCluster.
I deploy the examplesWebApp to my created domain "demo", and modify the
weblogic.xml:
<weblogic-web-app>
<session-descriptor>
<session-param>
<param-name>PersistentStoreType</param-name>
<param-value>replicated</param-value>
</session-param>
</session-descriptor>
<jsp-descriptor>
<jsp-param>
<param-name>
pageCheckSeconds
</param-name>
<param-value>
1
</param-value>
</jsp-param>
<jsp-param>
<param-name>
verbose
</param-name>
<param-value>
true
</param-value>
</jsp-param>
</jsp-descriptor>
</weblogic-web-app>
so ... anything I did wrong, so the WLS can't do Session replication??!!
Please Help or Comment!
Thanks in advance!
with thanks,
Alex Wong
Dear Vinod and Kevin,
Some more information that I think it may help.
First, I want to correct 1 point in my previous message, the Replication
Group is "WLRepGroup1" and the Preferred Secondary Group is "WLRepGroup2"
for the 2 machine WLSs.
Second, I found that the Multicast Communication is not functioning becoz
the switch of my office block the 224.0.0.1's communication, so now I added
a hub for this 2 machine, as a result the multicast is wokring... at least
pass the java utils.MulticastTest....
Thrid, after the mutlicast work, I try the SessionServlet, it is working at
beginning... but after some more clicks, one server will cause the following
error (this time crash on x.y.z.b--NT machine)....
-------- (a long list, the IPs are replaced: x.y.z.a UNIX machine, x.y.z.b
NT machine, x.y.z.c My PC)
Screen caption on demo>Servers>wlserver2 (monitoring> cluster)
Unexpected Error
Connected to x.y.z.a:7001 Active Domain: demo Jun 11, 2001 5:06:23 PM
GMT+08:00
An unexpected error was encountered in processing your request.
Exception
java.lang.NullPointerException
<>
Current Date
Mon Jun 11 17:06:23 GMT+08:00 2001
Console Release Build
6.0 Service Pack 2
Console Build
6.0 Service Pack 2 05/24/2001 11:55:28 #117037
Server Release Build
6.0 Service Pack 2
Server Build
6.0 Service Pack 2 05/24/2001 11:55:28 #117037
All Server Product Versions
WebLogic Server Build: 6.0 Service Pack 2 05/24/2001 11:55:28 #117037
WebLogic XML Module: 6.0 Service Pack 2 05/24/2001 12:34:27 #117037
Request Info
Protocol: HTTP/1.1
ServerName: x.y.z.a
ServerPort: 7001
Secure: false
ContextPath: /console
ServletPath: /panels/mbean/Server.jsp
QueryString:
mbean=demo%3AName%3Dwlserver2%2CType%3DServer
PathInfo: null
PathTranslated: null
RequestURI: /console/panels/mbean/Server.jsp
AuthType: null
ContentType: null
CharacterEncoding: null
Locale: zh_TW
Method: GET
Session:
weblogic.servlet.internal.session.MemorySessionData@661950
RequestedSessionId:
OyQxOz4LG0WnLjufYcZDkIGGXIVAhHNASdBLUs2seZnvoQ4RXekX/console
RequestedSessionIdFromCookie: true
RequestedSessionIdFromURL: false
UserPrincipal: system
RemoteUser: system
RemoteAddr: x.y.z.c
RemoteHost: x.y.z.c
Parameters
mbean = demo:Name=wlserver2,Type=Server
Attributes
console.original./console/panels/mbean/Server.jsp.ContextPath = /console
console.original./console/panels/mbean/Server.jsp.Method = GET
console.original./console/panels/mbean/Server.jsp.QueryString =
mbean=demo%3AName%3Dwlserver2%2CType%3DServer
console.original./console/panels/mbean/Server.jsp.RemoteUser = system
console.original./console/panels/mbean/Server.jsp.RequestURI =
/console/panels/mbean/Server.jsp
console.original./console/panels/mbean/Server.jsp.ServletPath =
/panels/mbean/Server.jsp
console.preferences.ContextKey =
/panels/mbean/Server.jsp
javax.servlet.include.context_path = /console
javax.servlet.include.request_uri =
/console/common/requestinfo.jsp
javax.servlet.include.servlet_path =
/common/requestinfo.jsp
javax.servlet.jsp.jspException =
java.lang.NullPointerException
weblogic.httpd.user = system
weblogic.management.console.tags.ContentTag =
java.lang.Object@545f89
weblogic.management.console.tags.HeaderTag =
java.lang.Object@4c5c6c
weblogic.management.console.tags.TabbedDialogTag =
java.lang.Object@7eafc
Headers
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Encoding = gzip, deflate
Accept-Language = zh-tw
Connection = Keep-Alive
Cookie =
JSESSIONID=OyQxOz4LG0WnLjufYcZDkIGGXIVAhHNASdBLUs2seZnvoQ4RXekX!143710744761
7668081!-896735123!7001!7002!NONE
Host = x.y.z.a:7001
User-Agent = Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
BrowserInfo
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
IE: true
Netscape: false
Supported: true
JavscriptHrefs: false
TableCellClick: true
DocumentReloadedOnResize: false
DropdownStretchable: true
CellSpacingBlank: false
EmptyCellBlank: false
ImgOnclickSupported: true
TableBorderFancy: true
PartialToWideTables: false
Server System Properties
bea.home = /u0/weblogic
file.encoding = ISO8859-1
file.encoding.pkg = sun.io
file.separator = /
java.awt.fonts =
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.awt.motif.PSPrinterJob
java.class.path =
/u0/weblogic/wlserver6.0:/u0/weblogic/wlserver6.0/lib/weblogic_sp.jar:/u0/we
blogic/wlserver6.0/lib/weblogic.jar:/opt/oracle/product/8.1.6/jdbc/lib/class
es12.zip
java.class.version = 47.0
java.ext.dirs = /u0/weblogic/jdk130/jre/lib/ext
java.home = /u0/weblogic/jdk130/jre
java.io.tmpdir = /var/tmp/
java.library.path =
/u0/weblogic/jdk130/jre/bin/../lib/sparc/hotspot:/u0/weblogic/jdk130/jre/bin
/../lib/sparc::/lib:/usr/local/easysoft/oob/client:/usr/local/easysoft/lib:/
u0/weblogic/wlserver6.0/lib/solaris:/u0/weblogic/wlserver6.0/lib/solaris/oci
816_8:/usr/lib
java.naming.factory.initial =
weblogic.jndi.WLInitialContextFactory
java.naming.factory.url.pkgs = weblogic.jndi.factories
java.protocol.handler.pkgs =
weblogic.utils|weblogic.utils|weblogic.net|weblogic.management|weblogic.net|
weblogic.net|weblogic.utils
java.runtime.name = Java(TM) 2 Runtime Environment,
Standard Edition
java.runtime.version = 1.3.0
java.security.policy =
=/u0/weblogic/wlserver6.0/lib/weblogic.policy
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.3
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.vendor.url.bug =
http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.3.0
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine
Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.3.0
javax.rmi.CORBA.PortableRemoteObjectClass =
weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass = weblogic.iiop.UtilDelegateImpl
javax.xml.parsers.DocumentBuilderFactory =
weblogic.xml.jaxp.RegistryDocumentBuilderFactory
javax.xml.parsers.SAXParserFactory =
weblogic.xml.jaxp.RegistrySAXParserFactory
jmx.implementation.name = JMX RI
jmx.implementation.vendor = Sun Microsystems
jmx.implementation.version = 1.0
jmx.specification.name = Java Management Extensions
jmx.specification.vendor = Sun Microsystems
jmx.specification.version = 1.0 Final Release
line.separator =
os.arch = sparc
os.name = SunOS
os.version = 5.6
path.separator = :
sun.boot.class.path =
/u0/weblogic/jdk130/jre/lib/rt.jar:/u0/weblogic/jdk130/jre/lib/i18n.jar:/u0/
weblogic/jdk130/jre/lib/sunrsasign.jar:/u0/weblogic/jdk130/jre/classes
sun.boot.library.path =
/u0/weblogic/jdk130/jre/lib/sparc
sun.cpu.endian = big
sun.cpu.isalist = sparcv8plus+vis sparcv8plus
sparcv8 sparcv8-fsmuld sparcv7 sparc
sun.io.unicode.encoding = UnicodeBig
user.dir = /u0/weblogic/wlserver6.0
user.home = /
user.language = en
user.name = root
user.region = US
user.timezone = Asia/Hong_Kong
weblogic.Domain = demo
weblogic.Name = wlserver1
weblogic.security.jaas.Configuration =
weblogic.security.internal.ServerConfig
weblogic.security.jaas.Policy =
/u0/weblogic/wlserver6.0/lib/Server.policy
---------- End of the message -----------
any comment?? is that I deploy on wlserver1, wlserver2, WLCluster cause
error??!! anything I did wrong??!
please help!! or Comment
with thanks,
Alex Wong
"Alex Wong" <[email protected]> ¼¶¼g©ó¶l¥ó
news:[email protected]...
> Hi Vinod and Kevin,
>
> Thanks Vinod first, and after I try the session.getClass(), I get the
> following output
> class weblogic.servlet.internal.session.ReplicatedSessionData
> I think that's means I am using "replicated" already, rite?!
>
> About the License, I cat the license.bea, there is a license to the
> "In-memory Replication - Servlet" and "In-memory Replication - EJB",
however
> it is a eval license but seems not yet expired, so I don't think that is
the
> problem, rite?
>
> And a quick question, you tell me "your configuration looks ok" means the
> H/W configuration, or the WLS configuration??!!
> Maybe I tell you more about my WLS configuration, so that, you can
> determinate where I go wrong. (thanks)
>
>
> Vinod and Kevin
> (Kevin, I am Alex Wong from ASL, if you have any comment, you can simply
> reply my personal email, thx)
>
> Steps I did to create the domain, WLS and Cluster and deploy the .war
> --- on Unix ---
> I create a demo domain and wlserver1 using port 7001 and 7002 by the
> installation program (ip x.y.z.a)
> --- on NT ---
> I create a demo domain and wlserver2 using port 7001 and 7002 by the
> installation program (ip x.y.z.b)
>
> --- on Unix ---
> start the wlserver1 with startWebLogic.sh
>
> --- My PC ---
> go http://x.y.z.a:7001/console
>
> create one more server named "wlserver2" using port 7001 and 7002
> create the cluster named "WLCluster" and fill the the cluster ip
> "x.y.z.a:7001,x.y.z.b:7001"
> fill the multi-cast ip 224.0.0.1
> add the "wlserver1" and "wlserver2" to the "WLCluster"
> stop the unix WLS
> start the unix WLS with startWebLogic.sh
>
> --- on NT ---
> start the WLS with startManagedWebLogic.sh wlserver2 http://x.y.z.a:7001
>
> --- on Unix ---
> install the NES 3.6.3 and create a WEB server instance and modify the
> obj.conf
>
> DETAIL
> ----- start of the obj.conf -----
> Init fn="load-modules" funcs="wl-proxy,wl-init"
> shlib="/opt/nes/plugins/weblogic/libproxy.so"
> Init fn="wl-init"
> .
> .
> .
> <Object name="weblogic" ppath="*">
> Service fn=wl-proxy \
> WebLogicCluster="x.y.z.a:7001,x.y.z.b:7001"
> </Object>
>
> <Object name=default>
> *NameTrans ...
> *NameTrans ...
> *NameTrans ...
> *NameTrans fn=document-root root="/opt/nes/docs"
> Service method="(GET|HEAD|POST|PUT)" type=text/jsp fn=wl-proxy \
> WebLogicCluster="x.y.z.a:7001,x.y.z.b:7001"
> .
> .
> .
> </Object>
>
> <Object name=cgi>
> .
> .
> .
> </Object>
> ----- End of the obj.conf ----- (I suppose will redirect all HTTP request
to
> WLS from NES)
>
> --- My PC ---
> go http://x.y.z.a:7001/console
> assign the DefaultWebApp_wlserver1 to wlserver1
> assign the DefaultWebApp_wlserver2 to wlserver2
> assign the console the wlserver1 only
> assign the certificate to wlserver1, wlserver2, WLCluster
> go SERVER-wlserver1 assign "WLRepGroup1" to Replication Group and
Preferred
> Secondary Group
> go SERVER-wlserver2 assign "WLRepGroup1" to Replication Group and
Preferred
> Secondary Group
>
> --- on Unix ---
> go to ./config/examples/applications/examplesWebApp/WEB-INF
> modify the weblogic.xml
> go to ./config/examples/applications/examplesWebApp
> jar cvf myWebApp.war *
> copy the myWebApp.war to ./config/demo/applications/.
> and ftp myWebApp.war ro (NT)./config/demo/applicaitons/.
>
> --- My PC ---
> And then now, I can visit http://x.y.z.a:7001/console
> now I can configuration the myWebApp.
> assign the myWebApp to wlserver1,wlserver2,WLCluster
>
> --- on Unix ---
> stop the WLS and start with startWebLogic.sh
>
> --- on NT ---
> stop the WLS and start with startManagedWebLogic.sh wlserevr2
> http://x.y.z.a:7001
>
> --- My PC ---
> visit http://x.y.z.a/myWebApp/SessionServlet (this time no port 7001,
becoz
> I want to use the NES web server to proxy the HTTP request)
>
> Finally... I can failover the SessionServlet, SnoopServlet and all the
other
> html, jsp, servlet, but seems can't load-balancing and Session
Persistence.
>
> Is that anything I did wrong, please comment!
>
>
> with thanks,
>
> Alex Wong
>
>
>
> "Vinod Mehra" <[email protected]> ¼¶¼g©ó¶l¥ó
> news:[email protected]...
> > Your configuration looks ok but I guess somehow your clustering is not
> setup
> > properly. Check if all the servers are listeniong on the same port and
> part
> > of
> > the same cluster. Also check if you have clustering license.
> >
> > Make sure your sessions are of type : "replicated". For that print
> > the value of session.getClass(), the name will give you an idea. Check
> > your logs if you got any error message.
> >
> > --Vinod.
> >
> >
> > "Alex Wong" <[email protected]> wrote in message
> > news:[email protected]...
> > > Dear all,
> > >
> > > My Cluster can failover, but can't session replicate....
> > >
> > > I start up the 2 WLS 6.0 and the Web Server, then I visit
> > > http://web_server_ip/myWebApp/SessionServlet serveral times, then the
> > > counter variable in the session raise up, then I down the "target"
WLS,
> > then
> > > I try http://web_server_ip/myWebApp/SessionServlet now, I can call but
> the
> > > counter restart.... so the session seems not yet replicated. what I
can
> > > do...?!
> > >
> > > My Setup: I setup a Netscape Web Server 3.6.3 as the proxy using
> > libproxy.so
> > > with the cluster setting, and use 2 WLS 6.0 (both are running in
> > 7001,7002)
> > > as the Application Server Cluster (WLCluster). one WLS is on Unix
> Machine
> > > and the other in on a NT. I set the 2 WLSs: the Primary Group is
> > > "WL_rep_group1", and set the secondary is "WL_rep_group2".
> > >
> > > Deployment: I deploy the application "myWebApp" (.war) on the servers
> unix
> > > and nt, adn also deploy to the cluster WLCluster.
> > >
> > > I deploy the examplesWebApp to my created domain "demo", and modify
the
> > > weblogic.xml:
> > > -------------------
> > > <weblogic-web-app>
> > >
> > > <session-descriptor>
> > > <session-param>
> > > <param-name>PersistentStoreType</param-name>
> > > <param-value>replicated</param-value>
> > > </session-param>
> > > </session-descriptor>
> > >
> > > <jsp-descriptor>
> > > <jsp-param>
> > > <param-name>
> > > pageCheckSeconds
> > > </param-name>
> > > <param-value>
> > > 1
> > > </param-value>
> > > </jsp-param>
> > > <jsp-param>
> > > <param-name>
> > > verbose
> > > </param-name>
> > > <param-value>
> > > true
> > > </param-value>
> > > </jsp-param>
> > > </jsp-descriptor>
> > >
> > > </weblogic-web-app>
> > > ---------------------
> > >
> > > so ... anything I did wrong, so the WLS can't do Session
replication??!!
> > >
> > >
> > > Please Help or Comment!
> > >
> > > Thanks in advance!
> > >
> > > with thanks,
> > >
> > > Alex Wong
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
-
Hi All/Rob,
Iam running WLS8.1+SP2 and i have 4 clusters each of these clusters contains 4
managed servers.
Now, iam getting a weired error when starting each of the instances ......this
is the Exception that iam getting:
PLEASE HELP AS THIS IS OUR PRODUCTION ISSUES ........
<Feb 25, 2004 11:42:29 AM EST> <Notice> <Security> <BEA-090082> <Security initializing
using security realm myrealm.>
<Feb 25, 2004 11:42:30 AM EST> <Notice> <WebLogicServer> <BEA-000328> <Starting
WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub">
Failed setting Group
<Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090031> <Failed to Switch
to Group rsaadmin.>
Failed setting user
<Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090033> <Failed to Switch
to User rsaadmin.>
<Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000138> <Listening for
announcements from cluster RSA on 237.0.3.11:8001.>
<Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000133> <Waiting to synchronize
with other running members of RSA.>
<Feb 25, 2004 11:43:21 AM EST> <Warning> <HTTP> <BEA-101247> <admingui.war: Public
ID references the old version of the Servlet DTD. You must change the public ID
in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN".>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000355> <Thread
"ListenThread.Default" listening on port 8020, ip address 153.2.252.189>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <Cluster> <BEA-000102> <Joining cluster
RSA on 237.0.3.11:8001>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000330> <Started
WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub" running in Production
Mode>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000360> <Server
started in RUNNING mode>
<Feb 25, 2004 12:02:23 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Feb 25, 2004 12:03:38 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Feb 25, 2004 12:09:11 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
in the network that are possibly running different versions of WebLogic Server.
These two clusters probably name the same RSA and they are using same address
237.0.3.11 and port 8001.>
<Feb 25, 2004 12:09:37 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Feb 25, 2004 12:09:59 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
in the network that are possibly running different versions of WebLogic Server.
These two clusters probably name the same RSA and they are using same address
237.0.3.11 and port 8001.>
<Feb 25, 2004 12:10:09 PM EST> <Error> <Cluster> <BEA-000110> <Multicast socket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
<Feb 25, 2004 12:12:43 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
in the network that are possibly running different versions of WebLogic Server.
These two clusters probably name the same RSA and they are using same address
237.0.3.11 and port 8001.>
<Feb 25, 2004 12:13:31 PM EST> <Error> <Cluster> <BEA-000139> <There are two clusters
in the network that are possibly running different versions of WebLogic Server.
These two clusters probably name the same RSA and they are using same address
237.0.3.11 and port 8001.>Rob,
Each cluster uses UNIQUE IP address ......but here is the information that iam
getting .....if that is in any way related to this problem ....i ran this command
bash-2.03# java -cp /xx/bea/weblogic81/server/lib/weblogic.jar utils.MulticastTest
-A 237.0.3.11
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.
Starting test. Hit any key to abort
Using multicast address 237.0.3.11:7001
Will send messages under the name 1077733276 every 2 seconds
Will print warning every 600 seconds if no messages are received
I (1077733276) sent message num 1
I (1077733276) sent message num 2
Received message 2 from 1077733276
I (1077733276) sent message num 3
Received message 3 from 1077733276
I (1077733276) sent message num 4
Received message 4 from 1077733276
I (1077733276) sent message num 5
Received message 5 from 1077733276
I (1077733276) sent message num 6
Received message 6 from 1077733276
I (1077733276) sent message num 7
Received message 7 from 1077733276
Rob Woollen <[email protected]> wrote:
First thing to check is that each cluster has its own multicast address.
It looks like the server is complaining that multiple clusters are using
237.0.3.11 and port 8001
-- Rob
steve wrote:
Hi All/Rob,
Iam running WLS8.1+SP2 and i have 4 clusters each of these clusterscontains 4
managed servers.
Now, iam getting a weired error when starting each of the instances......this
is the Exception that iam getting:
PLEASE HELP AS THIS IS OUR PRODUCTION ISSUES ........
<Feb 25, 2004 11:42:29 AM EST> <Notice> <Security> <BEA-090082> <Securityinitializing
using security realm myrealm.>
<Feb 25, 2004 11:42:30 AM EST> <Notice> <WebLogicServer> <BEA-000328><Starting
WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub">
Failed setting Group
<Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090031> <Failedto Switch
to Group rsaadmin.>
Failed setting user
<Feb 25, 2004 11:42:39 AM EST> <Error> <Security> <BEA-090033> <Failedto Switch
to User rsaadmin.>
<Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000138> <Listeningfor
announcements from cluster RSA on 237.0.3.11:8001.>
<Feb 25, 2004 11:42:39 AM EST> <Notice> <Cluster> <BEA-000133> <Waitingto synchronize
with other running members of RSA.>
<Feb 25, 2004 11:43:21 AM EST> <Warning> <HTTP> <BEA-101247> <admingui.war:Public
ID references the old version of the Servlet DTD. You must change thepublic ID
in web.xml file to "-//Sun Microsystems, Inc.//DTD Web Application2.3//EN".>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000355><Thread
"ListenThread.Default" listening on port 8020, ip address 153.2.252.189>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <Cluster> <BEA-000102> <Joiningcluster
RSA on 237.0.3.11:8001>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000330><Started
WebLogic Managed Server "rsa_nova1t_s1" for domain "Mah-sub" runningin Production
Mode>
<Feb 25, 2004 11:47:33 AM EST> <Notice> <WebLogicServer> <BEA-000360><Server
started in RUNNING mode>
<Feb 25, 2004 12:02:23 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Feb 25, 2004 12:03:38 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Feb 25, 2004 12:09:11 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
in the network that are possibly running different versions of WebLogicServer.
These two clusters probably name the same RSA and they are using sameaddress
237.0.3.11 and port 8001.>
<Feb 25, 2004 12:09:37 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Feb 25, 2004 12:09:59 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
in the network that are possibly running different versions of WebLogicServer.
These two clusters probably name the same RSA and they are using sameaddress
237.0.3.11 and port 8001.>
<Feb 25, 2004 12:10:09 PM EST> <Error> <Cluster> <BEA-000110> <Multicastsocket
receive error: java.io.StreamCorruptedException
java.io.StreamCorruptedException
at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2350)
at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2383)
at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2455)
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:2660)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:900)
at weblogic.cluster.MulticastManager.execute(MulticastManager.java:379)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
<Feb 25, 2004 12:12:43 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
in the network that are possibly running different versions of WebLogicServer.
These two clusters probably name the same RSA and they are using sameaddress
237.0.3.11 and port 8001.>
<Feb 25, 2004 12:13:31 PM EST> <Error> <Cluster> <BEA-000139> <Thereare two clusters
in the network that are possibly running different versions of WebLogicServer.
These two clusters probably name the same RSA and they are using sameaddress
237.0.3.11 and port 8001.> -
How to Setup Multicast Address on Solaris 2.6 (Back to the well again)
Basic Cluster Query,
Several weeks ago, I was thrashing about trying to verify the syntax for setting
up a multicast address on Solaris 2.6 in preparation for implementing Weblogic
6.0 clustering. The command syntax was:
ifconfig {interface}:{virtual#} plumb
ifconfig {interface}:{virtual#} {multicast_address} up
The commands succeeded on the first and second servers without errors, but unbeknownst
to me there were errors reported on the second host concerning duplicate address.
The errors were:
unix: WARNING: IP: Hardware address '08:00:20:a6:ed:0a'
trying to be our address 237.000.000.008!
The server halted today after several weeks; however, it is not clear whether
the multicast address caused the halt. Neither Weblogic nor Sun documentation
have been helpful. Can anyone provide guidance on setting up multicast address
on Solaris 2.6?
Bewildered,
Dan
Dan,
I don't think that BEA specifically takes any stand regarding the
configuration of operating systems. The problem is that the
administration of Unix machines and networking is a very complex and
sensitive subject for most companies (e.g., they have entire departments
dedicated to this) and BEA tries not to enforce any more configuration
specifications than it has to.
With regards to multicast, most newer versions of the major operating
systems (including Solaris) have support for multicast turned on "out of
the box". However, it is possible for your administrator to muck around
with your machine's network settings so that multicast does not work
properly or is disabled entirely. Most people in BEA support do not
know enough about low-level Unix TCP/IP administration to be able to
properly guide you to "configure multicast" if it is not working
properly. Even if they did, we wouldn't know what your administrator
might have done or why they did what they did so it is generally best to
get your Unix administrators involved because they really (should) have
the knowledge of the machine's configuration.
We do, however, provide a Java utility program called
utils.MulticastTest that can help you to determine whether or not
multicast is working correctly on your machine.
Hope this helps,
Robert
Dan wrote:
> Dennis,
>
> Thank you for the reply. I have tried working through the support line and
> even opened a case, but BEA will not provide any guidance on system or platform
> specific multicast addressing. They wouldn't even confirm the fact that "nothing"
> had to be done in Solaris; however, I did not mention your comments. I don't
> know why BEA takes such a position for common or well known architectures like
> Solaris, AIX, or HP/UX. Thanks again for your comments.
>
> Sincerely,
> Dan
>
>
> "Dennis Munsie" <[email protected]> wrote:
>
>>Hi,
>>
>>Multicast addresses do not need to be set from the command line. Multicast
>>addresses are independent of the normal IP address for an interface,
>>and
>>they are specified programatically when a socket is opened.
>>
>>--
>>Dennis Munsie
>>Developer Relations Engineer
>>BEA Support
>>
>>"Dan" <[email protected]> wrote in message
>>news:[email protected]...
>>
>>>Basic Cluster Query,
>>>
>>> Several weeks ago, I was thrashing about trying to verify the syntax
>>>
>>for
>>setting
>>
>>>up a multicast address on Solaris 2.6 in preparation for implementing
>>>
>>Weblogic
>>
>>>6.0 clustering. The command syntax was:
>>>
>>> ifconfig {interface}:{virtual#} plumb
>>> ifconfig {interface}:{virtual#} {multicast_address} up
>>>
>>>The commands succeeded on the first and second servers without errors,
>>>
>>but
>>unbeknownst
>>
>>>to me there were errors reported on the second host concerning duplicate
>>>
>>address.
>>
>>> The errors were:
>>>
>>> unix: WARNING: IP: Hardware address '08:00:20:a6:ed:0a'
>>> trying to be our address 237.000.000.008!
>>>
>>>The server halted today after several weeks; however, it is not clear
>>>
>>whether
>>
>>>the multicast address caused the halt. Neither Weblogic nor Sun
>>>
>>documentation
>>
>>>have been helpful. Can anyone provide guidance on setting up multicast
>>>
>>address
>>
>>>on Solaris 2.6?
>>>
>>>Bewildered,
>>> Dan
>>>
>>
>
-
Duplicate messages in mulitcast test
We are doing a multicast test on the multicast IP=224.0.0.115 port=61101. But we are getting some duplicate messages as given in the test output.
This is done from host sjh75a01,sjh75a02,sjh75a03,sjh75a04,sjh75a05
sjh75a01 neop04 $ java utils.MulticastTest -N sjh75a01 -a 224.0.0.115 -p 61101 -s 5
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.
Starting test. Hit any key to abort
Using multicast address 224.0.0.115:61101
Will send messages under the name sjh75a01 every 5 seconds
Will print warning every 600 seconds if no messages are received
I (sjh75a01) sent message num 1
Duplicate message from sjh75a01: 1
New Neighbor sjh75a02 found on message number 1
New Neighbor sjh75a03 found on message number 1
New Neighbor sjh75a04 found on message number 1
New Neighbor sjh75a05 found on message number 1
I (sjh75a01) sent message num 2
Received message 2 from sjh75a01
Duplicate message from sjh75a01: 2
Received message 2 from sjh75a02
Received message 2 from sjh75a03
Received message 2 from sjh75a04
Received message 2 from sjh75a05
we have Weblogic servers on 5 physical hosts that need to broadcast messages to each other via IP multicast (IP=224.0.0.115 port=61101). These broadcast messages are used by WebLogic servers to update their cluster membership and are hence very important.
The test results indicate that each host receives packets sent out from all other 4 hosts once, but receives the packet that it sent out twice.
For example, if host A and host B send out packets "a" and "b" respectively to the multicast IP/port, then host A receives packet "a" twice (duplicate) and packet "b" once (normal). Similarly host B receives packet "a" once (normal) and packet "b" twice (duplicate).
We wish to know if this a normal behaviourHi Deepak,
I can say from my personal experience that whenever we use same multicast ip address and port for the purpose of multicast utility then we will get the duplicate messages.
If that is not the case, then I can say the following are the reasons for duplicate packets and it is better if we can contact your network team to check the following :
***Duplicate multicast packets are symptoms of several things:***
1. An ethernet-level device (e.g. bridge) that doesn't understand multicast so reforwards it. This is easy to track to the right subnet using mtrace's packet statistics, but hard to track to the final device because it doesn't change the ethernet source address.
2. The design of the PIM protocol accepts multiple copies periodically; when there are multiple paths to a multi-access link the default state is that all routers on the link forward; PIM Assert messages elect a single router as the forwarder but periodically time out.
3. Forwarding loops. This is often due to a misconfigured router.
Please cross verify the same but I am agreeing partly with Jay as most of the times we consider that the multicast test is passed even if there is any duplicate messages. But reconsider the above reasons and trace it out along with your network team..
Thanks,
Sreedevi -
I am wondering if anyone else has encountered Multicast problems with Windows XP.
I think I am, and believe these issues are preventing the servers in my clusters
from syncing their JNDI tree bindings.
I noticed this while configuring a JMS Server and Queues in a clustered development
environment. It is a simple cluster of 2 servers both on a single Win XP machine,
see post 14712 in weblogic.developer.interest.jms (http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jms&item=14712&utag=).
I tried the MultiCast test utility (http://e-docs.bea.com/wls/docs81/admin_ref/utils.html#1199798)
and found what I think means I have a multicast problem. Output follows:
------ Begin MultiCast test utility output: ------
C:\bea\weblogic81\server\lib>java -cp weblogic.jar utils.MulticastTest -N server200
-A 237.155.155.1 -t 15
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.
Starting test. Hit any key to abort
Using multicast address 237.155.155.1:7001
Will send messages under the name server200 every 2 seconds
Will print warning every 15 seconds if no messages are received
I (server200) sent message num 1
I (server200) sent message num 2
I (server200) sent message num 3
I (server200) sent message num 4
I (server200) sent message num 5
I (server200) sent message num 6
I (server200) sent message num 7
java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive(Native Method)
at java.net.DatagramSocket.receive(Unknown Source)
at utils.MulticastTest$Receiver.run(MulticastTest.java:304)
I (server200) sent message num 8
I (server200) sent message num 9
I (server200) sent message num 10
I (server200) sent message num 11
------ End MultiCast test utility output: ------
I expected to see "Received message X from server200" messages, like I saw from
the Win2K machines I tried.
There is a Microsoft Knowledge Base Article - 827536, "An IP multicast may not
be sent correctly from Windows XP or from Windows Server 2003" (http://support.microsoft.com/default.aspx?scid=kb;en-us;827536).
The issue appears to be limited to computers with more than one network adapter
(like I have). I am pursuing the hotfix from Microsoft, but these things take
time.
Anyone else having similar issues?
Any and all help is appreciated.
I am facing a problem and believe that its because of multicast too. The problem
is seen on XP but not on W2000.
The MulticastTest when executed does not show any message exchange at all. When
a server is started I get following exception
<BEA-000364> <Server failed during initialization. Exception:weblogic.server.ServerLifecycleException:
Failed to listen on multicast address
weblogic.server.ServerLifecycleException: Failed to listen on multicast address
at weblogic.cluster.ClusterCommunicationService.initialize(ClusterCommunicationService.java:57)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:922)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.Server.main(Server.java:32)
Caused by: java.net.SocketException: error setting options
at java.net.PlainDatagramSocketImpl.join(Native Method)
at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:134)
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274)
at weblogic.cluster.FragmentSocket.initializeMulticastSocket(FragmentSocket.java:92)
at weblogic.cluster.FragmentSocket.start(FragmentSocket.java:109)
at weblogic.cluster.MulticastManager.startListening(MulticastManager.java:164)
at weblogic.cluster.ClusterCommunicationService.initialize(ClusterCommunicationService.java:52)
... 4 more
>
Are you experiencing similar problem ?
Parag
"Andy Frank" <[email protected]> wrote:
>
>I am wondering if anyone else has encountered Multicast problems with
>Windows XP.
> I think I am, and believe these issues are preventing the servers in
>my clusters
>from syncing their JNDI tree bindings.
>
>
>I noticed this while configuring a JMS Server and Queues in a clustered
>development
>environment. It is a simple cluster of 2 servers both on a single Win
>XP machine,
>see post 14712 in weblogic.developer.interest.jms (http://newsgroups2.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.jms&item=14712&utag=).
>
>
>I tried the MultiCast test utility (http://e-docs.bea.com/wls/docs81/admin_ref/utils.html#1199798)
>and found what I think means I have a multicast problem. Output follows:
>
>
>------ Begin MultiCast test utility output: ------
>C:\bea\weblogic81\server\lib>java -cp weblogic.jar utils.MulticastTest
>-N server200
>-A 237.155.155.1 -t 15
>***** WARNING ***** WARNING ***** WARNING *****
>Do NOT use the same multicast address as a running WLS cluster.
>
>
>Starting test. Hit any key to abort
>
>
>Using multicast address 237.155.155.1:7001
>Will send messages under the name server200 every 2 seconds
>Will print warning every 15 seconds if no messages are received
>
> I (server200) sent message num 1
> I (server200) sent message num 2
> I (server200) sent message num 3
> I (server200) sent message num 4
> I (server200) sent message num 5
> I (server200) sent message num 6
> I (server200) sent message num 7
>java.net.SocketTimeoutException: Receive timed out
> at java.net.PlainDatagramSocketImpl.receive(Native Method)
> at java.net.DatagramSocket.receive(Unknown Source)
> at utils.MulticastTest$Receiver.run(MulticastTest.java:304)
> I (server200) sent message num 8
> I (server200) sent message num 9
> I (server200) sent message num 10
> I (server200) sent message num 11
>------ End MultiCast test utility output: ------
>
>I expected to see "Received message X from server200" messages, like
>I saw from
>the Win2K machines I tried.
>
>
>There is a Microsoft Knowledge Base Article - 827536, "An IP multicast
>may not
>be sent correctly from Windows XP or from Windows Server 2003" (http://support.microsoft.com/default.aspx?scid=kb;en-us;827536).
> The issue appears to be limited to computers with more than one network
>adapter
>(like I have). I am pursuing the hotfix from Microsoft, but these things
>take
>time.
>
>
>Anyone else having similar issues?
>
>Any and all help is appreciated.
-
Problem in setup weblogic9.2 MP2 cluster with 2 linux (RHEL4) servers
Hi All,
We are trying to setup a clusters of weblogic 9.2 servers on 2 linux machine.
However we encounter problems when testing load balancing and session replication on the 2 servers.
We use the configure wizard to configure an adminserver, managed1 server on the 1st linux machine, and managed2 server on the 2nd linux machine. No machine or unix machine is set.
We are able to start both adminserver, managed1 and managed2 servers.
And we are able to deploy application to the cluster and run it successfully.
When we use an apache proxy or the weblogic proxy plugin as an load balancer, we are not able to use the round-robin (load-balancing) features and session replication between the two servers.
However, when we setup all the servers(adminserver,managed1,managed2) on 1 linux machine, we are enable to use the apahce/weblogic proxy plugin to do round-robin load-balancing and session replication.
We suspect it is related to multicast.
When we ping the multicast address setup on each linux machines, we can only see response from the localhost machine.
When we use util.MulticastTest on linux1 machine, it works properly with only response from linux1 machine.
When we use the same command util.MulticastTest on linux2 machine, it give the following exception:
java.net.SocketException: Not a multicast address
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:273)
at utils.MulticastTest.<init>(MulticastTest.java:82)
at utils.MulticastTest.main(MulticastTest.java:233)
-bash: /bea/weblogic92/server/lib/wlutil.jar: cannot execute binary file
Both linux servers have no firewall with iptables service stopped.
Please give us some advices on it.
Thanks!
Edited by keatonchan at 12/03/2007 12:12 AM
Edited by keatonchan at 12/03/2007 12:14 AMJust a guess, but it appears the provider-url can specify the cluster name directly, instead of having to specify the individual ports. That's probably a better way to go anyway, but I don't know if it would fix your problem. This is described at [http://e-docs.bea.com/wls/docs90/jndi/jndi.html]
-
External JDBC Connexion to Mysql in BAM Server 11g
Hi,
I try to create an external datasource to a Mysql Server.
When I test it, it runs well.
I create a data object using this external datasource, I can "Browse" all tables of the MySQL schema.
But when I try to see the CONTENT of my Data Object, I have this message :
BAM-01262: Active Data Cache server exception in openViewset().
Source: "ActiveDataCache" ID: "ADCServerException"
Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
Source: "com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1"
In the nohup file of the server, I can see this message :
SEVERE: ActiveDataCache: Exception occurred in method openViewset(_TestFSListProjet,0)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.openViewset(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.openViewset(Unknown Source)
at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
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:597)
at oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
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:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Does any body have an idea to solve this problem ?
In advance,
Thanks,
JeromeAnswer of the Second question.
2. Can you please check the data types of the columns of the MySQL table and test again one by one for which data type and for what data, this error is getting thrown?
Here is the description of the table "flyspray_projects" :
Field Type Null Key Default Extra
project_id int(3) PRI auto_increment
project_title varchar(100)
theme_style varchar(20) 0
default_cat_owner int(3) 0
intro_message longtext
project_is_active int(1) 0
visible_columns varchar(255)
others_view int(1) 0
anon_open int(1) 0
notify_email longtext
notify_jabber longtext
notify_reply text YES
notify_types varchar(100) 0
feed_img_url text YES
feed_description text YES
notify_subject varchar(100)
lang_code varchar(10) en
comment_closed int(1) 0
auto_assign int(1) 0
last_updated int(11) 0
default_task text YES
default_entry varchar(8) index
In my DataObject, I try with only ONE field.
1) With "project_id", which is a number
2) With "project_title" which is a varchar
The result was the same Error Message :
Logging Writeline(single parameter) Exception: java.lang.IllegalArgumentException: can't parse argument number - Exception occurred in method count(oracle.bam.adc.common.Modifier@33888bf4 DatasetID="_MysqlTestStringSeulement" Distinct=false AllFields=false Fields={} RecordFieldInfo=[] LookupInfo={} Ordering=[] Groupings={oracle.bam.adc.common.Groupings@366f70e Groups=[oracle.bam.adc.common.Group@366f71a FieldID="null" GroupRefID=null GroupRecordFieldInfo=[] GroupFields=[]]} Expression={null} GroupFilter={null} MaxRows=-1 TopN=-1 WithTies=false CollapseAggregates=false,true)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de '"flyspray_projects"' à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.datasets.Dataset.count(Dataset.java:4019)
at oracle.bam.adc.kernel.server.DataStoreServer.count(DataStoreServer.java:886)
at oracle.bam.adc.ejb.BamAdcServerBean.count(BamAdcServerBean.java:621)
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:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.count(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.count(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:1205)
at oracle.bam.adc.api.client.BamAdcClient.count(BamAdcClient.java:641)
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:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.count(Unknown Source)
at oracle.bam.adc.api.datasets.Dataset.count(Dataset.java:1421)
at oracle.bam.web.architect.DataObjectsView.general(DataObjectsView.java:182)
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:597)
at oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
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:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Jan 8, 2010 10:44:45 AM oracle.bam.common.logging.Log writeLine
SEVERE: ActiveDataCache: Exception occurred in method openViewset(_MysqlTestStringSeulement,0)
Exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Erreur de syntaxe près de "flyspray_projects" à la ligne 1
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2864)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1567)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1659)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3118)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1143)
at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1256)
at oracle.bam.adc.common.externaldatasources.JDBC.getDataReader(JDBC.java:335)
at oracle.bam.adc.kernel.datasets.ExternalStorageEngine.getDataReader(ExternalStorageEngine.java:76)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.DataImporter.executeQuery(DataImporter.java:95)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalData(ExternalDataManager.java:233)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.importExternalFactData(ExternalDataManager.java:156)
at oracle.bam.adc.kernel.viewsets.utilities.externaldata.ExternalDataManager.getExternalData(ExternalDataManager.java:108)
at oracle.bam.adc.kernel.viewsets.Viewset.loadData(Viewset.java:259)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.initialize(ViewsetBase.java:169)
at oracle.bam.adc.kernel.viewsets.Viewset.initialize(Viewset.java:220)
at oracle.bam.adc.kernel.viewsets.ViewsetBase.open(ViewsetBase.java:152)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.initViewset(ViewsetManager.java:368)
at oracle.bam.adc.kernel.viewsets.ViewsetManager.openViewset(ViewsetManager.java:361)
at oracle.bam.adc.kernel.server.DataStoreServer.openViewset(DataStoreServer.java:1072)
at oracle.bam.adc.ejb.BamAdcServerBean.openViewset(BamAdcServerBean.java:894)
at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.bam.adc.ejb.BamAdcServerBean.interceptor(BamAdcServerBean.java:263)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.wls.JpsWlsEjbInterceptor$1.run(JpsWlsEjbInterceptor.java:88)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsEjbInterceptor.intercept(JpsWlsEjbInterceptor.java:106)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:106)
at sun.reflect.GeneratedMethodAccessor355.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy197.openViewset(Unknown Source)
at oracle.bam.adc.ejb.BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.openViewset(BamAdcServerBean_wf34ei_BamAdcServerRemoteImpl.java:3231)
at oracle.bam.adc.api.client.BamAdcClient.openViewset(BamAdcClient.java:930)
at sun.reflect.GeneratedMethodAccessor359.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.bam.common.remoting.BamEjbProxy.invoke(BamEjbProxy.java:209)
at $Proxy196.openViewset(Unknown Source)
at oracle.bam.adc.api.viewsets.Viewset.open(Viewset.java:75)
at oracle.bam.web.architect.DataObjectsContents.internalContentsByRowID(DataObjectsContents.java:582)
at oracle.bam.web.architect.DataObjectsContents.contentsByRowID(DataObjectsContents.java:463)
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:597)
at oracle.bam.web.shared.WebPage.invokeWebMethod(WebPage.java:496)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:430)
at oracle.bam.web.shared.WebPage.processRequest(WebPage.java:312)
at jsp_servlet._6512._architect.__default._jspService(__default.java:71)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.cache.ClientSideCache.doFilter(ClientSideCache.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.GZIPFilter.doFilter(GZIPFilter.java:86)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSession.doFilter(ValidateBrowserSession.java:213)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.redirect.Redirect.doFilter(Redirect.java:79)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.ValidateBrowserSupport.doFilter(ValidateBrowserSupport.java:133)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bam.web.filters.CharsetFixupFilter.doFilter(CharsetFixupFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
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:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) -
Hi All,
Various, hopefully well documented, problems occuring. Well I think they
are problems :-)
If anybody can shed some light on some, or all, I would appreciate it very
much.
Trying to set up clustering for the first time...
I am on a multihomed W2K running WL6 SP1, addresses: 10.2.227.1 and
10.2.227.2
I am running admin server on port 7001, and the two other servers on port
7005, each with its own IP address.
Curious thing: On startup, both servers give a similar message:
<19-Mar-01 17:41:31 GMT> <Info> <Cluster> <Cannot resolve ClusterAddress:
10.2.227.1:7005,10.2.227.2:7005>
Starting Cluster Service ....
<19-Mar-01 17:41:31 GMT> <Info> <Cluster> <Joined cluster MyCluster at
address 239.200.200.0 on port 7005>
It's not clear to me whether that worked or not. It says it can't resolve
the cluster address, and then it says its joined the cluster. Is there an
error there or not? Also, why can't it resolve the clusteraddress? The
documentation says to list the IP addresses of the machine, which is what I
have done...
Near the end of the startup sequence, after starting up BOTH, I get in one
of the servers:
<19-Mar-01 17:49:18 GMT> <Info> <Cluster> <Adding server
5618757874964032231S:10.2.227.2:[7005,7005,7002,7002,7005,7002,
-1] to cluster view>
<19-Mar-01 17:49:19 GMT> <Info> <Cluster> <Adding
5618757874964032231S:10.2.227.2:[7005,7005,7002,7002,7005,7002,-1] to
the cluster>
and in the other server:
<19-Mar-01 17:49:25 GMT> <Info> <Cluster> <Adding
server -8904987319081427239S:10.2.227.1:[7005,7005,7002,7002,7005,7002
,-1] to cluster view>
<19-Mar-01 17:49:25 GMT> <Info> <Cluster> <Lost 2 multicast message(s)>
<19-Mar-01 17:49:28 GMT> <Info> <Cluster>
<Adding -8904987319081427239S:10.2.227.1:[7005,7005,7002,7002,7005,7002,-1]
to
the cluster>
Again, it is not clear whether an error occured. There was the "Lost 2
multicast messages" but it seems to have added it anyway?
My admin console says both have joined the cluster.
Another thing: When I shut them down, I get something alon gthe lines of:
<19-Mar-01 18:01:32 GMT> <Error> <Cluster> <Disconnecting from cluster
MyCluster>
<19-Mar-01 18:01:32 GMT> <Error> <Cluster> <Multicast socket receive error:
java.net.SocketException: socket closed
java.net.SocketException: socket closed at
java.net.PlainDatagramSocketImpl.receive(Native Method) at
java.net.DatagramSocket.receiveDatagramSocket.java:392) at
weblogic.cluster.FragmentSocket.receive(FragmentSocket.java:128) at
weblogic.cluster.MulticastManager.execute(MulticastManager.java:292)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)>
<19-Mar-01 18:01:32 GMT> <Info> <Cluster>
<Removing -8836117622689770913S:10.2.227.2:[7005,7005,7002,7002,7005,7002,-1
to the cluster>
Again, its not clear whetehr my cluster was actually working or not. Why
dod I get a socketexception?
I have run the utils.MulticastTest successfully - well, in that it sends and
resceives ok:
eg. E:\bea\wlserver6.0\config\KHDomain>java utils.MulticastTest -N adsf -A
239.200.200.0 -P 7003
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.
Starting test. Hit any key to abort
Using multicast address 239.200.200.0:7003
Will send messages under the name adsf every 2 seconds
Will print warning every 600 seconds if no messages are received
I (adsf) sent message num 1
Received message 2 from adsf
I (adsf) sent message num 2
I have IIS proxying requests through. MY iisproxy.ini file looks like this:
#WebLogicHost=10.2.227.1
#WebLogicPort=7005
WebLogicCluster=10.2.227.1:7005,10.2.227.2:7005
ConnectTimeoutSecs=20
ConnectRetrySecs=2
Debug=All
DebugConfigInfo=ON
When I hit 10.2.227.1 it does indeed go through to one of the servers. If I
take that server down, the requests seem to start going through to the other
server (then and only then). However, session state is lost. Obviously I
have to do something else to get session replication to start working...
Curious things happening though:
a) I get a lot of JSP recompilation - ie. I take server down, bring it up
again, and it wants to recompile every jsp again!
b) I get a lot of HTTP 500 errors coming back from IIS. A refresh usually
gets it to work. See my post in the weblogic.developer.interest.plug-in
newsgroup for more than this - it appears that IIS is having trouble talking
to the proxy (which is setup according to the book).
That about ends it! Of course, I have something working - but I doubt
whether my cluster is fully functional because of all of these errors.
Thanks
Jon
yep.
-- prasad
Gene Chuang wrote:
> I see: handles use it re-lookup the references. So this property is used only by the container and
> cannot be retrieved elsewhere?
>
> Gene
>
> "Prasad Peddada" <[email protected]> wrote in message news:[email protected]...
> > If you are using handles you have to set this property. You don't need otherwise for current
> release.
> >
> > Cheers,
> >
> > -- Prasad
> >
> >
> > Gene Chuang wrote:
> >
> > > Hi Prasad,
> > >
> > > What IS the purpose of this ClusterAddress field in 6.0? Is it simply an MBean property from
> which
> > > a client can retrieve the info so it'll know how to connect to the cluster? I'm also getting
> this
> > > "Cannot resolve ClusterAddress" warning, but my ejbs are clustering just fine.
> > >
> > > Gene
> > >
> > > "Prasad Peddada" <[email protected]> wrote in message
> news:[email protected]...
> > > > This address may be either a DNS host name that maps to multiple IP addresses
> > > > or a comma separated list of single address host names or IP addresses. It
> > > > shouldn't contain port #'s.
> > > >
> > > > -- Prasad
> > > >
> > > > Jon Mountjoy wrote:
> > > >
> > > > > Hi All,
> > > > >
> > > > > Various, hopefully well documented, problems occuring. Well I think they
> > > > > are problems :-)
> > > > > If anybody can shed some light on some, or all, I would appreciate it very
> > > > > much.
> > > > >
> > > > > Trying to set up clustering for the first time...
> > > > > I am on a multihomed W2K running WL6 SP1, addresses: 10.2.227.1 and
> > > > > 10.2.227.2
> > > > > I am running admin server on port 7001, and the two other servers on port
> > > > > 7005, each with its own IP address.
> > > > >
> > > > > Curious thing: On startup, both servers give a similar message:
> > > > >
> > > > > <19-Mar-01 17:41:31 GMT> <Info> <Cluster> <Cannot resolve ClusterAddress:
> > > > > 10.2.227.1:7005,10.2.227.2:7005>
> > > > > Starting Cluster Service ....
> > > > > <19-Mar-01 17:41:31 GMT> <Info> <Cluster> <Joined cluster MyCluster at
> > > > > address 239.200.200.0 on port 7005>
> > > > >
> > > > > It's not clear to me whether that worked or not. It says it can't resolve
> > > > > the cluster address, and then it says its joined the cluster. Is there an
> > > > > error there or not? Also, why can't it resolve the clusteraddress? The
> > > > > documentation says to list the IP addresses of the machine, which is what I
> > > > > have done...
> > > > >
> > > > > Near the end of the startup sequence, after starting up BOTH, I get in one
> > > > > of the servers:
> > > > > <19-Mar-01 17:49:18 GMT> <Info> <Cluster> <Adding server
> > > > > 5618757874964032231S:10.2.227.2:[7005,7005,7002,7002,7005,7002,
> > > > > -1] to cluster view>
> > > > > <19-Mar-01 17:49:19 GMT> <Info> <Cluster> <Adding
> > > > > 5618757874964032231S:10.2.227.2:[7005,7005,7002,7002,7005,7002,-1] to
> > > > > the cluster>
> > > > >
> > > > > and in the other server:
> > > > > <19-Mar-01 17:49:25 GMT> <Info> <Cluster> <Adding
> > > > > server -8904987319081427239S:10.2.227.1:[7005,7005,7002,7002,7005,7002
> > > > > ,-1] to cluster view>
> > > > > <19-Mar-01 17:49:25 GMT> <Info> <Cluster> <Lost 2 multicast message(s)>
> > > > > <19-Mar-01 17:49:28 GMT> <Info> <Cluster>
> > > > > <Adding -8904987319081427239S:10.2.227.1:[7005,7005,7002,7002,7005,7002,-1]
> > > > > to
> > > > > the cluster>
> > > > >
> > > > > Again, it is not clear whether an error occured. There was the "Lost 2
> > > > > multicast messages" but it seems to have added it anyway?
> > > > >
> > > > > My admin console says both have joined the cluster.
> > > > >
> > > > > Another thing: When I shut them down, I get something alon gthe lines of:
> > > > >
> > > > > <19-Mar-01 18:01:32 GMT> <Error> <Cluster> <Disconnecting from cluster
> > > > > MyCluster>
> > > > > <19-Mar-01 18:01:32 GMT> <Error> <Cluster> <Multicast socket receive error:
> > > > > java.net.SocketException: socket closed
> > > > > java.net.SocketException: socket closed at
> > > > > java.net.PlainDatagramSocketImpl.receive(Native Method) at
> > > > > java.net.DatagramSocket.receiveDatagramSocket.java:392) at
> > > > > weblogic.cluster.FragmentSocket.receive(FragmentSocket.java:128) at
> > > > > weblogic.cluster.MulticastManager.execute(MulticastManager.java:292)
> > > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137) at
> > > > > weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)>
> > > > > <19-Mar-01 18:01:32 GMT> <Info> <Cluster>
> > > > > <Removing -8836117622689770913S:10.2.227.2:[7005,7005,7002,7002,7005,7002,-1
> > > > > ]
> > > > > to the cluster>
> > > > >
> > > > > Again, its not clear whetehr my cluster was actually working or not. Why
> > > > > dod I get a socketexception?
> > > > >
> > > > > I have run the utils.MulticastTest successfully - well, in that it sends and
> > > > > resceives ok:
> > > > > eg. E:\bea\wlserver6.0\config\KHDomain>java utils.MulticastTest -N adsf -A
> > > > > 239.200.200.0 -P 7003
> > > > > ***** WARNING ***** WARNING ***** WARNING *****
> > > > > Do NOT use the same multicast address as a running WLS cluster.
> > > > > Starting test. Hit any key to abort
> > > > > Using multicast address 239.200.200.0:7003
> > > > > Will send messages under the name adsf every 2 seconds
> > > > > Will print warning every 600 seconds if no messages are received
> > > > > I (adsf) sent message num 1
> > > > > Received message 2 from adsf
> > > > > I (adsf) sent message num 2
> > > > > ...
> > > > >
> > > > > I have IIS proxying requests through. MY iisproxy.ini file looks like this:
> > > > > #WebLogicHost=10.2.227.1
> > > > > #WebLogicPort=7005
> > > > > WebLogicCluster=10.2.227.1:7005,10.2.227.2:7005
> > > > > ConnectTimeoutSecs=20
> > > > > ConnectRetrySecs=2
> > > > > Debug=All
> > > > > DebugConfigInfo=ON
> > > > >
> > > > > When I hit 10.2.227.1 it does indeed go through to one of the servers. If I
> > > > > take that server down, the requests seem to start going through to the other
> > > > > server (then and only then). However, session state is lost. Obviously I
> > > > > have to do something else to get session replication to start working...
> > > > >
> > > > > Curious things happening though:
> > > > > a) I get a lot of JSP recompilation - ie. I take server down, bring it up
> > > > > again, and it wants to recompile every jsp again!
> > > > > b) I get a lot of HTTP 500 errors coming back from IIS. A refresh usually
> > > > > gets it to work. See my post in the weblogic.developer.interest.plug-in
> > > > > newsgroup for more than this - it appears that IIS is having trouble talking
> > > > > to the proxy (which is setup according to the book).
> > > > >
> > > > > That about ends it! Of course, I have something working - but I doubt
> > > > > whether my cluster is fully functional because of all of these errors.
> > > > >
> > > > > Thanks
> > > > > Jon
> > > >
> >
Cheers
- Prasad
Maybe you are looking for
-
Urxvt ignores highlightColor in some applications since 9.09
As the subject says, since version 9.09 urxvt's highlighting behavior changed and its highlightColor setting is ignored in some applications, like vim or ncmpcpp, to name a few. Instead of using the specified color, background and foreground colors a
-
I have installed a new windows 7 computer (Dell) and downloaded the latest version of ITunes. How can I populate my music into ITunes from my I-pod classic?
-
Can the column names be changes dynamically in OBIEE presentation
Hi, Is thr any way through which I can change the column names depending on the value of a column. the table structure is Plan_name Character1 Character2 Character3 .... so here according to plan_name the meaning of each character column c
-
10.9.3 specific apps crash after first reboot.
Hey guys, I'm working on a 2 weeks old MBP 13" L2013 i5 2.6 8Gb and realised when my app crashes happen. Here's what I realised: .I turn on the mbp for the first time, install apps, apps run okay (steam, a couple adobe apps, etc. no mac specific or a
-
Nikon D3 Raw Conversion difference between ACR4.4 and CaptureNX
Digital Photography Review has just published an in depth review of the D3. In it they compare raw conversions by ACR 4.4, ViewNX 1.0.3 (Capture NX), and Capture One 4.0.1. The ViewNX conversion mirrors the camera's jpg standard; but there are signif