6 Replies Latest reply on Jul 23, 2011 3:32 AM by catlinit

    Problem to start FUSE ESB 4.4.0 - Unsupported Terminal

    dherla

      Hello,

       

      I try to start Fuse ESB 4.4.0-fuse-00-27 on Windows XP with a JDK (1.6.0_21).

      I receive the following error :

      Using an unsupported terminal: java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.jansi.internal.Kernel32

       

      And after a few second, i receive the following :

       

      karaf@root> 2011-06-24 16:45:36.822:INFO::Logging to STDERR via org.mortbay.log.

      StdErrLog

       

      Error executing command: java.util.NoSuchElementException

       

      If I try the following command :

      karaf@root> osgi:list

       

      I receive the following

       

      Error executing command: java.util.NoSuchElementException

       

      Any help are welcome

       

      Thanks in Advance

       

      Dimitri

        • 1. Re: Problem to start FUSE ESB 4.4.0 - Unsupported Terminal
          gertv

          L.S.,

           

           

          I tried reproducing this issue on Windows XP but the container seems to start and run just fine for me.  I did manage to reproduce the NoSuchElementException, so I raised a JIRA issue for that (cfr. http://fusesource.com/issues/browse/ESB-1496)

           

          Is there anything specific to your environment?  Things like CLASSPATH variable contents might be able to cause this kind of exception...

           

           

          Regards,

           

          Gert

          • 2. Re: Problem to start FUSE ESB 4.4.0 - Unsupported Terminal
            dherla

            I have found in the Eventviewer some problem with the "jansi.dll". Maybe i have a problem with the java.tmp.dir. There are blank in the name.

             

            I have change the java.tmp.dir with no blank but the problem is still there.

             

            I continue to investigate.

             

            Do you have any idea about the problem ? Maybe a problem to load the dll ? change in karaf between fuse esb 4.3 and 4.4 ?

             

            Regards

             

            Dimitri

            • 3. Re: Problem to start FUSE ESB 4.4.0 - Unsupported Terminal
              dherla

              I found the following in the eventViewer :

              Error #1

              Event Type:     Error

              Event Source:     SideBySide

              Event Category:     None

              Event ID:     32

              Date:          27/06/2011

              Time:          22:22:22

              User:          N/A

              Computer:     KOTHOUSE

              Description:

              Dependent Assembly Microsoft.VC90.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

               

               

              For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

               

              Error #2

              Event Type:     Error

              Event Source:     SideBySide

              Event Category:     None

              Event ID:     59

              Date:          27/06/2011

              Time:          22:22:22

              User:          N/A

              Computer:     KOTHOUSE

              Description:

              Resolve Partial Assembly failed for Microsoft.VC90.CRT. Reference error message: The referenced assembly is not installed on your system.

              .

               

              For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

               

              Error#3

              Event Type:     Error

              Event Source:     SideBySide

              Event Category:     None

              Event ID:     59

              Date:          27/06/2011

              Time:          22:22:22

              User:          N/A

              Computer:     KOTHOUSE

              Description:

              Generate Activation Context failed for C:\P06293\apache-servicemix-4.4.0-fuse-00-27\data\cache\org.eclipse.osgi\bundles\40\1\.cp\META-INF\native\windows32\jansi.dll. Reference error message: The operation completed successfully.

              .

               

              For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

               

              Error#4

              Event Type:     Error

              Event Source:     SideBySide

              Event Category:     None

              Event ID:     32

              Date:          27/06/2011

              Time:          22:22:22

              User:          N/A

              Computer:     KOTHOUSE

              Description:

              Dependent Assembly Microsoft.VC90.CRT could not be found and Last Error was The referenced assembly is not installed on your system.

               

               

              For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

               

              Error#5

              Event Type:     Error

              Event Source:     SideBySide

              Event Category:     None

              Event ID:     59

              Date:          27/06/2011

              Time:          22:22:22

              User:          N/A

              Computer:     KOTHOUSE

              Description:

              Resolve Partial Assembly failed for Microsoft.VC90.CRT. Reference error message: The referenced assembly is not installed on your system.

              .

               

              For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

               

              Error#6

              Event Type:     Error

              Event Source:     SideBySide

              Event Category:     None

              Event ID:     59

              Date:          27/06/2011

              Time:          22:22:22

              User:          N/A

              Computer:     KOTHOUSE

              Description:

              Generate Activation Context failed for C:\Temp\jansi.dll. Reference error message: The operation completed successfully.

              .

               

              For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

               

              Where is the problem ?

              • 4. Re: Problem to start FUSE ESB 4.4.0 - Unsupported Terminal
                dherla

                The problem is missing dll from Visual C++ libraries on the windows XP. I follow the following instruction : http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5582

                 

                And now, it's good

                 

                Thanks for the help.

                • 5. Re: Problem to start FUSE ESB 4.4.0 - Unsupported Terminal
                  davsclaus

                  Thanks for sharing the solution

                  • 6. Re: Problem to start FUSE ESB 4.4.0 - Unsupported Terminal
                    catlinit

                    Just thought I'd let you know that I've seen the same when using a vanilla trial version of Windows 2008 x64 SP1.  Same fix appears to work.

                     

                    Regards