Petals Web-Console

Unable to install the shared library

Details

  • Type: Bug Bug
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 2.0.5
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    I Installed the webconsole under another server than the esb.
    It seems ok to see the artifacts (excepts the UNKNOWN, but it's another bug...). But when we want to install an artifact, it failes:

    [Petals.JBI-Management.InstallationServiceImpl]-SEVERE 2011-02-15 09:13:12,649 Unable to install the shared library at location 'http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip'
    java.lang.Exception: The installation of the Shared Library 'http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip' failed.
            at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:226)
            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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
            at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
            at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
            at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
            at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
            at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
            at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
            at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
            at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
            at java.net.URL.openStream(URL.java:1010)
            at org.ow2.petals.jbi.management.task.DownloadTask.downloadEntityPackage(DownloadTask.java:105)
            at org.ow2.petals.jbi.management.task.DownloadTask.execute(DownloadTask.java:62)
            at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
            at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:222)
            ... 38 more
    NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
            at java.net.URL.openStream(URL.java:1010)
            at org.ow2.petals.jbi.management.task.DownloadTask.downloadEntityPackage(DownloadTask.java:105)
            at org.ow2.petals.jbi.management.task.DownloadTask.execute(DownloadTask.java:62)
            at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
            at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:222)
            ... 38 more
    Show
    I Installed the webconsole under another server than the esb. It seems ok to see the artifacts (excepts the UNKNOWN, but it's another bug...). But when we want to install an artifact, it failes:
    [Petals.JBI-Management.InstallationServiceImpl]-SEVERE 2011-02-15 09:13:12,649 Unable to install the shared library at location 'http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip'
    java.lang.Exception: The installation of the Shared Library 'http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip' failed.
            at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:226)
            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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
            at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
            at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
            at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
            at mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
            at mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
            at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
            at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:447)
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
            at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
            at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
            at sun.rmi.transport.Transport$1.run(Transport.java:159)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
            at java.net.URL.openStream(URL.java:1010)
            at org.ow2.petals.jbi.management.task.DownloadTask.downloadEntityPackage(DownloadTask.java:105)
            at org.ow2.petals.jbi.management.task.DownloadTask.execute(DownloadTask.java:62)
            at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
            at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:222)
            ... 38 more
    NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1313)
            at java.net.URL.openStream(URL.java:1010)
            at org.ow2.petals.jbi.management.task.DownloadTask.downloadEntityPackage(DownloadTask.java:105)
            at org.ow2.petals.jbi.management.task.DownloadTask.execute(DownloadTask.java:62)
            at org.ow2.petals.jbi.management.TaskProcessor.process(TaskProcessor.java:78)
            at org.ow2.petals.jbi.management.installation.InstallationServiceImpl.installSharedLibrary(InstallationServiceImpl.java:222)
            ... 38 more
  • Environment:
    RHEL5, ESB 3.1.1, jdk 1.6
  1. petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip
    (51 kB)
    Frédéric Gardes
    Tue, 15 Feb 2011 - 09:28:07 +0100
  2. topology.xml
    (3 kB)
    Frédéric Gardes
    Tue, 15 Feb 2011 - 09:23:09 +0100
  1. sl-install-error.JPG
    (75 kB)
  2. sl-install-task.JPG
    (59 kB)

Activity

Hide
Frédéric Gardes added a comment - Tue, 15 Feb 2011 - 09:23:09 +0100

I put into attachment the topoly.xml used, and the screenshots with the manipulation done and the error printed

Show
Frédéric Gardes added a comment - Tue, 15 Feb 2011 - 09:23:09 +0100 I put into attachment the topoly.xml used, and the screenshots with the manipulation done and the error printed
Hide
Frédéric Gardes added a comment - Tue, 15 Feb 2011 - 09:28:07 +0100

If I use the auto loader or my ant tasks, all is ok. I put the sl into attchment too, if you want it...

Show
Frédéric Gardes added a comment - Tue, 15 Feb 2011 - 09:28:07 +0100 If I use the auto loader or my ant tasks, all is ok. I put the sl into attchment too, if you want it...
Hide
Adrien Ruffie added a comment - Wed, 22 Jun 2011 - 10:25:20 +0200

The HTTP 400 response code was due to a bad request syntax not correctly understood by the server, if you can see the request is very strange format:

http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip

I think the File System path "E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip" concatenated with the HTTP path "http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries" isn't very correctly formated, consequently not correclty understood

Show
Adrien Ruffie added a comment - Wed, 22 Jun 2011 - 10:25:20 +0200 The HTTP 400 response code was due to a bad request syntax not correctly understood by the server, if you can see the request is very strange format: http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries/E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip I think the File System path "E:\kvmk8371\workspace\ROSE\NewRose\Nord\newBroker\src\petals-sl-newBroker\target\petals-sl-newBroker-TSE-1.2-SNAPSHOT.zip" concatenated with the HTTP path "http://10.186.15.25:8080/petals-webconsole-ui/rest/artifacts/sharedlibraries" isn't very correctly formated, consequently not correclty understood

People

Dates

  • Created:
    Tue, 15 Feb 2011 - 09:19:32 +0100
    Updated:
    Wed, 22 Jun 2011 - 10:25:20 +0200