Seen the implementation of Java environments questions * Noob help *.

Yes I'm having installation issues all environments for just trying to learn Java!

I am new to Java and the development of Blackberry and I want to just make sure I'm set up everything correctly.

I am running Windows 7 Home Premium (64-bit)

And so far I have installed:

  • Java SDK (6 update 26)
  • BlackBerry JDE 6.0.0
  • BlackBerry JDE components 4.7.0
  • BlackBerry JDE Eclipse Plugin 1.3
  • Visual Studio Express 2010

I'm trying to follow the writing of your first Application.pdf

and as soon as I get to Page 7-"Setting up your new project BB" it says on step 4 to select "Installed components"< nowhere="" in="" my="" version="" of="" eclipse="" do="" i="" see="" this="" (or="" some="" of="" the="" other="" options="" for="" that="">

I thought that perhaps I was not installed things in the correct order or something, so I went back and reinstalled everything in order the tutorials describe - still nothing + _ +.

I tried to open "Blackberry JDE" by itself and it gives me this error: "Windows cannot find"javaw". Make sure you typed it correctly, and then try again. "and then it closes just, even if I never typed something.

I don't know what are the issues... any help would be appreciated, I just want to start to learn Java because I have a few ideas cool app floating around.  Ask if you need more information!

Thank you!

Welcome on the support forums.

If windows cannot find javaw you missed the step where you add the path to the PATH variable.
http://www.Java.com/en/download/help/path.XML

Tags: BlackBerry Developers

Similar Questions

  • Questions about the implementation of clusters of storage and DTS on active cluster

    I have a few questions about the implementation of clusters of data store and SRS storage in VSphere 5.1.

    We have a data center with about 15 HP blades and a few servers non-lame.  The hosts are all either VSphere 5.0 or 5.1.  Our back-end storage is an EMC VNX 5700 with about 20 stores of data.  All the VMWare is managed by VCenter 5.1 running on a dedicated physical machine.

    Currently, each data store is used individually; No piles of data store are put in place.  When a new virtual machine is created, the administrator usually chooses the data with the most space store.  Periodically, we will go back and manually storage vMotion machines to balance the load.

    Recently, we have expanded the VNX storage, so we now have LUNS in different pools, with different levels of performance.

    What I would do is set up for the data store clusters, so that us when a virtual machine is created, the administrator must not know what data store is in which pool.  Also take advantage of the DRS storage so that the burden of storage will be "refine" himself a little.

    I know the setting up of a cluster of storage in a 'clean' environment is quite simple, but my concern is creation/conversion data warehouses existing in active production in the cluster, while they are used.

    If I access the screen "data warehouses and store data from clusters ', right-click on the data center and create a cluster, and then move the various data stores in the new cluster, will there be an interruption in the production running systems?

    I also wonder about activation of storage i/o control.  It is not currently enabled on data warehouses.  I know it's useful for the StorageDRS, but will be allowing any negative impact on the system?  If I turn on the warehouses of data, is there anything else I should do or set in addition to all that allows him?

    Finally, we are in the process of Site Recovery Manager configuration.  SRS has an impact on the configuration of the data clusters and DTS store?

    Thanks in advance for your comments.

    Mike O.

    Gregg Robertson wrote:

    Hello

    Clusters of data and using DTS store doesn't impact RS even if you create a cluster of data store for storage of replicated data and another for everyone else, this way you machines virtual you want to replicate are not moved on warehouses of data that are not replicated , but will still have the ability to move if there is a conflict.

    Gregg

    With all due respect but SRM and DTS don't go together. SRM does not at all support the use of DTS. So if you are configuring SRM forget DTS for now.

    Reason for this is that SRM knows no DTS and VMs can be in flight when a failover should occur, and bad things can happen. Also, the protection breaks when a virtual computer is moved between data warehouses in a cluster data store.

    In short: don't go there.

  • I am currently working on a site that has the integration of Paypal which includes the page redirects (confirm or cancel). My goal is to have the implementation of site with a layout for desktop, Tablet and phone. My question is when I have a redirect pag

    I am currently working on a site that has the integration of Paypal which includes the page redirects (confirm or cancel). My goal is to have the implementation of site with a layout for desktop, Tablet and phone. My question is when I have a redirect page should I create a separate provision of the page for each device or just a provision of office that fits all three screen sizes? I hope that if the html page has the same name of the device (query) is automatically detected. Help with the help of Adobe Muse CC

    By Payal integration, you mean paypal html button? or etc payment gateway configuration? If this is a configuration of the gateway to your site domain name then a single page with any structure will work, but if you use the button code for all associated formats then you will need to create separate pages for all.

    Thank you

    Sanjit

  • Date Format question - calling a procedure stored on the side of java

    What is the best approach to managing a DATE as a parameter to a procedure?

    (1) the emp table has a column called hire_date and its data type is DATE.
    (2) the procedure has tried to retrieve all employees hired on a specific date, there is a parameter called p_hire_date, type what data it should use? Something like p_hire_date IN emp. HIRE_Date % TYPE? < == is that correct?
    (3) both within the body of the procedure, during the recuperation of registration,
    SELECT first_name, last_name
    FROM EMP
    Where hire_date = p_hire_date < == is that correct? or when should I use to_date()?

    (4) on the coast of Java, when you call this procedure, what data type the hire_date is?

    Thank you
    new2Oracle

    Hello

    Procedure seems correct, do not use to_date.

    Switch argument as a java.sql.Timestamp.

    (Or java.sql.Date If you are absolutely certain that you DATE of Oracle is a component "hour")

    Concerning
    Peter

  • Guard application launch at the start of the appliance, also need advice for the implementation of network methods

    Hi all

    I'm new to the development of Blackberry and I'm writing a relatively simple application to run on 7.1.

    So far the development was interesting, I managed to create my user interface using resources online (mainly this forum), but today I tried to implement some of the network classes that I need and now I just met constant problems.

    I use Eclipse SDK 3.7.2 (the one that comes with the plugin RIM)

    First question:

    I'm not sure what I changed, but today I noticed that whenever I start the Simulator (by sim 9360) my application is started during the initial startup process. I don't think he did this before, but to be honest, I wasn't paying much attention. I think it starts at the start of the device is because I put a breakpoint in the constructor for my class from the main screen, which is hit before the Simulator happens even to the point where it is ready for user interaction. In addition, once it is ready, if I press the BB button, I see my registered application.

    I don't have it set to automatic start in .xml descriptior enforcement.

    I started this application on the HelloBlackBerry sample, here is my main method for the entry of the application:

    public static void main( String[] args ) {
            appSettings = AppSettings.fetch();
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            HelloBlackBerry theApp = new HelloBlackBerry();
            theApp.enterEventDispatcher();
            //openConnection();
    
        }
    
    
    

    As far as I know, this is the only entry point for the application.

    More code

        public HelloBlackBerry() {
            // Push a screen onto the UI stack for rendering.
            mainScreen = new ScreenHelloBlackBerry();
            pushScreen( mainScreen );
        }
    

    Here is the method of. my class AppSettings fetch()

        // Retrieves a copy of the effective properties set from storage.
        public static AppSettings fetch()
        {
            AppSettings savedSettings = (AppSettings) _store.getContents();
            return new AppSettings(savedSettings);
        }
    

    Some of this code that I wrote myself, the persistence store cause the launch of my car?

    I tried to reset the Simulator to the factory settings, no change.

    All applications initialized during the startup of the device and then closed shortly after?

    Part 2: Need advice for the implementation of functions of network in the application

    I need to implement some methods that will retrieve data from a web service, and I also need to send data to this service. What I've read, the ConnectionFactory is the way to go. I want my application to make a request when the application is open and can check on a set interval. I didn't know exactly how to go about adding another thread for networking, I understand that network connections should not be created on the thread main event, so I tried to do this:

    The constructor of my class that implements screen (ScreenHelloBlackBerry), I use the following to create a modal dialog box to prompt the user for a username, I also try networking wire in the same segment of spawning:

            public ScreenHelloBlackBerry(){...initialize fields and managers, add it all together...then near the end
    
    //This will open the confirm dialog when the application is launched
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run() {
                      openConfirmDialog();
                    //start connection - Possibly broken
                      ConnectionThread ct = new ConnectionThread();
                      ct.start();
                  }
            });
    

    I don't know if it's somehow OK to do, but it seems to work for what I need. I want a user who launches the application at the prompt, and if a user switch applications, when they come back they wondered again (unless they close the app and reopen it).

    Here is my ConnectionThread:

    public class ConnectionThread extends Thread
    {
    
        public void run()
        {
    
              ConnectionFactory connFact = new ConnectionFactory();
              ConnectionDescriptor connDesc;
              connDesc = connFact.getConnection("http://www.google.com");
              if (connDesc != null)
              {
                  HttpConnection httpConn;
                  httpConn = (HttpConnection)connDesc.getConnection();
                  try
                  {
                      final int iResponseCode = httpConn.getResponseCode();
                      UiApplication.getUiApplication().invokeLater(new Runnable()
                      {
                          public void run()
                          {
                              Dialog.alert("Response code: " +
                                            Integer.toString(iResponseCode));
    
                          }
                       });
                      httpConn.close();
    
                   }
                   catch (IOException e)
                   {
                     System.err.println("Caught IOException: "
                          + e.getMessage());
                   }
              }
        }
    }
    

    At the moment it has basically unmodified code from a sample that I found, I'll be retooling to meet my needs whenever I can make it work. I HAD this work to the point where, after the closed user confirm this dialog, a few moments later a an alert dialog appears with the 302 response code. I don't know what changed, but now it doesn't work at all, and if I try to scroll with the debugger, I can't past the httpCon.getResponseCode (). I've seen some mistakes earlier on "no record of service was set up", and I also had once a timeout exception.

    I'm sure I'm doing this wrong, but at the same time as I said WAS working, and now it is not. If someone has done this far, thank you very much for your time and advice are much appreciated.

    Also, should I try to start the thread of the network of the UIApplication class instead of the screen? There is currently very little happening in the class that extends UIApplication, do I spend most of my business logic out of the class of the screen and in the UIApplication class?

    Thanks in advance!

    Hi all

    Just to conclude this topic for those who are interested, I found an excellent guide to the implementation of networks in applications of BB, click here for a link.

    About my application being started at the start of the simulator of the device, I found that on a device real this behavior is not complied with, and in addition, the behaviour seems to have stopped after uninstallation and reinstallation of my Simulator.

    See you soon,.

  • The implementation of ListFieldCallback

    Hello

    I am new to the Blackberry development environment and I am developing an application that contains a screen with elements of the text list (list item). I have a lot of reading development guides, I am naïve in the implementation of ListCallback.

    Can anyone help me regarding the same (as private class ListCallback implements ListFieldCallback)

    Thank you & best regards

    Siva

    Hi and welcome to the forums.

    You will find a new developer of BlackBerry, many of your questions is probably have been asked before.  So, do a search in the forum.  It is not so easy to search, so try a number of different keywords if you can.

    In this case, if you had sought a "sample listfield", you probably would have found this thread as the first link.

    http://supportforums.BlackBerry.com/T5/Java-development/simple-ListField-example/TD-p/426809

    There are other establishments, but I think it will help you.

    Hope he does and we hope your enjoy BlackBerry development experience.

  • How to solve a problem related to the implementation of the legacy?

    Hello

    Then I come on this way to ask for assistance on the implementation of the legacy on my request. So the problem is:

    I apply I need to capture audio and analyzing this capture of the Spectrum Analyzer, Volumes etc.

    So I will use several microphones in this application, I will use the same code in the audio capture.

    I have a class called Application which has GUI and events, such as events of button and update the values in the GUI. In my first version of the Application, I have everything here, but I had Don t like that and is not good for performance, so I want to divide the code by other classes. That's why I try to the legacy.

    So I created a class called equipment which is the super class and in this class will have the method captureAudio(), the calculateRMSLevel(), the sendOutPresenceUpdates() etc... And I have 3 variables:
    public abstract class Equipment {
    
        public AudioFormat format;
        public TargetDataLine line;
        public Mixer mixer;
        public EventListenerList listenerList = new EventListenerList();
        
        public Equipment(AudioFormat format, TargetDataLine line, Mixer mixer){
    
            this.format = format;
            this.line = line;
            this.mixer = mixer;
        }
    
        public AudioFormat getFormat() {
            return format;
        }
    
        public void setFormat(AudioFormat format) {
            this.format = format;
        }
    
        public TargetDataLine getLine() {
            return line;
        }
    
        public void setLine(TargetDataLine line) {
            this.line = line;
        }
    
        public Mixer getMixer() {
            return mixer;
        }
    
        public void setMixer(Mixer mixer) {
            this.mixer = mixer;
        }
    
         public int calculateRMSLevel(byte[] audioData){
         // audioData might be buffered data read from a data line
            long lSum = 0;
            for(int i=0; i<audioData.length; i++)
                lSum = lSum + audioData;

    double dAvg = lSum / audioData.length;
    double sumMeanSquare = 0d;
    for(int j=0; j<audioData.length; j++)
    sumMeanSquare = sumMeanSquare + Math.pow(audioData[j] - dAvg, 2d);

    double averageMeanSquare = sumMeanSquare / audioData.length;
    return (int)(Math.pow(averageMeanSquare,0.5d) + 0.5);
    }

    public void sendOutPresenceUpdates(int FullJIDAndResource, String NewPresence) {
         Object[] listeners = listenerList.getListenerList();

         Integer inputValue = _FullJIDAndResource;
         String convertedValue = inputValue.toString();
    // Empty out the listener list
         // Each listener occupies two elements - the first is the listener class and the second is the listener instance
    for (int i=0; i < listeners.length; i+=2) {
              if (listeners[i]==CustomPresenceListener.class) {
                   ((CustomPresenceListener)listeners[i+1]).presenceEventOccurred(new CustomPresenceEvent(this, convertedValue, _NewPresence));
                   }
              }
         }
    public void listenForPresenceEvents(CustomPresenceListener _listener) {
              listenerList.add(CustomPresenceListener.class, _listener);
         }


    public void removeEventListener(CustomPresenceListener _listener) {
              listenerList.remove(CustomPresenceListener.class, _listener);
         }
    public void captureAudio(){

    }
    And i have questions about the constructor, is right the constructor that i created in the superclass?
    
    So i create a subclass called Microphone1 and in this class i make override from the method captureAudio() from the superclass and here i create the thread for the capture.
    class Microphone1 extends material {}



    Public Microphone1 (format AudioFormat, line TargetDataLine, drummer mixer) {}

    Super (format, line, mixer);

    }


    public void captureAudio() {}
    try {}
    format = getFormat();
    MixerInfo [] Mixer.Info = AudioSystem.getMixerInfo ();
    DataLine.info get information on line.
    DataLine.Info info = new DataLine.Info (TargetDataLine.class, format);
    Drummer mixer = AudioSystem.getMixer(mixerInfo[3]);
    Download the info from the desired line.
    line = (TargetDataLine) AudioSystem.getLine (info);
    Get a TargetDataLine on selected mixer.
    line = mixer.getLine (info) (TargetDataLine);
    Line.Open (format);
    Line.Start ();

    CaptureThread captureThread = new CaptureThread();
    captureThread.start ();

    } catch (Exception e) {}
    System.out.println (e);
    System.Exit (0);
    } //end wrestling
    }
    But now i have a problem in the class Application, because i want to start the capture when i click in the button so i created the actionPerfomed and inside of this event i create this:
    Microphone1 m1 = new Microphone1 (format, line, mixer);
    M1.captureAudio ();
    But when i execute the application and click in the button appears this: java.lang.NullPointerException :/ and i don't know how to solve this.
    
    Any help? Where i am wrong?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Well Yes, see also http://download.oracle.com/javase/tutorial/java/index.html

  • I load the Version of Java Console 6.0.2.03 when Firefox says it must be installed, but never stays on my system. I need to reinstall.

    I have Java Console 6.0.01.03 and when I open Firefox it says I can install Version 6.0.02.03 so I say install. So when I turn off my machine and I go to Firefox it asks me to do it again.

    You are 18 updates behind in Java; your version 1.6.0_05. the current version is 1.6.0_23. See updating the guidelines under the heading "Other issues that need your attention".

    Disable Java Quick Starter: (start) > settings > Control Panel > Java, the Java Control Panel will open, click on Advanced tab, expand Miscellaneous, uncheck 'Java Quick Starter', exit Firefox, restart Firefox. If I remember correctly, you must perform it whenever you update Java.

    Other issues requiring your attention

    The information provided with your question indicates you have outdated plugins with known security and stability issues that need to be updated. To see the plugins submitted with your question, click on "+ system details...". "to the right of your original message of the question.

    1. Check your plugin versions: http://www.mozilla.com/en-US/plugincheck/

      • Note: plugin check page lacks information about all versions of the plugin
    2. Update of Adobe Reader (PDF plugin):
      • Within your existing Adobe (If you have already installed) drive:

    • Open the Adobe Reader program in your list of programs
    • Click Help > check for updates
    • Follow the instructions to update
    • If this method works for you, go to the section "download full installer ' below and go to"after the installation"below
  • Download the full installer (If you have NOT installed Adobe Reader):
    • "Use the links below in order to avoid the painful' getplus" Adobe Download Manager and other 'extras' you do not want
    • Use Firefox to download and SAVE the installer to your hard drive for the appropriate link below
    • Click "save to file"; Save to your desktop (so you can find it)
    • Once the download is complete, close Firefox
    • Click on the installation program, you just downloaded and allow installation to continue
      • Note: Vista and Win7 users need to right click on the installer and choose "Run as Administrator"
    • Download link: ftp://ftp.adobe.com/pub/adobe/reader/
      • Choose your operating system
      • Choose the latest version of # .x (example 9.x for version 9)
      • Choose the version the most recent number
        • NOTE: 10.x is the new Adobe Reader X (Windows and Mac only from this announcement)
      • Choose your language
      • Download the file
      • Windows: click on the .exe file. Mac: click on the .dmg file
  • Using one of the links below will force you to install the "getPlus" Adobe Download Manager. Also don't forget to uncheck the McAfee scanner if you do not want the link force installed on your desktop computer
  • After installation, launch Firefox and recheck your version.
  • Update the Java plugin to the latest version.
  • Java with Minecraft error "error: could not create the Virtual Machine Java.»

    When I try to open Minecraft SP, it won't let me open and there is a message saying:

    "Error: could not create the Virtual Machine Java.".
    Error: A fatal error has occurred. Program will exit. »
    How can I solve this problem?

    Hello

    What is the operating system installed on your computer?
     
    You can ask your question on the Minecraft forums for assistance. Check out the following link.
    http://www.minecraftforum.NET/viewforum.php?f=1002
  • someone is using my email address to send emais. I tried to reset my password but I am not able to. He says that the answer to my secret question does not.

    someone is using my email address to send emais. I tried to reset my password but I am not able to. He says that the answer to my secret question does not. I know I'm getting the correct ansewer. Help, please.

    Hi, Catherine.

    You'd better post in the Windows Live Solution Center-Hotmail like that is dedicated to Windows Live Hotmail.

    If you have not implemented alternative methods to check your Hotmail credentials, I suggest do it after your account is returned.  For more information, see Security Hotmail to protect and recover your account .

    Good luck!

  • Error message: your browser must have Java enabled to use the Client for Java when you try to access the Citrix server.

    Original title: java question.

    I'm trying to access the Citrix server to access my work server.  When I click on an application, I get an error message: your browser must have Java enabled to use the Client for Java.  I checked and the right version of Java installed and removed the old Java applications but still this message when trying to access Citrix.  Please meet w / directions for a fix.

    Start by seeing if Java has been installed correctly:

    http://www.Java.com/en/download/testjava.jsp

    or
    http://javatester.org/

  • PropertyNotFoundException: Lack of resources in the implementation of EL:? propertyNotReadable?

    Hi all

    I'm the fill af:table with bean managed. I followed this blog Ashish Awasthi (Jdev/ADF) Blog: fill af:table programmatically from managead using POJO beans . After deploying my application when I have access to the browser, it gives me the following error.


    To resolve this error, I followed this blog as well, but couldn't solve the problem https://technology.amis.nl/2011/06/23/how-to-run-into-and-resolve-el-propertynotfound-exception-and-propertynotreadable-...


    Kindly help me on this issue. I use Jdeveloper 11.1.1.7.1


    AF table code

    <af:table value="#{TestUserTasksClass.listUserTasks}"
                                  var="row" rowBandingInterval="0" id="t6">
                          <af:column sortable="false" headerText="Title"
                                     align="start" id="c5">
                            <af:outputText value="#{row.title}" id="ot22"/>
                          </af:column>
                        </af:table>
    
    

    Root cause]] of ServletException.

    javax.el.PropertyNotFoundException: lack of resources in the implementation of EL:? propertyNotReadable?

    at javax.el.BeanELResolver.getValue(BeanELResolver.java:252)

    at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)

    at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)

    at com.sun.el.parser.AstValue.getValue (unknown Source)

    at com.sun.el.ValueExpressionImpl.getValue (unknown Source)

    at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)

    at org.apache.myfaces.trinidad.component.FacesBeanWrapper.getProperty(FacesBeanWrapper.java:58)

    to org.apache.myfaces.trinidad.component.UIXTable$ RowKeyFacesBeanWrapper.getProperty (UIXTable.java:630)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.getProperty(UIXComponentBase.java:1353)

    at org.apache.myfaces.trinidad.component.UIXIterator.getValue(UIXIterator.java:722)

    at org.apache.myfaces.trinidad.component.UIXCollection.__flushCachedModel(UIXCollection.java:1438)

    at org.apache.myfaces.trinidad.component.UIXCollection.encodeBegin(UIXCollection.java:524)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeFormItem(PanelFormLayoutRenderer.java:1045)

    in oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.access$ 100 (PanelFormLayoutRenderer.java:46)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$ FormColumnEncoder.processComponent (PanelFormLayoutRenderer.java:1491)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$ FormColumnEncoder.processComponent (PanelFormLayoutRenderer.java:1410)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$ 300 (PanelGroupLayoutRenderer.java:30)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:682)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:601)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:438)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:615)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1163)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:522)

    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailHeaderRenderer.renderContentRow(ShowDetailHeaderRenderer.java:181)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:262)

    at oracle.adfinternal.view.faces.renderkit.rich.ShowDetailHeaderRenderer.encodeAll(ShowDetailHeaderRenderer.java:107)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$ 300 (PanelGroupLayoutRenderer.java:30)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:682)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:601)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:438)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderChildrenAfterHelpAndInfo(PanelHeaderRenderer.java:615)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer._renderContentCell(PanelHeaderRenderer.java:1163)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.renderContentRow(PanelHeaderRenderer.java:522)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelHeaderRenderer.encodeAll(PanelHeaderRenderer.java:262)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer._encodeChild(PanelGroupLayoutRenderer.java:432)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.access$ 300 (PanelGroupLayoutRenderer.java:30)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:682)

    to oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer$ EncoderCallback.processComponent (PanelGroupLayoutRenderer.java:601)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)

    at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)

    at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)

    at oracle.adfinternal.view.faces.renderkit.rich.PanelGroupLayoutRenderer.encodeAll(PanelGroupLayoutRenderer.java:358)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:438)

    at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:422)

    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2788)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:438)

    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1341)

    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1432)

    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:358)

    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:840)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)

    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)

    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)

    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)

    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)

    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:979)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:408)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:237)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:175)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)

    at java.security.AccessController.doPrivileged (Native Method)

    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)

    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)

    In addition, your list is never initialized. The Get accessor of that we called several times during the rendering of the user interface, the set accessor is not called.

    You need to implement some sort of initialization (for example, https://tompeez.wordpress.com/2014/10/18/lazy-initalizing-beans/) of

    Timo

  • How to use the nocopy with java stored procedures parameters

    
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    
    

    I'm a PL/SQL programmer, but not a Java programmer. I have the following java function that does what it's supposed to add a pdf at the end of another pdf document:

    import oracle.sql.BLOB;
    import org.apache.pdfbox.util.PDFMergerUtility;
    import oracle.jdbc.OracleConnection;
    import oracle.jdbc.driver.OracleDriver;
    import java.io.OutputStream;
    
    public class PDFUtilities {
    public static BLOB appendPDF(BLOB pdfdoc1, BLOB pdfdoc2) throws Exception {
           
            //create a connection object to the current instance
              OracleConnection conn = (OracleConnection)new OracleDriver().defaultConnection();
            //create the output blob using the connection
              BLOB outPDF = BLOB.createTemporary(conn, true ,BLOB.DURATION_SESSION);
            //create an output stream to the output blob
              OutputStream os = outPDF.setBinaryStream(0);               
            //instantiate the pdf merger utility
              PDFMergerUtility mergerUtility = new PDFMergerUtility();       
            //connect the merger to the output stream
              mergerUtility.setDestinationStream(os);
            //stream from each input blob into the merger utility
              mergerUtility.addSource(pdfdoc1.getBinaryStream());
              mergerUtility.addSource(pdfdoc2.getBinaryStream());
            //merge the 2 input pdfs
              mergerUtility.mergeDocuments();             
            //do not close the output stream
            //return the blob
            return outPDF;
        }
    
    }
    

    CREATE OR REPLACE package PDFTOOLS.pkg_pdf_utilities
    as
    function f_get_merged_pdf (
              pi_pdf1       blob
            , pi_pdf2    blob
      )
      return blob;
    end pkg_pdf_utilities;
    /
    
    CREATE OR REPLACE package body PDFTOOLS.pkg_pdf_utilities
    as
    function f_get_merged_pdf (
              pi_pdf1       blob
            , pi_pdf2    blob
      )
      return blob
      as language java name 
      'com.mycode.pdftools.PDFUtilities.appendPDF(oracle.sql.BLOB, oracle.sql.BLOB) return oracle.sql.BLOB';
    end PDFTOOLS.pkg_pdf_utilities;
    /
    

    It's very basic, but doesn't seem to work. However, I want to my function from PL/SQL to a procedure that looks like this:

    CREATE OR REPLACE package PDFTOOLS.pkg_pdf_utilities
    as
    procedure sp_append_pdf (
              pio_pdf2append2   IN OUT NOCOPY blob
            , pio_pdf2append   IN OUT NOCOPY blob
      )
    end pkg_pdf_utilities;
    /
    

    What is important, what I'm trying to do is to NOCOPY the BLOBs. Otherwise, I have to read my PDF files into 2 BLOBs and create a 3rd blob as output. I prefer to be able to keep the pio_pdf2append2 as the final output. What I actually do call thing in a loop to gradually add a PDF file to a big. I'm not linking this in one operation because of concerns over the use of the system and because the pdfbox library java has would have been question after 850 in PDF format, which is not completely unrealistic in my approach.

    How could I achieve this?

    Post edited by: Pollocks01 only formatted code blocks because atlassian {code} tags didn't work.

    Passage of an argument as input/OUTPUT requires the mapping to a Java array.

    Simplified example that adds one FOR the other:

    create or replace and compile java source named blob_appender_src as
    import oracle.sql.BLOB;
    import java.sql.SQLException;
    import java.io.OutputStream;
    import java.io.InputStream;
    import java.io.IOException;
    
    public class BLOBAppender {
        public static void run (BLOB[] p1, BLOB p2) throws SQLException, IOException { 
    
            InputStream is = p2.getBinaryStream();
            OutputStream os = p1[0].setBinaryStream(p1[0].length()+1);                
    
            byte[] buffer = new byte[1024];
            int len;
            while ((len = is.read(buffer)) != -1) {
                os.write(buffer, 0, len);
            }
            os.close();
            is.close();
        }
    }
    
    create or replace procedure blob_append (
      p_lob1  in out nocopy blob
    , p_lob2  in            blob
    )
    as language java name 'BLOBAppender.run(oracle.sql.BLOB[], oracle.sql.BLOB)' ;
    /
    
    SQL> declare
      2    p_lob1  blob := utl_raw.cast_to_raw('ABC');
      3    p_lob2  blob := utl_raw.cast_to_raw('DEF');
      4  begin
      5    blob_append(p_lob1, p_lob2);
      6    dbms_output.put_line(utl_raw.cast_to_varchar2(p_lob1));
      7  end;
      8  /
    
    ABCDEF
    
    PL/SQL procedure successfully completed.
    
  • How to get the id of the cluster, the name of vcenter via vi java api? Please help me

    I use vsphere java api, I wanted to retrieve the uuid of the cluster and datacenter resourcepool, how do I do it?

    Welcome to the Forums, I took the liberty of moving your question to the right subforum.

  • Dreamweaver asks me to download Java SE6 and it is no longer available. I downloaded the update of Java 7 71 and Dreamweaver will not accept that to open (or not my Adobe Illustrator). What should I do?

    QUESTION please help: Dreamweaver will not launch and asks me to download Java SE6. It seems to not be available. I downloaded the update of Java 7 71 and Dreamweaver will not accept that either (nor will my Adobe Illustrator). What should I do?

    Direct download:

    Java for OS X 2014-001

    Nancy O.

Maybe you are looking for

  • Firefox opens on a different page.

    Firefox opens on a different page, opens with a football icon and not the normal firefox icon.It started just today.

  • Lotus Notes Date format question on the XP machine

    User on the AD domain is part of the XP machine and the date in the Lotus Notes database format becomes jj/mm/aa in a field, but saves as 7 December 2012 without worrying for the user. I sign on the pc and everything works fine, any ideas?

  • This patch could not be opened__

    I'm trying to uninstall an old copy of the Messenger 7.5 as a prelim to install the latest version. When I tried to install version 11, she got up then roll installation. Problem is when I uninstall 7.5 I get a message "this fix could not be opened.

  • Key combination Windows key and tab (tab'ulator) ' flag' does not work

    Hi all We have HP 9470, 2170 and 8570 enrolled in our environment. All computers are installed with a standard image of Win7 and SSM of HP tool for installing drivers. It now turns out that none of them don't function with the key Win + Tab (switch b

  • Widows DVD Maker does not.

    I had a JVC HD camcorder for many years and have managed to make the DVD. However, last year I got through the process of Windows Movie Maker OK BUT when I try to burn a DVD to the next step it "freezes" at 45% and the "catastrophic error" message. I