Hi
I am working on JBoss BRMS 5.2.0. I am trying to deploy it on IBM Websphere Application
Server v8.0. I am struck with a problem and unable to resolve it.
The problem is as mentioned below:
When I am deploying BRMS 5.2 on Websphere 8, I am getting the following exception :
com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet
Error]-[GenericServletWrapper]: java.lang.ClassNotFoundException: class
java.lang.ClassNotFoundException: org.jboss.seam.web.ContextFilter
Presently, I am using default seam jars provided in the BRMS setup :
jboss-seam-2.2.4.EAP5.jar and : jboss-seam-remoting-2.2.4.EAP5.jar
I have tried it with different versions of Seam Jars also. However, it is giving class not
found exception in every case.
Could you please help me out in resolving the issue?
The Development Environment Specifications are as mentioned below:
1. Operating System : Microsoft Windows 7
2. IDE : IBM Rational Application Developer
(Version 8.0.3) --> RAD8
3. Application Server : IBM Websphere Application Server (Version 8.0)
--> WAS8
4. Module : JBoss BRMS (Version 5.2.0) -->
jboss-brms.war
----------------------------------------------------------------------------------------------------------------------------------------------
I have tested 3 Scenarios:
1. Running the original jboss-brms.war on WAS8
2. Adding slf4j-api-1.6.0.jar and slf4j-log12-1.6.0.jar to the "lib"
folder at "IBM\WebSphere\AppServer\lib"
And running the jboss-brms.war on WAS8, after restarting the server.
3. Adding slf4j-api-1.6.0.jar and slf4j-log12-1.6.0.jar to the "lib"
folder of "jboss-brms.war"
And running the jboss-brms.war on WAS8, after restarting the server.
----------------------------------------------------------- Scenario
1-----------------------------------------------------------------------
Scenario 1 : Running the original jboss-brms.war on WAS8.
I am getting the following exceptions :
[12/13/11 15:01:54:381 IST] 0000003c AlarmThreadMo W UTLS0008W: The return of alarm
thread "Non-deferrable Alarm : 0" (00000004) to the alarm thread pool has been
delayed for 10652 milliseconds. This may be preventing normal alarm function within the
application server. The alarm listener stack trace is as follows:
[12/13/11 15:02:01:594 IST] 00000004 AlarmThreadMo W UTLS0009W: Alarm Thread
"Non-deferrable Alarm : 0" (00000004) previously reported to be delayed has now
completed. It was active for approximately 17955 milliseconds.
[12/13/11 15:02:07:166 IST] 0000001f annotation W
com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses SRVE8000W: Skipped
class that failed to initialize for annotation scanning.
java.lang.ClassNotFoundException:
org.jboss.seam.servlet.SeamListener
[12/13/11 15:02:07:248 IST] 0000001f annotation W
com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses SRVE8000W: Skipped
class that failed to initialize for annotation scanning.
java.lang.ClassNotFoundException:
org.jboss.seam.web.ContextFilter
[12/13/11 15:02:07:486 IST] 0000001f InjectionProc W CWNEN0047W: Resource annotations on
the fields of the net.sf.webdav.WebDavServletBean class will be ignored. The annotations
could not be obtained because of the exception : java.lang.NoClassDefFoundError:
org.slf4j.Logger
The complete stack trace is in the attached log files.
Log files attached for Scenario 1 : Scenario1.zip --> SystemOut.log.txt ,
SystemErr.log.txt --> 2 files
----------------------------------------------------------- Scenario
2-----------------------------------------------------------------------
Scenario 2 : Adding slf4j-api-1.6.0.jar and slf4j-log12-1.6.0.jar to the "lib"
folder at "IBM\WebSphere\AppServer\lib"
And running the jboss-brms.war on WAS8, after restarting the server.
I am getting the following exceptions :
Same as Scenario 1
The complete stack trace is in the attached log files.
Log files attached for Scenario 2 : Scenario2.zip --> SystemOut.log.txt ,
SystemErr.log.txt --> 2 files
----------------------------------------------------------- Scenario
3-----------------------------------------------------------------------
Scenario 3 : Adding slf4j-api-1.6.0.jar and slf4j-log12-1.6.0.jar to the "lib"
folder of "jboss-brms.war"
And running the jboss-brms.war on WAS8, after restarting the server.
I am getting the following exceptions :
[12/13/11 15:53:35:206 IST] 00000055 AlarmThreadMo W UTLS0008W: The return of alarm
thread "Non-deferrable Alarm : 1" (00000016) to the alarm thread pool has been
delayed for 18286 milliseconds. This may be preventing normal alarm function within the
application server. The alarm listener stack trace is as follows:
at
com.ibm.ws.util.ThreadPool$Worker.disableHungThreadDetection(ThreadPool.java:1710)
[12/13/11 15:53:41:083 IST] 00000043 annotation W
com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses SRVE8000W: Skipped
class that failed to initialize for annotation scanning.
java.lang.ClassNotFoundException:
org.jboss.seam.servlet.SeamListener
[12/13/11 15:53:41:318 IST] 00000043 annotation W
com.ibm.ws.webcontainer.annotation.WASAnnotationHelper collectClasses SRVE8000W: Skipped
class that failed to initialize for annotation scanning.
java.lang.ClassNotFoundException:
org.jboss.seam.web.ContextFilter
[12/13/11 15:53:49:176 IST] 00000043 SystemErr R SLF4J: Class path contains multiple
SLF4J bindings.
[12/13/11 15:53:49:211 IST] 00000043 SystemErr R SLF4J: Found binding in
[bundleresource://213.fwk34567131:1/org/slf4j/impl/StaticLoggerBinder.class]
[12/13/11 15:53:49:212 IST] 00000043 SystemErr R SLF4J: Found binding in
[wsjar:file:/C:/Users/tinu_bansal/Desktop/AllWorkspaces/IBMWorkspaces/Workspace29/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/jboss-brms/WEB-INF/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
[12/13/11 15:53:49:212 IST] 00000043 SystemErr R SLF4J: See
http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
The complete stack trace is in the attached log files.
Log files attached for Scenario 3 : Scenario3.zip --> SystemOut.log.txt ,
SystemErr.log.txt -->2 files
Regards
Tinu
+918686177200
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***