I have an EJB3 application that successfully runs locally on my Windows server. I have set it up in Azure Windows server along with MQ75 installation exactly as I have on my local machine.
The application fails to start with the following error. I have verified that the queue DOMAIN_UPDATE is in fact a local queue on Queue manager QM_azure. But for some reason, Websphere MDB deployment thinks that is is not local.
Any help is appreciated.
[6/11/18 16:22:28:514 UTC] 00000048 AbstractEJBRu I CNTR0180I: The DomainUpdateMessageBean message-driven bean in the PatternSpyProcessor.jar module of the PatternSpyEngine application is bound to the jms/ActConfigDomainUpdate activation specification.
[6/11/18 16:22:30:822 UTC] 00000048 SibMessage W [:] CWSJY0003W: MQJCA4023: Startup reconnection failed for ActivationSpec 'javax.jms.Queue:jms/DOMAIN_UPDATE#QM_azure <-1480355656>'. Exception details: '
Message : com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ1017: non-local MQ queue 'DOMAIN_UPDATE' not valid for receiving or browsing.
The MQ queue is not able to be opened, as it is not local to the connected Queue Manager.
Connect to the Queue Manager for which this MQ Queue resides locally.
Class : class com.ibm.msg.client.jms.DetailedJMSException
Stack : com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:580)
: com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:216)
: com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:124)
: com.ibm.msg.client.wmq.internal.WMQConsumerShadow.initialize(WMQConsumerShadow.java:988)
: com.ibm.msg.client.wmq.internal.WMQAsyncConsumerShadow.initialize(WMQAsyncConsumerShadow.java:821)
: com.ibm.msg.client.wmq.internal.WMQConnectionBrowser.<init>(WMQConnectionBrowser.java:1391)
: com.ibm.msg.client.wmq.internal.WMQConnection.createConnectionBrowser(WMQConnection.java:858)
: com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionBrowser(JmsConnectionImpl.java:1038)
: com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.createConnectionBrowser(JmsConnectionConsumerImpl.java:235)
: com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:161)
: com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:111)
: com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionConsumer(JmsConnectionImpl.java:437)
: com.ibm.mq.jms.MQConnection.createConnectionConsumer(MQConnection.java:206)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.createConnectionConsumer(MessageEndpointDeployment.java:650)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDeliveryASF(MessageEndpointDeployment.java:391)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDelivery(MessageEndpointDeployment.java:334)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.<init>(MessageEndpointDeployment.java:234)
: com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:408)
: com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:647)
: com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:363)
: com.ibm.ejs.j2c.RAWrapperImpl.activateEndpoint(RAWrapperImpl.java:1120)
: com.ibm.ejs.j2c.RALifeCycleManagerImpl.activateEndpoint(RALifeCycleManagerImpl.java:1803)
: com.ibm.ejs.container.MessageEndpointFactoryImpl.activateEndpoint(MessageEndpointFactoryImpl.java:168)
: com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:4726)
: com.ibm.ws.runtime.component.WASEJBRuntimeImpl.startMDBs(WASEJBRuntimeImpl.java:686)
: com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:701)
: com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:338)
: com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3588)
: com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
: com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1390)
: com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
: com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:979)
: com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
: com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2279)
: com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5464)
: com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5680)
: com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
: com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2284)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
: com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
: com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
: com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by [1] --> Message : com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2045' ('MQRC_OPTION_NOT_VALID_FOR_TYPE').
Class : class com.ibm.mq.MQException
Stack : com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:204)
: com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:124)
: com.ibm.msg.client.wmq.internal.WMQConsumerShadow.initialize(WMQConsumerShadow.java:988)
: com.ibm.msg.client.wmq.internal.WMQAsyncConsumerShadow.initialize(WMQAsyncConsumerShadow.java:821)
: com.ibm.msg.client.wmq.internal.WMQConnectionBrowser.<init>(WMQConnectionBrowser.java:1391)
: com.ibm.msg.client.wmq.internal.WMQConnection.createConnectionBrowser(WMQConnection.java:858)
: com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionBrowser(JmsConnectionImpl.java:1038)
: com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.createConnectionBrowser(JmsConnectionConsumerImpl.java:235)
: com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:161)
: com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:111)
: com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionConsumer(JmsConnectionImpl.java:437)
: com.ibm.mq.jms.MQConnection.createConnectionConsumer(MQConnection.java:206)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.createConnectionConsumer(MessageEndpointDeployment.java:650)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDeliveryASF(MessageEndpointDeployment.java:391)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDelivery(MessageEndpointDeployment.java:334)
: com.ibm.mq.connector.inbound.MessageEndpointDeployment.<init>(MessageEndpointDeployment.java:234)
: com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:408)
: com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:647)
: com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:363)
: com.ibm.ejs.j2c.RAWrapperImpl.activateEndpoint(RAWrapperImpl.java:1120)
: com.ibm.ejs.j2c.RALifeCycleManagerImpl.activateEndpoint(RALifeCycleManagerImpl.java:1803)
: com.ibm.ejs.container.MessageEndpointFactoryImpl.activateEndpoint(MessageEndpointFactoryImpl.java:168)
: com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:4726)
: com.ibm.ws.runtime.component.WASEJBRuntimeImpl.startMDBs(WASEJBRuntimeImpl.java:686)
: com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:701)
: com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:338)
: com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3588)
: com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
: com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1390)
: com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
: com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:979)
: com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
: com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2279)
: com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5464)
: com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5680)
: com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
: com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2284)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
: com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
: com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
: com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
: com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Display queue details:
1 : dis q(DOMAIN_UPDATE)
AMQ8409: Display Queue details.
QUEUE(DOMAIN_UPDATE) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2017-09-02)
ALTTIME(12.07.42) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLCHNAME( )
CLWLPRTY(0) CLWLRANK(0)
Related
i have the following configuration in core-site.xml
Hadoop Version 3.3.x
hadoop.http.authentication.simple.anonymous.allowed: "false"
hadoop.http.authentication.type: simple
hadoop.http.filter.initializers: org.apache.hadoop.security.AuthenticationFilterInitializer
getting the following error when starting bootstrap namenode.
"caught exception initializing http://apache-hadoop-journalnode-2.apache-hadoop-journalnode.nom-backend.svc.cluster.local:8480/getJournal?jid=apache-hadoop-namenode&segmentTxId=1&storageInfo=-66%3A1139640761%3A1664180726776%3ACID-9f32eb78-6efb-46ed-afd4-715e6c598e01&inProgressOk=true","exceptionclass":"org.apache.hadoop.hdfs.server.common.HttpGetFailedException","stack":["org.apache.hadoop.hdfs.server.common.HttpGetFailedException: Fetch of http://apache-hadoop-journalnode-2.apache-hadoop-journalnode.nom-backend.svc.cluster.local:8480/getJournal?jid=apache-hadoop-namenode&segmentTxId=1&storageInfo=-66%3A1139640761%3A1664180726776%3ACID-9f32eb78-6efb-46ed-afd4-715e6c598e01&inProgressOk=true failed with status code 401","Response message:","Authentication required","\tat org.apache.hadoop.hdfs.server.namenode.EditLogFileInputStream$URLLog$1.run(EditLogFileInputStream.java:489)","\tat org.apache.hadoop.hdfs.server.namenode.EditLogFileInputStream$URLLog$1.run(EditLogFileInputStream.java:474)","\tat java.security.AccessController.doPrivileged(Native Method)","\tat javax.security.auth.Subject.doAs(Subject.java:422)","\tat org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1878)","\tat org.apache.hadoop.security.SecurityUtil.doAsUser(SecurityUtil.java:536)","\tat org.apache.hadoop.security.SecurityUtil.doAsCurrentUser(SecurityUtil.java:530)","\tat org.apache.hadoop.hdfs.server.namenode.EditLogFileInputStream$URLLog.getInputStream(EditLogFileInputStream.java:473)","\tat org.apache.hadoop.hdfs.server.namenode.EditLogFileInputStream.init(EditLogFileInputStream.java:157)","\tat org.apache.hadoop.hdfs.server.namenode.EditLogFileInputStream.nextOpImpl(EditLogFileInputStream.java:218)","\tat org.apache.hadoop.hdfs.server.namenode.EditLogFileInputStream.nextOp(EditLogFileInputStream.java:276)","\tat org.apache.hadoop.hdfs.server.namenode.EditLogInputStream.readOp(EditLogInputStream.java:85)","\tat org.apache.hadoop.hdfs.server.namenode.EditLogInputStream.skipUntil(EditLogInputStream.java:151)"
works fine when hadoop.http.authentication.simple.anonymous.allowed: "true" but not when set to false
curl -s http://localhost:9870/jmx?qry=Hadoop:service=NameNode,name=NameNodeStatus
{
"beans" : [ {
"name" : "Hadoop:service=NameNode,name=NameNodeStatus",
"modelerType" : "org.apache.hadoop.hdfs.server.namenode.NameNode",
"NNRole" : "NameNode",
"HostAndPort" : "apache-hadoop-namenode-0.apache-hadoop-namenode.nom-backend.svc.cluster.local:8020",
"SecurityEnabled" : false,
"LastHATransitionTime" : 1664300715338,
"BytesWithFutureGenerationStamps" : 0,
"SlowPeersReport" : null,
"SlowDisksReport" : null,
"State" : "active"
} ]
}
but fails to show details when i use curl -s http://localhost:9870/jmx?user.name=hdfs&qry=Hadoop:service=NameNode,name=NameNodeStatus
similar authentication is seen in bootstrapstandby node when doing imageTransfer?getImage endpoint
message":"Failed to start namenode.","exceptionclass":"java.io.IOException","stack":["java.io.IOException: java.lang.RuntimeException: org.apache.hadoop.hdfs.server.common.HttpGetFailedException: Image transfer servlet at http://apache-hadoop-namenode-0.apache-hadoop-namenode.nom-backend.svc.cluster.local:9870/imagetransfer?getimage=1&txid=0&storageInfo=-66:1919632792:1664433837683:CID-462fba6c-76bc-4c4f-958e-c4906374d825&bootstrapstandby=true failed with status code 401","Response message:","Authentication required","\tat org.apache.hadoop.hdfs.server.namenode.ha.BootstrapStandby.run(BootstrapStandby.java:549)"
Spring Data ES 3.2.0.M1 still uses old TransportClient instead of HighLevelRestClient
Spring Data ES 3.2.0.M1 supports High Level Rest Client, see Add support for Java High Level REST Client. I've added Spring Data ES 3.2.0.M1 to the SB2 app:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-elasticsearch</artifactId>
<version>3.2.0.M1</version>
</dependency>
However, still TransportClient is used. There are two indication of that: exceptions on start-up:
o.e.transport.netty4.Netty4Transport : exception caught on transport layer [NettyTcpChannel{localAddress=/127.0.0.1:61171, remoteAddress=localhost/127.0.0.1:8085}], closing connection
io.netty.handler.codec.DecoderException: java.io.StreamCorruptedException: invalid internal transport message format, got (48,54,54,50)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:472) ~[netty-codec-4.1.33.Final.jar:4.1.33.Final]
and exception stacktrace when calling ElasticsearchTemplate:
at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:349)
at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:247)
at org.elasticsearch.client.transport.TransportProxyClient.execute(TransportProxyClient.java:60)
at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:382)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:395)
at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:384)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:46)
at org.springframework.data.elasticsearch.core.ElasticsearchTemplate.getSearchResponse(ElasticsearchTemplate.java:947)
Are there any config param to tell Spring Data ES to switch to new High Level Rest Client? The docs say nothing about it.
P.S. Spring Data ES 3.2.0.M1 has 6.4.3 ES client version:
Caused by: java.io.StreamCorruptedException: invalid internal transport message format, got (48,54,54,50)
at org.elasticsearch.transport.TcpTransport.validateMessageHeader(TcpTransport.java:1327) ~[elasticsearch-6.4.3.jar:6.4.3]
at org.elasticsearch.transport.netty4.Netty4SizeHeaderFrameDecoder.decode(Netty4SizeHeaderFrameDecoder.java:36) ~[transport-netty4-client-6.4.3.jar:6.4.3]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) ~[netty-codec-4.1.33.Final.jar:4.1.33.Final]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) ~[netty-codec-4.1.33.Final.jar:4.1.33.Final]
... 20 common frames omitted
back-end runs 6.4.2 version:
bash-4.4$ curl http://127.0.0.1:8085
{
"name" : "NA17WWR",
"cluster_name" : "494164851665",
"cluster_uuid" : "7t3LoK7PRp-ur6FyxSmHwQ",
"version" : {
"number" : "6.4.2",
"build_flavor" : "oss",
"build_type" : "zip",
"build_hash" : "04711c2",
"build_date" : "2018-10-16T09:16:35.059415Z",
"build_snapshot" : false,
"lucene_version" : "7.4.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
As mentioned in the issue you're referring to, the high level REST client is available in ElasticsearchRestTemplate (see PR #216) not in ElasticsearchTemplate, which they'll keep until ES 7 for backward compatibility reasons.
You can create one with the configuration below:
<bean name="elasticsearchTemplate"
class="org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate">
<constructor-arg name="client" ref="restClient"/>
</bean>
<elasticsearch:rest-client id="restClient"/>
I am using Apache Superset and trying to configure its OAuth2 capability to connect to my (custom) Spring-Security OAuth2 server. Unfortunately, it ain't working right now. The stack track begins with this.
15:09:16.584 [qtp1885996206-21] ERROR org.springframework.boot.web.support.ErrorPageFilter - Forwarding to error page from request [/oauth/authorize] due to exception [Could not resolve view with name 'forward:/oauth/confirm_access' in servlet with name 'dispatcherServlet'] javax.servlet.ServletException: Could not resolve view with name 'forward:/oauth/confirm_access' in servlet with name 'dispatcherServlet' at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1262) ~[spring-webmvc-4.3.8.RELEASE.jar:4.3.8.RELEASE] at
Here is the relevant portion of my config.py from Superset.
AUTH_TYPE = AUTH_OAUTH
OAUTH_PROVIDERS = [
{
"name" : "MY-OAUTH",
"icon" : APP_ICON,
"token_key" : "password",
"remote_app" : {
"consumer_key" : "my_dashboard",
"consumer_secret" : "my_secret",
"base_url" : "http://localhost:8088/myoauth",
"request_token_params" : {
"scope": "my_dashboard read write",
"grant_type" : "password"
},
"request_token_url" : None,
"access_token_url" : "http://localhost:8088/myoauth/oauth/token",
"access_token_params" : {
"scope": "my_dashboard read write",
"grant_type" : "password",
"response_type" : "authorization_code"
},
"access_token_method" : "POST",
"authorize_url" : "http://localhost:8088/myoauth/oauth/authorize"
}
}
]
A nice gentleman suggested that I have somehow disabled the servlet handler for /oauth/confirm_access, but I am not sure how to check on that or fix such a problem.
Do you know what is going on here, what I can do to fix this or where I can start looking?
Thanks,
Matt
I have an Android WebView that contains a HTML page and each element from the html file, has a link and image. The link is to google play website. From time to time I receive an out of memory error and this is the logcat i could get:
: Process: com.android.vending, PID: 12924
: java.lang.OutOfMemoryError
: at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
: at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:677)
: at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:507)
: at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:872)
: at android.content.res.Resources.loadDrawable(Resources.java:3054)
: at android.content.res.Resources.getDrawable(Resources.java:1613)
: at android.widget.ImageView.resolveUri(ImageView.java:648)
: at android.widget.ImageView.setImageResource(ImageView.java:377)
: at com.google.android.play.image.FifeImageView.setImageResource(FifeImageView.java:536)
: at com.google.android.play.drawer.PlayDrawerProfileInfoView.configure(PlayDrawerProfileInfoView.java:108)
: at com.google.android.play.drawer.PlayDrawerAdapter.getProfileContainer(PlayDrawerAdapter.java:267)
: at com.google.android.play.drawer.PlayDrawerAdapter.getView(PlayDrawerAdapter.java:231)
: at android.widget.AbsListView.obtainView(AbsListView.java:2733)
: at android.widget.ListView.makeAndAddView(ListView.java:1811)
: at android.widget.ListView.fillDown(ListView.java:697)
: at android.widget.ListView.fillFromTop(ListView.java:763)
: at android.widget.ListView.layoutChildren(ListView.java:1627)
: at android.widget.AbsListView.onLayout(AbsListView.java:2546)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
: at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:824)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
: at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
: at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:429)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
: at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
: at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
: at android.view.View.layout(View.java:15664)
: at android.view.ViewGroup.layout(ViewGroup.java:4869)
: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2246)
: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1968)
: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1200)
: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6401)
: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
: at android.view.Choreographer.doCallbacks(Choreographer.java:603)
: at android.view.Choreographer.doFrame(Choreographer.java:573)
: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
: at android.os.Handler.handleCallback(Handler.java:733)
: at android.os.Handler.dispatchMessage(Handler.java:95)
: at android.os.Looper.loop(Looper.java:157)
: at android.app.ActivityThread.main(ActivityThread.java:5335)
: at java.lang.reflect.Method.invokeNative(Native Method)
: at java.lang.reflect.Method.invoke(Method.java:515)
: at com.android.internal.os.ZygoteInit$Method
): Force finishing activity com.android.vending/com.google.android.finsky.activities.MainActivity
I don't know what else i can say to explain this. Still digging..
I am trying to open a jmx file written with Apache JMeter 2.7 in the last release Apache JMeter 2.11.
I am getting this errors log :
2014/09/10 09:29:44 INFO - jmeter.gui.action.Load: Loading file: C:\Temp\MEGA\Test_Anywhere_750 _Part3.jmx
2014/09/10 09:29:44 INFO - jmeter.services.FileServer: Set new base='C:\Temp\MEGA'
2014/09/10 09:29:44 WARN - jmeter.config.CSVDataSet: Could not translate shareMode=Toutes les unités using Locale:
2014/09/10 09:29:44 WARN - jmeter.config.CSVDataSet: Could not translate shareMode=Toutes les unités using Locale:
2014/09/10 09:29:46 ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException: kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
---- Debugging information ----
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
class : org.apache.jorphan.collections.ListedHashTree
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
------------------------------- : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
---- Debugging information ----
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
class : org.apache.jorphan.collections.ListedHashTree
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
-------------------------------
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
---- Debugging information ----
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
class : org.apache.jorphan.collections.ListedHashTree
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
-------------------------------
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
version : 2.11 r1554548
-------------------------------
2014/09/10 09:29:46 WARN - jmeter.gui.action.Load: Unexpected error org.apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan - see log file
at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:174)
at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:136)
at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:105)
at org.apache.jmeter.gui.action.Load.doAction(Load.java:92)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:63)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
I am using the version 7.0.650.20 of JAVA.
Does anyone have an idea why I could not open my file ?
Regards
Sylvie
You're using Third Party jmeter-plugins.org plugins.
You need to add the required jar in lib/ext so that it works.
Download plugins-manager.jar from here and put it into lib/ext directory, then restart JMeter.
Note you need to do it each time you upgrade your jmeter version !
If you're looking to learn jmeter correctly, this book will help you.
Download plugins-manager.jar and put it into lib/ext directory, then restart JMeter.
I am using JMeter 3.3 and answers above did not work for me.
SOLUTION:
Download plugins-manager.jar from https://jmeter-plugins.org/downloads/all/
Put plugins-manager.jar into jmeter/lib/ext
Restart jmeter
Open script, it will ask to download dependencies, press yes.
Source: https://stackoverflow.com/a/47509713/3915006
1)Download standard JMeterPlugins-Standard-1.4.0.zip from http://jmeter-plugins.org/#/
2)Extract it and go inside extracted folder /lib/ext.
4)Copy JMeterPlugins-Standard.jar and CMDRunner.jar from /lib/ext to Jmeter/lib/ext
For people who are using command line for running JMeter, here is how to install a new plugin.
After placing the plugin manager jar in the /lib/ext/, download the latest cmdrunner from this URL by changing the version.
wget http://search.maven.org/remotecontent?filepath=kg/apc/cmdrunner/2.2/cmdrunner-2.2.jar
Copy the cmdrunner to jmeter/lib/ directory
mv cmdrunner-2.2.jar apache-jmeter-5.1.1/lib/
Execute the following command to generate script file PluginsManagerCMD
java -cp apache-jmeter-5.1.1/lib/ext/jmeter-plugins-manager-1.3.jar org.jmeterplugins.repository.PluginManagerCMDInstaller
After the script is generated, you can use it to install a particular plugin
apache-jmeter-5.1.1/bin/PluginsManagerCMD.sh status
apache-jmeter-5.1.1/bin/PluginsManagerCMD.sh available
apache-jmeter-5.1.1/bin/PluginsManagerCMD.sh install jpgc-tst=2.5
download jar files from https://jmeter-plugins.org/downloads/file/JMeterPlugins-Standard-1.4.0.zip
extract and copy lib/etx/*.jar to jmeter/lib/etx/
Make sure you have the proxy server configured if you are behind one.
I had plugins-manager.jar in lib\ext, but it only worked once I added the proxy to bin\system.properties:
http.proxyHost=my.proxy.server
https.proxyHost=my.proxy.server
http.proxyPort=8080
https.proxyPort=8080
Or:
jmeter -H my.proxy.server -P 8000 -u username -a password
https://jmeter.apache.org/usermanual/get-started.html#proxy_server