[xwiki-users] JNDI Configuration for Jetty 5.1.5

2008-05-24 Thread project_trainees
Hi,
   I am using XE 1.3.2 and Mysql 5.0 with jetty 5.1.5. Can any one give a
support for JNDI configuration of jetty 5.1.5 (Not jetty 6). Or is it same
for both Jetty 5  jetty 6? Can any one help?

Regards,
Project trainees.

Again,
Now, I will tell my problem in detailed!! I have create a class with
some properties and through this, I can insert  display data(by using
velocity and HTML). I have to fetch and insert this data into a Mysql
table. I could connect to Mysql through Groovy but couldn't integrate
this with Velocity.
The code which I have used and the error showed is:-

#foreach ($todo in $todos)
  tr
#set ($todoDoc = $xwiki.getDocument($todo))
#set ($todoObj = $todoDoc.getObject(XWiki.TodoClass))
td[$todoObj.ID$todo]/td
 td[$todoObj.ProjectName$todo]/td
td$todoObj.Assignee/td
td$todoObj.TargetDate/td
td$todoObj.Status/td
  /tr
%
import groovy.sql.Sql
db = Sql.newInstance(jdbc:mysql://localhost/test, root,
amma123, com.mysql.jdbc.Driver)
db.execute(insert into projects (id, project, assignee,
last_modified_datetime) values (${$todoObj.ID}, ${$todoObj.ProjectName},
${$todoObj.Assignee}), ${$todoObj.Status}))

%
#end

Error number 4002 in 4: Error while parsing groovy page Todo.WebHome
Wrapped Exception: startup failed, Script1.groovy: 5: Unknown type:
SCOPE_ESCAPE at line: 5 column: 92. File: Script1.groovy @ line 5, column
92.

Hopes response,
Thanks,
Project trainees.




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


[xwiki-users] JNDI Configuration for Jetty 5.1.5

2008-05-23 Thread project_trainees
Hi,
   I am using XE 1.3.2 and Mysql 5.0 with jetty 5.1.5. Can any one give a
support for JNDI configuration of jetty 5.1.5 (Not jetty 6).

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


[xwiki-users] JNDI Configuration for Jetty 5.1.5

2008-05-23 Thread project_trainees
Hi,
   I am using XE 1.3.2 and Mysql 5.0 with jetty 5.1.5. Can any one give a
support for JNDI configuration of jetty 5.1.5 (Not jetty 6). Or is it same
for both Jetty 5  jetty 6? Can any one help?

Regards,
Project trainees.


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


[xwiki-users] Exception during creation of datasource

2008-05-21 Thread project_trainees
Hi,

   I have to deal some external data in my XE 1.3.2. I am using Mysql 5.0
and Jetty 5.1.5. I followed this
http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html and write the
code

##receive database
#set($mydb=$xwiki.sql.getDatabase(test))
#set($result=$mydb.executeUpdate(update student set Name = ? where RNo =
?, [Happy, 28]))

When I saved this, nothing on the page but in the start console it shows:-

2008-05-21 12:53:54,781 [http://localhost:8181/xwiki/bin/view/main/amma]
[P1-18]
 ERROR xwikisql.SqlPlugin  - exception during creation of
datasource
 test
javax.naming.NoInitialContextException: Need to specify class name in
environmen
t or system property, or as an applet parameter, or in an application
resource f
ile:  java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at ua.gradsoft.xwikisql.SqlPlugin.createDataSource(SqlPlugin.java:95)
at ua.gradsoft.xwikisql.SqlPlugin.createDatabase(SqlPlugin.java:84)
at
ua.gradsoft.xwikisql.SqlPluginApi.getDatabase(SqlPluginApi.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in
voke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReferen
ce.java:419)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpres
sion.java:73)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSet
Directive.java:125)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:241)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:155)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRender
er.java:95)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW
ikiRenderingEngine.java:252)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW
ikiRenderingEngine.java:176)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXW
ikiRenderingEngine.java:145)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(Defau
ltXWikiRenderingEngine.java:134)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java
:418)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in
voke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere
nce.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:241)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRend
erer.java:155)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1429)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:598)
at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.in
voke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.j
ava:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTRefer
ence.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTRefere
nce.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.
java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocim

Re: [xwiki-users] Import problem

2008-05-20 Thread project_trainees
Hi,
  Now it shows:-  (I didn't change the XAR )  What should I do!

2008-05-20 15:54:08,968
[http://localhost:8181/xwiki/bin/import/XWiki/Import?act
ion=getPackageInfosname=xwiki-enterprise-installer-windows-1.3.2.xarxpage=plai
n_=] [P1-18] WARN  web.XWikiAction - Uncaught exception:
Error
number 11015 in 11: Exception while importing
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document  : Premature end of file.
Nested
 exception: Premature end of file.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
importin
g
Wrapped Exception: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document  : Premature end of file.
Nested
 exception: Premature end of file.
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:117)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


Wrapped Exception:


com.xpn.xwiki.XWikiException: Error number 2002 in 2: Error parsing xml
Wrapped Exception: Error on line -1 of document  : Premature end of file.
Nested
 exception: Premature end of file.
at com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2357)
at
com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:715)
at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:388)
at
com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)

at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:117)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at

Re: [xwiki-users] Import problem

2008-05-20 Thread project_trainees
Hi Richard,

  I had an empty file in my XAR and that was the problem. Thank You very
much.

Regards,
Project trainees.

 If you have an empty file in your XAR then delete that file (open in
 WinZip
 to do this) - I have known empty files in a XAR cause the errors below.

 Hope that helps.

 Regards,

 Richard

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
 Of [EMAIL PROTECTED]
 Sent: 20 May 2008 10:51
 To: XWiki Users
 Subject: Re: [xwiki-users] Import problem


 Hi,
   Now it shows:-  (I didn't change the XAR )  What should I do!

 2008-05-20 15:54:08,968
 [http://localhost:8181/xwiki/bin/import/XWiki/Import?act
 ion=getPackageInfosname=xwiki-enterprise-installer-windows-1.3.2.xarxpage=
 plai
 n_=] [P1-18] WARN  web.XWikiAction - Uncaught exception:
 Error
 number 11015 in 11: Exception while importing
 Wrapped Exception: Error number 2002 in 2: Error parsing xml
 Wrapped Exception: Error on line -1 of document  : Premature end of file.
 Nested
  exception: Premature end of file.
 com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
 importin
 g
 Wrapped Exception: Error number 2002 in 2: Error parsing xml
 Wrapped Exception: Error on line -1 of document  : Premature end of file.
 Nested
  exception: Premature end of file.
 at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:94)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
 at
 org.apache.struts.action.RequestProcessor.processActionPerform(Reques
 tProcessor.java:431)
 at
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
 va:236)
 at
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
 6)
 at
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
 )
 at
 org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
 WebApplicationHandler.java:830)
 at
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
 odingFilter.java:117)
 at
 org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
 WebApplicationHandler.java:821)
 at
 org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
 onHandler.java:471)
 at
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
 68)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
 at
 org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
 Context.java:633)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
 at org.mortbay.http.HttpServer.service(HttpServer.java:954)
 at
 org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
 at
 org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
 at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
 at
 org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
 244)
 at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
 at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


 Wrapped Exception:


 com.xpn.xwiki.XWikiException: Error number 2002 in 2: Error parsing xml
 Wrapped Exception: Error on line -1 of document  : Premature end of file.
 Nested
  exception: Premature end of file.
 at
 com.xpn.xwiki.doc.XWikiDocument.fromXML(XWikiDocument.java:2357)
 at
 com.xpn.xwiki.plugin.packaging.Package.readFromXML(Package.java:715)
 at com.xpn.xwiki.plugin.packaging.Package.Import(Package.java:388)
 at
 com.xpn.xwiki.plugin.packaging.PackageAPI.Import(PackageAPI.java:173)

 at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:42)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:198)
 at
 org.apache.struts.action.RequestProcessor.processActionPerform(Reques
 tProcessor.java:431)
 at
 org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
 va:236)
 at
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
 6)
 at
 org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 at
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
 )
 at
 org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
 WebApplicationHandler.java:830)
 at
 com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
 odingFilter.java:117)
 at
 org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
 WebApplicationHandler.java:821)
  

[xwiki-users] Import problem

2008-05-19 Thread project_trainees
Hi,

  I attached a XAR file to upload and when I select the file to import, it
doesn't shows any documents. But when I attached and selected a TODO
application, it shows all documents of TODO. Why it is so? How can I
import my XAR file? Can any one help?


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


Re: [xwiki-users] Import problem

2008-05-19 Thread project_trainees
 Hi,

   In the logs it shows :-

127.0.0.1 - - [19/May/2008:08:02:00 +]
GET/xwiki/bin/import/XWiki/Import?action=getPackageInfosname=xwiki-enterprise-installer-windows-1.3.2.xarxpage=plain_=
HTTP/1.1 200 8748  750

In the start console it shows:-

2008-05-19 13:34:53,687
[http://localhost:8181/xwiki/bin/import/XWiki/Import?action=getPackageInfosname=xwiki-enterprise-installer-windows-1.3.2.xarxpage=plai
n_=] [P1-18] WARN  doc.XWikiDocument - Failed to display field [content]
in [view] mode for Object [Panels.NewPage]

I think the size is large (1893835)
What should be my next step?

Thanks,
project trainees.

 On May 19, 2008, at 8:46 AM, [EMAIL PROTECTED] wrote:

 Hi,

  I attached a XAR file to upload and when I select the file to
 import, it
 doesn't shows any documents. But when I attached and selected a TODO
 application, it shows all documents of TODO. Why it is so? How can I
 import my XAR file? Can any one help?

 It means one of 2 things:
 1) Your XAR is invalid/corrupted. Check the console logs on your xwiki
 server instance.
 2) Your XAR was large and you have not waited enough (it takes some
 time to display the content of a large XAR)

 Hope it helps,
 -Vincent


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


Re: [xwiki-users] Import problem

2008-05-19 Thread project_trainees

 On May 19, 2008, at 9:22 AM, [EMAIL PROTECTED] wrote:

 Hi,

   In the logs it shows :-

 127.0.0.1 - - [19/May/2008:08:02:00 +]
 GET/xwiki/bin/import/XWiki/Import?action=getPackageInfosname=xwiki-
 enterprise-installer-windows-1.3.2.xarxpage=plain_=
 HTTP/1.1 200 8748  750

 In the start console it shows:-

 2008-05-19 13:34:53,687
 [http://localhost:8181/xwiki/bin/import/XWiki/Import?action=getPackageInfosname=xwiki-enterprise-installer-windows-1.3.2.xarxpage=plai
 n_=] [P1-18] WARN  doc.XWikiDocument - Failed to display field
 [content]
 in [view] mode for Object [Panels.NewPage]

 I think the size is large (1893835)
 What should be my next step?

 Did you wait enough? The logs don't show anything wrong I think.

 What version of XWiki are you using?

Hi,
  I waited enough and nothing happens.I am  using XE 1.3.2 and Mysql 5.0

Thanks,
project trainees.

 On May 19, 2008, at 8:46 AM, [EMAIL PROTECTED] wrote:

 Hi,

 I attached a XAR file to upload and when I select the file to
 import, it
 doesn't shows any documents. But when I attached and selected a TODO
 application, it shows all documents of TODO. Why it is so? How can I
 import my XAR file? Can any one help?

 It means one of 2 things:
 1) Your XAR is invalid/corrupted. Check the console logs on your
 xwiki
 server instance.
 2) Your XAR was large and you have not waited enough (it takes some
 time to display the content of a large XAR)

 Hope it helps,
 -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] Problem occured while trying to service a request

2008-05-14 Thread project_trainees
 Vincent Massol wrote:
 Hi,

 This is a known issue, see http://jira.xwiki.org/jira/browse/
 XWIKI-2339 for a solution to the problem.

 Thanks
 -Vincent

 On May 13, 2008, at 10:09 AM, [EMAIL PROTECTED] wrote:

 java.sql.BatchUpdateException: Packet for query is too large
 (1458818 
 1048576). You can change this value on the server by setting the
 max_allowed_packet' variable.
 at
 com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:
 1404)

 No, it's not that one, it is a mysql setting. See
 http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html
 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

Hi,
   I started Mysql with
mysql -u root -p --max_allowed_packet=32M
and again tried to import but it shows the same error.
Thanks,
Project trainees.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Programming Help

2008-05-14 Thread project_trainees
Hi,

  I have to deal some external data in xwiki. Is it require to connect
xwiki with Mysql through Hibernate.cfg or Is it possible through program
using velocity or groovy? Is velocity enough for transactions? One
another Qn. a groovy code should be called by a velocity code?

Thanks,
Project trainees.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Programming Help

2008-05-14 Thread project_trainees
Hi,
  Surely right, but as beginners which is better for us? And I put sql
plugin in WEB-INF/lib directory and wrote the following code, it neither
shows any error nor changed the table.

##receive database
#set  ($mydb=$xwiki.sql.getDatabase(test))

#set ($myname=prinsi)
#set ($myid=876)
#set  ($result=$mydb.executeUpdate(
 'update projects set assignee=? where id=?',
 [$myname,$myid]))

Where assignee and id are columns of table projects, I have added
ua.gradsoft.xwikisql.SqlPlugin to list of active plugins in
webapp-root/WEB-INF/xwiki.cfg and restarted xwiki.


 On May 14, 2008, at 12:41 PM, [EMAIL PROTECTED] wrote:

 Hi,

  I have to deal some external data in xwiki. Is it require to connect
 xwiki with Mysql through Hibernate.cfg or Is it possible through
 program
 using velocity or groovy? Is velocity enough for transactions? One
 another Qn. a groovy code should be called by a velocity code?

 Everything is possible... your imagination is the limit :)

 See the sql plugin for example:
 http://code.xwiki.org/xwiki/bin/view/Plugins/XWikiSqlPlugin

 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


[xwiki-users] Just to clarify

2008-05-12 Thread project_trainees
Hi,

   Why using both velocity and Groovy in Xwiki?

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


[xwiki-users] configuration problem

2008-05-11 Thread project_trainees
Hi,

   I am using XE 1.3.2(stand alone) and i have to use Mysql 5.0. For that
I configured the hibernate.cfg and web.cfg but when i point my browser to
http://localhost:8080//xwiki/bin/view/main/webhome ,it shows error. Where
is my fault? can any one help?

Hibernate configuration

[config]

?xml version='1.0' encoding='utf-8'?
!DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate
Configuration DTD//EN
 
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
!-- Template for hibernate configuration. processing by maven using
profiles.
 Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml --
hibernate-configuration
  session-factory

property name=show_sqlfalse/property
property name=use_outer_jointrue/property

property name=dbcp.defaultAutoCommitfalse/property
property name=dbcp.maxActive50/property
property name=dbcp.maxIdle5/property
property name=dbcp.maxWait3/property
property name=dbcp.whenExhaustedAction1/property
property name=dbcp.ps.whenExhaustedAction1/property
property name=dbcp.ps.maxActive20/property
property name=dbcp.ps.maxWait12/property
property name=dbcp.ps.maxIdle20/property


!-- MySQL configuration.
 Uncomment if you want to use MySQL and comment out other database
configurations.
 Note that the database will be created automatically if it
doesn't already exist.
 We need to set the sql_mode to a less strict value, see
XWIKI-1945  --
property
name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=falseamp;sessionVariables=sql_mode=''/property
property name=connection.usernameroot/property
property name=connection.passwordamma/property
property
name=connection.driver_classcom.mysql.jdbc.Driver/property
property name=dialectorg.hibernate.dialect.MySQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/

/session-factory
/hibernate-configuration

[/config]


Web configuration
...

!-- Uncomment if you wish to use a DataSource to define the Database
connection  --
  resource-ref
  descriptionDB Connection/description
  res-ref-namejdbc/XWikiDS/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
  /resource-ref

ERROR
.

Wrapped Exception:

java.sql.BatchUpdateException: null,  message from server: Data too long
for co
lumn 'XWD_MINOREDIT' at row 1
at
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:
1404)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingSt
atement.java:294)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingSt
atement.java:294)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.jav
a:48)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:
246)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:237)

at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)

at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:298)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java
:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiber
nateBaseStore.java:783)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHiber
nateBaseStore.java:754)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateSt
ore.java:447)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1083)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1056)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1050)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:2653)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:797)
at com.xpn.xwiki.XWiki.init(XWiki.java:722)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:293)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123)
at
org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at

[xwiki-users] configuration problem

2008-05-09 Thread project_trainees
Hi,

   I am using XE 1.3.2(stand alone) and i have to use Mysql 5.0. For that
I configured the hibernate.cfg and web.cfg but it shows error. Where is
my fault? can any one help?

Hibernate configuration

[config]

?xml version='1.0' encoding='utf-8'?
!DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate
Configuration DTD//EN

http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
!-- Template for hibernate configuration. processing by maven using
profiles.
  Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml --
hibernate-configuration
   session-factory

 property name=show_sqlfalse/property
 property name=use_outer_jointrue/property

!--
 property name=dbcp.defaultAutoCommitfalse/property
 property name=dbcp.maxActive50/property
 property name=dbcp.maxIdle5/property
 property name=dbcp.maxWait3/property
 property name=dbcp.whenExhaustedAction1/property
 property name=dbcp.ps.whenExhaustedAction1/property
 property name=dbcp.ps.maxActive20/property
 property name=dbcp.ps.maxWait12/property
 property name=dbcp.ps.maxIdle20/property
--

 !-- Datasource configuration. --
 property name=connection.datasourcejava:jdbc/XWikiDS/property
 property name=dialectorg.hibernate.dialect.MySQLDialect/property
 mapping resource=xwiki.hbm.xml/
 mapping resource=feeds.hbm.xml/

   /session-factory
/hibernate-configuration

[/config]


Web configuration
...

!-- Uncomment if you wish to use a DataSource to define the Database
connection  --
  resource-ref
  descriptionDB Connection/description
  res-ref-namejdbc/XWikiDS/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
  /resource-ref


HTTP ERROR: 500

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: Could not parse configuration:
file:/D:/XWIKI_HOME_1.3.2/webapps/xwiki/WEB-INF/hibernate.cfg.xml
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] configuration problem

2008-05-09 Thread project_trainees
Hi,

   I am using XE 1.3.2(stand alone) and i have to use Mysql 5.0. For that
I configured the hibernate.cfg and web.cfg but it shows error. Where is my
fault? can any one help?

Hibernate configuration

[config]

?xml version='1.0' encoding='utf-8'?
!DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate
Configuration DTD//EN
 
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
!-- Template for hibernate configuration. processing by maven using
profiles.
 Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml --
hibernate-configuration
  session-factory

property name=show_sqlfalse/property
property name=use_outer_jointrue/property

property name=dbcp.defaultAutoCommitfalse/property
property name=dbcp.maxActive50/property
property name=dbcp.maxIdle5/property
property name=dbcp.maxWait3/property
property name=dbcp.whenExhaustedAction1/property
property name=dbcp.ps.whenExhaustedAction1/property
property name=dbcp.ps.maxActive20/property
property name=dbcp.ps.maxWait12/property
property name=dbcp.ps.maxIdle20/property


!-- MySQL configuration.
 Uncomment if you want to use MySQL and comment out other database
configurations.
 Note that the database will be created automatically if it
doesn't already exist.
 We need to set the sql_mode to a less strict value, see
XWIKI-1945  --
property
name=connection.urljdbc:mysql://localhost/xwiki?useServerPrepStmts=falseamp;sessionVariables=sql_mode=''/property
property name=connection.usernameroot/property
property name=connection.passwordamma/property
property name=connection.driver_classcom.mysql.jdbc.Driver/property
property name=dialectorg.hibernate.dialect.MySQLDialect/property
property
name=connection.provider_classcom.xpn.xwiki.store.DBCPConnectionProvider/property
property name=connection.pool_size2/property
property name=statement_cache.size2/property
mapping resource=xwiki.hbm.xml/
mapping resource=feeds.hbm.xml/

/session-factory
/hibernate-configuration

[/config]


Web configuration
...

!-- Uncomment if you wish to use a DataSource to define the Database
connection  --
  resource-ref
  descriptionDB Connection/description
  res-ref-namejdbc/XWikiDS/res-ref-name
  res-typejavax.sql.DataSource/res-type
  res-authContainer/res-auth
  /resource-ref


HTTP ERROR: 500

Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update

RequestURI=/xwiki/bin/view/main/webhome

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


[xwiki-users] upgrading an xwiki 1.2.1 to 1.3.2

2008-05-08 Thread project_trainees
Hi,
I have to upgrade an xwiki installation, I exported the pages from old
version and installed new stand alone version(it is fine) but there is
no import tab in
http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences.
Anything wrong with me?

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


Re: [xwiki-users] upgrading an xwiki 1.2.1 to 1.3.2

2008-05-08 Thread project_trainees
 Hi,

 Hi,
 I have to upgrade an xwiki installation, I exported the pages from
 old
 version and installed new stand alone version(it is fine) but there is
 no import tab in
 http://localhost:8080/xwiki/bin/admin/XWiki/XWikiPreferences.
 Anything wrong with me?

 Are you using a bundled skin (albatross or toucan) ?
 Are you logged in as admin ?

 Jerome.

 regards,
 project trainees.
 ___
Hi Jerome,
   I am using bundled skin and I logged in as admin.

regards,
 project trainees.


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


[xwiki-users] Import Tab

2008-05-08 Thread project_trainees
hi,
   In XE 1.3.2 where is the Import tab, can any one tell?

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


Re: [xwiki-users] Import Tab

2008-05-08 Thread project_trainees
 If your screen size is 1024 x 768 or smaller, the tab doesn't show up on
 your screen.  Try enlarging your browser or viewing it from a bigger
 monitor.

Message: 3
Date: Thu, 8 May 2008 04:27:42 -0700 (PDT)
From: [EMAIL PROTECTED]
Subject: [xwiki-users] Import Tab
To: users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;charset=iso-8859-1

hi,
   In XE 1.3.2 where is the Import tab, can any one tell?

Regards,
project trainees.
 ___

Now its working
Thank You.

Regards,
project trainees.


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


[xwiki-users] Issue when using foreign database

2008-04-10 Thread project_trainees

Hi,

  For a local database in mysql, we wrote this code, but neither give any
error nor display the details. Where is my fault?


#set  ($mydb=$xwiki.sql.getDatabase('test'))
table
#foreach($row in $mydb.executeQuery(
select Name, RNo from student) )
 tr

  td $row.getString(Name) /td
  td $row.getLong(RNo) /td
 /tr
#end
/table


THANks.



.
Hi all,

  We are using XE 1.2.1 and Mysql 5.0,

  we created a Todo application by following this
http://www.theserverside.com/tt/articles/article.tss?l=XWiki
  and it is possible to add and display data in a filterable table.

  We have to fetch and insert the inserted data into a Mysql table, can
any   one help us?

Thanks in advance,

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


[xwiki-users] Configuring JNDI data sourse

2008-04-10 Thread project_trainees
Hi,

  Configure JNDI data store in application container, where you xwiki
instance is running.
How it should be done ? can any one help?

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


Re: [xwiki-users] Configuring JNDI data sourse

2008-04-10 Thread project_trainees
Hi,
   We are using XE 1.2.1 and Mysql 5.0.

  I configured hibernate.cfg.xml using the given code but it showing
an error when pointing the browser to
http://localhost:8181/xwiki/bin/view/main/webhome

HTTP ERROR: 500

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: Could not parse configuration:
file:/C:/xwiki_home/webapps/xwiki/WEB-INF/hibernate.cfg.xml

RequestURI=/xwiki/bin/view/main/webhome

Powered by Jetty://

Can U help?

Thanks.
Regards,
Project trainees.

Aleks wrote:
Salut project trainees,

 I use XWiki 1.3 and changed the hibernate.cfg.xml like this:

 [config]

 ?xml version='1.0' encoding='utf-8'?
 !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate
 Configuration DTD//EN

 http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
 !-- Template for hibernate configuration. processing by maven using
 profiles.
   Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml --
 hibernate-configuration
session-factory

  property name=show_sqlfalse/property
  property name=use_outer_jointrue/property

 !--
  property name=dbcp.defaultAutoCommitfalse/property
  property name=dbcp.maxActive50/property
  property name=dbcp.maxIdle5/property
  property name=dbcp.maxWait3/property
  property name=dbcp.whenExhaustedAction1/property
  property name=dbcp.ps.whenExhaustedAction1/property
  property name=dbcp.ps.maxActive20/property
  property name=dbcp.ps.maxWait12/property
  property name=dbcp.ps.maxIdle20/property
 --

  !-- Datasource configuration. --
  property name=connection.datasourcejava:jdbc/XWikiDS/property
  property
 name=dialectorg.hibernate.dialect.PostgreSQLDialect/property
  mapping resource=xwiki.hbm.xml/
  mapping resource=feeds.hbm.xml/

/session-factory
 /hibernate-configuration

 [/config]

 Hope this helps.

 Cheers,

 Aleks

 [EMAIL PROTECTED] wrote:
 Hi,

   Configure JNDI data store in application container, where you xwiki
 instance is running.
 How it should be done ? can any one help?

 Regards,
 Project trainees.
 ___
 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


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


Re: [xwiki-users] problem showing when login

2008-04-08 Thread project_trainees
 Hi,

 Any error logs on the appserver side ?

 JV.

 On Tue, Apr 8, 2008 at 11:11 AM,  [EMAIL PROTECTED] wrote:
 hi,

  We have installed XE 1.2.1, and we are trying to develop an intranet in
  our XWiki. Now a problem is occuring when login and the message showing
  is:


  A problem occured while trying to service your request. Please contact
  the support if this happens again.

  What will be the reason for it?

  regards,
  project trainees.

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


Hi,
Yes, the error showing is


127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET
/xwiki/xwiki/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259  16
127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET
/xwiki/xwiki/skin/skins/albatross/icons/black-view-ab2.png HTTP/1.1 200
498  47
127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET
/xwiki/xwiki/logout/XWiki/XWikiLogout?xredirect=http%3A%2F%2Flocalhost%3A8181%2Fxwiki%2Fxwiki%2Fview%2FTodo%2F
HTTP/1.1 302 0  15
127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/xwiki/view/Todo/
HTTP/1.1 302 0  438
127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET
/xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191  469
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/elements.css HTTP/1.1 200 3121  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851  16
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/classes.css HTTP/1.1 200 465  63
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/rss.css HTTP/1.1 200 330  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/wiki.css HTTP/1.1 200 6902  63
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/page.css HTTP/1.1 200 22  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/screenlayout.css HTTP/1.1 200 17167  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/microformats.css HTTP/1.1 200 777  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/presentation.css HTTP/1.1 200 6712  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/fullscreenEdit.css HTTP/1.1 200 3353  16
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/colorsblack.css HTTP/1.1 200 14945  47
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/usersandgroups.css HTTP/1.1 200 2631  16
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/fullscreenEdit.js HTTP/1.1 200 7735  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/usersandgroups.js HTTP/1.1 200 25129  31
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/skins/albatross/logo.png HTTP/1.1 302 0  438
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/bin/skin/skins/albatross/header-bg.jpg HTTP/1.1 404 6499  734
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/bin/skin/skins/albatross/headerperso-bg.jpg HTTP/1.1 404 6504  656
127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET
/xwiki/bin/skin/skins/albatross/actionbar-bg.png HTTP/1.1 200 246  78
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191  469
127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET
/xwiki/bin/skin/skins/albatross/black-textareabg.png HTTP/1.1 200 2651 
94
127.0.0.1 - - [08/Apr/2008:09:56:10 +] GET
/xwiki/bin/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259  0
127.0.0.1 - - [08/Apr/2008:09:56:14 +] GET
/xwiki/bin/skin/skins/albatross/black-textareabg1.png HTTP/1.1 200 2651 
0
127.0.0.1 - - [08/Apr/2008:09:56:28 +] POST
/xwiki/bin/loginsubmit/XWiki/XWikiLogin HTTP/1.1 302 0  344
127.0.0.1 - - [08/Apr/2008:09:56:28 +] GET
/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist HTTP/1.1 200 14081  1406
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/style.css HTTP/1.1 200 2971  0
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/classes.css HTTP/1.1 200 465  62
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851  16
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/wiki.css HTTP/1.1 200 6902  15
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/elements.css HTTP/1.1 200 3121  93
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/rss.css HTTP/1.1 200 330  0
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/screenlayout.css 

Re: [xwiki-users] problem showing when login

2008-04-08 Thread project_trainees
 Hi,

 Any error logs on the appserver side ?

 JV.

 On Tue, Apr 8, 2008 at 11:11 AM,  [EMAIL PROTECTED] wrote:
 hi,

  We have installed XE 1.2.1, and we are trying to develop an intranet in
  our XWiki. Now a problem is occuring when login and the message showing
  is:


  A problem occured while trying to service your request. Please contact
  the support if this happens again.

  What will be the reason for it?

  regards,
  project trainees.

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

Hi,

Yes,The error showing is

127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET
/xwiki/xwiki/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259  16
127.0.0.1 - - [08/Apr/2008:09:56:01 +] GET
/xwiki/xwiki/skin/skins/albatross/icons/black-view-ab2.png HTTP/1.1 200
498  47
127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET
/xwiki/xwiki/logout/XWiki/XWikiLogout?xredirect=http%3A%2F%2Flocalhost%3A8181%2Fxwiki%2Fxwiki%2Fview%2FTodo%2F
HTTP/1.1 302 0  15
127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET /xwiki/xwiki/view/Todo/
HTTP/1.1 302 0  438
127.0.0.1 - - [08/Apr/2008:09:56:03 +] GET
/xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191  469
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/elements.css HTTP/1.1 200 3121  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851  16
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/classes.css HTTP/1.1 200 465  63
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/rss.css HTTP/1.1 200 330  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/wiki.css HTTP/1.1 200 6902  63
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/page.css HTTP/1.1 200 22  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/screenlayout.css HTTP/1.1 200 17167  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/microformats.css HTTP/1.1 200 777  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/presentation.css HTTP/1.1 200 6712  31
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/fullscreenEdit.css HTTP/1.1 200 3353  16
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/colorsblack.css HTTP/1.1 200 14945  47
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/usersandgroups.css HTTP/1.1 200 2631  16
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/style.css HTTP/1.1 200 2971  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/fullscreenEdit.js HTTP/1.1 200 7735  0
127.0.0.1 - - [08/Apr/2008:09:56:04 +] GET
/xwiki/bin/skin/skins/albatross/usersandgroups.js HTTP/1.1 200 25129  31
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/skins/albatross/logo.png HTTP/1.1 302 0  438
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/bin/skin/skins/albatross/header-bg.jpg HTTP/1.1 404 6499  734
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/bin/skin/skins/albatross/headerperso-bg.jpg HTTP/1.1 404 6504  656
127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET
/xwiki/bin/skin/skins/albatross/actionbar-bg.png HTTP/1.1 200 246  78
127.0.0.1 - - [08/Apr/2008:09:56:05 +] GET
/xwiki/bin/login/XWiki/XWikiLogin HTTP/1.1 401 7191  469
127.0.0.1 - - [08/Apr/2008:09:56:06 +] GET
/xwiki/bin/skin/skins/albatross/black-textareabg.png HTTP/1.1 200 2651 
94
127.0.0.1 - - [08/Apr/2008:09:56:10 +] GET
/xwiki/bin/skin/skins/albatross/actionbar-bg2.png HTTP/1.1 200 259  0
127.0.0.1 - - [08/Apr/2008:09:56:14 +] GET
/xwiki/bin/skin/skins/albatross/black-textareabg1.png HTTP/1.1 200 2651 
0
127.0.0.1 - - [08/Apr/2008:09:56:28 +] POST
/xwiki/bin/loginsubmit/XWiki/XWikiLogin HTTP/1.1 302 0  344
127.0.0.1 - - [08/Apr/2008:09:56:28 +] GET
/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist HTTP/1.1 200 14081  1406
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/style.css HTTP/1.1 200 2971  0
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/classes.css HTTP/1.1 200 465  62
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/xwiki.css HTTP/1.1 200 1851  16
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/wiki.css HTTP/1.1 200 6902  15
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/elements.css HTTP/1.1 200 3121  93
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/rss.css HTTP/1.1 200 330  0
127.0.0.1 - - [08/Apr/2008:09:56:29 +] GET
/xwiki/xwiki/skin/skins/albatross/screenlayout.css 

[xwiki-users] Project students

2008-02-01 Thread project_trainees


 ;)  Thank you for your immediate response
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Project students

2008-02-01 Thread project_trainees
We are doing Master of computer applications programme..and now as part of
our curriculum we are doing a project work in xwiki..
We installed the Xwiki version
“xwiki-enterprise-installer-windows-1.2-rc-3” .


So please give clarifications to our problems.
1)How to create new connection with mysql database in xwiki using
velocity and groovy..please provide the code for that ..
2)How we can connect velocity and groovy?
PLEASE HELP US...


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