Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-23) was last changed on 24-Sep-2009 18:53 by 213.252.50.50  

This page was created on 17-Dec-2005 05:59 by MyTestUser

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 201 added 136 lines
----
Uncommenting the JAAS section in the web.xml broke logging in for me. I'm running JBoss 4.0.5GA though, so I don't know if something changed since 4.0.3 (although I doubt it). I believe it is breaking because it enables Container Managed Authentication which, unless you are doing authentication to a database or something besides the default XML database, is not needed. If someone knows why this doesn't work please let us know.
--[AndrewSerff|http://andrew.serff.net], 21-Jan-2007
I have installed JSPWiki in JBoss and use MS SQL Server 2000 Database. I configured all the properties for jdbc provider also. When i run the Install.jsp file and click configure it is showing no admin account. My database is getting initialized and the connection is getting closed by the CachedConnectionManager. Also i get that the connection handle has been closed and is unusable when i try to save a profile. Please help me out at the earliest.
--yesesnono, 19-Jul-2007
I deployed the latest version to JBoss 4.0.4. I have followed the above steps, but when I tried to navigate to login page, it failed to display the page. Anyone knows why?
----
I can confirm that JSPWiki 2.6.0 dies on JBoss 4.0.5.GA.
\\__Specs__
*JVM 1.4.1_02_Build6
*JSPWiki 2.6.0
*JBoss 4.0.5.GA.
The front page doesn't complete loading. The following exception gets thrown:
{{{
java.lang.NoClassDefFoundError: org/apache/taglibs/standard/tag/common/fmt/BundleSupport
at javax.servlet.jsp.jstl.fmt.LocaleSupport.getLocalizedMessage(Unknown Source)
at javax.servlet.jsp.jstl.fmt.LocaleSupport.getLocalizedMessage(Unknown Source)
...
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:602)
at com.ecyrd.jspwiki.tags.ContentTag.doEndTag(ContentTag.java:126)
}}}
--Louis, 08-Oct-2008 20:28
\\P.S.
*Also occurs on JDK 1.5.0_11
*Also occurs with JSPWiki 2.6.4 Stable
--lysior@gmx.de, 24-Sep-2009:
can be solved by deploying maven-2.2.1-uber.jar and standard-1.0.3.jar from apache Maven project
----
Oracle script:\\
\\CREATE TABLE USERS(USERID VARCHAR(32) NOT NULL PRIMARY KEY,
PASSWD VARCHAR(32) NOT NULL,
EMAIL VARCHAR(64),
CREATED TIMESTAMP,
MODIFIED TIMESTAMP,
FIRSTNAME VARCHAR(20),
LASTNAME VARCHAR(20),
FULLNAME VARCHAR(50),
WIKINAME VARCHAR(50),
ISGROUP NUMBER DEFAULT 0 NOT NULL);
\\
\\CREATE TABLE ROLES(USERID VARCHAR(32) NOT NULL,
ROLEID VARCHAR(32) NOT NULL,
PRIMARY KEY(USERID,ROLEID),
CONSTRAINT FK_USERS FOREIGN KEY(USERID) REFERENCES USERS(USERID));
\\
\\CREATE TABLE GROUPMEMBERS(USERID VARCHAR(32) NOT NULL,
GROUPID VARCHAR(32) NOT NULL,
CONSTRAINT FK_GRPMEM_USERS FOREIGN KEY(USERID) REFERENCES USERS(USERID),
CONSTRAINT FK_GRPMEM_GROUPS FOREIGN KEY(GROUPID) REFERENCES USERS(USERID));
\\
\\CREATE VIEW V_ROLES (USERID,GROUPID,ROLEID) AS select gm.USERID, gm.GROUPID, r.ROLEID
from GROUPMEMBERS gm
inner join ROLES r on gm.GROUPID = r.USERID
union
select u.USERID, null, r.ROLEID
from USERS u
inner join ROLES r on u.USERID = r.USERID
where u.ISGROUP=0;
--Dean Pullen, 11-Nov-2008 11:57
----
! Issue with JBOSS-5.0.0.GA and JSPWiki 2.6.4
I successfully implemented JSPWiki 2.6.4 on JBOSS 3.2.6RC2 on a Windows 2000 Server. To do so I removed log4j from JSPWiki.war as suggested earlier in this page. I was then able to deploy. I then exploded the war file as suggested and that also worked fine.
When I upgraded JBOSS to 5.0.0.GA, I was unable to deploy JSPWiki 2.6.4. When I tried to do so, I got the following errors and warnings:
{{{
WARN [SaxJBossXBParser] SchemaLocation: schemaLocation value = 'http://java.sun.com/xml/ns/j2ee/web-app-2_4.xsd' must have an event number of URI's. @ vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/JSPWiki.war/WEB-INF/web.xml[6,23]
ERROR [AbstractKernelController] error installing to Parse: name-vfszip:/C:/jboss-5.0.0.GA/server/default/deploy/JSPWiki.war state=Not Installed mode=Manual requiredState=Parse
org.jboss.deployers.spi.DeploymentException: Error creaing managed object for vfszip:C:/jboss-5.0.0.GA/server/default/deploy/JSPWiki.war
...
}}}
With the help of Harry Metske and Romano Silva, I was able to resolve this problem.
The resolution to this problem is two-fold. The web.xml in JSPWiki version 2.6.4 is not quite correct (this has already been corrected in JSPWiki 2.8) if you don't want to switch to 2.8, you can try to hack the JSPWiki JSPWiki.war/WEB-INF/web.xml file:
Change:
{{{
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
to read
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
}}}
That fixes the first problem you encounter. The second problem happens when you make the fix above. After fixing the above, you get the error:
{{{
ERROR [[/JSPWiki]] Exception starting filter WikiJSPFilter
Java.lang.LinkageError: loader constraints violated when linking
org/xml/sax/DTDHandler class
at org.jdom.input.SAXBuilder.configureParser(SAXBuilder.java:614)
...
ERROR [[/JSPWiki]] Exception starting filter WikiServletFilter
Java.lang.NoClassDefFoundError
at com.ecyrd.jspwiki.WikiEngine.initialize(WikiEngine.java:504)
...
}}}
To fix that error, use the hint found in the [BugProblemsWithCommonLogging] page:
* replace JSPWiki.war/WEB-INF/lib/commons-logging-api.jar with commons-logging-adapters-1.1.1.jar which appears in the [Apache Commons Logging site | http://commons.apache.org/downloads/download_logging.cgi]
* remove JSPWiki.war/WEB-INF/lib/xmlrpc.jar
''Note: a [web posting | http://article.gmane.org/gmane.comp.java.xdoclet.user/7798] provides the clue to above.''
--Tom Duffy, 15-May-2009 13:24
Version Date Modified Size Author Changes ... Change note
23 24-Sep-2009 18:53 17.338 kB 213.252.50.50 to previous
22 18-May-2009 16:34 17.207 kB TomDuffy to previous | to last
21 18-May-2009 16:33 17.251 kB TomDuffy to previous | to last
« This page (revision-23) was last changed on 24-Sep-2009 18:53 by 213.252.50.50