Mark/reset IO exception

Hi everyone,
What I'm trying to do here is get an audio file from the jar file as an input stream and convert this to an audioInputStream. Obtaining it from the jar file works fine. The problem is that I get an io exception at the following line:
audioInputStream = AudioSystem.getAudioInputStream(is);This code all worked fine before when I created an audioInputStream using a File object. Is there any work around that would solve this?
public void beginAudio()
jarFile = new JarFile("z.jar");
soundFile = jarFile.getJarEntry("Multimedia/DMathews.wav");
      if(soundFile!=null)System.err.println("sound file is not NULL here");
      loadAudio(soundFile);
public void loadAudio(JarEntry entry)
    try
        is = jarFile.getInputStream(entry);
        if(is!=null)System.err.println("is is NOT NULL");
        if (is.markSupported()==false)System.err.println("mark is NOT supported by IS");
        audioInputStream = AudioSystem.getAudioInputStream(is);
        if (audioInputStream.markSupported()==false)
System.err.println("mark is NOT supported by audioInputStream");
      catch(Exception ex)
        ex.printStackTrace();
      audioFormat =audioInputStream.getFormat();
}This is the exception:
is is NOT NULL
mark is NOT supported by IS
java.io.IOException: mark/reset not supported
at java.io.InputStream.reset(InputStream.java:329)
at java.io.FilterInputStream.reset(FilterInputStream.java:204)
at java.io.FilterInputStream.reset(FilterInputStream.java:204)
at com.sun.media.sound.WaveFileReader.getAudioFileFormat(WaveFileReader.
java:128)
at com.sun.media.sound.WaveFileReader.getAudioInputStream(WaveFileReader
.java:237)
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:
680)
at Multimedia.testSound.loadAudio(testSound.java:413)
at Multimedia.testSound.beginAudio(testSound.java:214)

I tried the following code but got the exception below:
soundFile = jarFile.getJarEntry(audioFiles[lsClips.getSelectedIndex()] );
      is = (InputStream)jarFile.getInputStream(entry);
      if(is!=null)System.err.println("is is NOT NULL");
      ObjectInputStream in = new ObjectInputStream(is);is is NOT NULL
java.io.StreamCorruptedException: invalid stream header
Does anyone have any suggestions?

Similar Messages

  • Mark/reset not supported

    Hello,
    i've setup an application building pdfs and xml files from print files. This application works with some input files, not with all.
    The exception that comes up is:
    <code>
    java.io.IOException: mark/reset not supported
         at java.io.InputStream.reset(Unknown Source)
         at com.compcomp.hhsued.bl.export.PdfTemplateImpl.parseEscapeString(PdfTemplateImpl.java:160)
         at com.compcomp.hhsued.bl.export.PdfTemplateImpl.parseIt(PdfTemplateImpl.java:65)
         at com.compcomp.hhsued.bl.export.templates.PdfTemplateSUDU.render(PdfTemplateSUDU.java:130)
         at com.compcomp.hhsued.bl.input.ConverterProcessor.writePdfFile(ConverterProcessor.java:323)
         at com.compcomp.hhsued.bl.input.ConverterProcessor.init(ConverterProcessor.java:147)
         at com.compcomp.hhsued.bl.input.ConverterProcessor.<init>(ConverterProcessor.java:69)
         at com.compcomp.hhsued.bl.main.BlConverter.main(BlConverter.java:67)
    </code>
    What means this: mark/reset not supported?
    And why doesn't it happen always?
    Thank you,
    Nico

    Input streams represent a input source. The type of the source can vary, for example it could be a socket or it could be a file.
    In a random acces file you can 'mark' a position in the file. One can then return to that position by 'reset'.
    One of the source types you are using does not support that.

  • Removing or creating first tempo marker resets movie start

    This is an interesting one (or not depending on your point of view):
    If I have a session with multiple tempo markers and I remove the first one, whether or not it's at bar 1 or bar 21, it resets the "Movie Start" in Settings:Video...
    I haven't figured out if there's a pattern to what it resets to but it's repeatable on this end at least. It does not occur if you remove any other tempo change except the first one. The project time, and all other SMPTE times on all other markers remain correct. Audio locked to a specific SMPTE point stays right where it should. When I re-enter the "Movie Start" all is restored and plays in sync.
    I'm in Logic 8.0.2 running the following plugs: Omnisphere, Kontakt Player 2, PLAY, Zebra, Sound Toys, Altiverb, Waves Renaissance Maxx, Lots of EXS, and miscellaneous other NI plugs.
    Video is DV format, 29.97, output through a Canopus ADVC-100. But the problem occurred even without the Canopus attached.

    Thanks for the confirmation.
    I posted the question over at LogicProHelp before but didn't get any response. I know it is a little bit deep to get into it but it relates to two things that are not so esoteric after all:
    1) What's the deal with the first Tempo node anyway. I couldn't find any reasonable explanation about it, especially nothing about the fact that it is somehow linked to the bar entry in the Synchronization window.
    2) The whole interconnection when working to video "bar-SMPTE-MovieStart-SMPTEoffset-Tempo" is very complex but a lot of Logic user deal with that every day with different levels of understanding. I 'm just surprised that that topic is not discussed more often in detail.
    BTW
    I can recommend the new tutorial video by Steve Horelick at MacProVideo.com about "Logic's Music -for-Picture Toolbox"
    http://www.macprovideo.com/tutorial/logic9203

  • File mark() reset() doubt...

    Hi,
    I have a doubt regarding the concept of reset() and mark() methods of BufferedInputStream class. Here is the code
    class FileDemo
      public static void main(String[] args)throws IOException
              String st = "123456789";
              int c;
              byte[] buf = st.getBytes();
              ByteArrayInputStream in = new ByteArrayInputStream(buf);
              BufferedInputStream f = new BufferedInputStream(in);
              for(int i=0;i<8;++i)
              c = f.read();
              System.out.print((char)c);
              System.out.println();     
              f.mark(5);
              f.reset();
              c = f.read();
              System.out.print((char)c);
    Output
    12345678
    9In above code when i execute f.mark(5), the file pointer should make a mark at 5th byte i.e character 5, and when i execute reset the file pointer must point back to this 5th byte and must print 5 when i print for the next time. But instead the output i get is 9 after reset is executed. Please clarify.....

    In above code when i execute f.mark(5), the file
    pointer should make a mark at 5th byte i.e character 5No, it shouldn't.
    and when i execute reset the file pointer must
    point back to this 5th byte and must print 5 when i
    print for the next time. But instead the output i get
    is 9 after reset is executed. Please clarify.....The API documentation is pretty clear, I think, especially if you follow the links to the description of what mark() is supposed to do:
    "Marks the current position in this input stream. A subsequent call to the reset method repositions this stream at the last marked position so that subsequent reads re-read the same bytes.
    The readlimit argument tells this input stream to allow that many bytes to be read before the mark position gets invalidated."

  • Multiple mark()/reset() calls

    i am currently converting a c program into java, and the original program uses several getpos and setpos commands to jump around in a file stream. is there any way to use mark and reset in a similar way?

    kdgregory is correct, you can't do this with the built in java io stream classes.
    However you could build your own MultimarkableInputStream and support it, but it would probably be more work than you'd want.

  • UCCX - abandoned calls marked as handled contactinactiveexception

    Hi
    I have a UCCX 8.5 script - at the start of the script it uses the IF contactinactiveexception exception occurs go to - which then goes to a label which clears the exception and then marks the call as handled
    What I have noticed is that this step is causing calls that should be marked as abandoned as handled
    For example if I place a test call with all agents not ready and the call queues and I hang up - in the historical reports this call shows as handled
    If I delete the contactinactiveexception stop and then repeat the test - the call is properly marked as abandoned.
    Can anyone advise how they are using CIE step or where it should be positioned in the script to stop this problem.
    Thanks

    Hello-
    I would reset the exception right before your Select Resource step to goto the end of your script.  You will need to change how the end of your script is working too.
    Take a look at the screenshot. I hope this helps.
    DJ

  • Exception when  XML InputStream is parsed with DOMParser

    iam trying to parse the xml inputstream two times.
    second time i used reset() method to reset the inputstream but
    its throwing exception.
    "java.io.IOException: mark/reset not supported
         at java.io.InputStream.reset(InputStream.java:329)"
    i need to solve it as early as possible...
    thanks in advance...
    dando

    Sorry, I forgot to mention this, from the InputStream javadoc on reset()
    "The method reset for class InputStream does nothing and always throws an IOException"
    This means that if you need to reset your stream, it's best that you use one of these:
    Direct Known Subclasses:
    AudioInputStream, ByteArrayInputStream, FileInputStream, FilterInputStream, InputStream (CORBA), ObjectInputStream, PipedInputStream, SequenceInputStream, StringBufferInputStream
    or some other subclass.
    -G

  • Reset input stream

    Is there any way to mark/reset (or something comparable) an input stream that does not support the actual mark/reset methods? I'm using a DataInputStream, which contains a FileInputStream, and I've gotten an IOException saying mark/reset is not supported. Is there any other way to do it?

    I'm basically just reading bytes of binary data from a file, and I want to include a feature to reset and start reading again from the beginning. here's some of my code:
    public static void readWithDelay() {
            byte buf[] = new byte[100000];
            byte skipbytes[] = new byte[2];
            int length = 0, prevtime, time, lastprevtime=0, num=0, timecheck,skiplength=0;
            long period, filesize=0, bytecount = 0;
            double val = 0.0;
            try {
                begin = System.currentTimeMillis();
                // open the .pgem file stream
                try {
                    binfile = new DataInputStream(new FileInputStream(getFname()));
                } catch (Exception e) {
                    JOptionPane.showMessageDialog(new JFrame(), "File not Found. Try Again.", "Open File error", JOptionPane.ERROR_MESSAGE);
                try {
                    File file = new File(getFname());
                    filesize = file.length();
                } catch (Exception e) {
                    e.printStackTrace();
                try {
                    // open the socket to socket on localhost
                    Socket socket = new Socket(getText(), port);  // 1222 is TagBrowsers port
                    socket.setTcpNoDelay(true); // Disable TCP Nagle algorithm
                    socketOutputStream = new DataOutputStream(socket.getOutputStream());
                } catch (UnknownHostException u) {
                    JOptionPane.showMessageDialog(new JFrame(), "Host Not Found. Defaulting to localhost", "Socket error", JOptionPane.ERROR_MESSAGE);
                    Socket socket = new Socket("localhost", 1222);  // 1222 is TagBrowsers port
                    socket.setTcpNoDelay(true); // Disable TCP Nagle algorithm
                    socketOutputStream = new DataOutputStream(socket.getOutputStream());
                bos = new BufferedOutputStream(socketOutputStream, 10000);
                // loop copying file to output buffer until endfile
                rate=rate/10;
                start();
                begin = System.currentTimeMillis();
                //binfile.mark(500000000); <<<<<Tried to mark it here>>>>
                for (int i=0;i<24;i++) {
                    buf[i] = binfile.readByte();
                    bytecount++;
                time = ((buf[6] & 0xff) << 24) | ((buf[7] & 0xff) << 16) | ((buf[8] & 0xff) << 8) | (buf[9] & 0xff);
                length = ((buf[14] & 0xff) << 8) | (buf[15] & 0xff);
                for (int i=24;i<24+length;i++) {
                    buf[i] = binfile.readByte();
                    bytecount++;
                prevtime = time;
                try {                       // While !end of file
                    while (true && !stopXfer) {
                        while (prevtime == time) {
                            while (pause)
                                Thread.sleep(15);
                            bos.write(buf,0,24 + length);
                            prevtime = time;
                            for (int i=0;i<24;i++) {
                                buf[i] = binfile.readByte();
                                bytecount++;
                            time = ((buf[6] & 0xff) << 24) | ((buf[7] & 0xff) << 16) | ((buf[8] & 0xff) << 8) | (buf[9] & 0xff);
                            length = ((buf[14] & 0xff) << 8) | (buf[15] & 0xff);
                            for (int i=24;i<24+length;i++) {
                                buf[i] = binfile.readByte();
                                bytecount++;
                          /*  if (rewind) {
                                binfile.reset();    <<<<Reset here>>>>>
                                rewind = false;
                            while (fastforward) {
                                binfile.skip(14);
                                bytecount+=24;
                                skipbytes[0] = binfile.readByte();
                                skipbytes[1] = binfile.readByte();
                                skiplength = ((skipbytes[0] & 0xff) << 8) | (skipbytes[1] & 0xff);
                                binfile.skip(8+skiplength);
                                bytecount+=10+length;
                                val = (double)(bytecount)/(double)(filesize);
                                updateDelayProgress((int)(val*100));
                                //System.out.println(bytecount);
                            // if times are out of order, flush buffer right away
                            if (time < prevtime || time==lastprevtime) {
                                period = 0;
                                bos.flush();
                                timecheck = prevtime;
                                prevtime = time;
                        if (lastprevtime > prevtime)
                            prevtime = lastprevtime;
                        period = (long) (time - prevtime);
                        try {
                            bos.flush();
                            stop();
                            if (period < elapsedTime || period > 750)
                                period=elapsedTime;
                            val = (double)(bytecount)/(double)(filesize);
                            updateDelayProgress((int)(val*100));
                            Thread.sleep((int)(rate*(period - elapsedTime)));
                            reset();
                            start();
                        } catch(InterruptedException ie){
                            System.out.println("Problem with thread");
                            System.exit(1);
                        prevtime = time;
                        lastprevtime = time;
                        timecheck = time;
                } catch (EOFException e) {
                } catch (SocketException s) {
                    System.out.println("Transmission ended");
                } catch (Exception e) {
                    e.printStackTrace();
                // Close input stream and display dialog with total duration of the read and transfer
                try {
                    minutes = (((System.currentTimeMillis() - begin)/1000) / 60);
                    seconds = (((System.currentTimeMillis() - begin)/1000) % 60);
                    binfile.close();
                    bos.close();
                    JOptionPane.showMessageDialog(new TBCGUI(), "Read completed in " + minutes + " minutes, " + seconds + " seconds");
                    getFrame().validate();
                } catch (Exception e) {
                    System.err.println(e);
                    e.printStackTrace();
            } catch (Exception e) {}
        }

  • How to display the 500-internal server error on the Exception Handler page

    Hello
    My situation is as follows : JDev 11.1.1.0.2, ADF fusion application, one unbounded task flow containing 2 view pages view1.jspx and error.jspx
    The error jspx is marked as the exception handler.
    When an error occurs (typically a 500-Internal Server Error) the error.jspx is correctly displayed and shows our message such as 'Don't panic, please call our tech support'
    What I would like to do is to display the actual error stack on this page along with our message.
    I've searched around and I can't find how to either get the error stack in a bean or what EL expression should be used to get the error stack.
    Can anybody help ?
    Best Regards
    Paul
    Switzerland

    The error will be the same, but the stack trace will be different, such as
    Error 500--Internal Server Error
    oracle.adf.controller.security.AuthorizationException: ADFC-0619: Echec de la vérification des autorisations : '/view1.jspx' 'VIEW'.
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.handleFailure(AuthorizationEnforcer.java:145)
         at oracle.adf.controller.internal.security.AuthorizationEnforcer.checkPermission(AuthorizationEnforcer.java:124)
         at oracle.adfinternal.controller.state.ControllerState.initializeUrl(ControllerState.java:639)
         at oracle.adfinternal.controller.state.ControllerState.synchronizeStatePart2(ControllerState.java:449)
         at oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:44)
         at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:529)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:118)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:166)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent
    What I would like is to display the above stack trace on the page marked as the exception handler....
    Regards
    Paul

  • Macbook gone to reset mode

    Seems like my macbook has gone to reset mode except that files and applications are intact. I tried to rearrange the icons but it came back to reset mode again whenever it is restarted. Basically, the icons are messed up, the dock was like what it was when it came..I don't know what I have done for this to happen.. If anybody knows this issue, I badly need your help.. Thanks in advance

    Go to Macintosh HD > Applications > Utilities > Disk Utility... When it opens click your hard drive in the left column and then click repair drive permissions in the main window...
    Like the other person that responded said, I got this problem when trying to rename the Home folder by creating a new account and then moving everything over as in the tutorial they posted (I think i forgot a step). You could try right clicking (ctrl+click) on your home folder (looks like a house) and then click get info. At the very bottom of the info pane see if you have permission to read and write. Repeat this for the Library folder within the Home folder.

  • ADF Faces: Exception Handler activity ain't reraised

    Hi there!
    I'm using a Studio Edition Version 11.1.1.3.0 (Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660).
    I've done this:
    1. created a bounded task flow flow1 and added to it:
    1.1 a vew activity view1 (the default activity) - shows an inputText field for a db column, for which there is a constraint;
    1.2 a method call activity method1 - calls commit;
    1.3 a view activity view2 - has an ouputText depicting an attribute's value for the same collection as that of inputText in view1;
    1.4 a view activity errorView (marked as an exception handler) - displays a localizedMessage from the currentViewPort;
    1.5 created for the view activities page fragments (with necessary fields and buttons).
    2. linked them as follows:
    2.1 view1 -*-> method1 -*-> view2;
    2.2 errorView -*-> view1.
    3. in the default unbounded task flow created a view activity main, a page file for it, and dropped onto the latter the flow1 as a region;
    4. launched the app (as the table contains some data, the view1 displays first row in a row set);
    5. entered into the view1 's field a non-violating value;
    6. pressed a button (which has just an action property set to move to the method1 ) - everything's fine, we get to the view2;
    6. rerun the app;
    7. entered incorrect value, pressed the button - flow goes, as expected, to the errorView, which informs us the exception's details (JBO-...);
    8. on the errorView page fragment pressed a button - we are now on the view1 page again;
    9. left the wrong (violating) value (or changed it to another incorrect value, doesn't matter) and pressed the button again;
    10. wow, we reached the view2, but, I guess, we hadn't to. Why so?
    One must note, that in clauses 7 and 9, after pressing the button, there apears a popup, which advises us about an ORA-... error, that is, in step 9 the ADF Faces does receive the exception, but why it doesn't reraise the errorView, that's the question.
    Though, when I change the method1 so, that it calls a bean's method, which always throws an IllegalArgumentException, then everything works as should to - we get to the infinite loop - view1 -> method1 -> errorView -> view1.
    Or, when I extract view2 from flow1, and instead of the former insert return activity with End Transaction set to commit, and then wrap (i.e call) flow1 from a newly created bounded task flow flow2, and in main 's page replace flow1 with flow2 region, the result is quite different. The aforesaid popup with ORA- error arises, until one enters a non-violating value. That is in this case everything is good, except, that control never flows into the errorView.
    And there is one more thing to note yet. When I've, namely method1, been calling a bean with the ever exception throwing method, the Integrated WLS's log was silent, but when the method1 was calling commit, then in the log we can see this twice:
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: ORA-02290: check constraint CHECK(THE_USER.THE_CONSTRAINT) violated
    java.sql.SQLIntegrityConstraintViolationException: ORA-02290: check constraint CHECK(THE_USER.THE_CONSTRAINT) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8044)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6373)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3172)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2980)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2018)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2277)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1577)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1404)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1427)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at 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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)What I'm doing wrong? And how can I dismiss that popup, as it duplicates errorView and does not get messages from a custom message bundle?
    Thanks in advance for any comments.
    Yerzhan.

    Hi there!
    I'm using a Studio Edition Version 11.1.1.3.0 (Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660).
    I've done this:
    1. created a bounded task flow flow1 and added to it:
    1.1 a vew activity view1 (the default activity) - shows an inputText field for a db column, for which there is a constraint;
    1.2 a method call activity method1 - calls commit;
    1.3 a view activity view2 - has an ouputText depicting an attribute's value for the same collection as that of inputText in view1;
    1.4 a view activity errorView (marked as an exception handler) - displays a localizedMessage from the currentViewPort;
    1.5 created for the view activities page fragments (with necessary fields and buttons).
    2. linked them as follows:
    2.1 view1 -*-> method1 -*-> view2;
    2.2 errorView -*-> view1.
    3. in the default unbounded task flow created a view activity main, a page file for it, and dropped onto the latter the flow1 as a region;
    4. launched the app (as the table contains some data, the view1 displays first row in a row set);
    5. entered into the view1 's field a non-violating value;
    6. pressed a button (which has just an action property set to move to the method1 ) - everything's fine, we get to the view2;
    6. rerun the app;
    7. entered incorrect value, pressed the button - flow goes, as expected, to the errorView, which informs us the exception's details (JBO-...);
    8. on the errorView page fragment pressed a button - we are now on the view1 page again;
    9. left the wrong (violating) value (or changed it to another incorrect value, doesn't matter) and pressed the button again;
    10. wow, we reached the view2, but, I guess, we hadn't to. Why so?
    One must note, that in clauses 7 and 9, after pressing the button, there apears a popup, which advises us about an ORA-... error, that is, in step 9 the ADF Faces does receive the exception, but why it doesn't reraise the errorView, that's the question.
    Though, when I change the method1 so, that it calls a bean's method, which always throws an IllegalArgumentException, then everything works as should to - we get to the infinite loop - view1 -> method1 -> errorView -> view1.
    Or, when I extract view2 from flow1, and instead of the former insert return activity with End Transaction set to commit, and then wrap (i.e call) flow1 from a newly created bounded task flow flow2, and in main 's page replace flow1 with flow2 region, the result is quite different. The aforesaid popup with ORA- error arises, until one enters a non-violating value. That is in this case everything is good, except, that control never flows into the errorView.
    And there is one more thing to note yet. When I've, namely method1, been calling a bean with the ever exception throwing method, the Integrated WLS's log was silent, but when the method1 was calling commit, then in the log we can see this twice:
    <Utils><buildFacesMessage> ADF: Adding the following JSF error message: ORA-02290: check constraint CHECK(THE_USER.THE_CONSTRAINT) violated
    java.sql.SQLIntegrityConstraintViolationException: ORA-02290: check constraint CHECK(THE_USER.THE_CONSTRAINT) violated
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8044)
         at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6373)
         at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3172)
         at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2980)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2018)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2277)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1577)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1404)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1427)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2141)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:394)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:161)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at 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:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)What I'm doing wrong? And how can I dismiss that popup, as it duplicates errorView and does not get messages from a custom message bundle?
    Thanks in advance for any comments.
    Yerzhan.

  • RAS Java API Exception on Crystal Reports Server XI R2

    Hi
    We download run the evaluation version of Crystal Reports Server XI R2 SP2.
    Our web application uses RAS Java API to talk to Crystal Reports Server to open unmanaged reports.
            ReportClientDocument lo_ReportClientDoc = new ReportClientDocument(); //*** Cause exception
            ReportAppSession reportAppSession = new ReportAppSession();
            reportAppSession.createService(
              "com.crystaldecisions.sdk.occa.report.application.ReportClientDocument"); //*** Cause exception
            reportAppSession.setReportAppServer(servername);
            reportAppSession.initialize();   //*** Cause exception
            lo_ReportClientDoc.setReportAppServer(reportAppSession.getReportAppServer());
            lo_ReportClientDoc.open(asReportName,OpenReportOptions._openAsReadOnly);
            ReportServerControl control = new ReportServerControl();
            control.setReportSource(lo_ReportClientDoc.getReportSource());
    The lines marked with "//*** Cause exception" above cause the following exceptions, although at the end the reports came up correctly. When we were running Crystal Reports Server XI (Release 1), we did not see this exception. Can you tell what is going wrong? Thanks.
    SystemOut     O org.xml.sax.SAXParseException: File "null" not found.
    +     at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1202)+
    +     at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:499)+
    +     at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:312)+
    +     at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1079)+
    +     at com.crystaldecisions.xml.serialization.XMLObjectSerializer.load(Unknown Source)+
    +     at com.crystaldecisions.proxy.remoteagent.ClientSDKOptions.readClientSDKOptions(Unknown Source)+
    +              at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.b(Unknown Source)+
    +     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.h(Unknown Source)+
    +     at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(Unknown Source)+

    Hey did anyone ever answer your question, I have exactly the same problem 4 years later, sigh

  • Sconadm - Exception in thread "main"

    Hi.
    I'm trying to install the 06/06 release of Solaris 10 on one of our Sunfire X4100 machines. Everything was going fine until it came time to register and update the patches.
    At first, sconadm just hung up and did nothing. I found a thread about installing SUNWjdmk-base and stopping and restarting cacaoadm. I did that.
    Now when I run sconadm I get the following:
    sconadm is running
    Authenticating user ...
    Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
    at $Proxy0.getInstanceName(Unknown Source)
    at com.sun.scn.client.SCNClientSession.login(SCNClientSession.java:371)
    at com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter.loginAccount(ClientLoginCacaoAdapter.java:209)
    at com.sun.cns.basicreg.BasicRegCLI.authenticateUser(BasicRegCLI.java:1079)
    at com.sun.cns.basicreg.BasicRegCLI.run(BasicRegCLI.java:669)
    at com.sun.cns.basicreg.BasicRegCLI.main(BasicRegCLI.java:562)
    Caused by: javax.management.InstanceNotFoundException: com.sun.scn:name=SCNBaseServiceFactory,assetSubProfile=Factory,host=192.168.55.73,assetProfile=Factory,scnType=ServiceFactory,Vendor=Sun Microsystems Inc
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1349)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1300)
    at com.sun.jdmk.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:285)
    at com.sun.cacao.agent.DispatchInterceptor.getClassLoaderFor(DispatchInterceptor.java:474)
    at com.sun.cacao.agent.auth.impl.AccessControlInterceptor.getClassLoaderFor(AccessControlInterceptor.java:427)
    at com.sun.jdmk.JdmkMBeanServerImpl.getClassLoaderFor(JdmkMBeanServerImpl.java:1130)
    at com.sun.cacao.common.instrum.impl.InstrumDefaultForwarder.getClassLoaderFor(InstrumDefaultForwarder.java:153)
    at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1306)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1303)
    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
    at sun.rmi.transport.Transport$1.run(Transport.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
    at java.lang.Thread.run(Thread.java:595)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
    at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
    at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:969)
    at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:201)
    ... 6 more
    I've looked around to see if I could find the answer, but all I found was a post saying to reinstall SUNWbrg. I uninstalled and reinstalled both basic registration patches (SUNWbrg and SUNWbrgr), but the same exact thing happens.
    Does anyone have any ideas on what I need to do to fix this?
    Thanks

    I'm also having problem registering my Solaris 10 6/06
    I have applied so far the following patches but still i can't get this box to register via sconadm
    117435-02 118844-30 119255-24 119789-07 121119-06 121454-02 122762-01 123840-01 124631-03 118344-14 118855-36 119575-02 120336-04 121119-11 121564-02 123004-02 124466-02 118668-11 119082-25 119704-08 121082-06 121264-01 122232-01.jar 123631-01 124615-01
    Below is the message i'm getting;
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.warning] com.sun.scn.service.BaseServiceClient.dumpThrowable : XYXYXY
    Mar 14 11:28:15 log02 java.rmi.RemoteException: HTTP transport error: java.net.SocketException: Connection reset; nested exception is:
    Mar 14 11:28:15 log02 HTTP transport error: java.net.SocketException: Connection reset
    Mar 14 11:28:15 log02 at com.sun.scn.service.group.GroupServiceIF_Stub.handleMessage(GroupServiceIF_Stub.java:92)
    Mar 14 11:28:15 log02 at com.sun.scn.service.group.GSClient.getRegTokenByAuthToken(GSClient.java:123)
    Mar 14 11:28:15 log02 at com.sun.scn.jmx.impl.UISClientLoginModule.login(UISClientLoginModule.java:210)
    Mar 14 11:28:15 log02 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Mar 14 11:28:15 log02 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Mar 14 11:28:15 log02 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Mar 14 11:28:15 log02 at java.lang.reflect.Method.invoke(Method.java:585)
    Mar 14 11:28:15 log02 at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
    Mar 14 11:28:15 log02 at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    Mar 14 11:28:15 log02 at javax.security.au
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.warning] com.sun.scn.jmx.impl.AbstractComponent.log : SCNClientConfigImpl.activate("Use Sun Update Manager and Sun Update Connection to manage updates") -- module unlocked
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.updateEntry : updateEntry looking for subscription.key
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.updateEntry : updateEntry looking for common.name
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.updateEntry : updateEntry looking for swup.portal.enabled
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.findEntry : findEntry looking for swup.portal.enabled
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.swupom.SWUPOfferingInstance.insertOptionToXML : in disable branch - get SWUP_PORTAL_ENABLED_KEY--> false
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.ProductRegOfferingInstance.getPublicKey : in getPublicKey()
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.updateEntry : updateEntry looking for public.key
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : removeSysInfoValueByName looking for common.name
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detaching element for'common.name' next
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detached element 'common.name'
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : removeSysInfoValueByName looking for subscription.key
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detaching element for'subscription.key' next
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detached element 'subscription.key'
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : removeSysInfoValueByName looking for package.inventory
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detaching element for'package.inventory' next
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detached element 'package.inventory'
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : removeSysInfoValueByName looking for patch.inventory
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detaching element for'patch.inventory' next
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.removeSysInfoValueByName : Detached element 'patch.inventory'
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.swupom.SWUPOfferingInstance.setSLAVersion : in setSLAVersion()
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.SystemInfoHelper.updateEntry : updateEntry looking for sla.version
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.swupom.SWUPOfferingInstance.register : set SLA Version to the xml
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.ProductRegOfferingInstance.getAMSWebserviceEndpoint : be called from getAMSWebservice
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.ProductRegOfferingInstance.getAMSWebserviceEndpoint : urn is -->"https://cns-services.sun.com:443/AssetManagementService/assetmanagementV1_1_0"
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.swupom.SWUPOfferingInstance.register : AMS endpoint is-->https://cns-services.sun.com:443/AssetManagementService/assetmanagementV1_1_0
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.AssetManagementServiceProvider.<init> : AMS endpoint is::https://cns-services.sun.com:443/AssetManagementService/assetmanagementV1_1_0
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.AssetManagementServiceProvider.getEndPoint : The end point of AMS webservice is: https://cns-services.sun.com:443/AssetManagementService/assetmanagementV1_1_0
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.warning] com.sun.scn.offering.prom.ProductRegOfferingInstance.getAuthToken : Did not get authToken from SCNClientLoginMBean.
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.AssetManagementServiceProvider.getAssetXML : Ready to getAssetXML from SAM:
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.AssetManagementServiceProvider.registerAsset : calling ams.registerAsset .......
    Mar 14 11:28:15 log02 cacao[18548]: [ID 702911 daemon.info] com.sun.scn.offering.prom.AssetManagementServiceProvider.registerAsset : DEBUG: next call is ams.registerAsset
    Mar 14 11:28:29 log02 cacao[18548]: [ID 702911 daemon.warning] com.sun.scn.service.BaseServiceClient.dumpThrowable : XYXYXY
    Mar 14 11:28:29 log02 java.rmi.ServerException: JAXRPC.TIE.04: Internal Server Error (JAXRPCTIE01: caught exception while handling request: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    Mar 14 11:28:29 log02 java.rmi.RemoteException)
    Mar 14 11:28:29 log02 at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:497)
    Mar 14 11:28:29 log02 at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
    Mar 14 11:28:29 log02 at com.sun.scn.offering.service.ams.AssetMgmtServiceIF_Stub.registerAsset(AssetMgmtServiceIF_Stub.java:135)
    Mar 14 11:28:29 log02 at com.sun.scn.offering.prom.AssetManagementServiceProvider.registerAsset(AssetManagementServiceProvider.java:154)
    Mar 14 11:28:29 log02 at com.sun.scn.offering.swupom.SWUPOfferingInstance.register(SWUPOfferingInstance.java:370)
    Mar 14 11:28:29 log02 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Mar 14 11:28:29 log02 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Mar 14 11:28:29 log02 at sun.reflect.DelegatingMethodAccessorI

  • FTP Socket Exception

    Hi Group,
    In one of my File to File Scenario I am using FTP to connect remote server,from
    input directory XI picks up the file and in the message log it is showing that connected to FTP server and keep the file successfully,after that it is showing th following error in Message monitor log:
    <b>
    Success : Transfer: "BIN" mode, size 42 bytes, character encoding utf-8
    Error : Attempt to process file failed with java.lang.Exception: ftp access error: java.net.SocketException: Connection reset
    Error :  Exception caught by adapter framework: ftp access error: java.net.SocketException: Connection reset
    Error :  Delivery of the message to the application using connection AFW failed, due to: ftp access error: java.net.SocketException: Connection reset.
    </b>
    Can any body suggest

    swabap,
    can you change the file type to  "TEXT" in file adapter  rather BIN . if it is BIN you cant use UTF-8.
    Success : Transfer: "BIN" mode, size 42 bytes, character encoding utf-8
    regards
    Sreeram.G.Reddy

  • SSH exception

    We are connecting to servers VIA sftp and say we are moving three files well sometimes in the middle we get an SSH reset connection exception and then the process fails. This happens in our BPEL and our ESB so. From what I have noticed the one bpel project will cause this problem if we try three files we try two there is no problem we try no problem either. Only when we have three files, And i know people would think maybe file size and TTL on the SFTP connection but if you combine all three files the size ='s 1.5 MB TTL is 6 minutes. We calculated the current time and its about 1:40 to complete. Its like the program just throws this exception whenever it pleases, and at first I thought it was just BPEL but i was looking throguh the logs and ESB has this occuring also
    bold the above was osted before we found out that SOA is not causing these SSH errors it is a router or server or something to that nature
    Well besides getting rid of the error how can we handle it? Some kind of exception handling? Please exaplain how or where I can go as for a website explaining it. Like if we get an SSH error half way through we want to be able to save whatever started maybe rollback sort of to as if nothing happened. What you be the standard for putting in an exeption handler that will be initiated off SSH error. To make things simple we will put our code in a scope and add a catch all in there. Now I have done this but inside of my scaop I tried to include an compensate but it said it could find no scaopes :( tried to hard code the scope name and it yelled and deploy time. Anyone got some ideas?

    I have seen this when there is a loadbalancer infront of the FTP server.
    Even if you don't try the following
    on the FTP adapter set the following properties (Right-Click the adapter -> edit -> property tab) If successful you should see the entry in the bpel.xml file.
    useJCAConnectionPool=true
    cacheConnections=false
    In the oc4j-ra.xml connection factory for FTP set the property
    keepConnections=false
    cheers
    James

Maybe you are looking for

  • MS SQL DB Server Client for AIX

    Hi,    I am trying to setup DB connect for our BW system.  However just like many others on SDN I am having trouble with MS SQL Client for AIX (Unix) Here is the info: SAP System: SAP BW 3.5 SAPKW35013 OS:  AIX SAP Basis: 640 SP 13 DB: ORACLE 9.2.0.6

  • What does the Y in the serial number of old Adobe software mean?

    I just picked up a used copy of Photoshop 6 for Windows. The  serial number contains a Y. I know R means retail, E means Educational,  and B means bundled What does Y mean?

  • I can't upgrade my OS X...

    My macbook is running OS X 10.5.8 and it will not allow me to update to snow leopard. I have the DVD (version 10.6.2) which came with my iMac (other computer), but it says that is cannot be used! The macbook meets all the specifications required (ie

  • Hovering effect...

    Hi All, Can anyboady throw some light how to implement Hovering effect using Hyperlinks in JSPDynpages.... Request you to send a sample code. Any suggestion would be appreciated and helpfull.  Thanks in advance, Ravi

  • Twitter in the Tour de Flex no connect

    Hi, I downloaded and installed in FLEX 4 the sample to connect to Twitter existing in the Tour de Flex, and I do not work, when I enter the username and password is put on hold with the clock, if I try to go directly to the Tour de Flex the program m