Reply To: Cannot deploy project if I add integration faces 2.0.5 jar

Splash Forums Rewrite Users Cannot deploy project if I add integration faces 2.0.5 jar Reply To: Cannot deploy project if I add integration faces 2.0.5 jar

#24765

giates
Participant

@sam.shm: if you copy the rewrite servlet jar into glassfish lib the application correctly starts…

@Christian Kaltepoth: in my case the missing class is

java.lang.NoClassDefFoundError: org/ocpsoft/rewrite/servlet/event/SubflowTask.class

but depends on the type of custom configuration code… (I remember that I’ve seen the missing Flow class during my experiments…)

and yes, seems that it is correctly located into the jar, I have no warning/error about problems during rewrite servlet deployment on glassfish log, all other libraries are working correctly, I think that the problem could be the use of the META-INF.services mechanism maybe during deployment when glassfish loads the configuration provider it cannot find the rewrite servlet is not already deployed ? This would explain why I must copy the jar into glassfish lib…

There is another strange thing: as soon as I use the configuration provider (configured under META-INF.services), any time I modify my application sources it is correctly autodeployed by glassfish but it stop to work so I must restart the whole application server, very strange behaviour…

  • This reply was modified 8 years, 4 months ago by  giates.
  • This reply was modified 8 years, 4 months ago by  giates.