How do I change a WAR into a portlet?

Hi,
How do I change a WAR into a portlet?
Do I just change the zone.properties, jserv.properties, and the provider.xml. In other words, do I treat it like a jar?
Any help would be greatly appreciated,
Wilson

If you mean how do you get the contents of a .war file into a JServ environment, then I would advise against trying this unless really necessary. The servlets in the .war file will only work if they do not rely on any Servlet 2.2-specific features, since JServ only supports Servlet 2.0.
Why not just plug the .war file into OC4J? You can still 'front end' it with Apache if you want by using mod_proxy.
If you really wanted to try this, first you would need to unzip the .war file to the filesystem. Then the full path to WEB-INF/classes (if it exists) and each .jar file in WEB-INF/lib would have to be mentioned as repositories in zone.properties, as these all contain 'zone' (or 'web app') specific classes.
WEB-INF/web.xml contains an XML description of the servlets that need mounting in zone.properties, including their init args.
All the other files outside of WEB-INF should be treated as documents by the web server, so should either be copied into your default htdocs directory or exposed under an alias in httpd.conf.This also relies on the classes in the .war file not 'clashing' with different versions in the server's global classpath in jserv.properties.

Similar Messages

  • Now that i have installed the software how do i change a pdf into a word doc

    now that i have installed the software how can i change a pdf into a word doc

    Hi patm23422687,
    I hope by saying 'installed the software', you mean that Acrobat XI is now installed on your computer.
    Now, open the PDF in Adobe Acrobat and choose "File> Save as Other> Microsoft Word"
    This is all you need to do
    Please try and let me know if you need further assistance.
    Regards,
    Anubha

  • How do I change ipage document into a jpeg document to email?

    How do IU change ipage document into a jpeg document to email?

    Pages documents can be exported to these formats:
    PDF, Word, RTF, Plain Text, or ePub
    Not JPG or JPEG.
    From the Pages menu bar click File > Export

  • How can I change my apps into .ipa

    Hi.
    I am beginner(and also Korean. So my English will bad.)... And I have some question.
    How can I change my apps into .ipa that I made...
    Well, you know what...
    If we want to put apps in our iPad or iPhone or iPod, we need .ipa file..
    So if I want to put my apps in to iPod,
    what should I do?
    T.T (Crying)
    Tell me the way to solve this.
    "HOW CAN I PUT MY APPS INTO MY IPOD?"

    You need a certificate to be able to install ipa.
    Ipa is accesibles via Product / archive in the menu. You must be in compiler iOS Device for it.
    Otherwise you can directly compile on your device. (with run if your device is connected to your Mac)

  • How can I change my JApplet into a JApplication?

    I am working with a JApplet and am finding that some of my code only works in applications.
    So being new to this, I am clueless as to how to change my Applet into an Application. I understand the difference in definition between the two, but when it comes to looking at Applet Code and Application Code, I am not able to see a difference. (Other than an Applet stating "Applet")
    So, that being said how can I change my code so that it runs as an application and not an applet? Here is my current layout code
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    import java.text.NumberFormat;
    import java.text.DecimalFormat;
    // Creating the main class
    public class test extends JApplet implements ActionListener
         // Defining of format information
         JLabel heading = new JLabel("McBride Financial Services Mortgage Calculator");
         Font newFontOne = new Font("TimesRoman", Font.BOLD, 20);
         Font newFontTwo = new Font("TimesRoman", Font.ITALIC, 16);
         Font newFontThree = new Font("TimesRoman", Font.BOLD, 16);
         Font newFontFour = new Font("TimesRoman", Font.BOLD, 14);
         JButton calculate = new JButton("Calculate");
         JButton exitButton = new JButton("Quit");
         JButton clearButton = new JButton("Clear");
         JLabel instructions = new JLabel("Please Enter the Principal Amount Below");
         JLabel instructions2 = new JLabel("and Select a Loan Type from the Menu");
         // Declaration of variables
         private double principalAmount;
         private JLabel principalLabel = new JLabel("Principal Amount");
         private NumberFormat principalFormat;
         private JTextField enterPrincipal = new JTextField(10);
         private double finalPayment;
         private JLabel monthlyPaymentLabel = new JLabel("  Monthly Payment    \t         Interest Paid    \t \t            Loan Balance");
         private NumberFormat finalPaymentFormat;
         private JTextField displayMonthlyPayment = new JTextField(10);
         private JTextField displayInterestPaid = new JTextField(10);
         private JTextField displayBalance = new JTextField(10);
         // Creation of the String of arrays for the ComboBox
         String [] list = {"7 Years @ 5.35%", "15 Years @ 5.50%", "30 Years @ 5.75%"};
         JComboBox selections = new JComboBox(list);
         // Creation of the textArea that will display the output
         private TextArea txtArea = new TextArea(5, 10);
         StringBuffer buff = null;
         // Initializing the interface
         public void init()
              // Creation of the panel design and fonts
              JPanel upper = new JPanel(new BorderLayout());
              JPanel middle = new JPanel(new BorderLayout());
              JPanel lower = new JPanel(new BorderLayout());
              JPanel areaOne = new JPanel(new BorderLayout());
              JPanel areaTwo = new JPanel(new BorderLayout());
              JPanel areaThree = new JPanel(new BorderLayout());
              JPanel areaFour = new JPanel(new BorderLayout());
              JPanel areaFive = new JPanel(new BorderLayout());
              JPanel areaSix = new JPanel(new BorderLayout());
              Container con = getContentPane();
              getContentPane().add(upper, BorderLayout.NORTH);
              getContentPane().add(middle, BorderLayout.CENTER);
              getContentPane().add(lower, BorderLayout.SOUTH);
              upper.add(areaOne, BorderLayout.NORTH);
              middle.add(areaTwo, BorderLayout.NORTH);
              middle.add(areaThree, BorderLayout.CENTER);
              middle.add(areaFour, BorderLayout.SOUTH);
              lower.add(areaFive, BorderLayout.NORTH);
              lower.add(areaSix, BorderLayout.SOUTH);
              heading.setFont(newFontOne);
              instructions.setFont(newFontTwo);
              instructions2.setFont(newFontTwo);
              principalLabel.setFont(newFontThree);
              monthlyPaymentLabel.setFont(newFontFour);
              displayInterestPaid.setFont(newFontFour);
              displayBalance.setFont(newFontFour);
              areaOne.add(heading, BorderLayout.NORTH);
              areaOne.add(instructions, BorderLayout.CENTER);
              areaOne.add(instructions2, BorderLayout.SOUTH);
              areaTwo.add(principalLabel, BorderLayout.WEST);
              areaTwo.add(enterPrincipal, BorderLayout.EAST);
              areaThree.add(selections, BorderLayout.NORTH);
              areaFour.add(calculate, BorderLayout.CENTER);
              areaFour.add(exitButton, BorderLayout.EAST);
              areaFour.add(clearButton, BorderLayout.WEST);
              areaFive.add(monthlyPaymentLabel, BorderLayout.CENTER);
              areaSix.add(txtArea, BorderLayout.CENTER);
              // Using the ActionListener to determine when each button is clicked
              calculate.addActionListener(this);
              exitButton.addActionListener(this);
              clearButton.addActionListener(this);
              enterPrincipal.requestFocus();
              selections.addActionListener(this);
         }

    baftos wrote:
    Here is one of the sites that explains the procedure:
    [http://leepoint.net/notes-java/deployment/applications_and_applets/70applets.html].
    But maybe you should try to fix the code that does not work as applet?
    Which one is it?
    >Here is one of the sites that explains the procedure:
    [http://leepoint.net/notes-java/deployment/applications_and_applets/70applets.html].
    But maybe you should try to fix the code that does not work as applet?
    Which one is it?
    The code that doesn't work in my applet is the exit button code
    else if (source == exitButton)
                        System.exit(1);
                   }I also can't get my program to properly validate input. When invalid input is entered and the user presses calculate, an error window should pop up. Unfortunately it isn't. I compile and run my applications/applets through TextPad. So when I try to test the error window by entering in invalid info, the applet itself shows nothing but the command prompt window pops up and lists errors from Java. Anyhow, here is the method I was told to use to fix it.
    private static boolean validate(JTextField in)
              String inText = in.getText();
              char[] charInput = inText.toCharArray();
              for(int i = 0; i < charInput.length; i++)
                   int asciiVal = (int)charInput;
              if((asciiVal >= 48 && asciiVal <= 57) || asciiVal == 46)
              else
                   JOptionPane.showMessageDialog(null, "Invalid Character, Please Use Numeric Values Only");
                   return false;
                   return true;
         }My Instructor told me to try the following, but I still can't get it to work.String content = textField.getText();
    if (content.length() != 0) {       
    try {          Integer.parseInt(content);  
    } catch (NumberFormatException nfe) {}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How do i change my iphoto into a jpeg

    How do I change a saved photo in iphoto into a jpeg to be sent in an e-mail?

    Launch the Preview app. If the Preview icon's not in the Dock, launch it from your Applications folder.
    From the Preview menu bar (top of your screen) click File / Open. Select your photo.
    Now from the menu bar again click File / Save As
    Click the pop up menu next to:  Format
    Select JPEG
    Click Save.
    You can drag that photo to a new mail window or click Attach.

  • How can i change analog waves into digital waves?

    we had labview lab last week.. were doing fine if we have instructions unfortunately the professor will give us an exercise regarding baseband signals spectra.. were trying to download a trial software but we dont have any luck. the question asks for us to change analog waves into digital waves, measure the amplitude of the 5-th harmonic using spectrum analyzer.. i hope you can help me thnx..

    After you are successful getting LabVIEW on your computer, put together something to at least show us you're up for learning.  Then we can guide you to a solution that you've developed (mostly) on your own. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How to deploy a WAR into a portlet (7.0)

    Is it possible to deploy a WAR file into a portlet in Weblogic
    Portal 7.0?
    This seems like some obvious, needed functionality but I can't find it
    documented anywhere.
    Larry Mulcahy Address email to [email protected] only
    PGP public key at:
    http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03
    AIM id: FleshMonster

    Is it possible to deploy a WAR file into a portlet in Weblogic
    Portal 7.0?
    This seems like some obvious, needed functionality but I can't find it
    documented anywhere.
    Larry Mulcahy Address email to [email protected] only
    PGP public key at:
    http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03
    AIM id: FleshMonster

  • How do you change iTunes songs into AAC format?

    Is there a way to change iTunes songs into the AAC format. I need to be able to do this so I can download the songs into my cell phone with an MP3 player. I keep on getting a message saying that the songs are protected and cannot be changed to that format. I dont understand why since I have payed for them and they are my songs. PLEASE HELP!
    Toshiba Satellite   Windows XP  

    Store purchases are already in protected AAC format.
    Do you mean that you need to change them to mp3 to
    be compatible with you phone?
    It says that it needs to be in MP3,AAC,or AAC+ Format. Whatever its in now it is not working and im very unsure of what to do. Thankyou for trying to help.

  • How do I change a PDF into a word document?

    I have downloaded the adobe assistant which says it should allow me to change pdf into word, but I can't find out how to do this?

    The Adobe Download Assistant does not provide this functionality in anyway.  Are you perhaps looking for the Acrobat Professional 11 trial?  If so you can download the trial through your already installed Adobe Download Assistant.
    If you have any questions on how to use Adobe Acrobat then please post your inquiry to the Adobe Acrobat forums at http://forums.adobe.com/community/acrobat.

  • I have just bought a mac and also have windows installed but how do i change from windows into mac?

    I have just bought a mac and need to know how to change from using windows into Mac. When the mac starts up windows come up but i want to use Mac?

    To set the default boot volume use the Startup Manager system preferences once you are booted back into the OSX.  Then you would only need the option key at boot time to boot into the "other" OS.

  • How do I change a PDF into powerpoint?

    I paid for and downloaded the ACROBAT 11, NOTHING HAPPENS, i STILLCAN'T switch a PDf into a powerpoint. The computer keeps askingme to purchase and download the same thing that I alreadypurchased.

    Hey miltonb98987380,
    I have checked with your account and it says that you have purchased subscription for Adobe ExportPDF online service.
    For converting PDF to PowerPoint:
    Firstly you need to sign in at "https://cloud.acrobat.com/exportpdf" using your Adobe ID and password.
    'Select files to export' button (shown below) and choose the PDF file from your computer or simply drag it there.
    Once you uploaded your file, you will get an option to choose 'MS PowerPoint document' under 'Convert to..' label.
    Then, select 'Export to PowerPoint' button and the conversion be completed in a couple of minutes.
    Then, you can download the converted file on your computer and even make the desired changes.
    Also, you can choose 'Files' tab where you can locate all your converted files.
    Hope this information will help you.
    Let me know if you still face any problem.
    Regards,
    Anubha

  • How do you change a symbol into text

    Does anyone know how to turn a custom vector symbol into text?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    ..  I cant afford to purchase fontographer ..
    If you want it bad enough, you can still make a custom font, and for free at that! Google "FontForge" -- it's an open source font creating/editing package.
    Beware, though, as it has a steep learning curve -- that's why I started with "if you want it bad enough".

  • How can I change I tune into English from another language?

    My itune is set in Korean.  I want to change that to Enlish.  How do I do that?

    Take a look here:
    iTunes: Changing the display language
    Regards.

  • Firefox is in German, how can I change the language into Japanese?

    I remember I installed it in Japanese, but recently I have downloaded some program which is to be updated following warnings informed by UpdatStar Gmbh, suddenly the language has changed into German. And all of guidance to daownload other programs are in German. So that I can do nothing....because I cannot understand any of German.
    I am Japanese, so that Japanese is most convieniet for me, but I can undestand English, so change German into English is acceptable.

    If you have the Firefox user interface (menu bar) in the wrong language or want to change the current language then you can get Firefox in the language of your choice here:
    * http://www.mozilla.com/firefox/all.html
    Uninstall the current Firefox version, but make sure that you do not remove your personal data.<br />
    Install the new Firefox version of the wanted language.
    You may need to (re)set the pref "general.useragent.locale" to the preferred language (e.g. "en-US" or "en-GB" or "ja") on the about:config page.<br />
    You can open the about:config page via the location bar, like you open a web site.<br />
    Use the Filter bar at the top of that page to quickly locate the pref.

Maybe you are looking for

  • Using a text file to provide paths for copy-item

    OK, please don't beat me over the head too much for this.  I've been trying various methods all day and nothing seems to be working.  I have a text file that has a list of folders (full paths including drive letters).  I want to copy all of the folde

  • Customer material in PO

    Dear all, How to use the customer material inside the production order? Regards, ganesh

  • Possible cause for unhandled Win32 exception?

    Hi, Using SDK 7.0.5, I'm calling AVDocOpenFromASFileWithParams on an AVDocOpenParamsRec that specifies a sourceDoc.  Suppose the sourceDoc has only recently been opened and may still be in the process of loading.  Is it possible that this could resul

  • What is the best way to query for the roles of a 2013 Lync server?

    I am new to Lync. I am not able to find, but if anyone already asked and got answers in this forum, or documentation I will be much appreciate.  I would like to programmatically ( powershell wmi most likely) Get-WmiObject –query 'select * from win32_

  • Oracle GL Integration with Hyperion Planning

    Dear All, I need to integrate Oracle GL with Hyperion Planning. My Question are: 1) Without any adapters, we can do this integration(Using PL/SQL). It is Possible? 2) Any document is available for intergration using the adapters(DIM/ODI). ODI - Using