How to deploy WebLogic Cluster on a Blade?
Hi, I am looking for recommendations on how ( if it makes sense ) to deploy WebLogic
Cluster on the (Intel) Blade HW. The question is, actually, caused by the fact
that the Blade is totally redundant and load-balanced HW where the requests are
managed by a Big-IP module ( and redirected to the IPs on the internal Blade Cassettes
One of possible solutions, we discuss now, is "either-or", i.e. let's discard
the App.Server cluster and use the HW cluster. This might work for the request
load balance but we loose all other, out-of-the-box, cluster features like session,
EJB, JNDI and so on failover and balance features.
Any notes with this regard will be greatly appreciated.
Thanks, - Michael
P.S. I repeated the same question om "cluster" Newsgroup but have not seen any
responds so far.
It sounds like you're getting request routing and fail-over in front of
WLS with the Big-IP. Typically people would enable WLS clustering to
get replicated HTTP sessions in an environment like this.
-- Rob
Michael Poulin wrote:
Hi, I am looking for recommendations on how ( if it makes sense ) to deploy WebLogic
Cluster on the (Intel) Blade HW. The question is, actually, caused by the fact
that the Blade is totally redundant and load-balanced HW where the requests are
managed by a Big-IP module ( and redirected to the IPs on the internal Blade Cassettes
One of possible solutions, we discuss now, is "either-or", i.e. let's discard
the App.Server cluster and use the HW cluster. This might work for the request
load balance but we loose all other, out-of-the-box, cluster features like session,
EJB, JNDI and so on failover and balance features.
Any notes with this regard will be greatly appreciated.
Thanks, - Michael
P.S. I repeated the same question om "cluster" Newsgroup but have not seen any
responds so far.
Similar Messages
-
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 -
Is there any API for deploying WebLogic Cluster?
hello,
i am trying to automate the installation and configuration of WebLogic in cluster mode.
I have found the oracle docs,But they are Of GUI.
If there is a way to do it using API, please refer the documentation.
thanksHi ,
If you want to automate the installation process you can use silent installation option.
Link :-
Running the Installation Program in Silent Mode - 11g Release 1 (10.3.6)
For configuration of domain , you can use WLST to create domain other than GUI and console mode .
Links :-
Creating WebLogic Domains Using WLST Offline - 11g Release 1 (10.3.6)
Introduction and Roadmap - 11g Release 1 (10.3.6)
Regards. -
Exploded (hot) deployment on a Weblogic cluster
AFAIK, exploded hot deployment on a Weblogic cluster is not supported through OEPE.
When deploying an application on a cluster, each change, no matter how small, forces you to republish these changes, ultimately causing the application to be redeployed by OEPE. Turnaround time for this (depending on the app) can take some time.
Is there a workaround available for this ?
I'm looking for a way to minimize the turnaround time between developing code, and actual seeing the code changes on the screen. The requirement however is that deployments should be possible on a managed instance / cluster (non AdminServer).
Does Oracle Weblogic support such "hot deployment" capabilities from an IDE like Eclipse ? Does anybody here have such a process in place ? (perhaps using ant / maven2 tooling)Hi
I want to clarify that the application has to be deployed to a cluster of two managed servers, amandad_Server_1 (On Windows server hosting console) and amandad_Server_2 which is running in other Windows server.
I deployed the application following your recdommendations and the resulta is as follows:
Windows server (running the console)
1 EAR file was copied to ... \user_projects\domains\amanda_domain\servers\amandad_Server_1\stage
2. The application files extractected from the EAR files were copied to \user_projects\domains\amanda_domain\servers\amandad_Server_1\tmp
Windows Server not runn ing the console
No files were copied to neither
... \user_projects\domains\amanda_domain\servers\amandad_Server_2\stage
\user_projects\domains\amanda_domain\servers\amandad_Server_2\tmp
Questions
1 Windows server not running the console the files were not copied....What might cause this behaviour....? how to fixi it...?
2. Do I have to manaully copy the files to folders
...\user_projects\domains\amanda_domain\servers\amandad_Server_2\stage
... \user_projects\domains\amanda_domain\servers\amandad_Server_2\tmp -
How to deploy a secured ADF 11g application to WebLogic 10.3 server?
Hi,
I have just enabled security in our ADF 11g application, as descripbed in [chapter 29|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adding_security.htm#insertedID0] of the Fusion Developer's Guide. It works fine in the embedded WebLogic server of JDeveloper.
Now I'm trying to deploy to our WebLogic 10.3 server, which runs in production mode. I'm running into all sorts of problems. The WebLogic console seems to have hundreds of security related pages, I don't know which one I should use, let alone how to use it. The Fusion Developer's Guide doesn't cover deployment to a production server:
>
When the target server is configured for production mode, you typically handle the migration task outside of JDeveloper using tools like Oracle Enterprise Manager. For details about using tools outside of JDeveloper to migrate the policy store to the domain-level in a production environment, see the [Oracle Fusion Middleware Security Guide|http://download.oracle.com/docs/cd/E12839_01/core.1111/e10043/toc.htm].
>
However, this guide is of very little help to me. I found [chapter 7|http://download.oracle.com/docs/cd/E12839_01/core.1111/e10043/addlsecfea.htm#insertedID0], which says "The recommended tool is Fusion Middleware Control." I have no idea what "Fusion Middleware Control" is, where to get it and how to use it.
Long story short: I'm totally lost. I'm looking for a step by step guide on how to deploy a secured ADF 11g application to a WegLogic 10.3 server that is running in production mode. Any help is highly appreciated.Ok, I found a [very helpful blog post |http://andrejusb.blogspot.com/2009/01/practical-adf-security-deployment-on.html] by [Andrejus Baranovski|http://www.blogger.com/profile/04468230464412457426]. I wish Oracle's documentation was as clear as this...
The blog post refers to an article by Steve Muench, called [Simplified ADF 11g Application Credential and Policy Migration to Standalone WebLogic Servers|http://www.oracle.com/technology/products/jdev/tips/muench/credmig111100/index.html]. This article presents an Ant script that migrates policies from JDeveloper to WebLogic, using some PFM. (See the last definition here.)
The problem is that Steve Muench's script assumes that JDeveloper and the standalone WebLogic are on the same machine. However, in a typical environment, such as the one I'm working in currently, this is not the case. In our case the developer stations are Windows machines, while our WebLogic server runs on a HP-UX machine. So the question is: how to perform this migration between two machines with different operating systems?
Regards,
Bart Kummel -
How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?
Hi
How to deploy Oracle Forms & Reports in Weblogic Server 11g (10.3)?
ThanksHi
when i am going through your bleow link.
I am not able understand the 3.3.1 step :2
http://download.oracle.com/docs/cd/E15523_01/web.1111/e10240/basics.htm#i1010040
edit this file in the Web Configuration,
configuration of an application called "my_application" with a form module called "form=hrapp.fmx":
can deploy only.fmx file ?
if not how to find the realation between my_application and hrapp.fmx ?
Thanks in Adavance
Regards
Ram -
How to deploy a war file on Weblogic Server 7.0??
Hello Everyone
I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
This is how i have done it, but this is not working---
(1) First i created a directory structure for the web application according to J2EE Specification.
C:\Work\
myServletWAR\
META-INF\
WEB-INF\
classes\
HelloServlet.class
web.xml
i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
(2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
jar -cvf TestServletWAR.war .
This creates the TestServletWAR.war file in myServletWAR dir.
Here is how my Servlet and web.xml looks like...
Servlet code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloServlet extends HttpServlet
public void doPost ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
doGet( req, res );
public void doGet ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
res.setContentType( "text/html" ); // Can also use "text/plain" or others.
PrintWriter out = res.getWriter();
// Get the requestor's IP address (See JavaDocs to see how to get other info):
String addr = req.getRemoteAddr();
// Create output (the response):
out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
out.println( "</H1></BODY></HTML>" );
out.close();
************************Servlet Ends Here **************************
web.xml
---------------------------------------------------------- <!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>myServletWAR, a first Web Application</display-name>
<description>
This is a simple web application containing a single servlet
of the "Hello, World" variety.
</description>
<servlet>
<servlet-name>myHello</servlet-name>
<servlet-class>HelloServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myHello</servlet-name>
<url-pattern>/myHello</url-pattern>
</servlet-mapping>
</web-app>
****************************web.xml file ends here********************
After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
http://localhost:7001/myServletWAR/myHello
I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
Looking forward for your help
Thanx in advance
Nishahi i have read ur answer regarding deploing a servlet in weblogic 7.0
i am facing another problem
when i try to access the servlet inside my classes directory it throwa an error stating this :
IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
KINDLY TELL ME
PUNEET JAIN
<May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
ebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
<May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
vlet failed with ServletException
javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
> -
How do I determine in Java if running local or deployed weblogic server
Using JDeveloper 11.1.1.4.0
I need to determine in my Java code, if I am running my application locally (JDeveloper/Weblogic) or if the application is running on a deployed Weblogic server. The code will be used to determine where to place files when testing on PC verses where to place files when deployed. For example (c:\temp or /usr2/upload).
Thanks,
TroyHi,
well one way is to identify using weblogic system properties here is the one example to get weblogic managed server name of application running in java http://www.baigzeeshan.com/2011/11/oracle-adf-how-to-get-managed-server.html
check other properties as well http://docs.oracle.com/cd/E13222_01/wls/docs90/config_scripting/config_WLS.html#1019588
Zeeshan -
How to deploy Servlet Application in Weblogic 8.1
Hi,
I am new to BEA Weblogic 8.1 .
I was trying to create a sample application using InelliJ IDea 5.1 , and IntelliJIdea 10.5 . i configured weblogic with IDE , but now i do not know how to deploy my application in weblogic .
I am new in IntelliJ also .
So Can anyone tell me how can i deploy a servlet application in any IDE like i also have eclipse indigo.
Thanks & Regards
KomiHi Komi
Basically you deploy your Servlet as a WAR File. I am not familiar with IntellJ IDE. But it should have a provision to export/create a WAR file that has your Servlet. Also I hope you already have web.xml file with 2 sections like this: First you mention full package of your servlet and give it a name. Then enter a mapping url. You will use this url to run your servlet like http://weblogichost:weblogicport/yourWebappcontextroot/myservlet
<servlet>
<servlet-name>MyServlet</servlet-name>
<servlet-class>com.abd.def.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/myservlet</url-pattern>
</servlet-mapping>
Coming to deployment, I hope you already created a Weblogic Domain and have admin username/password. Start your domain. Login into weblogic console like http://host:port/console and use admin username/password. Then from Deployments section, deploy the above WAR file. In Weblogic you can deploy JAR (EJBs, java files), WAR (web jsp, html, webservices, servlets) or EAR (JAR + WAR). In your case its just a WAR file.
Refer the online docs for more details on Deployments in Weblogic.
http://docs.oracle.com/cd/E13196_01/platform/docs81/deploy/deploy.html
Thanks
Ravi Jegga -
How To Deploy Jsp project in Weblogic 8.1
Plz help me
How To Deploy Jsp project in Weblogic 8.1
Give me steps.Plz help me
How To Deploy Jsp project in Weblogic 8.1
Give me steps.(1) Create a standard WAR file that contains your JSPs.
(2) Deploy to WebLogic by any number of means (e.g., Ant tasks, putting WAR file in application directory for your WL domain, etc.)
% -
How to deploy war webapp on standalone weblogic ?
Hi All
We have several war files and an ear file. A few war files are shared libraries, other war files are webapp and an ear file.
How do we deploy a war file to standalone weblogic ?
Must we explode the war file in order for weblogic to deploy or can we deploy a war like an ear file using ojdeploy ?
Any steps to configure meta-data files to allow successful deployment ?
What steps do we need to perform ?
Thank you
Sincerelyhi user,
i don't see any jdev version and also i dont see that standalone deployment in production? or else ?
better google it is the rightway.
Anyhow,
deploying the war file:
JDeveloper Frequently Asked Questions: FAQ #3 - How to deploy an ADF application on a standalone WebLogic server directl…
http://www.sagecomputing.com.au/papers_presentations/2009_WLS_JDEV.pdf
deploying in production.
How-To: ADF Deployment Guide
deploy using ojdeploy the famous chris blog is there.
https://wikis.oracle.com/display/jdeveloperandadf/ADF+Build+and+Deploy -
How to deploy osb projects into managed server in weblogic
i am new to osb
i have a doubt
i created a managed server in weblogic admin console, it was running fine ,but i need to know how to deploy my osb projects in that new manged server.As of now it is deployed in http://localhost:7001/sbconsoleI think you need to extend the domain instead of creating the managed instance manually through Admin console. By default when you create a domain using OSB domain template, it deploys all of the applications needed automatically to all the instances. If you are trying to do it manually, then you need to follow the documentation to see which applications need to be deployed to use OSB services.
http://docs.oracle.com/cd/E23943_01/doc.1111/e15017/configure_osb.htm#BGBFGBFF
To deploy a project, Login to SB console http://<admin>:<port>/sbconsole > System Administration > Export/Import Resources. -
How to deploy shsc applications on weblogic server
I have weblogic 8.1 with sp3. Any pointers on how to deploy sjsc created applications on Weblogic.
I am able to deploy sample jsf programs created without using the IDE without any hitches, I am unable to deploy the war file created by the Sun java studio creator.
Thanx
InderHello,
Although we don't support incremental deployment
to other App Servers, you can export a WAR file.
In the Project Navigator, select the Project , right-click
and choose context menu, "Export WAR File"
Also, these pages may help:
http://wiki.java.net/bin/view/People/DeployingCreatorApps
http://developer.sun.com/prodtech/javatools/jscreator/reference/faqs/technical.jsp
See #6
How will web applications developed with Java Studio Creator be deployed to servers other than Java System Application Server 8, Platform Edition? SDN Standard subscription required.
John
JSC QA -
Error when deploy to weblogic cluster
My cluster has 2 servers A, B. when I deploy an WebCenter Custom Portal application to weblogic cluster, application on server A work well and application on server B is failed. Log on failed server is “what do i do: seems an odd quirk of the EJB spec. The exception is:java.lang.NoClassDefFoundError: Oracle/jdeveloper/db/adapter/DatabaseProvider”
When I reconfig cluster and then deploy, application on server B work well but application on server A is failed.
Please advise what should I do in this situation?Hi,
It seems your Application is running with non-seralizable objects where non-searlizable are not supported on cluster environment.
Please check server logs whether you have such warning messages are not.
Let me know if you need any further help on this issue.
Regards,
Kal -
ADF Application error when deploy on WebLogic Cluster
Hello,
I setup a WebLogic 10.3.5 Cluster, but I have problems to deploy my ADF application (ADF 11.1.2).
I am getting the following java.lang.NoClassDefFoundError: oracle/adf/share/logging/ADFLogger
The problem does not occur if I deploy the same application only to the AdminServer.
In order to setup my WebLogic Cluster I followed the process described by Mark Nelson at http://redstack.wordpress.com/2010/12/20/using-weblogic-as-a-load-balancer/
Any idea?
Thanks,
Cristo A.Have you installed the Oracle JRF template to the managed servers?
The error indicates that you didn't install the adf runtime (JRF template) for your jdev version onto the managed servers.
Timo
Maybe you are looking for
-
Is it possible to reprent XML in a JTree format?
Hi I have an XML file.I want to retrieve all the nodes in my XML file and put it in a JTree..Is it possible to do??If so how we can go about this??? thanks for your reply in advance
-
I have a Powerbook that I have had for many years now. Recently it hasn't been booting up. I hit the start button and it chimes like it usually does but the screen and hard disk don't do anything. Sometimes it does boot up but it doesn't start easily
-
I published an iWeb '06-created website to ".Mac" and I wanted to use Rage's SEO tool with it. But SEO can't find my iDisk, or something. SEO asks for username and password, and when I enter them absolutely nothing happens. Where is my iDisk? I tried
-
So I have repeatedly cut and pasted text from one page on my website to another over the past few months once that information has become outdated. Last night I ran into a problem when doing the same process I have done for months. Now, every time I
-
CS3(AS) Open selected image in photoshop/resize/relink
Hello, I'm working on a layout with hundreds of placed images. I only need to resize a select few to so they are placed at 100%, I want to do this by running a script on just the image selected in layout, open it in photoshop, resize to match the sca