Weblogic cluster limit
Is there a limit on number of clusters? if it is then how far can the number of clusters be extended.
Thank you.
I think the main limits on the number of clusters and servers in a cluster are hardware resources.
As each weblogic server is just a java process depending on the resources of your box you can configure and run as many as you want.
From bea docs:
A WebLogic Server cluster consists of multiple WebLogic Server server instances running simultaneously and working together to provide increased scalability and reliability. A cluster appears to clients to be a single WebLogic Server instance. The server instances that constitute a cluster can run on the same machine, or be located on different machines. You can increase a cluster's capacity by adding additional server instances to the cluster on an existing machine, or you can add machines to the cluster to host the incremental server instances. Each server instance in a cluster must run the same version of WebLogic Server.
I am not aware of any hard limits on servers in a cluster or number of clusters.
IMHO I guess in any particular domain it is not a good idea to have more than a few clusters. Instead you should create multiple domains with related clusters in them.
Similar Messages
-
Maximum number of nodes in a Weblogic cluster on RedHat Linux?
Is there a limitation of the number of nodes in a weblogic cluster
running under RedHat Linux?
Can I start with 5 nodes and in a year scale up to 500 or 5000 nodes?
Thanks!
Ralf.
Ralf,
> Is there a limitation of the number of nodes in a weblogic cluster
> running under RedHat Linux?
A realistic limit, of course.
> Can I start with 5 nodes and in a year scale up to 500 or 5000 nodes?
If your app is completely stateless, then it can scale to 40 maybe 80
servers.
The problem is that stateless apps typically manage state that sits behind
them, and there's basically no database in the world that can handle the
load that 40 servers can put on it. Depending on the app, you can easily
saturate 4 database CPUs per 1 app server CPU, but usually the factor is
closer to 1:1, and with agressive caching in the app tier even less.
Things like stateful session bean replication and HTTP session replication
in a cluster ... well, YMMV ... but I would hypothesize that it won't scale
up anywhere close to 40 servers under load.
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"Ralf Reddin" <[email protected]> wrote in message
news:[email protected]..
>
-
How to setup weblogic cluster in 6.1 SP4
Hi All,
I have a Licensed weblogic in my solaris servers. I need to test weblogic clustering
. How can i simulate weblogic clustering is there is any easy steps to do that
and what should i do in order to make my EJB`s cluster aware. And some ppl say
that i need to take a seperate weblogic cluster license other than the weblogic
license.Kindly help me in proceeding further
Thanks in advance
Bala.J
Hi
I have same problem at beforetime.
You can do follow:
Step 1:
copy rt.jar form JDK 1.2.1\jre\lib\jar
to J2EE1.2.1\lib\system\
Step 2:
Set J2ee_classpath = c:\j2ee1.2.1\lib\system\rt.jar
Step 3:
Restart computer and J2ee
You can try it
Help can help you
David -
Having issue with start weblogic cluster with tangosol cluster
Hi,
Oracle Coherence Version 3.3.1/389p1
Grid Edition: Development mode
We are using Weblogic 8.1.5 with Tangosol 3.3.1 on Linux servers.
And we added the initializing logic in the servlet's init() method to get all NamedCaches and put into the ServletContext.
When we start weblogic cluster, the first weblogic member will startup successfully with following messages :
<Nov 7, 2007 10:12:30 AM EST> <Info> <HTTP> <BEA-101047> <[2007-11-07 10ServletContext(id=259640596,name=clusterqa,context-path=)] initObjects: init>:12:31.565 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa1/.wlnotdelete/extract/docqa1_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
2007-11-07 10:12:31.598 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
Oracle Coherence Version 3.3.1/389p1
Grid Edition: Development mode
Copyright (c) 2000-2007 Oracle. All rights reserved.
2007-11-07 10:12:31.938 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
2007-11-07 10:12:31.983 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
2007-11-07 10:12:33.267 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
2007-11-07 10:12:34.118 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2007-11-07 10:12:37.508 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Created a new cluster with Member(Id=1, Timestamp=2007-11-07 10:12:33.323, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) UID=0x0A05B056000001161AAB782BBF561F98
2007-11-07 10:12:37.736 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2007-11-07 10:12:38.168 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
<Nov 7, 2007 10:12:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=259640596,name=clusterqa,context-path=)] xslProcessor: init>
But trying to start the second weblogic member server, the startup process is stucked after tangosol cache initialization and the second weblogic member server never up running. Please see following messages :
<Nov 7, 2007 9:49:38 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initDSNames: init>
<Nov 7, 2007 9:49:42 AM EST> <Info> <HTTP> <BEA-101047> <[ServletContext(id=153019550,name=clusterqa,context-path=)] initObjects: init>
2007-11-07 09:49:43.156 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational configuration from resource "zip:/home/server/clusterqa/wls81/DOCVIEW/docqa2/.wlnotdelete/extract/docqa2_DOC_clusterqa/jarfiles/WEB-INF/lib/coherence.jar!/tangosol-coherence.xml"
2007-11-07 09:49:43.188 Oracle Coherence 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded operational overrides from file "/home/www/WEB-INF/lib/tangosol-coherence-override.xml"
Oracle Coherence Version 3.3.1/389p1
Grid Edition: Development mode
Copyright (c) 2000-2007 Oracle. All rights reserved.
2007-11-07 09:49:43.528 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): Loaded cache configuration from file "/home/www/WEB-INF/lib/pub-search-cache-config.xml"
2007-11-07 09:49:43.571 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Main Thread, member=n/a): sun.misc.AtomicLong is not supported on this JVM; using a synchronized counter. Though safe to ignore, you may upgrade to BEA's 1.5 JVM to fix this issue.
2007-11-07 09:49:44.829 Oracle Coherence GE 3.3.1/389p1 <Warning> (thread=Main Thread, member=n/a): UnicastUdpSocket failed to set receive buffer size to 1428 packets (2096304 bytes); actual size is 89 packets (131071 bytes). Consult your OS documentation regarding increasing the maximum socket buffer size. Proceeding with the actual value may cause sub-optimal performance.
2007-11-07 09:49:45.419 Oracle Coherence GE 3.3.1/389p1 <D5> (thread=Cluster, member=n/a): Service Cluster joined the cluster with senior service member n/a
2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Failed to satisfy the variance: allowed=16, actual=47
2007-11-07 09:49:45.555 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): Increasing allowable variance to 19
2007-11-07 09:49:46.040 Oracle Coherence GE 3.3.1/389p1 <Info> (thread=Cluster, member=n/a): This Member(Id=2, Timestamp=2007-11-07 09:49:45.69, Address=10.5.176.85:8088, MachineId=48981, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2) joined cluster with senior Member(Id=1, Timestamp=2007-11-07 09:45:10.205, Address=10.5.176.86:8088, MachineId=48982, Edition=Grid Edition, Mode=Development, CpuCount=4, SocketCount=2)
Could you please explain why it happens, and what should I do to resolve this issues ?
Many Thanks,
BingHi, Gene
Thank you for the response. I will send you our full log files and thread dumps.
I just want to give you more details about our cases :
1. This only happened without starting cache servers (com.tangosol.net.DefaultCacheServer).
2. And our application which are running on weblogic cluster will just call "CacheFactory.getCache("XXX")", and running as the Tangosol DataClient.
3. All weblogic member servers will be up running successfully if our cache servers are up running.
Also I tried to test another case :
Suppose all weblogic instances and cache server instances are up running. Now I trying to restart (kill weblogic instance process and restart) one of the weblogic member, It will up running successfully only if add some sleep times after killing weblogic processes and restarting it. Looks like tangosol cluster need certain time to aware the member has left cluster, then the restart process will be successful.
Questions :
1. Should we start our weblogic cluster only after cache server cluster is up running ?
2. How do we decide how many time we should wait before start new process to join the cache cluster ?
Could you please help to explain this one for me and let us if there anyway we can do to avoid the problem.
Many Thanks !!!
Bing -
No communication between the two nodes in weblogic cluster
Hi All,
We have installed weblogic cluster in our environment(LINUX 64-Redhat.5).On one node admin server ,managed server1,on second node we have managed server2.When we try to deploy application on one node it is not getting reflected in othe node.We have ran datagram test to check communication between 2 node.
Here we observed that listener and pulisher are picking wrong IPs not the server Ips.
can any one explain why and what is the problem.
thanks,
sudheer.Hi Sudheer,
While performing the datagram test you mention the ports and ip so I am not sure how they are picking wrong ip and port. Follow the instructions to perform the test http://coherence.oracle.com/display/COH35UG/Performing+a+Datagram+Test+for+Network+Performance
Re the deployments, you need to ensure that multicast is enabled in your environment and both your managed server are in the same subnet otherwise you need to specify WKA for unicast communication. I am assuming that you are building SOA infrastructure as it internally uses Coherence for deploying applications and you can follow the instructions http://download.oracle.com/docs/cd/E15523_01/core.1111/e12036/extend_soa.htm#CHDEAFJH else use the intructions as mentioned here http://download.oracle.com/docs/cd/E17904_01/web.1111/e13709/features.htm
Hope this helps!
Cheers,
NJ -
Timesten database driver is not supported in Weblogic cluster mode??
Does anybody encounter this situation??
I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
But when we start each of managed server, I will get exception:
####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
java.lang.AssertionError: Unsupported database driver
at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
BR,
Peng
Edited by: user8028210 on Nov 25, 2010 1:18 AM
Edited by: user8028210 on Nov 25, 2010 1:19 AMDoes anybody encounter this situation??
I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
But when we start each of managed server, I will get exception:
####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
java.lang.AssertionError: Unsupported database driver
at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
BR,
Peng
Edited by: user8028210 on Nov 25, 2010 1:18 AM
Edited by: user8028210 on Nov 25, 2010 1:19 AM -
Single sign-on in weblogic cluster?
I am using wls 7.0 sp1 that form a cluster by two managed servers each at different
physical machine.
In front of the servers, a hardware load-balancer providing a virtual ip that
mapped to the real ip of the 2 machines.
I deployed a web application to the cluster. The html & jsp files are all protected
by Form Based Authorization.
My expectation is, whenever I sign-on to the first managed server, the login credential
should also be valid for the second managed server.
But it is not the case.
My situation is:
- open brower with url: http://virtual.ip:7001/admin.jsp
- the load balancer map the request to my first managed server.
- the response from the first managed server prompt the login page for username
and password.
- after POST the information, my target admin.jsp page display properly.
- when I click the link within the admin.jsp page, eg. http://virtual.address:7001/status.jsp
there is two possibilities:
1. the load balancer route the request to the first managed server and everything
well.
or
2. the load balancer route the request to the second managed server and response
with login page again.
The second case is definitely not what I expected.
Question:
Is it the default behavior of Weblogic cluster on the single sign-on? I think
my login is against a WLS domain (at least a cluster), not to a specific web server!
Any comments are welcome.
Note my answer is not directly related to your question, but it might help.
From my experience to configure WL cluster with hardware load balancer, the session
stick (layer 7 switch) should be used (either using the session cookie, or ServerID
cookie). That is, unless one instance is down, all requests from the same session
are better go to the same server. I ever tried round-robin or random load balance
policy at hardware load balancer without session stick, and the result was as
disappointing as you have seen.
"franky c." <[email protected]> wrote:
>
>
>I am using wls 7.0 sp1 that form a cluster by two managed servers each
>at different
>physical machine.
>In front of the servers, a hardware load-balancer providing a virtual
>ip that
>mapped to the real ip of the 2 machines.
>I deployed a web application to the cluster. The html & jsp files are
>all protected
>by Form Based Authorization.
>
>My expectation is, whenever I sign-on to the first managed server, the
>login credential
>should also be valid for the second managed server.
>
>But it is not the case.
>
>My situation is:
>- open brower with url: http://virtual.ip:7001/admin.jsp
>- the load balancer map the request to my first managed server.
>- the response from the first managed server prompt the login page for
>username
>and password.
>- after POST the information, my target admin.jsp page display properly.
>- when I click the link within the admin.jsp page, eg. http://virtual.address:7001/status.jsp
> there is two possibilities:
> 1. the load balancer route the request to the first managed server
>and everything
>well.
> or
> 2. the load balancer route the request to the second managed server
>and response
>with login page again.
>
>The second case is definitely not what I expected.
>
>Question:
>Is it the default behavior of Weblogic cluster on the single sign-on?
>I think
>my login is against a WLS domain (at least a cluster), not to a specific
>web server!
>
>
>Any comments are welcome.
>
>
-
About weblogic proxy call weblogic cluster's servlet error
I use weblogic server 5.1, configruation tow weblogic cluster server and a weblogic
web server, through weblogic web server received browser's http request only,
weblogic cluster server do with jsp and servlet, now html&jsp is ok but servlet
can not do with, if through weblogic cluster server do with jsp and servlet direct,
it's ok.
this is my weblogic.properties section:
weblogic.httpd.register.*.html=\
weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.*.html=\
defaultServers=132.147.35.221:7001|132.147.35.222:7001
weblogic.httpd.register.*.jsp=\
weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.*.jsp=\
defaultServers=132.147.35.221:7001|132.147.35.222:7001
weblogic.httpd.register.*.servlet=\
weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.*.servlet=\
defaultServers=132.147.35.221:7001|132.147.35.222:7001
these are weblogic server as proxy webserver errors:
星期一 八月 20 17:42:38 GMT+08:00 2001:<I> <ServletContext-General>
helloWorld: init
星期一 八月 20 17:42:38 GMT+08:00 2001:<E> <ServletContext-General>
Servlet failed with Exception
java.lang.NullPointerException
at weblogic.servlet.internal.HttpClusterServlet.init(HttpClusterServlet.java:99)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:499)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java,
Compiled Code)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:442)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
tell me a right configuration please ,thanks.
############### Cluster Proxy Configuration ########################
weblogic.httpd.register.cluster=weblogic.servlet.internal.HttpClusterServlet
weblogic.httpd.initArgs.cluster=defaultServers=132.147.35.221:7001|132.147.3
5.222:7001
weblogic.httpd.defaultServlet=cluster
weblogic.allow.execute.weblogic.clustler=everyone
"chris" <[email protected]> wrote in message
news:[email protected]...
>
> I use weblogic server 5.1, configruation tow weblogic cluster server and
a weblogic
> web server, through weblogic web server received browser's http request
only,
> weblogic cluster server do with jsp and servlet, now html&jsp is ok but
servlet
> can not do with, if through weblogic cluster server do with jsp and
servlet direct,
> it's ok.
>
> this is my weblogic.properties section:
> -----------------------------------------------------------------
> weblogic.httpd.register.*.html=\
> weblogic.servlet.internal.HttpClusterServlet
> weblogic.httpd.initArgs.*.html=\
> defaultServers=132.147.35.221:7001|132.147.35.222:7001
> weblogic.httpd.register.*.jsp=\
> weblogic.servlet.internal.HttpClusterServlet
> weblogic.httpd.initArgs.*.jsp=\
> defaultServers=132.147.35.221:7001|132.147.35.222:7001
> weblogic.httpd.register.*.servlet=\
> weblogic.servlet.internal.HttpClusterServlet
> weblogic.httpd.initArgs.*.servlet=\
> defaultServers=132.147.35.221:7001|132.147.35.222:7001
> -----------------------------------------------------------------
>
>
>
> these are weblogic server as proxy webserver errors:
> -----------------------------------------------------------------
> 星期一 八月 20 17:42:38 GMT+08:00 2001:<I>
<ServletContext-General>
> helloWorld: init
> 星期一 八月 20 17:42:38 GMT+08:00 2001:<E>
<ServletContext-General>
> Servlet failed with Exception
> java.lang.NullPointerException
> at
weblogic.servlet.internal.HttpClusterServlet.init(HttpClusterServlet.java:99
> at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:499)
> at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va,
> Compiled Code)
> at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:442)
> at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:20
0)
> at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:115)
> at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:922)
> at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:886)
> at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
> at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
> at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled
Code)
> -----------------------------------------------------------------
>
> tell me a right configuration please ,thanks.
-
Hi,
I am using Patchset3 (JDeveloper 11.1.1.4/ weblogic server 10.3.4). I was wondering how i can remote debug with
a) weblogic managed server that is part of a weblogic cluster
b) the cluster itself that contains multiple managed servers.
Note that i do understand how to remote debug against a weblogic server (e.g. http://jdeveloperfaq.blogspot.com/2009/12/faq-4-how-to-remote-debug-adf.html), but have not been able to find out how i can achieve this against a cluster that has multiple managed servers. Any directions will be appreciated.
Thanks,Hi,
haven't tried it but here are some suggestions that might be of help:
1) Each managed server for each cluster node should be setup for remote debugging. This means that each managed server must be started with the -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n* options in the WebLogic start-up script. Also Tunneling must be enabled for each managed server for each cluster node.
2) Make sure that you specify a different connection port for each managed server. This is indicated by the address* specifier above.
3) It seems logical to me that you will need to start separate instances of JDeveloper - one for each managed server that you need to attach to.
Let us know how it turns out,
Nick -
Caching read-only data in a weblogic cluster: Need Help
Hello,
I'm working on the development of a web site that will be based on a weblogic cluster spread across several weblogic instances running on several unix boxes.
To avoid frequent hits to the database, I would like hold a huge amount of data in the application's in-memory cache. The idea is to query the database at startup and store the results in memory for the life of the JVM.
I have three questions around this:
1. Is it advisable to store this data in the form of read-only entity beans?
2. If not, what other options do I have?
3. In some rare cases, a back-end script might change (and commit) data contained in one or two of these 64000 records. What is the best way of propagating these data changes across the cluster?
Any help in this regard would be greatly appreciated.
Regards,
Dipak JhaCould somebody please guide me on this?
Dipak Jha -
Apache Proxy Plugin with SSL in Weblogic Cluster
Hi,
I have configured a weblogic cluster and configured SSL. Then I configured the apache plugin to work with the cluster machines with non ssl and worked succesfull but when I configured the ssl communication between apache and weblogic I´m having problems.
The actual configuration is:
<Location /spmlws>
SetHandler weblogic-handler
WLLogFile /var/log/httpd/tmpweblogic1.log
DebugConfigInfo ON
Debug ALL
KeepAliveEnabled ON
KeepAliveSecs 15
WebLogicPort 7002
SecureProxy ON
TrustedCAFile /opt/freeware/etc/httpd/conf/trustedCA35cert.pem
TrustedCAFile /opt/freeware/etc/httpd/conf/trustedCA36cert.pem
WLProxySSL ON
RequireSSLHostMatch false
WebLogicCluster machine35:7002,machine36:7002
EnforceBasicConstraints false
</Location>
The problem is that the plugin always takes the last TrustedCAFile. In this way if machine36 is down the plugin tries to send all the request to machine35 but it takes the TrustedCAFile for the machine36 (/opt/freeware/etc/httpd/conf/trustedCA36cert.pem) hence the apache complains
[Wed Jun 30 11:13:56 2010] [error] [client 10.19.232.249] ap_proxy: trying GET /spmlws/OIMProvisioning at backend host '10.19.232.97/7002; got exception 'WRITE_ERROR_TO_SERVER [os error=0, line 796 of ../nsapi/URL.cpp]: '
What can I do to have multiple TrustedCAFile or to have working the communication between apache and weblogic cluster using SSL?
thanks in advanceAcording to the documentation this is not possible.
One way to achieve the load balancing of n-weblogic servers in cluster using ssl is to configure de HttpClusterServlet. -
Installing LC 8.2 on WebLogic cluster
Hi,<br /><br />We are trying to install LC 8.2 on a WebLogic cluster running on Solaris (SunOS 5.10) with a Oracle Database (10.2.0.3)<br /><br />The configuration manager stops during the task 'LiveCycle Component Deployment' with the following output:<br /><br /> Loading state from service container <br />Deploying DSC adobe-ejbprovider-dsc.jar<br /> DSC already running adobe-ejbprovider-dsc.jar<br />Deploying DSC adobe-soapConnector-dsc.jar<br /> DSC already running adobe-soapConnector-dsc.jar<br />Deploying DSC adobe-remotingConnector-dsc.jar<br /> DSC already running adobe-remotingConnector-dsc.jar<br />Deploying DSC adobe-usermanager-dsc.jar<br /> DSC already running adobe-usermanager-dsc.jar<br />Deploying DSC adobe-usermanager-util-dsc.jar<br /> DSC already running adobe-usermanager-util-dsc.jar<br />Deploying DSC adobe-jobmanager-dsc.jar<br /> DSC already running adobe-jobmanager-dsc.jar<br />Deploying DSC adobe-scheduler-weblogic-dsc.jar<br /> DSC already running adobe-scheduler-weblogic-dsc.jar<br />Deploying DSC adobe-cacheservice-dsc.jar<br /> DSC already running adobe-cacheservice-dsc.jar<br />Deploying DSC adobe-event-dsc.jar<br /> DSC already running adobe-event-dsc.jar<br />Deploying DSC adobe-emailprovider-dsc.jar<br /> DSC already running adobe-emailprovider-dsc.jar<br />Deploying DSC adobe-fileprovider-dsc.jar<br /> DSC already running adobe-fileprovider-dsc.jar<br />Deploying DSC adobe-truststore-dsc.jar<br /> DSC already running adobe-truststore-dsc.jar<br />Deploying DSC adobe-workflow-dsc.jar<br /> DSC already running adobe-workflow-dsc.jar<br />Deploying DSC adobe-repository-dsc.jar<br /> DSC already running adobe-repository-dsc.jar<br />Deploying DSC adobe-repository-provider-dsc.jar<br /> DSC already running adobe-repository-provider-dsc.jar<br />Deploying DSC adobe-applicationmanager-dsc.jar<br /> DSC already running adobe-applicationmanager-dsc.jar<br />Deploying DSC adobe-businesscalendar-dsc.jar<br /> DSC already running adobe-businesscalendar-dsc.jar<br />Deploying DSC adobe-email-dsc.jar<br /> DSC already running adobe-email-dsc.jar<br />Deploying DSC adobe-fileutils-dsc.jar<br /> DSC already running adobe-fileutils-dsc.jar<br />Deploying DSC adobe-ftp-dsc.jar<br /> DSC already running adobe-ftp-dsc.jar<br />Deploying DSC adobe-jdbc-dsc.jar<br /> DSC already running adobe-jdbc-dsc.jar<br />Deploying DSC adobe-jms-dsc.jar<br /> DSC already running adobe-jms-dsc.jar<br />Deploying DSC adobe-ldap-dsc.jar<br /> DSC already running adobe-ldap-dsc.jar<br />Deploying DSC adobe-variablelogger-dsc.jar<br /> DSC already running adobe-variablelogger-dsc.jar<br />Deploying DSC adobe-webservice-dsc.jar<br /><br />STDOUT fra configurationManager'en siger f.eks. flg:<br /><br />[2008-12-29 16:24:25,132], SEVERE, Thread-29,<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy<br />component<br />/export/home/domadob/projects/livecycle8.2/deploy/adobe-webservice-dsc.jar.<br />com.adobe.livecycle.lcm.core.LCMException[ALC-LCM-030-200]: Failed to<br />deploy component<br />/export/home/domadob/projects/livecycle8.2/deploy/adobe-webservice-dsc.jar.<br /> at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCs.deployDSCFiles(DeployDSCs.java:39 6)<br /> at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCs.deployDSCs(DeployDSCs.java:149)<b r /> at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCsTask$ActualTask.<init>(DeployDSCsT ask.java:84)<br /> at<br />com.adobe.livecycle.lcm.feature.deployment.DeployDSCsTask$1.construct(DeployDSCsTask.ja va:56)<br /> at<br />com.adobe.livecycle.lcm.core.tasks.SwingWorker$2.run(SwingWorker.java:114)<br /> at java.lang.Thread.run(Thread.java:595)<br />Caused by: java.io.IOException: ORA-22990: LOB locators cannot span<br />transactions<br /><br /> at<br />com.adobe.pof.adapter.oracle.Oracle9iAdapter.updateObject(Oracle9iAdapter.java:655)<br /> at<br />com.adobe.pof.adapter.JDBCAdapter.updateObject(JDBCAdapter.java:479)<br /> at<br />com.adobe.pof.omapi.POFObjectManagerImpl.writeObject(POFObjectManagerImpl.java:254)
Hello,
Could you get any answers for this apart from the forum? I face the same situation on a non-clustered WebSphere server. We have a case open but no solution yet...
The error message is as follows:
[2008-12-31 17:55:48,689], SEVERE , Thread-5, com.adobe.livecycle.lcm.feature.deployment.DeployDSCs, Failed to deploy component ../working/deployLC/deploy/adobe-scheduler-websphere-dsc.jar.
Regards -
Singleton Classes in Weblogic cluster
Hi
Our application is having singleton classes which we refresh programatically ;though very rarely. We need to move our application into a weblogic cluster. The sigleton class refresh also needs to reflect across the servers :
I could see the SingletonService API here http://download.oracle.com/docs/cd/E12839_01/apirefs.1111/e13941/weblogic/cluster/singleton/SingletonService.html. This contain an activate() and deactivate() .Can we call this activate() method to refresh the singleton object whenever there is a refresh required ? Can we define multiple singleton service classes in the cluster ?
Thanks
SuneeshI've same issue with singleton service...
1) I’ve created a cluster MyCluster with Man1 & Man2 managed instances.
2) I’ve created singleton.jar out of TestCache.java, which is a singleton cache and have deployed it to the MyCluster.
3) I’ve created man.jar out of StartupClassMan.java, which is a startup class and have deployed it to the MyCluster. And I’ve specified this as startup class for the whole MyCluster.
4) For MyCluster, I’ve specified com.mytest.TestCache.class as singleton service with preferred server as Man1 with migratable to Man2.
5) I run Man1, startup class StartupClassMan is invoked and it gets reference to TestCache, populates the cache & prints size as 1.
6) Now when I run Man2, startup class StartupClassMan is invoked and it get references to TestCache & populates the cache & prints size as 1 only.
For some reason, TestCache is not considered as true singleton. If it is true singleton, running Man2 should have printed size 2 as Man1 has already put one entry into the cache.
And I also don't see activate & deactivate method being called when I run Man1 or Man2 servers. Any help on this is really appreciated.
package com.mytest;
import java.util.Map;
import java.util.HashMap;
public class TestCache implements weblogic.cluster.singleton.SingletonService
private static TestCache testCache = new TestCache();
private Map<String, String> mapCache = new HashMap<String, String>();
private TestCache() {}
public void activate() {
System.out.println("TestCache activate called");
public void deactivate() {
System.out.println("TestCache deactivate called");
public static TestCache getTestCache() {
return testCache;
public void put(String key, String value) {
mapCache.put(key, value);
public String get(String key) {
return mapCache.get(key);
public void remove(String key) {
mapCache.remove(key);
public int size() {
return mapCache.size();
package com.mytest;
public class StartupClassMan
public static void main(String args[]) {
System.out.println("StartupClassMan loaded");
TestCache testCache = TestCache.getTestCache();
testCache.put("Man1","Man1");
System.out.println("size: "+testCache.size());
} -
Libproxy sp12 behind a firewaill fails to connect to weblogic cluster
Two WLS 5.1 SP11 clustering, iPlanet4.1 w/wlproxy plugin, Solaris Box. There is a firewall in between the iPlanet WebServer and the weblogic cluster. The NSAPI proxy plugin ( libproxy.so )connects successfully to one of the weblogic cluster for the first time using the NAT IPs of the cluster m/c maintained in the obj.conf. The Response contains the actual IP of the weblogic cluster m/c which gets updated in the proxy and uses that to connect to the cluster and firewall blocks that as it is not the NAT IP. But this works fine in libproxy of weblogic 6.1 unfortunately this has a problem when the data that gets passed is more than 1000 chars.
shouldn't the connect string look like jdbc:oracle:thin:@MyIP:1521:MySID ?
-
Timesten database driver is not supported in Weblogic Cluster mode domain??
Does anybody encounter this situation??
I have 2 managed server in a Weblogic cluster domain and there is DataSource for them.
In each managed server, I setup Timesten client correctly to connect to Timesten Oracle DB cache server.
But when we start each of managed server, I will get exception:
####<Nov 22, 2010 6:03:24 PM CST> <Critical> <WebLogicServer> <Machine1> <Main Thread> <<WLS Kernel>> <1290420204498> <BEA-000386> <Server subsystem failed. Reason: java.lang.AssertionError:
java.lang.AssertionError: Unsupported database driver
at weblogic.cluster.singleton.QueryHelperImpl.getTimeFunction(QueryHelperImpl.java:88)
at weblogic.cluster.singleton.QueryHelper.getLeaseOwnerQuery(QueryHelper.java:110)
at weblogic.cluster.singleton.DatabaseLeasingBasis.pingDB(DatabaseLeasingBasis.java:411)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:465)
at weblogic.cluster.singleton.DatabaseLeasingBasis.getJDBCConnection(DatabaseLeasingBasis.java:507)
at weblogic.cluster.singleton.DatabaseLeasingBasis.findOwner(DatabaseLeasingBasis.java:305)
at weblogic.cluster.singleton.LeaseManager.findOwner(LeaseManager.java:218)
at weblogic.cluster.singleton.MigratableServerService.findSingletonMaster(MigratableServerService.java:201)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.syncStateFromActiveStateManager(ReplicatedSingletonServicesStateManager.java:618)
at weblogic.cluster.singleton.ReplicatedSingletonServicesStateManager.<init>(ReplicatedSingletonServicesStateManager.java:168)
at weblogic.cluster.singleton.SingletonMonitor.<init>(SingletonMonitor.java:97)
at weblogic.cluster.singleton.SingletonMaster.<init>(SingletonMaster.java:44)
at weblogic.cluster.singleton.MigratableServerService.initialize(MigratableServerService.java:142)
at weblogic.cluster.singleton.MigratableServerService.start(MigratableServerService.java:436)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
But if I create a standalone domain, still use the same datasource(still this timesten server), weblogic server can start successfully.
BR,
PengHi,
I have use WebLogic Server Console, tree: Services -> JDBC -> Connection Pools. Then I have choose 'Configure a new JDBC Connection Pool...':
1.) as 'Database Type:' I have select MySQL (version using com.mysql.jdbc.Driver) -> click 'Continue' button;
2.) 'Database Name:' = OSS; 'Host Name' = localhost; 'Port' = 3306; 'Database User Name:' = root; -> click 'Continue' button;
3.) 'Driver Classname:' = com.mysql.jdbc.Driver; 'URL:' = jdbc:mysql://localhost:3306/OSS; 'Database User Name:' = root; 'Properties:' = user=root -> click to 'Test Driver Configuration' button.
After click on test driver button I get message: JDBC driver is not on the CLASSPATH.
But when I check System variables (in Control Panel -> System) I have set up following:
CLASSPATH=.;C:\DB2\java\db2java.zip;C:\DB2\java\db2jcc.jar;C:\DB2\java\sqlj.zip;C:\DB2\java\db2jcc_license_cu.jar;C:\DB2\bin;C:\DB2\java\common.jar;C:\DBS\JDBC\db2\db2.jar;C:\DB2\BIN;c:\mysql.jar
The last value is 'c:\mysql.jar' and that's the mysql jdbc driver located on c:\.
I don't understand why weblogic cannot find it.
Any idea?
Thanks in advance for help,
with best regards,
Julian Legeny
Maybe you are looking for
-
Trouble connecting a monitor/pr​oject hp pavilion dv6
Cant get display on both screens. Initially screen shrank on connecting monitor but have fixed this by changing the resolution. Have selected Duplicate on both screens in the "connect to a projector" but sill blank on the monitor. Compure is recog
-
I end up having to take a lot of high sample rate data for relativily long periods of time. When I save the data it is usually over 100 MB. When I load the data for post-processing though the amount of memory used is excessively higher than the file
-
EWT adjustment advance payment
Hello All, The Scenario is like this. Advance payment made Rs.10000/- through special GL TDS deducted is say Rs.225/-on advance Rs.10000/-. Invoice Recd Rs.20000/-. So how should I enter this invoice as I have to adjust TDS already deducted Rs.225/-
-
Hi All, I was wondering if there is a possibility to create a kind of droplet for InDesign CS3 (Windows), were you can drop an InDesign Interchange (.inx) that creates a PDF with a certain preset? After translation I want a possibility for translator
-
Error in EJB deployment (Cannot CreateProcess)
Hi, I have a WebAs 6.40 SP11(J2EE Engine & ABAP Engine) and NDS 2.0.11 installed on a Windows 2000 server and i am trying to deploy an EJB Application (the Car-Rental Tutorial. When I try to deploy the application onto J2EE engine, the deploy aborts