I've tracked down the language issues I've run into to a hibernate query
select doc.language from XWikiDocument as doc where doc.web = 'Main' and
doc.name = 'WebHome' and doc.language <> ''
This will never return results in Oracle because of the way oracle
treats nulls and black strings. Is there an xWiki fix for this????
I'm using xWiki 1.3.1.8931 and Oracle 9.
Thanks,
Jeff
Hello,
I'm runnig xwiki-enterprise-web-1.3.2 in a WebSphere Application Server 6.1.
I'm trying to use the ldap authentication but I get the following exception:
[4/30/08 12:20:56:890 CEST] 0000006d SystemErr R Caused by: java.lang.NoClassDefFoundError:
com.sun.net.ssl.internal.ssl.Provider
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:68)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:129)
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:160)
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107)
This is caused by the missing com.sun.net.ssl.internal.ssl.Provider class in the IBM JVM.
I have had a look on the code and I saw that the com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection is creating a com.sun.net.ssl.internal.ssl.Provider instance in static way:
Security.addProvider(new Provider());
A strong coupling between the application and the JVC implementation is the consequence.
A possible solution can be: create the provider dynamically using a configuration variable:
try {
ClassLoader cl = Thread.currentThread().getContextClassLoader();
String className = config.getLDAPParam("ldap_ssl_provider",
"com.sun.net.ssl.internal.ssl.Provider", context);
java.security.Provider provider = (java.security.Provider) cl.loadClass(className)
.newInstance();
Security.addProvider(provider);
} catch (Exception e) {
throw new XWikiLDAPException("LDAP bind failed loading security provider " + className, e);
}
Marco Marini
Unicredit Global Information Serivecs SpA
Application Architectures and Development
Application Architectures
Application Integration and Framework
Via Monte Bianco, 18 - 37132 Verona
Tel. +39 045 808 4518
Mobile +39 335 1993 954
Fax +39 045 808 4599
marco.marini(a)unicreditgroup.eu
This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies.
Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties.
Thank you!
XWiki displays a "Creative Commons License" on the site but all of the code
has LGPL license mentioned in the file headers. Is the "skin" under
"Creative Commons License" and the code under LGPL? What about the Velocity
templates are they under Creative Commons? What if I create my own skin?
Glenn Everitt
--
View this message in context: http://www.nabble.com/License-question-tp16981619p16981619.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi all,
Resonantly I check out the source from *
http://svn.xwiki.org/svnroot/xwiki/trunks* .Then I try to build the project
using "mvn install" but initially it failed. Then I found out that it is
because we connect to the Internet to proxy.To fix this problem you need to
add the following to the ~/.m2/settings.xml
inside the settings tag
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>cache.mrt.ac.lk</host>
<port>3128</port>
<username></username
<password></password>
</proxy>
</proxies>
do we need to add this to the "Building XWiki from sources" article?
regards
Malaka Ekanayake
CSE UOM
This page describes how to create indexes for a MySQL 4 or 5 database
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Database+Administration…
and I can create indexes on Oracle 10 with the exception of:
create index xwl_value on xwikilargestrings (xwl_value(50));
create index xwd_parent on xwikidoc (xwd_parent(50));
create index xwd_class_xml on xwikidoc (xwd_class_xml(20));
which are clob and varchar columns.
xwd_class_xml CLOB(4000)
xwd_parent VARCHAR(1533)
xwl_value CLOB(4000)
Does anyone know how indexes should be created for these columns in Oracle?
Thanks for any help
Glenn Everitt
--
View this message in context: http://www.nabble.com/Oracle-Database-Index-tp16945142p16945142.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
I'm trying to use the includeServlet macro
I added this to web.xml
<servlet>
<servlet-name>hello</servlet-name>
<jsp-file>/hello.jsp</jsp-file>
</servlet>
I created hello.jsp in .../webapps/xwiki/WEB-INF directory with these
contents
<HTML>
<BODY>
Hello! The time is now <%= new java.util.Date() %>
</BODY>
</HTML>
tried to enter this into wiki page
#includeServlet("/hello.jsp") - and receive message:
2008-04-29 22:00:19,625 [http://localhost:8080/xwiki/bin/view/Sandbox/]
[P1-19] WARN xwiki.XWiki - Exception including url:
/hello.jsp
java.lang.NullPointerException
at
com.xpn.xwiki.web.includeservletasstring.BufferedResponse.getBufferAsByteArray(BufferedResponse.java:80)
at
com.xpn.xwiki.web.includeservletasstring.IncludeServletAsString.invokeServletAndReturnAsString(IncludeServletAsString.java:69)
so I tried this
#includeServlet("hello.jsp") - enter this and the includeServlet code
seems to recursively call itself forever until you get a stack overflow
Thanks for any help
--
View this message in context: http://www.nabble.com/includeServlet-help.-tp16974118p16974118.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hello,
I have a question:
now it seems Request/Response/SessionContext are stored in a ThreadLocal in
ServletContainer...
But apparently, in the new Action model, the container is still passed to
all functions...
Wasn't the ThreadLocal meant mostly to prevent this?
(I may be wrong and the code might be temporary also...)
best regards
Pascal
Hello All,
With Vincent's help I have migrated from the standalone wiki to the xwiki on
a remote server.
But, I am not able to import
· Main.LuceneSearch
· Panels.SyntaxHelp
· Photos.NewAlbum
pages, alongwith some other pages that I created and also my ow user
profile.
I also tried to import the above mentioned 3 pages from "
xwiki-enterprise-wiki-1.3~.xar <javascript:void()>" but it still gives
error: (for all 3 of these)
12:04:17,007 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]
[http-80-Processor20] ERROR packaging.Package - Failed to save
document Photos.NewAlbum
12:04:17,304 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]
[http-80-Processor20] ERROR .AbstractFlushingEventListener - Could not
synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row
count from update [0]; actual row count: 0; expected: 1
Also, another weird thing that is happening is that all my groups show the
number of members - 1 more than the actual number of members in the group. I
know that each group has the blank XWiki.XwikiGroups object and one each for
a particular member. But, this was not a problem for me in my standalone
version (1.4-SNAPSHOT). In the new setup (which is 1.3.2.9174), it seems
like it is counting that blank object also as a member! Do I need to change
something for it to show the correct number of members in every group?
Thanks
I've changed this locally to doc.language is not null and it works fine,
however, I hesitate to treat this as a solution..
There were also three instances of
nameFilter = "name not like '%.%' and name <> ''";
in XWikiStatsServiceImpl.java.
Cheers,
Jeff
The XWiki development team is pleased to announce the release of XWiki
Workspaces 1.0.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
XWiki Workspaces is a new product of XWiki, that focus on providing easy
collaboration for teams around simple wiki, blog, photo galleries and
files module, all brought together in its "Workspaces".
This is the final 1.0 version of Workspaces, it brings a few bug fixes
since last RC2 :
* XWS-72 - Panel not completely hidden when closing "Get started message"
panels
* XWS-80 - Issues with french translations
* XWS-81 - Wrong category link in a blog entry footer
* XWS-84 - Missing right-panel links to delete files and photos
* XWS-85 - Remove right-panel links that are not contextual to the current
page
* XWS-86 - The file versions table is very poorly skinned
* XWS-87 - Upon creation, document names are not cleared properly
You can read the full release notes here :
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10
To get started with XWiki Workspaces, point your browser at
http://workspaces.xwiki.org
Finally, you can take a sneak peek on workspaces Roadmap for the next 1.1
version over here :
http://workspaces.xwiki.org/xwiki/bin/view/Main/Roadmap
Thanks
-The XWiki dev team