Help Exceptions

This is is program whereby there exiext a button and a textfield , a figure is entered into the textfield , anytime the user presses the button th efolowing procedure is invoked.
I have written a try statement to check if the correct numbers are inputted, i want to stop the system from printing error messages if the try throws an exception pls how do i do this
public void actionPerformed(ActionEvent ae) {
int b=0;
// validate inputs
try {
Integer.parseInt(maxPoints.getText());
catch (NumberFormatException e){
JOptionPane.showMessageDialog(null, "the maximum points value must be a number",
"maximum points", JOptionPane.ERROR_MESSAGE);

public void actionPerformed(ActionEvent ae)
int b=0;
// validate inputs
try {
     b=Integer.parseInt(maxPoints.getText());
catch (NumberFormatException e){
     JOptionPane.showMessageDialog(null, "the maximum points value must be a number",
          "maximum points", JOptionPane.ERROR_MESSAGE);
     return;
     maxPts = b;
     maxPoints.setText("");
}

Similar Messages

  • Java Help Exception in Linux

    Hi all, I have a piece of code that initializes Java help on windows perfectly but the same code causes an exception in Linux. below is the exception I am getting in Linux. because of this, the applications help is not appearing in Linux. Does anybody know why this happens only in Linux / has come across this or a fix for this earlier?
    Also I am working on Linux for the first time and I noticed that when i gave a couple of System.outs in the code to find out what was happening, they appeared allright in windows, but did not appear in Linux !! (then even the exception below disappeared, and that did not load help either !!)
    java.lang.NullPointerException
    at javax.help.HelpSet.parseInto(HelpSet.java:567)
    at javax.help.HelpSet.<init>(HelpSet.java:129)
    at com.mysoftware.util.MyJavaHelp.<init>(MyJavaHelp.java:52)
    at com.mysoftware.util.MyJavaHelp.getInstance(MyJavaHelp.java:64)
    Parsing failed for null
    Got an IOException (null)
    An answer to this will be highly appreciated...

    At present I am not sure if I can post code. I am trying to find that out. However, can u tell me what u mean by a Windows - window? I will try to figure that out...
    Thanks a lot..

  • Help, Exception using Web Service with Web Dynpro

    Hello All,
    Can someone please help me with this exception:
    com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(path=CalculatorComp/CalculatorCompView, class=com.sap.tc.webdynpro.progmodel.context.DataNodeInfo): cannot modify Number1 because it is mapped and there is no active NodeElement to take the value.
    I created a WebService based on Session Bean that exposes few functions.
    One of them receives two int numbers and returns a sum them.
    I've created A WebDynPro project with this structure:
    In order to do that I've created a model based on this WebService and made the following mapping:
    1. I've mapped the model context into the component global context - this mapping contains both the two numbers and the result.
    My context in my Controller was like this:
    Request_node * (Father Node)
                          Add * (Children Node)
                                  Number1 -
                                  Number2 -
                          Response* (Children Node)
                                  AddResponse* (Children Node)
                                                Return -
    PS:  "*" is Node and "-" is Attribute
    2. I've mapped the context values the global context into the context of the view, like this.
    Number1 -
    Number2 -
    Response*
                   AddResponse*
                                 Return -
    3. I add the following code in init() method:
    Calculator model = new Calculator();
    wdContext.nodeRequest_Add().bind(new Request_Add(model));
    4. I also add the following code in method to execute the WS.
    public void executeAdd( )  {
        //@@begin executeAdd()
        //$$begin Service Controller(-1063927033)
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
          wdContext.currentRequest_AddElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage());
        //$$end
        //@@end
    When I add values in fields and execute the method to call WS to happen the exception.
    com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(path=CalculatorComp/CalculatorCompView, class=com.sap.tc.webdynpro.progmodel.context.DataNodeInfo): cannot modify Number1 because it is mapped and there is no active NodeElement to take the value.
    Do Anyone has any idea?
    Thanks regards
    Eduardo
    Edited by: Eduardo Luiz De Angeli on Mar 3, 2009 6:16 AM

    Hi Murali,
    thanks for awnser, but I'd already seen the post and this don't helped me.
    Hi Satish,
    thanks for awnser!
    I'd already fill the context nodes in init() method, but don't worked.
    I tried to fill the context nodes of several ways, for example:
    wdDoInit() Method
    Calculator model = new Calculator();
    Add add = new Add(model);
    add.setNumber1(1);
    add.setNumber2(2);
    wdContext.nodeAdd().createAddElement(add);
    Response_Add response = new Response_Add(model);
    wdContext.nodeResponse().createResponseElement(response);
    AddResponse addResponse = new AddResponse(model);
    wdContext.nodeAddResponse().createAddResponseElement(addResponse);
    wdContext.nodeRequest_Add().bind(new Request_Add(model));
    Do you have any Idea?
    Thanks
    Eduardo

  • Please help: Exception when deploying ADF Web app to AS 10.1.3

    Hi everyone, I hope someone could help me with this.
    I'm using JDeveloper 10.3.2.0.4066. Oracle AS is 10.1.3.
    The application works fine on the embedded OC4J, but when deployed to Oracle AS I get the following 500 Internal server error:
    oracle.jbo.JboException: JBO-25222: Unable to create application module.     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:155)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)     at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:465)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:491)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)     at oracle.adf.model.servlet.ADFBindingFilter.isPageViewable(ADFBindingFilter.java:532)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:301)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##javax.naming.NamingException [Root exception is java.lang.ClassCastException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication]     at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:59)     at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)     at javax.naming.InitialContext.lookup(InitialContext.java:351)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:136)     at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)     at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)     at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)     at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)     at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)     at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)     at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:258)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)     at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)     at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1550)     at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1408)     at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)     at oracle.adf.model.BindingContext.get(BindingContext.java:465)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)     at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)     at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)     at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)     at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)     at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)     at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)     at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)     at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)     at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)     at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)     at oracle.adf.model.BindingContext.get(BindingContext.java:491)     at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:327)     at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:641)     at oracle.adf.model.servlet.ADFBindingFilter.isPageViewable(ADFBindingFilter.java:532)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:301)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)     at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.ClassCastException: com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpApplication     at oracle.jbo.common.PropertyManager.loadStaticEnvironmentFromProperties(PropertyManager.java:392)     at oracle.jbo.common.PropertyManager.loadProperties(PropertyManager.java:223)     at oracle.jbo.server.SessionImpl.init(SessionImpl.java:136)     at oracle.jbo.server.ApplicationModuleHomeImpl.createSession(ApplicationModuleHomeImpl.java:110)     at oracle.jbo.server.ApplicationModuleHomeImpl.<init>(ApplicationModuleHomeImpl.java:47)     at oracle.jbo.server.InitialContextImpl.createJboHome(InitialContextImpl.java:51)     ... 43 more
    I see that I have a ClassCastException but I don't know anything about this class.
    I did not find any other thread related to this.
    Could someone please help me?
    Thank you.

    Hi I am afraid I do have similar problem in production now. We just upgrade app server from 10.1.3.0 to 10.1.3.1 plus ADF Runtime libraries 10.1.3.2 plus one-off patch (bug 4398431) for JDBC Driver (fixing deadlock in java threads related to JDBC pooling)
    Any hint what might be a issue. I suspect it might be related to jbo.timetolive because first occurence of this message is about 1 hour after restart of application server and we are using default BC configuration jbo.timetolive= 1hour
    After that we see folowing error messga in application.log
    JBO-30003: The application pool (aacp.wpailin.bc.PailinAppModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
    at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
    at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:346)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-25222: Unable to create application module.
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1536)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1396)
    at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
    at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:346)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • Quick help Exception thrown

    I found this example from an old forum, and according to that, this code is suppose to work, but i'm getting an exception. i didn't want to write a comment on that forum, as the moderators will block it any way. So here's the   and the exception i got.
    First the exception;
    {code}
    javax.media.NoPlayerException: Cannot find a Player for :vfw://0
         at javax.media.Manager.createPlayerForContent(Manager.java:1412)
         at javax.media.Manager.createPlayer(Manager.java:417)
         at javax.media.Manager.createRealizedPlayer(Manager.java:553)
         at SwingCapture.<init>(SwingCapture.java:43)
         at SwingCapture.main(SwingCapture.java:65)
    {code}
    So the problem seems to be in " ml = new MediaLocator("vfw://0"); " , but when i checked the JMF registry for the Locator name it was "vfw://0"
    and this is what my JMF registry got to say;
    {code}
    Name = vfw:Microsoft WDM Image Capture (Win32):0
    Locator = vfw://0
    Output Formats---->
    0. javax.media.format.RGBFormat
      RGB, 320x240, Length=230400, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=960, Flipped
    1. javax.media.format.RGBFormat
      RGB, 160x120, Length=57600, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=480, Flipped
    2. javax.media.format.RGBFormat
      RGB, 176x144, Length=76032, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=528, Flipped
    3. javax.media.format.RGBFormat
      RGB, 352x288, Length=304128, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1056, Flipped
    4. javax.media.format.RGBFormat
      RGB, 640x480, Length=921600, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1920, Flipped
    5. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 28800 DataType = class [B yuvType = 2 StrideY = 160 StrideUV = 80 OffsetY = 0 OffsetU = 19200 OffsetV = 24000
    6. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 38016 DataType = class [B yuvType = 2 StrideY = 176 StrideUV = 88 OffsetY = 0 OffsetU = 25344 OffsetV = 31680
    7. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 115200 DataType = class [B yuvType = 2 StrideY = 320 StrideUV = 160 OffsetY = 0 OffsetU = 76800 OffsetV = 96000
    8. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 152064 DataType = class [B yuvType = 2 StrideY = 352 StrideUV = 176 OffsetY = 0 OffsetU = 101376 OffsetV = 126720
    9. javax.media.format.YUVFormat
      YUV Video Format: Size = java.awt.Dimension[width=640,height=480] MaxDataLength = 460800 DataType = class [B yuvType = 2 StrideY = 640 StrideUV = 320 OffsetY = 0 OffsetU = 307200 OffsetV = 384000
    {code}{code}{code}
    Edited by: localpott on Apr 17, 2010 11:06 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    hi
    i´m also new to this API, but i know this problem. you create a datasource from a capture-device and try to use it in a player. the medialocator is not the problem. if the capturedevicemanager wouldnt find the device he would throw an exception of you get null.
    the player throws an exception cause the manager cant find a suitable player for the datasource´s format. this may be because there´s no format set.
    Try to use a processor that wraps your input and create an outputstream in a supported format:
    Processor ip = Manager.createRealizedProcessor(new MediaLocator("vfw://0"));
    ip.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.QUICKTIME));
    try
    player = Manager.createRealizedPlayer(ip.getDataOutput());
    player.start();
    ...i hope this will work
    have a nice evening
    - Stefan

  • Help - Exception handling

    Hi All,
    Below is my pl/sql block.
    My question is why PL/SQL cannot handle the exception, and instead the exception is propagated to SQL Plus?
    I'm using oracle 8.1.7.0
    TIA.
    SQL> begin
    2 select * from emp;
    3 exception
    4 when others then
    5 dbms_output.put_line('ERROR !!!');
    6
    7 end;
    8 /
    select * from emp;
    ERROR at line 2:
    ORA-06550: line 2, column 3:
    PLS-00428: an INTO clause is expected in this SELECT statement
    ORA-06550: line 2, column 3:
    PL/SQL: SQL Statement ignored

    There is no runtime exception to handle because this is not even a valid PL/SQL anonymous block. Every SELECT statement in PL/SQL must be either SELECTed INTO a variable or exist as part of a cursor.
    If you explain what you are trying to do here, we can offer some suggestions.
    Simple SELECT INTO example:
    declare
      v_empno  emp.empno%type;
    begin
      select empno
        into v_empno
        from emp
       where empno = 1;
      dbms_output.put_line(v_empno);
    exception
      when no_data_found then
        dbms_output.put_line('Employee number 1 does not exist');
    end;
    /

  • Help - Exception condition "NOT_FOUND" raised

    Dear all,
        i get the following error when i tried to execute a RFC.I have already check the JCO connection and tested it,everything is working fine.Any idea gurus? thx
    Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE

    Hi
    The problem migh be, that the RFC does not get executed.[as there is no design time error] some of the reasons might be
    You have not set the mandatory input parameters.
    (try inputting these parameters through inputFields rather than just setting them through the code.)
    The other reason can be that you have changed some datatype of some mandatory fields( change in the logic would not cause any problme as it is an adaptive rfc). In this case you will need a model re-import.
    Regards
    Abhijith YS

  • I get this error help [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: XStringBundle :: getString :: line 17" data: no]

    [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: XStringBundle :: getString :: line 17" data: no] is the error I get whenever i open and change screens in Firefox

    Go under tools scroll down click on "options" click manage add-ons, near the top in that list will be Browser Defender toolbar, click on it then click "disable" and near the top will be a button to click to reboot--click that one.. Done.

  • Please HELP exception from EXTPROC.EXE

    guys...
    whenver i run extproc it gives Exception and Dr Watson reports it as access violation...what to do..??????

    How is AccountHome defined? Is it a concrete class or a variable? How is it initialized?

  • Just purchad Ipad2 64GB   3G, box does not state which carrier it is set up for.  I called apple and they weren't much help, except to tell me it is not "carrier specific."  I thought all Ipads were either Verizon or AT

    I just purchased Ipad2 64GB + 3G.  It does not stae on the box, whether this is for AT&T or Verizon.  I called Apple, and was told that it is not "carrier specific."  Was told that I should return, and get one that is set up for one or the other.  Are there any advantages to not having a specific carrier?  If I keep this one, how do I get 3G service, will it be offered directly from the Ipad like with the carrier specific ones? These are all questions Apple couldn't or wouldn't answer for me.  Thanks for any help!

    Whoever you spoke to was wrong or misunderstood the question. The iPad is most definitely carrier-specific when it comes to Verizon vs. AT&T. The Verizon model is specific to the CDMA network Verizon uses, and will work with only Verizon. The AT&T model is a GSM, technology used by many carriers around the world, so in that sense the "AT&T" model is not carrier-specific. A Verizon model will not work with AT&T and vice-versa, so you do need to have the iPad model for the carrier you wish to use.
    I believe the Verizon model will say either "Verizon" or "CDMA" on the box, so if yours doesn't, you probably have the GSM/AT&T model, but I'm not certain. Perhaps someone else here can confirm.
    Regards.

  • HELP - Exception creating or maintaining Jco Destinatination

    Hi,
    After system copy we tried to change the jco destinations
    WD_OS_MODELDATA_DEST and WD_OS_RFC_METADATA_DEST by
    Web Dynpro Content Administrator" Admin", but it failed.
    Now the system show,
    500 Internal Server Error - Failed to process request. Please contact
    your system administrator
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:997)
         at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:485)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.updateJCOClientStatus(JCOConnectionsDetails.java:494)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:711)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:675)
         at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.wdDoInit(JCOConnectionsDetails.java:122)
         at com.sap.tc.webdynpro.tools.explorer.wdp.InternalJCOConnectionsDetails.wdDoInit(InternalJCOConnectionsDetails.java:259)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:275)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:539)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:619)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:262)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:819)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:359)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    thanks in advance
    Diana

    Thanks,
    The solution was filling all fields of Jco connection by Sld-content maintenance -
    landscape definition - Class JCO message server destination & JCO application server destination.

  • Got an iPhone 3G, but can't use most of the features in South Africa-HELP!

    Hi there.
    I got my iPhone about 4-5 months ago in South Africa. I love the hardware, I love the way it looks, what you can do with it, etc. But there's one thing I find really really annoying, and that is the fact that I can't use the phone features that users in other countries have access to.
    No, I haven't run into any technical problems.
    The problem is that we have hardly anything available in our iTunes store. I invite you to switch your iTunes browser to the South Africa store and check it out... Yup, that's right, we have no music, movies, TV shows, podcasts or audiobooks. So what do we have? Some apps... yep some, but from the looks of it a greatly reduced list. Many apps I've found links to on the net, which people recommended, are simply not in our store. Even free apps, for example Google Earth.
    But the most glaring omission is the Games category... yep, not a single game available to South African users.
    So, to get an iPhone here requires a 2 year contract and another $300 on top of that for the 8GB version, so it surely isn't cheap... and yet I can't even make a custom ringtone because only music downloaded from the iTunes store can be used... I could do that on my very first Nokia phone which was a dinosaur w.r.t. technology compared to the iPhone.
    I honestly don't understand it...
    So, what help do I need?
    I need to find out who I can contact at Apple to reason with regarding the content of our iTunes store. I find it unacceptable that people who hack their phones have a FAR better experience than people who do the right thing. So, if you work at Apple and read this or you know someone at Apple that could perhaps help me find the correct person/people to talk to about this, then please please send me a mail with the appropriate details. My email address is [email protected] (yes, I'll even post my email address on a public forum )
    I don't think I am being unreasonable to expect a good level of service for a high end product, and at this point I am really unhappy with the service. Not the customer support etc, in fact the people I've had contact with are helpful, except that they cannot provide me with the information I need.
    If you can help, then thank you very much.
    Take care.
    - Emile

    Hi there.
    Thank you neuroanatomist for the info on creating a ringtone. I'll try it.
    I should perhaps have mentioned that I have tried all the official channels, including contacting support and sending feedback over the last couple of months. The support people sympathise but can't really help me and I haven't received anything w.r.t. the feedback I have sent, more than once.
    I'm now turning to the other users in the hope that someone can get me into contact with a person/people inside Apple that might be able to shed more light on this.
    I've already contacted our local distributors and my mobile phone provider and they have told me that it is Apple and only Apple who decide what is available in the store.
    W.r.t. licensing etc, I suspect that there may be some legalities involved here, however it's not like we are on a different planet - we get the same DVDs and movies and TV programs here as everywhere else - just not on the iTunes store... So once again everything points back to Apple and not to local laws. As far as I know our laws w.r.t. media are pretty standard and mostly based on UK law, but I am no legal expert.
    I would even be happy to get a "we know it's not great, we're working on it", or a "it may take some time, but hang in there" ... but I haven't even been able to get that... which is extremely frustrating.
    Take care,
    Emile.

  • While deploying the soa components using ANT getting the 404 exception

    HI
    I am trying to deploy the soa composites using ANT i am getting the below exception.
    Please help me as it is need very urgert for client.
    Appriciate for the quick help
    Exception:
    ant -f build.xml deployOnlyApplication
    [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
    [WARN ][codegc ] Falling back to normal page size.
    Buildfile: build.xml
         [echo] property file   = /opt/oracle/SampleCode
    deployOnlyApplication:
        [input] Please enter Application Name:
    HelloWorld
         [echo] In deployOnlyApplication ApplicationName HelloWorld
         [echo] Application Name HelloWorld
         [echo] property file   = /opt/oracle/SampleCode
    deployApplication:
         [echo] deploy application HelloWorld
         [echo] /opt/oracle/SampleCode/code/HelloWorld/build.properties
         [echo] property file   = /opt/oracle/SampleCode
    deployProject:
         [echo] deploy project HelloProject for environment SIT
         [echo] partition default compositeName HelloProject compositeDir /opt/oracle/SampleCode/code/HelloWorld
         [echo] build sar package
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    clean:
         [echo] deleting /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    init:
    scac-validate:
         [echo] Running scac-validate in /opt/oracle/SampleCode/code/HelloWorld/HelloProject/composite.xml
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    scac:
         [scac] Validating composite "/opt/oracle/SampleCode/code/HelloWorld/HelloProject/composite.xml"
         [scac]  info: File to validate does not exist fault-policies.xml
         [scac]  info: No test suites available
    package:
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    compile-source:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Copying 17 files to /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Warning: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/src not found.
          [jar] Building jar: /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
       [delete] Deleting directory /opt/oracle/SampleCode/code/HelloWorld/HelloProject/dist
         [copy] Copying 1 file to /opt/oracle/SampleCode/builds/${build.number}
         [echo] deploy on http://10.51.80.64:7005 with user weblogic
         [echo] deploy sarFile /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
    deploy:
        [input] skipping input as property serverURL has already been set.
        [input] skipping input as property sarLocation has already been set.
        [input] skipping input as property password has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=/opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    [deployComposite] Adding sar file - /opt/oracle/SampleCode/code/HelloWorld/HelloProject/deploy/sca_HelloProject_rev1.0.jar
    [deployComposite] INFO: Creating HTTP connection to host:10.51.80.64, port:7005
    [deployComposite] INFO: Received HTTP response from the server, response code=404
    [deployComposite] SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
         [echo] stop activate HelloProject
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    activateComposite:
        [input] skipping input as property host has already been set.
        [input] skipping input as property port has already been set.
        [input] skipping input as property user has already been set.
    [secure-input] skipping secure-input as property password has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    compositeMgrTask:
         [java] [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
         [java] [WARN ][codegc ] Falling back to normal page size.
         [java] Connecting to: service:jmx:t3://10.51.80.64:7005/jndi/weblogic.management.mbeanservers.runtime
         [java] java.io.IOException: Unhandled exception in lookup
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         [java]     at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         [java]     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:91)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManager.initConnection(CompositeManager.java:48)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.execute(CompositeManagerAntWrapper.java:221)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.main(CompositeManagerAntWrapper.java:275)
         [java] Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No]
         [java]     at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:291)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
         [java]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:179)
         [java]     ... 6 more
         [java] Caused by: org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         [java]     at java.lang.Class.newInstance0(Class.java:357)
         [java]     at java.lang.Class.newInstance(Class.java:310)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:897)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
         [java]     at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:471)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:358)
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
         [java]     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
         [java]     at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_NamingContextAnyStub.java:80)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:267)
         [java]     ... 9 more
         [echo] unit test HelloProject
         [echo] finish
         [echo] property file   = /opt/oracle/SampleCode
    deployProject:
         [echo] deploy project Project1 for environment SIT
         [echo] partition default compositeName Project1 compositeDir /opt/oracle/SampleCode/code/HelloWorld
         [echo] build sar package
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    clean:
         [echo] deleting /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    init:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy
    scac-validate:
         [echo] Running scac-validate in /opt/oracle/SampleCode/code/HelloWorld/Project1/composite.xml
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    scac:
         [scac] Validating composite "/opt/oracle/SampleCode/code/HelloWorld/Project1/composite.xml"
         [scac]  info: File to validate does not exist fault-policies.xml
         [scac]  info: No test suites available
    package:
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
        [input] skipping input as property compositeDir has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
    compile-source:
        [mkdir] Created dir: /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Copying 15 files to /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Warning: /opt/oracle/SampleCode/code/HelloWorld/Project1/src not found.
         [copy] Copying 2 files to /opt/oracle/SampleCode/code/HelloWorld/Project1/dist/SCA-INF/classes
          [jar] Building jar: /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
       [delete] Deleting directory /opt/oracle/SampleCode/code/HelloWorld/Project1/dist
         [copy] Copying 1 file to /opt/oracle/SampleCode/builds/${build.number}
         [echo] deploy on http://10.51.80.64:7005 with user weblogic
         [echo] deploy sarFile /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1
    deploy:
        [input] skipping input as property serverURL has already been set.
        [input] skipping input as property sarLocation has already been set.
        [input] skipping input as property password has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=/opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    [deployComposite] Adding sar file - /opt/oracle/SampleCode/code/HelloWorld/Project1/deploy/sca_Project1_rev1.0.jar
    [deployComposite] INFO: Creating HTTP connection to host:10.51.80.64, port:7005
    [deployComposite] INFO: Received HTTP response from the server, response code=404
    [deployComposite] SEVERE: Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
         [echo] stop activate Project1
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    activateComposite:
        [input] skipping input as property host has already been set.
        [input] skipping input as property port has already been set.
        [input] skipping input as property user has already been set.
    [secure-input] skipping secure-input as property password has already been set.
        [input] skipping input as property compositeName has already been set.
        [input] skipping input as property revision has already been set.
         [echo] oracle.home = /opt/oracle/Middleware/Oracle_SOA1/bin/..
    compositeMgrTask:
         [java] [WARN ][codegc ] Could not acquire large pages for 256Mbytes code (at 0xffffffff60000000).
         [java] [WARN ][codegc ] Falling back to normal page size.
         [java] Connecting to: service:jmx:t3://10.51.80.64:7005/jndi/weblogic.management.mbeanservers.runtime
         [java] java.io.IOException: Unhandled exception in lookup
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
         [java]     at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
         [java]     at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerHelper.createJMXConnector(CompositeManagerHelper.java:91)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManager.initConnection(CompositeManager.java:48)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.execute(CompositeManagerAntWrapper.java:221)
         [java]     at oracle.fabric.management.deployedcomposites.CompositeManagerAntWrapper.main(CompositeManagerAntWrapper.java:275)
         [java] Caused by: javax.naming.NamingException: Unhandled exception in lookup [Root exception is org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0  completed: No]
         [java]     at weblogic.corba.j2ee.naming.Utils.wrapNamingException(Utils.java:83)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:291)
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:227)
         [java]     at javax.naming.InitialContext.lookup(InitialContext.java:392)
         [java]     at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:179)
         [java]     ... 6 more
         [java] Caused by: org.omg.CORBA.NO_PERMISSION:   vmcid: 0x0  minor code: 0
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
         [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeC
         [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Del
         [java]     at java.lang.reflect.Constructor.newInstance(Constructor.java:51
         [java]     at java.lang.Class.newInstance0(Class.java:357)
         [java]     at java.lang.Class.newInstance(Class.java:310)
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.get
         [java]     at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_
         [java]     at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSy
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherIm
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherIm
         [java]     at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke
         [java]     at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457
         [java]     at weblogic.corba.cos.naming._NamingContextAnyStub.resolve_any(_
         [java]     at weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.jav
         [java]     ... 9 more
         [echo] unit test Project1
         [echo] finish
         [echo] finished Composite HelloWorld deployment
    BUILD SUCCESSFUL
    Total time: 1 minute 7 seconds
    Note : All the server name and port no are depfined properly.
    Regards,
    Anilkumar P

    Hi,
    I was getting exactly same error. I have resolved it by putting the
    <target name="enterPassword" >
            <input message="Please enter Weblogic password:" addproperty="passwd">
                <handler classname="org.apache.tools.ant.input.SecureInputHandler" />
            </input>      
    in my build.xml
    It means that it was not able to read password properly in bin/ant-sca-mgmt.xml
    Password was the issue in my case. it is working now.
    Thanks,
    Arun Jadhav

  • Exception after creating a new page in a new project

    Hello all,
    I have started a new module for which i have created a new project and al.
    I created my first page of the new project and i found an exception which i am not able to solve.I tested with a page having only StyledText but that also is not opening.Kindly help
    Exception:
    oracle.apps.fnd.framework.OAException: Could not load application module xx.xx.xxx.xxx.server.abcAM'.
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:279)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1166)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.ClassCastException
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
         at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1166)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    Hi
    thanks for your response.The thing id when i am creating everything new i.e. page ,EO,Vo,AM then it is not working but if i associate it with oracle default AM ---> oracle.apps.fnd.framework.server.OAApplicationModule then it is working.
    If i create it in my previous projects with new EO,VO,AM then also it is working ....
    Thats y it is not a settings problem..But still i am not getting the cause of the problem.
    Please help

  • 8.6.1 HELP and TOOLS- OPTIONS not working

    Hi,  after installing 8.6.1 I'm not able to access help for any function, except on tookit functions.  The context help works, but there is no detailed help (except Toolkit functions).  If I access LabVIEW help, the window shows the tree on the right, but when I click on any of the items no help appears in the window on the right.
    Also when I click on tools->options it searches for <helpdir>\_launchhelp.vi which it never finds, so I cannot change any of LabVIEW's options either.
    I installed using the Developer Suite DVD's, I do not think there was an explicit option to select Help.  I installed to D:\program files, would it be an issue if you don't install to C:?
    I uninstalled previous versions before installing 8.6.1. 
    Any ideas? 
    Message Edited by AnthonV on 05-20-2009 03:00 AM
    Solved!
    Go to Solution.

    Hello,
    It seems you're installation in corrupt to some extent.
    You can repair you're installation by going to: Control panel->Software->National Instruments. Then you get a dialog in which you can select LabVIEW 8.6.1 and REPAIR.
    If it still doesn't work, you can always contact your local sales office for support.
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

Maybe you are looking for

  • Save and restore state on a tree

    Hi, We're using a tree in a pagefragment and we want to save the state when someone change it. We save the state on treenodeX_action with this: tree1.saveState(getFacesContext()); And we try to restore in every page with this code: //PRERENDER METHOD

  • Leap year issue

    Hi friends, I have a problem in one of the existing codes. The cancellation amount is calculated for a range of dates. Say the active line item has a start date of  01.03.2006 and end date of  01.03.2012 say (B). Now if a rejection/Cancellation is pu

  • Files to backup in NOARCHIVELOG

    dear friends nowadays, i have an oracle export backup in test database. But my backup only considered logical export. I know that is recommended to backup INIT<SID>.ora too. What others configuration files would you recommend me in order to restore i

  • Fire drill or other emergency issues on call centres

    Hello, we've had several fire drills recently in our new building where we've had to evacuate all personell which left the phone lines open and un-staffed, so all calls coming in would either be sent to agents (if they didn't remember to log off thei

  • Import dvd to imovie hd

    I have some dvds (recorded ones) that I would like to import to imovie to make a small edit. is it possible? the video_ts files aren't readble. what can I do?