Repost my question

I want to use "telnet" in java program in this way:
1.run telnet(such as using runtime class)
2.wait for the '>'
3.input : open www.website.....
So I thought out a way to use I/O redirection
I redirect the output stream of telnet into the JTextArea to show the output,
and I can see the output.
Next I wait for the output of '>', but failed in my program.
I don't know why.....
I want to wait for the '>', so I can input using the directed input I/O.
1.Exe_test.java
public class Exe_test extends JTextArea {
    private boolean keepRunning = true;
    OutputStream shellstream;
    public Exe_test(InputStream[] inStreams,OutputStream mystream) {
        for(int i = 0; i < inStreams.length; ++i)
            startConsoleReaderThread(inStreams);
shellstream = mystream;
private void startConsoleReaderThread(
InputStream inStream){
final BufferedReader br =
new BufferedReader(new InputStreamReader(inStream));
new Thread(new Runnable() {
public void run() {
try {
Thread.sleep(6000);
} catch (InterruptedException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
StringBuffer sb = new StringBuffer();
OutputStreamWriter my = new OutputStreamWriter(shellstream);
try {
my.write("ping bbs.fudan.edu.cn");
System.out.println("dasdad");
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
while(keepRunning)
try {
String s;
Document doc = getDocument();
while((s = br.readLine()) != null) {
System.out.println("hello");
boolean caretAtEnd = false;
caretAtEnd = getCaretPosition() == doc.getLength() ?
true : false;
sb.setLength(0);
append(sb.append(s).append("\n").toString());
System.out.println(s);
if(caretAtEnd)
setCaretPosition(doc.getLength());
catch(IOException e) {
JOptionPane.showMessageDialog(null,
"from BufferedReader error:" + e);
System.exit(1);
}).start();
2.AppOutputCapture.java
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import javax.swing.*;
public class AppOutputCapture {
    private static Process process;
    public static void main(String[] args) {
        try {
            process = Runtime.getRuntime().exec("nslookup");
                    //"C:\\agfl_2.3.0\\epforir-2.3\\epforir.exe");
        } catch (IOException e) {
            System.err.println("init error...\n" + e);
            System.exit(1);
        InputStream[] inStreams = new InputStream[] { process.getInputStream()};//,
                //process.getErrorStream() };
        OutputStream sentence = process.getOutputStream();
        Exe_test cta = new Exe_test(inStreams,sentence);
        cta.setFont(java.awt.Font.decode("monospaced"));
        JFrame frame = new JFrame("console output");
        frame.getContentPane().add(new JScrollPane(cta), BorderLayout.CENTER);
        frame.setBounds(50, 50, 400, 400);
        frame.setVisible(true);
        frame.addWindowListener(new WindowAdapter() {
            public void windowClosing(WindowEvent evt) {
                process.destroy();
                try {
                    process.waitFor();
                } catch (InterruptedException e) {
                System.exit(0);
    } // main()
} // AppOutputCapture

I just get confused about the I/O redirection of the
telnet , why can't I get what I want.
I just don't uinderstand why you would want a kuldgy solution....
If you really feel you must then look at this: When Runtime.exec() won't: Navigate yourself around pitfalls related to the Runtime.exec() method

Similar Messages

  • Link wont open so i have to repost a question :(

    my ipod isnt ,like, getting recognized by my computer...the frozen battery icon is up but its not comming up in itunes. my friend downloaded songs using itunes7 and i have itunes 6 and this has happened....help? what can/should i do?

    You won't be able to change your rescue email address until you can answer your questions, if you can't remember them then you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps on this page to update your rescue email address for potential future use : http://support.apple.com/kb/HT5620
    Or, if it's available in your country, you could change to 2-step verification : http://support.apple.com/kb/HT5570

  • Reposting a question that didn't get answered in previous post: best preset to save mpeg project?

    So it took me a week or so to get to try out the answer I'd gotten, & I couldn't get that answer to work, and then my follow-up question didn't get answered, which makes me wonder if threads & discussions kinda die if they're not kept up? (I'm not very experienced in how these forums work, apologies).  In case that is the case, I'm starting this new one, but refer you back to the old (unfinished) one.  Just scroll down to the last few exchanges to get the gist of it.  Thanks . . .  Mark
    the previous discussion:   http://forums.adobe.com/message/4663058  

    Steve--Sorry if this approach wasn't the best--as I said, I'm not well-versed in forum protocol-- but I did post it last week to the end of that discussion as you recommended but didn't get a response, so I wasn't sure how best to proceed from there.  Anyway, hopefully this works ok for you.  Here's a copy of the relevant exchange. I'd written:  "I'm using a Lumix DMC-ZS7 which, on the small test I did, was set to 640x480 & is a MOV file, and while the "correct" preset choice isn't there, there is probably a best choice among the many choices that are there, and that is my question--which should I choose for this particular clip at this resolution?  Both for quality & cross-platform usability?  The camera also has AVCHD Lite", whose specs read: -- SH: 17Mbps /H:13Mbps /L:9Mbps ) / 30fps (Motion JPEG)   1280x720 pixels, NTSC Mode: NTSC model: 60p(CCD output is 30p)."
    You wrote back:  "Shoot in AVCHD Lite and, when you set up your Premiere Elements project, select the project settings for AVCHD Lite and you should get much better results.
    Obviously, your video is not going to look perfect at full screen on a computer no matter what output settings you use. Your monitor is likely larger than 1280x720. But you should then be able to output using Share/Disc/WMV setting your output for 1280x720 using the Advanced settings."
    And here's my follow-up, & hopefully final, question, from last week:
    "Hi Steve-- I just now had time to try out your recommendation--and I will in the future shoot in AVCHD Lite--but for the existing mpeg stuff--I could not find the settings you recommended.  ("Obviously, your video is not going to look perfect at full screen on a computer no matter what output settings you use. Your monitor is likely larger than 1280x720. But you should then be able to output using Share/Disc/WMV setting your output for 1280x720 using the Advanced settings.")  Firstly, I took this to be your answer to my question of how best to save mpegs, not AVCHD Lite, am I right there?  Under Share/Disc I couldn't find any WMV settings whatsoever in any of the choices, nor was there any Advanced option.  Under Share/Computer there is the Advanced option--but again, I couldn't find a WMV setting.   I did find 1280x720 under the Share/Computer/mpeg presets, as a couple HD 720 options & three HDTV 720 options.  If indeed one of those is the best choice--which one?  Or is your original suggestion still the one, with its non-obvious location to be revealed?  (by the way, I've got Premiere v10.0).
    Question 2-- when I do start using the AVCHD lite, is there any one preset you can advise as the best one to use?
    Thanks again--Mark
    and thanks again again--Mark

  • Repost: Simple question but no one answers

    I have to repost this, there is no way I can find the solution on the forums. Tried everything...
    Scenario:
    UIX page with READ-ONLY table. User selects some row and clicks button. Event fires.
    How to retreive selected READ-ONLY row????
    Please help, this is urgent. I would need some code or pseudo code.

    Finally I did it. Here is how.
    In UIX page with a table drop submit button and add event to it:
    <event name="cur">
    <method method="myCurrentRow" class="model.TestUtils"/>
    </event>then create custom java class:
    package model;
    import javax.servlet.http.HttpServletRequest;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.model.binding.DCUtil;
    import oracle.adf.model.servlet.HttpBindingContext;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.servlet.event.EventResult;
    import oracle.cabo.servlet.event.PageEvent;
    import oracle.jbo.Row;
    public class TestUtils
    public static EventResult myCurrentRow(BajaContext bc, Page page, PageEvent event)
        HttpServletRequest request = bc.getServletRequest() ;
        BindingContext bcc = HttpBindingContext.getContext(request);
        DCBindingContainer dbc = DCUtil.findBindingContainer(bcc,"dataPage1UIModel");
        DCIteratorBinding study = dbc.getIteratorBinding("StudyView1",null , "StudyView1Iterator");
        Row currentRow = study.getNavigatableRowIterator().getCurrentRow();
        Object[] o = currentRow.getAttributeValues();   
        for (int i=0, l=o.length; i<l; i++)
          System.out.println("i = " + i + "o= " + o[i]);
    return null;
    //return new EventResult(new Page (page, "ForwardName"));

  • The Quack here-I am going to repost my question because I was calling the pound sign an asterisk!

    Me very tired when I posted my last question!
    In GL 6.0.1 I could make a pop up window appear by inserting a pound # as a null link for a text link and then create a new window action and then define the size of the pop up window. And if I previewed it everything was fine.
    Now when I do the exact same thing in GL CS2 the preview incests on opening the pop up window and an an error window proclaiming that (#) cannot be found! Without the # CS2 will not underline my text or allow me to create that or any action.
    Would the same happen if site was on a host browser and if the answer is yes how would I solve this apparent paradox?
    Thanks in advance folks
    Stuart Sims aka Master Quark

    Thanks all.....
    I just had to remove the text link from inside a table and pop up box works correctly.....at first it was trying to open a no-existent page called #. I looked at in and out links and there it was linking to an empty reference..I relinked to pop up page and then CS2 would open 2 pop up pages (and curiously name them the same name as my background image), still think it's a bug, though. I have found many in CS2 and just work around them. Nobody's perfect not even Adobe. After all who killed Golive?
    I'll create a test page with just an empty table and a text link inside and see if I get the same response..if not then there is something Golive does not like about my page.
    I am not published yet either in prototype mode or in prime time mode so there is no server to upload a page onto. Soon I shall open an account with a host to prototype my monster..
    Thanks to all
    Stuart Sims aka Master Quark

  • Reposting unanswered questions

    Got no hits
    Selling one of my G5s. Want to make sure I do this correctly so that I don't lose settings, comments, bpms, play count etc.
    I keep all my 60 gigs of music on a secondary internal (backed up to a couple of servers for protection) How do I import the files to iTunes without putting them in the media folder/User home folder. It was suggested that I use the option button at start up but I don't want to have navigate there each and every time I open iTunes.
    Is there a way to make it the default location?
    Secondly if I create a non administartor user for everyday usage how do I replicate iTunes which I have been using as administartor user previously?
    Finally is it best to keep the XML file in the iTunes music folder (where the mp3s are stored) or on the user's home folder?
    Thanks so much
    Enio

    I keep all my 60 gigs of music on a secondary internal (backed up to a couple of servers for protection) How do I import the files to iTunes without putting them in the media folder/User home folder. It was suggested that I use the option button at start up but I don't want to have navigate there each and every time I open iTunes. Is there a way to make it the default location?
    If you have just the media files on the external drive and not the iTunes library files, just turn off the  "copy files to iTunes Music folder when adding to library" the iTunes -> Advanced preferences. You may also want to turn off the "Keep iTunes Music folder organized" option in the same preference. Then when you use the Add To Library command, iTunes will link to the tracks on your external drive rather than copying them to the internal. If you have the library files on the external as well, using the Option on launch to choose the external drive will remain the default as long as you don't launch iTunes when the external drive is not mounted.
    Secondly if I create a non administartor user for everyday usage how do I replicate iTunes which I have been using as administartor user previously?
    If your iTunes library files aren't on the external drive, copy the iTunes folder to the new account, either by using the Users/Shared folder or an external volume.
    Finally is it best to keep the XML file in the iTunes music folder (where the mp3s are stored) or on the user's home folder?
    The XML file must reside in the iTunes folder. That's the only place where iTunes will look for it to update it and where third-party applications will look to be able to access that file for library information.
    Regards.

  • Repost as question for points: What did I do wrong? (Try and Catch program)

    This has to be a try and catch program.
    This is the given output sample:
    OUTPUT SAMPLE #2 for input.txt: 12345 222256 -3 123 -56784 555557 6345678 x x x 81234 121212 x x 123434 x x 1009098 2099
    Please input the name of the file to be opened: input.txt
    For number 12345 the sum of digits is: 15
    For number 222256 the sum of digits is: 19
    Found an integer (-3), but it is negative. Will ignore!
    For number 123 the sum of digits is: 6
    Found an integer (-56784), but it is negative. Will ignore!
    For number 555557 the sum of digits is: 32
    For number 6345678 the sum of digits is: 39
    For number 81234 the sum of digits is: 18
    For number 121212 the sum of digits is: 9
    For number 123434 the sum of digits is: 17
    For number 1009098 the sum of digits is: 27
    For number 2099 the sum of digits is: 20
    Here is what I have so far.
    import java.util.Scanner;
      import java.io.*;// FileNotFoundException
    public class Assignment3b {
      public static void main (String[]args){
        Boolean fileOpened = true; 
        String fileName;
        int n,mod=0,sum=0,t=0;
        Scanner inputFile = new Scanner(System.in);
        System.out.print("Please input the name of the file to be opened: ");
        fileName = inputFile.nextLine();
        System.out.println();
        try {
                inputFile = new Scanner(new File(fileName));
            catch (FileNotFoundException e) {
                System.out.println("--- File Not Found! ---");
                fileOpened = false;
            if (fileOpened) {
              while (inputFile.hasNext()){
                if (inputFile.hasNextInt()){
                  n = inputFile.nextInt();
                  t=n;
                  while(n>0){
                    mod = n % 10;
                    sum = mod + sum;
                    n = n/10;
                  System.out.println ("For number " + t + " the sum of digits is : " + sum);
                  mod = 0;
                  sum = 0;
                  while (n<0) {
                    System.out.println ("Found an integer (" + t + "), but it negative. Will ignore!");
                    inputFile.next();
                    n = inputFile.nextInt();
                else {
                  inputFile.next();
    }Everything seems to work fine until, it is time to deal with negative numbers. How can I fix this. Please put your reply in layman's terms to the best of your ability.
    Thanks and God Bless.

    // COSC 236                                Assignment # 3
    // YOUR NAME: Anson Castelino
    // DUE-DATE:
    // PROGRAM-NAME: Assignment # 3 Prt2
    //import packages
      import java.util.Scanner;
      import java.io.*;// FileNotFoundException
    public class Assignment3b {
      public static void main (String[]args){
        Boolean fileOpened = true; 
        String fileName;
        int n,mod=0,sum=0,t=0;
        Scanner inputFile = new Scanner(System.in);
        System.out.print("Please input the name of the file to be opened: ");
        fileName = inputFile.nextLine();
        System.out.println();
        try {
                inputFile = new Scanner(new File(fileName));
            catch (FileNotFoundException e) {
                System.out.println("--- File Not Found! ---");
                fileOpened = false;
            if (fileOpened) {
              while (inputFile.hasNext()){
                if (inputFile.hasNextInt()){
                  n = inputFile.nextInt();
                  t=n;
                  while(n>0){
                    mod = n % 10;
                    sum = mod + sum;
                    n = n/10;
                  System.out.println ("For number " + t + " the sum of digits is : " + sum);
                  mod = 0;
                  sum = 0;
                  if (n<0) {
                    System.out.println ("Found an integer (" + t + "), but it is negative. Will ignore!");
                    inputFile.next();
                  inputFile.hasNext();
                else {
                  inputFile.next();
    }Updated code.
    current output is as follows:
    Please input the name of the file to be opened: [DrJava Input Box]
    For number 12345 the sum of digits is : 15
    For number 222256 the sum of digits is : 19
    For number -3 the sum of digits is : 0 <-------- this part is not suppose to be here.
    Found an integer (-3), but it is negative. Will ignore!
    For number -56784 the sum of digits is : 0 <-------- this part is not suppose to be here.
    Found an integer (-56784), but it is negative. Will ignore!
    For number 6345678 the sum of digits is : 39
    For number 81234 the sum of digits is : 18
    For number 121212 the sum of digits is : 9
    For number 123434 the sum of digits is : 17
    For number 1009098 the sum of digits is : 27
    For number 2099 the sum of digits is : 20
    >

  • Reposting Unaswered Question -  Skipping Audio

    This was posted in June. No answers and the problem persists
    Can anyone elucidate why, on my PowerMac G4, tracks in iTunes don't start playing clean, but rather drop several seconds of audio (in two installments), before "settling" into the track? The tracks are fine and will start "clean" from the rewind button, but from full stop, I always get this glitch when starting a track. Quicktime will play these files without a problem.
    Any help appreciated.

    Cruff wrote:
    Am I going to run into problems since my start up disc is on a dvd instead of a cd?
    As long as your Lenovo system has a DVD reader capability, no you wont.
    Cheers,
    Bill B.
    I don't work for Lenovo

  • Reposting question - a bug?

    I am reposting a question that I submitted a couple of days ago.
    I am having problems with displaying items on a combo box.
    The combo box will allow a user to select a fixed list of values for a database column.
    I created the combo box and set the dataItemUsageMode property in the property inspector to
    "USE FOR UPDATE". The list is bound to the corresponding column of the query RowSetInfo.
    In the code, I hard coded the items to be displayed using comboboxName.addItem(). When I
    run the form, the list of hard coded values shows up. However, when I select an item, the
    selected item is not displayed on the screen.
    Could anyone tell me what I am doing wrong or is this a bug?

    What is the page# on which you are seeing this
    behaviour?I believe it's .../pls/htmldb/f?p=4000:4110
    Probably is a reset pagination omission, there are a
    few of these lurking around in the App Builder.Note that this happened after a delete operation so the URL actually shows:
    /pls/htmldb/wwv_flow.accept
    The use-case is thus:
    Viewing LOV utilization @ pls/htmldb/f?p=4000:198
    Click on LOV Name where utilization indicates all zeros (no usage) which takes me to /pls/htmldb/f?p=4000:4111
    Click the Delete button on the Edit List of Values page.
    Screen returns to Icon view of LOVs and URL shows /pls/htmldb/wwv_flow.accept
    This is not really a big deal. Just an observation of a possible problem. It is easily worked around by clicking the Go button to requery the page.
    Earl

  • Breaking change in MDAC ADODB COM components in Windows 7 Service Pack 1 (repost with MSDN liveID)

    As my MSDN subscription is connected to this liveID, I repost my question in the hope to get a faster answer:
    After I installed Service Pack 1 on my Windows 7 x64 Ultimate my applications which use MDAC 2.8 COM components for database access do not work on other Windows versions any more.
    I hunted this down to changed Interface IDs in the msadoxx.tlb files. On Windows 2008 R2 e.g. the IID of dispinterface _Connection is {00000550-0000-0010-8000-00AA006D2EA4} (defined in msdado28.tlb). When I lookup the same dispinterface on my Windows 7 with
    SP1 (RTM from MSDN) I see this IID {00001550-0000-0010-8000-00AA006D2EA4}.
    That means that all code produced on Windows 7 SP1 using ADODB cannot be run on any other version of Windows as the IIDs differ.
    The CLSIDs still match, so the COM objects get created but due to different IIDs they cannot be used.
    I really hope I am missing something as this change seems to be a massively breaking change in the MDAC API.
    To verify the error you can use code like this in VB6 or equivalent in VB.Net or C# and compile it on Win7 SP1 and run it on Win7 RTM or older versions of Windows:
    Dim cn As ADODB.Connection
    Dim o As Object
    Set o = CreateObject("ADODB.Connection") ' this does still work
    Set cn = o ' this errors when compiled on Win 7 SP1 and run on older versions of Windows due to the changed IID of the dispinterface _Connection
    Regards,
    SvenC

    Ok NEW Fix:
    ===================================================================
    ---- / start: getting around Trusted Installer / ----
    STEP 1) Change owner of  
    "%CommonProgramFiles(x86)%\system\ado\msado28.tlb" to administrator or whatever your current local user is... 
    Then close all security windows.
    You might have to change this registry setting in order to change the owner:  
    (although I'm not sure, I did though.)
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\TypeLib\{2A75196C-D9EB-4129-B803-931327F72D5C}
    Right click, Permissions, Advanced, Owner, Change owner to Administrators, Click OK, OK
    STEP 2) Back in the file properties, under Security, Change Permissions to Full Control for your new owner.
    ---- / end: getting around Trusted Installer / ----
    STEP 3) 
    Unregister it:
    Run C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12 -u "CommonProgramFiles(x86)%\system\ado\msado28.tlb"
    STEP 4) Copy in legacy msado28.tlb file (get this from a non SP1 Windows 7 Machine), i.e. overwrite the last one.
    STEP 5) Re-register the new one:
    Run C:\Windows\Microsoft.NET\Framework\v4.0.30319\regtlibv12 "CommonProgramFiles(x86)%\system\ado\msado28.tlb"
    ** Now VB6 compiles from a Windows 7 SPK1 machine that reference MDAC 2.8 should work now automatically without changing anything in the project file or references
    Is there somewhere I can download the legacy msado28.tlb file since I have the only W7 machine in the organization?

  • REPOST: Making a digital magazine using Indesign, How to publish it without purchasing DPS?

    Hi there,
    So I have posted this on the Indesign forum, bit have been told to repost the question here.
    I am creating a Digital Magazine for a school project. It is getting marked by a marker and they obviously need to see how the magazine works etc.
    I am not looking into purchasing DPS just for this project. I just want to find a way to put the magazine on the iPad so its fully functional, I am in no way looking to publishing it to the App Store or anything like that.
    Someone suggested I still download the Adobe DPS tools installed (Folio Builder and Folio Overlays).... (Does that require me getting the Digital publishing suite?)
    Or I publish it as an Interactive PDF..
    My final question is how would I go about doing both?
    Thank you.

    Before you start I suggest you to understand the difference between Apps and documents. An App It's a self contained content that could be delivered only by the marketplaces (iTunes, GooglePlay, Amazon). If you choose this solution you have to respect their policies.
    If you choose a document such as a PDF you are free to deliver it as you prefer, by your store, by your network, via mail, etc.
    To read a document you need an App such as a Acrobat Reader.
    In between the document and the App there is the device and the operating system. That's why It's not so easy to mantein all the interactivity that you can potentially place in a PDF when you read on a device such as iPad.
    So we can define many scenarios:
    - Deliver your content using a PDF - lower compatibility with interactivity, no adaptive layout
    - Deliver your content using ePUB - lower compatibility with interactivity, adaptive layout
    - Deliver your content using an App created with a solution like the DPS - high compatibility with interactivity
    - Deliver your content using the developing - everything your target devices can support
    In my opinion I suggest you to adopt a CreativeCloud for education (very cheap) so you can deliver your content in all this ways than choose a good consultant :-)
    Ciao
    Andrea Spinazzola

  • Oracle Multitenant Questions

    Hi,
    I'm studying about Oracle Multitenant and I'm hoping anyone can help me.
    We have a 86 TB database, with no compression and we're struggling to backup this database.
    So, here is what we thought.
    Compress the whole database (since it's only inserted data on the database, no updates at all) on the current version - 11.2.0.3. We're hoping to compress at a ratio of 60%, so, it would be at 36 TB, but still a huge database to backup and recover.
    The next step would be migrate to 12c and setup Oracle Multitenant and divide this database into 5 instances (we can do it, because the database is divided in several mobile technologies). Let's suppose this division is equal, so, it would be around 6 TB each database, so, it would be manageable.
    Questions:
    - Do you think we could benefit using Oracle Multitenant?
    - This would be transparent to the application? No major changes?
    - How the backup would work? Can we backup each plugable database and restore it individually?
    Thanks in advance

    We have a 86 TB database, with no compression and we're struggling to backup this database.
    Ok - so give us information about the DB:
    1. How is it used
    2. Is it partitioned?
    3. How is it being backed up now? Are you doing complete backups or incremental ones?
    We need details - not just a statement that you are 'struggling'.
    Compress the whole database (since it's only inserted data on the database, no updates at all) on the current version - 11.2.0.3. We're hoping to compress at a ratio of 60%, so, it would be at 36 TB, but still a huge database to backup and recover.
    We need details:
    1. How is data being inserted?
    2. One row at a time by multiple users?
    3. Bulk inserts once a day?
    Less data means there is less to backup. But incremental backups don't backup the entire database anyway so we still need to know HOW the DB is being backed up now: how often and what kind of backups.
    You do NOT need to keep backing up old data that has NOT changed. Are you doing that? If so, why?
    The simplest solution to solve a 'database too big to backup' problem is to change the architecture so you don't have to keep backing up data that has NOT changed. Oracle's incremental backups already do that so maybe you are NOT using them.
    The next step would be migrate to 12c and setup Oracle Multitenant and divide this database into 5 instances (we can do it, because the database is divided in several mobile technologies). Let's suppose this division is equal, so, it would be around 6 TB each database, so, it would be manageable.
    I disagree - the NEXT STEP should be to find the cause of your performance issue.
    Based ONLY on what you posted the most likely problem is the types and frequency of the backups you are taking.
    Have you licensed the partitioning option? If so you can just put each of those 'mobile technologies' into its own partition.
    Again - how is data being inserted? If the new data is based on a value (e.g. a date) that distinguishes it from old data you can EASILY just put the newly inserted data into its own new partijtion by using a DAILY partitioned table.
    Then you don't need to backup the old data at all. And each day you would only back up ONE partition for the previous days data.
    That would be be EASIEST and MOST PERFORMANT solution to your problem.
    Questions:
    - Do you think we could benefit using Oracle Multitenant?
    - This would be transparent to the application? No major changes?
    - How the backup would work? Can we backup each plugable database and restore it individually?
    #1 - impossible to say until you provide the DETAILS ask for above about
    1. HOW you are performing the backups now,
    2. HOW often the data changes
    3. HOW the data changes (e.g. new data for today that distiguishes today's data from yesterday's data)
    4. Why you are performing the backups the way you are
    Multitenant isn't going to help if your data loads and architecture are such that you now have FIVE DBs to backup and they all need to be backed-up/restored together
    #2 - No - multitenant is NOT 'transparent'. You will now have FIVE DBs with data in FIVE places. Your current app is written to use ONE DB. The changes could be minor or could be MAJOR.. Querying data across database links is NOT as efficient as querying data that resides on the same server.
    On the other hand if a typical query only queries data from ONE of those five areas then you might get some significant performance improvements.
    But you might get those same improvements simply by properly partitioning the data or using better indexes.
    #3 - yes - you can backup and restore the PDBs individually. They are separate databases. However there is only ONE set of REDO log files. Those redo logs will contain changes from ALL of the PDBs,
    Also there is only ONE SET of memory management to be done. In multitenant memory is managed for the entire multitenant DB.
    There can be a steep learning curve to learn how to do that properly.
    Multitenant is NOT a magic solution for partitioning data - that is what partitioning is for.
    I suggest you find, and fix, you backup/performance/architecture issues with your current DB. If you need help doing that repost your question (and provide the DETAIL needed) in the General DB forum, the SQL and PL./SQL forum or the Backup/Recovery forums as appropriate..
    General Database Discussions
    PL/SQL
    Recovery Manager (RMAN)

  • Simple Question abbout email/submit

    I'm so embarrased about asking this but I've only just started to learn Adobe Designer 7.
    I' m learning through the Livecylcle  Designer Help before I start purchasing books.
    I'm learning and creating ok but the 'Submit' button is nagging me in the back of my mind.
    I create a form with a 'Submit by email' button and send it to a friend to fill and return to me.
    When it returns to me it comes back as data, xml I think.
    I'd like the pdf sent back instead of data.  I may learn this later on but it's niggling at me why it's comimg back
    as data instead of a pdf doc.
    I probably haven't gotten to this part of the instruction yet.  Is it a setting or something.
    I'm very computer literate but really a fish out of water with this.
    Basically i need some advice.
    Mario

    Please go back to the main forum page and select LiveCycle from the drop down list and repost your question.

  • BI Applications Questions

    (Sorry for double posting...but I just noticed this group and thought I'd repost my questions here.)
    Our company has recently purchased OBIEE and we're contemplating on whether or not to purchase the BI Applications (latest version). I have a couple of questions regarding these BI Applications.
    1. Does anyone actually purchase the BI Applications?
    2. Of those who purchased the BI Apps...do you actually use them? I've heard people buy them and really don't use them after awhile.
    3. Did you find yourself heavily customizing the BI Apps?
    4. It appears that the Sales and Marketing BI Apps pull data from Siebel systems, do you know if future versions (possibly for 11g) will pull from Oracle EBS instead?
    5. Is there a planned upgrade for BI Apps, for 11g? Does anyone know if Informatica will be replaced by ODI in the future BI Apps versions?
    6. (Not really a BI question) Does anyone use ODI for building their data warehouse/mart? I have heard mixed reviews. If not ODI, what tool(s)?
    Thanks, any information the community can provide will help us make better decisions.
    Thanks

    4. It appears that the Sales and Marketing BI Apps pull data from Siebel systems, do you know if future versions (possibly for 11g) will pull from Oracle EBS instead?
    First do not confuse OBIEE version (10g or 11g with BI apps 7.9.6.x). Right now if you need Sales and Marketing related analytics you can extend / customize OBIA to pull
    data from relevant EBS side tables. May be in future there may be OBIA for EBS but keep in mind usually people do not use EBS for Sales and Mkt mainly, they use CRM (like Oracle CRM on demand, Siebel CRM, SalesForce.com etc). So you need ot ask why do you need OBIA for Mkt and Sales pointing to EBS if you are not using EBS for that.
    5. Is there a planned upgrade for BI Apps, for 11g? Does anyone know if Informatica will be replaced by ODI in the future BI Apps versions?
    There is limited use OBIA using ODI, 7.9.5.2 and seemingly there is ODI on the roadmap, but how long that will take to replace Informatica, can't tell.
    OBIEE 11g will b supported with BI apps

  • Newbie question Temporary Tables

    Hi,
    I'm trying to do a comparison between 2 tables but since the realtionship between them is a many --> many I need to summarise the data from each before doing the comparison
    I've done this before in SQL server by using temporary tables as in
    SELECT Order_Number,count(*)
    INTO #temporders
    FROM ordeerlines
    GROUP BY Order_Number
    Is such a facility available within SQL Developer?
    Many thanks
    Steve

    I think you are looking for inline views.
    But you should repost this question under the SQL and PL/SQL forum.
    PL/SQL
    This forum is specific for the SQLDeveloper tool and Not for general SQL/PLSQL questions.

Maybe you are looking for