Hi Markus, Make sure that the jar isn't found in JBoss' endorsed directory (jboss-as/lib/endorsed). If it is, then you should remove the one from JSPWiki's lib.
Regards, Dave Wolf "There is no passion to be found playing small - in settling for a life that is less than the one you are capable of living." --Nelson Mandela On Tue, Aug 2, 2011 at 8:36 PM, Markus Ebel (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/JSPWIKI-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078417#comment-13078417] > > Markus Ebel commented on JSPWIKI-699: > ------------------------------------- > > Harry, > > I have no clue, but I agree that it is propably a problem from JBoss 7. > I do not understand the trace, because the class is somehow registered: > 21:50:06,486 INFO [org.jboss.as.server.deployment] (MSC service thread > 1-7) Starting deployment of "JSPWiki.war" > 21:50:06,492 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service > thread 1-4) > "/D:/Installation/jboss-as-web-7.0.0.Final/standalone/deployments/JSPWiki.war/WEB-INF/lib/oscache.jar" > accepted: true > 21:50:07,824 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service > thread 1-4) > "/D:/Installation/jboss-as-web-7.0.0.Final/standalone/deployments/JSPWiki.war/WEB-INF/lib/oscache.jar/com/opensymphony/oscache/web/tag/UseCachedTag.class" > accepted: true > > but then finally not found: > 21:50:08,507 TRACE [org.jboss.modules] (MSC service thread 1-4) Finding > class com.opensymphony.module.oscache.web.tag.UseCachedTag from Module > "deployment.JSPWiki.war:main" from Service Module Loader > 21:50:08,507 TRACE [org.jboss.modules] (MSC service thread 1-4) Class > com.opensymphony.module.oscache.web.tag.UseCachedTag not found from Module > "deployment.JSPWiki.war:main" from Service Module Loader > > Maybe it is even a complete other root cause. > Anyway it is a pity for JSPWiki when you cannot deploy it on the fly as > before on this famous new release (JBoss 7). > I may search/get in contact in the JBoss community. > > Cheers > Markus > > > JSPWiki 2.8.4 does not work with JBoss 7.0 Web Profile > > ------------------------------------------------------ > > > > Key: JSPWIKI-699 > > URL: https://issues.apache.org/jira/browse/JSPWIKI-699 > > Project: JSPWiki > > Issue Type: Bug > > Components: Core & storage > > Affects Versions: 2.8.4 > > Environment: Windows 7 Prof. 64bit and Ubuntu 9.04 32bit, Java > 1.6.0.24 > > Reporter: Markus Ebel > > Priority: Minor > > > > JBoss tell me that it does not find the > com.opensymphony.module.oscache.web.tag.UseCachedTag class. But the > oscache.jar is available. I tried also version oscache-2.4.1.jar. > > This is the log: > > 21:55:32,164 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) > MSC00001: Failed to start service > jboss.deployment.unit."JSPWiki.war".INSTALL: > org.jboss.msc.service.StartException in service > jboss.deployment.unit."JSPWiki.war".INSTALL: Failed to process phase INSTALL > of deployment "JSPWiki.war" > > at > org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) > > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765) > > at > org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) > > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown > Source) [:1.6.0_24] > > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) [:1.6.0_24] > > at java.lang.Thread.run(Unknown Source) [:1.6.0_24] > > Caused by: > org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to > load class com.opensymphony.module.oscache.web.tag.UseCachedTag > > at > org.jboss.as.ee.component.EEClassConfigurationProcessor.deploy(EEClassConfigurationProcessor.java:95) > > at > org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) > > ... 5 more > > Caused by: java.lang.ClassNotFoundException: > com.opensymphony.module.oscache.web.tag.UseCachedTag from [Module > "deployment.JSPWiki.war:main" from Service Module Loader] > > at > org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191) > > at > org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358) > > at > org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330) > > at > org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307) > > at > org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101) > > at java.lang.Class.forName0(Native Method) [:1.6.0_24] > > at java.lang.Class.forName(Unknown Source) [:1.6.0_24] > > at > org.jboss.as.ee.component.EEClassConfigurationProcessor.deploy(EEClassConfigurationProcessor.java:93) > > ... 6 more > > -- > This message is automatically generated by JIRA. > For more information on JIRA, see: http://www.atlassian.com/software/jira > > >
