wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Getting the below Exception strangly only once ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Getting the below Exception strangly only once ?" Watch "Getting the below Exception strangly only once ?" New topic
Author

Getting the below Exception strangly only once ?

adil qureshi
Ranch Hand

Joined: Jul 11, 2008
Posts: 48
---------------
ERROR [STDERR] (WorkManager(2)-3) java.lang.ClassNotFoundException: org.apache.ws.security.transform.STRTransform from BaseClassLoader@16b5518{VFSClassLoaderPolicy@19fdafc{name=vfsfile:/C:/tools/jboss-5.1.0.GA/server/default/deployers/jbossws.deployer/ domain=ClassLoaderDomain@d75c47{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader@5d173} roots=[MemoryContextHandler@31580014[path= context=vfsmemory://4sh2q1h-rp2ti2-gt2phu2x-1-gt2phzqx-e real=vfsmemory://4sh2q1h-rp2ti2-gt2phu2x-1-gt2phzqx-e], FileHandler@1292795[path=jbossws.deployer context=file:/C:/tools/jboss-5.1.0.GA/server/default/deployers/ real=file:/C:/tools/jboss-5.1.0.GA/server/default/deployers/jbossws.deployer/]
---------------------
I have a functionality which gets triggered when i click on submit for the first time when JBoss session starts I get the above exception.

Can anybody help me in this.


SCJP 1.5,SCWCD 1.5
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

That class is not in any of the JBoss AS provided JAR files. Is it in one of the JAR files you provided? If so, exactly where is that JAR file located?


JBoss In Action
adil qureshi
Ranch Hand

Joined: Jul 11, 2008
Posts: 48
Thanks for reply ,

You are right this is a jar issue and the class is present in wss4j jar , i know the resolution to this but what's pondering me is that this error comes only once and after that i can continue normally and perform the same functionality over and over again.

Also if i put this jar in deploy/lib this error goes , but it wont be a good practice since i already have the jar in my ear .

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

s but what's pondering me is that this error comes only once and after that i can continue normally and perform the same functionality over and over again[/quote
I suspect you will have to debug the code to answer this question.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting the below Exception strangly only once ?