Re: [xwiki-users] LDAP Authentication fails with AD

2009-11-16 Thread Paul Rijnhout
Hello Thomas,

I guess you're right. I get a 'not allowed'error message, even when being 
authenticated on the domain. This means that Windows AD 2008 ldap 
authentication is out for now?

Met vriendelijke groet/Best regards, 

Paul Rijnhout 
ICT Manager

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Thomas 
Mortagne
Verzonden: maandag 16 november 2009 14:40
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] LDAP Authentication fails with AD

On Mon, Nov 16, 2009 at 13:31, Paul Rijnhout
 wrote:
> HI Thomas,
>
> Thanks for your reply. I'm using 2.0.3, freshly installed, no other pages 
> imported or loaded, just the default Xwiki XAR, and this is the result.
>

I think the jldap automatic referral support support only anonymous
access to referals. Does
ldap://ForestDnsZones.mega.local/DC=ForestDnsZones,DC=mega,DC=local
login/password ? That maybe would explain. If that's the case would be
great if you could create an issue on http://jira.xwiki.org about
referral with authentication support.

What is weird is that error message seems to indicate that automatic
referral support is not enabled ("referral following is off"), i would
need to test it more when i can find some time.

> Met vriendelijke groet/Best regards,
>
> Paul Rijnhout
> ICT Manager
>
> -Oorspronkelijk bericht-
> Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Thomas 
> Mortagne
> Verzonden: zaterdag 14 november 2009 18:24
> Aan: XWiki Users
> Onderwerp: Re: [xwiki-users] LDAP Authentication fails with AD
>
> Hi,
>
> On Sat, Nov 14, 2009 at 10:19, Paul Rijnhout
>  wrote:
>> Hello,
>>
>> I seem to have a LDAP configuration problem which I can not solve. I'm tryin 
>> gto authenticate to a AD Windows 2008 domain. The domain is standard one 
>> forest, one domain named mega.local. I;ve configured xwiki.cfg according 
>> instructions with:
>> #-
>> # LDAP
>> #-
>>
>> #-# new LDAP authentication service
>> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>>
>> #-# Turn LDAP authentication on - otherwise only XWiki authentication
>> #-# 0: disable
>> #-# 1: enable
>> xwiki.authentication.ldap=1
>>
>> #-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
>> xwiki.authentication.ldap.server=hf-dom02.mega.local
>> xwiki.authentication.ldap.port=389
>>
>> #-# LDAP login, empty = anonymous access, otherwise specify full dn
>> #-# {0} is replaced with the username, {1} with the password
>> xwiki.authentication.ldap.bind_DN=mega\\sa_ad
>> xwiki.authentication.ldap.bind_pass=.
>>
>> #-# Force to check password after LDAP connection
>> #-# 0: disable
>> #-# 1: enable
>> xwiki.authentication.ldap.validate_password=0
>>
>> #-# only members of the following group will be verified in the LDAP
>> #-# otherwise only users that are found after searching starting from the 
>> base_DN
>> # xwiki.authentication.ldap.user_group=cn=Users
>>
>> #-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
>> #-# only users not member of the following group can autheticate
>> # xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
>>
>> #-# base DN for searches
>> xwiki.authentication.ldap.base_DN=dc=mega,dc=local
>>
>> #-# Specifies the LDAP attribute containing the identifier to be used as the 
>> XWiki name (default=cn)
>> xwiki.authentication.ldap.UID_attr=saAMAccountName
>
> It's sAMAccountName, maybe you did a wrong copy past in the mail
>
>>
>> But all searches failed with the following error. Anyone ideas left?
>>
>> 2009-11-13 13:53:47,157 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>>  INFO  .AbstractXWikiMigrationManager  - No storage migration required since 
>> current version is [15429]
>> 2009-11-13 13:53:48,735 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>>  DEBUG LDAP.XWikiLDAPAuthServiceImpl   - The provided user is null. We don't 
>> try to authenticate, it probably means the user is in non logged mode.
>> 2009-11-13 13:53:48,735 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>>  DEBUG ldap.XWikiLDAPConfig            - ldap_group_classes: [groupofnames, 
>> groupwisedistributionlist, dynamicgroup, dynamicgroupaux, 
>> groupofuniquenames, group]
>> 2009-11-13 13:53:48,735 
>> [http://i

Re: [xwiki-users] content being duplicated

2009-11-16 Thread Guillaume Lerouge
Hi Alex,

On Tue, Nov 17, 2009 at 2:04 AM, Guillaume Lerouge wrote:

> Hi Alex,
>
> On Tue, Nov 17, 2009 at 1:16 AM, Alex Voss wrote:
>
>>
>> Hi,
>>
>> I am having an interesting problem: content is getting duplicated in my
>> XWiki. This seems to affect only one page in my wiki (at least I have
>> noticed it only there).
>
>
> Interesting problem indeed :-)
>
>
>> Parts of the content of the page get duplicated
>> on that same page, see:
>>
>>
>> https://e-research.cs.st-andrews.ac.uk/site/bin/view/Research+in+a+Connected+World+Book/
>> (I will leave this unmodified for a few days)
>>
>> This is not just an artefact in the output. When I edit the content, the
>> duplication is there. I can remove it and it disappears but the problem
>> seems to re-occur. Any ideas what might be going on?
>>
>
> Are you editing that page with the wiki editor or with the WYSIWYG editor?
> Can you confirm whether it happens with both editors or only with one of
> them?
>
> I think I've seen this behavior take place with the WYSIWYG editor in the
> past due to wrongly closed links and content that got duplicated in link
> labels but I haven't been able to reproduce it in a while...
>
> The best would be for you to provide a full step-by-step description of
> what you're doing when you edit that page and how to reproduce the problem
> locally.
>

I've tried reproducing your issue on
http://guillaume.myxwiki.org/xwiki/bin/view/Main/RandomTest but I wasn't
able to make it happen so far.

By the way, which browser / OS are you using?

Guillaume


> Guillaume
>
>
>> Best wishes,
>>
>> Alex
>>
>> --
>> Alexander Voss
>> SICSA Advanced Research Fellow
>> School of Computer Science
>> University of St Andrews
>> http://www.cs.st-andrews.ac.uk/~avoss
>> The University of St Andrews is a charity registered in Scotland : No
>> SC013532
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] content being duplicated

2009-11-16 Thread Guillaume Lerouge
Hi Alex,

On Tue, Nov 17, 2009 at 1:16 AM, Alex Voss wrote:

>
> Hi,
>
> I am having an interesting problem: content is getting duplicated in my
> XWiki. This seems to affect only one page in my wiki (at least I have
> noticed it only there).


Interesting problem indeed :-)


> Parts of the content of the page get duplicated
> on that same page, see:
>
>
> https://e-research.cs.st-andrews.ac.uk/site/bin/view/Research+in+a+Connected+World+Book/
> (I will leave this unmodified for a few days)
>
> This is not just an artefact in the output. When I edit the content, the
> duplication is there. I can remove it and it disappears but the problem
> seems to re-occur. Any ideas what might be going on?
>

Are you editing that page with the wiki editor or with the WYSIWYG editor?
Can you confirm whether it happens with both editors or only with one of
them?

I think I've seen this behavior take place with the WYSIWYG editor in the
past due to wrongly closed links and content that got duplicated in link
labels but I haven't been able to reproduce it in a while...

The best would be for you to provide a full step-by-step description of what
you're doing when you edit that page and how to reproduce the problem
locally.

Guillaume


> Best wishes,
>
> Alex
>
> --
> Alexander Voss
> SICSA Advanced Research Fellow
> School of Computer Science
> University of St Andrews
> http://www.cs.st-andrews.ac.uk/~avoss
> The University of St Andrews is a charity registered in Scotland : No
> SC013532
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Guillaume Lerouge
Hi Joshua,

On Mon, Nov 16, 2009 at 9:58 PM, Rieken, Joshua wrote:

>
>
> > -Original Message-
> > From: users-boun...@xwiki.org
> > [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge
> > Sent: Monday, November 16, 2009 12:39 PM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
> > assignment?
> >
> > Hi Mark,
> >
> > glad to know that "fixed" your issue.
> >
> > Sergiu & al: since we changed the creation form to remove the
> > need for JS for the form to work we didn't add a new way to
> > filter invalid characters prior to creating the URL called to
> > create the new document. I added some "cleaning" code to do
> > this for the FAQ example but it would be much better if we
> > had a standard velocity method to perform that cleaning prior
> > to page creation.
> >
> > Is there anything we could use to do that?
>
> I've been using util.clearName(name). Is that right?
>

Looks like it is. Thanks for the pointer!

I updated the code on
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial to use it.
It's much better than what I had put before!

Mark, try using the following code on FAQ.WebHome :

#if("$!request.docName" != '')
  ## Request for creating a new instance
  #set($docName = $util.clearName(${request.docName}))
  #set($targetDocName = "${request.spaceName}.${docName}")
  #if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit',
$context.user, $targetDocName))
$response.sendRedirect($xwiki.getURL($targetDocName, 'inline',
"template=${request.template}&parent=${request.parent}"))
## Stop processing, since we already sent a redirect.
#stop
  #end
#end


and tell us whether it fixes your issue (it should prevent you from
creating incorrectly named documents).


Guillaume



-Joshua
>
> >
> >Guillaume
> >
> > On 11/16/09, mark_marzi...@bcbsil.com
> >  wrote:
> > > Hi Guillaume,
> > >
> > > You got it! Plain old alphanumeric goes into the FAQ space,
> > anything
> > > else goes to Main.
> > >
> > > Every !...@#$! entry I created I used a hyphen or a comma or something
> > > not strictly alphanumeric somewhere in the entry. Silly me!
> > >
> > > Thanks et al,
> > > Mark
> > >
> > > BCBS-IL
> > > ph 312-653-4293
> > > mark_marzi...@bcbsil.com
> > >
> > >
> > >
> > >
> > >
> > > Guillaume Lerouge  Sent by:
> > > users-boun...@xwiki.org
> > > 11/16/2009 12:09 PM
> > > Please respond to
> > > XWiki Users 
> > >
> > >
> > > To
> > > XWiki Users 
> > > cc
> > >
> > > Subject
> > > Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi Mark,
> > >
> > > I've tested your XAR on my machine on a fresh XE 2.0 instance and...
> > > it works perfectly well.
> > >
> > > I think the problem comes from the text you're inputting in
> > the input
> > > under "Add a new question" on FAQ.WebHome. I see the first question
> > > you created is named
> > "FAQ.First+question%2C+entered+as+Admin/" -> can
> > > you try entering an new question that is simply called "test" (no
> > > special characters) and see what happens when you do that?
> > >
> > > In my case it created http://localhost:9080/xwiki/bin/view/FAQ/test
> > > which is the expected behavior.
> > >
> > > I suspect the characters you entered in the input triggered the
> > > creation in the wrong location. If that's so, we'll update the FAQ
> > > application example to include better name cleaning prior
> > to document
> > > creation.
> > >
> > > Guillaume
> > >
> > > On 11/16/09, mark_marzi...@bcbsil.com
> >  wrote:
> > >> Hi Vincent et al,
> > >>
> > >> Thanks again for the help, very much appreciated.
> > >>
> > >> This url should get you to a gui where you select the file to dl:
> > >> http://www.esnips.com/web/MarkMarzialepublicfolder
> > >>
> > >> There's only 1 file in this folder, named 'myxwiki_export.xar'.
> > >> Should stick out like a sore thumb.
> > >>
> > >> Let me know if you have any trouble.
> > >>
> > >> Thanks,
> > >> Mark
> > >>
> > >> BCBS-IL
> > >> ph 312-653-4293
> > >> mark_marzi...@bcbsil.com
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> Vincent Massol 
> > >> Sent by: users-boun...@xwiki.org
> > >> 11/16/2009 11:03 AM
> > >> Please respond to
> > >> XWiki Users 
> > >>
> > >>
> > >> To
> > >> XWiki Users 
> > >> cc
> > >>
> > >> Subject
> > >> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:
> > >>
> > >>> Hi Vincent,
> > >>>
> > >>> That's a very generous offer and well appreciated.
> > >>>
> > >>> At the moment I don't have a url to point you to, but I'll find
> > >>> something.
> > >>>
> > >>> I assume 'Export as XAR' from the xwiki Main page is sufficient?
> > >>
> > >> Go to the Admin page, then click export. That'll export the whole
> > >> wiki but it doesn't matter (unless you want to hide stuff,
> > in which
> > >> case you could just export the 4 pages: FAQClass, FAQTe

[xwiki-users] content being duplicated

2009-11-16 Thread Alex Voss

Hi,

I am having an interesting problem: content is getting duplicated in my 
XWiki. This seems to affect only one page in my wiki (at least I have 
noticed it only there). Parts of the content of the page get duplicated 
on that same page, see:

https://e-research.cs.st-andrews.ac.uk/site/bin/view/Research+in+a+Connected+World+Book/
(I will leave this unmodified for a few days)

This is not just an artefact in the output. When I edit the content, the 
duplication is there. I can remove it and it disappears but the problem 
seems to re-occur. Any ideas what might be going on?

Best wishes,

Alex

-- 
Alexander Voss
SICSA Advanced Research Fellow
School of Computer Science
University of St Andrews
http://www.cs.st-andrews.ac.uk/~avoss
The University of St Andrews is a charity registered in Scotland : No 
SC013532
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Rieken, Joshua


> -Original Message-
> From: users-boun...@xwiki.org
> [mailto:users-boun...@xwiki.org] On Behalf Of Guillaume Lerouge
> Sent: Monday, November 16, 2009 12:39 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
>
> Hi Mark,
>
> glad to know that "fixed" your issue.
>
> Sergiu & al: since we changed the creation form to remove the
> need for JS for the form to work we didn't add a new way to
> filter invalid characters prior to creating the URL called to
> create the new document. I added some "cleaning" code to do
> this for the FAQ example but it would be much better if we
> had a standard velocity method to perform that cleaning prior
> to page creation.
>
> Is there anything we could use to do that?

I've been using util.clearName(name). Is that right?

-Joshua

>
> Guillaume
>
> On 11/16/09, mark_marzi...@bcbsil.com
>  wrote:
> > Hi Guillaume,
> >
> > You got it! Plain old alphanumeric goes into the FAQ space,
> anything
> > else goes to Main.
> >
> > Every !...@#$! entry I created I used a hyphen or a comma or something
> > not strictly alphanumeric somewhere in the entry. Silly me!
> >
> > Thanks et al,
> > Mark
> >
> > BCBS-IL
> > ph 312-653-4293
> > mark_marzi...@bcbsil.com
> >
> >
> >
> >
> >
> > Guillaume Lerouge  Sent by:
> > users-boun...@xwiki.org
> > 11/16/2009 12:09 PM
> > Please respond to
> > XWiki Users 
> >
> >
> > To
> > XWiki Users 
> > cc
> >
> > Subject
> > Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >
> >
> >
> >
> >
> >
> > Hi Mark,
> >
> > I've tested your XAR on my machine on a fresh XE 2.0 instance and...
> > it works perfectly well.
> >
> > I think the problem comes from the text you're inputting in
> the input
> > under "Add a new question" on FAQ.WebHome. I see the first question
> > you created is named
> "FAQ.First+question%2C+entered+as+Admin/" -> can
> > you try entering an new question that is simply called "test" (no
> > special characters) and see what happens when you do that?
> >
> > In my case it created http://localhost:9080/xwiki/bin/view/FAQ/test
> > which is the expected behavior.
> >
> > I suspect the characters you entered in the input triggered the
> > creation in the wrong location. If that's so, we'll update the FAQ
> > application example to include better name cleaning prior
> to document
> > creation.
> >
> > Guillaume
> >
> > On 11/16/09, mark_marzi...@bcbsil.com
>  wrote:
> >> Hi Vincent et al,
> >>
> >> Thanks again for the help, very much appreciated.
> >>
> >> This url should get you to a gui where you select the file to dl:
> >> http://www.esnips.com/web/MarkMarzialepublicfolder
> >>
> >> There's only 1 file in this folder, named 'myxwiki_export.xar'.
> >> Should stick out like a sore thumb.
> >>
> >> Let me know if you have any trouble.
> >>
> >> Thanks,
> >> Mark
> >>
> >> BCBS-IL
> >> ph 312-653-4293
> >> mark_marzi...@bcbsil.com
> >>
> >>
> >>
> >>
> >>
> >> Vincent Massol 
> >> Sent by: users-boun...@xwiki.org
> >> 11/16/2009 11:03 AM
> >> Please respond to
> >> XWiki Users 
> >>
> >>
> >> To
> >> XWiki Users 
> >> cc
> >>
> >> Subject
> >> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:
> >>
> >>> Hi Vincent,
> >>>
> >>> That's a very generous offer and well appreciated.
> >>>
> >>> At the moment I don't have a url to point you to, but I'll find
> >>> something.
> >>>
> >>> I assume 'Export as XAR' from the xwiki Main page is sufficient?
> >>
> >> Go to the Admin page, then click export. That'll export the whole
> >> wiki but it doesn't matter (unless you want to hide stuff,
> in which
> >> case you could just export the 4 pages: FAQClass, FAQTemplate,
> >> FAQSheet and FAQ.WebHome by navigating to each page and choosing
> >> export as XAR in the top menu).
> >>
> >> Of course if your wiki has a public URL it's even easier (but it's
> >> probably not the case).
> >>
> >> Thanks
> >> -Vincent
> >>
> >>> The
> >>> resulting xar doesn't seem to have enough content to be
> of use. I'm
> >>> guessing that's because I'm using an external db (MySql). If I'm
> >>> right about that, then I can reinstall the standalone xwiki using
> >>> the default hsqldb, rebuild the faq and try again.
> >>>
> >>> Or perhaps I should export from the FAQ space itself?
> >>>
> >>> Thanks,
> >>> Mark
> >>>
> >>> BCBS-IL
> >>> ph 312-653-4293
> >>> mark_marzi...@bcbsil.com
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Vincent Massol 
> >>> Sent by: users-boun...@xwiki.org
> >>> 11/16/2009 10:19 AM
> >>> Please respond to
> >>> XWiki Users 
> >>>
> >>>
> >>> To
> >>> XWiki Users 
> >>> cc
> >>>
> >>> Subject
> >>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:
> >>>
>  Hi Vincent,
> 
>  Thanks yet again.
> 
>  Sadly I'm still creating FAQ entri

Re: [xwiki-users] Help with hibernate problem

2009-11-16 Thread Sergiu Dumitriu
On 11/16/2009 11:51 AM, Linda Charlotta Ursin wrote:
> Try now
>

Now I get Forbidden.

>
> -Opprinnelig melding-
> Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne av 
> Sergiu Dumitriu
> Sendt: 16. november 2009 11:40
> Til: XWiki Users
> Emne: Re: [xwiki-users] Help with hibernate problem
>
> On 11/16/2009 11:25 AM, Linda Charlotta Ursin wrote:
>> You can find the files here:
>>
>> http://heksebua.com/support/catalina.2009-11-13.log
>> http://heksebua.com/support/localhost.2009-11-13.log
>> http://heksebua.com/support/xwiki.log
>> http://heksebua.com/support/hibernate.cfg.xml
>> http://heksebua.com/support/syslog_java.txt
>
> I get a Not Found error for all these files.
>
>> (The last file is the output from the command cat /var/log/syslog | grep 
>> java)
>>
>> I should mention that the machine is running with the wrong date and time.
>>
>> xwikitest:/var/log# date
>> Fri Nov 13 17:21:51 CET 2009
>>
>> Real date and time: Fri Nov 16 11:21:51 CET 2009
>>
>> mvh
>>
>> Linda Ursin
>> Brukersenteret
>>
>> -Opprinnelig melding-
>> Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne av 
>> Sergiu Dumitriu
>> Sendt: 16. november 2009 10:03
>> Til: XWiki Users
>> Emne: Re: [xwiki-users] Help with hibernate problem
>>
>> On 11/16/2009 09:22 AM, Linda Charlotta Ursin wrote:
>>> Hi
>>>
>>> I get the errors below on my newly installed xwiki. I've followed the 
>>> instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch 
>>> (whith the exception of point 11, which I was trying to do now)
>>>
>>> I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration 
>>> and I'm unable to find the problem. Could you please help me solve this?
>>>
>>>
>>>
>>>
>>> HTTP Status 500 -
>>>
>>> 
>>>
>>>
>>> type Exception report
>>>
>>> message
>>>
>>> description The server encountered an internal error () that prevented it 
>>> from fulfilling this request.
>>>
>>> exception
>>>
>>> javax.servlet.ServletException: Error number 3 in 0: Could not initialize 
>>> main XWiki context
>>> Wrapped Exception: Error number 3001 in 3: Cannot load class 
>>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
>>> param xwiki.store.migration.manager.class
>>> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
>>> Wrapped Exception: invalid configuration
>>>
>>> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>>>
>>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>>>
>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>>
>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>>
>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>
>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>>>com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>>>
>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>>>
>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>>>
>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>>>
>>> root cause
>>>
>>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize 
>>> main XWiki context
>>> Wrapped Exception: Error number 3001 in 3: Cannot load class 
>>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
>>> param xwiki.store.migration.manager.class
>>> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
>>> Wrapped Exception: invalid configuration
>>>com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
>>>com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
>>>com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>>>com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>>>
>>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>>>
>>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>>
>>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>>
>>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>>javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>
>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>>>com.xpn.xwiki.web.ActionFilter.doFilter(Actio

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Guillaume Lerouge
Hi Mark,

glad to know that "fixed" your issue.

Sergiu & al: since we changed the creation form to remove the need for
JS for the form to work we didn't add a new way to filter invalid
characters prior to creating the URL called to create the new
document. I added some "cleaning" code to do this for the FAQ example
but it would be much better if we had a standard velocity method to
perform that cleaning prior to page creation.

Is there anything we could use to do that?

Guillaume

On 11/16/09, mark_marzi...@bcbsil.com  wrote:
> Hi Guillaume,
>
> You got it! Plain old alphanumeric goes into the FAQ space, anything else
> goes to Main.
>
> Every !...@#$! entry I created I used a hyphen or a comma or something not
> strictly alphanumeric somewhere in the entry. Silly me!
>
> Thanks et al,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Guillaume Lerouge 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 12:09 PM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Hi Mark,
>
> I've tested your XAR on my machine on a fresh XE 2.0 instance and...
> it works perfectly well.
>
> I think the problem comes from the text you're inputting in the input
> under "Add a new question" on FAQ.WebHome. I see the first question
> you created is named "FAQ.First+question%2C+entered+as+Admin/" -> can
> you try entering an new question that is simply called "test" (no
> special characters) and see what happens when you do that?
>
> In my case it created http://localhost:9080/xwiki/bin/view/FAQ/test
> which is the expected behavior.
>
> I suspect the characters you entered in the input triggered the
> creation in the wrong location. If that's so, we'll update the FAQ
> application example to include better name cleaning prior to document
> creation.
>
> Guillaume
>
> On 11/16/09, mark_marzi...@bcbsil.com  wrote:
>> Hi Vincent et al,
>>
>> Thanks again for the help, very much appreciated.
>>
>> This url should get you to a gui where you select the file to dl:
>> http://www.esnips.com/web/MarkMarzialepublicfolder
>>
>> There's only 1 file in this folder, named 'myxwiki_export.xar'. Should
>> stick out like a sore thumb.
>>
>> Let me know if you have any trouble.
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 11:03 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> That's a very generous offer and well appreciated.
>>>
>>> At the moment I don't have a url to point you to, but I'll find
>>> something.
>>>
>>> I assume 'Export as XAR' from the xwiki Main page is sufficient?
>>
>> Go to the Admin page, then click export. That'll export the whole wiki
>> but it doesn't matter (unless you want to hide stuff, in which case
>> you could just export the 4 pages: FAQClass, FAQTemplate, FAQSheet and
>> FAQ.WebHome by navigating to each page and choosing export as XAR in
>> the top menu).
>>
>> Of course if your wiki has a public URL it's even easier (but it's
>> probably not the case).
>>
>> Thanks
>> -Vincent
>>
>>> The
>>> resulting xar doesn't seem to have enough content to be of use. I'm
>>> guessing that's because I'm using an external db (MySql). If I'm right
>>> about that, then I can reinstall the standalone xwiki using the
>>> default
>>> hsqldb, rebuild the faq and try again.
>>>
>>> Or perhaps I should export from the FAQ space itself?
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 10:19 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:
>>>
 Hi Vincent,

 Thanks yet again.

 Sadly I'm still creating FAQ entries in the Main space, not the FAQ
 space.

 I'm going to need a little time to cry it all out before I try
 again. I'd
 pull my hair out but there's not enough to get a hold on.
>>>
>>> If you can export your wiki as a XAR and make it available somewhere
>>> at a URL, we could try it out and see what's wrong.
>>>
>>> Thanks
>>> -Vincent
>>>

 Thanks,
 Mark

 BCBS-IL
 ph 312-653-4293
 mark_marzi...@bcbsil.com





 Vincent Massol 
 Sent by: users-boun...@xwiki.org
 11/16/2009 09:59 AM
 Please respond to
 XWiki Users 


 To
 XWiki Users 
 cc

 Subject
 Re: [xwiki-users] problem with FAQ tutoria

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Guillaume,

You got it! Plain old alphanumeric goes into the FAQ space, anything else 
goes to Main.

Every !...@#$! entry I created I used a hyphen or a comma or something not 
strictly alphanumeric somewhere in the entry. Silly me!

Thanks et al,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Guillaume Lerouge  
Sent by: users-boun...@xwiki.org
11/16/2009 12:09 PM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?






Hi Mark,

I've tested your XAR on my machine on a fresh XE 2.0 instance and...
it works perfectly well.

I think the problem comes from the text you're inputting in the input
under "Add a new question" on FAQ.WebHome. I see the first question
you created is named "FAQ.First+question%2C+entered+as+Admin/" -> can
you try entering an new question that is simply called "test" (no
special characters) and see what happens when you do that?

In my case it created http://localhost:9080/xwiki/bin/view/FAQ/test
which is the expected behavior.

I suspect the characters you entered in the input triggered the
creation in the wrong location. If that's so, we'll update the FAQ
application example to include better name cleaning prior to document
creation.

Guillaume

On 11/16/09, mark_marzi...@bcbsil.com  wrote:
> Hi Vincent et al,
>
> Thanks again for the help, very much appreciated.
>
> This url should get you to a gui where you select the file to dl:
> http://www.esnips.com/web/MarkMarzialepublicfolder
>
> There's only 1 file in this folder, named 'myxwiki_export.xar'. Should
> stick out like a sore thumb.
>
> Let me know if you have any trouble.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 11:03 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> That's a very generous offer and well appreciated.
>>
>> At the moment I don't have a url to point you to, but I'll find
>> something.
>>
>> I assume 'Export as XAR' from the xwiki Main page is sufficient?
>
> Go to the Admin page, then click export. That'll export the whole wiki
> but it doesn't matter (unless you want to hide stuff, in which case
> you could just export the 4 pages: FAQClass, FAQTemplate, FAQSheet and
> FAQ.WebHome by navigating to each page and choosing export as XAR in
> the top menu).
>
> Of course if your wiki has a public URL it's even easier (but it's
> probably not the case).
>
> Thanks
> -Vincent
>
>> The
>> resulting xar doesn't seem to have enough content to be of use. I'm
>> guessing that's because I'm using an external db (MySql). If I'm right
>> about that, then I can reinstall the standalone xwiki using the
>> default
>> hsqldb, rebuild the faq and try again.
>>
>> Or perhaps I should export from the FAQ space itself?
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 10:19 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> Thanks yet again.
>>>
>>> Sadly I'm still creating FAQ entries in the Main space, not the FAQ
>>> space.
>>>
>>> I'm going to need a little time to cry it all out before I try
>>> again. I'd
>>> pull my hair out but there's not enough to get a hold on.
>>
>> If you can export your wiki as a XAR and make it available somewhere
>> at a URL, we could try it out and see what's wrong.
>>
>> Thanks
>> -Vincent
>>
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 09:59 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:
>>>
 Hi Vincent,

 One point I want to check out with you. The part of the tutorial
 under the
 heading 'Create a homepage for your application' is a little unclear
 to
 me. I was told the FAQ was written during an earlier version of
 xwiki when
 a Space was called a Web.
>>>
>>> This was true in the past but the FAQ tutorial and the XWiki Class
>>> Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.
>>>
 In latter attempts to follow the tutorial I've
 interpreted 'Go to the "FAQ.WebHome" page' as:
 Go to the Wiki Dashboard (in my setup
 http://localhost/xwiki/bin/view/Main/)
>>>
>>>

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Guillaume Lerouge
Hi Mark,

I've tested your XAR on my machine on a fresh XE 2.0 instance and...
it works perfectly well.

I think the problem comes from the text you're inputting in the input
under "Add a new question" on FAQ.WebHome. I see the first question
you created is named "FAQ.First+question%2C+entered+as+Admin/" -> can
you try entering an new question that is simply called "test" (no
special characters) and see what happens when you do that?

In my case it created http://localhost:9080/xwiki/bin/view/FAQ/test
which is the expected behavior.

I suspect the characters you entered in the input triggered the
creation in the wrong location. If that's so, we'll update the FAQ
application example to include better name cleaning prior to document
creation.

Guillaume

On 11/16/09, mark_marzi...@bcbsil.com  wrote:
> Hi Vincent et al,
>
> Thanks again for the help, very much appreciated.
>
> This url should get you to a gui where you select the file to dl:
> http://www.esnips.com/web/MarkMarzialepublicfolder
>
> There's only 1 file in this folder, named 'myxwiki_export.xar'. Should
> stick out like a sore thumb.
>
> Let me know if you have any trouble.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 11:03 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> That's a very generous offer and well appreciated.
>>
>> At the moment I don't have a url to point you to, but I'll find
>> something.
>>
>> I assume 'Export as XAR' from the xwiki Main page is sufficient?
>
> Go to the Admin page, then click export. That'll export the whole wiki
> but it doesn't matter (unless you want to hide stuff, in which case
> you could just export the 4 pages: FAQClass, FAQTemplate, FAQSheet and
> FAQ.WebHome by navigating to each page and choosing export as XAR in
> the top menu).
>
> Of course if your wiki has a public URL it's even easier (but it's
> probably not the case).
>
> Thanks
> -Vincent
>
>> The
>> resulting xar doesn't seem to have enough content to be of use. I'm
>> guessing that's because I'm using an external db (MySql). If I'm right
>> about that, then I can reinstall the standalone xwiki using the
>> default
>> hsqldb, rebuild the faq and try again.
>>
>> Or perhaps I should export from the FAQ space itself?
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 10:19 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> Thanks yet again.
>>>
>>> Sadly I'm still creating FAQ entries in the Main space, not the FAQ
>>> space.
>>>
>>> I'm going to need a little time to cry it all out before I try
>>> again. I'd
>>> pull my hair out but there's not enough to get a hold on.
>>
>> If you can export your wiki as a XAR and make it available somewhere
>> at a URL, we could try it out and see what's wrong.
>>
>> Thanks
>> -Vincent
>>
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 09:59 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:
>>>
 Hi Vincent,

 One point I want to check out with you. The part of the tutorial
 under the
 heading 'Create a homepage for your application' is a little unclear
 to
 me. I was told the FAQ was written during an earlier version of
 xwiki when
 a Space was called a Web.
>>>
>>> This was true in the past but the FAQ tutorial and the XWiki Class
>>> Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.
>>>
 In latter attempts to follow the tutorial I've
 interpreted 'Go to the "FAQ.WebHome" page' as:
 Go to the Wiki Dashboard (in my setup
 http://localhost/xwiki/bin/view/Main/)
>>>
>>> This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/ for
>>> short).
>>>
 click on the unresolved link in the FAQ space
 edit the resulting page at http://localhost/xwiki/bin/view/FAQ/
>>>
>>> Yes this will create the FAQ.WebHome page.
>>>
 I've been told the url http://localhost/xwiki/bin/view/FAQ/ is
 equivalent
 to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little
 shaky on
 that point.
>>>
>>> Yes it's the same. Forget FAQ/, this is just a shortcut. Always 

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Vincent et al,

Thanks again for the help, very much appreciated.

This url should get you to a gui where you select the file to dl:
http://www.esnips.com/web/MarkMarzialepublicfolder

There's only 1 file in this folder, named 'myxwiki_export.xar'. Should 
stick out like a sore thumb.

Let me know if you have any trouble.

Thanks,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Vincent Massol  
Sent by: users-boun...@xwiki.org
11/16/2009 11:03 AM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?







On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> That's a very generous offer and well appreciated.
>
> At the moment I don't have a url to point you to, but I'll find 
> something.
>
> I assume 'Export as XAR' from the xwiki Main page is sufficient?

Go to the Admin page, then click export. That'll export the whole wiki 
but it doesn't matter (unless you want to hide stuff, in which case 
you could just export the 4 pages: FAQClass, FAQTemplate, FAQSheet and 
FAQ.WebHome by navigating to each page and choosing export as XAR in 
the top menu).

Of course if your wiki has a public URL it's even easier (but it's 
probably not the case).

Thanks
-Vincent

> The
> resulting xar doesn't seem to have enough content to be of use. I'm
> guessing that's because I'm using an external db (MySql). If I'm right
> about that, then I can reinstall the standalone xwiki using the 
> default
> hsqldb, rebuild the faq and try again.
>
> Or perhaps I should export from the FAQ space itself?
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 10:19 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> Thanks yet again.
>>
>> Sadly I'm still creating FAQ entries in the Main space, not the FAQ
>> space.
>>
>> I'm going to need a little time to cry it all out before I try
>> again. I'd
>> pull my hair out but there's not enough to get a hold on.
>
> If you can export your wiki as a XAR and make it available somewhere
> at a URL, we could try it out and see what's wrong.
>
> Thanks
> -Vincent
>
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 09:59 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> One point I want to check out with you. The part of the tutorial
>>> under the
>>> heading 'Create a homepage for your application' is a little unclear
>>> to
>>> me. I was told the FAQ was written during an earlier version of
>>> xwiki when
>>> a Space was called a Web.
>>
>> This was true in the past but the FAQ tutorial and the XWiki Class
>> Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.
>>
>>> In latter attempts to follow the tutorial I've
>>> interpreted 'Go to the "FAQ.WebHome" page' as:
>>> Go to the Wiki Dashboard (in my setup
>>> http://localhost/xwiki/bin/view/Main/)
>>
>> This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/ for
>> short).
>>
>>> click on the unresolved link in the FAQ space
>>> edit the resulting page at http://localhost/xwiki/bin/view/FAQ/
>>
>> Yes this will create the FAQ.WebHome page.
>>
>>> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is
>>> equivalent
>>> to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little
>>> shaky on
>>> that point.
>>
>> Yes it's the same. Forget FAQ/, this is just a shortcut. Always use
>> the fully-qualified name and you'll be fine.
>>
>>> Since the code on this page actually creates the new FAQ entries,
>>> and FAQ
>>> entries are definitely being created (though not in the FAQ space),
>>> I've
>>> been thinking this confusion isn't critical to creating entries in
>>> the
>>> right space. Is that wrong?
>>
>> It's not critical at all. In the tutorial it just asks you to create
>> the FAQ.WebHome page. I've (hopefully) clarified this on the FAQ
>> tutorial page.
>>
>> So is all working for you now?
>>
>> Thanks
>> -Vincent
>>
>>> ---
>>>
>>> For completeness, here's the FAQSheet code:
>>> {{velocity}}
>>> ## You can modify this page to customize the presentation of your
>>> object.
>>> ## At first you should keep the default presentation and just save
>>> the
>>> document.
>>> = Document $doc.name =
>>>
>>> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>>>
>>> #foreach($prop in $class.properties)
>>> ; $prop.prettyName
>>> : $doc.display($prop.getName())
>>> #end
>>> {{/velo

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Vincent Massol

On Nov 16, 2009, at 6:18 PM, Rieken, Joshua wrote:

>
>
>> -Original Message-
>> From: users-boun...@xwiki.org
>> [mailto:users-boun...@xwiki.org] On Behalf Of  
>> mark_marzi...@bcbsil.com
>> Sent: Monday, November 16, 2009 9:21 AM
>> To: XWiki Users
>> Cc: XWiki Users; users-boun...@xwiki.org
>> Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
>> assignment?
>>
>> Hi Vincent,
>>
>> One point I want to check out with you. The part of the
>> tutorial under the heading 'Create a homepage for your
>> application' is a little unclear to me. I was told the FAQ
>> was written during an earlier version of xwiki when a Space
>> was called a Web.
>
> I want to clarify that WebHome is, out of the box, the default page  
> of every space, not just FAQ. The default space page can be changed  
> in xwiki.cfg. It wasn't renamed in the default xwiki.cfg to  
> SpaceHome when Webs became Spaces, probably due to backwards  
> compatibility reasons, but I don't know for sure.

Yes it wasn't renamed for that reason. We have a jira issue to make  
its name configurable but it's not right now.

Thanks
-Vincent

>
>> In latter attempts to follow the tutorial
>> I've interpreted 'Go to the "FAQ.WebHome" page' as:
>> Go to the Wiki Dashboard (in my setup
>> http://localhost/xwiki/bin/view/Main/)
>> click on the unresolved link in the FAQ space edit the
>> resulting page at http://localhost/xwiki/bin/view/FAQ/
>>
>> I've been told the url http://localhost/xwiki/bin/view/FAQ/
>> is equivalent to http://localhost/xwiki/bin/view/FAQ/WebHome/
>> but I'm a little shaky on that point.
>>
>> Since the code on this page actually creates the new FAQ
>> entries, and FAQ entries are definitely being created (though
>> not in the FAQ space), I've been thinking this confusion
>> isn't critical to creating entries in the right space. Is that wrong?
>>
>> ---
>>
>> For completeness, here's the FAQSheet code:
>> {{velocity}}
>> ## You can modify this page to customize the presentation of
>> your object.
>> ## At first you should keep the default presentation and just
>> save the document.
>> = Document $doc.name =
>>
>> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>>
>> #foreach($prop in $class.properties)
>>  ; $prop.prettyName
>>  : $doc.display($prop.getName())
>> #end
>> {{/velocity}}
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 09:05 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> Thanks again for your help.
>>>
>>> As far as the code goes, I did change the default space for the
>>> FAQClass
>>> to FAQ just as the tutorial stated. The code is earlier in
>> this email
>>> trail:
>>>
>> #set($defaultParent = 'FAQ.WebHome')
>> #set($defaultSpace = 'FAQ')
>>
>> Ok I hadn't checked the code you sent. It looks ok. I don't see the
>> FAQSheet code though.
>>
>> Anyway let us know how your 3rd try goes.
>>
>> Thanks
>> -Vincent
>>
>>>
>>> I'm doing this all again from scratch. Maybe 3rd time is a charm.
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 08:46 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
>>>
 Hi Vincent,

 Thanks for your help. I'm sure I'm doing something wrong. My
 difficulty is
 in finding what it is I'm doing wrong. I'll review the steps again,
 this
 time paying special attention to the points you raised.

 It'd help if you could expand on " .. or have set up some different
 configuration for the default wiki syntax for new pages".
>> I installed
 xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar,
 then
 started typing in the faq example. If that somehow affected the
 configuration for default wiki syntax, I'm not aware how.
>>>
>>> If you haven't touched the default config then all new pages are
>>> created in XWiki Syntax 2.0 by default, which is fine and
>> matches the
>>> FAQ tutorial expectations.
>>>
>>> In
>>>
>> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#
>> HCreatetheFAQClass
>>
>>>
>>> , there's a step where you'll see:
>>> #set($defaultSpace = 'Main')
>>>
>>> As described, replace "Main" with the space where you want
>> the docs to
>>> be created, for ex: "FAQ".
>>>
>>> Thanks
>>> -Vincent
>>>
 Point noted on user contributed code.

 Thanks,
 Mark

 BCBS-IL
 ph 312-653-4293
 mark_ma

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Rieken, Joshua


> -Original Message-
> From: users-boun...@xwiki.org
> [mailto:users-boun...@xwiki.org] On Behalf Of mark_marzi...@bcbsil.com
> Sent: Monday, November 16, 2009 9:21 AM
> To: XWiki Users
> Cc: XWiki Users; users-boun...@xwiki.org
> Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
>
> Hi Vincent,
>
> One point I want to check out with you. The part of the
> tutorial under the heading 'Create a homepage for your
> application' is a little unclear to me. I was told the FAQ
> was written during an earlier version of xwiki when a Space
> was called a Web.

I want to clarify that WebHome is, out of the box, the default page of every 
space, not just FAQ. The default space page can be changed in xwiki.cfg. It 
wasn't renamed in the default xwiki.cfg to SpaceHome when Webs became Spaces, 
probably due to backwards compatibility reasons, but I don't know for sure.

> In latter attempts to follow the tutorial
> I've interpreted 'Go to the "FAQ.WebHome" page' as:
> Go to the Wiki Dashboard (in my setup
> http://localhost/xwiki/bin/view/Main/)
> click on the unresolved link in the FAQ space edit the
> resulting page at http://localhost/xwiki/bin/view/FAQ/
>
> I've been told the url http://localhost/xwiki/bin/view/FAQ/
> is equivalent to http://localhost/xwiki/bin/view/FAQ/WebHome/
> but I'm a little shaky on that point.
>
> Since the code on this page actually creates the new FAQ
> entries, and FAQ entries are definitely being created (though
> not in the FAQ space), I've been thinking this confusion
> isn't critical to creating entries in the right space. Is that wrong?
>
> ---
>
> For completeness, here's the FAQSheet code:
> {{velocity}}
> ## You can modify this page to customize the presentation of
> your object.
> ## At first you should keep the default presentation and just
> save the document.
> = Document $doc.name =
>
> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>
> #foreach($prop in $class.properties)
>   ; $prop.prettyName
>   : $doc.display($prop.getName())
> #end
> {{/velocity}}
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 09:05 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
>
> > Hi Vincent,
> >
> > Thanks again for your help.
> >
> > As far as the code goes, I did change the default space for the
> > FAQClass
> > to FAQ just as the tutorial stated. The code is earlier in
> this email
> > trail:
> >
>  #set($defaultParent = 'FAQ.WebHome')
>  #set($defaultSpace = 'FAQ')
>
> Ok I hadn't checked the code you sent. It looks ok. I don't see the
> FAQSheet code though.
>
> Anyway let us know how your 3rd try goes.
>
> Thanks
> -Vincent
>
> >
> > I'm doing this all again from scratch. Maybe 3rd time is a charm.
> >
> > Thanks,
> > Mark
> >
> > BCBS-IL
> > ph 312-653-4293
> > mark_marzi...@bcbsil.com
> >
> >
> >
> >
> >
> > Vincent Massol 
> > Sent by: users-boun...@xwiki.org
> > 11/16/2009 08:46 AM
> > Please respond to
> > XWiki Users 
> >
> >
> > To
> > XWiki Users 
> > cc
> >
> > Subject
> > Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >
> >
> >
> >
> >
> >
> >
> > On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
> >
> >> Hi Vincent,
> >>
> >> Thanks for your help. I'm sure I'm doing something wrong. My
> >> difficulty is
> >> in finding what it is I'm doing wrong. I'll review the steps again,
> >> this
> >> time paying special attention to the points you raised.
> >>
> >> It'd help if you could expand on " .. or have set up some different
> >> configuration for the default wiki syntax for new pages".
> I installed
> >> xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar,
> >> then
> >> started typing in the faq example. If that somehow affected the
> >> configuration for default wiki syntax, I'm not aware how.
> >
> > If you haven't touched the default config then all new pages are
> > created in XWiki Syntax 2.0 by default, which is fine and
> matches the
> > FAQ tutorial expectations.
> >
> > In
> >
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#
> HCreatetheFAQClass
>
> >
> > , there's a step where you'll see:
> > #set($defaultSpace = 'Main')
> >
> > As described, replace "Main" with the space where you want
> the docs to
> > be created, for ex: "FAQ".
> >
> > Thanks
> > -Vincent
> >
> >> Point noted on user contributed code.
> >>
> >> Thanks,
> >> Mark
> >>
> >> BCBS-IL
> >> ph 312-653-4293
> >> mark_marzi...@bcbsil.com
> >>
> >>
> >>
> >>
> >>
> >> Vincent Massol 
> >> Sent by: users-boun...@xwiki.org
> >> 11/16/2009 08:17 AM
> >> Please respond to
> >> XWiki Users 
> >>
> >>
> >> To
> >> XWiki Users 
> >> cc
> >>
> >> Subject
> >> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
> >>
> >>

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Vincent Massol

On Nov 16, 2009, at 5:36 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> That's a very generous offer and well appreciated.
>
> At the moment I don't have a url to point you to, but I'll find  
> something.
>
> I assume 'Export as XAR' from the xwiki Main page is sufficient?

Go to the Admin page, then click export. That'll export the whole wiki  
but it doesn't matter (unless you want to hide stuff, in which case  
you could just export the 4 pages: FAQClass, FAQTemplate, FAQSheet and  
FAQ.WebHome by navigating to each page and choosing export as XAR in  
the top menu).

Of course if your wiki has a public URL it's even easier (but it's  
probably not the case).

Thanks
-Vincent

> The
> resulting xar doesn't seem to have enough content to be of use. I'm
> guessing that's because I'm using an external db (MySql). If I'm right
> about that, then I can reinstall the standalone xwiki using the  
> default
> hsqldb, rebuild the faq and try again.
>
> Or perhaps I should export from the FAQ space itself?
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 10:19 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> Thanks yet again.
>>
>> Sadly I'm still creating FAQ entries in the Main space, not the FAQ
>> space.
>>
>> I'm going to need a little time to cry it all out before I try
>> again. I'd
>> pull my hair out but there's not enough to get a hold on.
>
> If you can export your wiki as a XAR and make it available somewhere
> at a URL, we could try it out and see what's wrong.
>
> Thanks
> -Vincent
>
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 09:59 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> One point I want to check out with you. The part of the tutorial
>>> under the
>>> heading 'Create a homepage for your application' is a little unclear
>>> to
>>> me. I was told the FAQ was written during an earlier version of
>>> xwiki when
>>> a Space was called a Web.
>>
>> This was true in the past but the FAQ tutorial and the XWiki Class
>> Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.
>>
>>> In latter attempts to follow the tutorial I've
>>> interpreted 'Go to the "FAQ.WebHome" page' as:
>>> Go to the Wiki Dashboard (in my setup
>>> http://localhost/xwiki/bin/view/Main/)
>>
>> This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/ for
>> short).
>>
>>> click on the unresolved link in the FAQ space
>>> edit the resulting page at http://localhost/xwiki/bin/view/FAQ/
>>
>> Yes this will create the FAQ.WebHome page.
>>
>>> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is
>>> equivalent
>>> to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little
>>> shaky on
>>> that point.
>>
>> Yes it's the same. Forget FAQ/, this is just a shortcut. Always use
>> the fully-qualified name and you'll be fine.
>>
>>> Since the code on this page actually creates the new FAQ entries,
>>> and FAQ
>>> entries are definitely being created (though not in the FAQ space),
>>> I've
>>> been thinking this confusion isn't critical to creating entries in
>>> the
>>> right space. Is that wrong?
>>
>> It's not critical at all. In the tutorial it just asks you to create
>> the FAQ.WebHome page. I've (hopefully) clarified this on the FAQ
>> tutorial page.
>>
>> So is all working for you now?
>>
>> Thanks
>> -Vincent
>>
>>> ---
>>>
>>> For completeness, here's the FAQSheet code:
>>> {{velocity}}
>>> ## You can modify this page to customize the presentation of your
>>> object.
>>> ## At first you should keep the default presentation and just save
>>> the
>>> document.
>>> = Document $doc.name =
>>>
>>> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>>>
>>> #foreach($prop in $class.properties)
>>> ; $prop.prettyName
>>> : $doc.display($prop.getName())
>>> #end
>>> {{/velocity}}
>>>
>>> Thanks,
>>> Mark
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 09:05 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
>>>
 Hi Vincent,

 Thanks again for your help.

 As far as the code goes, I did change the default space for the
 FAQClass
 to FAQ just as the tutorial stated. The code is earlier in this
>>>

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Vincent,

That's a very generous offer and well appreciated.

At the moment I don't have a url to point you to, but I'll find something.

I assume 'Export as XAR' from the xwiki Main page is sufficient? The 
resulting xar doesn't seem to have enough content to be of use. I'm 
guessing that's because I'm using an external db (MySql). If I'm right 
about that, then I can reinstall the standalone xwiki using the default 
hsqldb, rebuild the faq and try again.

Or perhaps I should export from the FAQ space itself?

Thanks,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Vincent Massol  
Sent by: users-boun...@xwiki.org
11/16/2009 10:19 AM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?







On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> Thanks yet again.
>
> Sadly I'm still creating FAQ entries in the Main space, not the FAQ 
> space.
>
> I'm going to need a little time to cry it all out before I try 
> again. I'd
> pull my hair out but there's not enough to get a hold on.

If you can export your wiki as a XAR and make it available somewhere 
at a URL, we could try it out and see what's wrong.

Thanks
-Vincent

>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 09:59 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> One point I want to check out with you. The part of the tutorial
>> under the
>> heading 'Create a homepage for your application' is a little unclear
>> to
>> me. I was told the FAQ was written during an earlier version of
>> xwiki when
>> a Space was called a Web.
>
> This was true in the past but the FAQ tutorial and the XWiki Class
> Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.
>
>> In latter attempts to follow the tutorial I've
>> interpreted 'Go to the "FAQ.WebHome" page' as:
>> Go to the Wiki Dashboard (in my setup
>> http://localhost/xwiki/bin/view/Main/)
>
> This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/ for
> short).
>
>> click on the unresolved link in the FAQ space
>> edit the resulting page at http://localhost/xwiki/bin/view/FAQ/
>
> Yes this will create the FAQ.WebHome page.
>
>> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is
>> equivalent
>> to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little
>> shaky on
>> that point.
>
> Yes it's the same. Forget FAQ/, this is just a shortcut. Always use
> the fully-qualified name and you'll be fine.
>
>> Since the code on this page actually creates the new FAQ entries,
>> and FAQ
>> entries are definitely being created (though not in the FAQ space),
>> I've
>> been thinking this confusion isn't critical to creating entries in 
>> the
>> right space. Is that wrong?
>
> It's not critical at all. In the tutorial it just asks you to create
> the FAQ.WebHome page. I've (hopefully) clarified this on the FAQ
> tutorial page.
>
> So is all working for you now?
>
> Thanks
> -Vincent
>
>> ---
>>
>> For completeness, here's the FAQSheet code:
>> {{velocity}}
>> ## You can modify this page to customize the presentation of your
>> object.
>> ## At first you should keep the default presentation and just save 
>> the
>> document.
>> = Document $doc.name =
>>
>> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>>
>> #foreach($prop in $class.properties)
>> ; $prop.prettyName
>> : $doc.display($prop.getName())
>> #end
>> {{/velocity}}
>>
>> Thanks,
>> Mark
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 09:05 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> Thanks again for your help.
>>>
>>> As far as the code goes, I did change the default space for the
>>> FAQClass
>>> to FAQ just as the tutorial stated. The code is earlier in this 
>>> email
>>> trail:
>>>
>> #set($defaultParent = 'FAQ.WebHome')
>> #set($defaultSpace = 'FAQ')
>>
>> Ok I hadn't checked the code you sent. It looks ok. I don't see the
>> FAQSheet code though.
>>
>> Anyway let us know how your 3rd try goes.
>>
>> Thanks
>> -Vincent
>>
>>>
>>> I'm doing this all again from scratch. Maybe 3rd time is a charm.
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 08:46 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Vincent Massol

On Nov 16, 2009, at 5:10 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> Thanks yet again.
>
> Sadly I'm still creating FAQ entries in the Main space, not the FAQ  
> space.
>
> I'm going to need a little time to cry it all out before I try  
> again. I'd
> pull my hair out but there's not enough to get a hold on.

If you can export your wiki as a XAR and make it available somewhere  
at a URL, we could try it out and see what's wrong.

Thanks
-Vincent

>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 09:59 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> One point I want to check out with you. The part of the tutorial
>> under the
>> heading 'Create a homepage for your application' is a little unclear
>> to
>> me. I was told the FAQ was written during an earlier version of
>> xwiki when
>> a Space was called a Web.
>
> This was true in the past but the FAQ tutorial and the XWiki Class
> Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.
>
>> In latter attempts to follow the tutorial I've
>> interpreted 'Go to the "FAQ.WebHome" page' as:
>> Go to the Wiki Dashboard (in my setup
>> http://localhost/xwiki/bin/view/Main/)
>
> This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/ for
> short).
>
>> click on the unresolved link in the FAQ space
>> edit the resulting page at http://localhost/xwiki/bin/view/FAQ/
>
> Yes this will create the FAQ.WebHome page.
>
>> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is
>> equivalent
>> to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little
>> shaky on
>> that point.
>
> Yes it's the same. Forget FAQ/, this is just a shortcut. Always use
> the fully-qualified name and you'll be fine.
>
>> Since the code on this page actually creates the new FAQ entries,
>> and FAQ
>> entries are definitely being created (though not in the FAQ space),
>> I've
>> been thinking this confusion isn't critical to creating entries in  
>> the
>> right space. Is that wrong?
>
> It's not critical at all. In the tutorial it just asks you to create
> the FAQ.WebHome page. I've (hopefully) clarified this on the FAQ
> tutorial page.
>
> So is all working for you now?
>
> Thanks
> -Vincent
>
>> ---
>>
>> For completeness, here's the FAQSheet code:
>> {{velocity}}
>> ## You can modify this page to customize the presentation of your
>> object.
>> ## At first you should keep the default presentation and just save  
>> the
>> document.
>> = Document $doc.name =
>>
>> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>>
>> #foreach($prop in $class.properties)
>> ; $prop.prettyName
>> : $doc.display($prop.getName())
>> #end
>> {{/velocity}}
>>
>> Thanks,
>> Mark
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 09:05 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> Thanks again for your help.
>>>
>>> As far as the code goes, I did change the default space for the
>>> FAQClass
>>> to FAQ just as the tutorial stated. The code is earlier in this  
>>> email
>>> trail:
>>>
>> #set($defaultParent = 'FAQ.WebHome')
>> #set($defaultSpace = 'FAQ')
>>
>> Ok I hadn't checked the code you sent. It looks ok. I don't see the
>> FAQSheet code though.
>>
>> Anyway let us know how your 3rd try goes.
>>
>> Thanks
>> -Vincent
>>
>>>
>>> I'm doing this all again from scratch. Maybe 3rd time is a charm.
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 08:46 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
>>>
 Hi Vincent,

 Thanks for your help. I'm sure I'm doing something wrong. My
 difficulty is
 in finding what it is I'm doing wrong. I'll review the steps again,
 this
 time paying special attention to the points you raised.

 It'd help if you could expand on " .. or have set up some different
 configuration for the default wiki syntax for new pages". I
 installed
 xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar,
 then
 started typing in the faq example. If that somehow affected the
 configuration for default wiki syntax, I'm not aware how.
>>>
>>> If you haven't touched the default config then all new pages

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Vincent,

Thanks yet again.

Sadly I'm still creating FAQ entries in the Main space, not the FAQ space.

I'm going to need a little time to cry it all out before I try again. I'd 
pull my hair out but there's not enough to get a hold on.

Thanks,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Vincent Massol  
Sent by: users-boun...@xwiki.org
11/16/2009 09:59 AM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?







On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> One point I want to check out with you. The part of the tutorial 
> under the
> heading 'Create a homepage for your application' is a little unclear 
> to
> me. I was told the FAQ was written during an earlier version of 
> xwiki when
> a Space was called a Web.

This was true in the past but the FAQ tutorial and the XWiki Class 
Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.

> In latter attempts to follow the tutorial I've
> interpreted 'Go to the "FAQ.WebHome" page' as:
> Go to the Wiki Dashboard (in my setup
> http://localhost/xwiki/bin/view/Main/)

This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/ for 
short).

> click on the unresolved link in the FAQ space
> edit the resulting page at http://localhost/xwiki/bin/view/FAQ/

Yes this will create the FAQ.WebHome page.

> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is 
> equivalent
> to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little 
> shaky on
> that point.

Yes it's the same. Forget FAQ/, this is just a shortcut. Always use 
the fully-qualified name and you'll be fine.

> Since the code on this page actually creates the new FAQ entries, 
> and FAQ
> entries are definitely being created (though not in the FAQ space), 
> I've
> been thinking this confusion isn't critical to creating entries in the
> right space. Is that wrong?

It's not critical at all. In the tutorial it just asks you to create 
the FAQ.WebHome page. I've (hopefully) clarified this on the FAQ 
tutorial page.

So is all working for you now?

Thanks
-Vincent

> ---
>
> For completeness, here's the FAQSheet code:
> {{velocity}}
> ## You can modify this page to customize the presentation of your 
> object.
> ## At first you should keep the default presentation and just save the
> document.
> = Document $doc.name =
>
> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>
> #foreach($prop in $class.properties)
>  ; $prop.prettyName
>  : $doc.display($prop.getName())
> #end
> {{/velocity}}
>
> Thanks,
> Mark
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 09:05 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> Thanks again for your help.
>>
>> As far as the code goes, I did change the default space for the
>> FAQClass
>> to FAQ just as the tutorial stated. The code is earlier in this email
>> trail:
>>
> #set($defaultParent = 'FAQ.WebHome')
> #set($defaultSpace = 'FAQ')
>
> Ok I hadn't checked the code you sent. It looks ok. I don't see the
> FAQSheet code though.
>
> Anyway let us know how your 3rd try goes.
>
> Thanks
> -Vincent
>
>>
>> I'm doing this all again from scratch. Maybe 3rd time is a charm.
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 08:46 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> Thanks for your help. I'm sure I'm doing something wrong. My
>>> difficulty is
>>> in finding what it is I'm doing wrong. I'll review the steps again,
>>> this
>>> time paying special attention to the points you raised.
>>>
>>> It'd help if you could expand on " .. or have set up some different
>>> configuration for the default wiki syntax for new pages". I 
>>> installed
>>> xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar,
>>> then
>>> started typing in the faq example. If that somehow affected the
>>> configuration for default wiki syntax, I'm not aware how.
>>
>> If you haven't touched the default config then all new pages are
>> created in XWiki Syntax 2.0 by default, which is fine and matches the
>> FAQ tutorial expectations.
>>
>> In
>>
> 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HCreatetheFAQClass

>
>>
>> , there's a step where you'll see:
>> #set($defaultSpace = 'Main')
>>
>> As described, replace "Main" with the space where you want the docs 
>> to
>> be created, for ex: "FAQ".
>>
>> Thanks
>> -Vincent
>>
>>> Point noted on user contribute

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Rieken, Joshua


> -Original Message-
> From: users-boun...@xwiki.org
> [mailto:users-boun...@xwiki.org] On Behalf Of Valdis Vitolinš
> Sent: Monday, November 16, 2009 9:48 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
>
> > I've been told the url http://localhost/xwiki/bin/view/FAQ/ is
> > equivalent to http://localhost/xwiki/bin/view/FAQ/WebHome/
> but I'm a
> > little shaky on that point.
>
>
> For Xwiki tailing slash is the same as WebHome page. So
> description above is not correct.
> Correct explanation is following:
> http://localhost/xwiki/bin/view/FAQ/ is the same as
> http://localhost/xwiki/bin/view/FAQ/WebHome without tailing slash.
> For other pages URL always finishes with Pagename, not slash, e.g.
> http://localhost/xwiki/bin/view/FAQ/Page1
> http://localhost/xwiki/bin/view/FAQ/Page2 etc.
>
> http://localhost/xwiki/bin/view/FAQ/WebHome/ is the same as
> http://localhost/xwiki/bin/view/FAQ/WebHome/WebHome
> (in this case 1st "WebHome" is space under "Main" space, but
> 2nd "WebHome" is page in "WebHome" space).

I don't think this is correct. I just tried navigating to 
http://localhost/xwiki/bin/view/FAQ/WebHome/ in my installation and was brought 
to http://localhost/xwiki/bin/view/FAQ/WebHome. The trailing slash seems to 
have been ignored.

>
> Valdis
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>

-Joshua
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Vincent Massol

On Nov 16, 2009, at 4:20 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> One point I want to check out with you. The part of the tutorial  
> under the
> heading 'Create a homepage for your application' is a little unclear  
> to
> me. I was told the FAQ was written during an earlier version of  
> xwiki when
> a Space was called a Web.

This was true in the past but the FAQ tutorial and the XWiki Class  
Wizard were rewritten in XWiki Enterprise 2.0 so it's no longer true.

> In latter attempts to follow the tutorial I've
> interpreted 'Go to the "FAQ.WebHome" page' as:
> Go to the Wiki Dashboard (in my setup
> http://localhost/xwiki/bin/view/Main/)

This is not correct. FAQ.WebHome is well... FAQ/WebHome (or FAQ/ for  
short).

> click on the unresolved link in the FAQ space
> edit the resulting page at http://localhost/xwiki/bin/view/FAQ/

Yes this will create the FAQ.WebHome page.

> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is  
> equivalent
> to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little  
> shaky on
> that point.

Yes it's the same. Forget FAQ/, this is just a shortcut. Always use  
the fully-qualified name and you'll be fine.

> Since the code on this page actually creates the new FAQ entries,  
> and FAQ
> entries are definitely being created (though not in the FAQ space),  
> I've
> been thinking this confusion isn't critical to creating entries in the
> right space. Is that wrong?

It's not critical at all. In the tutorial it just asks you to create  
the FAQ.WebHome page. I've (hopefully) clarified this on the FAQ  
tutorial page.

So is all working for you now?

Thanks
-Vincent

> ---
>
> For completeness, here's the FAQSheet code:
> {{velocity}}
> ## You can modify this page to customize the presentation of your  
> object.
> ## At first you should keep the default presentation and just save the
> document.
> = Document $doc.name =
>
> #set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)
>
> #foreach($prop in $class.properties)
>  ; $prop.prettyName
>  : $doc.display($prop.getName())
> #end
> {{/velocity}}
>
> Thanks,
> Mark
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 09:05 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> Thanks again for your help.
>>
>> As far as the code goes, I did change the default space for the
>> FAQClass
>> to FAQ just as the tutorial stated. The code is earlier in this email
>> trail:
>>
> #set($defaultParent = 'FAQ.WebHome')
> #set($defaultSpace = 'FAQ')
>
> Ok I hadn't checked the code you sent. It looks ok. I don't see the
> FAQSheet code though.
>
> Anyway let us know how your 3rd try goes.
>
> Thanks
> -Vincent
>
>>
>> I'm doing this all again from scratch. Maybe 3rd time is a charm.
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 08:46 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>>
>> On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Vincent,
>>>
>>> Thanks for your help. I'm sure I'm doing something wrong. My
>>> difficulty is
>>> in finding what it is I'm doing wrong. I'll review the steps again,
>>> this
>>> time paying special attention to the points you raised.
>>>
>>> It'd help if you could expand on " .. or have set up some different
>>> configuration for the default wiki syntax for new pages". I  
>>> installed
>>> xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar,
>>> then
>>> started typing in the faq example. If that somehow affected the
>>> configuration for default wiki syntax, I'm not aware how.
>>
>> If you haven't touched the default config then all new pages are
>> created in XWiki Syntax 2.0 by default, which is fine and matches the
>> FAQ tutorial expectations.
>>
>> In
>>
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HCreatetheFAQClass
>
>>
>> , there's a step where you'll see:
>> #set($defaultSpace = 'Main')
>>
>> As described, replace "Main" with the space where you want the docs  
>> to
>> be created, for ex: "FAQ".
>>
>> Thanks
>> -Vincent
>>
>>> Point noted on user contributed code.
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Vincent Massol 
>>> Sent by: users-boun...@xwiki.org
>>> 11/16/2009 08:17 AM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>> Hi Mark,
>>>
>>> On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:
>>>
 Hi Josh,

 Than

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Valdis Vītoliņš
> I've been told the url http://localhost/xwiki/bin/view/FAQ/ is equivalent 
> to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little shaky on 
> that point.


For Xwiki tailing slash is the same as WebHome page. So description
above is not correct.
Correct explanation is following:
http://localhost/xwiki/bin/view/FAQ/ is the same as
http://localhost/xwiki/bin/view/FAQ/WebHome without tailing slash.
For other pages URL always finishes with Pagename, not slash, e.g.
http://localhost/xwiki/bin/view/FAQ/Page1
http://localhost/xwiki/bin/view/FAQ/Page2 etc.

http://localhost/xwiki/bin/view/FAQ/WebHome/ is the same as
http://localhost/xwiki/bin/view/FAQ/WebHome/WebHome
(in this case 1st "WebHome" is space under "Main" space, but 2nd
"WebHome" is page in "WebHome" space).

Valdis
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Vincent,

One point I want to check out with you. The part of the tutorial under the 
heading 'Create a homepage for your application' is a little unclear to 
me. I was told the FAQ was written during an earlier version of xwiki when 
a Space was called a Web. In latter attempts to follow the tutorial I've 
interpreted 'Go to the "FAQ.WebHome" page' as:
Go to the Wiki Dashboard (in my setup 
http://localhost/xwiki/bin/view/Main/)
click on the unresolved link in the FAQ space
edit the resulting page at http://localhost/xwiki/bin/view/FAQ/

I've been told the url http://localhost/xwiki/bin/view/FAQ/ is equivalent 
to http://localhost/xwiki/bin/view/FAQ/WebHome/ but I'm a little shaky on 
that point.

Since the code on this page actually creates the new FAQ entries, and FAQ 
entries are definitely being created (though not in the FAQ space), I've 
been thinking this confusion isn't critical to creating entries in the 
right space. Is that wrong?

---

For completeness, here's the FAQSheet code:
{{velocity}}
## You can modify this page to customize the presentation of your object.
## At first you should keep the default presentation and just save the 
document.
= Document $doc.name =

#set($class = $doc.getObject('FAQ.FAQClass').xWikiClass)

#foreach($prop in $class.properties)
  ; $prop.prettyName
  : $doc.display($prop.getName())
#end
{{/velocity}}

Thanks,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Vincent Massol  
Sent by: users-boun...@xwiki.org
11/16/2009 09:05 AM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?







On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> Thanks again for your help.
>
> As far as the code goes, I did change the default space for the 
> FAQClass
> to FAQ just as the tutorial stated. The code is earlier in this email
> trail:
>
 #set($defaultParent = 'FAQ.WebHome')
 #set($defaultSpace = 'FAQ')

Ok I hadn't checked the code you sent. It looks ok. I don't see the 
FAQSheet code though.

Anyway let us know how your 3rd try goes.

Thanks
-Vincent

>
> I'm doing this all again from scratch. Maybe 3rd time is a charm.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 08:46 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> Thanks for your help. I'm sure I'm doing something wrong. My
>> difficulty is
>> in finding what it is I'm doing wrong. I'll review the steps again,
>> this
>> time paying special attention to the points you raised.
>>
>> It'd help if you could expand on " .. or have set up some different
>> configuration for the default wiki syntax for new pages". I installed
>> xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar, 
>> then
>> started typing in the faq example. If that somehow affected the
>> configuration for default wiki syntax, I'm not aware how.
>
> If you haven't touched the default config then all new pages are
> created in XWiki Syntax 2.0 by default, which is fine and matches the
> FAQ tutorial expectations.
>
> In
> 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HCreatetheFAQClass

>
> , there's a step where you'll see:
> #set($defaultSpace = 'Main')
>
> As described, replace "Main" with the space where you want the docs to
> be created, for ex: "FAQ".
>
> Thanks
> -Vincent
>
>> Point noted on user contributed code.
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 08:17 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>> Hi Mark,
>>
>> On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Josh,
>>>
>>> Thanks for your reply and interest.
>>>
>>> Unfortunately I haven't been able to figure out what the heck I'm
>>> doing
>>> wrong in this relatively simple case. Beginning to look at
>>> alternative
>>> wikis.
>>>
>>> Definitely xwiki can be used to build 2.0 level of functionality,
>>> but it
>>> seems to me there's a little too much black box. I've tried other
>>> applications as well .. such as the task manager app .. and found
>>> problems
>>> others have found as well right out of the box. My point is it's
>>> all a
>>> little too vague for my comfort.
>>
>> One thing to note: this task manager app is not written nor supported
>> by the XWiki dev team. It's been contributed by individuals and is
>> supported by them or any contributor who wants to help. The quality 
>> of
>> the code you find on code.xwiki.org varies a lot. All we can 
>> guara

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Vincent Massol

On Nov 16, 2009, at 3:53 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> Thanks again for your help.
>
> As far as the code goes, I did change the default space for the  
> FAQClass
> to FAQ just as the tutorial stated. The code is earlier in this email
> trail:
>
 #set($defaultParent = 'FAQ.WebHome')
 #set($defaultSpace = 'FAQ')

Ok I hadn't checked the code you sent. It looks ok. I don't see the  
FAQSheet code though.

Anyway let us know how your 3rd try goes.

Thanks
-Vincent

>
> I'm doing this all again from scratch. Maybe 3rd time is a charm.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 08:46 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
>
> On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Vincent,
>>
>> Thanks for your help. I'm sure I'm doing something wrong. My
>> difficulty is
>> in finding what it is I'm doing wrong. I'll review the steps again,
>> this
>> time paying special attention to the points you raised.
>>
>> It'd help if you could expand on " .. or have set up some different
>> configuration for the default wiki syntax for new pages". I installed
>> xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar,  
>> then
>> started typing in the faq example. If that somehow affected the
>> configuration for default wiki syntax, I'm not aware how.
>
> If you haven't touched the default config then all new pages are
> created in XWiki Syntax 2.0 by default, which is fine and matches the
> FAQ tutorial expectations.
>
> In
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HCreatetheFAQClass
>
> , there's a step where you'll see:
> #set($defaultSpace = 'Main')
>
> As described, replace "Main" with the space where you want the docs to
> be created, for ex: "FAQ".
>
> Thanks
> -Vincent
>
>> Point noted on user contributed code.
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Vincent Massol 
>> Sent by: users-boun...@xwiki.org
>> 11/16/2009 08:17 AM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>> Hi Mark,
>>
>> On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:
>>
>>> Hi Josh,
>>>
>>> Thanks for your reply and interest.
>>>
>>> Unfortunately I haven't been able to figure out what the heck I'm
>>> doing
>>> wrong in this relatively simple case. Beginning to look at
>>> alternative
>>> wikis.
>>>
>>> Definitely xwiki can be used to build 2.0 level of functionality,
>>> but it
>>> seems to me there's a little too much black box. I've tried other
>>> applications as well .. such as the task manager app .. and found
>>> problems
>>> others have found as well right out of the box. My point is it's
>>> all a
>>> little too vague for my comfort.
>>
>> One thing to note: this task manager app is not written nor supported
>> by the XWiki dev team. It's been contributed by individuals and is
>> supported by them or any contributor who wants to help. The quality  
>> of
>> the code you find on code.xwiki.org varies a lot. All we can  
>> guarantee
>> here is the code that is developed by the XWiki dev team.
>>
>> In general if apps on code.xwiki.org break it's because they haven't
>> been updated at the same rate as the XWiki platform and in general
>> it's really not much to make them work (a few minutes of work).
>>
>> The FAQ tutorial works well AFAIK. IMO you've probably forgotten some
>> steps (in one step you must edit the default template to set in which
>> space new FAQ documents are created - not that it matters, it'll work
>> wherever they are created) or have set up some different  
>> configuration
>> for the default wiki syntax for new pages.
>>
>> Thanks
>> -Vincent
>>
>>> I haven't given up, just beginning to look elsewhere as well.
>>>
>>> Thanks,
>>> Mark
>>>
>>> BCBS-IL
>>> ph 312-653-4293
>>> mark_marzi...@bcbsil.com
>>>
>>>
>>>
>>>
>>>
>>> Josh 
>>> Sent by: users-boun...@xwiki.org
>>> 11/14/2009 03:57 PM
>>> Please respond to
>>> XWiki Users 
>>>
>>>
>>> To
>>> XWiki Users 
>>> cc
>>>
>>> Subject
>>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>>
>>>
>>>
>>>
>>>
>>>
>>> Hi Mark,
>>>
>>> Sorry for the delayed response. I went through the steps of creating
>>> the
>>> FAQ application per the tutorial, but I can't reproduce your issue.
>>> Questions are created in the FAQ space for me, not Main. Your code
>>> looks
>>> fine as well.
>>>
>>> Were you able to figure it out?
>>>
>>> Thanks,
>>> -Joshua-
>>>
>>> mark_marzi...@bcbsil.com wrote:
 Hi Joshua,

 (I apologize to all if this appears more than once; I haven't been
 successful posting to the mailing list since before yesterday.
 Perhaps
>>

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Vincent,

Thanks again for your help.

As far as the code goes, I did change the default space for the FAQClass 
to FAQ just as the tutorial stated. The code is earlier in this email 
trail:

>>> #set($defaultParent = 'FAQ.WebHome')
>>> #set($defaultSpace = 'FAQ')

I'm doing this all again from scratch. Maybe 3rd time is a charm.

Thanks,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Vincent Massol  
Sent by: users-boun...@xwiki.org
11/16/2009 08:46 AM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?







On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> Thanks for your help. I'm sure I'm doing something wrong. My 
> difficulty is
> in finding what it is I'm doing wrong. I'll review the steps again, 
> this
> time paying special attention to the points you raised.
>
> It'd help if you could expand on " .. or have set up some different
> configuration for the default wiki syntax for new pages". I installed
> xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar, then
> started typing in the faq example. If that somehow affected the
> configuration for default wiki syntax, I'm not aware how.

If you haven't touched the default config then all new pages are 
created in XWiki Syntax 2.0 by default, which is fine and matches the 
FAQ tutorial expectations.

In 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HCreatetheFAQClass
 

, there's a step where you'll see:
#set($defaultSpace = 'Main')

As described, replace "Main" with the space where you want the docs to 
be created, for ex: "FAQ".

Thanks
-Vincent

> Point noted on user contributed code.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 08:17 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Hi Mark,
>
> On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Josh,
>>
>> Thanks for your reply and interest.
>>
>> Unfortunately I haven't been able to figure out what the heck I'm
>> doing
>> wrong in this relatively simple case. Beginning to look at 
>> alternative
>> wikis.
>>
>> Definitely xwiki can be used to build 2.0 level of functionality,
>> but it
>> seems to me there's a little too much black box. I've tried other
>> applications as well .. such as the task manager app .. and found
>> problems
>> others have found as well right out of the box. My point is it's 
>> all a
>> little too vague for my comfort.
>
> One thing to note: this task manager app is not written nor supported
> by the XWiki dev team. It's been contributed by individuals and is
> supported by them or any contributor who wants to help. The quality of
> the code you find on code.xwiki.org varies a lot. All we can guarantee
> here is the code that is developed by the XWiki dev team.
>
> In general if apps on code.xwiki.org break it's because they haven't
> been updated at the same rate as the XWiki platform and in general
> it's really not much to make them work (a few minutes of work).
>
> The FAQ tutorial works well AFAIK. IMO you've probably forgotten some
> steps (in one step you must edit the default template to set in which
> space new FAQ documents are created - not that it matters, it'll work
> wherever they are created) or have set up some different configuration
> for the default wiki syntax for new pages.
>
> Thanks
> -Vincent
>
>> I haven't given up, just beginning to look elsewhere as well.
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Josh 
>> Sent by: users-boun...@xwiki.org
>> 11/14/2009 03:57 PM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>> Hi Mark,
>>
>> Sorry for the delayed response. I went through the steps of creating
>> the
>> FAQ application per the tutorial, but I can't reproduce your issue.
>> Questions are created in the FAQ space for me, not Main. Your code
>> looks
>> fine as well.
>>
>> Were you able to figure it out?
>>
>> Thanks,
>> -Joshua-
>>
>> mark_marzi...@bcbsil.com wrote:
>>> Hi Joshua,
>>>
>>> (I apologize to all if this appears more than once; I haven't been
>>> successful posting to the mailing list since before yesterday.
>>> Perhaps
>>> attachments are prohibited? Trying again without.)
>>>
>>> Thanks again, your explanation of spaces was very clear and helpful.
>>>
>>> Now that I have a little better understanding of spaces, I'll
>>> present my
>>
>>> problem. For some reason when I create a FAQ entry, it's not going
>>> into
>>> the FAQ space but instead into the Main space. Per the tutorial, I
>> haven't
>>> created a FAQ space explicitly this go round.
>>>
>>> It seems to me this can 

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Vincent Massol

On Nov 16, 2009, at 3:26 PM, mark_marzi...@bcbsil.com wrote:

> Hi Vincent,
>
> Thanks for your help. I'm sure I'm doing something wrong. My  
> difficulty is
> in finding what it is I'm doing wrong. I'll review the steps again,  
> this
> time paying special attention to the points you raised.
>
> It'd help if you could expand on " .. or have set up some different
> configuration for the default wiki syntax for new pages". I installed
> xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar, then
> started typing in the faq example. If that somehow affected the
> configuration for default wiki syntax, I'm not aware how.

If you haven't touched the default config then all new pages are  
created in XWiki Syntax 2.0 by default, which is fine and matches the  
FAQ tutorial expectations.

In 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HCreatetheFAQClass
 
, there's a step where you'll see:
#set($defaultSpace = 'Main')

As described, replace "Main" with the space where you want the docs to  
be created, for ex: "FAQ".

Thanks
-Vincent

> Point noted on user contributed code.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Vincent Massol 
> Sent by: users-boun...@xwiki.org
> 11/16/2009 08:17 AM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Hi Mark,
>
> On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:
>
>> Hi Josh,
>>
>> Thanks for your reply and interest.
>>
>> Unfortunately I haven't been able to figure out what the heck I'm
>> doing
>> wrong in this relatively simple case. Beginning to look at  
>> alternative
>> wikis.
>>
>> Definitely xwiki can be used to build 2.0 level of functionality,
>> but it
>> seems to me there's a little too much black box. I've tried other
>> applications as well .. such as the task manager app .. and found
>> problems
>> others have found as well right out of the box. My point is it's  
>> all a
>> little too vague for my comfort.
>
> One thing to note: this task manager app is not written nor supported
> by the XWiki dev team. It's been contributed by individuals and is
> supported by them or any contributor who wants to help. The quality of
> the code you find on code.xwiki.org varies a lot. All we can guarantee
> here is the code that is developed by the XWiki dev team.
>
> In general if apps on code.xwiki.org break it's because they haven't
> been updated at the same rate as the XWiki platform and in general
> it's really not much to make them work (a few minutes of work).
>
> The FAQ tutorial works well AFAIK. IMO you've probably forgotten some
> steps (in one step you must edit the default template to set in which
> space new FAQ documents are created - not that it matters, it'll work
> wherever they are created) or have set up some different configuration
> for the default wiki syntax for new pages.
>
> Thanks
> -Vincent
>
>> I haven't given up, just beginning to look elsewhere as well.
>>
>> Thanks,
>> Mark
>>
>> BCBS-IL
>> ph 312-653-4293
>> mark_marzi...@bcbsil.com
>>
>>
>>
>>
>>
>> Josh 
>> Sent by: users-boun...@xwiki.org
>> 11/14/2009 03:57 PM
>> Please respond to
>> XWiki Users 
>>
>>
>> To
>> XWiki Users 
>> cc
>>
>> Subject
>> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>>
>>
>>
>>
>>
>>
>> Hi Mark,
>>
>> Sorry for the delayed response. I went through the steps of creating
>> the
>> FAQ application per the tutorial, but I can't reproduce your issue.
>> Questions are created in the FAQ space for me, not Main. Your code
>> looks
>> fine as well.
>>
>> Were you able to figure it out?
>>
>> Thanks,
>> -Joshua-
>>
>> mark_marzi...@bcbsil.com wrote:
>>> Hi Joshua,
>>>
>>> (I apologize to all if this appears more than once; I haven't been
>>> successful posting to the mailing list since before yesterday.
>>> Perhaps
>>> attachments are prohibited? Trying again without.)
>>>
>>> Thanks again, your explanation of spaces was very clear and helpful.
>>>
>>> Now that I have a little better understanding of spaces, I'll
>>> present my
>>
>>> problem. For some reason when I create a FAQ entry, it's not going
>>> into
>>> the FAQ space but instead into the Main space. Per the tutorial, I
>> haven't
>>> created a FAQ space explicitly this go round.
>>>
>>> It seems to me this can only be happening as a result of the code
>>> that
>>> adds a FAQ, or perhaps in the class definition code which specifies
>>> the
>>> default space. Looks right to me and jibes with what you've said
>>> about
>>> spaces. Here it is yanked directly out of my code .. which was
>>> simply a
>>> copy/paste from the tutorial:
>>>
>>> FAQClass code:
>>> {{velocity}}
>>> ## Replace Main with the Space where you want your documents to be
>>> created.
>>> ## Replace the default parent with the one of your choice and save
>>> the
>>> document.
>>> ##
>>> #set($className = $doc.name.substring(0,  
>>> $d

[xwiki-users] WG: Latex {cases} command doesn't work in default xwiki 2.0 formula macro

2009-11-16 Thread Steven Calkins

Dear Sergiu,

The image I sent made the message to large. If you would like to see the 
rendering I would be glad to send it to you. Simply put, the code you supplied 
still doesn't work even though I copied and pasted your code directly into my 
wiki 2.0 page.

greetings,
 
Steven Calkins
E-Mail: steven.calkins(at)crossmediasolutions.de 

> -Ursprüngliche Nachricht-
> Von: Steven Calkins 
> Gesendet: Montag, 16. November 2009 10:50
> An: 'XWiki Users'
> Betreff: AW: [xwiki-users] Latex {cases} command doesn't work 
> in default xwiki 2.0 formula macro
> 
> Hi Sergiu,
> 
>   I tried your example after changing the line 
> "macro.formula.renderer" in the properties file back to 
> "native"and restarting xwiki. Sadly it still didn't work on 
> my machine. So what is different on your machine compared to 
> mine? (Do you perhaps have a developing environment which 
> automatically finds the proper TeX parts?) I just copied and 
> pasted your example. The rendered results are seen in the 
> attached screenshot. I'm not sure that attachments get 
> through to you, but if you can view it, you can see that the 
> formulae are rendered, just the cases command is not 
> executed. I'm still using a SKIN from 1.9. on XWiki 
> Enterprise 2.0.3.24848, running on postgres but I believe 
> that should be irrelevant. Here's my code:
> 
> START XWIKI CODE ==
> 
> === Continuation and cases===
> This example from wikipedia doesn't seem to work:
> {{formula fontSize="normal"}}
> f(x) = \begin{cases}1 & \mbox{-1 \le x < 0\par} \\ 
> \frac{1}{2} & \mbox{x = 0} \\ 1 - x^2 & 
> \mbox{otherwise\par}\end{cases} {{/formula}}
> 
> Example from Sergiu
> {{formula}}
> f(x) =
>   \begin{cases}
>   1 & -1 \le x \le 0 \\
>   \frac{1}{2} & x = 0 \\
>   1 - x^2 & \mbox{otherwise}
>   \end{cases}
> {{/formula}}
> 
> 
> Case definitions
> 
> Used when a definition has two or more cases. Use the case 
> statement. Notice that the spaces after the instances of if 
> were included inside the mbox declarations.
> 
> {{formula fontSize="normal"}}f(n) = \begin{cases} n/2, & 
> \mbox{if } n\mbox{ is even} \\ 3n+1, & \mbox{if } n\mbox{ is 
> odd} \end{cases}{{/formula}}
> 
> Third try
> {{formula fontSize="normal"}}f(n) = \left\{ \begin{array}{l l}
>   n/2 & \quad \text{if $n$ is even}\\
>   -(n+1)/2 & \quad \text{if $n$ is odd}\\ \end{array} 
> \right.{{/formula}}
> 
> ==END XWIKI CODE==
> 
> Cheers,
> 
> Steven Calkins
> E-Mail: steven.calkins(at)crossmediasolutions.de (in the 
> event you want to see my image and can't)
> 
> 
> -Ursprüngliche Nachricht-
> Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
> Im Auftrag von Sergiu Dumitriu
> Gesendet: Freitag, 13. November 2009 19:16
> An: XWiki Users
> Betreff: Re: [xwiki-users] Latex {cases} command doesn't work 
> in default xwiki 2.0 formula macro
> 
> On 11/13/2009 02:56 PM, Steven Calkins wrote:
> > Hi Sergiu,
> >
> > I tried what you said, adding the line 
> "macro.formula.renderer = native" to WEB-INF/xwiki.properties 
> and saving it. Then I restarted Xwiki but it didn't work. It 
> still rendered the formula in a single line. Then I tried  
> "the line "macro.formula.renderer=mathtran", saved it, and 
> restarted xwiki. It still didn't work. Is there some part of 
> the the TeX package still missing? I just installed XWiki 
> Enterprise 2.0.3.24848, it runs on postgres.
> 
> OK, it seems that the default renderer is the native one, so 
> there was no need to change it.
> 
> I tried your example, and actually there's a problem with the 
> formula. 
> The code from your mail causes the native renderer to fail 
> because there's a syntax error, specifically the first mbox 
> contains \le, which is only valid in math mode. This works fine:
> 
> {{formula}}
> f(x) =
>   \begin{cases}
>   1 & -1 \le x \le 0 \\
>   \frac{1}{2} & x = 0 \\
>   1 - x^2 & \mbox{otherwise}
>   \end{cases}
> {{/formula}}
> 
> > I was a little surprised that I had to add a line in the 
> WEB-INF/xwiki.properties file and not uncomment a line and 
> change its value, as you do in most cases. Could it be that I 
> have an older config file or is the line in 
> WEB-INF/xwiki.properties not available yet in the newest 
> version? I used the config from the download, and changed 
> only those values that pertained to my earlier system settings.
> 
> My fault, I forgot to add this setting in the template that 
> generates xwiki.cfg.
> 
> > Greetings,
> >
> > Steven Calkins
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im 
> > Auftrag von Sergiu Dumitriu
> > Gesendet: Freitag, 13. November 2009 12:31
> > An: XWiki Users
> > Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in 
> > default xwiki 2.0 formula macro
> >
> > On 11/13/2009 11:45 AM, Steven Calkins wrote:
> >> Dear all,
> >>
> >>The LaTeX {case} macro doesn't seem to wor

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Vincent,

Thanks for your help. I'm sure I'm doing something wrong. My difficulty is 
in finding what it is I'm doing wrong. I'll review the steps again, this 
time paying special attention to the points you raised. 

It'd help if you could expand on " .. or have set up some different 
configuration for the default wiki syntax for new pages". I installed 
xwiki from scratch, then pulled in xwiki-enterprise-wiki-2.0.xar, then 
started typing in the faq example. If that somehow affected the 
configuration for default wiki syntax, I'm not aware how.

Point noted on user contributed code.

Thanks,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Vincent Massol  
Sent by: users-boun...@xwiki.org
11/16/2009 08:17 AM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?






Hi Mark,

On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:

> Hi Josh,
>
> Thanks for your reply and interest.
>
> Unfortunately I haven't been able to figure out what the heck I'm 
> doing
> wrong in this relatively simple case. Beginning to look at alternative
> wikis.
>
> Definitely xwiki can be used to build 2.0 level of functionality, 
> but it
> seems to me there's a little too much black box. I've tried other
> applications as well .. such as the task manager app .. and found 
> problems
> others have found as well right out of the box. My point is it's all a
> little too vague for my comfort.

One thing to note: this task manager app is not written nor supported 
by the XWiki dev team. It's been contributed by individuals and is 
supported by them or any contributor who wants to help. The quality of 
the code you find on code.xwiki.org varies a lot. All we can guarantee 
here is the code that is developed by the XWiki dev team.

In general if apps on code.xwiki.org break it's because they haven't 
been updated at the same rate as the XWiki platform and in general 
it's really not much to make them work (a few minutes of work).

The FAQ tutorial works well AFAIK. IMO you've probably forgotten some 
steps (in one step you must edit the default template to set in which 
space new FAQ documents are created - not that it matters, it'll work 
wherever they are created) or have set up some different configuration 
for the default wiki syntax for new pages.

Thanks
-Vincent

> I haven't given up, just beginning to look elsewhere as well.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Josh 
> Sent by: users-boun...@xwiki.org
> 11/14/2009 03:57 PM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Hi Mark,
>
> Sorry for the delayed response. I went through the steps of creating 
> the
> FAQ application per the tutorial, but I can't reproduce your issue.
> Questions are created in the FAQ space for me, not Main. Your code 
> looks
> fine as well.
>
> Were you able to figure it out?
>
> Thanks,
> -Joshua-
>
> mark_marzi...@bcbsil.com wrote:
>> Hi Joshua,
>>
>> (I apologize to all if this appears more than once; I haven't been
>> successful posting to the mailing list since before yesterday. 
>> Perhaps
>> attachments are prohibited? Trying again without.)
>>
>> Thanks again, your explanation of spaces was very clear and helpful.
>>
>> Now that I have a little better understanding of spaces, I'll 
>> present my
>
>> problem. For some reason when I create a FAQ entry, it's not going 
>> into
>> the FAQ space but instead into the Main space. Per the tutorial, I
> haven't
>> created a FAQ space explicitly this go round.
>>
>> It seems to me this can only be happening as a result of the code 
>> that
>> adds a FAQ, or perhaps in the class definition code which specifies 
>> the
>> default space. Looks right to me and jibes with what you've said 
>> about
>> spaces. Here it is yanked directly out of my code .. which was 
>> simply a
>> copy/paste from the tutorial:
>>
>> FAQClass code:
>> {{velocity}}
>> ## Replace Main with the Space where you want your documents to be
>> created.
>> ## Replace the default parent with the one of your choice and save 
>> the
>> document.
>> ##
>> #set($className = $doc.name.substring(0, $doc.name.indexOf("Class")))
>> #set($defaultParent = 'FAQ.WebHome')
>> #set($defaultSpace = 'FAQ')
>> {{/velocity}}
>>
>> {{include document="XWiki.ClassSheet"/}}
>>
>> FAQTemplate code:
>> {{include document="FAQ.FAQSheet"/}}
>>
>> FAQ WebHome code (
> http://localhost/xwiki/bin/edit/FAQ/WebHome?&editor=wiki
>> ):
>> = Existing FAQ entries =
>>
>> {{velocity}}
>> #set($sql = ", BaseObject as obj where obj.name=doc.fullName and
>> obj.className='FAQ.FAQClass' and obj.name<>'FAQ.FAQTemplate'")
>> #set($results = $xwiki.searchDocuments($sql))
>> #if($results.empty)
>> No FAQ has been created yet!
>> #else
>> #foreach ($item in $results)
>> #set($faq = $xwiki.getDocument($item))
>> * [[${faq.disp

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Vincent Massol
Hi Mark,

On Nov 16, 2009, at 2:42 PM, mark_marzi...@bcbsil.com wrote:

> Hi Josh,
>
> Thanks for your reply and interest.
>
> Unfortunately I haven't been able to figure out what the heck I'm  
> doing
> wrong in this relatively simple case. Beginning to look at alternative
> wikis.
>
> Definitely xwiki can be used to build 2.0 level of functionality,  
> but it
> seems to me there's a little too much black box. I've tried other
> applications as well .. such as the task manager app .. and found  
> problems
> others have found as well right out of the box. My point is it's all a
> little too vague for my comfort.

One thing to note: this task manager app is not written nor supported  
by the XWiki dev team. It's been contributed by individuals and is  
supported by them or any contributor who wants to help. The quality of  
the code you find on code.xwiki.org varies a lot. All we can guarantee  
here is the code that is developed by the XWiki dev team.

In general if apps on code.xwiki.org break it's because they haven't  
been updated at the same rate as the XWiki platform and in general  
it's really not much to make them work (a few minutes of work).

The FAQ tutorial works well AFAIK. IMO you've probably forgotten some  
steps (in one step you must edit the default template to set in which  
space new FAQ documents are created - not that it matters, it'll work  
wherever they are created) or have set up some different configuration  
for the default wiki syntax for new pages.

Thanks
-Vincent

> I haven't given up, just beginning to look elsewhere as well.
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marzi...@bcbsil.com
>
>
>
>
>
> Josh 
> Sent by: users-boun...@xwiki.org
> 11/14/2009 03:57 PM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Hi Mark,
>
> Sorry for the delayed response. I went through the steps of creating  
> the
> FAQ application per the tutorial, but I can't reproduce your issue.
> Questions are created in the FAQ space for me, not Main. Your code  
> looks
> fine as well.
>
> Were you able to figure it out?
>
> Thanks,
> -Joshua-
>
> mark_marzi...@bcbsil.com wrote:
>> Hi Joshua,
>>
>> (I apologize to all if this appears more than once; I haven't been
>> successful posting to the mailing list since before yesterday.  
>> Perhaps
>> attachments are prohibited? Trying again without.)
>>
>> Thanks again, your explanation of spaces was very clear and helpful.
>>
>> Now that I have a little better understanding of spaces, I'll  
>> present my
>
>> problem. For some reason when I create a FAQ entry, it's not going  
>> into
>> the FAQ space but instead into the Main space. Per the tutorial, I
> haven't
>> created a FAQ space explicitly this go round.
>>
>> It seems to me this can only be happening as a result of the code  
>> that
>> adds a FAQ, or perhaps in the class definition code which specifies  
>> the
>> default space. Looks right to me and jibes with what you've said  
>> about
>> spaces. Here it is yanked directly out of my code .. which was  
>> simply a
>> copy/paste from the tutorial:
>>
>> FAQClass code:
>> {{velocity}}
>> ## Replace Main with the Space where you want your documents to be
>> created.
>> ## Replace the default parent with the one of your choice and save  
>> the
>> document.
>> ##
>> #set($className = $doc.name.substring(0, $doc.name.indexOf("Class")))
>> #set($defaultParent = 'FAQ.WebHome')
>> #set($defaultSpace = 'FAQ')
>> {{/velocity}}
>>
>> {{include document="XWiki.ClassSheet"/}}
>>
>> FAQTemplate code:
>> {{include document="FAQ.FAQSheet"/}}
>>
>> FAQ WebHome code (
> http://localhost/xwiki/bin/edit/FAQ/WebHome?&editor=wiki
>> ):
>> = Existing FAQ entries =
>>
>> {{velocity}}
>> #set($sql = ", BaseObject as obj where obj.name=doc.fullName and
>> obj.className='FAQ.FAQClass' and obj.name<>'FAQ.FAQTemplate'")
>> #set($results = $xwiki.searchDocuments($sql))
>> #if($results.empty)
>> No FAQ has been created yet!
>> #else
>> #foreach ($item in $results)
>> #set($faq = $xwiki.getDocument($item))
>> * [[${faq.display("question").replace("", "").replace("",
>> "")}>>${item}]]
>> #end
>> #end
>> {{/velocity}}
>>
>> {{velocity}}
>> #if("$!request.docName" != '')
>>  ## Request for creating a new instance
>>  #set($targetDocName = "${request.spaceName}.${request.docName}")
>>  #set($targetDocName = $targetDocName.replace("?", "").replace("#",
>> "").trim())
>>  #if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit',
>> $context.user, $targetDocName))
>>$response.sendRedirect($xwiki.getURL($targetDocName, 'inline',
>> "template=${request.template}&parent=${request.parent}"))
>>## Stop processing, since we already sent a redirect.
>>#stop
>>  #end
>> #end
>>
>> = Add a new question =
>>
>> #if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
>>  {{warning}}The target document already exists. Please choose a
> diffe

Re: [xwiki-users] problem with FAQ tutorial .. space assignment?

2009-11-16 Thread Mark_Marziale
Hi Josh,

Thanks for your reply and interest.

Unfortunately I haven't been able to figure out what the heck I'm doing 
wrong in this relatively simple case. Beginning to look at alternative 
wikis. 

Definitely xwiki can be used to build 2.0 level of functionality, but it 
seems to me there's a little too much black box. I've tried other 
applications as well .. such as the task manager app .. and found problems 
others have found as well right out of the box. My point is it's all a 
little too vague for my comfort.

I haven't given up, just beginning to look elsewhere as well.

Thanks,
Mark

BCBS-IL 
ph 312-653-4293
mark_marzi...@bcbsil.com





Josh  
Sent by: users-boun...@xwiki.org
11/14/2009 03:57 PM
Please respond to
XWiki Users 


To
XWiki Users 
cc

Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?






Hi Mark,

Sorry for the delayed response. I went through the steps of creating the 
FAQ application per the tutorial, but I can't reproduce your issue. 
Questions are created in the FAQ space for me, not Main. Your code looks 
fine as well.

Were you able to figure it out?

Thanks,
-Joshua-

mark_marzi...@bcbsil.com wrote:
> Hi Joshua,
>
> (I apologize to all if this appears more than once; I haven't been 
> successful posting to the mailing list since before yesterday. Perhaps 
> attachments are prohibited? Trying again without.)
>
> Thanks again, your explanation of spaces was very clear and helpful.
>
> Now that I have a little better understanding of spaces, I'll present my 

> problem. For some reason when I create a FAQ entry, it's not going into 
> the FAQ space but instead into the Main space. Per the tutorial, I 
haven't 
> created a FAQ space explicitly this go round.
>
> It seems to me this can only be happening as a result of the code that 
> adds a FAQ, or perhaps in the class definition code which specifies the 
> default space. Looks right to me and jibes with what you've said about 
> spaces. Here it is yanked directly out of my code .. which was simply a 
> copy/paste from the tutorial:
>
> FAQClass code:
> {{velocity}}
> ## Replace Main with the Space where you want your documents to be 
> created.
> ## Replace the default parent with the one of your choice and save the 
> document.
> ##
> #set($className = $doc.name.substring(0, $doc.name.indexOf("Class")))
> #set($defaultParent = 'FAQ.WebHome')
> #set($defaultSpace = 'FAQ')
> {{/velocity}}
>
> {{include document="XWiki.ClassSheet"/}}
>
> FAQTemplate code:
> {{include document="FAQ.FAQSheet"/}}
>
> FAQ WebHome code (
http://localhost/xwiki/bin/edit/FAQ/WebHome?&editor=wiki
> ):
> = Existing FAQ entries =
>
> {{velocity}}
> #set($sql = ", BaseObject as obj where obj.name=doc.fullName and 
> obj.className='FAQ.FAQClass' and obj.name<>'FAQ.FAQTemplate'")
> #set($results = $xwiki.searchDocuments($sql))
> #if($results.empty)
> No FAQ has been created yet!
> #else
> #foreach ($item in $results)
> #set($faq = $xwiki.getDocument($item))
> * [[${faq.display("question").replace("", "").replace("", 
> "")}>>${item}]]
> #end
> #end
> {{/velocity}}
>
> {{velocity}}
> #if("$!request.docName" != '')
>   ## Request for creating a new instance
>   #set($targetDocName = "${request.spaceName}.${request.docName}")
>   #set($targetDocName = $targetDocName.replace("?", "").replace("#", 
> "").trim())
>   #if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit', 
> $context.user, $targetDocName))
> $response.sendRedirect($xwiki.getURL($targetDocName, 'inline', 
> "template=${request.template}&parent=${request.parent}"))
> ## Stop processing, since we already sent a redirect.
> #stop
>   #end
> #end
>
> = Add a new question =
>
> #if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
>   {{warning}}The target document already exists. Please choose a 
different 
> name, or [[view the existing document>>$targetDocName]]{{/warning}}
> #elseif("$!targetDocName" != '')
>   {{warning}}You don't have permission to create that 
document{{/warning}}
> #end
>
> {{html}}
>   
> 
>   
>   
>   
>   
>   Document: 
>   
> 
>   
> {{/html}}
> {{/velocity}}
>
> So what am I missing?
>
> Thanks,
> Mark
> 
>
>
>
>
> "Rieken, Joshua"  
> Sent by: users-boun...@xwiki.org
> 11/10/2009 04:37 PM
> Please respond to
> XWiki Users 
>
>
> To
> XWiki Users 
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Mark,
>
> You're very welcome. It's not necessary to explicitly create the WebHome 

> in FAQ until later in the tutorial. Question/Answer documents that are 
> created from the FAQ Class page will go into the FAQ space, which "comes 

> into existence" the instant any document is placed in it.
>
> For example, if you add a question/answer page called 
> "FAQ.Howtoeditapage", you can still get to it regardless of whether 
> "FAQ.WebHome" exists.
>
> A space "disappears" when every document that is part of the space is 
> deleted. So a space is ju

Re: [xwiki-users] LDAP Authentication fails with AD

2009-11-16 Thread Thomas Mortagne
On Mon, Nov 16, 2009 at 13:31, Paul Rijnhout
 wrote:
> HI Thomas,
>
> Thanks for your reply. I'm using 2.0.3, freshly installed, no other pages 
> imported or loaded, just the default Xwiki XAR, and this is the result.
>

I think the jldap automatic referral support support only anonymous
access to referals. Does
ldap://ForestDnsZones.mega.local/DC=ForestDnsZones,DC=mega,DC=local
login/password ? That maybe would explain. If that's the case would be
great if you could create an issue on http://jira.xwiki.org about
referral with authentication support.

What is weird is that error message seems to indicate that automatic
referral support is not enabled ("referral following is off"), i would
need to test it more when i can find some time.

> Met vriendelijke groet/Best regards,
>
> Paul Rijnhout
> ICT Manager
>
> -Oorspronkelijk bericht-
> Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Thomas 
> Mortagne
> Verzonden: zaterdag 14 november 2009 18:24
> Aan: XWiki Users
> Onderwerp: Re: [xwiki-users] LDAP Authentication fails with AD
>
> Hi,
>
> On Sat, Nov 14, 2009 at 10:19, Paul Rijnhout
>  wrote:
>> Hello,
>>
>> I seem to have a LDAP configuration problem which I can not solve. I'm tryin 
>> gto authenticate to a AD Windows 2008 domain. The domain is standard one 
>> forest, one domain named mega.local. I;ve configured xwiki.cfg according 
>> instructions with:
>> #-
>> # LDAP
>> #-
>>
>> #-# new LDAP authentication service
>> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>>
>> #-# Turn LDAP authentication on - otherwise only XWiki authentication
>> #-# 0: disable
>> #-# 1: enable
>> xwiki.authentication.ldap=1
>>
>> #-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
>> xwiki.authentication.ldap.server=hf-dom02.mega.local
>> xwiki.authentication.ldap.port=389
>>
>> #-# LDAP login, empty = anonymous access, otherwise specify full dn
>> #-# {0} is replaced with the username, {1} with the password
>> xwiki.authentication.ldap.bind_DN=mega\\sa_ad
>> xwiki.authentication.ldap.bind_pass=.
>>
>> #-# Force to check password after LDAP connection
>> #-# 0: disable
>> #-# 1: enable
>> xwiki.authentication.ldap.validate_password=0
>>
>> #-# only members of the following group will be verified in the LDAP
>> #-# otherwise only users that are found after searching starting from the 
>> base_DN
>> # xwiki.authentication.ldap.user_group=cn=Users
>>
>> #-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
>> #-# only users not member of the following group can autheticate
>> # xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
>>
>> #-# base DN for searches
>> xwiki.authentication.ldap.base_DN=dc=mega,dc=local
>>
>> #-# Specifies the LDAP attribute containing the identifier to be used as the 
>> XWiki name (default=cn)
>> xwiki.authentication.ldap.UID_attr=saAMAccountName
>
> It's sAMAccountName, maybe you did a wrong copy past in the mail
>
>>
>> But all searches failed with the following error. Anyone ideas left?
>>
>> 2009-11-13 13:53:47,157 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>>  INFO  .AbstractXWikiMigrationManager  - No storage migration required since 
>> current version is [15429]
>> 2009-11-13 13:53:48,735 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>>  DEBUG LDAP.XWikiLDAPAuthServiceImpl   - The provided user is null. We don't 
>> try to authenticate, it probably means the user is in non logged mode.
>> 2009-11-13 13:53:48,735 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>>  DEBUG ldap.XWikiLDAPConfig            - ldap_group_classes: [groupofnames, 
>> groupwisedistributionlist, dynamicgroup, dynamicgroupaux, 
>> groupofuniquenames, group]
>> 2009-11-13 13:53:48,735 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
>> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] DEBUG 
>> ldap.XWikiLDAPConfig            - ldap_group_memberfields: [member, 
>> uniquemember]
>> 2009-11-13 13:53:48,767 
>> [http://ict.mega.local/bin/loginsubmit/X

Re: [xwiki-users] LDAP Authentication fails with AD

2009-11-16 Thread Paul Rijnhout
HI Thomas,

Thanks for your reply. I'm using 2.0.3, freshly installed, no other pages 
imported or loaded, just the default Xwiki XAR, and this is the result.

Met vriendelijke groet/Best regards, 

Paul Rijnhout 
ICT Manager

-Oorspronkelijk bericht-
Van: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Namens Thomas 
Mortagne
Verzonden: zaterdag 14 november 2009 18:24
Aan: XWiki Users
Onderwerp: Re: [xwiki-users] LDAP Authentication fails with AD

Hi,

On Sat, Nov 14, 2009 at 10:19, Paul Rijnhout
 wrote:
> Hello,
>
> I seem to have a LDAP configuration problem which I can not solve. I'm tryin 
> gto authenticate to a AD Windows 2008 domain. The domain is standard one 
> forest, one domain named mega.local. I;ve configured xwiki.cfg according 
> instructions with:
> #-
> # LDAP
> #-
>
> #-# new LDAP authentication service
> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>
> #-# Turn LDAP authentication on - otherwise only XWiki authentication
> #-# 0: disable
> #-# 1: enable
> xwiki.authentication.ldap=1
>
> #-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
> xwiki.authentication.ldap.server=hf-dom02.mega.local
> xwiki.authentication.ldap.port=389
>
> #-# LDAP login, empty = anonymous access, otherwise specify full dn
> #-# {0} is replaced with the username, {1} with the password
> xwiki.authentication.ldap.bind_DN=mega\\sa_ad
> xwiki.authentication.ldap.bind_pass=.
>
> #-# Force to check password after LDAP connection
> #-# 0: disable
> #-# 1: enable
> xwiki.authentication.ldap.validate_password=0
>
> #-# only members of the following group will be verified in the LDAP
> #-# otherwise only users that are found after searching starting from the 
> base_DN
> # xwiki.authentication.ldap.user_group=cn=Users
>
> #-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
> #-# only users not member of the following group can autheticate
> # xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
>
> #-# base DN for searches
> xwiki.authentication.ldap.base_DN=dc=mega,dc=local
>
> #-# Specifies the LDAP attribute containing the identifier to be used as the 
> XWiki name (default=cn)
> xwiki.authentication.ldap.UID_attr=saAMAccountName

It's sAMAccountName, maybe you did a wrong copy past in the mail

>
> But all searches failed with the following error. Anyone ideas left?
>
> 2009-11-13 13:53:47,157 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>  INFO  .AbstractXWikiMigrationManager  - No storage migration required since 
> current version is [15429]
> 2009-11-13 13:53:48,735 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>  DEBUG LDAP.XWikiLDAPAuthServiceImpl   - The provided user is null. We don't 
> try to authenticate, it probably means the user is in non logged mode.
> 2009-11-13 13:53:48,735 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>  DEBUG ldap.XWikiLDAPConfig            - ldap_group_classes: [groupofnames, 
> groupwisedistributionlist, dynamicgroup, dynamicgroupaux, groupofuniquenames, 
> group]
> 2009-11-13 13:53:48,735 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] DEBUG 
> ldap.XWikiLDAPConfig            - ldap_group_memberfields: [member, 
> uniquemember]
> 2009-11-13 13:53:48,767 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>  DEBUG ldap.XWikiLDAPConnection        - Connection to LDAP server 
> [hf-dom02.mega.local:389]
> 2009-11-13 13:53:48,782 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin] 
> [http://ict.mega.local/bin/loginsubmit/XWiki/XWikiLogin]
>  DEBUG ldap.XWikiLDAPConnection        - Binding to LDAP server with 
> credentials login=[mega\sa_ad]
> 2009-11-13 13:53:48,813 
> 

Re: [xwiki-users] Help with hibernate problem

2009-11-16 Thread Linda Charlotta Ursin
Try now

mvh
 
Linda Ursin
Brukersenteret

-Opprinnelig melding-
Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne av 
Sergiu Dumitriu
Sendt: 16. november 2009 11:40
Til: XWiki Users
Emne: Re: [xwiki-users] Help with hibernate problem

On 11/16/2009 11:25 AM, Linda Charlotta Ursin wrote:
> You can find the files here:
>
> http://heksebua.com/support/catalina.2009-11-13.log
> http://heksebua.com/support/localhost.2009-11-13.log
> http://heksebua.com/support/xwiki.log
> http://heksebua.com/support/hibernate.cfg.xml
> http://heksebua.com/support/syslog_java.txt

I get a Not Found error for all these files.

> (The last file is the output from the command cat /var/log/syslog | grep java)
>
> I should mention that the machine is running with the wrong date and time.
>
> xwikitest:/var/log# date
> Fri Nov 13 17:21:51 CET 2009
>
> Real date and time: Fri Nov 16 11:21:51 CET 2009
>
> mvh
>
> Linda Ursin
> Brukersenteret
>
> -Opprinnelig melding-
> Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne av 
> Sergiu Dumitriu
> Sendt: 16. november 2009 10:03
> Til: XWiki Users
> Emne: Re: [xwiki-users] Help with hibernate problem
>
> On 11/16/2009 09:22 AM, Linda Charlotta Ursin wrote:
>> Hi
>>
>> I get the errors below on my newly installed xwiki. I've followed the 
>> instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch 
>> (whith the exception of point 11, which I was trying to do now)
>>
>> I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration 
>> and I'm unable to find the problem. Could you please help me solve this?
>>
>>
>>
>>
>> HTTP Status 500 -
>>
>> 
>>
>>
>> type Exception report
>>
>> message
>>
>> description The server encountered an internal error () that prevented it 
>> from fulfilling this request.
>>
>> exception
>>
>> javax.servlet.ServletException: Error number 3 in 0: Could not initialize 
>> main XWiki context
>> Wrapped Exception: Error number 3001 in 3: Cannot load class 
>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
>> param xwiki.store.migration.manager.class
>> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
>> Wrapped Exception: invalid configuration
>>   
>> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>>   
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>>   
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>   
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>   
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>   
>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>>   
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>>   
>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>>   
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>>
>> root cause
>>
>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
>> XWiki context
>> Wrapped Exception: Error number 3001 in 3: Cannot load class 
>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
>> param xwiki.store.migration.manager.class
>> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
>> Wrapped Exception: invalid configuration
>>   com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
>>   com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
>>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>>   
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>>   
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>   
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>   
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>   
>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>>   
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>>   
>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFi

Re: [xwiki-users] Help with hibernate problem

2009-11-16 Thread Sergiu Dumitriu
On 11/16/2009 11:25 AM, Linda Charlotta Ursin wrote:
> You can find the files here:
>
> http://heksebua.com/support/catalina.2009-11-13.log
> http://heksebua.com/support/localhost.2009-11-13.log
> http://heksebua.com/support/xwiki.log
> http://heksebua.com/support/hibernate.cfg.xml
> http://heksebua.com/support/syslog_java.txt

I get a Not Found error for all these files.

> (The last file is the output from the command cat /var/log/syslog | grep java)
>
> I should mention that the machine is running with the wrong date and time.
>
> xwikitest:/var/log# date
> Fri Nov 13 17:21:51 CET 2009
>
> Real date and time: Fri Nov 16 11:21:51 CET 2009
>
> mvh
>
> Linda Ursin
> Brukersenteret
>
> -Opprinnelig melding-
> Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne av 
> Sergiu Dumitriu
> Sendt: 16. november 2009 10:03
> Til: XWiki Users
> Emne: Re: [xwiki-users] Help with hibernate problem
>
> On 11/16/2009 09:22 AM, Linda Charlotta Ursin wrote:
>> Hi
>>
>> I get the errors below on my newly installed xwiki. I've followed the 
>> instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch 
>> (whith the exception of point 11, which I was trying to do now)
>>
>> I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration 
>> and I'm unable to find the problem. Could you please help me solve this?
>>
>>
>>
>>
>> HTTP Status 500 -
>>
>> 
>>
>>
>> type Exception report
>>
>> message
>>
>> description The server encountered an internal error () that prevented it 
>> from fulfilling this request.
>>
>> exception
>>
>> javax.servlet.ServletException: Error number 3 in 0: Could not initialize 
>> main XWiki context
>> Wrapped Exception: Error number 3001 in 3: Cannot load class 
>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
>> param xwiki.store.migration.manager.class
>> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
>> Wrapped Exception: invalid configuration
>>   
>> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>>   
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>>   
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>   
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>   
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>   
>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>>   
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>>   
>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>>   
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>>
>> root cause
>>
>> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
>> XWiki context
>> Wrapped Exception: Error number 3001 in 3: Cannot load class 
>> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
>> param xwiki.store.migration.manager.class
>> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
>> Wrapped Exception: invalid configuration
>>   com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
>>   com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
>>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>>   com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>>   
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>>   
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>>   
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>>   
>> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>   
>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>>   com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>>   
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>>   
>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>>   
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>>
>> note The full stack trace of the root cause is available in the Apache 
>> Tomcat/5.5 logs.
>
> Could you get the full stack trace from 

Re: [xwiki-users] Help with hibernate problem

2009-11-16 Thread Linda Charlotta Ursin
You can find the files here:

http://heksebua.com/support/catalina.2009-11-13.log
http://heksebua.com/support/localhost.2009-11-13.log
http://heksebua.com/support/xwiki.log
http://heksebua.com/support/hibernate.cfg.xml
http://heksebua.com/support/syslog_java.txt

(The last file is the output from the command cat /var/log/syslog | grep java)

I should mention that the machine is running with the wrong date and time. 

xwikitest:/var/log# date
Fri Nov 13 17:21:51 CET 2009

Real date and time: Fri Nov 16 11:21:51 CET 2009

mvh
 
Linda Ursin
Brukersenteret

-Opprinnelig melding-
Fra: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] På vegne av 
Sergiu Dumitriu
Sendt: 16. november 2009 10:03
Til: XWiki Users
Emne: Re: [xwiki-users] Help with hibernate problem

On 11/16/2009 09:22 AM, Linda Charlotta Ursin wrote:
> Hi
>
> I get the errors below on my newly installed xwiki. I've followed the 
> instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch 
> (whith the exception of point 11, which I was trying to do now)
>
> I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration 
> and I'm unable to find the problem. Could you please help me solve this?
>
>
>
>
> HTTP Status 500 -
>
> 
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it 
> from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Error number 3 in 0: Could not initialize 
> main XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: invalid configuration
>  
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>  
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>  
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>  
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>  org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>  com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>  
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>  
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>  
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
> XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: invalid configuration
>  com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
>  com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
>  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>  
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>  
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>  
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>  org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>  com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>  
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>  
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>  
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>
> note The full stack trace of the root cause is available in the Apache 
> Tomcat/5.5 logs.

Could you get the full stack trace from the tomcat logs?

Could you post the hibernate config?

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] [myxwiki] new wiki request gtllmipy

2009-11-16 Thread Gaël Blondelle - Petals Link
Thank you very much Vincent,

No problem for the registration, I'll register my users :-).

Regards,
Gaël Blondelle


-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de
Vincent Massol
Envoyé : vendredi 13 novembre 2009 17:32
À : XWiki Users
Objet : Re: [xwiki-users] [myxwiki] new wiki request gtllmipy


On Nov 13, 2009, at 5:28 PM, Vincent Massol wrote:

>
> On Nov 13, 2009, at 5:09 PM, Gaël Blondelle - Petals Link wrote:
>
>> Hi Vincent,
>>
>> I am sorry, but I read the indications too fast :-)
>
> Done: http://gtllmipy.myxwiki.org/
>
> Note: The wiki is created open by default. Change the permissions if  
> you don't want that. Right now anyone can register and have edit  
> rights.

Just to be on the safe side, I've removed the right to register for  
unregistered users.

-Vincent

> Enjoy
> -Vincent
>
>> So here are the missing data:
>> Login : gblondelle
>> Wiki Name : gtllmipy
>> Description :
>> Groupe Thématique sur les Logiciels Libres en Région Midi-Pyrénées
>>
>> Cheers,
>> Gaël Blondelle
>>
>>
>> -Message d'origine-
>> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la  
>> part de
>> Vincent Massol
>> Envoyé : vendredi 13 novembre 2009 16:38
>> À : XWiki Users
>> Objet : Re: [xwiki-users] [myxwiki] new wiki request gtllmipy
>>
>> Hi Gael,
>>
>> On Nov 13, 2009, at 3:55 PM, Gaël Blondelle - Petals Link wrote:
>>
>>> Hi there,
>>>
>>>
>>>
>>> This morning, I attended a meeting with a group of interest about
>>> FLOSS in
>>> our area (South West of France).
>>>
>>>
>>>
>>> We all want to start collaborating, but we definitely need a good
>>> wiki with
>>> features like WISIWYG editor and Templates.
>>>
>>>
>>>
>>> This group is totally not for profit, and is not even an established
>>> organisation by now.
>>>
>>>
>>>
>>> So I request to create a new wiki named gtllmipy on your farm so
>>> that I can
>>> push Xwiki as the collaboration solution for our group.
>>
>> Please provide a description for the wiki and a username for the  
>> owner
>> (you need to register on myxwiki.org and give us this user name).
>>
>> Thanks
>> -Vincent

___
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] Help with hibernate problem

2009-11-16 Thread Sergiu Dumitriu
On 11/16/2009 09:22 AM, Linda Charlotta Ursin wrote:
> Hi
>
> I get the errors below on my newly installed xwiki. I've followed the 
> instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch 
> (whith the exception of point 11, which I was trying to do now)
>
> I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration 
> and I'm unable to find the problem. Could you please help me solve this?
>
>
>
>
> HTTP Status 500 -
>
> 
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it 
> from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: Error number 3 in 0: Could not initialize 
> main XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: invalid configuration
>  
> org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
>  
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
>  
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>  
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>  org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>  com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>  
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>  
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>  
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
> XWiki context
> Wrapped Exception: Error number 3001 in 3: Cannot load class 
> com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
> param xwiki.store.migration.manager.class
> Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
> Wrapped Exception: invalid configuration
>  com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
>  com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
>  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
>  com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>  
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
>  
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
>  
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>  org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
>  com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>  
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>  
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>  
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>
> note The full stack trace of the root cause is available in the Apache 
> Tomcat/5.5 logs.

Could you get the full stack trace from the tomcat logs?

Could you post the hibernate config?

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Help with hibernate problem

2009-11-16 Thread Linda Charlotta Ursin
Hi

I get the errors below on my newly installed xwiki. I've followed the 
instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch (whith 
the exception of point 11, which I was trying to do now)

I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration and 
I'm unable to find the problem. Could you please help me solve this?

 


HTTP Status 500 - 




type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

javax.servlet.ServletException: Error number 3 in 0: Could not initialize main 
XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class 
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid configuration

org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)

com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)

com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)

com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)

root cause 

com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class 
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)

org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)

com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)

com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)

com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)

note The full stack trace of the root cause is available in the Apache 
Tomcat/5.5 logs.




Apache Tomcat/5.5


 

mvh


Linda Ursin
Brukersenteret
_

 

Brukersenter ved HiST er brukerens første kontaktpunkt ved IKT-relaterte 
spørsmål og problemer. Vi har betjent telefon mellom 08:00 og 15:00. 
Tlf: (73 5)5 99 00
E-post: brukersen...@hist.no   
Du finner oss også på Ansattportalen og Studentportalen. Vennligst sjekk våre 
sider der (spesielt veiviserne) før du melder et problem til oss.

 

NB! Da vi kommuniserer med deg vedrørende en sak, trenger vi tilbakemelding fra 
deg også når det fungerer slik at vi kan avslutte saken.

 

Vi ber om at du, så langt som mulig, benytter den adressen du er blitt tildelt 
her ved HiST når du kontakter oss pr. e-post. Da vet vi hvem du er med en gang 
og slipper å finne deg frem, pluss at vi vet at du faktisk jobber/studerer ved 
HiST.

 

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