Forms Deployment on multiple servers

Hello,
we are in the middle of migrating to a new application server version and new hardware.
We’re going to have 4 servers for our forms application.
Now the question appeared where the form modules and other resources should be stored.
Should they be copied on every application server or should they stay in a shared network drive?
Is there any best practice for that?
Do you have any pros and cons for one or the other
or do you know any document where this is discussed?
Thanks in advance,
Bernd

Hi,
the cons:
- All Forms Servlet processes and thus the HTTP Listeners must run with the privilegs of a network user
- If the network is unavailable then no Forms application will run in opposite to wher one server faisl but the others are still up and running
Frank

Similar Messages

  • Deploy to multiple similar servers

    Hi,
    I am evaluating usefulness of Release Management for my organization and I have one scenario which I find troublesome doing in Release Management (update 3).
    I have tens of components and I have around 30+ servers at each stage (4 stages). In general in release process I want to deploy a component to a single server but from time to time I would like to deploy it to all servers at given stage.
    As far as I understand I need separate Release Template for each component to deploy it to specific server (that's ok for me) and another one to deploy it to all servers. In this second one, I will need to specify each server and actions for it separately
    which seems to be maintenance hell.
    What I am looking for, is a way to simplify this second Release Template to accept deployment to a set of servers conforming some rules (i.e. naming or supported technologies). Or maybe I should setup things differently in Release Management?
    Thanks for help,
    Michał

    Hi Michal,
    Thanks for your post.
    If you want to deploy to multiple servers in one Stage, please try the below steps:
    In one of your current Environment, linked multiple servers in it.
    Specify this Environment in your release path’s one Stage(stage1).
    In your release template>> state1, please add other Sequence activities(under Toolbox>>Control Flow) in the Deployment Sequence, then you can drag the different servers from Toolbox into each Sequence activity separately, each Sequence can perform
    the separate deployment.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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>

  • Deploy project to multiple servers

    Hi,
    Does anyone know if it is possible to deploy a process to multiple servers at once (from one central point)??
    In our test environment we only have a few services running, but when we go live, this number would increase. Therefor it would be a time-saving point if we could impress our clients with such a reason.
    Kind regards,
    René

    I would implement such a deployment configuration using ant by extending the default build.xml generated by ant. ant has a lot of built-in task that can help with remote deployment. -Edwin

  • How to deploy the same WebService to multiple servers

    Hi
    I have to deploy the same webservice + its clients to multiple servers. However, the WS URL is hardcoded in its descriptor, as well as in the client, so it means that I have to rebuild everything each time I want to deploy it to a new server.
    How can I set the URL dynamically at runtime?
    Thanks a lot
    Jean-Noel

    Hi There,
    I think what you can do is once you create your webservice , it has a property called
    SOAP RPC URL which you can edit before you create the wsdl and the client.
    Hope that helps
    Kishore

  • Deploy an Applet across multiple servers

    I have an applet which will need to be deployed over numerous servers and urls.
    I was wondering if there was a way for the applet to know which ip/url it was run from, without making a properties file and packaging it in the applets jar file.
    As an example,
    Let's say I had 3 servers, at the following urls
    https://server1.com
    https://server2.com
    https://server3.com
    My applet needs to call a servlet on the server where the applet came from.
    Ex.
             URL url = new URL( SERVER +"/ServletToCall" );
             HttpsURLConnection servletConnection = ( HttpsURLConnection ) url.openConnection();
             ...How do I know which url to call without hardcoding it in, or using a properties file?

    you'll need to change
    URL url = new URL( SERVER +"/ServletToCall" );
    //to
    URL url = new URL( getCodeBase().getHost() +"/ServletToCall" );// getCodeBase()unless you are planning on signing the applet

  • 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.
    Leon

    Hi,
    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

  • Using MDT and Thin installer on multiple servers

    Is there a way to configure the thininstaller.exe.configuration to point to a dynamic path.  We have multiple locations where MDT is deployed, and we don't want the PC to connect over our WAN links when the Thin Installer runs.
    I thought I read somewhere that in the file I could do something like this:
    <Default Gateway>
         <10.10.1.1=\\Location1\repository>
         <10.10.2.1=\\Location2\repository>
         <10.10.3.1=\\Location3\repository>
         <*.*.*.*=\\DefaultLocation\repository>
    I checked the Integrating ThinkVantage Update and Retriever and ThinInstaller with MDT 2010, but the part that talks about configuring the file makes no mention of using multiple servers.
    Thanks

    There is not a mechansim as you describe built into ThinInstaller.  There are, however, various ways you can invoke Thin Installer which might accommodate your end goal. 
    Usually people that have this need have some kind of data value on the target device that lets them know which repository they should be pulling from.  Sometimes a network share is used and that share is established earlier in the deployment process to point to a local server.  Sometimes an environment variable is used.  The command line of ThinInstaller allows for you to specify the path to the repository at execution time.  The calling of ThinInstaller can be performed by a script or cmd file that determines the correct repository path to pass to ThinInstaller.
    You can find more details on controlling ThinInstaller in this document:  http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thi​nkvantage_en/tvsu4_mst_en.pdf
    Without knowing a lot more details about your environment I'm not sure how to better guide you.  You might try posting in the Enterprise / IT Management forum and see if any of the folks there have done this already.

  • Browser based InfoPath form deployed on a Claims based Web Application calling a Secure Web Service via Data Connection

    hi,
    We have a Browser based InfoPath Form deployed on a Claims based Web Application. We are tyring to call WCF Services that are secure using Certificates via the Data Connections on Infopath Form.
    Earlier we used to get the Data in BCS External List via the WCF Services and the Data Connections used to get the Data from the BCS External List. Due to Performance Issues, we want to remove the BCS External List and straightaway call the secure WCF Services
    via the Data Connections.
    Have anyone implemented this scenario.
    Thanks
    Ram
    Thanks Ram

    Hi Ram,
    As these are browser based InfoPath forms, you have two options 
    1) Deploy as sandboxed forms
    In this case you have to create a secure store application id and then set the credentials for that account.
    You then have to export the data connection to Data connections library and modify the .udcx file to utilize the newly created secure store application id.
    This may sometime give issues related to sandboxed code service. You have to give permissions on the secure store for the user account which the sandboxed code service is running.
    2) Deploy as administrator approved forms
    This would be ideal way of doing things as you have full control over the web request if you write code behind InfoPath forms.
    3) Deploy as a Hybrid solution
    a) Write a full trust proxy solutions (extend SPProxyOperation class and override execute method) and make the web request call inside this and return the response
    b) Invoke above operation from the sandboxed InfoPath form's code behind by SPUtility.RegisteredProxyOperation(four part assembly name, operation args)
    Hope this helps.
    Thanks,
    Srikanth

  • 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.

  • Managing multiple servers

    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.

  • 10.1.3 HumanTask Forms deployment error is it a BUG

    Hi,
    Any one I am getting the following error. I have installed SOA 10.1.3 Midtier and am using OID as security provider. Now I am trying DocumentReview Sample but am getting the following error:
    Buildfile: C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/Oracle_Software/jdevstudio10132/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process DocumentReview on localhost, port 7779
    [deployProcess] Deploying process C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\output\bpel_DocumentReview_1.0.jar
    [deployProcess] Successfully deployed the process "DocumentReview" on server "localhost" and port "7779"
    deployTaskForm:
    [echo]
    | Deploying workflow form for DocumentReview on localhost, port 7779
    [deployTaskForm] 07/07/07 08:25:19 Notification ==>Application Deployer for default_DocumentReview_1_0_DocumentReview STARTS.
    [deployTaskForm]
    [deployTaskForm] 07/07/07 08:25:19 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] Deploy error: Deploy error: Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    C:\Oracle_Software\1013\soa\bpel\samples\demos\DocumentReview\build.xml:98: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:750)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 45 seconds
    Thanks for any feedbacks.

    Hi HEWizard,
    I have set the ORACLE_HOME that points to SOA install directory i.e.
    C:\Documents and Settings>echo %ORACLE_HOME%
    C:\Oracle_Software\1013\soa
    One more thing is that if I install the Developer Version and even though the ORACLE_HOME is not set this works fine i.e. DocumentReview it's only that in the Midtier install version it doesn't work.
    The BPELProcess gets deployed and even the task is assigned but when logging into worklist and selecting the task I see the following error:
    Not Found
    The requested URL /default/DocumentReview/1.0/DocumentReview/DocumentReview.jsp was not found on this server.
    Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at localhost Port 7779
    It's because at deployment time I get that security error and parent application not found and it never deploys the jsp's. Now in the logs I don't see anything. It's only in JDeveloper I see those errors at deployment time. Here is the domain.log:
    <2007-07-07 18:22:44,500> <INFO> <default.collaxa.cube> <ServerManager::loadDomain>
    Oracle BPEL Server version 10.1.3.1.0
    Build: 0
    Build time: Mon Oct 09 08:44:49 PDT 2006
    Build type: release
    Source tag: PCBPEL_10.1.3.1.0_GENERIC_061009.0802
    <2007-07-07 18:22:45,140> <INFO> <default.collaxa.cube.engine> <CubeEngine::load>
    Initializing BPEL domain from descriptor file
    "C:\Oracle_Software\1013\soa\bpel\domains\default\config\domain.xml"
    <2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <gsDomainSchemaManager::validateCompatibility> Detected database version '2.0.51'
    <2007-07-07 18:22:45,406> <INFO> <default.collaxa.cube.engine> <AdaptorManager::load> Loaded adaptors for platform 'ias_10g', datasource 'oracle'
    <2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <AdapterStats::init:Done initializing Adapter statistics holder for engine > default
    <2007-07-07 18:22:47,656> <INFO> <default.collaxa.cube.engine> <CubeEngine::init>
    OraBPEL "default" BPEL domain loaded.
    <2007-07-07 18:22:53,046> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
    Loading processes for BPEL domain "default" ...
    <2007-07-07 18:22:55,500> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskManager" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:57,234> <INFO> <default.collaxa.cube.engine.deployment> Process "TaskActionHandler" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:57,953> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
    <2007-07-07 18:22:58,000> <INFO> <default.collaxa.cube.engine> <CubeEngine::loadAllProcesses>
    3 processes have been loaded for BPEL domain "default".
    <2007-07-07 18:23:33,062> <INFO> <default.collaxa.cube.services> <QuartzPublisherInit::init> Notification Retry publisher scheduled at every 15 minute(s)
    <2007-07-07 18:26:23,500> <INFO> <default.collaxa.cube.compiler> validating "C:\Oracle_Software\1013\soa\bpel\domains\default\tmp\.bpel_DocumentReview_1.0_e61483a0d5e873d381ae6bfbeaed5c60.tmp\DocumentReview.bpel" ...
    <2007-07-07 18:26:30,671> <INFO> <default.collaxa.cube.engine.deployment> <CubeProcessFactory::generateProcessClass>
    Process "DocumentReview" (revision "1.0") successfully compiled.
    <2007-07-07 18:26:30,750> <INFO> <default.collaxa.cube.engine.deployment> Process "DocumentReview" (revision "1.0") successfully loaded.
    Now even though the log says process deployed successfully it only deploys the BPEL Process but no jsp forms deployed. I hope there's nothing special we have to do. This issue can be recreated by installing the Midtier version of SOA and configure it with OID and then try deploying DocumentReview Process provided in the demos.
    I hope I have provided all the information.
    Thanks and waiting for a feedback as we have to decide on whether we go using BPEL 10.1.3 and this is a critical piece of it.

  • Creating a form that allows multiple Digital Signatures

    I am trying to make a PDF form that allows multiple users to sign different portions of a single form. I have created the form and inserted the Digital signature fields. Which if I use my Acrobat 8 Professional to open I am able to sign each different signature field independantly, but if the form is opened in just Reader 8 it will not allow singing of any digital signature field at all. Seems the security settings revert to a default of not allowing the form to be signed. Anyone able to help, if I have not provided enough information please let me know as I am pretty new to LiveCycle.

    The previous post is correct.  Reader will not allow you to sigh an form unless it has been reader extended to enable the signing functionality.  Acrobat pro or LiveCycle Reader Extensions can be used for this.
    Regards
    Steve

  • How to display the Form output in multiple languages ? ------ Urgent

    How to display the Form output in multiple languages ? -
    Urgent

    Hi,
    Do u mean the Form output in 2-3 languages ...like form output will be having english russian etc...
    for the above case , what u have to do ...
    first have to get the transalations for all the fields
    say for example : if the english word is PO Number , then u have to get the transalation text for PO Number :
    after this , what u have to is ,,, Log on to SAP with russian language ,  then in the form o/p u have to paste that russian test ( translation text ) ...
    do like this for all the components in the form .
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS

  • 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

Maybe you are looking for

  • HR Data Load with FM HR_MAINTAIN_MASTERDATA for IT 0000, 0001, 0002...

    Hello All! I am trying to load Infotypes 0000, 0001 and 0002. I will have to load some others too, but I am already having trouble to fill this ones that are the main Infotypes. I´m using the parameter DIALOG_MODE = '1' so I can see the error. and I

  • Non-Breaking Hyphen in MIF String ?

    I'm using a spreadsheet (LibreOffice Calc) to generate the MIF for a Framemaker table: Paste in lines of tab-separated part_numbers and descriptors, copy out raw MIF that opens in Frame as a 3-column table with callout#, part_number and descriptor, e

  • Do we have reversal of reversed transaction in ECC 6.0 latest version??

    Hi All, Do we have reversal of reversed transactions in Latest version ?? if so pls let me know the Tcode and procedure. regards, shashi

  • Can ichat act as a softphone?

    I'm thinking of adding a VoIP service to my small business. Can ichat be setup to be a VoIP softphone? I looked at Skype and GIZmo project but they dont offer an inbound calling number for my area code .. Ottawa Canada. I found a VoIP provider that w

  • IMac 24"(late 2006)

    I was given a iMac 24" (late 2006) I believe it's a 2.16 GHz intel core 2 Duo. Just was given the console itself (no mouse,no keyboard,no power cable). I was able to turn it on and a folder with a question mark came up... Wanted to know if it is wort