5 Replies Latest reply on Mar 30, 2009 10:10 AM by Ulhas Bhole

    Unable to do the webinars in Ubuntu

    Albert Catala Newbie

      Hi!

      I'm trying to follow Adrian's videos in Linux Ubuntu 8.04. But when I have to install an osgi bundle I get this:

       

      osgi install -s mvn:com.progress.pso/payments-web-service

      java.lang.RuntimeException: URL mvn:com.progress.pso/payments-web-service could not be resolved. (enable TRACE logging for details)

      ERROR NullPointerException: null

       

      When I build it in eclipse, it installs successfully. So I don't know why it doesn't find the direction. Any idea?

      Thanks in advance

        • 1. Re: Unable to do the webinars in Ubuntu
          Willem Jiang Master

          Did you run mvn install on the demo project first ?

          Can you check your maven repo if there is an artifacts in com/progress/pso/payments-web-service?

           

          It looks like ESB can't find the jar file from your local maven repository.

           

          Edited by: njiang on Mar 27, 2009 4:25 PM

          • 2. Re: Unable to do the webinars in Ubuntu
            Albert Catala Newbie

            I ran mvn install. Also checked if the artifacts where in the repository. It's everything in place. In fact, I'm asking about Ubuntu because in Windows Xp I didn't have problems following the videos.

             

            I can deploy the jars manually, once I have built them. But then I have problems with them not finding some dependencies. I'm afraid that is a problem with the archive permits. But I checked this and was a death end. Also checked the file org.ops4j.pax.url.mvn.cfg, and found that in the line that describes how to reach the maven repository they use the your base user home:

             

            org.ops4j.pax.url.mvn.repositories=file:${user.home}/.m2/repository@snapshots,http://repo1.maven.org/maven2,

             

            I thought that the problem is that was not using the correct one because I enter to FUSE ESB with sudo, so the home directory is different. I tried to change  ${user.home} for the correct direction. But didn't work either. So any ideas?

            • 3. Re: Unable to do the webinars in Ubuntu
              Joe Luo Novice

              It looks to me that it was an user permission problem. If you used the same user to start the Fuse ESB container and build the demo, then it should give the container sufficient permission on your local repository and all the artifacts in your local repo.

              • 4. Re: Unable to do the webinars in Ubuntu
                Albert Catala Newbie

                I am entering as a root in ubuntu and my problems are solved now. Don't understand why in ubuntu you don't have a root user by defeault!

                • 5. Re: Unable to do the webinars in Ubuntu
                  Ulhas Bhole Novice
                  alcaan wrote:

                  I am entering as a root in ubuntu and my problems are solved now. Don't understand why in ubuntu you don't have a root user by default!

                  Generally, root is admin user and should be used for most system admin purposes.

                   

                  For FUSE ESB installation and use you don't need root access you can install them with your standard user privileges that would solve your problem. If you want to share the installation then you might want to look at some unix admin guides for using proper file masks which will put appropriate file permissions for the users (or groups).

                   

                  Ulhas