Re: [xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
hi, Hello, Whenever I do any update activity (e.g. creating a space, editing any page etc), there is an exception thrown on screen and the update operation is successful and I could see that if I reload the page. There was no such problem in XWS 1.0m1 and I can't tell if it's a problem with my environment I use: Sun JDK 1.6.0_04 (64-bit), JBoss 4.2.2, PostgreSQL 8.3. I tried to change from local to XA data source and there is no difference. The full stacktrace is attached at the bottom. Looks like ActivityEventImpl is missing? I've loaded everything from the XWS 1.0m2 xar. Any idea? If I understand correctly, you tried to upgrade a XWS 1.0m1 to 1.0m2, is that right ? If it is, installing the XAR is not enough. You can refer to the upgrading section of the releases notes (http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10M2). In your case the hibernate mapping for activity events (introduced in the milestone 2) is missing in your hibernate conf. You can read http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin to properly install the plugin. Regards, Jerome Regards, mingfai *hibernate configuration:* property name=connection.datasourcejava:jdbc/hkjug-xwiki/property property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ *stacktrace* 15:42:09,897 INFO [STDOUT] 2008-04-08 15:42:09,892 [ http://MY_HOST/bin/save/hkjug/WebHome] [ajp-MY_HOST-8009-3] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:223) 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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: org.hibernate.MappingException: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:98) at
Re: [xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
not really. I run a brand new 1.0m2. My database is re-created. the whole application is new and I manually move configuration to the new war. Only JBoss configurations such as data source configuration are preserved. if no one has idea, I may try to use the default hsql database to isolate the problem. regards, mingfai On Tue, Apr 8, 2008 at 3:50 PM, Jerome Velociter [EMAIL PROTECTED] wrote: hi, Hello, Whenever I do any update activity (e.g. creating a space, editing any page etc), there is an exception thrown on screen and the update operation is successful and I could see that if I reload the page. There was no such problem in XWS 1.0m1 and I can't tell if it's a problem with my environment I use: Sun JDK 1.6.0_04 (64-bit), JBoss 4.2.2, PostgreSQL 8.3. I tried to change from local to XA data source and there is no difference. The full stacktrace is attached at the bottom. Looks like ActivityEventImpl is missing? I've loaded everything from the XWS 1.0m2 xar. Any idea? If I understand correctly, you tried to upgrade a XWS 1.0m1 to 1.0m2, is that right ? If it is, installing the XAR is not enough. You can refer to the upgrading section of the releases notes (http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10M2). In your case the hibernate mapping for activity events (introduced in the milestone 2) is missing in your hibernate conf. You can read http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin to properly install the plugin. Regards, Jerome Regards, mingfai *hibernate configuration:* property name=connection.datasourcejava:jdbc/hkjug-xwiki/property property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ *stacktrace* 15:42:09,897 INFO [STDOUT] 2008-04-08 15:42:09,892 [ http://MY_HOST/bin/save/hkjug/WebHome] [ajp-MY_HOST-8009-3] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:223) 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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at
[xwiki-users] Re quest for help LDAP workaround
I’m trying to find a way to manage the LDAP authentication issue with group. My LDAP configuration has a group like this OU=developers,DC=company,DC=local where under that there is the CN with the list of users but the login name is not CN it is sAMAccountName so I don’t understand how to configure the proprieties in XWIKI.cfg with the LDAP tree is like this DC=company,DC=local | OU=developers | CN=user1 | sAMAccountName=usernameuser1 CN=user2 | sAMAccountName=usernameuser2 Does anyone know how to configure wiki.authentication.ldap.user_group? The others parameters are #-# base DN for searches xwiki.authentication.ldap.base_DN=DC= company,DC=local #-# specifies the LDAP attribute containing the identifier to be used as the XWiki name (default=cn) xwiki.authentication.ldap.UID_attr=sAMAccountName TIA MDT -- View this message in context: http://www.nabble.com/Request-for-help-LDAP-workaround-tp16548787p16548787.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
Try adding the following line under your database configuration : mapping resource=activitystream.hbm.xml/ Jerome. not really. I run a brand new 1.0m2. My database is re-created. the whole application is new and I manually move configuration to the new war. Only JBoss configurations such as data source configuration are preserved. if no one has idea, I may try to use the default hsql database to isolate the problem. regards, mingfai On Tue, Apr 8, 2008 at 3:50 PM, Jerome Velociter [EMAIL PROTECTED] wrote: hi, Hello, Whenever I do any update activity (e.g. creating a space, editing any page etc), there is an exception thrown on screen and the update operation is successful and I could see that if I reload the page. There was no such problem in XWS 1.0m1 and I can't tell if it's a problem with my environment I use: Sun JDK 1.6.0_04 (64-bit), JBoss 4.2.2, PostgreSQL 8.3. I tried to change from local to XA data source and there is no difference. The full stacktrace is attached at the bottom. Looks like ActivityEventImpl is missing? I've loaded everything from the XWS 1.0m2 xar. Any idea? If I understand correctly, you tried to upgrade a XWS 1.0m1 to 1.0m2, is that right ? If it is, installing the XAR is not enough. You can refer to the upgrading section of the releases notes (http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10M2). In your case the hibernate mapping for activity events (introduced in the milestone 2) is missing in your hibernate conf. You can read http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin to properly install the plugin. Regards, Jerome Regards, mingfai *hibernate configuration:* property name=connection.datasourcejava:jdbc/hkjug-xwiki/property property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ *stacktrace* 15:42:09,897 INFO [STDOUT] 2008-04-08 15:42:09,892 [ http://MY_HOST/bin/save/hkjug/WebHome] [ajp-MY_HOST-8009-3] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:223) 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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437) at
Re: [xwiki-users] Extensibility of Workspaces
Harjeet Wrote Hello, Can the applications for Xwiki Enterprise be added to the Xwiki Workspaces. On the XWiki Workspaces main page it mentions that - Of course, under the hood Workspaces is based on Enterprise, and with some work you can get the same extensibility, but this is not the goal of this product. Should I even try extending the XWiki Workspaces the way it is possible with Xwiki Enterprise, since I am fairly new to XWiki. There is this concept of User spaces which is very appealing in the Workspaces which I really require. What are the limitations which I would be working against, so that I do not try to solve a problem which cannot be solved or atleast with decent effort. If you are new to XWiki, my best advice would be that you first get experienced with its platform and development practices in XWiki Enterprise before trying to extend XWiki Workspaces. Then, if you really are willing to develop/integrate new application inside Workspaces, the best way to start is to look how its current application are built. For example, for the Wiki application, you can look at the code under the XWSWiki/ space and the application descriptor in XWSApps/WikiApp. Hope this helps, Regards, Jerome. Thanks Jerome, I have already started on that. What I would like to know is it is possible. In making the Workspace easier and more straighforward to use, has some functionalities ( jars, templates, rights etc) been taken out from the XWiki Enterprise. Do I still have all the functionalities of Enterprise under the hood? The answer is yes. XWS is built on top of XE, which itself is build on topof the XWiki platform, so it naturally embed all those. The only thing that you may not find exactly as in XE are some velocity templates files overridden in the templates/ directory of the webapp (also there are not many). Hope this helps, Jerome. Regards, Harjeet. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] problem showing when login
Just a doubt: why XE 1.2.1 and not 1.3.1? Some login issues have been reported, but I think all, or at least most, of them have been solved in the last stable release. Cheers, Ricardo [EMAIL PROTECTED] wrote: hi, We have installed XE 1.2.1, and we are trying to develop an intranet in our XWiki. Now a problem is occuring when login and the message showing is: A problem occured while trying to service your request. Please contact the support if this happens again. What will be the reason for it? regards, project trainees. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] problem showing when login
Hi, Any error logs on the appserver side ? JV. On Tue, Apr 8, 2008 at 11:11 AM, [EMAIL PROTECTED] wrote: hi, We have installed XE 1.2.1, and we are trying to develop an intranet in our XWiki. Now a problem is occuring when login and the message showing is: A problem occured while trying to service your request. Please contact the support if this happens again. What will be the reason for it? regards, project trainees. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Hi, Yes, the error showing is 127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET /xwiki/xwiki/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259 16 127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET /xwiki/xwiki/skin/skins/albatross/icons/black-view-ab2.png HTTP/1.1 200 498 47 127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/xwiki/logout/XWiki/XWikiLogout?xredirect=http%3A%2F%2Flocalhost%3A8181%2Fxwiki%2Fxwiki%2Fview%2FTodo%2F HTTP/1.1 302 0 15 127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/xwiki/view/Todo/ HTTP/1.1 302 0 438 127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191 469 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/elements.css HTTP/1.1 200 3121 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851 16 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/classes.css HTTP/1.1 200 465 63 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/rss.css HTTP/1.1 200 330 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/wiki.css HTTP/1.1 200 6902 63 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/page.css HTTP/1.1 200 22 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/screenlayout.css HTTP/1.1 200 17167 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/microformats.css HTTP/1.1 200 777 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/presentation.css HTTP/1.1 200 6712 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/fullscreenEdit.css HTTP/1.1 200 3353 16 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/colorsblack.css HTTP/1.1 200 14945 47 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/usersandgroups.css HTTP/1.1 200 2631 16 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/fullscreenEdit.js HTTP/1.1 200 7735 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/usersandgroups.js HTTP/1.1 200 25129 31 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/skins/albatross/logo.png HTTP/1.1 302 0 438 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/bin/skin/skins/albatross/header-bg.jpg HTTP/1.1 404 6499 734 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/bin/skin/skins/albatross/headerperso-bg.jpg HTTP/1.1 404 6504 656 127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET /xwiki/bin/skin/skins/albatross/actionbar-bg.png HTTP/1.1 200 246 78 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191 469 127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET /xwiki/bin/skin/skins/albatross/black-textareabg.png HTTP/1.1 200 2651 94 127.0.0.1 - - [08/Apr/2008:09:56:10 +] GET /xwiki/bin/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259 0 127.0.0.1 - - [08/Apr/2008:09:56:14 +] GET /xwiki/bin/skin/skins/albatross/black-textareabg1.png HTTP/1.1 200 2651 0 127.0.0.1 - - [08/Apr/2008:09:56:28 +] POST /xwiki/bin/loginsubmit/XWiki/XWikiLogin HTTP/1.1 302 0 344 127.0.0.1 - - [08/Apr/2008:09:56:28 +] GET /xwiki/xwiki/bin/view/Main/DocumentDoesNotExist HTTP/1.1 200 14081 1406 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/style.css HTTP/1.1 200 2971 0 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/classes.css HTTP/1.1 200 465 62 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851 16 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/wiki.css HTTP/1.1 200 6902 15 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/elements.css HTTP/1.1 200 3121 93 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/rss.css HTTP/1.1 200 330 0 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/screenlayout.css
Re: [xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
It works like a charm! No more exception. Thank you very much! :-) Looks like the default hibernate.cfg.xml should be updated. In fact it is already in XWS default hibernate.cfg.xml now (since M2). You may have erased it instead of merging when you moved your configuration from M1. Regards, Jerome Regards, mingfai On Tue, Apr 8, 2008 at 4:52 PM, Jerome Velociter [EMAIL PROTECTED] wrote: Try adding the following line under your database configuration : mapping resource=activitystream.hbm.xml/ Jerome. not really. I run a brand new 1.0m2. My database is re-created. the whole application is new and I manually move configuration to the new war. Only JBoss configurations such as data source configuration are preserved. if no one has idea, I may try to use the default hsql database to isolate the problem. regards, mingfai On Tue, Apr 8, 2008 at 3:50 PM, Jerome Velociter [EMAIL PROTECTED] wrote: hi, Hello, Whenever I do any update activity (e.g. creating a space, editing any page etc), there is an exception thrown on screen and the update operation is successful and I could see that if I reload the page. There was no such problem in XWS 1.0m1 and I can't tell if it's a problem with my environment I use: Sun JDK 1.6.0_04 (64-bit), JBoss 4.2.2, PostgreSQL 8.3. I tried to change from local to XA data source and there is no difference. The full stacktrace is attached at the bottom. Looks like ActivityEventImpl is missing? I've loaded everything from the XWS 1.0m2 xar. Any idea? If I understand correctly, you tried to upgrade a XWS 1.0m1 to 1.0m2, is that right ? If it is, installing the XAR is not enough. You can refer to the upgrading section of the releases notes (http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10M2). In your case the hibernate mapping for activity events (introduced in the milestone 2) is missing in your hibernate conf. You can read http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin to properly install the plugin. Regards, Jerome Regards, mingfai *hibernate configuration:* property name=connection.datasourcejava:jdbc/hkjug-xwiki/property property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ *stacktrace* 15:42:09,897 INFO [STDOUT] 2008-04-08 15:42:09,892 [ http://MY_HOST/bin/save/hkjug/WebHome] [ajp-MY_HOST-8009-3] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:223) 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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
Re: [xwiki-users] problem showing when login
Hi, Any error logs on the appserver side ? JV. On Tue, Apr 8, 2008 at 11:11 AM, [EMAIL PROTECTED] wrote: hi, We have installed XE 1.2.1, and we are trying to develop an intranet in our XWiki. Now a problem is occuring when login and the message showing is: A problem occured while trying to service your request. Please contact the support if this happens again. What will be the reason for it? regards, project trainees. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Hi, Yes,The error showing is 127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET /xwiki/xwiki/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259 16 127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET /xwiki/xwiki/skin/skins/albatross/icons/black-view-ab2.png HTTP/1.1 200 498 47 127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/xwiki/logout/XWiki/XWikiLogout?xredirect=http%3A%2F%2Flocalhost%3A8181%2Fxwiki%2Fxwiki%2Fview%2FTodo%2F HTTP/1.1 302 0 15 127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/xwiki/view/Todo/ HTTP/1.1 302 0 438 127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191 469 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/elements.css HTTP/1.1 200 3121 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851 16 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/classes.css HTTP/1.1 200 465 63 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/rss.css HTTP/1.1 200 330 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/wiki.css HTTP/1.1 200 6902 63 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/page.css HTTP/1.1 200 22 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/screenlayout.css HTTP/1.1 200 17167 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/microformats.css HTTP/1.1 200 777 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/presentation.css HTTP/1.1 200 6712 31 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/fullscreenEdit.css HTTP/1.1 200 3353 16 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/colorsblack.css HTTP/1.1 200 14945 47 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/usersandgroups.css HTTP/1.1 200 2631 16 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/fullscreenEdit.js HTTP/1.1 200 7735 0 127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET /xwiki/bin/skin/skins/albatross/usersandgroups.js HTTP/1.1 200 25129 31 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/skins/albatross/logo.png HTTP/1.1 302 0 438 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/bin/skin/skins/albatross/header-bg.jpg HTTP/1.1 404 6499 734 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/bin/skin/skins/albatross/headerperso-bg.jpg HTTP/1.1 404 6504 656 127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET /xwiki/bin/skin/skins/albatross/actionbar-bg.png HTTP/1.1 200 246 78 127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET /xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191 469 127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET /xwiki/bin/skin/skins/albatross/black-textareabg.png HTTP/1.1 200 2651 94 127.0.0.1 - - [08/Apr/2008:09:56:10 +] GET /xwiki/bin/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259 0 127.0.0.1 - - [08/Apr/2008:09:56:14 +] GET /xwiki/bin/skin/skins/albatross/black-textareabg1.png HTTP/1.1 200 2651 0 127.0.0.1 - - [08/Apr/2008:09:56:28 +] POST /xwiki/bin/loginsubmit/XWiki/XWikiLogin HTTP/1.1 302 0 344 127.0.0.1 - - [08/Apr/2008:09:56:28 +] GET /xwiki/xwiki/bin/view/Main/DocumentDoesNotExist HTTP/1.1 200 14081 1406 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/style.css HTTP/1.1 200 2971 0 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/classes.css HTTP/1.1 200 465 62 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851 16 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/wiki.css HTTP/1.1 200 6902 15 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/elements.css HTTP/1.1 200 3121 93 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/rss.css HTTP/1.1 200 330 0 127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET /xwiki/xwiki/skin/skins/albatross/screenlayout.css
Re: [xwiki-users] problem showing when login
Hi, Any error logs on the appserver side ? JV. On Tue, Apr 8, 2008 at 11:11 AM, [EMAIL PROTECTED] wrote: hi, We have installed XE 1.2.1, and we are trying to develop an intranet in our XWiki. Now a problem is occuring when login and the message showing is: A problem occured while trying to service your request. Please contact the support if this happens again. What will be the reason for it? regards, project trainees. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Jean-Vincent Drean ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl
It works like a charm! No more exception. Thank you very much! :-) Looks like the default hibernate.cfg.xml should be updated. Regards, mingfai On Tue, Apr 8, 2008 at 4:52 PM, Jerome Velociter [EMAIL PROTECTED] wrote: Try adding the following line under your database configuration : mapping resource=activitystream.hbm.xml/ Jerome. not really. I run a brand new 1.0m2. My database is re-created. the whole application is new and I manually move configuration to the new war. Only JBoss configurations such as data source configuration are preserved. if no one has idea, I may try to use the default hsql database to isolate the problem. regards, mingfai On Tue, Apr 8, 2008 at 3:50 PM, Jerome Velociter [EMAIL PROTECTED] wrote: hi, Hello, Whenever I do any update activity (e.g. creating a space, editing any page etc), there is an exception thrown on screen and the update operation is successful and I could see that if I reload the page. There was no such problem in XWS 1.0m1 and I can't tell if it's a problem with my environment I use: Sun JDK 1.6.0_04 (64-bit), JBoss 4.2.2, PostgreSQL 8.3. I tried to change from local to XA data source and there is no difference. The full stacktrace is attached at the bottom. Looks like ActivityEventImpl is missing? I've loaded everything from the XWS 1.0m2 xar. Any idea? If I understand correctly, you tried to upgrade a XWS 1.0m1 to 1.0m2, is that right ? If it is, installing the XAR is not enough. You can refer to the upgrading section of the releases notes (http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesWorkspaces10M2). In your case the hibernate mapping for activity events (introduced in the milestone 2) is missing in your hibernate conf. You can read http://code.xwiki.org/xwiki/bin/view/Plugins/ActivityStreamPlugin to properly install the plugin. Regards, Jerome Regards, mingfai *hibernate configuration:* property name=connection.datasourcejava:jdbc/hkjug-xwiki/property property name=dialectorg.hibernate.dialect.PostgreSQLDialect/property mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ *stacktrace* 15:42:09,897 INFO [STDOUT] 2008-04-08 15:42:09,892 [ http://MY_HOST/bin/save/hkjug/WebHome] [ajp-MY_HOST-8009-3] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:223) 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:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at
Re: [xwiki-users] Edit PagedViewLinks Macro
Hi, just search in templates/macros.vm Ngo Thi Hong Nga wrote: Hi, I want to modify PagedViewLinks Macro but I don't know where it is. Any help would be appreciated. -- Ngô Thị Hồng Nga ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Edit-PagedViewLinks-Macro-tp16491592p16557452.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Random logoff when using LDAP authenticator
Hi Thomas, I do not get randomly logged off when I login in using xwiki's account like Admin/admin, it only happens when I logon using an LDAP (Active Directory) account. I'm not saying that it's the LDAP authenticator's problem, but it surely smell a lot like it. Thank you for your attention, Ben On Mon, Apr 7, 2008 at 4:46 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: Hi, This looks like OSCache problem. As I can see in the code you can have this error when OSCache failed to create a new cache and then all that try to acces this cache fail, here the XWiki group service. I'm not an OSCache expert so I have no idea of what could cause this. Maybe someone has an idea... On Fri, Apr 4, 2008 at 4:08 PM, Benjamin Leung [EMAIL PROTECTED] wrote: Hi, I'm getting randomly logged off when using the LDAP authenticator in v1.3.1. I'm wondering if anyone else is experiencing this. At the end are the thread dumps I captured in two individual cases and a snippet of my LDAP configuration. Thanks, Benjamin xwiki.authentication.ldap.UID_attr=sAMAccountName xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn xwiki.authentication.ldap.update_user=0 xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=Wiki Admins (omitted the rest) xwiki.authentication.ldap.mode_group_sync=always -Thread Dump #1--- 09:43:53,819 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-22] ERROR base.Cache - internal error: expected to get a state from key [xwiki:XWiki.bleung] 09:43:56,334 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-14] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. java.lang.IllegalStateException: Cannot cancel cache update - current state (1) is not UPDATE_IN_PROGRESS at com.opensymphony.oscache.base.EntryUpdateState.cancelUpdate(EntryUpdateState.java:91) at com.opensymphony.oscache.base.Cache.cancelUpdate(Cache.java:416) at com.opensymphony.oscache.general.GeneralCacheAdministrator.cancelUpdate(GeneralCacheAdministrator.java:184) at com.xpn.xwiki.cache.impl.OSCacheCache.cancelUpdate(OSCacheCache.java:126) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.listGroupsForUser(XWikiGroupServiceImpl.java:163) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.getAllGroupsNamesForMember(XWikiGroupServiceImpl.java:683) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:484) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:450) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:310) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:194) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:214) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3297) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:166) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3305) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4249) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:173) 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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424) at
[xwiki-users] Lucene-Search on xwiki.org
Hi all, Please compare: http://www.xwiki.org/xwiki/bin/view/Main/LuceneSearch?text=Performancesspace=wikinames= http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances Is that a setting issue or a plugin issue? Cheers, Squirrel ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] please to recommend environment for XWiki
Hi, Can anybody recommend us the best (most supported, tested) environment for XWiki 1.3 ? Java ver. ? App server (Tomcat, JBoss) ? database server ? Thanks Frantisek -- View this message in context: http://www.nabble.com/please-to-recommend-environment-for-XWiki-tp16558431p16558431.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] please to recommend environment for XWiki
Hi Frantisek, Frantisek Kall wrote: Hi, Can anybody recommend us the best (most supported, tested) environment for XWiki 1.3 ? Java ver. ? App server (Tomcat, JBoss) ? database server ? In my case here I am quite happy with Java 1.6.0_01, Tomcat 6.0.10 and MySQL 5.0.24a via TCP/IP. Perhaps all this is a bit old stuff and this is only a really simple installation. But I was wondering if it could be worth to collect the three pieces of information you are asking for systematically when creating Jira Issues. There is a field Environment now where it must/could be described, but it is not a requirement of the system to field in this field to create an issue. I don't know if it is easy enough to make this change/addition and if it is worth the effort. Or course these are only a partial view of the whole system, but perhaps they could provide trends on using and problems. And it will make possible to answer your question! Just my 2c. Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Random logoff when using LDAP authenticator
Anyway if you could create a jira issue (jira.xwiki.org) with all details you can find, it would be great. On Tue, Apr 8, 2008 at 4:36 PM, Thomas Mortagne [EMAIL PROTECTED] wrote: On Tue, Apr 8, 2008 at 3:06 PM, Benjamin Leung [EMAIL PROTECTED] wrote: Hi Thomas, I do not get randomly logged off when I login in using xwiki's account like Admin/admin, it only happens when I logon using an LDAP (Active Directory) account. I'm not saying that it's the LDAP authenticator's problem, but it surely smell a lot like it. Yes the error you have append when LDAP synchronise user's groups membership which is something normal login never do :) We could maybe add some try/catch on theses calls but it would be good to find why OSCache generated theses errors in your environment. Thank you for your attention, Ben On Mon, Apr 7, 2008 at 4:46 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: Hi, This looks like OSCache problem. As I can see in the code you can have this error when OSCache failed to create a new cache and then all that try to acces this cache fail, here the XWiki group service. I'm not an OSCache expert so I have no idea of what could cause this. Maybe someone has an idea... On Fri, Apr 4, 2008 at 4:08 PM, Benjamin Leung [EMAIL PROTECTED] wrote: Hi, I'm getting randomly logged off when using the LDAP authenticator in v1.3.1. I'm wondering if anyone else is experiencing this. At the end are the thread dumps I captured in two individual cases and a snippet of my LDAP configuration. Thanks, Benjamin xwiki.authentication.ldap.UID_attr=sAMAccountName xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn xwiki.authentication.ldap.update_user=0 xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=Wiki Admins (omitted the rest) xwiki.authentication.ldap.mode_group_sync=always -Thread Dump #1--- 09:43:53,819 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-22] ERROR base.Cache - internal error: expected to get a state from key [xwiki:XWiki.bleung] 09:43:56,334 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-14] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. java.lang.IllegalStateException: Cannot cancel cache update - current state (1) is not UPDATE_IN_PROGRESS at com.opensymphony.oscache.base.EntryUpdateState.cancelUpdate(EntryUpdateState.java:91) at com.opensymphony.oscache.base.Cache.cancelUpdate(Cache.java:416) at com.opensymphony.oscache.general.GeneralCacheAdministrator.cancelUpdate(GeneralCacheAdministrator.java:184) at com.xpn.xwiki.cache.impl.OSCacheCache.cancelUpdate(OSCacheCache.java:126) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.listGroupsForUser(XWikiGroupServiceImpl.java:163) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.getAllGroupsNamesForMember(XWikiGroupServiceImpl.java:683) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:484) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:450) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:310) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:194) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:214) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3297) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:166) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3305) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4249) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:173) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at
Re: [xwiki-users] Random logoff when using LDAP authenticator
On Tue, Apr 8, 2008 at 3:06 PM, Benjamin Leung [EMAIL PROTECTED] wrote: Hi Thomas, I do not get randomly logged off when I login in using xwiki's account like Admin/admin, it only happens when I logon using an LDAP (Active Directory) account. I'm not saying that it's the LDAP authenticator's problem, but it surely smell a lot like it. Yes the error you have append when LDAP synchronise user's groups membership which is something normal login never do :) We could maybe add some try/catch on theses calls but it would be good to find why OSCache generated theses errors in your environment. Thank you for your attention, Ben On Mon, Apr 7, 2008 at 4:46 AM, Thomas Mortagne [EMAIL PROTECTED] wrote: Hi, This looks like OSCache problem. As I can see in the code you can have this error when OSCache failed to create a new cache and then all that try to acces this cache fail, here the XWiki group service. I'm not an OSCache expert so I have no idea of what could cause this. Maybe someone has an idea... On Fri, Apr 4, 2008 at 4:08 PM, Benjamin Leung [EMAIL PROTECTED] wrote: Hi, I'm getting randomly logged off when using the LDAP authenticator in v1.3.1. I'm wondering if anyone else is experiencing this. At the end are the thread dumps I captured in two individual cases and a snippet of my LDAP configuration. Thanks, Benjamin xwiki.authentication.ldap.UID_attr=sAMAccountName xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn xwiki.authentication.ldap.update_user=0 xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=Wiki Admins (omitted the rest) xwiki.authentication.ldap.mode_group_sync=always -Thread Dump #1--- 09:43:53,819 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-22] ERROR base.Cache - internal error: expected to get a state from key [xwiki:XWiki.bleung] 09:43:56,334 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-14] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. java.lang.IllegalStateException: Cannot cancel cache update - current state (1) is not UPDATE_IN_PROGRESS at com.opensymphony.oscache.base.EntryUpdateState.cancelUpdate(EntryUpdateState.java:91) at com.opensymphony.oscache.base.Cache.cancelUpdate(Cache.java:416) at com.opensymphony.oscache.general.GeneralCacheAdministrator.cancelUpdate(GeneralCacheAdministrator.java:184) at com.xpn.xwiki.cache.impl.OSCacheCache.cancelUpdate(OSCacheCache.java:126) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.listGroupsForUser(XWikiGroupServiceImpl.java:163) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.getAllGroupsNamesForMember(XWikiGroupServiceImpl.java:683) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:484) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:450) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:310) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:194) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:214) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3297) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:166) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3305) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4249) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:173) 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.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at
Re: [xwiki-users] How can I disable group authentication?
Hi, If you don't configure xwiki.authentication.ldap.user_group or leave it blank it should not been taken into account. LDAP properties can be setted also in XWiki.XWikiPreferences object maybe you have something here than overlap xwiki.cfg configuration. On Fri, Apr 4, 2008 at 11:47 AM, laserone [EMAIL PROTECTED] wrote: Hi, from version 1.3 I still have issue with wiki.authentication.ldap.user_group beacuse I don't use group in my LDAP configuration. Basically I use as UID the sAMAccountName but if I set the group I must check thru the cn otherwise I get an error. If I could disable the gruop the authentication could be work fine using sAMAccountName and xwiki.authentication.ldap.base_DN as in previous version. If I set xwiki.authentication.ldap.user_group= the user can login in but the login screen appears each time he clicks somewhere. TIA MDT -- View this message in context: http://www.nabble.com/How-can-I-disable-group-authentication--tp16489626p16489626.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Get sources of Xwiki ??
Hi everyone, I would like to retrieve the complete sources files of Xwiki, version 1.3.1. Unfortunately, I can't get it from the SVN repository... I can't find the files that I need. Where could I find all the sources files of the 1.3.1 version? Can anyone upload it anywhere or send it to me? Thanks ! Philippe -- View this message in context: http://www.nabble.com/Get-sources-of-Xwikitp16559146p16559146.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Get sources of Xwiki ??
You can get it here: http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/1.3.1/ Unfortunately, I can't get it from the SVN repository... I can't find the files that I need. Where could I find all the sources files of the 1.3.1 version? Can anyone upload it anywhere or send it to me? Thanks ! Philippe -- View this message in context: http://www.nabble.com/Get-sources-of-Xwikitp16559146p16559146.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ngô Thị Hồng Nga Mobile: 0935 176133 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with Bulletin Board Application
Hi Guillaume, we made fresh installation (no multilingual, default language en), we tried JBoss and Tomcat too, but result was same :( In all BBCode pages are shown names of variables instead of the values. For example: http://localhost:8080/xwiki/bin/view/BBCode/Admin Bulletin Boards Administration Welcome to your Bulletin Boards Administration Console. . (in my local installation) and bb_administration bb_welcomeadmin (in server installation, JBoss, Tomcat, too) there is some problem with $msg Any idea what would help? Guillaume Lerouge wrote: Hi Frantisek, Our wiki is set as multi lingual with sk, en languages. Default lang is sk. Is it possible that this is a problem? Absolutely, that's the cause of the issue. You need to create a sk translation of the en page. To do this, simply go to .../xwiki/bin/edit/BBCode/Translations?language=skeditor=wiki , then check whether the en translations show up in the page and if they do save it. If the page is empty when you create it, copy/paste the content from .../xwiki/bin/edit/BBCode/Translations?language=eneditor=wiki to it before saving. Guillaume ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Problem-with-Bulletin-Board-Application-tp16491542p16569061.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Get sources of Xwiki ??
Thanks a lot !br br Now I have to set it up...br br Philippebr br Ngo Thi Hong Nga wrote: You can get it here: http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/1.3.1/ Unfortunately, I can't get it from the SVN repository... I can't find the files that I need. Where could I find all the sources files of the 1.3.1 version? Can anyone upload it anywhere or send it to me? Thanks ! Philippe -- View this message in context: http://www.nabble.com/Get-sources-of-Xwikitp16559146p16559146.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ngô Thị Hồng Nga Mobile: 0935 176133 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Get-sources-of-Xwikitp16559146p16569986.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Get sources of Xwiki ??
That's perfect ! Thank you. I didn't find it on the internet (Google search). Philippe Ngo Thi Hong Nga wrote: You can get it here: http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/1.3.1/ Unfortunately, I can't get it from the SVN repository... I can't find the files that I need. Where could I find all the sources files of the 1.3.1 version? Can anyone upload it anywhere or send it to me? Thanks ! Philippe -- View this message in context: http://www.nabble.com/Get-sources-of-Xwikitp16559146p16559146.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ngô Thị Hồng Nga Mobile: 0935 176133 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Get-sources-of-Xwikitp16559146p16570039.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Get sources of Xwiki ??
You can get it here: http://maven.xwiki.org/releases/com/xpn/xwiki/platform/xwiki-core/1.3.1/ Or there : http://fisheye2.cenqua.com/browse/xwiki/xwiki-platform/core/tags/xwiki-core-1.3.1 http://fisheye2.cenqua.com/browse/xwiki/xwiki-platform/web/tags/xwiki-web-1.3.1 http://fisheye2.cenqua.com/browse/xwiki/xwiki-products/xwiki-enterprise/tags/xwiki-enterprise-1.3.1 Jerome. Unfortunately, I can't get it from the SVN repository... I can't find the files that I need. Where could I find all the sources files of the 1.3.1 version? Can anyone upload it anywhere or send it to me? Thanks ! Philippe -- View this message in context: http://www.nabble.com/Get-sources-of-Xwikitp16559146p16559146.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Ngô Thá» Há»ng Nga Mobile: 0935 176133 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with Bulletin Board Application
Hi! Frantisek Kall wrote: Hi Guillaume I installed same application in local (is working) and server wiki (doesn't work). I also checked language resource file BBCode.Translations - file is present. Our wiki is set as multi lingual with sk, en languages. Default lang is sk. Is it possible that this is a problem? Frantisek Please, allow me to jump into this thread. I am dealing also with BulletinBoard application and translations, so I am interested in this issue. Once think is not clear to me here: are both installations set as Multi Lingual, and both of them with Slovak and English as languages being Slovak the default one? Thanks! Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with Bulletin Board Application
Hi, I am not sure if this problem is dependend on language setings. On my local installation it works well with multilingual and no multilingual as well. In server installation BB application doesn't work in one lingual and multilingual setting. In multilingual setting translation page is set: You are editing the following translation: en. The original language of the document is . Other translations: sk Thanks Frantisek [Ricardo Rodríguez] wrote: Guillaume Lerouge wrote: Absolutely, that's the cause of the issue. You need to create a sk translation of the en page. To do this, simply go to .../xwiki/bin/edit/BBCode/Translations?language=skeditor=wiki , then check whether the en translations show up in the page and if they do save it. If the page is empty when you create it, copy/paste the content from .../xwiki/bin/edit/BBCode/Translations?language=eneditor=wiki to it before saving. Hi Guillaume, Perhaps this behavior is somehow platform specific. Look at this... http://tinyurl.com/5b89bk This page is installed in a virtual mode wiki. Gl is the default language. No translations, even no default language for BBCode.Translations (perhaps this is the clue, I've not tried to set a language there). And we have no problem: English is shown whatever language is set or forced for a given page. Frantisek, could you check if your BBCode.Translations has default language? Just my 2c.! Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Problem-with-Bulletin-Board-Application-tp16491542p16573780.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with Bulletin Board Application
Frantisek Kall wrote: Hi, I am not sure if this problem is dependend on language setings. On my local installation it works well with multilingual and no multilingual as well. In server installation BB application doesn't work in one lingual and multilingual setting. In multilingual setting translation page is set: You are editing the following translation: en. The original language of the document is . Other translations: sk Thanks Frantisek I've checked here and in all installations I've done here default language is not set for BBCode.Translations. I don't know why this happens here or, the other way round, I don't know why you have it set there... :-( Perhaps the following are too basic questions, but as the problem seems to be hard to find, I am just trying to propose a check list that could help us to work out this issue. So, let's try to describe how both systems, local and remote, are configured. I think it is better to call them local -the box you are working at- and remote -another box wired to your network to which you access with TCP/IP- because, after all, both of them has to run servlet instance. I guess you are accessing local installation at http://127.0.0.1:8080/xwiki or something like that and the remote box at http://your.host.domain:8080/xwiki. Of course ports can be different, I am just using the used by default by Tomcat when accessed in standalone mode. 1. Are both JBoss running on Linux? Same JBoss release and Linux flavor and release? 2. What database are you using in local and remote installations? 3. What XWiki product? XE? 4. Have you downloaded the SendByMail from http://tinyurl.com/3zkw6h? When? or are you using a version bundled with your XWiki product? Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] about layout and skins
Hi all, Please, do you anybody know if is it possible to associate a given layout (without columns, one right column,...) to a given skin? For instance: have a No side column for the Main space and a Both Columns one for a newly created one MySpace. Thanks for your help! Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] about layout and skins
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Hi all, Please, do you anybody know if is it possible to associate a given layout (without columns, one right column,...) to a given skin? For instance: have a No side column for the Main space and a Both Columns one for a newly created one MySpace. Thanks for your help! Ricardo Sure. Edit the space preferences and put different values for show left panels, show right panels, and the panel lists. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users