Skip to Content.
Sympa Menu

mace-opensaml-users - RE: OpensamlTP2 and JBOSS 4.0.2 and 4.0.4

Subject: OpenSAML user discussion

List archive

RE: OpensamlTP2 and JBOSS 4.0.2 and 4.0.4


Chronological Thread 
  • From: "Giuseppe Sarno" <>
  • To: <>
  • Subject: RE: OpensamlTP2 and JBOSS 4.0.2 and 4.0.4
  • Date: Mon, 16 Oct 2006 10:05:36 +0100

Hi the problem is definitely the log4j-1.2-13 library, it seems JBOSS doesn't support it yet.
For the time being I removed any reference to "isTraceEnabled" and "trace" from xmltooling and the opensaml lib and it's now working fine.
Unfortunately it is not straight forward to upgrade JBOSS to the new Log4j as I had few other problems.
 
The second issue disappeared in JBOSS 4.0.4 as I didn't need to endorse the latest XML library. (I assume they moved to the latest XML libraries).
 
Thanks.
Giuseppe.


From: Sarno, Giuseppe (MOP:GM15)
Sent: 11 October 2006 11:59
To:
Subject: RE: OpensamlTP2 and JBOSS 4.0.2 and 4.0.4

Just tried at least problem 1) is still on latest jboss 4.0.4GA.
 
thanks.
Giuseppe.


From: Sarno, Giuseppe (MOP:GM15)
Sent: 11 October 2006 11:16
To:
Subject: OpensamlTP2 and JBOSS 4.0.2

Hi I'm trying for educational purposes to use Opensaml and JBOSS but I'm going through few problems:
 
1) even though I imported the log4j.13 library in the lib dir I keep getting this error.
 
 10:41:53,161 ERROR [[/Security]] Servlet /Security threw load() exception
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
        at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:122)
        at org.opensaml.Configuration.init(Configuration.java:49)
 
2) also since I had to endorse the XML library then I also got this.
 
10:46:44,853 WARN  [XMLLoginConfigImpl] End loadConfig, failed to load config: file:/home/gsarno/jboss/server/default/conf/login-config.xml
org.jboss.security.auth.login.ParseException: Encountered "<?xml" at line 1, column 1.
Was expecting one of:
    <EOF>
    <IDENTIFIER> ...
   
        at org.jboss.security.auth.login.SunConfigParser.generateParseException(SunConfigParser.java:389)
        at org.jboss.security.auth.login.SunConfigParser.jj_consume_token(SunConfigParser.java:327)
        at org.jboss.security.auth.login.SunConfigParser.config(SunConfigParser.java:98)
        at org.jboss.security.auth.login.SunConfigParser.parse(SunConfigParser.java:57)
 
 
The version of JBOSS is 4.0.2 a year old one but I'm wondering whether anyone has ever tried to use them  Opensaml TP2 and JBOSS 4.0.2?
 
Thanks.
Giuseppe.



Archive powered by MHonArc 2.6.16.

Top of Page