Search This Blog

Wednesday, February 11, 2009

OIM 9.1.0.1 on JBOSS 4.2.3GA javax.security.auth.login.LoginException: java.lang.NoSuchFieldError

ERROR,11 Feb 2009 15:39:42,453,[XELLERATE.JBOSSLOGINHANDLER],Error in creating l
ogin context
javax.security.auth.login.LoginException: java.lang.NoSuchFieldError: TRACE
at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.
java:85)
at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
at org.jboss.security.ClientLoginModule.initialize(ClientLoginModule.jav
a:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
86)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:6
80)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.jbossLoginHandler.login(Unknown Source
)
at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
at com.thortech.xl.client.base.tcAppWindow.internalLogin(Unknown Source)

at com.thortech.xl.client.base.tcAppWindow.login(Unknown Source)
at com.thortech.xl.client.base.tcAppWindow.(Unknown Source)
at com.thortech.xl.client.base.tcAppWindow.main(Unknown Source)



Solution:

vBackup the original file log4j-1.2.8.jar in oimclient/xlclient/ext

copy the log4j.jar from JBOSS folder - JBOSS/server/default

Paste the file in client folder with original log4j-1.2.8.jar

Rename log4j.jar file to log4j-1.2.8.jar

start ur JBOSS.. this shd work.

10 comments:

  1. Thanks this solved my problem.

    ReplyDelete
  2. Thank you brother , you helped me a lot ! - sridhar

    ReplyDelete
  3. Hi,

    I am getting the same exception but and i have changed that log jar file but still its giving the same error message...

    ReplyDelete
  4. I have tried this solution and it works with me

    Albert

    ReplyDelete
  5. Hi,

    I'm trying to deploy oim 9.1.0.1 on jboss 4.2.3.GA. My stack is Oracle Linux 64 bits+Oracle database 11gr1 64 bit, + jdk 1.6u10 64 bit +jboss 4.2.3.GA. At installation time many errors in jboss log I'm following oracle installation guide for jboss. I can deploy oim on weblogic 10.3 but too slow in my vmware. any help apprecciated. regards

    ReplyDelete
  6. Hi,
    Deploy OIM on Jboss if you are doing it for yourself.As organization point of view I will say Weblogic as performance is better on Weblogic.Please send me the log files on the email I have replied I will help you debug on the errors while doing installation.

    Thanks

    ReplyDelete
  7. Please provide me your email id so I can send you a test email and help you.

    ReplyDelete
  8. This worked for me, thanks

    ReplyDelete