[xwiki-users] unsubscribe

2011-05-04 Thread brian
unsubscribe

On Wed, 04 May 2011 07:19:58 +0200, users-requ...@xwiki.org wrote:
Send users mailing list submissions to
  users@xwiki.org

 To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.xwiki.org/mailman/listinfo/users
 or, via email, send a message with subject or body 'help' to
  users-requ...@xwiki.org

 You can reach the person managing the list at
  users-ow...@xwiki.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of users digest...


 Today's Topics:

1. Re: XWiki.war + JBoss AS6 + MySQL (Sergiu Dumitriu)
2. Re: XWiki.war + JBoss AS6 + MySQL (andyp)
3. Re: XWiki.war + JBoss AS6 + MySQL (Sergiu Dumitriu)
4. Re: XWiki.war + JBoss AS6 + MySQL (andyp)
5. Re: Error while parsing velocity page Wrapped Exception
   (Marius Dumitru Florea)


 --

 Message: 1
 Date: Wed, 04 May 2011 00:42:54 +0200
 From: Sergiu Dumitriu ser...@xwiki.com
 Subject: Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL
 To: XWiki Users users@xwiki.org
 Message-ID: 4dc084ee.8040...@xwiki.com
 Content-Type: text/plain; charset=UTF-8; format=flowed

 On 05/04/2011 12:21 AM, andyp wrote:
  Vincent and Sergiu ? thanks both for all your replies.  Unfortunately the
  headache continues.  I'm not sure if this is correct but making the below
  changes to jboss-web.xml no longer crashes JBoss but XWiki still fails with
  the stack trace at the bottom of this message. 
 
  ?Should we create a jboss-web.xml configuration file as well?
 
  We recently added a sun-web.xml file to fix another classloading
  problem, this time for GlassFish. ?
 
  To someone like me ? this seems like a great idea.  Anything you can do to
  ease the learning curve for a newbie trying to setup and learn XWiki can't
  be bad. 
 
  Cheers,
  Andy
 
 
  $JBOSS_HOME/server/default/deploy/xwiki.war/WEB-INF/jboss-web.xml:
 
  ?xml version=1.0 encoding=UTF-8?
  jboss-web
   loader-repository
   com.xwiki:archive=xwiki.war
   /loader-repository
   resource-ref
   res-ref-namejdbc/XWikiDS/res-ref-name
   res-typejavax.sql.DataSource/res-type
   jndi-namejava:jdbc/XWikiDS/jndi-name
   /resource-ref
  /jboss-web
 

 Can you try this one:

  ?xml version=1.0 encoding=UTF-8?
  jboss-web
class-loading java2ClassLoadingCompliance=false
  loader-repository
org.xwiki:archive=xwiki.war

 loader-repository-configjava2ParentDelegation=false/loader-repository-config
  /loader-repository
/class-loading
resource-ref
  res-ref-namejdbc/XWikiDS/res-ref-name
  res-typejavax.sql.DataSource/res-type
  jndi-namejava:jdbc/XWikiDS/jndi-name
/resource-ref
  /jboss-web

 -- Sergiu Dumitriu
 http://purl.org/net/sergiu/


 --

 Message: 2
 Date: Tue, 3 May 2011 16:54:47 -0700 (PDT)
 From: andyp andy_pi...@hotmail.com
 Subject: Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL
 To: users@xwiki.org
 Message-ID: 1304466887416-6329205.p...@n2.nabble.com
 Content-Type: text/plain; charset=us-ascii

 Hi Sergiu,

 If I try that I get the same class loading error and JBoss is unable to
 start:

 

   JBoss Bootstrap Environment

   JBOSS_HOME: /usr/local/jboss

   JAVA: /usr/lib/jvm/java-6-sun/bin/java

   JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m
 -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=360
 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true
 -Dprogram.name=run.sh -Djava.li$

   CLASSPATH:
 /usr/local/jboss/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar

 

 23:36:21,795 INFO  [AbstractJBossASServerBase] Server Configuration:

 JBOSS_HOME URL: file:/java/apps/jboss/jboss-6.0.0.Final/
 Bootstrap: $JBOSS_HOME/server/default/conf/bootstrap.xml
 Common Base: $JBOSS_HOME/common/
 Common Library: $JBOSS_HOME/common/lib/
 Server Name: default
 Server Base: $JBOSS_HOME/server/
 Server Library: $JBOSS_HOME/server/default/lib/
 Server Config: $JBOSS_HOME/server/default/conf/
 Server Home: $JBOSS_HOME/server/default/
 Server Data: $JBOSS_HOME/server/default/data/
 Server Log: $JBOSS_HOME/server/default/log/
 Server Temp: $JBOSS_HOME/server/default/tmp/

 23:36:21,798 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final Neo]
 23:36:23,652 INFO  [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc. 
 23:36:23,652 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime
 Environment (build 1.6.0_24-b07)
 23:36:23,652 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM
 19.1-b02,Sun Microsystems Inc. 
 23:36:23,653 INFO  [ServerInfo] OS-System: Linux 2.6.35-28-server,amd64
 23:36:23,653 INFO  [ServerInfo] VM arguments: -Xms128m -Xmx512m
 

Re: [xwiki-users] Error while parsing velocity page Wrapped Exception

2011-05-04 Thread wac
Hello Marius,

thanks! I was able to disable the left column. So the panel in  
question is not executed every time.

So the wiki itself is up and running again. Unfortunately when I try  
to go into the Panel Wizard I get a similar error:

Error number 4001 in 4: Error while parsing velocity page  
/templates/admin.vm Wrapped Exception: Failed to evaluate content with  
id [/templates/admin.vm]

Is there a way to disable or delete a panel with executing it first?
Attached you?ll find the whole error messages.

Thanks for your help,
Chris


Error number 4001 in 4: Error while parsing velocity page  
/templates/admin.vm Wrapped Exception: Failed to evaluate content with  
id [/templates/admin.vm]

Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm
Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while  
parsing velocity page /templates/admin.vm
Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm]
at  
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1873)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at  
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at  
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at  
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
at  
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at  
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at  
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at  
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
at  
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
at  
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:662)


Wrapped Exception:

java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:85)
at java.util.Stack.pop(Stack.java:67)

Re: [xwiki-users] Error while parsing velocity page Wrapped Exception

2011-05-04 Thread Thomas Mortagne
On Wed, May 4, 2011 at 10:16,  w...@yellowhippy.com wrote:
 Hello Marius,

 thanks! I was able to disable the left column. So the panel in
 question is not executed every time.

 So the wiki itself is up and running again. Unfortunately when I try
 to go into the Panel Wizard I get a similar error:

 Error number 4001 in 4: Error while parsing velocity page
 /templates/admin.vm Wrapped Exception: Failed to evaluate content with
 id [/templates/admin.vm]

 Is there a way to disable or delete a panel with executing it first?
 Attached you?ll find the whole error messages.

If you know exactly what the panel is you can directly go to the
delete URL: /xwiki/bin/delete/Panels/MyPanel


 Thanks for your help,
 Chris


 Error number 4001 in 4: Error while parsing velocity page
 /templates/admin.vm Wrapped Exception: Failed to evaluate content with
 id [/templates/admin.vm]

 Error number 4001 in 4: Error while parsing velocity page /templates/admin.vm
 Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm]
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
 parsing velocity page /templates/admin.vm
 Wrapped Exception: Failed to evaluate content with id [/templates/admin.vm]
        at
 com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
        at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1873)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
        at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
        at
 org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at 
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
        at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
        at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
        at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
        at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
        at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
        at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at 
 org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
        at
 org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
        at
 org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
        at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at 

Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL

2011-05-04 Thread Sergiu Dumitriu
On 05/04/2011 02:04 AM, Sergiu Dumitriu wrote:
 On 05/04/2011 01:54 AM, andyp wrote:
 Hi Sergiu,

 If I try that I get the same class loading error and JBoss is unable to
 start:

 I'll download a JBoss and try for myself, since debugging over the email
 is quite slow.

 Unfortunately it's quite late for me, I'll try it tomorrow and reply
 with the outcome.

 Just to make sure, you're using JBoss Application Server 6.0.0, the
 community edition, right?

OK, I have an answer.

The stacktraces you get are not really a problem. As you can see, those 
are WARN messages. You can safely ignore those. They are caused by the 
fact that we're mixing 1.0 and 1.4 jackrabbit modules, and some of the 
classes have changed their signatures. This is not a problem, since 
we're not actually using those classes that are incompatible.

Starting JBoss take a lot of time (12+ minutes on my machine), so be 
patient when loading. You must wait until the startup script prints a 
message like this:

 13:09:00,862 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] 
 JBossAS [6.0.0.Final Neo] Started in 12m:17s:88ms

There is another real error that occurs, and it's caused by a bad jar 
file. You must solve it manually:

- locate WEB-INF/jaxb-xjc-2.1.8.jar
- delete the 1.0 directory from it (for example you can extract, delete 
and repack the jar)

Right now I don't get any more class loading errors, but I still have an 
error about the missing data source, maybe I didn't configure it correctly:

   Deployment jboss-switchboard:appName=xwiki,module=xwiki is missing the 
 following dependencies:
 Dependency java:jdbc/XWikiDS (should be in state Installed, but is 
 actually in state ** NOT FOUND Depends on 'java:jdbc/XWikiDS' **)

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


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread afrey
So, I proceeded to the update of xwiki to 3.0 as presented in the previous
post.
When importing the xwiki-enterprise-wiki-3.0.xar on top, I deselected the
following packages: XWikiAllGroup to preserve the list of the old users,
XWikiPreferences, to preserve the layouts of the panels.

Everything seems to work fine. All the xwiki pages created previously in
xwiki 2.7 show up just fine. The only problem that I'm seeing is in the
administration pages (when cliking on Administer XWiki ). All of the pages
(Edit Mode Settings, Localization, etc...) have the text area and drop down
list fields surrounded by the text {pre}{/pre}. This doesn't show up in a
clean install of xwiki 3.0. Also some fields are missing. 

Does anyone know why this is happening and how should I solve the problem?

Alina.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6331297.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread Sergiu Dumitriu
On 05/04/2011 05:26 PM, afrey wrote:
 So, I proceeded to the update of xwiki to 3.0 as presented in the previous
 post.
 When importing the xwiki-enterprise-wiki-3.0.xar on top, I deselected the
 following packages: XWikiAllGroup to preserve the list of the old users,
 XWikiPreferences, to preserve the layouts of the panels.

 Everything seems to work fine. All the xwiki pages created previously in
 xwiki 2.7 show up just fine. The only problem that I'm seeing is in the
 administration pages (when cliking on Administer XWiki ). All of the pages
 (Edit Mode Settings, Localization, etc...) have the text area and drop down
 list fields surrounded by the text {pre}{/pre}. This doesn't show up in a
 clean install of xwiki 3.0. Also some fields are missing.

 Does anyone know why this is happening and how should I solve the problem?

 Alina.

http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise26#HNotesspecifictoXWikiEnterprise2.6

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


Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL

2011-05-04 Thread andyp
Hi Sergiu,

Unfortunately this doesn't work for me.  With the below entry in my
jboss-web.xml, the Virtual Machine JBoss is on hangs within 7 minutes and I
have to reboot the VM.  Also at no point am I able to connect to the default
JBoss page (http://localhost:8080).  To see the full startup log, please
find the attached - 
http://xwiki.475771.n2.nabble.com/file/n6331582/jboss_startup_error.txt
jboss_startup_error.txt .

class-loading java2ClassLoadingCompliance=false 
loader-repository 
org.xwiki:archive=xwiki.war 
   
loader-repository-configjava2ParentDelegation=false/loader-repository-config
 
/loader-repository 
/class-loading

1 Min:
http://xwiki.475771.n2.nabble.com/file/n6331582/Selection_078.png 

2 Mins:
http://xwiki.475771.n2.nabble.com/file/n6331582/Selection_079.png 

7 Mins (flat-lined):
http://xwiki.475771.n2.nabble.com/file/n6331582/Selection_082.png 

As reported before, the only way I can get JBoss to complete it's startup
and not crash the machine is by using the following entry in jboss-web.xml. 
However, XWiki does still not start under this config.

loader-repository 
org.xwiki:archive=xwiki.war  
/loader-repository

Many thanks,
Andy


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p6331582.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL

2011-05-04 Thread Sergiu Dumitriu
On 05/04/2011 06:44 PM, andyp wrote:
 Hi Sergiu,

 Unfortunately this doesn't work for me.  With the below entry in my
 jboss-web.xml, the Virtual Machine JBoss is on hangs within 7 minutes and I
 have to reboot the VM.  Also at no point am I able to connect to the default
 JBoss page (http://localhost:8080).  To see the full startup log, please
 find the attached -
 http://xwiki.475771.n2.nabble.com/file/n6331582/jboss_startup_error.txt
 jboss_startup_error.txt .

 class-loading java2ClassLoadingCompliance=false
  loader-repository
  org.xwiki:archive=xwiki.war

 loader-repository-configjava2ParentDelegation=false/loader-repository-config
  /loader-repository
 /class-loading

 1 Min:
 http://xwiki.475771.n2.nabble.com/file/n6331582/Selection_078.png

 2 Mins:
 http://xwiki.475771.n2.nabble.com/file/n6331582/Selection_079.png

 7 Mins (flat-lined):
 http://xwiki.475771.n2.nabble.com/file/n6331582/Selection_082.png

Right, I forgot to mention that I had to increase the memory limits a 
lot to get it to work.

In bin\run.conf.bat (if you're on windows) you should search for the 
line setting Xms and MaxPermSize, and replace it with:

set JAVA_OPTS=-Xms512M -Xmx2048M -XX:MaxPermSize=512M


 As reported before, the only way I can get JBoss to complete it's startup
 and not crash the machine is by using the following entry in jboss-web.xml.
 However, XWiki does still not start under this config.

 loader-repository
  org.xwiki:archive=xwiki.war
 /loader-repository

This is wrong, the server manages to start up because the jboss-web.xml 
file is invalid, so it won't even try to start xwiki.war

Actually, since there is no real class conflict, the classloader 
configuration is not important, you can remove that part completely.

 Many thanks,
 Andy



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


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread afrey
Cool. Based on the documentation, I replaced
#includeForm(XWiki.AdminSheet)
with 
{{include document=XWiki.AdminSheet/}}
and switched to syntax 2.0.
The {pre} tags went away, but I still have missing fields in Edit Mode
Settings, under Versioning. The dropdown list fields for Editcomment,
Editcomment_mandatory, and Minoredit are missing.

Another issue that is new now, at the top of the XWiki page, above the top
buttons, Add, Wiki, etc..., a bar showed up with the text 
{{velocity filter=none}} {{html clean=false wiki=true}} {{/html}}
{{/velocity}} 

Help anyone :)

Thanks,

Alina.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6331793.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread Sergiu Dumitriu
On 05/04/2011 07:46 PM, afrey wrote:
 Cool. Based on the documentation, I replaced
 #includeForm(XWiki.AdminSheet)
 with
 {{include document=XWiki.AdminSheet/}}
 and switched to syntax 2.0.
 The {pre} tags went away, but I still have missing fields in Edit Mode
 Settings, under Versioning. The dropdown list fields for Editcomment,
 Editcomment_mandatory, and Minoredit are missing.

 Another issue that is new now, at the top of the XWiki page, above the top
 buttons, Add, Wiki, etc..., a bar showed up with the text
 {{velocity filter=none}} {{html clean=false wiki=true}} {{/html}}
 {{/velocity}}

 Help anyone :)

Did you answer No when you switched to the xwiki/2.0 syntax and the 
browser asked you if you want to automatically switch the content?

For the missing fields, you should import the XWikiPreferences class...

In order not to lose the settings, you should export the current 
XWikiPreferences document as XAR, and manually edit the XML to merge in 
the settings into the new XML for that document.

Or, you can just import the new XWikiPreferences, and manually redo the 
current configuration.

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


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread afrey
Initially, by mistake I clicked yes and the text {{include
document=XWiki.AdminSheet/}} changed to something like {~{~include
document=XWiki.AdminSheet/}}. I don't remember if I saved the page, but
then, I went back, read the instructions once again, and clicked Cancel
this time when asked about the xwiki 2.0 syntax, and then saved. 
As I said, the {pre} tags went away, but the  weird text on top of the page
{{velocity filter=none}} {{html clean=false wiki=true}}
{{/html}}{{/velocity}}
did not.
So I tried to switch back to #includeForm(XWiki.AdminSheet) and syntax
1.0, and the text did not go away. Do you think that my initial mistake did
it?

Alina.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6332248.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread Sergiu Dumitriu
On 05/04/2011 10:25 PM, afrey wrote:
 Initially, by mistake I clicked yes and the text {{include
 document=XWiki.AdminSheet/}} changed to something like {~{~include
 document=XWiki.AdminSheet/}}. I don't remember if I saved the page, but
 then, I went back, read the instructions once again, and clicked Cancel
 this time when asked about the xwiki 2.0 syntax, and then saved.
 As I said, the {pre} tags went away, but the  weird text on top of the page
 {{velocity filter=none}} {{html clean=false wiki=true}}
 {{/html}}{{/velocity}}
 did not.
 So I tried to switch back to #includeForm(XWiki.AdminSheet) and syntax
 1.0, and the text did not go away. Do you think that my initial mistake did
 it?

Yes, since that text does not come from the text content that you see in 
the wiki editor, but from the preferences that are stored in an object 
attached to the page.

You should open the history tab and roll back to the version before 
changing the syntax (normally the syntax change should be visible in the 
history explicitly.

After rolling back, try again to change the syntax to xwiki/2.0

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


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread afrey
Do you mean open the History tab on
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences page?
It does not have one. Or did you mean another page?

Alina.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Import-pages-from-xwiki-2-7-to-3-0-tp6316913p6332584.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Import pages from xwiki 2.7 to 3.0

2011-05-04 Thread Sergiu Dumitriu
On 05/05/2011 12:22 AM, afrey wrote:
 Do you mean open the History tab on
 http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences page?
 It does not have one. Or did you mean another page?


http://localhost:8080/xwiki/bin/XWiki/XWikiPreferences?viewer=history

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