"componentRequest, aResponse" variables in logon_proxy.txt file issue

Hi All,
We are  upgraded portal to Netweaver 7.0 to 7.3  version. Par files are no longer supported. So, we converted par files to ear file. When I open ear file in eclipse IDE for Java developers, initially some jar files are missing in ear file. I added Jar files. But when we are calling logon_proxy.txt file in jsp pages(changePasswordPage.jsp, umLogonPage.jsp,...) proxy, inportal, webpath varaibles (which defined in logon_proxy.txt file) are not declared error raising.
please suggest me.
Thanks
Srinivas

Hi All,
We are  upgraded portal to Netweaver 7.0 to 7.3  version. Par files are no longer supported. So, we converted par files to ear file. When I open ear file in eclipse IDE for Java developers, initially some jar files are missing in ear file. I added Jar files. But when we are calling logon_proxy.txt file in jsp pages(changePasswordPage.jsp, umLogonPage.jsp,...) proxy, inportal, webpath varaibles (which defined in logon_proxy.txt file) are not declared error raising.
please suggest me.
Thanks
Srinivas

Similar Messages

  • Saving and Loading variables in a .txt file (Offline)

    I'm working a software we've done with Flash, but we'd want
    people to be able to save the variables they selected. We need them
    to be able to save the value of about 10 variables in a file on
    their desktop, and then be able to load that file again.
    Is it possible to do that without having to use php or stuff
    like that (that's why we want to make it an offline applications so
    we don't have to use php to be able to save files).
    I know Actionscript looks a lot like Javascript and with
    Javascript it's really easy to do, but all the saving functions are
    blocked in Flash for security reasons.
    If anyone knows how to do that, to simply save and load a
    .txt file, please let me know. If it would be possible also to
    change the .txt to whatever else it would be even better. The file
    can still be opened in Notepad but at least it looks a bit more
    professionnal to have our own extension. Again in Javascript or
    with a .bat file it's really easy to save variables to whatever
    type of file, even to non existing types, it simply creates a text
    file with an unknown ending.
    Thanks!

    I found a page that explains in a really easy way how to
    communicate with Javascript if the flash object is contained in an
    html page, but I couldn't find any page explaining how it works if
    it's not in an html page. On our side, before using the software
    we're creating we'll convert it to a .exe. How can we call a
    Javascript from that .exe since we can't incorporate the Javascript
    in the container since there isn't really a container... Is there a
    way to link to a Javascript (.js) that would be in the same folder
    as the .exe? Or would there be a way to incorporate the Javascript
    right into the .exe?
    Let me know if any of you have a solution for that.
    Thanks!
    http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00000342.html#wp126566

  • Increment  variable in a txt file

    Hello hello [[]] =)
    Just wondering if is it possible to change on string to another , inside a txt file. The problem is:
    Someone ask a question , choose the number of answers, write those answers and send it to a comboBox ( the answers) .
    The person who's gonna answer that question pick an answer from the ComboBox, and the program saves it in a txt file the number of times that that answer was picked. like an inquiry.
    And at the end , it gives the % of each answer, that was picked.
         private class handler implements ActionListener{
              public void actionPerformed(ActionEvent e){
                   String option = combo.getSelectedItem().toString();   // get the selected item from the combobox (answer)
                   int index = combo.getSelectedIndex();     //position of that answer from the comboBox          
                   int count_answer =0;
                   for (int i=0; i!= array.length; i++) // array -> an array of Strings that has all the answers inside it
                        if(option.equals(array)) ++count_answer; // option is the answer picked by the user.
                        try{
                             r = new BufferedReader(new FileReader(option));
                             frame.setVisible(false);
                             rewrite(index, option, count_answer);     
                        }catch(IOException ex){
                             try {
                                  w = new PrintWriter(new FileWriter(option));
                                  w.write("Answer("+(index+1)+ ")- "+ option +"\nSelected "+ count_answer +" time(s)");
                                  frame.setVisible(false);
                                  w.close();
                             } catch (IOException e1) {
                                  e1.printStackTrace();}
         public void rewrite(int index, String option, int count) throws IOException{
         int increment ;
              w = new PrintWriter(new FileWriter(option));
              count = count + increment++;
              w.write("Answer("+(index+1)+ ")- "+ option +"\nSelected "+ count +" time(s)");
              w.close();
    I don't know how to change that variabel "count " inside a txt, so what im doing is increment the variable count++ and rewrite the string again inside that file.
    The problem is that, the variabel "count" counts until two , and that's all, if u run the program again (third time) , it should shows " 3 times ...4 times and so on.."
    but it doesn't.
    thanks

    total code to run :
    package ClienteMsn;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.Font;
    import java.awt.Label;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.swing.JButton;
    import javax.swing.JComboBox;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JTextArea;
    public class Poll {
         private String pergunta;
         private int num_respostas;
         private String[] respostas_possiveis;
         String [] array;
         String [] nomeFiles;
         private JTextArea area = new JTextArea(2,3);
         private JPanel painel_respostas = new JPanel(new FlowLayout(FlowLayout.LEFT));
         private JPanel painel =new JPanel(new BorderLayout());
         private JButton submit = new JButton("Confirm");
         private JPanel painel_botao = new JPanel(new FlowLayout(FlowLayout.CENTER));
         private JFrame frame = new JFrame("Questionario");
         private SentinelaParaAc??es sentinela = new SentinelaParaAc??es();
         private JComboBox combo;
         PrintWriter w;
         BufferedReader r;
         public Poll(final String pergunta, final int num_respostas, final String[] respostas_possiveis) {
              this.respostas_possiveis = respostas_possiveis;
              this.pergunta = pergunta;
              this.num_respostas = num_respostas;
              array = respostas_possiveis;
              combo = new JComboBox(respostas_possiveis);
              nomeFiles = new String[num_respostas];
              Container contentor = frame.getContentPane();
              contentor.setLayout(new BorderLayout(0, 20));
              area.setBackground(Color.WHITE);
              Label label = new Label("Resposta:     ");
              label.setFont(new Font("", Font.BOLD, 12));
              painel_botao.add(submit);
              area.setFont(new Font("", Font.BOLD, 13));
              area.append(pergunta);
              painel.add(label, BorderLayout.WEST);
              painel.add(combo, BorderLayout.CENTER);
              painel_respostas.add(painel);
              contentor.add(painel_respostas, BorderLayout.CENTER);
              contentor.add(area, BorderLayout.NORTH);
              contentor.add(painel_botao, BorderLayout.SOUTH);
              submit.addActionListener(sentinela);
         public int getNum_respostas() {
              return num_respostas;
         public String getPergunta() {
              return pergunta;
         public String[] getRespostas_possiveis() {
              return respostas_possiveis;
         public void executa() {
              frame.setLocation(300,300);
              frame.setSize(550, 190);
              frame.setVisible(true);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         private class SentinelaParaAc??es implements ActionListener{
              public void actionPerformed(ActionEvent e){
                   String option = combo.getSelectedItem().toString();
                   int index = combo.getSelectedIndex();               
                   int cont_answer =0;
                   for (int i=0; i!= array.length; i++)
                        if(option.equals(array)) ++cont_answer;
                        try{
                             r = new BufferedReader(new FileReader(option));
                             frame.setVisible(false);
                             rewrite(index, option, cont_answer);     
                        }catch(IOException ex){
                             try {
                                  w = new PrintWriter(new FileWriter(option));
                                  w.write("Answer("+(index+1)+ ")- "+ option +"\nSelected "+ cont_answer +" time(s)");
                                  frame.setVisible(false);
                                  w.close();
                             } catch (IOException e1) {
                                  e1.printStackTrace();}
         public void rewrite(int index, String option, int count) throws IOException{
              w = new PrintWriter(new FileWriter(option));
              int increment = 0 ;
              count = count + (++increment);
              w.write("Answer("+(index+1)+ ")- "+ option +"\nSelected "+ count +" time(s)");
              w.close();
         public static void main(String[] xxx){
              String [] recolhe = null;
              String pergunta = JOptionPane.showInputDialog("Question: ");
              String r = JOptionPane.showInputDialog("Number of answers: ");
              int numrespostas = Integer.parseInt(r);
              recolhe = new String[numrespostas];
              int i = 0;
              while(i != numrespostas){
                   String respostas = JOptionPane.showInputDialog("Answer ("+(i+1)+") :");
                   recolhe[i] = respostas;
                   i++;
              new Poll(pergunta, numrespostas, recolhe).executa();
    Message was edited by:
    Java__Estudante

  • Assigning a value to a variable from a .txt file

    Hello, I'm having a slight problem doing this.
    I have a text file called text.txt, and within it is the text "one two" (minus the speechmarks).
    I'm simply trying to assign the second one of these words, (i.e. "two"), to a string variable of mine called second.
    import java.util.*;
    import java.io.*;
    public class Class
        public static void main() throws FileNotFoundException
            FileReader file = new FileReader("C:\\Documents and Settings\\Admin\\Desktop\\numbers.txt");
            Scanner scanner1 = new Scanner(file);
    String first = scanner1.next();
    //String second =   // this is the part I don't know.
    System.out.println(first); //this works fine, and shows "one"
    System.out.println(second) // this is what I'm trying to make work, by showing "two".
    }I hope I've explained myself clearly.
    Thanks a lot, I'm really struggling with this seeminly-simple problem.

    The Scanner API has good examples of how to use the class's methods. Try
    String second =scanner1.next();And change the name of your class from "Class" to something else. Java uses that name for one of its classes.

  • How to load variables from a .txt file

    Hi.
    I usually make a flash aplication in colaboration with a php
    programmer. But i want to test my swfs without having to wait for
    him. So i want to do that through a text file. I know that flash
    can load variables from text files. The problem is i don't know how
    to format the text file ( example.txt).
    Thank you

    Here's a couple of ideas.
    First you probably want to change what you have...and put
    your 'if (pVar==1' etc inside a separate function and call it from
    the onLoad handler after you have assigned the value to pVar...
    because the onLoad will run at some unknown point in time after
    loading has finished (actually in the test environment this might
    work... but that wouldn't be the same as what happens in a
    production setting).
    To create test files for loadvars... simply create a new as2
    file and put this code on the first frame and test movie:

  • Can't access .txt file in 2011 executable

    In LabVIEW 2010 or 2011 I open a .txt file in a read file program that is one level below the main routine.
    When I make an executable of the main routine it can't find the .txt file even when I put in the executable folder and at a directory level above.
    Used to work in LabVIEW 8.0.
    Thanks,
    Mark
    Solved!
    Go to Solution.

    Here is the zip file with all the code.  MAIN VIDAQ is the top level.
    Read VIDAQ Variables reads the .txt file.
    Thanks,
    Mark
    Attachments:
    SLDAQ Basic Software LV 2011 10.01.zip ‏1804 KB

  • The .txt file has formatting issues that need to be resolved

    Transaction ZEHS20 runs a program that assigns a CCL Group to a specification header, based on its Active Ingredients. The transaction can be run in the background if desired with output being emailed to the user.The .txt file has formatting issues that need to be resolved. can u  pls Help me to resolve this issue.
    Thanks

    What is the formatting issue like? Could you please elaborate a bit more.
    If it is because of varying lengths in the data then it can be handled by utilising a CONCATENATE RESPECTING blanks.

  • Issue in .txt file saving from .xls to .txt

    Hi,
    I am downloading output in to excel sheet. when i am downloading excel data into tabdelimited.txt file i am getting '  "  ' in text file but in excel i am not getting this .
    anybody can tell me how to fix this issue. Initially i have to download the data into excel sheet only this is my requirement.
    Thanks,
    Maheedhar

    Hi,
    Excel normally does this if there is an embedded delimiter within the cell, i.e. a comma within the text and you are delimiting by a comma. Try using a TAB delimiter and you are less likely to see this.
    Darren

  • Issues loading .txt files from server...

    Hi.
    I have an issue with a script I created that loads text strings from a file on my server.
    The swf file loads a message from a .txt file, displays it in an animation when the animation finishes it loops back to the start and loads the next message and displays it in the animation.
    All works fine. However the script reads the text file from the server on every loop ( 3 seconds ) This will be hard on my server so... Is there a way to read the text file once only and then loop through the eight statements?
    Thanks. Z
    Actionscript 2. Flash CS3. Flash Player 10.
    quotes.txt - text file containing eight quotes
    quote_txt - Dynamic field within animation
    ranQuote = new LoadVars();
    ranQuote.onLoad = function(success) {
        if (success) {
            RanNum = RanNum+1;
            if (RanNum>=9) {
                RanNum = 1;
                ran = this["quote"+(RanNum)];
                quote_txt.text = ran;
            } else {
                ran = this["quote"+RanNum];
                quote_txt.text = ran;
        } else {
            quote_txt.text = "Display if can't load txt file";
    ranQuote.load("quotes.txt");

    Unless I'm missing something, each time you load the file you are loading the entire file.  So you should have all of what's in it stored.  Your load function appears to just be picking out one of them out randomly after they're all loaded.
    I assumed wrongly that this isn't all the code you have and other loading code is what you are trying to inhibit.
    What you probably want to do is take most of your onLoad code and place it into a function.  What you have that is pulling up the quotes should utilize that function.  You shouldn't be using that loading code each time some button or whatever loop cycles.

  • Captivate 8 - How to change to producing "project.json" file instead of a "project.txt" file?  Having issues with viewing published projects due to this.

    Captivate 8 - How to change to producing "project.json" file instead of a "project.txt" file?  Having issues with viewing published projects due to this.   Would be thankful fo rany/all advice.

    I'm having the same issue. I've been able to work around it by opening the txt file and copying the contents. Then I open a new file in Sublime Text 2, paste the contents and save the new file as "project.json". It seems to work, but it'd been nice if I didn't have to do this everytime I publish a new project.

  • How to recognize string in txt file and set it as variable

    Hi, 
    I have txt file and somwhere in it string starting with:
    data directory....:
    How (using batch file) find it in the text, read and set the value as a variable? I mean the string is:
    data directory....: c:\datadir
    where what I mean value is  in this case "c:\datadir". So I want batch file to read the txt file, find string starting with "data directory....:" and then set "c:\datadir" as a variable. 
    Best, mac

    It's not very intuitive to do this sort of thing in a batch file. If you have the option to use PowerShell instead, I'd highly recommend it. It's the new way for performing command-line tasks in Windows, and there's no need to struggle with the old command
    prompt anymore.
    Here are PowerShell and batch examples of doing this type of string parsing:
    # PowerShell:
    $dataDirectory = Get-Content .\test.txt |
    ForEach-Object {
    if ($_ -match '^\s*data directory\.*:\s*(.+?)\s*$')
    $matches[1]
    break
    $dataDirectory
    # Batch file:
    @echo off
    setlocal EnableDelayedExpansion
    set DATA_DIRECTORY=
    for /F "tokens=1,* delims=:" %%a in (test.txt) do (
    set PROPERTY=%%a
    set PROPERTY=!PROPERTY:~0,14!
    if /I "!PROPERTY!" equ "data directory" (
    set DATA_DIRECTORY=%%b
    :RemovingSpaces
    if "%DATA_DIRECTORY:~0,1%" neq " " goto :SpacesRemoved
    set DATA_DIRECTORY=%DATA_DIRECTORY:~1%
    goto :RemovingSpaces
    :SpacesRemoved
    echo %DATA_DIRECTORY%
    endlocal

  • Calling a variable from a external txt file that is equal button name

    Hello
    I have a variable in an external txt file that is = the name
    of my button. I have loaded the file in to flash in an object
    called my_lv.
    How do I make line three in the code valid ?
    _root.map.name1900.onRollOver=function() {
    this._alpha=20;
    txName=my_lv.+(this._name); // this line is wrong!! I need
    to place name1990._name in side the ().

    do you have an object called "my_lv" and a child object have
    named as "name1900" . ie "my_lv.name1900"\
    if i am right then...
    >> txName=my_lv.+(this._name); //
    should be
    txName= eval("my_lv."+ this._name)

  • There are no readers registered for the txt type - Issue importing txt file

    Hello guys,
    I am working on SQL developer 3.2. and Oracle database 11g. I am trying to import a txt file with only two columns and 100 rows separated with a pipe. I can import the same file if its in *.CSV or *.xls format. I right click on the table > Import table > Choose the *.txt file > and then I get a message "There are no readers registered for the txt type". Why? Where do I get the reader? I am using the same exact method and the same exact data to import using a different file format and I do not get any errors. The wizard comes up and I am ready to load. I have scoured through this forum for a solution and I could not find one. Any help is very much appreciated.
    Thank you!

    It means we don't support that file type for doing imports. It sounds like a reasonable request to [add to the Exchange|sqldeveloper.oracle.com] though.

  • Issue - updating .txt file as a dbs source

    Hi gyus, I have following problem (CR 8.5)
    for a subreport within a main report, I use a .txt file as a db source (which I connect to via ODBC).
    It looks like for example:
    Year;Col1;Col2
    2007;20;30
    2008;25;35
    I need to add one more column, so it looked like:
    Year;Col1;Col2;Col3
    2007;20;30;40
    2008;25;35;45
    So I edit the txt file, open the report and then I click "Verify Database" in the subreport I expect update to happen, so that I can see a new field among database fields in field explorer dialog so later I could put it into my report. Yet nothing happens, it says "Dtabase is up to date" and the change of the txt file is not recognized by CR.
    Any ideas/tips/help appreciated.
    Thank you

    Hi Martin,
    Please try to set the datasource location.
    For ODBC Connections
    1. On the 'Database' menu, click 'Set Datasource Location'.
    2. In the 'Current Data Source' section, click the data source to be changed. You must click each individual table in the data source one by one. If the data source is a stored procedure you will not see individual tables.
    NOTE
    In Crystal Reports 10, XIR1, and XIR2, if you are mapping from a data source such as a stored procedure where the report designer can not determine which fields should be mapped automatically, you will see a 'Mapping' dialog box where you can manually map fields, as in the procedure cited above.
    3. In the 'Replace with' section, click the data source you want the report to use.
    4. Click 'Update'.
    5. Close the 'Set Datasource Location' window.
    The report now points to the new location.
    Hope this helps you.
    Regards
    Ankeet

  • Archiving TXT files in Sender File Adapter--Unformatted Way

    Hello,
    I am Archiving TXT files thru Sender file adapter, files are getting archived to specified directory.No issues in that.,
    When i open the archived files, those are not in the correct format way that i placed before file pickup.
    Header & lines got messed up side by side.
    Regards

    Hi,
    If the file that it being archived is not transformed, it should exactly be the same as the original file.
    Please make sure that you are not transforming the archive file by any means(unix script, mapping logics etc).
    As suggested above, it is advisable to open the file in the editors like textpad, ultraedit etc. The difference in the alignment could be because of the notepad editor.
    Try to open the original and archived files in any of those(textpad,ultraedit etc) editors and check.
    Please let us know if you are still able to find the difference in the alignment.
    Regards,
    Subbu

Maybe you are looking for