The best way to deploy and redploy of a multiple SOA application
Hi all,
I'm looking for the best way to deploy and redeploy a multiple SOA application.
1) The multiple SOA application contains many projects. Some projects depend on another projects.
2) WebLogic is in productive mode.
I wound like automaticly deploy and redeploy my multiple SOA application.
Does anyone have any experience of this?
Many thanks
PG
We use ant scripts to automatically deploy and redeploy multiple composites.
The ant scripts gets shipped along with the SOA installation. The ant script that is used for the deployment is:
${oracle.home}/bin/ant-sca-deploy.xml
You can also use the same for your deployment.
Similar Messages
-
What is the best way of deploying a jsp and bc4j aplication
Hi
I would like to know what is the best way of deploying a jsp and
bc4j aplication in ias 9i.
thanks in advanced
rjcIn the page I simply referenced the facescontext directly... no need for a custom servlet.
public void createcookie() {
FacesContext fc = FacesContext.getCurrentInstance();
HttpServletResponse resp = (HttpServletResponse)fc.getExternalContext().getResponse();
Cookie userCookie = new Cookie("cookiename", "cookievalue");
userCookie.setMaxAge(-1);
userCookie.setMaxAge(3600);
resp.addCookie(userCookie);
return null;
public String readcookie() {
FacesContext fc = FacesContext.getCurrentInstance();
ExternalContext ec = fc.getExternalContext();
Map cookiemap = ec.getRequestCookieMap();
if (cookiemap != null) {
Cookie cookie = (Cookie) cookiemap.get("cookievalue");
return cookievalue;
For reference I could not get getCookies() method of HttpServletRequest to work.. it would only return JSESSIONID. -
What is the best way to deploy application that uses web services?
Hi all,
I'm having some problems figuring out the best way to deploy our app now that we've switched over to using web services.
I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like.
Here's a little background:
We have a large PowerBuilder/Oracle application. The db consists of over 500 tables and the client consists of several thousand PB components. A user creates "transactions" which contain a series of "sub-transactions" within. Most of the data is collected and stored locally in the client in a series of datastores. When the "finalize" happens, the records are validated and sent to the database.
We are in the process of moving each of the subtransactions (currently in the PB client) into subPROCESSES on a java project. We are using the JAX-WS framework to develop the web services in Netbeans. These web services aren't much more than remote xml as the messaging technology. For writing data back to the database, we are using the Java Persistence API to function outside of an EJB container but will shortly be migrating to the Glassfish application server to use several of the EJB container frameworks including the EntityManager.
We haven't attempted any type of deployment and are unsure of where to start. Any suggestions would be so helpful and appreciated!
Thanks!
Edited by: doubleEspresso on Jan 10, 2008 8:06 AM>
I'm fairly new to Java and web services. From what I understand, JNLP and WebStart are methods to deploy Java clients to users and not for creating war files and the like. >Correct, while Java Web Start has 'web' in the name, it has little if anything to do with web applications - certainly not providing much toward their installation. It is for launching rich client GUI based (AWT, Swing, SWT..) applications onto the end-user's desktop.
There are some parts of JWS that might seem peripherally useful to the installation of a web-app., but it is really not a 'good fit'.
>
..Any suggestions would be so helpful and appreciated!>You might try the forums for the 'web tier' APIs.
<http://forum.java.sun.com/category.jspa?categoryID=20>
Or perhaps the forum 'Java Technologies for Web Services' (under 'enterprise technologies')
<http://forum.java.sun.com/forum.jspa?forumID=331>
This one in 'BigAdmin' seems particularly relevant, 'Set up and Deploy'
<http://forum.java.sun.com/forum.jspa?forumID=550> -
What is the best way to deploy/update custom security realm classes to WLS 6.0?
From the WLS 6.0 console, I see that I can specify the Java class that
implements my custom security realm but I am wondering what is the best way
to deploy/update this code. I don't see a way to do this from the console.
Does this mean that I have to manually copy the class files over that
implement my custom security realm?Thanks Danut,
A jar file seems to be a good way to package it up but it sounds like it
still needs to be manually copied to each Weblogic server install directory
post-installation and whenever it is updated. I thought it would be nice to
be able to deploy/update the custom security realm by uploading it through
the Console just as you can with web applications and EJBs.
Brian
"Danut Prisacaru" <[email protected]> wrote in message
news:3aba2db0$[email protected]..
You have to have your Custom Realm class in the class path. I usually havea
jar file with all the Custom Realm classes and that jar I copy it in thelib
folder. Then I modify "startWebLogic.cmd" and I add to the classpath
".\lib\CustomRealm.jar"
set
CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\CustomRealm.jar;
>
Be aware that in order to have you custom realm besides creating thecustom
realm using the console you also have to create a custom caching andchoose
that one as your default caching realm.
Here is how the security settings are looking in my "config.xml"
<CustomRealm Name="CustomRealm"
RealmClassName="Custom.appserver.weblogic.security.CustomRealm"/>
<CachingRealm BasicRealm="CustomRealm" CacheCaseSensitive="true"
Name="CustomCachingRealm"/>
<Realm CachingRealm="CustomCachingRealm" FileRealm="wl_default_file_realm"
Name="wl_default_realm"/>
<FileRealm Name="wl_default_file_realm"/>
<Security GuestDisabled="false"
Name="mydomain" PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm"/>
Danut -
Which is the best way of deploying JSP (mod_ose or OSE) ?
I need to deploy some jsps that are using servlet api 2.2 and i would like to know which is the best way of deploying these jsps?
Thanks
RJCSpeaking of JServ Vs OSE, I have some related questions on it. I would appreciate if someone can answer:
1.For a stateful servlet (assuming that we are using Oracle JVM), Will it not call the init() method of the servlet each time for a client (because each client will have his own Oracle JVM)? If so, isn't that expensive because it needs to initialize the servlet again?
Again, for the same servlet, Will it not have a servlet context for each and every client? Isn't that expensive? ( A servlet context by definition maintains state information for all instances of a web application within any single JVM)
2. If we have an application that has some portion of it which is stateless and some portion of it which is stateful, how do we make a choice JDK JVM vs Oracle JVM?
Can we (for the same application) use both the JDK JVM as well as Oracle JVM? If so, how does the JDK JVM talk with Oracle JVM?
3. Since Oracle JVM is useful for stateful applications only, does it mean that we cannot use it for Stateless session beans? (In an application we might have stateless session beans, stateful session beans as well as entity beans) Should we be using JDK JVM or Oracle JVM?
4. For Servlets too, we might have stateless servlets and stateful servlets within the same application. If so, can we use JDK JVM for stateless servlets and Oracle JVM for stateful servlets? If so, how does the JDK JVM talk with Oracle JVM? -
What is the best way to store and search 2D data
Hi,
There is a set of data (~10k records ) in 2D dimension.
like this :
Col 1, Col 2, Col3....
What is the best way to store and search those records ?
Thanks in advance
WilsonHi,
Either userObjet[][] if you know how much data you have, and the data size is fixed, or use a list of lists. E.g. A Vector of Vectors (some will probably say that you should use an ArrayList instead, and that could be the case, but it sounds like you would want to display the data later on, and a DefaultTableModel (for JTables) uses a Vector as data holder).
Kaj -
What is the best way to scan and sort old photos in iPhoto
What is the best way to scan and sort old photos in iPhoto? They do not have digital dates.
Hey Chicago Sue,
Once you scan them and have them on your desktop. You should use Automator and assign the common IPTC tags to the images, so that when you do import them into iPhoto, they get recorded.
Here is an example of an action in Automator: -
How is the best way to organize and backup Adobe layered PSD files on iMac desktop OSX maverick?
I lost all my Adobe Photoshop files + everything else on my IMAC when it crashed. They reinstalled Operating System. But now i must install programs such as MS Word & Adobe indesign suite.
Please help me determine what is the bestway to backup Adobe layered PSD files? I believe these are my choices to be assured this doesn't ever hapen again. Please comment.
Buy Apple Airport Time capsule $280. But I am not sure if it can store PSD layers. Can it or do you have to have Apple Apperture software to act be sure layers are saved
I had had trouble getting Adobe Cloud to sync to save files and so just trusted my computer to not ever crash. Any hints on this procedure
Are there any hints on PhotoShop image organization for a current IMac usser ?
Please help.
Teann ucreateitMy backup plan is to use Time Machine to make a backup to an external disk drive plus I also do a clone of my system disk. So far between the bootable clone and the Time Machine backup this plan has covered all of my needs.
Allan -
I just bought a new PC and now have ample space on my C drive to house my music Library which is currenlty installed on a external drive. What is the best way to install and move the itunes library to my C Drive?
If the entire library is on the external drive then simply copy the iTunes folder into <User's Music> on the new computer, then install iTunes. If you've already installed iTunes you will want to remove the empty iTunes folder in <User's Music> first.
If it turns out you only have the media folder on the external drive then take a look at this post...
tt2 -
What is the best way to secure and harden a Macbook Pro against unwanted surveillance?
What is the best way to secure and harden a Macbook Pro against unwanted surveillance? Tor, VPN, Little Snitch, etc. This would be for that latest version of Mavericks.
djbabybokchoy wrote:
Nothing specific, just speaking in general. Ex-wives, governments, bad guys...anyone really. I'm just looking to make my Mac a bit more private and secure, especially when on public networks.
Governments and ex's will/may have recourse to the legal process (or in the case of the Gov they can choose to ignore the legal system if they feel like it) when they want to see something of yours, good luck hardening your Mac against that. The best way to avoid the possibility of snooping over public networks is to avoid them but if you can't then Kappy's suggestion will help.
Strong passwords (everywhere) and don't use the same password in multiple locations.
If you really want to secure your home wireless use Mac address connection authentication, do not allow unknown Mac addresses to connect. It's much stronger than a WPA password alone. -
There are way too many photos on my internal hard drive. I have older libraries, and newer libraires in iPhoto and Aperture 2. What is the best way to find and reduce the number of duplicate photos/libraries before upgrading to Aperture 3?
Sharon-
Good idea.
Back up first.
I would probably wait for the merge function of the latest version before merging. Be sure to verify every merge.
Merge Libraries, then from within Aperture move images to referenced on external hard drives.
HTH
-Allen -
My daughter is going on an exchange to France for a year. I saw that there is a SIMS prepaid phone card that fits into an iPhone 4S. Is this the best way to go and if so, Do I suspend her service with our carrier?
Is your daughter's phone officially unlocked? If not, you won't be able to use any sim other than a sim from the carrier your daughter's phone is locked to. To do what you want, you need to get your daughter's phone officially unlocked. Once done, she can then purchase a local sim when she gets to France.
-
HT4436 What is the best way to set up business accounts with multiple ipads?
What is the best way to set up business accounts with multiple ipads?
Here are three different methods >
How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495
This article > iOS: How to transfer or sync content to your computer, http://support.apple.com/kb/HT1296
suggests using contacts groups.
When syncing contacts, you can choose to sync all of your contacts or only selected groups.
You can select a group of contacts to which all new contacts created on your iOS device will be added.
You can set up groups in the Address Book application.
If you are all going to use the same iTunes apps library, turn off "Automatically sync new apps" in the apps tab just below the list of apps. Then you won't get new apps on your device unless you select them. -
What is the best way to drop and recreate a Primary Key in the Replication Table?
I have a requirement to drop and recreate a primary key in a table which is part of Transaction replication. What is the best way to fo it other than remove it from replication and add again?
Thanks
SwapnaHi Swapna,
Unfortunately you cannot drop columns used in a primary key from articles in transactional replication. This is covered in
Make Schema Changes on Publication Databases:
You cannot drop columns used in a primary key from articles in transactional publications, because they are used by replication.
You will need to drop the article from the publication, drop and recreate the primary key, and add the article back into the publication.
To avoid having to send a snapshot down to the subscriber(s), you could specify the option 'replication support only' for the subscription. This would require the primary key be modified at the subscriber as well prior to adding the article back in
and should be done during a maintenance window when no activity is occurring on the published tables.
I suggest testing this out in your test environment first, prior to deploying to production.
Brandon Williams (blog |
linkedin) -
What is the best way to deploy an application ??
Hi,
Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war)
to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that
too in a Production environment.
I know that we can use weblogic Console to deploy an application BUT if i have
2 unix boxes and each box contains 4-4 clusters(each containing 16-20 managed
servers) .....then i have to open up 2 Admin server consoles to deploy each of
the respective applications and that too deploying these application to 8 clusters.....OR
i can use deploy commad to do the same.
AND if i have like 100 clusters .....then i would have to "deploy" 100 times ......
is there any way that we can BEST AUTOMATE this process.
Thanks a lot.
-sangitaThanks Tommy. but i would like to know a very important point here: this is using
the weblogic.utility that you just talkd about.
Suppose iam having an ADMIN server that has say 10 clusters and 50 managed servers
underneath to take care.
1 cluster each = 5 managed server
now iam deploying a simple .war file to say a single managed server, i have found
out that it takes a looot of time to get the application deployed.
what do you say about this situation ?
what is the best approach ??????
-sangita
"Tomy Mathew" <[email protected]> wrote:
>
>
To deploy the application from the command prompt in WebLogic 6.1 you
use the
following command
$JAVA_HOME/bin/java -cp $WL_HOME/weblogic.jar weblogic.deploy -port $WEBLOGIC_PORT
-host $WL_HOST_IP $WEBLOGIC_CMD $WEBLOGIC_PWD -component $WL_Server_NAME:$WL_Server_NAME
$WL_APPLICATION_NAME YourApplication.war
$WEBLOGIC_CMD sould be DEPLOY for the first time deployment and UPDATE
for redeployment
For deploying in a cluster you better create a shell script which call
the above
command with different cluster ip address as a parameter.
Tomy
"sangita" <[email protected]> wrote:
Thanks Rob for your expertise advise. I would check to see wls8.1's
ANT tasks.....for
wls6.1, i would guess shell scripts to be a better option for us.
thanks again.
Rob Woollen <[email protected]> wrote:
If you're using 8.1, then it's pretty nice to use ant for
configuration/deployment/starting and stopping servers etc. There's
a
wlconfig task to do configuration, wldeploy to deploy applications,
wlserver to start/stop servers.
For 6.1, it's probably not a huge win to use ant. It's up to you.
If
you're more comfortable using shell scripts, that's certainly a
reasonable route.
-- Rob
sangita wrote:
Thanks Rob.
But all the stuff that ANT can do for me FOR DEPLOYMENT (ONLY) .....ican do it
from a simple shell script too.
And i understand of ANT's cross-platform environment and usage of
JAVA
.....but
can i use ANT to do something like CONFIGURING my wls6.1 managed
servers/clusters/creating
managed servers/db connection pools ......and all the other configurationthat
i do from wls console(or manually) ....????
and if yes, do you know of any examples, suggestions, ideas ?????
basically, if i need to sell(?) ANT to my juniors ......what are
the
basic reasoning
i can put forward....keeping in mind that these guys use wls6.1 &
wls8.1......and
these guys do CONFIGURATION and DEPLOYMENT only.
sorry for asking, may be these silly questions.
thanks, sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
Thanks Rob.
Rob, do you still consider or suggest using ANT for deploying say
20
applications
on a 10 clustered environment.Yes
do you see any advantages using [ANT + weblogic.deploy]..... over
simply
using
weblogic.deploy utility ???Yes. ANT essentially gives you a cross-platform environment that
allows
extensibility through java. It's very powerful.
-- Rob
-sangita
Rob Woollen <[email protected]> wrote:
sangita wrote:
Rob,
I have found the answer for my question #1 ...this is the URL:
http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html
iam still hoping to hear back from you for #2, #3
thanks a ton.
"sangita" <[email protected]> wrote:
Thanks Rob.
quick question:
1) do you know of any example which illustrates the use of ANT
wrapper....or
please
direct me to a URL where i can find some documentation about
it.
2) does this ANT wrapper has any advantages over using weblogic.Deployer
utility
??If you're doing deployment via ant, then it's a bit more convenientto
use <wldeploy> rather than invoking a raw <java> process, but
fundamentally it's just a wrapper around weblogic.Deployer
3) i would certainly check to see weblogic.deploy for wls6.1
....can
i use ANT
for deployment purpose in wls6.1 ?You'll just need to wrap it in a <java> task
See:
http://ant.apache.org/manual/CoreTasks/java.html
-- Rob
Rob Woollen <[email protected]> wrote:
If you were using WLS 7.0 or later, you could use weblogic.Deployer.
If
you were using 8.1, you could use wldeploy which is an ant task
wrapper
for weblogic.Deployer.
In WLS 6.1, you'll have to use weblogic.deploy which is a bit
cumbersome, but it's still certainly possible to script deployment.
-- Rob
sangita wrote:
Hi,
Please advise me how to automate in a best way to Deploy
10
different
applications(.ear/.war)
to 10 different Clusters(containing 40 Managed servers) in
wls6.1......and
that
too in a Production environment.
I know that we can use weblogic Console to deploy an application
BUT
if i have
2 unix boxes and each box contains 4-4 clusters(each containing
16-20
managed
servers) .....then i have to open up 2 Admin server consoles
to
deploy
each of
the respective applications and that too deploying these applicationto 8 clusters.....OR
i can use deploy commad to do the same.
AND if i have like 100 clusters .....then i would have to "deploy"100 times ......
is there any way that we can BEST AUTOMATE this process.
Thanks a lot.
-sangita
Maybe you are looking for
-
How can I use Automator to open and save Word docs with links?
Hi- I'm having trouble building a Workflow to open and save Word docs with links. My Workflow so far: 1. Get Finder items 2. Copy Finder items (to new folder) 3. Rename selected items 4. Open selected items (Word docs) Three problems occur. The first
-
Can't get views to work on webparts on an enterprise wiki
Hi I'm trying to make an Enterprise Wiki that contains 3 types of content types company, project, contact. On the home Page I added 3 webparts (from pages) corresponding to the 3 content types above. I then made a page layout for each content type. I
-
Hi All I have requirement where data is coming from legacy system to SAP IS AFS version 6.0 via GIS to generate a production order. I found the IDOC type for this LOIPRO01.Can any one having the mapping document. Pl advice for the production creatin
-
Hi everybody, I need to find a function module or BAPI that I can use to get the hours and days that users were online on the SAP system. I already found the transaction sm21 were I can get this list but I need the bapi or fm that gives me the list.
-
FCC Configuration for Multilevel Hierarchy
Hello Everyone, I have a problem with FCC in sender side. I have a multilevel nested structure shown below: <?xml version="1.0" encoding="UTF-8"?> <ns0:MT_XX__OB xmlns:ns0="http://xx.com"> <Record1> <X/> <Record2> <A/>