English 中文(简体)
如何使第3卷显示全方位的痕迹
原标题:How to make Mule 3 display full stack traces
  • 时间:2011-10-24 18:21:53
  •  标签:
  • mule

I had an exception where I got this shortened trace:

Root Exception stack trace:
java.sql.SQLException: Invalid column name
    at oracle.jdbc.driver.OracleStatement.getColumnIndex(OracleStatement.java:3677)
    at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:2749)
    at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:494)
    + 3 more (set debug level logging or  -Dmule.verbose.exceptions=true  for everything)

之后,我在“<><><>> > >log4j.properties上做了说明,并且没有帮助:

log4j.logger.org.mule=DEBUG

我也不符合第二项建议(我怀疑Im没有这样做):

$ ./mule -Dmule.verbose.exceptions=true
最佳回答

here所述,论点从指挥线传至Mule:

$ ./mule -M-Dmule.verbose.exceptions=true

页: 1 预设于-M

问题回答

否则,Mule过滤器从中子中删除一些内部类别,以产生更可读的产出。 http://docs.mulesoft.com/mule-user-guide/v/3.7/configuring-mule-stacktraces” rel=“nofollow noretinger” https://docs.mulesoft.com/mule-user-guide/v/3.7/configuring-mule-stacktraces

我知道这个问题与如何混淆穆莱顿演播室的例外情况有关,但如果你想把这个问题直接放在Mule ESB服务器上,你也可以在Mule安装名录下添加wrapper.java.additional.n wrapper.conf文档。 这一总结。 专栏载有开始时发给穆莱的所有参数:

i.e. wrapper.java.additional.6=-Dmule.verbose.exceptions=true

仅能确保wrapper.java.additional.参数不用于其他参数。

To pass the arguments at the command line by adding the -M switch.

i.e. MULE_HOME/bin/mule -M-Dmule.verbose.exceptions=true

For Anypoint Studio Deployment:

右 click点击演播室项目根基,选择“Run As”-> “Run Configuration”->“Argument” tab,对信标窗口中的论点进行补充,

i.e.  -XX:PermSize=128M -XX:MaxPermSize=256M -Dmule.verbose.exceptions=true

申请:

你可以把指挥线论点作为依据。

i.e. mvn package -Dmule.verbose.exceptions=true

用于云布的部署:

你可以通过把指挥线论点作为部署中的财产——和;背景——和部分;





相关问题
Mule ESB - How to get MimeMessage instead of MimeBodyPart?

I m trying to get the FROM email address in Mule ESB. I m getting the retrieved object as MimeBodyPart, I d like to have MimeMessage instead. How to do this? Any solution - either in Mule or Java is ...

JaxWsProxyFactoryBean for Mule CXF transport?

I am new to mule. Are there any way to call CXF based web services using JaxWsProxyFactoryBean? It will be nice to reuse Java interface instead of wsdl files. With CXF we can simply reuse our java ...

Drools, spring and mule

Has anyone combined these technologies? Could you share lessons learnt?

How to keep inbound host with custom Mule ESB router

I created a custom router with one endpoint. The custom router looks up the destination of the endpoint based on the URL parameters of the inbound URL. I have an example of this up and running, and I ...

热门标签