配置ODI与BAM Server通信后,反向BAM 模型报错:
严重: error getting context=java.lang.SecurityException: User: weblogic, failed to be authenticated.
2012-6-27 18:27:56 oracle.bam.enterpriselink.BAMJdbcConnection getContext
严重: BAM-07033: 企业消息源失败, 出现错误: javax.security.auth.login.LoginException: java.lang.SecurityException: User: weblogic, failed to be authenticated.
at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:134)
at oracle.bam.common.remoting.BamEjbClient.getSession(BamEjbClient.java:1010)
at oracle.bam.common.remoting.BamEjbClient.getADCSession(BamEjbClient.java:359)
at oracle.bam.common.remoting.BamEjbClient.getADCSession(BamEjbClient.java:564)
at oracle.bam.adc.api.util.Context.<init>(Context.java:239)
at oracle.bam.enterpriselink.BAMJdbcConnection.getContext(BAMJdbcConnection.java:1613)
at oracle.bam.enterpriselink.BAMJdbcConnection.<init>(BAMJdbcConnection.java:362)
反复检查用户和密码,以及其他配置,实在找不出哪里失误导致。搞了半天,反过来查看BAMODIConfig.xml文件,发现没指定BAM Server服务器的地址,以前好像遇到过,白折腾这半天了,
<BAMODIConfig>
<ServerName>localhost</ServerName> --change to correct url
<ServerPort>9001</ServerPort>
--转自