Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
JeromeXu
Contributor
Contributor

TOS_ESB-20211109_1610-V8.0.1___activemq start failed

I use D:\talend\Runtime_ESBSE\container\bin¥trun.bat

After starting the talend command box, I cannot access the ActiveMQ console (http://localhost:8040/activemqweb/queues.jsp).

But after I start activemq.bat alone, I can run it on the route screen and enter the activemq console (http://localhost:8161/admin/queues.jsp). However, I cannot read the KAR generated by the ESB when I start activemq alone. document.

After starting trun.bat, the log content is as follows:

2023-11-28T16:15:33,412 | WARN | pool-12-thread-1 | aries.blueprint.spring.Activator  57 | 87 - org.apache.aries.blueprint.spring - 0.6.0 | Error starting extension: org.apache.activemq.activemq-web-console/5.16.3

java.lang.ClassCastException: class org.springframework.web.servlet.config.MvcNamespaceHandler cannot be cast to class org.springframework.beans.factory.xml.NamespaceHandler (org.springframework.web.servlet.config.MvcNamespaceHandler is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @39555273; org.springframework.beans.factory.xml.NamespaceHandler is in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @5d784bf)

at org.apache.aries.blueprint.spring.SpringExtension.start(SpringExtension.java:64) ~[bundleFile:0.6.0]

at org.apache.felix.utils.extender.AbstractExtender$1.run(AbstractExtender.java:265) [bundleFile:0.6.0]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

at java.lang.Thread.run(Thread.java:834) [?:?]

2023-11-28T16:15:33,427 | INFO | Start Level: Equinox Container: 03c274fd-6de7-412d-9125-ae9281b67fb4 | container.BlueprintContainerImpl 408 | 85 - org.apache.aries.blueprint.core - 1.10.3 | Blueprint bundle org.apache.aries.transaction.blueprint/1.1.1 is waiting for dependencies [(objectClass=javax.transaction.TransactionManager)]

2023-11-28T16:15:33,427 | INFO | paxweb-extender-2-thread-1 | rvletContainerInitializerScanner  73 | 348 - org.ops4j.pax.web.pax-web-api - 7.2.23 | will add org.apache.jasper.servlet.JasperInitializer to ServletContainerInitializers

2023-11-28T16:15:33,428 | INFO | paxweb-extender-2-thread-1 | rvletContainerInitializerScanner  76 | 348 - org.ops4j.pax.web.pax-web-api - 7.2.23 | Skipt org.apache.jasper.servlet.JasperInitializer, because specialized handler will be present

2023-11-28T16:15:33,428 | INFO | paxweb-extender-2-thread-1 | rvletContainerInitializerScanner  73 | 348 - org.ops4j.pax.web.pax-web-api - 7.2.23 | will add org.eclipse.jetty.websocket.server.NativeWebSocketServletContainerInitializer to ServletContainerInitializers

2023-11-28T16:15:33,429 | INFO | paxweb-extender-2-thread-1 | rvletContainerInitializerScanner 134 | 348 - org.ops4j.pax.web.pax-web-api - 7.2.23 | added ServletContainerInitializer: org.eclipse.jetty.websocket.server.NativeWebSocketServletContainerInitializer

2023-11-28T16:15:33,429 | INFO | paxweb-extender-2-thread-1 | rvletContainerInitializerScanner  73 | 348 - org.ops4j.pax.web.pax-web-api - 7.2.23 | will add org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer to ServletContainerInitializers

2023-11-28T16:15:33,436 | INFO | Start Level: Equinox Container: 03c274fd-6de7-412d-9125-ae9281b67fb4 | container.BlueprintContainerImpl 408 | 85 - org.apache.aries.blueprint.core - 1.10.3 | Blueprint bundle org.apache.aries.transaction.blueprint/2.2.0 is waiting for dependencies [(objectClass=javax.transaction.TransactionManager)]

2023-11-28T16:15:33,482 | INFO | Blueprint Extender: 2 | container.BlueprintContainerImpl 446 | 85 - org.apache.aries.blueprint.core - 1.10.3 | Blueprint bundle org.apache.aries.transaction.blueprint/2.2.0 has been started

2023-11-28T16:15:33,490 | INFO | Blueprint Extender: 3 | container.BlueprintContainerImpl 446 | 85 - org.apache.aries.blueprint.core - 1.10.3 | Blueprint bundle org.apache.aries.transaction.blueprint/1.1.1 has been started

2023-11-28T16:15:33,494 | INFO | fileinstall-D:\TOS_ESB-20211109_1610-V8.0.1\Runtime_ESBSE\container/deploy | eployer.kar.KarArtifactInstaller  75 | 226 - org.apache.karaf.deployer.kar - 4.2.11 | Found a .kar file to deploy.

2023-11-28T16:15:33,495 | INFO | fileinstall-D:\TOS_ESB-20211109_1610-V8.0.1\Runtime_ESBSE\container/deploy | eployer.kar.KarArtifactInstaller  44 | 226 - org.apache.karaf.deployer.kar - 4.2.11 | KAR PP_TO_ECKS_0.1.kar is already installed. Please uninstall it first.

2023-11-28T16:15:34,160 | ERROR | paxweb-extender-2-thread-1 | vice.internal.HttpServiceStarted 1253 | 350 - org.ops4j.pax.web.pax-web-runtime - 7.2.23 | Exception starting HttpContext registration

java.lang.NullPointerException: null

at org.apache.xbean.finder.BundleAssignableClassFinder.toASMStylePackageName(BundleAssignableClassFinder.java:257) ~[bundleFile:4.18]

at org.apache.xbean.finder.BundleAssignableClassFinder.isClassAcceptable(BundleAssignableClassFinder.java:111) ~[bundleFile:4.18]

at org.apache.xbean.osgi.bundle.util.BundleClassFinder.scanZip(BundleClassFinder.java:280) ~[?:?]

at org.apache.xbean.osgi.bundle.util.BundleClassFinder.scanBundleClassPath(BundleClassFinder.java:237) ~[?:?]

at org.apache.xbean.osgi.bundle.util.BundleClassFinder.find(BundleClassFinder.java:112) ~[?:?]

at org.ops4j.pax.web.utils.ServletContainerInitializerScanner.scanBundles(ServletContainerInitializerScanner.java:118) ~[bundleFile:?]

at org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper.addContext(JettyServerWrapper.java:294) ~[?:?]

at org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper.getOrCreateContext(JettyServerWrapper.java:219) ~[?:?]

at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.getContext(JettyServerImpl.java:312) ~[?:?]

at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.getContext(ServerControllerImpl.java:374) ~[?:?]

at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.getContext(ServerControllerImpl.java:187) ~[?:?]

at org.ops4j.pax.web.service.internal.HttpServiceStarted.begin(HttpServiceStarted.java:1249) [bundleFile:?]

at org.ops4j.pax.web.service.internal.HttpServiceProxy.begin(HttpServiceProxy.java:451) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:183) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:621) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:228) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:173) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:129) [bundleFile:?]

at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941) [osgi.core-6.0.0.jar:?]

at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:870) [osgi.core-6.0.0.jar:?]

at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) [osgi.core-6.0.0.jar:?]

at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183) [osgi.core-6.0.0.jar:?]

at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:318) [osgi.core-6.0.0.jar:?]

at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261) [osgi.core-6.0.0.jar:?]

at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:98) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.WebObserver.deploy(WebObserver.java:217) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.WebObserver$1.doStart(WebObserver.java:172) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.extender.SimpleExtension.start(SimpleExtension.java:59) [bundleFile:?]

at org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender.lambda$createExtension$0(AbstractExtender.java:277) [bundleFile:?]

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]

at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]

at java.lang.Thread.run(Thread.java:834) [?:?]

Labels (4)
2 Replies
Anonymous
Not applicable

Hello,

What does your Route/Job look like?

Are you able to put your .kar in "deploy" folder of runtime to see if your route deploy successfully and you can find your bundle in Karaf Web Console?

Best regards

Sabrina

JeromeXu
Contributor
Contributor
Author

I entered http://localhost:8040/activemqweb/queues.jsp and could not enter the Karaf Web Console. This is a serious problem.