小编Gia*_*nt2的帖子

帖子中传递的最大参数数量

我收到此错误:

Exception during request processing:
Caused by javax.servlet.ServletException with message:
"Parameter count exceeded allowed maximum: 512"
Run Code Online (Sandbox Code Playgroud)

对帖子中传递的参数数量似乎有限制.

我怎么能在JBoss中扩展这个限制?

html jboss

15
推荐指数
3
解决办法
3万
查看次数

Apache CXF JaxWsProxyFactoryBean SSL 配置调用外部 https 失败

我部署了一个 Spring 微服务 docker。我使用 JaxWsProxyFactoryBean 调用外部服务器 (soap/wsdl),并且使用 http://externalServer 一切顺利:

JaxWsProxyFactoryBean jaxWsProxyFactoryBean = new JaxWsProxyFactoryBean();
jaxWsProxyFactoryBean.setAddress("http://externalServer");
...
Run Code Online (Sandbox Code Playgroud)

当我在 setAddress 中调用 https 时,问题就出现了。

我使用 keytool 在密钥库中注册了被调用服务器的密钥/证书,并将其保存到 /root/.keystore (标准),并从 pfx 导入它。当我尝试调用 https 时,出现此错误:

org.apache.cxf.transport.https.SSLUtils  : Default key managers cannot be initialized: Password must not be null
Run Code Online (Sandbox Code Playgroud)

好的,我缺少密码。但是这个恶意密码放在哪里呢?在application.yml中?在系统属性中?[keystore中使用的密码是标准的(changeit)]

编辑

这是日志的快照:

DEBUG 1 --- [  XNIO-1 task-1] org.apache.cxf.transport.https.SSLUtils  : The location of the key store has not been set via a system parameter or through configuration so the default value of /root/.keystore will be used. …
Run Code Online (Sandbox Code Playgroud)

ssl spring cxf keytool docker

1
推荐指数
1
解决办法
3518
查看次数

标签 统计

cxf ×1

docker ×1

html ×1

jboss ×1

keytool ×1

spring ×1

ssl ×1