Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting the below Exception strangly only once ?

 
adil qureshi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
---------------
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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
adil qureshi
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic