[xwiki-users] XWS Short URL exception

2008-04-29 Thread Mingfai
hi,

I am trying XWS with short url again. I understand there is known problem
but as the exception behave is different in XWS 1.0 in compare to the beta
version I tested before, I'd like to see if you guys have idea. Attached is
a shorten stacktrace of the exception.

My xws app is deployed as ROOT.war to JBoss and I've configured
xwiki.showviewaction=0 . The XWiki platform seems to work fine before
importing the XWS xar. The correct URL is suppose to be /bin/ because
the /bin/ short url shouldn't work yet and I *didn't change* the servlet
mapping from /bin/* to /*. After loaded the XWS xar, it redirects me to
/xwiki by default, and gives the attached exception on screen.

I'll wait for a while to see if anyone have idea before submitting a Jira
issue. Thank you very much.

Regards,
mingfai
Error number 4001 in 4: Error while parsing velocity page 
/templates/xwikivars.vm Wrapped Exception: Invocation of method 
'hasAccessLevel' in class com.xpn.xwiki.api.XWiki threw exception 
java.lang.NullPointerException @ /templates/xwikivars.vm[4,24]

Error number 4001 in 4: Error while parsing velocity page 
/templates/xwikivars.vm
Wrapped Exception: Invocation of method 'hasAccessLevel' in  class 
com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ 
/templates/xwikivars.vm[4,24]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing 
velocity page /templates/xwikivars.vm
Wrapped Exception: Invocation of method 'hasAccessLevel' in  class 
com.xpn.xwiki.api.XWiki threw exception java.lang.NullPointerException @ 
/templates/xwikivars.vm[4,24]
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:160)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598)
...
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1469)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1402)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598)
at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
...
at 
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:108)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:51)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:263)
...
at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
...


Wrapped Exception:

java.lang.NullPointerException
at com.xpn.xwiki.api.XWiki.hasAccessLevel(XWiki.java:1375)
...
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598)
...
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1469)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1402)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598)
at sun.reflect.GeneratedMethodAccessor147.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
...
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:241)
at 
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:108)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:51)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:263)
...
at 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
...


Error number 4001 in 4: Error while parsing velocity page 
/skins/workspaces/htmlheader.vm Wrapped E

Re: [xwiki-users] DocumentDoesNotExist

2008-04-09 Thread Mingfai
After changing the web.xml, I've fixed my problem. Thanks Raffo! :-)

  
404

/bin/Main/DocumentDoesNotExist
  

Regards,
mingfai

On Wed, Apr 9, 2008 at 8:53 PM, Mingfai <[EMAIL PROTECTED]> wrote:

> I got the same problem and I mistakely think it caued by my use of short
> URL. It seems other people got the same problem, too.
> http://jira.xwiki.org/jira/browse/XWIKI-2292
>
> for my case, the Main.WebHome does exist and it is forwarded to
> XWSAdmin.WebHome that does exist.
> ...
> #if($hasadmin)
>  $response.sendRedirect("$xwiki.getURL('XWSAdmin.WebHome','view')")
> ...
>
> In Raffo's case, there is a "xwiki/xwiki/.." in the url. it looks like the
> problem.
>
> regards,
> mingfai
>
>
> On Wed, Apr 9, 2008 at 8:28 PM, [Ricardo Rodriguez] Your EPEC Network ICT
> Team <[EMAIL PROTECTED]> wrote:
>
> > Hi, Raffaele,
> >
> > Raffaele Viola wrote:
> > > Hi all,
> > >
> > > after the login, xwiki always redirect the response to
> > >
> > http://192.168.24.116:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist
> > .
> > >
> > >
> >
> > Does Main.WebHome exist in your wiki?
> >
> > In any case, could you clean the cache and try again?
> >
> > HTH,
> >
> > Ricardo
> >
> >
> > --
> > Ricardo Rodríguez
> > Your EPEC Network ICT Team
> >
> > ___
> > 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] DocumentDoesNotExist

2008-04-09 Thread Mingfai
I got the same problem and I mistakely think it caued by my use of short
URL. It seems other people got the same problem, too.
http://jira.xwiki.org/jira/browse/XWIKI-2292

for my case, the Main.WebHome does exist and it is forwarded to
XWSAdmin.WebHome that does exist.
...
#if($hasadmin)
 $response.sendRedirect("$xwiki.getURL('XWSAdmin.WebHome','view')")
...

In Raffo's case, there is a "xwiki/xwiki/.." in the url. it looks like the
problem.

regards,
mingfai

On Wed, Apr 9, 2008 at 8:28 PM, [Ricardo Rodriguez] Your EPEC Network ICT
Team <[EMAIL PROTECTED]> wrote:

> Hi, Raffaele,
>
> Raffaele Viola wrote:
> > Hi all,
> >
> > after the login, xwiki always redirect the response to
> >
> http://192.168.24.116:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist.
> >
> >
>
> Does Main.WebHome exist in your wiki?
>
> In any case, could you clean the cache and try again?
>
> HTH,
>
> Ricardo
>
>
> --
> Ricardo Rodríguez
> Your EPEC Network ICT Team
>
> ___
> 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] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl

2008-04-08 Thread Mingfai
ic. In the standalone distribution, the hibernate.cfg.xml is updated, but
it's not the case for the war distribution that I am using. (in fact, i've
double checked before I sent my last message! :-) )

Regards,
mingfai

On Tue, Apr 8, 2008 at 6:10 PM, Jerome Velociter <[EMAIL PROTECTED]> wrote:

> > 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 :
> >>
> >> 
> >>
> >> 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:*
> >> >> >  >> >> > name="connection.datasource">java:jdbc/hkjug-xwiki
> >> >> >  >> >> > name="dialect">org.hibernate.dialect.PostgreSQLDialect
> >> >> > 
> >> >> > 
> >> >> >
> >> >> > *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.XWiki

Re: [xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl

2008-04-08 Thread Mingfai
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 :
>
> 
>
> 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:*
> >> >  >> > name="connection.datasource">java:jdbc/hkjug-xwiki
> >> >  >> > name="dialect">org.hibernate.dialect.PostgreSQLDialect
> >> > 
> >> > 
> >> >
> >> > *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
> >> >
> >>
&g

Re: [xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl

2008-04-08 Thread Mingfai
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:*
> >  > name="connection.datasource">java:jdbc/hkjug-xwiki
> >  > name="dialect">org.hibernate.dialect.PostgreSQLDialect
> > 
> > 
> >
> > *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
>

[xwiki-users] Unknown entity: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl

2008-04-07 Thread Mingfai
hi,

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?

Regards,
mingfai


*hibernate configuration:*
java:jdbc/hkjug-xwiki
org.hibernate.dialect.PostgreSQLDialect



*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
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:

Re: [xwiki-users] build XWS from source in Eclipse

2008-04-02 Thread Mingfai
hi,

I just realize the nightly build does available. Please discard my question.

regards,
mingfai

On Wed, Apr 2, 2008 at 4:15 PM, Mingfai <[EMAIL PROTECTED]> wrote:

> hi,
>
> The information about building XWiki in Eclipse (
> http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse) is very
> clear and I'm able to do everything as it described. In my Eclipse, I have
> every XWiki project and can run whichever Maven goal. I'd like to update the
> war and/or jar of XE and XWS, which task in which project is suppose to do
> the job? I suppose I need to build the XWiki platform/core, then XE then XWS
> in sequence?! there are so many projects... for XWS alone, there are 11
> projects/pom.xml. could someone point me to the project or path of pom.xml
> for core, XE and XWS? thx.
>
> p.s. I'd like to use the latest source code to build the app as some of
> the features that are critical to me have been fixed in the trunk but not in
> the last release. btw, it would be great if there is a nightly build
>
> regards,
> mingfai
>
>
>
>
>
>
>
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] build XWS from source in Eclipse

2008-04-02 Thread Mingfai
hi,

The information about building XWiki in Eclipse (
http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse) is very
clear and I'm able to do everything as it described. In my Eclipse, I have
every XWiki project and can run whichever Maven goal. I'd like to update the
war and/or jar of XE and XWS, which task in which project is suppose to do
the job? I suppose I need to build the XWiki platform/core, then XE then XWS
in sequence?! there are so many projects... for XWS alone, there are 11
projects/pom.xml. could someone point me to the project or path of pom.xml
for core, XE and XWS? thx.

p.s. I'd like to use the latest source code to build the app as some of the
features that are critical to me have been fixed in the trunk but not in the
last release. btw, it would be great if there is a nightly build

regards,
mingfai
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] Big Big XWiki News !

2008-04-01 Thread Mingfai
The French gov't is so great to support open source initiatives!
Congratulations.

regards,
mingfai

On Tue, Apr 1, 2008 at 7:15 PM, [Ricardo Rodriguez] Your EPEC Network ICT
Team <[EMAIL PROTECTED]> wrote:

> Congratulations!
>
> Guillaume Lerouge wrote:
> > 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
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
> Even though I am not sure bigger is better :-) XWiki has a great people,
> a great software and a great project, so Sarko do a great thing
> considering XWiki for the crew!
>
> Looking forward to sailing with you even in trouble waters,
>
> Ricardo
>
>
> --
> Ricardo Rodríguez
> Your EPEC Network ICT Team
>
> ___
> 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] XEclipse questions

2008-03-20 Thread Mingfai
thanks for your prompt reply.

regards,
mingfai

On Thu, Mar 20, 2008 at 3:46 PM, Guillaume Lerouge <[EMAIL PROTECTED]>
wrote:

> Hi Mingfai,
>
>
> >1. Some folders cannot be expanded. e.g. XWS, XWSCode, it seems
> >only folder with valid page(s) can be opened. Is it a bug or it is 
> > designed
> >in this way? Under XWSCode, there should be something inside it as I can
> >edit in the web interface (e.g.
> >/xwiki/bin/edit/XWSCode/MySpacesCode)
> >
> > That's because those spaces do not have a WebHome page. Simply go to
> XWSCode.WebHome in your wiki and create the page (you can put random stuff
> there). Then you'll be able to edit pages from that space in XEclipse.
>
> >
> >1. If I want to massively delete objects, is XEclipse suppose to
> >be the most convenient way? when i'm evaluating, I keep removing and
> >re-import pages. It would be great if the XWiki explorer support using 
> > Ctrl
> >key to select multiple folder/page. Should I add a Jira new feature 
> > request?
> >
> > No, it's not. You'd better go for a velocity or groovy script that would
> do the following :
> 1) Find every instance of your object through a hql request 2) use
> #foreach($item in $objectlist) $item.delete()  #end
>
> Those pages will help you doing so :
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples &
> http://code.xwiki.org/xwiki/bin/view/Snippets/HQLQueryTesterSnippet
>
> >
> >1. Is the security permission in XEclipse identical to the web?
> >it's better to me if it hides all folder and pages that the user is not
> >accessible. I tried to connect to www.xwiki.org with XEclipse and
> >I think most folders are expandable except the admin folder. Am i correct
> >that if all pages under a folder is not accessible, the folder is not
> >expandable? I suppose the /xmlrpc/ path shall be strictly limited from
> >public Internet anyway. It looks like a security risk.
> >
> > Although I think XEclipse uses the wiki's user rights, protecting your
> wiki's xmlrpc access against potential attacks is always better.
>
> Guillaume
>
>
>
> ___
> 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


[xwiki-users] XEclipse questions

2008-03-20 Thread Mingfai
hi,

I've been learning XWiki in this few days. XEclipse looks like a very useful
tool. Just a few questions:


   1. Some folders cannot be expanded. e.g. XWS, XWSCode, it seems only
   folder with valid page(s) can be opened. Is it a bug or it is designed in
   this way? Under XWSCode, there should be something inside it as I can edit
   in the web interface (e.g. /xwiki/bin/edit/XWSCode/MySpacesCode)

   2. If I want to massively delete objects, is XEclipse suppose to be
   the most convenient way? when i'm evaluating, I keep removing and re-import
   pages. It would be great if the XWiki explorer support using Ctrl key to
   select multiple folder/page. Should I add a Jira new feature request?

   3. Is the security permission in XEclipse identical to the web? it's
   better to me if it hides all folder and pages that the user is not
   accessible. I tried to connect to www.xwiki.org with XEclipse and I
   think most folders are expandable except the admin folder. Am i correct that
   if all pages under a folder is not accessible, the folder is not expandable?
   I suppose the /xmlrpc/ path shall be strictly limited from public Internet
   anyway. It looks like a security risk.

Thank you.

Regards,
mingfai
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWS Short URL problem

2008-03-19 Thread Mingfai
hi, it seems the issue XWIKI-2056 refers to the context path. I've added a
comment. http://jira.xwiki.org/jira/browse/XWIKI-2056

Correcting my own statement, the showviewaction does work. I thought it will
hide /edit/, and other actions before. It should hide /view/ only.

For the defaultactionpath, it seems to be broken as well.

Regards,
mingfai

On Wed, Mar 19, 2008 at 3:41 AM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote:

> Hi,
>
> This is a regression introduced some while ago, it will be fixed in 1.3.1
>
> Mingfai wrote:
> > thx JV, the shorturl link is exactly what I need.
> > http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
> >
> > The first thing I try is the application name / context path. I made it
> > the root application and changed the displayname accordingly. And I've
> > cleared all cache and restarted already. Looks like the displayname
> > parameter doesn't take effect. The following are the html code the site
> > generates:
> >
> > / href="*/xwiki/bin/*view/Main/WebRss?xpage=rdf" />
> >
> >  href="*/xwiki/bin/*view/Main/BlogRss?xpage=rdf" />
> >
> >  src="/bin/skins/workspaces/xws.js">
> >
> >  rel="stylesheet" type="text/css" />
> >
> >  type="text/css"  />/
> >
> >
> > I run in JBoss 4.2.2.  Any idea?
> >
> > Regards,
> > mingfai
> >
> > On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >  >
> >  >  >- could anyone point me to where I may be able to customize
> > the space
> >  >
> >  > >name and url? basically, the use of "Space_" as prefix look
> > quite odd
> >  >  > to me
> >  >  >and i would like to remove it. And if it is possible i
> > would want to
> >  >  > make
> >  >  >the url shorter. Currently, it's something like: "
> >  >  >http://mydomain.com/xwiki/bin/view/Space_username/";, i am
> > able to
> >  >  >remove the context "xwiki", and i suppose it shouldn't be
> > difficult to
> >  >  > turn
> >  >  >Space_username to username. It's most desirable to turn
> > bin/view to
> >  >  > nothing
> >  >  >or make it a single "folder", e.g. remove "/bin" (i suppose
> > the action
> >  >  >cannot be removed.)
> >  >
> >  >  See
> > http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin, and
> >  >  in particular the xwiki.spacemanager.prefix param of xwiki.cfg.
> >  >
> >
> > See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> 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] Admin/admin wrong user

2008-03-18 Thread Mingfai
you need to go to the admin page (that doesn't require login) and import the
XWS xar.

regards,
mingfai

On Tue, Mar 18, 2008 at 11:21 PM, Michael Oliver <[EMAIL PROTECTED]>
wrote:

>  I installed 1.0 XWiki Workspaces war file and setup the db connection to
> oracle 10g and the app starts and I get the login page, but Admin/admin
> gives wrong username.
>
>
>
> Ollie
>
>
>
> <http://www.corenttech.com>
>
> On Demand Solutions On Demand
>
>
>
> *Michael Oliver*
> *Chief Technology Officer*
>
> *Corent Technology*
> 3600 W Florida Ave
> #340
> Hemet, CA 
> 92545<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=3600+W+Florida+Ave&csz=Hemet%2C+CA+92545&country=us>
>
> [EMAIL PROTECTED]
> http://www.corenttech.com
> AIM: [EMAIL PROTECTED]
>
> tel:
> fax:
> mobile:
> Skype ID:
>
> 949-547-5700
> <http://www.plaxo.com/click_to_call?src=jj_signature&To=949-547-5700&[EMAIL 
> PROTECTED]>
> 7029740341
> 949-547-5700
> <http://www.plaxo.com/click_to_call?src=jj_signature&To=949-547-5700&[EMAIL 
> PROTECTED]>
> MikeOliverAZ
>
>
>
> Want to always have my latest 
> info?<https://www.plaxo.com/add_me?u=55837372229&src=client_sig_212_1_banner_join&invite=1>
>
> Want a signature like 
> this?<http://www.plaxo.com/signature?src=client_sig_212_1_banner_sig>
>
>
> View my page on *Corent 
> Technology*<http://corenttech.ning.com/xn/detail/u_25igigalsj1dt>
>
>
> View my page on *CMU SEI LinkedIn 
> SPIN*<http://linkedinspin.ning.com/xn/detail/u_25igigalsj1dt>
>
>
>
> ___
> 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] XWS Short URL problem

2008-03-17 Thread Mingfai
it seems the Short URL instruction doesn't work for XWS. I tried all
context/app path, action and servlet mapping and all of them do not seem to
work on XWS.

regards,
mingfai

On Mon, Mar 17, 2008 at 7:18 PM, Mingfai <[EMAIL PROTECTED]> wrote:

> thx JV, the shorturl link is exactly what I need.
> http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
>
> The first thing I try is the application name / context path. I made it
> the root application and changed the displayname accordingly. And I've
> cleared all cache and restarted already. Looks like the displayname
> parameter doesn't take effect. The following are the html code the site
> generates:
>
> * href="/xwiki/bin/view/Main/WebRss?xpage=rdf" />
>
>  href="/xwiki/bin/view/Main/BlogRss?xpage=rdf" />
>
>  src="/bin/skins/workspaces/xws.js">
>
>  rel="stylesheet" type="text/css" />
>
>  type="text/css"  />*
>
> I run in JBoss 4.2.2.  Any idea?
>
> Regards,
> mingfai
>
> On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <[EMAIL PROTECTED]> wrote:
>
> > On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <[EMAIL PROTECTED]>
> > wrote:
> > >
> > >  >- could anyone point me to where I may be able to customize the
> > space
> > >
> > > >name and url? basically, the use of "Space_" as prefix look quite
> > odd
> > >  > to me
> > >  >and i would like to remove it. And if it is possible i would
> > want to
> > >  > make
> > >  >the url shorter. Currently, it's something like: "
> > >  >http://mydomain.com/xwiki/bin/view/Space_username/";, i am able
> > to
> > >  >remove the context "xwiki", and i suppose it shouldn't be
> > difficult to
> > >  > turn
> > >  >Space_username to username. It's most desirable to turn bin/view
> > to
> > >  > nothing
> > >  >or make it a single "folder", e.g. remove "/bin" (i suppose the
> > action
> > >  >cannot be removed.)
> > >
> > >  See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin,
> > and
> > >  in particular the xwiki.spacemanager.prefix param of xwiki.cfg.
> > >
> >
> > See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
> >
> > JV.
> > ___
> > 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


[xwiki-users] XWS Short URL problem

2008-03-17 Thread Mingfai
thx JV, the shorturl link is exactly what I need.
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs

The first thing I try is the application name / context path. I made it the
root application and changed the displayname accordingly. And I've cleared
all cache and restarted already. Looks like the displayname parameter
doesn't take effect. The following are the html code the site generates:

*



*

I run in JBoss 4.2.2.  Any idea?

Regards,
mingfai

On Mon, Mar 17, 2008 at 5:52 PM, Jean-Vincent Drean <[EMAIL PROTECTED]> wrote:

> On Mon, Mar 17, 2008 at 9:16 AM, Jerome Velociter <[EMAIL PROTECTED]>
> wrote:
> >
> >  >- could anyone point me to where I may be able to customize the
> space
> >
> > >name and url? basically, the use of "Space_" as prefix look quite
> odd
> >  > to me
> >  >and i would like to remove it. And if it is possible i would want
> to
> >  > make
> >  >the url shorter. Currently, it's something like: "
> >  >http://mydomain.com/xwiki/bin/view/Space_username/";, i am able to
> >  >remove the context "xwiki", and i suppose it shouldn't be
> difficult to
> >  > turn
> >  >Space_username to username. It's most desirable to turn bin/view
> to
> >  > nothing
> >  >or make it a single "folder", e.g. remove "/bin" (i suppose the
> action
> >  >cannot be removed.)
> >
> >  See http://code.xwiki.org/xwiki/bin/view/Plugins/SpaceManagerPlugin,
> and
> >  in particular the xwiki.spacemanager.prefix param of xwiki.cfg.
> >
>
> See also : http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs
>
> JV.
> ___
> 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] XWiki WorkSpaces for public service

2008-03-17 Thread Mingfai
Thanks Jerome and Guillaume,

I followed Jerome's detailed instruction and did it. I just realize the
Admin tool bar still exists. And in IE 6 there is no small icon, and in IE 7
the bar doesn't slide in. And btw, I got a little confusion as I don't know
how to "save" after the green arrow is on. (it's ok now.)

just two quick questions:

   1. could the registration page be set to public in the same way? I
   don't see a "Register" or similar page on the list
   2. by default, /xwiki links to /xwiki/bin/login/XWiki/XWikiLogin , how
   could i make it direct to other page? like dashboard or wiki or blog page of
   the global space? I think i've checked all admin pages (but not yet scanned
   all doc)

>Hope you'll manage to achieve your objectives... We'll be glad to have a
reference from you added on
http://www.xwiki.org/xwiki/bin/view/References/once you're done ;-)

Sure, I'll put up a beta site a few hours later. It may be a better to add
to the References page after my site is stabilized. So far I can't find a
better option than XWS for building a organization wiki + member publishing
and sharing site.

Regards,
mingfai

On Mon, Mar 17, 2008 at 6:28 PM, Guillaume Lerouge <[EMAIL PROTECTED]>
wrote:

> [Snip]
> >
> > - Click the "Administration" link in the XWiki toolbar
> >
>
> You can access the Administration toolbar by moving your mose over the
> small icon at the top left of the page (the tools on a transparent
> background, you maight not see them if you're not using Firefox), on hover
> the menu will unfold and provide you with the "Administration" link Jérome
> is talking about (which is different from the "Global Admin" link on a red
> background).
>
> - Click the "Space rights" tab in the administration page
> > - Select your organization top-level space in the drop-down list (the
> > one
> > without any suffix: Space_MyOrganization, not Space_MyOrganization_Wiki
> > or
> > Space_MyOrganization_Blog)
> > - Once its loaded, click twice the checkbox for unregistered users under
> > "view" to have it green-checked (it should appear with a red circle at
> > first).
> > - ... and your done! The _Wiki, _Blog, etc. spaces will inherit their
> > rights from that top-level one, so you shouldn't have anything to do for
> > them.
> >
> > If you want to have registered users able to comment, you can check the
> > "comment" box for XWikiAllGroup as well.
>
>
> Hope you'll manage to achieve your objectives... We'll be glad to have a
> reference from you added on
> http://www.xwiki.org/xwiki/bin/view/References/ once you're done ;-)
>
> Guillaume
>
>
>
> ___
> 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] XWiki WorkSpaces for public service

2008-03-17 Thread Mingfai
Congratulation to the XWiki team for the first release! and thanks for your
replies.

I didn't realize I'v tried it before your release notice! :-) (as I thought
it was released some time in the last week) Anyway, I've been actively
waiting for it.

The key decision is just whether I should use XE and copy the XWS functions,
or hack the code and request for features to allow XWS be used for public
service. It seems obviously that the latter option is much better. As
mentioned before, it's for a JUG. The use cases are straightforward:

   - a global blog+wiki+photo that is readable by anonymous users and
   editable by a few committee members, (maybe comment by registered users)
   - Some spaces for collaboration works that any registered member are
   editable, and
   - every user could create his own space.

The functions are pretty much there already. The key missing thing is just
making the global space publicly accessible. I'll fire some Jira issues
later.  Thanks.

Regards,
mingfai

On Mon, Mar 17, 2008 at 4:28 PM, Vincent Massol <[EMAIL PROTECTED]> wrote:

>
> On Mar 17, 2008, at 6:37 AM, Mingfai wrote:
>
> hi,
>
> I wonder if I'm the first few outside people to try XWS milestone 1. :-)
>
> Well, I'm evaluating the XWiki series of products for my Java User Group
> in Hong Kong. XWS "looks" better than XE to me and it seems XWS allows every
> user to create his/her own space of blog, wiki, photo and files, that
> perfectly fit my needs. I wonder:
>
>- could XWS provide public registration, and anonymous
>(/non-logged-in) user access mode?
>- could XE actually do all XWS can do and I should use XE for public
>service? In fact, I feel XE has steeper learning curve than XWS. It seems 
> XE
>does not provide individual blog, photo and file spaces
>
> XE can do everything. It's a second generation wiki. All XWiki products
> are based on XE (and the underlying platform). For example even if in XE you
> have one blog by default, nothing prevents you to create as many as you want
> in the way you want them to be (you can imagine any kind of use case).
>
> XWS is definitely meant to be a wrapper around XE to make it simpler and
> to provide a solution which is oriented towards personal work spaces that
> you can share with others. XE is generic, XWS implements a specific solution
> based on work groups.
>
> Thus if XWS matches your needs you should definitely use it over XE.
>
> Thanks
> -Vincent
>
>
>- any pointer if I want to limit one user to create only one space?
>- could anyone point me to where I may be able to customize the
>space name and url? basically, the use of "Space_" as prefix look quite odd
>to me and i would like to remove it. And if it is possible i would want to
>make the url shorter. Currently, it's something like: "
>http://mydomain.com/xwiki/bin/view/Space_username/";, i am able to
>remove the context "xwiki", and i suppose it shouldn't be difficult to turn
>Space_username to username. It's most desirable to turn bin/view to nothing
>or make it a single "folder", e.g. remove "/bin" (i suppose the
>action cannot be removed.)
>
> regarding URL, i wonder if the developers like to go to the REST-ful
> direction. Some people think in REST-ful URL only resource but not action
> should be put as the path. (certainly, i understand in using Struts, some
> options may not be available)
>
> Thank you very much.
>
> Regards,
> mingfai
>
>
> ___
> 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


[xwiki-users] XWiki WorkSpaces for public service

2008-03-16 Thread Mingfai
hi,

I wonder if I'm the first few outside people to try XWS milestone 1. :-)

Well, I'm evaluating the XWiki series of products for my Java User Group in
Hong Kong. XWS "looks" better than XE to me and it seems XWS allows every
user to create his/her own space of blog, wiki, photo and files, that
perfectly fit my needs. I wonder:

   - could XWS provide public registration, and anonymous
   (/non-logged-in) user access mode?
   - could XE actually do all XWS can do and I should use XE for public
   service? In fact, I feel XE has steeper learning curve than XWS. It seems XE
   does not provide individual blog, photo and file spaces
   - any pointer if I want to limit one user to create only one space?
   - could anyone point me to where I may be able to customize the space
   name and url? basically, the use of "Space_" as prefix look quite odd to me
   and i would like to remove it. And if it is possible i would want to make
   the url shorter. Currently, it's something like: "
   http://mydomain.com/xwiki/bin/view/Space_username/";, i am able to
   remove the context "xwiki", and i suppose it shouldn't be difficult to turn
   Space_username to username. It's most desirable to turn bin/view to nothing
   or make it a single "folder", e.g. remove "/bin" (i suppose the action
   cannot be removed.)

regarding URL, i wonder if the developers like to go to the REST-ful
direction. Some people think in REST-ful URL only resource but not action
should be put as the path. (certainly, i understand in using Struts, some
options may not be available)

Thank you very much.

Regards,
mingfai
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users