On 03/20/2011 02:04 PM, 许凌志 wrote:
Cause I am familar with java dev, and I prefer to
install all under my
control, so I decide to install the war file and database by my own, that
makes me feel safe.
Have you ever use some php application like Drupal, the install is very easy
through a wizard or install.php, I think it will be better if xwiki can
supply such wizard function through a friend interface.
Strange, I always say how easy it is to setup XWiki compared to most
other PHP applications.
It depends on what's your starting point and what do you want to do.
Setting up XWiki for complete beginners is much easier than setting up a
PHP application for complete beginners. XWiki has an .exe that brings in
everything, or it has a .zip that can be unpacked on a portable USB
drive. Other than a working JVM, there's no need for advanced setup.
On the other hand, PHP applications expect an already configured working
LAMP/WAMP environment, and once you manage to get that working, and you
unpack the application in /var/www/, it is easy to finish the
configuration. Sure, now it's easy to get a working LAMP machine in a
few minutes, if you're an advanced user, but for a non-tech windows user
just wanting to try this thing, "the droo pal or what's it called", how
do you explain setting up PHP on top of Apache HTTPD, and that's just so
that you can begin installing Drupal.
There are two distinct phases here, the installation and the
configuration. XWiki, as most java web applications, is easy to install,
but we're lacking on the first-run configuration part. We're aware of
this, and we'll try to improve it.
However, this is not the top priority feature that we should work on, since:
- the initial setup is done once, by one person, so features that will
be used by every user every day take priority over features that are
used once by one user
- for a very quick setup, we do provide the standalone packages
The initial setup has been bugging me as well, and I'd like to see that
part improved, but the fastest way to see it implemented is to get
patches from contributors.
Now, coming to your specific problem, I'm not sure it's really a valid
point. Installing the right database connector is not something that
should be done by the application itself in a first-run wizard. If it
were able to do that it would actually signal a bad system setup,
security-wise. It's a good rule not to allow web applications read-write
access to the machine it's sitting on. PHP applications don't have this
problem since PHP already offers the needed connectors. We could
overcome this by packaging a bunch of connectors by default, it would be
only a slight increase in size and in required memory. But I'm not so
sure about that, currently I'm -0 for this idea.
And frankly, I don't understand why would you download the 3.x version
when 5.x is available. You're not the first one to do this, it's quite
often, so there could be a good reason. Did you intentionally use 3.x?
Did you reach that version from someplace else where 5.x wasn't listed?
Was it already there somehow?
2011/3/20 Vincent Massol<vincent(a)massol.net>
>
> On Mar 20, 2011, at 1:55 PM, 许凌志 wrote:
>
>> I know the problem now, I didn't look carefully through all the
> instuction
>> doc, at the end, there are some tips for problems often occured, I used
> the
>> low version of mysql driver(3.x), it should be newer than v3.x, I change
> to
>> the newest mysql version, it works fine now.
>>
>> I have an advice for xwiki team, as the beginner user, I can not find
> some
>> resources effiently, I suggest to put some important resources and the
>> install package, so that I can find it correctly and easily without going
> to
>> some details of long documentation, it will be helpful for some new
> users,
>> especially someone just wants to have a try
>
> We want to improve this. Do you have concrete suggestions to help us do
> what you say?
>
> Also why didn't you pick the standalone distribution which has everything
> bundled (it's for beginning user)?
>
> Thanks
> -Vincent
>
>> 2011/3/20 Vincent Massol<vincent(a)massol.net>
>>
>>> Hi,
>>>
>>> Have you tried searching on xwiki.markmail.org?
>>>
>>> For ex the following
>>>
>>>
>
http://xwiki.markmail.org/search/?q=Data%20too%20long%20for%20column%20%27X…
>>> suggest an issue with the driver you're using.
>>>
>>> Hope to helps,
>>> -Vincent
>>>
>>> On Mar 20, 2011, at 1:14 PM, 许凌志 wrote:
>>>
>>>> I followed the instruction to install the xiwi to tomcat and using
> mysql
>>>> database.
>>>> I think database connection is right, because the tables of xwiki was
>>>> installed to databse. according to the error log, it might caused by
>>>> "*java.sql.BatchUpdateException: Data too long for column
>>>> 'XWD_MINOREDIT' at
>>>> row 1*".
--
Sergiu Dumitriu
http://purl.org/net/sergiu/