Unable to deploy a route en runtime server

One Star

Unable to deploy a route en runtime server

Hi,
I am trying to deploy a simple route on the runtime server but it always returns this message:
Error: deployment of feature 'test-feature' might have failed: java.lang.RuntimeException: URL could not be resolved. -- For more information see your log file
The server configuration seems to be ok.
I don't think it's a port configuration issue (it's on default values and everything is green)
The publication from the studio works fine.
The configuration of a new route in the ESB conductor is fine too.
Any idea?
Thanks a lot!
Below the log:
17:40:50,774 | WARN | qtp30552078-107 | .eclipse.jetty.util.log.Slf4jLog 50 | 54 - org.eclipse.jetty.util - 7.4.5.v20110725 | org.ops4j.pax.web.service.spi.model.ServletModel-5: Failed to instantiate plugin org.apache.felix.webconsole.internal.deppack.DepPackServlet
java.lang.NoClassDefFoundError: org/osgi/service/deploymentadmin/DeploymentException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.felix.webconsole.internal.servlet.PluginHolder$InternalPlugin.doGetConsolePlugin(PluginHolder.java:761)
at org.apache.felix.webconsole.internal.servlet.PluginHolder$Plugin.getConsolePlugin(PluginHolder.java:532)
at org.apache.felix.webconsole.internal.servlet.PluginHolder.getLocalizedLabelMap(PluginHolder.java:242)
at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:420)
at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)
at org.apache.felix.webconsole.internal.KarafOsgiManager.doService(KarafOsgiManager.java:67)
at org.apache.felix.webconsole.internal.KarafOsgiManager$1.run(KarafOsgiManager.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.felix.webconsole.internal.KarafOsgiManager.service(KarafOsgiManager.java:45)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.osgi.service.deploymentadmin.DeploymentException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 39 more
17:40:50,783 | WARN | qtp30552078-107 | .eclipse.jetty.util.log.Slf4jLog 50 | 54 - org.eclipse.jetty.util - 7.4.5.v20110725 | org.ops4j.pax.web.service.spi.model.ServletModel-5: Failed to instantiate plugin org.apache.felix.webconsole.internal.compendium.ComponentsServlet
java.lang.NoClassDefFoundError: org.apache.felix.scr.ScrService
at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.class$(ComponentsServlet.java:74)
at org.apache.felix.webconsole.internal.compendium.ComponentsServlet.<clinit>(ComponentsServlet.java:74)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.felix.webconsole.internal.servlet.PluginHolder$InternalPlugin.doGetConsolePlugin(PluginHolder.java:761)
at org.apache.felix.webconsole.internal.servlet.PluginHolder$Plugin.getConsolePlugin(PluginHolder.java:532)
at org.apache.felix.webconsole.internal.servlet.PluginHolder.getLocalizedLabelMap(PluginHolder.java:242)
at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:420)
at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:384)
at org.apache.felix.webconsole.internal.KarafOsgiManager.doService(KarafOsgiManager.java:67)
at org.apache.felix.webconsole.internal.KarafOsgiManager$1.run(KarafOsgiManager.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.felix.webconsole.internal.KarafOsgiManager.service(KarafOsgiManager.java:45)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:346)
at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)
at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:601)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:214)
at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)
at java.lang.Thread.run(Thread.java:662)
17:41:13,124 | INFO | 0.0/0.0.0.0:2181 | per.server.NIOServerCnxn$Factory 251 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Accepted socket connection from /10.83.219.7:49270
17:41:13,140 | INFO | 0.0/0.0.0.0:2181 | e.zookeeper.server.NIOServerCnxn 777 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Client attempting to establish new session at /10.83.219.7:49270
17:41:13,151 | INFO | SyncThread:0 | e.zookeeper.server.NIOServerCnxn 1580 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Established session 0x135e8e256650000 with negotiated timeout 5000 for client /10.83.219.7:49270
17:41:17,511 | INFO | 0.0/0.0.0.0:2181 | per.server.NIOServerCnxn$Factory 251 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Accepted socket connection from /10.83.219.7:49289
17:41:17,524 | INFO | 0.0/0.0.0.0:2181 | e.zookeeper.server.NIOServerCnxn 777 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Client attempting to establish new session at /10.83.219.7:49289
17:41:17,529 | INFO | SyncThread:0 | e.zookeeper.server.NIOServerCnxn 1580 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Established session 0x135e8e256650001 with negotiated timeout 5000 for client /10.83.219.7:49289
17:41:18,654 | INFO | 0.0/0.0.0.0:2181 | per.server.NIOServerCnxn$Factory 251 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Accepted socket connection from /10.83.219.7:49292
17:41:18,654 | INFO | 0.0/0.0.0.0:2181 | e.zookeeper.server.NIOServerCnxn 777 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Client attempting to establish new session at /10.83.219.7:49292
17:41:18,657 | INFO | SyncThread:0 | e.zookeeper.server.NIOServerCnxn 1580 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Established session 0x135e8e256650002 with negotiated timeout 5000 for client /10.83.219.7:49292
17:41:24,031 | INFO | 0.0/0.0.0.0:2181 | per.server.NIOServerCnxn$Factory 251 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Accepted socket connection from /10.83.219.7:49304
17:41:24,032 | INFO | 0.0/0.0.0.0:2181 | e.zookeeper.server.NIOServerCnxn 777 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Client attempting to establish new session at /10.83.219.7:49304
17:41:24,036 | INFO | SyncThread:0 | e.zookeeper.server.NIOServerCnxn 1580 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Established session 0x135e8e256650003 with negotiated timeout 5000 for client /10.83.219.7:49304
17:41:29,444 | INFO | 0.0/0.0.0.0:2181 | per.server.NIOServerCnxn$Factory 251 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Accepted socket connection from /10.83.219.7:49323
17:41:29,446 | INFO | 0.0/0.0.0.0:2181 | e.zookeeper.server.NIOServerCnxn 777 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Client attempting to establish new session at /10.83.219.7:49323
17:41:29,450 | INFO | SyncThread:0 | e.zookeeper.server.NIOServerCnxn 1580 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Established session 0x135e8e256650004 with negotiated timeout 5000 for client /10.83.219.7:49323
17:42:22,911 | INFO | 0.0/0.0.0.0:2181 | per.server.NIOServerCnxn$Factory 251 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Accepted socket connection from /10.83.219.7:49378
17:42:22,912 | INFO | 0.0/0.0.0.0:2181 | e.zookeeper.server.NIOServerCnxn 777 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Client attempting to establish new session at /10.83.219.7:49378
17:42:22,917 | INFO | SyncThread:0 | e.zookeeper.server.NIOServerCnxn 1580 | 173 - org.apache.hadoop.zookeeper - 3.3.3 | Established session 0x135e8e256650005 with negotiated timeout 5000 for client /10.83.219.7:49378
17:43:33,298 | INFO | n(6)-10.83.219.7 | res.internal.FeaturesServiceImpl 418 | 27 - org.apache.karaf.features.core - 2.2.4 | Installing feature test-feature 0.1.0
17:43:33,301 | INFO | n(6)-10.83.219.7 | res.internal.FeaturesServiceImpl 418 | 27 - org.apache.karaf.features.core - 2.2.4 | Installing feature talend-job-controller 5.0.1
17:45:24,221 | ERROR | n(6)-10.83.219.7 | res.internal.FeaturesServiceImpl 649 | 27 - org.apache.karaf.features.core - 2.2.4 | URL could not be resolved.
Employee zbe
Employee

Re: Unable to deploy a route en runtime server

Hi Marc,
unfortunately for the moment I don't have quick answer to your problem, but only some questions.
- Which version of the TESB Runtime are you using, 5.0.1 or 5.0.2?
- Did you create the route you try to deploy in the Talend Studio?
- From your description I assume you are trying to deploy your route with the ESB conductor. Is the assumption correct?
- On which operating system are you running the runtime?
- How did you install the runtime, via installer or by unzipping a distribution?
- Where you ever able to deploy anything else?
I know these are a lot of questions, but answering them will hopefully help to isolate the problem.
Regards,
Zsolt
One Star

Re: Unable to deploy a route en runtime server

Hi zbe,
thx for the reply.
Here are the details asked:
- Which version of the TESB Runtime are you using, 5.0.1 or 5.0.2?
>> 5.0.1 r74687
- Did you create the route you try to deploy in the Talend Studio?
>> Yes I've created it, and it works fine from the studio.
- From your description I assume you are trying to deploy your route with the ESB conductor. Is the assumption correct?
>> Yes it is.
- On which operating system are you running the runtime?
>> windows server 2008
- How did you install the runtime, via installer or by unzipping a distribution?
>> Via installer. I am not using the runtime in fact, but the esb container which is the same thing according to some people from Talend... anyway I have try with the runtime too... same result. Here is the name of the installer I have used: Talend-Installer-r74687-V5.0.1-windows-installer.exe... no manual unzip at all.
- Where you ever able to deploy anything else?
>> no
thx for your help.
Employee zbe
Employee

Re: Unable to deploy a route en runtime server

Marc,
the container in directory Talend-ESB-* and the runtime are the same in principle. Unluckyly with the 5.0.1 installation the container in Talend-ESB-V5.0.1 is broken, see http://jira.talendforge.org/browse/TESB-4592.
So normally pointing to the Talend Runtime helps to solve the proplem. Apparently this is not the case for you. I am afraid you will have to file a bug with some more information to spot the problem. It should include your route project created in the Studio, the complete log file (from the runtime, not from the container), and a list of all bundles and their status in the runtime. To get the list either go into the console and type 'list -t o' or go via ESB conductor into the web console of the runtime, select the Bundle tab and print the content to to a file.
Regards,
Zsolt