-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Description
I deployed the console embedded and I face the problem that I cannot send commands (operations in language of jmx).
Debugging shows, that stringParams here https://github.com/lbovet/jminix/blob/master/src/main/java/org/jminix/console/resource/OperationResource.java#L79 has no value.
The params are available though. The console is working right with the following patch
Map<String, String[]> parameterMap = ((ServletCall) ((HttpRequest) ((OperationResource) this).getRequest()).getHttpCall()).getRequest().getParameterMap();
String[] params = parameterMap.get("param");
stringParams = params;
I try to find out if I have a problem with my configuration, but without success. Does anyone has a hint what the problem could be?
Cheers
Stefku
My configuration for spring boot
<dependency>
<groupId>org.jminix</groupId>
<artifactId>jminix</artifactId>
<version>1.2.0</version>
</dependency>
@Configuration
public class JMinixConfig {
@Bean
public ServletRegistrationBean jminixServlet() {
ServletRegistrationBean servletBean = new ServletRegistrationBean();
servletBean.addUrlMappings("/admin/jminix/*");
servletBean.setServlet(new org.jminix.console.servlet.MiniConsoleServlet());
return servletBean;
}
}
Metadata
Metadata
Assignees
Labels
No labels