Multiple servers -- multiple Cache (JWS)
Hi,
I'm working on a Kana Software deployed with Java Web Start.
Each time we change the web server (crash or ...) we have to download all soft components (jar, Jre ...) even if the user has already exactly the same files on his machine but under an other IP tree.
Does anyone know how we could:
- Use the same cache even if the web server changed
OR/AND
- Turn Off the "update check" of JWS and only use the IP address used as an argument in the JNLP File
Thanks in advance.
Xap
Here is an extract of one of my JNLP files
codebase="http://IP:port/xxxWebServer/
<application-desc main-class="xxxxx">
<argument>-serverlist</argument>
<argument>http://IP:port/xxxxWebServer/servers.xml</argument>
</application-desc>
Hi! gauravgarg,
I already have solution for JWS version control without using jardiff. But as i've already told you, I know how to make it works but i don't know if it proper to do this. So, if anyone here will kind enough to give me an advice, please....
Ok. it's simple you just make a folder for each version you want. The directory should be somethings like :
mainApp.jnlp
\v1.0\mainApp.jar
\v1.1\mainApp.jar
\v1.2\mainApp.jar
now, in mainApp.jnlp you just put the folder name in front of jar file.
<jar href="\v1.0\mainApp.jar"/>
Yeah. When you want to update just change jnlp file
<jar href="\v1.1\mainApp.jar"/>
and you can also change it back to \v1.0\ if user didn't clear cache or delete file in JWS's cache folder, they should automatically use the cache without download again.
ummm I don't know if this explanation is understandable.. please reply me if you get it or not...
Hope it works.
Have more fun.
Jeng
Similar Messages
-
How to set up Planning on Multiple Servers
Hi,
1) I am trying to install a Finance Planning application so that it runs on one Planning Web Server and the other operations Planning application on another Planning 9.3.1 web server. Is that possilbe?
2) May be unrelated question:
HP_Windows_Install.pdf has only a few lines explaining how to set up Planning on Multiple Servers. Is it as simple as that?
Here are the "few lines" from install.pdf:
Perform the same installation and configuration process on your secondary servers, making sure to choose
Planning Web Server component for any secondary server.
Make sure you select Reuse existing tables when prompted during the Configure a Database task
in the Configuration utility.Tomcat.
But it will be nice to know the steps for Weblogic too - as Weblogic will be bundled "free" with future releases of Planning. -
Not sure what i am looking for at the moment but we have 6 * solaris 9 servers, 5 * solaris 10, about 30 zones and it's only going to get bigger.
it's become a real pain to manage(add,remove,keep track) users across multiple server/zones. How do other people go about managing multiple servers i for one don't want to log into each box/ zone and create a user accout which is currently what we do.
Guess what i am looking for is some way of managing all of our boxes from a central point.Using a directory service like NIS or LDAP will allow user accounts for many hosts to be created and managed centrally. LDAP is what Active Directory is based on. Sun's implementation is called iPlanet. Sun One Directory Server, or Java Directory service, depending on the phases of the moon.
For spotting problems on servers (disk full, host down, &c), we use nagios. It's fantastic.
My employer also spent a good deal of money on opsware, but shall we say the benefits of it are not yet obvious. -
Folder Comparison from multiple servers
I need to compare folders from multiple servers which do not have direct connection so i was trying to generate a text file with command dir /b /s >c:\server1.txt and feed them to script to compare.
my desired output is csv file in the following format
File name,Server1,server2,server3,is it missng file?
File1,yes,yes,yes,No
file2,Yes,Yes,No,Yes
File3,Yes,No,Yes,Yes
File4,No,Yes,Yes,Yes
these folders contains few hundred thousand files and the script is taking 4 to 5 hours to run the comparison. i thought threads will help to run fast using parallel processng but did not help. i have no expreience with threads and after searching for examples
and implementing it was even slower than normal.
i probably am doing something wrong. Any help is much appreciated.
The following is the script so far and it works fine but its taking long time.
[array]$contentArray = @()
[array]$allfileslist = @()
[array]$uniquefileslist = @()
[array]$allfilesSRVlist = @()
[array]$srvlist = @()
$FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
$reportName = $FolderName + "\ComparisonReport3.csv"
$ListOfFiles = get-childitem $FolderName
$List = $ListOfFiles | where {$_.extension -ieq ".txt"}
$list.count
$index = 0
foreach($listitem in $List){
$listfilename = $listitem.FullName
$listname = $listitem.Name
$listname = $listname.replace(".txt","")
$srvlist = $srvlist + $listname
write-host $listfilename
#$StrContent = get-content $listfilename
$StrContent = [io.file]::ReadAllLines($listfilename)
$contentArray += ,@($StrContent)
$StrContent.count
$contentArray[$index].count
$index = $index + 1
for($i = 0;$i -lt $index;$i++){
$allfileslist = $allfileslist + $contentArray[$i]
$allfileslist.count
$uniquefileslist = $allfileslist | sort-object | get-unique
$Stroutline = "File Name,"
foreach($srvlistitem in $srvlist){
$Stroutline = $Stroutline + $srvlistitem.ToUpper() + ","
$Stroutline = $Stroutline + "Is it Missing file?"
Write-Output $Stroutline | Out-File "$reportName" -Force
foreach($uniquefileslistitem in $uniquefileslist){
$Stroutline = ""
$missingfile = "No"
$Stroutline = $uniquefileslistitem + ","
for($i=0;$i -lt $index;$i++){
if($contentArray[$i] -contains $uniquefileslistitem){
$Stroutline = $Stroutline + "Yes,"
else{
$Stroutline = $Stroutline + "No,"
$missingfile = "Yes"
$Stroutline = $Stroutline + $missingfile
Write-Output $Stroutline | Out-File "$reportName" -Force -Append
$j++
Following is the script i modified using threads example. this is running even slower.
[array]$contentArray = @()
[array]$allfileslist = @()
[array]$uniquefileslist = @()
[array]$allfilesSRVlist = @()
[array]$srvlist = @()
$FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
$reportName = $FolderName + "\ComparisonReport3.csv"
$ListOfFiles = get-childitem $FolderName
$List = $ListOfFiles | where {$_.extension -ieq ".txt"}
$list.count
$index = 0
#$contentArray = New-Object 'object[,]' $xDim, $yDim
foreach($listitem in $List){
$listfilename = $listitem.FullName
$listname = $listitem.Name
$listname = $listname.replace(".txt","")
$srvlist = $srvlist + $listname
write-host $listfilename
#$StrContent = get-content $listfilename
$StrContent = [io.file]::ReadAllLines($listfilename)
$contentArray += ,@($StrContent)
$StrContent.count
$contentArray[$index].count
$index = $index + 1
for($i = 0;$i -lt $index;$i++){
$allfileslist = $allfileslist+ $contentArray[$i]
$allfileslist.count
#$uniquefileslist = $allfileslist | select –unique
get-date
$uniquefileslist = $allfileslist | sort-object | get-unique
$uniquefileslist.count
get-date
$Stroutline = "File Name,"
foreach($srvlistitem in $srvlist){
$Stroutline = $Stroutline + $srvlistitem.ToUpper() + ","
$Stroutline = $Stroutline + "Is it Missing file?"
Write-Output $Stroutline | Out-File "$reportName" -Force
$j = 1
$count = $uniquefileslist.count
$stroutput = ""
$maxConcurrent = 50
$results= ""
$PauseTime = 1
$uniquefileslist | %{
while ((Get-Job -State Running).Count -ge $maxConcurrent) {Start-Sleep -seconds $PauseTime}
$job = start-job -argumentList $_,$contentArray,$index -scriptblock {
$StrArgFileName = $args[0]
$ArgContentArray = $args[1]
$ArgIndex = $args[2]
$Stroutline = ""
$missingfile = "No"
$Stroutline = $StrArgFileName + ","
for($i=0;$i -lt $ArgIndex;$i++){
if($ArgContentArray[$i] -contains $StrArgFileName){
$Stroutline = $Stroutline + "Yes,"
else{
$Stroutline = $Stroutline + "No,"
$missingfile = "Yes"
$Stroutline = $Stroutline + $missingfile
$Stroutline
While (Get-Job -State "Running")
Start-Sleep 1
$results = Get-Job | Receive-Job
$results
$stroutput = $stroutput + "`n" + $results
Remove-Job *
Write-Output $stroutput | Out-File "$reportName" -Force -Append
Thank you very much!
Vamsi.no i am not comparing the number of lines.. count i used was only for my information... it has nothing to do with the compare. here is the script with out count...
[array]$contentArray = @()
[array]$allfileslist = @()
[array]$uniquefileslist = @()
[array]$allfilesSRVlist = @()
[array]$srvlist = @()
$FolderName = Split-Path -parent $MyInvocation.MyCommand.Definition
$reportName = $FolderName + "\ComparisonReport3.csv"
$ListOfFiles = get-childitem $FolderName
$List = $ListOfFiles | where {$_.extension -ieq ".txt"}
$index = 0
foreach($listitem in $List){
$listfilename = $listitem.FullName
$listname = $listitem.Name
$listname = $listname.replace(".txt","")
$srvlist = $srvlist + $listname
$StrContent = [io.file]::ReadAllLines($listfilename)
$contentArray += ,@($StrContent)
$index = $index + 1
for($i = 0;$i -lt $index;$i++){
$allfileslist = $allfileslist+ $contentArray[$i]
$uniquefileslist = $allfileslist | sort-object | get-unique
$strfinal = "File Name,"
foreach($srvlistitem in $srvlist){
$strfinal = $strfinal + $srvlistitem.ToUpper() + ","
$strfinal = $strfinal + "Is it Missing file?"
foreach($uniquefileslistitem in $uniquefileslist){
$missingfile = "No"
$Stroutline = $uniquefileslistitem + ","
for($i=0;$i -lt $index;$i++){
if($contentArray[$i] -contains $uniquefileslistitem){
$Stroutline = $Stroutline + "Yes,"
else{
$Stroutline = $Stroutline + "No,"
$missingfile = "Yes"
$Stroutline = $Stroutline + $missingfile
$strfinal = $strfinal + "`n" + $Stroutline
Write-Output $strfinal | Out-File "$reportName" -Force -Append
if you want to test it... just create two text files and put them in the same folder as the script.
server1.txt will have the following content
filename1
filename2
filename3
server2.txt will have the following content
filename1
filename2
filename4
it should generate the csv file ComparisonReport3.csv
filename,server1,server2,Is it Missing file?
filename1,yes,yes,no
filename2,yes,yes,no
filename3,yes,no,yes
filename4,no,yes,yes -
Multiple Servers for Development Team in WLI2.1 on wlidomain
Has anyone tried to create multiple servers so that a development team can share
the resources of a domain with WLI 2.1? If so, how did it work. I have done this
with WLS but would like to try it with WLI.
I tried to create multiple servers, but, had difficulty as there seems to many
resources that are tied to the server name and default port. Also, I tried to
change the port and that caused alot of problems on the myserver.Thanks John.
I was not looking for something which is scaling out Hyperion Planning(via load balancer)/Horizontal clustering.
But was looking for some thing like Vertical clustering(multiple JVMs/nodes of Hyperion Planning within a single planning server) which was applicable in 11.1.1.3.
Came to know that with 11.1.2.2 vertical clustering not more supported.
Thanks -
Multiple servers to one APEX install.
At the moment, I'm in the position of having APEX running on the site using the internal Oracle server. This was the initial plan as there aren't many IT resources on site, so maintaining the more complex setups was not really an option. However, I'd like to spend a little time investigating the Apache based setup and especially the APEX Listener (as that sounds as though it'll end up supporting NTLM).
The question is, is it possible to have multiple servers, all connected to the APEX install, serving correctly (spotting subtle issues would probably be beyond my ability to spot quickly)?
The aim for this is to find a method of running multiple access methods simultaneously, enabling efficient migration from one to another should the benefits of running with a particular method (such as APEX Listener) become overwhelmingly strong.James,
yes, no problem, you can run multiple different connection methods (apex listener, mod_plsql, epg) parallel.
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at
Training: http://www.click-click.at/apex-4-0-workshops -
How to stop sql services and sql agent services on multiple servers
Looking for a t-sql/powershell script to stop/start sql services on multiple servers. Plan is to execute script from centralized server.
Rahulsee
http://www.databasejournal.com/features/mssql/article.php/3644906/Automatically-Stopping-and-Restarting-SQL-Server.htm
http://sqlpowershell.wordpress.com/2013/04/11/powershell-check-start-and-stop-sql-services-of-a-remote-servers/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Capture performance metrics across multiple servers
Hello. I'm still very new to Powershell but anyone know of a good Powershell v.3 -4 script that can capture performance metrics across multiple servers with an emphasis on HPC (high performance computing) and gen up a helpful report, perhaps in HTML or Excel
format?
Closest thing I've found and used is this line of powershell:
http://www.microsoftpro.nl/2013/11/21/powershell-performance-monitor-on-multiple-remote-computers/
Maybe figure out a way to present that in better format, such as HTML or Excel.
Also, if someone can suggest some performance metrics to look at with an HPC perspective. For example, if a CPU is running at 100 utilization, figure out if which cores are running high, see how many threads are queued waiting for CPU time, etc...As far as formatting is concerned,
ConvertTo-HTML is a basic HTML output format, but you can spice it up as much as you like:
http://technet.microsoft.com/en-us/library/ff730936.aspx
Out-Grid is very functional and pretty simple:
http://powertoe.wordpress.com/2011/09/19/out-gridview-now-has-a-passthru-parameter/
Here's an example with Excel:
Excel
Worksheets Example
This might be a good reference for HPC, I don't have access to an HPC environment so I can't offer much advice there.
http://technet.microsoft.com/en-us/library/ff950195.aspx
It might be better to keep unrelated questions separate, so a thread doesn't focus on one question and you lose time getting an answer to another.
I hope this post has helped! -
Selective IP filtering for multiple servers in a domain?
Is it possible to have IP filtering on for certain servers in a
domain, and not for others?
This is the situation:
I am deploying two servers in mydomain, so let's call it serverA
and serverB. I want serverA to accept all connections while
serverB accepts connections only from certain IPs. I know you
can do IP filtering using SimpleConnectionFilter in the
"Connection Filter" option in Security->General tab of the Admin
console, but this turns on IP filtering for BOTH serverA and
serverB! How do I turn it on for one, and not the other? Any
help would be greatly appreciated. Thank you.
LeonHi,
Yes you can have muliple servers in a domain. You can create as many managed
servers as your hardware can handle. When you added the server, did you use the
startManagedWebLogic.sh (or .cmd) script to start the server. Once you do that,
you should see the server as running.
Hope this helps,
pat
"MS" <[email protected]> wrote:
>
Hello All,
Is it possible to have multiple servers in a domain?
When I add a new server, the State is reported in the weblogic console
as "UNKNOWN".
What does this mean?
rgds
MS -
Packaging and deploying jax ws (webservice) in multiple servers
I am a java developer and new to JAX-WS.
i got one requirement to create a web service using jax-ws, packaging using ant build and deploying it in JBOSS and WEBSPHERE server.
The process which i followed to create a web service below:
1) created a web service class using @webservice annotation
2) created a client side artifacts using wsimport which is provided by Jdk and created a war and deployed it jboss.
3) wsdl is getting generated while deploying a war using a URI - (http://localhost:8080/mywebapplication/routing?wsdl)
4) create client class to call the webservice. everything is working fine for me.
Need your expert input for the following below:
1) if i write the ant build script to package the client stubs, how i can use wsdl location in wsimport ant task. should i use URI (wsdl="http://localhost:8080/mywebapplication/routing?wsdl") or
(wsdl="d:/route.wsdl")? which is the best practice?
2) i want to deploy my webservice in JBOSS and WEBSPHERE in different machine and different port no?
for e.g
* http://ip1:port1/mywebapplication/route?wdl*
* http://ip2:port2/mywebapplication/route?wdl*
* http://ip3:port3/mywebapplication/route?wdl*
how to mention dynamic ipaddress and port no while running ant build script?
how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
* Do i need to use wsgen to generate server stubs?*
* Need your inputs in packaging and deploying jax ws in multiple servers.*
Thanks in advance.how to change the wsdl location and port number in generated wsdl and RoutingService client stubs class dynamically? (dont want to change soad address location manually)
Your client stub should look like that...
<code>
@WebServiceClient(name = "MyClientStub", targetNamespace = "http://www.openuri.org/", wsdlLocation = "http://localhost:8080/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl")
public class MyClientStub
extends Service
public MyClientStub(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
</code>
You can use the constructor above, like that...
<code>
URL baseUrl = MyClientStub.class.getResource(".");
URL url = new URL(baseUrl, "http://your-server:your-port-no/MyClientStub/MyClientStubProxy/#%7Bhttp%3A%2F%2Fwww.openuri.org%2F%7DMyClientStub?wsdl");
MyClientStub stub = new MyClientStub(url, new QName("http://www.openuri.org/", "MyClientStub");
</code> -
10.1.3.4 - FTP adapter polling multiple servers
Is it possible to get files from multiple servers for a given BPEL or ESB service ? My source application writes to its local file systems in the exact same location, but 2 different servers. Is there anyway we can instruct the FTP adapter to poll both the servers ? or do we have to duplicate the call to poll the 2nd server ?
Don't think so. We have solved it by having one esb ftp-adapter to each server and route them together in the same routing service.
-
Collecting Notifications from multiple servers and applications
Hi,
I'm researching JMX technology for our Enterprise-wide monitoring needs.
I've got a good understanding of how to create jmx connections and instrument resources for monitoring in a 1-to-1 jmx client to application scenario.
However, I need to manage (and collect notification alerts) from multiple servers/applications.
Any ideas where to start learning how to do this?
Thanks,
JonHi Gavin,
So, you're looking into JMX monitoring solutions too. great! I've collected some good links and examples.
You can email me privately at jcolby550 "at" hotmail "dot" com, maybe we can share ideas. -
Generate WWPN from Multiple Servers
Hello, I am trying to make this script that will generate the WWPNs from multiple servers, but for some reason it is only generating the WWPN of the machine but not the hostnames, how do I make it generate the hostname of each WWPN that it lists?
$computers=Get-ContentC:\scripts\servers.txt
Get-WmiObject
-computername$computers-classMSFC_FibrePortHBAAttributes-namespace"root\WMI"|Select-ExpandpropertyAttributes|%{
($_.PortWWN
|%{"{0:x2}"-f$_})
-join":"}Hi Gramelot,
you only get the PortWWN, because you select it exclusively at the end of your pipeline. Here's a slight rebuild:
# Get list of computernames
$Computers = Get-Content "C:\scripts\servers.txt"
# Prepare result storage
$Results = @()
# Iterate over each Computer
foreach ($Computer in $Computers)
# Grab PortWWN
$PortWWN = Get-WmiObject -computername $Computer -class MSFC_FibrePortHBAAttributes -namespace "root\WMI" | Select-ExpandpropertyAttributes | %{ ($_.PortWWN | %{ "{0:x2}" -f $_ }) -join ":" }
# Add result to result storage
$Results += New-Object PSObject -Property @{ Computer = $Computer; PortWWN = $PortWWN }
# Report result
$Results
Cheers,
Fred
There's no place like 127.0.0.1 -
Multiple Servers with same Remote Interface?
Is it possible to declare the same remote interface on multiple RMI servers? Secondly, is it possible to pick which RMI server will manage a particular request?
In other words, imagine if multiple servers could service a particular request that has the same signature, but the client wants to specify which server to send the invocation. An example would be the following:
public String getPhoneNumber(String pLastName) ;But the client should decide that server A should manage requests of last names starting with A-G, server B should handle H-P, and server C should handle Q-Z. The remote method invocation is the same, but the server upon which is should be invoked needs to be determined at runtime.
I realize this can be done multiple ways, with an interim proxy server that designates the server. However, I'm most interested in the ability within the RMI and/or JNDI standard to select and invoke methods on a particular server.
Thanks for any help."Server" is a little bit vague in this context.
My assumption is that you want separate RMI servers running on separate hosts. (Otherwise, why bother with multiple "servers"?)
That being said, it's not clear to me how you would expect RMI to sort out something as application-specific as you suggest. It sounds to me like you need your own registry/redirector. This is going to either be an rmiregistry rewrite by you, or - as was suggested by another poster - a proxy. -
Proxying request to multiple servers
Hi!,
I am using weblogic 510 with sp9. I want to configure it such that I can
proxy my request to multiple servers. I have already configured it for one
server but now I want to do it for 3 more servers.
Can anyone give me any help on this.
I need it real early.
Thanks for all the help.
Regards
Anshuman NandaI don't think that's possible.
As an alternative, you can use webapp's to achieve this.
Kumar
"Anshuman Nanda" <[email protected]> wrote in message
news:3ae5b937$[email protected]..
Hi!,
I am using weblogic 510 with sp9. I want to configure it such that I can
proxy my request to multiple servers. I have already configured it forone
server but now I want to do it for 3 more servers.
Can anyone give me any help on this.
I need it real early.
Thanks for all the help.
Regards
Anshuman Nanda
Maybe you are looking for
-
Depot excise invoice without refernce to plant excise invoice
Dear all, whiile we are creating depot excise invoice we will take reference of excise invoice of sto(plant to depot).is there any possibility for creating depot invoice with out taking excise invoice reference of (sto invoice-J1iin).then how we can
-
I have a problem with my imac screen there is a degradation in the display
I have a problem with my imac screen there is a degradation in the display at the toplight is less intense as if you were at rest and half way on this but not if it's some software problem or please someone help me thanks.
-
Which storage device to buy?
I would greatly appreciate assistance in choosing the best storage product for me. ** I own a iMac with a 2TB hard drive ** I am looking for more storage space plus backup ** I am presently using 3 external drives - 2TB Airport Time Capsule, 2TB WD d
-
Illustrator CS3 crashes on "Open" command
The only thing different between today and last night is the Adobe Updater tried and failed to download the 13.0.1 update. I had not used Illustrator today before the update tried to run, but failed with the installer message: The update cannot be ap
-
Canove stuff around but the green exit button doesn't work and have to exit FF entirely to gat anywhere. Help!