Hi all,
maybe I'm missing something, but I have problems to assigning rights to
a newly created space. When I change to the "Space Rights" tab in the
admin panel I have no possibility to enter anything (no drop downs
etc.). If I edit the "system" space XWiki I can see them.
How am I supposed to enter these rights?
I am using Firefox 1.5 on Ubuntu 7.04 to edit the pages. XWiki runs on
the same machine with a PostgreSQL 8.2 database.
Thanks in advance.
Cheers,
Aleks
thnx for ur help..but actually
$xwiki.rightsmanager.getAllGroupsNamesForMember($context.user)
is returning a hyperlink...and it is becoming difficult for me to fetch
the actual group since xwiki is adding every user in XWikiAllGroup by
default
so how to fetch yhe actual grp of user?
Shruti Modi
Tata Consultancy Services
Cell:- 9870245740
Mailto: shruti.modi(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
----- Forwarded by Shruti Modi/MUM/TCS on 03/31/2008 07:43 PM -----
Sergiu Dumitriu <sergiu(a)xwiki.com>
Sent by: users-bounces(a)xwiki.org
03/31/2008 06:02 PM
Please respond to
XWiki Users <users(a)xwiki.org>
To
XWiki Users <users(a)xwiki.org>
cc
Subject
Re: [xwiki-users] fetching group of user
Shruti Modi wrote:
> hi
>
> i m trying to fetch the group of the logged in user...can anyone plz
help
> me wid it...
Since XWiki 1.2:
$xwiki.rightsmanager.getAllGroupsNamesForMember($context.user)
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
ForwardSourceID:NT00004106
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
I installed the BB application using the Admin account. I then created a new
BB and a new category under that BB. Everything looks fine, I can post a new
message, I can see everything.
However, if I then log using a user account with normal privileges (not
admin), when I click on the BB using the panel, I get to the screen where
i'm supposed to see the categories and get this message:
"There is currently $bbcategories.size() categorie(s) in this bulletin
board."
Basically, the BB application works fine with all admin accounts but doesn't
work with normal accounts. In the XWiki debug window on the server, I get
errors about $request.confirmdelete and $request.deletebb being null.
--
View this message in context: http://www.nabble.com/Bulletin-Board-Application-problem-tp16276550p1627655…
Sent from the XWiki- Users mailing list archive at Nabble.com.
We are using XE 1.3 from the war and have been building our XWiki
successfully until today. We are hooked up to Oracle 10g and have been able
to create content, add users, and get notices from watch jobs, so it seemed
to be working fine.
Today we started getting errors on adding content. First on trying to
upload the mindmap.xar and then on creating a blog entry and finally on
creating a new comment.
All threw different Exceptions, but all had one root cause.
ORA-01483: invalid length for DATE or NUMBER bind variable
Here is one stack trace...
Error number 3201 in 3: Exception while saving document SaaS Engine
Road Map.ODGB
Wrapped Exception: Error number 13012 in 3: Exception while saving links
Wrapped Exception: could not update:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{version2=2,
docId=1666653092, version1=5}]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document SaaS Engine Road Map.ODGB
Wrapped Exception: Error number 13012 in 3: Exception while saving links
Wrapped Exception: could not update:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{version2=2,
docId=1666653092, version1=5}]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:457)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1078)
at
com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:188)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 13012 in 3: Exception while
saving links
Wrapped Exception: could not update:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{version2=2,
docId=1666653092, version1=5}]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1657)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:443)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1078)
at
com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:188)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.sql.SQLException: ORA-01483: invalid length for DATE or NUMBER bind
variable
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:219)
at
oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:970)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3370)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3454)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at
org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:23)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2403)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:1021)
at
org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:165)
at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:121)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
at
org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
at
org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
at org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore.java:1648)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:443)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1078)
at
com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:188)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://www.nabble.com/ORA-01483%3A-invalid-length-for-DATE-or-NUMBER-bind-v…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again!
I think (atleast I have asked for it) I got these privileges in Oracle
10g:
CREATE/DROP/ALTER/UPDATE TABLE/VIEW/TRIGGER/SYNONYM/SEQUENCE
EXECUTE
SELECT
CONNECT
and I got the wiki up and running. I have not used it very much yet.
One thing that doesn't work is logging off :D
Of some strange reason, I get the exact same page (pixel-by-pixel,
including the link "log-out") when I press log-out. I don't know what
this means, is it a cookie-problem?
Anyhow, it is not that serious now...
Thanks again!
Anders Andersson
>>> Anders Andersson 2008-03-31 09:29 >>>
Thanks both of you for the reply.
I have decided to atleast give it a try with CREATE/ALTER/DROP/UPDATE
TABLE/VIEW/SEQUENCE/SYNONYM/TRIGGER on its own schema and tablespace and
SELECT/CONNECT ofcourse.
I will inform you later if it works or not, but just want to tell I am
greatful for you replys.
Anders Andersson
>>> ludovic(a)xwiki.org 2008-03-29 23:19:25 >>>
In single wiki mode (XWiki Enterprise) it will need read, write to the
minimum if you pre create the schema from an existing one. If not you
you will need schema read and write. I don't know which oracle
privileges that is.
Run it once with all privileges to get the database created in one
oracle instance. Import that DB in your corporate database. Deactivate
updateschema in xwiki.cfg.
Then give the oracle privileges one by one.
In multiwiki (XEM) the xwiki user needs to be a DBA to be able to
create
new users.
Ludovic
>>> gabrielw(a)ngasi.com 2008-03-28 18:15 >>>
That is a known issue with xWiki and Oracle. As I understand it is
being
addressed for an upcoming release.
So at this point you must use an Oracle user named xwiki. If possible
you may use another Db such as
mysql,postgresql, or an embedded hsqldb.
--
Regards
Gabe Wong
NGASI AppServer Manager
JAVA AUTOMATION and SaaS Enablement
http://www.ngasi.com
NEW! 8.0 - Centrally manage multiple physical servers
Anders Andersson wrote:
> Hello!
>
> I have a question regarding the installation of XWiki. In the
> installation instructions it says I must type these commands:
>
> connect ...
> create user xwiki identified by xwiki;
> grant all privileges to xwiki;
>
> However this wiki will be installed on a corporate network on their
> database and application servers and therefor not possible to grant
all
> privileges to xwiki. I wonder if it is possible to run the wiki with
> more restrictions on the user xwiki? Which privileges is enough for
> xwiki to operate on the database correctly?
>
> Thanks for your time and patients. I will be happy to hear from you
> again
>
> Anders Andersson
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello fellow XWikiers,
Big big news are out for XWiki tonight : it looks like the French state has
started looking at us with specific goals in mind...
Check out http://www.xwiki.com/xwiki/bin/view/Blog/BigBigNews to see what I
mean...
I'll keep you all informed of what's happening as soon as I can get further
updates... Stay tuned !!
Guillaume
Hello XWiki users and developers.
My name is Eduard Moraru and I'm going to apply this year for Google Summer of Code at XWiki on the project XWiki Offline.
I am planning on embedding this project in the already existing XEclipse on which I've understood there is already some work done.
My problem is that I tried out XEclipse (xwiki-eclipse-rcp-linux-gtk-x86-1.1.zip and xwiki-eclipse-1.1.zip) on a local installation of XWiki (xwiki-enterprise-installer-generic-1.3.jar) using both user Admin and a new test user and did not manage to connect to the wiki.
I then tried to connect to xwiki.org using a newly registered account and it worked perfectly.
On the local installation, XEclipse pops an exception which I can't get past:
org.xwiki.eclipse.model.XWikiConnectionException:org.xwiki.eclipse.model.impl.XWikiDAOException:org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
at org.xwiki.eclipse.model.impl.XWikiPlainConnection.connect(Unknown Source)
at org.xwiki.eclipse.wizards.NewConnectionWizard$1.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.xwiki.eclipse.model.impl.XWikiDAOException:org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
at org.xwiki.eclipse.model.impl.XWikiRemoteDAO.<init>(Unknown Source)
... 3 more
Caused by: org.codehaus.swizzle.confluence.SwizzleConversionException:java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54EEST 2007"
at org.codehaus.swizzle.confluence.ConfluenceObjectConvertor.revert(ConfluenceObjectConvertor.java:56)
at org.codehaus.swizzle.confluence.MapConvertor.revert(MapConvertor.java:39)
at org.codehaus.swizzle.confluence.Confluence.revert(Confluence.java:791)
at org.codehaus.swizzle.confluence.Confluence.getPage(Confluence.java:127)
... 4 more
Caused by: java.text.ParseException: Unparseable date: "mer. juil. 11 18:57:54 EEST 2007"
at java.text.DateFormat.parse(DateFormat.java:355)
at org.codehaus.swizzle.confluence.ConfluenceObjectConvertor.revert(ConfluenceObjectConvertor.java:53)
... 7 more
I also posted a bug on JIRA at http://jira.xwiki.org/jira/browse/XECLIPSE-100 regarding this issue but I figured on the mailing list I'd get faster feedback.
My question is: Am I doing something wrong with my local installation? Are there some other privileges to give that I left out?
At a first look, I`d say It`s a hardcoded date "mer. juil. 11 18:57:54 EEST 2007"(it's always the same), left there during development, but I`m not sure if it`s on the XEclipse side or the XWiki side.
Thank you very much for your time and I await your suggestions.
____________________________________________________________________________________
No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends.
http://tc.deals.yahoo.com/tc/blockbuster/text1.com
Hi,
I am afraid this is mainly addressed to Guillaume :-(
I've downloaded the application, imported it, configured a SMTP server
and saved the panel as admin. Admin itself can send pages without a
glitch -great feature!- but whoever user I try fails but Admin. Admin
was the only user just with first name. No last name.
I've tried by creating other dummy user without last name and it can
send pages without any problem.
Please, could you figure out how to pass $sender to the mailSenderPlugin
to allow blanks in the string? Am I missing any other point?
Here the head of the error logged. Please, let me know if I could be of
any help by doing some test here.
*****
2008-03-31 00:04:38,625
[http://xpescaderias.environmentalchange.net/xwiki/bin/view/Main/Novidades?s…]
[http-193.144.34.240-80-3] ERROR mailsender.MailSenderPlugin -
Detailed email informationFrom: Ricardo Rodr?guez
To: webmaster(a)environmentalchange.net
Cc: null
Bcc: null
Subject:Page : Novidades
Text: <h2 class="heading-1-1-1">Novidades <a
href="$xwiki.getURL("Main.BlogRss", "view", "xpage=rdf")" style=""><img
src="$xwiki.getSkinFile("icons/black-rss.png")" alt="rss icon"/></a></h2>
#set($nbstart = $request.nbstart)
#set($category = "")
#set($nbitems = "5")
#includeMacros("Blog.Macros")
HTML:
Author : Ricardo Rodr?guez | Date : Dec 24, 2007 00:18 | Email comment :
<h2 class="heading-1-1-1">Novidades <a
href="/xwiki/bin/view/Main/BlogRss?xpage=rdf" style=""><img
src="/xwiki/skins/albatross/icons/black%2Drss.png" alt="rss icon"/></a></h2>
<p/>
<div class="hfeed">
</div> <p/>
2008-03-31 00:04:38,626
[http://xpescaderias.environmentalchange.net/xwiki/bin/view/Main/Novidades?s…]
[http-193.144.34.240-80-3] ERROR mailsender.MailSenderPlugin -
sendHtmlMessage
javax.mail.internet.AddressException: Illegal whitespace in address in
string ``Ricardo Rodr?guez''
at
javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:926)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:819)
at javax.mail.internet.InternetAddress.parse(InternetAddress.java:555)
at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:91)
*****
Thanks!!
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hello again,
seems my previous ldap problem is corrected (a mix of using "old" LDAP
auth class + duplicate deploy under different names in test env).
However, now that ldap connects properly to server, i have the following
problem:
2008-03-31 14:00:17,931
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor4] ERROR LDAP.XWikiLDAPAuthServiceImpl - LDAP
authentication failed.
LDAPException: Invalid Credentials (49) Invalid Credentials
LDAPException: Matched DN:
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPConnection.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
at com.novell.ldap.LDAPConnection.bind(Unknown Source)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:243)
Am not sure to understand fully, but it seems that LDAP auth class is
prefereing some property in XWiki.<username> to the xwiki.cfg. The
property in question is "ldap_dn". I don't know exactly what it's
supposed to contain (can someone gime an example?). I saw it's presence
in "xwiki.authentication.ldap.fields_mapping", which tells how to map
ldap attributes to xwiki attributes. However, i have no idea which ldap
attribute am supposed to map there. The default value was for active
directory, we don't use active directory. My problem is that, currently,
it's set to an empty string in xwiki database, and the ldap class don't
like it very much.