incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Ebel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JSPWIKI-699) JSPWiki 2.8.4 does not work with JBoss 7.0 Web Profile
Date Wed, 03 Aug 2011 20:41:27 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079000#comment-13079000
] 

Markus Ebel commented on JSPWIKI-699:
-------------------------------------

Hello again,
finally I was able to deploy JSPWiki on JBoss 7. But I had to make three corrections/adjustments:
1. JSPWiki.war\WEB-INF\jspwiki.tld, delete following tag (this class is not defined in JSPWiki.jar):

  <tag>
    <name>RSSUserlandLink</name>
    <tagclass>com.ecyrd.jspwiki.tags.RSSCoffeeCupLinkTag</tagclass>
    <bodycontent>empty</bodycontent>
    <attribute>
       <name>title</name>
       <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>

2. JSPWiki.war\WEB-INF\oscache.tld, remove 3x ".module" (there is no "module" in the oscache.jar)

  <tagclass>com.opensymphony.module.oscache.web.tag.CacheTag</tagclass>
  <tagclass>com.opensymphony.module.oscache.web.tag.UseCachedTag</tagclass>
  <tagclass>com.opensymphony.module.oscache.web.tag.FlushTag</tagclass>

3. Copy <JRE>\lib\rt.jar to JSPWiki.war\WEB-INF\lib\ 
Other wise you get "java.lang.NoClassDefFoundError: Could not initialize class javax.security.auth.SubjectDomainCombiner".
rt.jar contains SubjectDomainCombiner.

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

        

Mime
View raw message