Error after installing mod_xmlrpc in ejabberd - java
I am working on a java project in which i have to communicate with the ejabberd (create/delete a jabber user etc.. ) xmpp server. From the different suggestions available in the internet I understood that xml rpc one method to achieve that.
I tried to install the mod_xmlrpc as per the suggesions in this thread. Error while starting ejabberd with xml_rpc
But I had failed to start the ejabberd after configuration of mod_xmlrpc. The ejabberd log says,
=ERROR REPORT==== 2015-03-15 20:23:27 ===
C(<0.42.0>:gen_mod:75) : Problem starting the module mod_adhoc for host "example.com"
options: []
exit: {noproc,
{gen_server,call,
[ejabberd_iq_sup,
{start_child,["example.com",mod_adhoc,process_local_iq]},
infinity]}}
=ERROR REPORT==== 2015-03-15 20:23:27 ===
C(<0.42.0>:gen_mod:80) : ejabberd initialization was aborted because a module start failed.
and the erlang log says,
=CRASH REPORT==== 15-Mar-2015::20:23:27 ===
crasher:
initial call: supervisor:ejabberd_listener/1
pid: <0.270.0>
registered_name: []
exception exit: {undef,
[{ejabberd_xmlrpc,socket_type,[],[]},
{ejabberd_listener,'-bind_tcp_ports/0-fun-0-',1,
[{file,"ejabberd_listener.erl"},{line,63}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1323}]},
{ejabberd_listener,init,1,
[{file,"ejabberd_listener.erl"},{line,52}]},
{supervisor,init,1,
[{file,"supervisor.erl"},{line,239}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}
in function gen_server:init_it/6 (gen_server.erl, line 328)
ancestors: [ejabberd_sup,<0.42.0>]
messages: []
links: [#Port<0.3747>,<0.234.0>,#Port<0.3744>]
dictionary: []
trap_exit: true
status: running
heap_size: 987
stack_size: 27
reductions: 1215
neighbours:
=SUPERVISOR REPORT==== 15-Mar-2015::20:23:27 ===
Supervisor: {local,ejabberd_sup}
Context: start_error
Reason: {undef,
[{ejabberd_xmlrpc,socket_type,[],[]},
{ejabberd_listener,'-bind_tcp_ports/0-fun-0-',1,
[{file,"ejabberd_listener.erl"},{line,63}]},
{lists,foreach,2,[{file,"lists.erl"},{line,1323}]},
{ejabberd_listener,init,1,
[{file,"ejabberd_listener.erl"},{line,52}]},
{supervisor,init,1,[{file,"supervisor.erl"},{line,239}]},
{gen_server,init_it,6,
[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}
Offender: [{pid,undefined},
{name,ejabberd_listener},
{mfargs,{ejabberd_listener,start_link,[]}},
{restart_type,permanent},
{shutdown,infinity},
{child_type,supervisor}]
Since I am a newbie to the ejabberd & erlang world I am finding it hard to track the root cause. Please help me to identify the root cause of this crash.
BTW is there any other method for communicating with ejabberd (create/delete a jabber user etc..) from java services ?
The erlang log says that it can't find the function socket_type with no argument in the module ejabberd_xmlrpc. As it is a valid call, and both the module and function exist in the application ejabberd, this means that something went wrong during installation (compilation fails, wrong path ???)
Related
MQ7 with Java 7 and SSL is not working., it was working before 6 months
We have One QM and One CHANNEL and many QUEUES created for clients. Around 5 clients are connected to this QM for their transactions. Each 5 clients connected to their respective QUEUES . There is a jks file created in this QM for SSL connection. Each 5 clients connect with jks file + SSL_RSA_WITH_RC4_128_SHA from their javaClient. QM is also configured with SSLCIPH(RC4_SHA_US). Now all of a sudden , without any javaClient change , 1 client could not able to connect to configured QM. All others are able to connect to same QM , without any issue. AMQERR01.LOG is not logged with any specific exception or error In application logs its saying common MQ exception Error as com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2397' 2397 - Cipher spec<>suite not matching--is any possibility? we enabled tracing (strmqtrc -m TEST.QM -t detail -t all) and saw Trace logs in path (C:\Program Files (x86)\IBM\Websphere MQ\trace) ,but could not get any details on why SSL-connection could not happening? We done one more exercise like created a new QM for issue client and tested without SSL and its working. When we enabled SSL in new QM and javaClient , the same 2397 started logging. Could someone guide me for better logging and tracing in MQ , which can see why 2397 is throwing? Could someone guide me for better logging and tracing in Java using -D [-Djavax.net.debug=all] , which can see why 2397 is throwing? MQ Version ->7 MQ Server in ->Windows from trace logs returning TEST.QM Freeing cbmindex:0 pointer:24DDB540 length:2080 -----} TreeNode.getMQQmgrExtObject (rc=OK) cbmindex:10 -------------} xcsFreeMemFn (rc=OK) ------------} amqjxcoa.wmqGetAttrs (rc=OK) -----{ UiQueueManager.testQmgrAttribute -------------{ Message.getMessage testing object 'TEST.QM' An internal method detected an unexpected system return code. The method {0} returned {1}. (AMQ4580) checking attribute 'QmgrCmdLevelGreaterThan' -------------} Message.getMessage (rc=OK) for value '510' -----------}! NativeCalls.getAttrs (rc=Unknown(C35E)) -----} UiQueueManager.testQmgrAttribute (rc=OK) Message = An internal method detected an unexpected system return code. The method wmq_get_attrs returned "retval.rc2 = 268460388". (AMQ4580), msgID = AMQ4580, rc = 50014, reason = 268460388, severity = 30 result = true ---} TreeNode.testAttribute (rc=OK) ---{ TreeNode.testAttribute -----{ QueueManagerTreeNode.toString -----} QueueManagerTreeNode.toString (rc=OK) testing object 'TEST.QM' checking attribute 'OamTreeNode' -----------{ NativeCalls.getAttrs ------------{ amqjxcoa.wmqGetAttrs qmgr:2A7B32C8, stanza:2A7B32C4, version:1 for value 'true' QMgrName('TEST.QM') -----{ TreeNode.getMQQmgrExtObject StanzaName('QMErrorLog') testing object 'TEST.QM' Full QM.INI filename: SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\QueueManager\TEST!QM, Multi-Instance: FALSE --------------} xcsGetIniFilename (rc=OK) --------------{ xcsGetIniAttrs ---------------{ xcsBrowseIniCallback FileType = (1) ----------------{ xcsBrowseRegistryCallback xcsBrowseRegistryCallback -----------------{ xusAddStanzaLineList ------------------{ xcsGetMemFn checking attribute 'PluginEnabled' component:24 function:15 length:2080 options:0 cbmindex:0 *pointer:24DDB540 ------------------} xcsGetMemFn (rc=OK) for value 'com.ibm.mq.explorer.oam' RetCode (OK) -----------------} xusAddStanzaLineList (rc=OK) -----------------{ xusAddStanzaLineList ------------------{ xcsGetMemFn -----{ UiPlugin.isPluginEnabled component:24 function:15 length:2080 options:0 cbmindex:1 *pointer:24DDDFE8 ------------------} xcsGetMemFn (rc=OK) RetCode (OK) -----------------} xusAddStanzaLineList (rc=OK) testing plugin_id: com.ibm.mq.explorer.oam -----------------{ xurGetSpecificRegStanza -------{ PluginRegistrationManager.isPluginEnabled Couldn't open key (QMErrorLog) result 2: The system cannot find the file specified. MQ version 7.0.1.9 jdk1.8.0_181-i586 com.ibm.mq*jar Version Specification -version : 6.0.2.1 Implementation-Version :6.0.2.1 -j600-201-070305
Google Cloud Search Database Connector Issues
I am working with Google Cloud search (https://developers.google.com/cloud-search/docs/guides/?_ga=2.124920714.-122300216.1578247736) and I am attempting to index a Cloud SQL instance. Presently I am using the guide as shown here (https://developers.google.com/cloud-search/docs/guides/database-connector#important-considerations). I have registered source in G-Suite. I have a Cloud Search Service Account, I tested that I connect to the Cloud SQL instance from my Compute Engine instance which I can. My config file is as follows with the necessary information replaced with XXXX: # # data source access api.sourceId=xxxxxxxxxxx api.identitySourceId=xxxxxxxxxxxxxxxx api.serviceAccountPrivateKeyFile=./private-key.json # # database access db.url=jdbc:mysql:///<database>?cloudSqlInstance=<cloud_sql_instance>&socketFactory=mysql-socket-factory-connector-j-8&useSSL=false&user=xxxxxxxxx&password=xxxxxxxxx # # traversal SQL statements db.allRecordsSql=select field_1, field_2, field_3 from table; # # schedule traversals schedule.traversalIntervalSecs=36000 schedule.performTraversalOnStart=true schedule.incrementalTraversalIntervalSecs=3600 # # column definitions db.allColumns= field1, field2, field3 db.uniqueKeyColumns=field1 url.columns=field1 # # content fields contentTemplate.db.title=field1 db.contentColumns=field1, field2, field3 # # setting ACLs to "entire domain accessible" defaultAcl.mode=fallback defaultAcl.public=true with the jdbc connection string being based off https://github.com/GoogleCloudPlatform/cloud-sql-jdbc-socket-factory. I'm at the stage where I run: java \ -cp "google-cloudsearch-database-connector-v1-0.0.3.jar:mysql-connector-java-5.1.41-bin.jar" \ com.google.enterprise.cloudsearch.database.DatabaseFullTraversalConnector \ [-Dconfig=mysql.config] but i get the error Failed to initialize connector. The full stacktrace is: Jan 05, 2020 6:29:38 PM com.google.enterprise.cloudsearch.sdk.indexing.IndexingApplication startUp SEVERE: Failed to initialize connector com.google.enterprise.cloudsearch.sdk.StartupException: Failed to initialize connector at com.google.enterprise.cloudsearch.sdk.Application.startConnector(Application.java:150) at com.google.enterprise.cloudsearch.sdk.indexing.IndexingApplication.startUp(IndexingApplication.java:96) at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62) at com.google.common.util.concurrent.Callables$4.run(Callables.java:122) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:871) at com.google.common.io.BaseEncoding$StandardBaseEncoding.trimTrailingPadding(BaseEncoding.java:672) at com.google.common.io.BaseEncoding.decodeChecked(BaseEncoding.java:226) at com.google.common.io.BaseEncoding.decode(BaseEncoding.java:212) at com.google.api.client.util.Base64.decodeBase64(Base64.java:93) at com.google.api.services.cloudsearch.v1.model.Item.decodeVersion(Item.java:329) at com.google.enterprise.cloudsearch.sdk.indexing.IndexingServiceImpl.indexItem(IndexingServiceImpl.java:678) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl.<init>(DefaultAcl.java:203) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl.<init>(DefaultAcl.java:93) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl$Builder.build(DefaultAcl.java:466) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl.fromConfiguration(DefaultAcl.java:266) at com.google.enterprise.cloudsearch.sdk.indexing.template.FullTraversalConnector.init(FullTraversalConnector.java:182) at com.google.enterprise.cloudsearch.sdk.indexing.template.FullTraversalConnector.init(FullTraversalConnector.java:97) at com.google.enterprise.cloudsearch.sdk.Application.startConnector(Application.java:142) ... 4 more Jan 05, 2020 6:29:38 PM com.google.enterprise.cloudsearch.sdk.BatchRequestService shutDown INFO: Shutting down batching service. flush on shutdown: true Exception in thread "main" java.lang.IllegalStateException: Expected the service IndexingApplication [FAILED] to be RUNNING, but the service has FAILED at com.google.common.util.concurrent.AbstractService.checkCurrentState(AbstractService.java:344) at com.google.common.util.concurrent.AbstractService.awaitRunning(AbstractService.java:280) at com.google.common.util.concurrent.AbstractIdleService.awaitRunning(AbstractIdleService.java:175) at com.google.enterprise.cloudsearch.sdk.Application.start(Application.java:122) at com.google.enterprise.cloudsearch.database.DatabaseFullTraversalConnector.main(DatabaseFullTraversalConnector.java:30) Caused by: com.google.enterprise.cloudsearch.sdk.StartupException: Failed to initialize connector at com.google.enterprise.cloudsearch.sdk.Application.startConnector(Application.java:150) at com.google.enterprise.cloudsearch.sdk.indexing.IndexingApplication.startUp(IndexingApplication.java:96) at com.google.common.util.concurrent.AbstractIdleService$DelegateService$1.run(AbstractIdleService.java:62) at com.google.common.util.concurrent.Callables$4.run(Callables.java:122) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:871) at com.google.common.io.BaseEncoding$StandardBaseEncoding.trimTrailingPadding(BaseEncoding.java:672) at com.google.common.io.BaseEncoding.decodeChecked(BaseEncoding.java:226) at com.google.common.io.BaseEncoding.decode(BaseEncoding.java:212) at com.google.api.client.util.Base64.decodeBase64(Base64.java:93) at com.google.api.services.cloudsearch.v1.model.Item.decodeVersion(Item.java:329) at com.google.enterprise.cloudsearch.sdk.indexing.IndexingServiceImpl.indexItem(IndexingServiceImpl.java:678) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl.<init>(DefaultAcl.java:203) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl.<init>(DefaultAcl.java:93) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl$Builder.build(DefaultAcl.java:466) at com.google.enterprise.cloudsearch.sdk.indexing.DefaultAcl.fromConfiguration(DefaultAcl.java:266) at com.google.enterprise.cloudsearch.sdk.indexing.template.FullTraversalConnector.init(FullTraversalConnector.java:182) at com.google.enterprise.cloudsearch.sdk.indexing.template.FullTraversalConnector.init(FullTraversalConnector.java:97)
This issue is "Caused by: java.lang.NullPointerException". You should verify the line referred in the stack trace to find the culprit variable, which should be revealed by expanding the view of the "4 more" error lines in the stack. Here's information about this exception. Here's information about how to read a java stack trace
If I had to guess you're not establishing a connection to your database. Your configuration file looks good to me except db.url. It should look something like this from my experience jdbc:mysql://localhost:1433;DatabaseName=ExampleDatabase. The errors you typically get for other properties tell you exactly what the issue is (example field_1 does not exist in table) , but in this case it's not establishing a connection. Try rewriting the db.url.
Failed to initialize connector --> This exception occurs when there is something wrong with your config file. But usually it tells you what's wrong along with the message. Did you try running Cloud SQL proxy on the Compute Engine VM and connecting through that?
Sunspot Solr on Ruby: "Exception writing document id to the index, java.lang.OutOfMemoryError"
We have a Ruby on Rails application running for some time now, but since a couple of days we're just getting a HTTP500 Error while trying to update any documents. The system is running Ruby 1.9.3 with unicorn 4.8.2 and nginx 1.2.1 and a sunspot_solr 2.1.1 gem for the search index (besides some others). The Production log tells me that every time someone tries to create or update a document the solr server throws a bunch of errors. The most prominent I think is this one: org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:164)\n\t... 30 more\nCaused by: java.lang.OutOfMemoryError: Java heap space\n\ Unfortunately nothing changes if i edit config/sunstpot.yml to include "max_memory: 1G": production: solr: hostname: localhost port: 8080 log_level: WARNING min_memory: 32M max_memory: 1G path: /solr-4.10.2/default #production #ollection1 #production Here is the complete production.log entry: [a086bc878daa0abd367379daade96682] Completed 500 Internal Server Error in 195ms [a086bc878daa0abd367379daade96682] RSolr::Error::Http (RSolr::Error::Http - 500 Internal Server Error Error: {"responseHeader":{"status":500,"QTime":2},"error":{"msg":"Exception writing document id Neuigkeit 393 to the index; possible analysis error.","trace":"org.apache.solr.common.SolrException: Exception writing document id Neuigkeit 393 to the index; possible analysis error.\n\ org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:168)\n\ org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:69)\n\tat org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)\n\tat org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:926)\n\tat org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1080)\n\tat org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:692)\n\tat org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:100)\n\ org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:247)\n\tat org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:174)\n\ org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:99)\n\tat org.apache.solr.haa086bc878daa0abd367379daade96682] Completed 500 Internal Server Error in 195ms [a086bc878daa0abd367379daade96682] RSolr::Error::Http (RSolr::Error::Http - 500 Internal Server Error Error: {"responseHeader":{"status":500,"QTime":2},"error":{"msg":"Exception writing document id Neuigkeit 393 to the index; possible analysis error.","trace":"org.apache.solr.common.SolrException: Exception writing document indler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)\n\ org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\ org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)\n\ org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)\n\ org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)\n\ org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)\n\ org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\n\ org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\n\ org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)\n\ org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)\n\ org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)\n\ org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)\n\ org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)\n\ org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)\n\ org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)\n\ org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1003)\n\ org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)\n\ org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)\n\ java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\ java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\ java.lang.Thread.run(Thread.java:745)\nCaused by: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed\n\ org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:698)\n\ org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:712)\n\ org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1507)\n\ org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:240)\n\ org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:164)\n\t... 30 more\nCaused by: java.lang.OutOfMemoryError: Java heap space\n\ org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.<init>(FreqProxTermsWriterPerField.java:207)\n\ org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.newInstance(FreqProxTermsWriterPerField.java:230)\n\ org.apache.lucene.index.ParallelPostingsArray.grow(ParallelPostingsArray.java:48)\n\ org.apache.lucene.index.TermsHashPerField$PostingsBytesStartArray.grow(TermsHashPerField.java:252)\n\ org.apache.lucene.util.BytesRefHash.add(BytesRefHash.java:292)\n\ org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:151)\n\ org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:659)\n\ org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:359)\n\ org.apache.lucene.index.DefaultIndexingChain.processDocument(DefaultIndexingChain.java:318)\n\ org.apache.lucene.index.DocumentsWriterPerThread.updateDocument(DocumentsWriterPerThread.java:239)\n\ org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:454)\n\ org.apache.lucene.index.IndexWriter.updateDocument(IndexWriter.java:1511)\n\ org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:240)\n\ org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:164)\n\ org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:69)\n\ org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)\n\ org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:926)\n\ org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1080)\n\ org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:692)\n\ org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:100)\n\ org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:247)\n\ org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:174)\n\ org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:99)\n\ org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)\n\ org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\ org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)\n\ org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)\n\ org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)\n\ org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)\n\ org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)\n\ org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)\n\ org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)\n","code":500}} URI: http://localhost:8080/solr-4.10.2/default/update?wt=json EDIT: I'm an idiot. The solr server isn't contained in the unicorn service. Restarting it via 'service tomcat7 restart' loaded the updated config/sunstpot.yml and solved the problem.
ibm mq test return MQJE001: Completion Code '2', Reason '2035'
I have web app that allow sent messages to queue, it deployed on Websphere Application Server and work very well. I try to build light environment for autotests, but when i try to sent message to queue from test it returns to me MQJE001: Completion Code '2', Reason '2035' I thought that problem in CHLAUTH rules but seems that i have all rights. C:/> dspmqaut -m M00.EDOGO -n OEP.FROM.GW_SBAST.DLV -t q -p out-bychek-ao Entity out-bychek-ao has the following authorizations for object OEP.FROM.GW_SBA ST.DLV: get browse put inq set crt dlt chg dsp passid passall setid setall clr error from logs : AMQ8075: Authorization failed because the SID for entity 'out-bychek-a' cannot be obtained. EXPLANATION: The Object Authority Manager was unable to obtain a SID for the specified entity. This could be because the local machine is not in the domain to locate the entity, or because the entity does not exist. ACTION: Ensure that the entity is valid, and that all necessary domain controllers are available. This might mean creating the entity on the local machine. ----- amqzfubn.c : 2252 ------------------------------------------------------- 7/9/2018 15:39:57 - Process(2028.3) User(MUSR_MQADMIN) Program(amqrmppa.exe) Host(SBT-ORSEDG-204) Installation(Installation1) VRMF(7.5.0.4) QMgr(M00.EDOGO) AMQ9557: Queue Manager User ID initialization failed. EXPLANATION: The call to initialize the User ID failed with CompCode 2 and Reason 2035. ACTION: Correct the error and try again. ----- cmqxrsrv.c : 1975 ------------------------------------------------------- 7/9/2018 15:39:57 - Process(2028.3) User(MUSR_MQADMIN) Program(amqrmppa.exe) Host(SBT-ORSEDG-204) Installation(Installation1) VRMF(7.5.0.4) QMgr(M00.EDOGO) AMQ9999: Channel 'SC.EDOGO' to host '10.82.38.188' ended abnormally. EXPLANATION: The channel program running under process ID 2028(11564) for channel 'SC.EDOGO' ended abnormally. The host name is '10.82.38.188'; in some cases the host name cannot be determined and so is shown as '????'. ACTION: Look at previous error messages for the channel program in the error logs to determine the cause of the failure. Note that this message can be excluded completely or suppressed by tuning the "ExcludeMessage" or "SuppressMessage" attributes under the "QMErrorLog" stanza in qm.ini. Further information can be found in the System Administration Guide. ----- amqrmrsa.c : 909 -------------------------------------------------------- notice AMQ8075: Authorization failed because the SID for entity 'out-bychek-a' cannot in my account name lost last letter. Is it normal? and this DISPLAY CHLAUTH('SYSTEM.DEF.SVRCONN') MATCH(RUNCHECK) ALL ADDRESS('127.0.0.1') CLNTUSER('out-bychek-ao') 7 : DISPLAY CHLAUTH('SYSTEM.DEF.SVRCONN') MATCH(RUNCHECK) ALL ADDRESS('127.0.0.1') CLNTUSER('out-bychek-ao') AMQ8898: Display channel authentication record details - currently disabled. CHLAUTH(SYSTEM.*) TYPE(ADDRESSMAP) DESCR(Default rule to disable all SYSTEM channels) CUSTOM( ) ADDRESS(*) USERSRC(NOACCESS) WARN(NO) ALTDATE(2016-11-14) ALTTIME(17.33.34) dmpmqaut -m M00.EDOGO -n OEP.FROM.GW_SBAST.DLV -t q -p out-bychek-ao -e profile : OEP.FROM.GW_SBAST.DLV object type: queue entity : out-bychek-ao#alpha entity tyoe: principal authority : allmqi dlt chg dsp clr - - - - - - - - - profile : CLASS object type: queue entity : out-bychek-ao#alpha entity tyoe: principal authority : clt
Websphere App Server - DCSV0002W - Migration issues
i'm having some issues after a migration to HA enviroments, the Sysout Log is showing the following problem [3/31/13 11:15:17:096 CLT] 00000004 QueueTHandler W DCSV0002W: DCS Stack DefaultCoreGroup at Member lnxq030Cell01\lnxq060Node01\ibra01: An unexpected internal programming state has occurred. Internal details: "Can't open Async QueueT because DCS got null member address from the AddressResolver" {Method=QueueTHandler.openQTonIpPort(), PtpRmmNode=PtpRmmNode|lnxq030Cell01\ibra01\riesgoCred01|null|2, TopicName=[B#29442944} . The exception is . Any ideas? Thanks in advance
I met the issue recently, and finally I found the problem is from my mistake: manageProfile.bat -create ... -hostName xxx We should not use the argument -hostName, defaultly the command will use the full qualified host name. The correct command should be: manageProfile.bat -create ... -dmgrHost xxx