104 questions
1
vote
0
answers
91
views
In ColdFusion 2023 does a solr search using a forms field for criteria require editing the standard request handler?
We are migrating from CF 4.51 to CF 2023 and have run into the following problem with Solr collection searches.
I'm assuming that the default Request-Handler used by the Solr Admin Query Tool to query ...
1
vote
1
answer
4k
views
Quarkus - ContextNotActiveException when injecting a request scoped bean in Interceptor
I've got a Quarkus application. The entry point to trigger this application is a class which implements AWS RequestHandler.
Before it runs I would like to set the context depending on the given ...
0
votes
1
answer
870
views
Spring boot code integration with AWS RequestStreamHandler
I have a spring boot application with 2 GET end point. I am trying to include Lambda handler request and deploy as AWS Lambda function.
As a first step, I added below code for RequestStreamHandler.
...
0
votes
0
answers
150
views
CefSharp links that open specific application doesnt work
CefSharp links that open specific application doesnt work
Im trying to make my winform web browser be able to open specific applications like on roblox or other websites that run specific application
...
0
votes
1
answer
192
views
Error creating bean with name with Spring 5.2.20RELEASE
Hie Guys ,
earlier we have used spring 3.x but when we upgraded to spring 5.2.20RELEASE
getting below kind of response
SEVERE: Servlet.init() for servlet [appServlet] threw exception
org....
1
vote
1
answer
938
views
How to perform request coalescing with .net middleware
Firstly, I know there are options for request coalescing, like using an Origin Shield, Varnish, etc.
But those are architectural changes and I was looking for something more straight forward.
My ...
0
votes
0
answers
203
views
Loading custom MapBox GL JS tile source generated with Python tornado async RequestHandler
I created custom tile source provider with python running tornado web server. On the server I generate on the fly the specific tile and output it as a "image/png" header format. To prevent ...
0
votes
1
answer
721
views
Request state size is exceeds the threshold limit in Mendix
Request state size of 37449 objects exceeds the threshold of 100 objects. Request details: type 'RequestHandlingUtilImpl$' in session '34483ca1-e282-4938-868e-b4f4c76e4084'. State consists of:
...
0
votes
1
answer
51
views
How to add solr searchHandler through curl
I would like to add the following searchHandler to my solr core locally:
<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
<str name="...
0
votes
1
answer
981
views
How do I forcibly disconnect all currently connected clients to my TCP or HTTP server during shutdown?
I have a fake HTTP server that I use as a fixture in my testing. At some point in the test, I want to stop the server regardless of any still open connections. Clients on these open connections should ...
0
votes
1
answer
671
views
The return type is incompatible with RequestHandler<Object,String>.handleRequest(Object, Context) in JAVA
Im trying to run the below code, the classes mentioned in the source code is already defined except for authenticateUser , in the highlighted line error message "The return type is incompatible ...
1
vote
0
answers
424
views
Property 'catch' does not exist on type 'void'
I would like to do catchAsync1 but getting Error
Property 'catch' does not exist on type 'void'
and would like to know catchAsync3 and catchAsync2 are correct in typescript
import { NextFunction, ...
0
votes
0
answers
306
views
CakePHP4 - How to use the 'RequestHandler' component within another component
The PHP code segment of my component is shown below:
...
class NewsletterFormComponent extends Component {
public $components = ['Flash','RequestHandler'];
public $controller;
public function ...
2
votes
1
answer
6k
views
Can't achieve RequestHandler to work CefSharp winforms C#
I'm a bit new to c# and CefSharp :-) so be cool with me !
My goal is to call an url, and then explore DOM to retrieve data and then process this data for hypervision purpose.
I've achieve that ...
-1
votes
3
answers
473
views
Cakephp 3 View variables set in App controller not available when rendering specific template / AJAX requests
I am setting few view variables within my App controller such as company name, address, contact information which changes based on sub domains so that they are available throughout all view templates. ...
1
vote
0
answers
86
views
Passing URL parameters to webapp2.RequestHandler in python results in 'None'
I have the following web application, which has 1 handler:
class GetHandler(webapp2.RequestHandler):
def get(self, name):
self.response.headers['Content-Type'] = 'text/plain'
self....
1
vote
1
answer
1k
views
DDD / CQRS - Does a request handler (or controller) can throw exceptions defined at the domain level?
Good morning,
Let's say, we've a domain defining an exception such as ObjectNotFoundException which expect an identifier (VO), defined at the domain model.
Question
Can we throw domain exceptions ...
2
votes
0
answers
93
views
await function in Python
So this is some code i have in my python file, the details of the code aren't that important, I basically use this MainHandler to deal with some requests sent to it by a connection "client".
class ...
0
votes
1
answer
112
views
OAuthRequestFilter (or ContainerRequestFilter) not working inside AbstractFeature - "org.apache.cxf.resource.method" is null
We are using CXF 3.x, project has classes MyFeature extends AbstractFeature and `MyFilter extends OAuthRequestFilter.
Inside MyFeature class object of MyFilter created as MyFilter myFilter = new ...
0
votes
1
answer
1k
views
How to handle multiple requests being sent in JavaScript?
Working on a platform, to enable auto-ticketing functionality. For which a REST API request is used for ticket creation. Unfortunately, there are 2 requests popping simultaneously, which results in ...
0
votes
1
answer
2k
views
node express request handler in source code
I'm reading example express source code for my education.
Initializing a simple express application looks like this:
const express = require('express')
const app = express()
app.listen(3000, () =&...
0
votes
0
answers
177
views
How to change arguments when tornado render html ?
Example code:
RequestHandlerA(tornado.web.RequestHandler):
def get/post(self):
...
redirect('/index?username=user0&password=user0')
...
RequestHandlerB(tornado.web....
0
votes
1
answer
1k
views
Spring HttpRequestHandler + XMLHttpRequest
i have a problem HttpRequestHandler does not receive any data when i send post data by javascript. i want to receive value of content, but it does not work.
Here is javascript code:
function ...
0
votes
1
answer
194
views
Only return search results that matches in all fields
I have fields for name and dimensions. The fields are: Name, dimensionLength, dimensionWidth and dimensionHeight.
I want query productX 10x20 only to return matches containing both dimensions. So ...
1
vote
1
answer
61
views
How to redirect the url from nested site in pencilblue?
I want to 301 redirect the URLs from previous site that are nested, as pencilblue doesn’t support them,
e.g. a/b to page/b
For this I have been experimenting in include/http/request_handler.js but ...
0
votes
1
answer
94
views
Submitting files in Solr
While I submit documents to Solr if Request-Handler is /update I can't submit csv and json files but I can submit xml files.
I have changed Request-Handler to /update/extract. Now I can submit csv,...
0
votes
1
answer
2k
views
"qt" param in Solr 5.5
I'm migrating solr from 4.6 version to 5.5, we have separate request handlers in which we provide query without field name, like q=book. But for select request handler, we need to pass the request ...
1
vote
0
answers
204
views
AWS Lamba new project compilation error on Eclipse
Every time I create a new AWS Lambda Java Project in Eclipse using this guide, I get the following compilation error.
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws....
2
votes
1
answer
223
views
Override JSON view in RequestHandler in CakePHP
I want to rewrite JSON View in the RequestHandler. So there's a file project_root/lib/JsonView.php. What I want to do is to
Import the JsonView.php file in another file in project_root/app/View/...
1
vote
2
answers
1k
views
multi request handling parallelly by using flask
@app.route("/")
def start():
#will do some task
return 'completed'
In the above program, after execution the 1st request 2nd request will execute. But I want to make such a server that will ...
1
vote
1
answer
837
views
Call torando Request Handler function without running tornado loop start?
I need to store the output of a get function of a request handler before running the tornado server from outside the application.
Example:-
class Test(RequestHandler):
def get:
print "...
3
votes
2
answers
2k
views
Classic ASP: run some code at the start of every request before processing actual .asp file
This is classic ASP, running on IIS 8.5.
I need to run some VBScript that should be common to all my *.asp pages at the beginning of every Http request to those *.asp files.
Currently I am using a #...
4
votes
3
answers
6k
views
Pass Parameter to SimpleHTTPRequestHandler
I have to pass a parameter to SimpleHTTPRequestHandler class, so I used class factory to create a custom handler as below.
def RequestHandlerClass(application_path):
class CustomHandler(...
0
votes
1
answer
84
views
Solrcache and requesthandler
Due to my proj security requirements, i have created a custom requesthandler(for eg:"/new") to serve requests coming from a particular set of users & i have the default "/select" requesthandler to ...
-1
votes
3
answers
616
views
C# REQUEST HANDLER ERROR System.InvalidCastException: Specified cast is not valid
When i try to execute this function i get the error
"System.InvalidCastException: Specified cast is not valid."
System.InvalidCastException: Specified cast is not valid.
at server.mihail.credits....
0
votes
2
answers
1k
views
Where can i cache pandas dataframe in tornado requesthandler
I want to cache a pandas dataframe into tornado requesthandler. So i don't want to repeat the pd.read_csv() for every hit to that particular url.
0
votes
0
answers
112
views
Asp.Net 5 Custom DelegatingHandlers
I have written a custom DelegatingHandler that intercepts requests and authenticates it against an API key. This was being used in a WebApi service, pre ASP.NET 5.
protected override Task<...
2
votes
0
answers
519
views
Log REST request using org.apache.wink RequestHandler
I have a requirement to log the REST request and response messages, so I have used apache wing RequestHandler. And I am able to get the response using the ResponseHandler. But unable to get the ...
1
vote
0
answers
132
views
Python: Page will not load when using Python SImpleHTTPServer with a RequestHandler
I'm creating a simple server to serve a form via Python. The user will post their name and a message through an HTML form, on the server-side python will retrieve these values and append them to a ...
0
votes
1
answer
56
views
solr-api accessing document field is taking a lot of time
I am trying to access a field in custom request handler. I am accessing it like this for each document:
Document doc;
doc = reader.document(id);
DocFields = doc.getValues("state");
There are around ...
0
votes
1
answer
124
views
Passing parameter in request handler is not showing correct results
New to android, it is a trivial issue but could not resolve in last 3 hours.
When I use the parameter called keyword, it is not showing correct results. otherwise it is working fine if I pass ...
1
vote
1
answer
496
views
How to call a webapp2 method from Cloud endpoint api?
I have written a GAE application using Python.
The application has a mobile component that is being built in Android. I am using custom credentials and not using Google OAuth for authentication.
I ...
1
vote
1
answer
286
views
Partial page render, use webapp2 post request handler to pass a msg
I am just getting to grips with jinja2 templating on GAE. What I am trying to do is to display a status msg in the rendered template without rendering the whole template again.
I have a webapp2 ...
1
vote
2
answers
261
views
Can a Tornado RequestHandler attend requests, while waiting for a Future to finish?
Can a single Tornado RequestHandler class attend new requests, while waiting for a Future to finish in one of its instances?
I was debugging a Tornado coroutine that called a ThreadPoolExecutor and I ...
2
votes
1
answer
376
views
Solr MailEntityProcessor DIH configuration keeps loading
I am trying to index my emails from Microsoft Exchange. The server is using IMAP4 protocols.
I added the requestHandler in solrconfig.xml:
<requestHandler name="/dataimport" class="org.apache.solr....
1
vote
4
answers
2k
views
Solr Custom UpdateRequestProcessorFactory
I am stumped by this problem. I have written a custom UpdateRequestProcessorFactory. The code is:
package mira;
import java.io.IOException;
import org.apache.solr.common.SolrInputDocument;
import ...
0
votes
1
answer
566
views
Cakephp redirect doesn't work with jQuery mobile
I'm trying to use CakePHP and jQuery Mobile combined.
Generally it works great, but I've got a huge problem with using the Redirect from One Controller to a different.
Especially since I added the ...
1
vote
1
answer
1k
views
Jquery Datatables Ajax Response
I am trying to follow the datatable example for Ajax data source (objects) found here. I am using asp.net and have the following handler which receives my data, processes it and provides the response.
...
0
votes
1
answer
287
views
where to cache stuff for RequestHandler?
I intend to use tornado to write a handler that implement an autocomplete service, demonstrated as below:
class AutoCompleteHandler(tornado.web.RequestHandler):
def initialize(self, indexbuilder)...
0
votes
1
answer
570
views
Solr Replication not happening (only) of delete messages because of commit issue in solr 4.4.0
I am facing a very weird behavior in Solr version 4.4.0
When I send following url request for indexing two documents, it works fine, ie, it writes the indexing message into respective core. Hence we ...