Setting URIEncoding to UTF-8 in server.xml
by Matthew Wringe
There have been a few issues which have been brought up in regards to
portal and tab names not working properly if they contain non ascii
characters.
https://jira.jboss.org/jira/browse/GTNPORTAL-337
https://jira.jboss.org/jira/browse/GTNPORTAL-596
These are due to the portal using utf-8, while tomcat/jboss is
configured to use iso-8859-1 encoding for the url.
In both cases if the URIEncoding is set to UTF-8 in the server.xml (or
if useBodyEncodingForURI is set to true) then it works.
For the portal naming issue it was possible to get around it in the
code, for the tab issue its going to be a bit more complex.
Can we just change the URIEncoding in the server.xml for the bundles we
create? or would it be better to find workarounds for this issue in the
portal code itself?
14 years, 8 months
IRC room
by Thomas Heute
Not sure what happened yesterday but the IRC room #gatein-contrib for
contributors got locked to only allow people to connect by invitation.
(I just changed the topic...). That was not intended.
It's back to normal now.
Sorry about this :-/
14 years, 8 months
GateIn 3.0
by Thomas Heute
I need to go now until late tonight.
The trunk should be stable and is waiting for your tests if you find
critical issues.
Would be nice if people from various environment could play with the
portal (Tomcat, JBossAS, Windows, Mac, Linux) and report major issues.
(Julien still has a fix to bring on clustering, but everyone else should
hold on any commit unless critical bug fix or doc.)
I will tag on Sunday and release.
Feel free to call me in case of major issue if you have my cell number.
Thanks !
Thomas.
14 years, 8 months
Re: [gatein-dev] Testsuite Selenium update n°4
by Prabhat Jha
Hi Arthur,
I ran a new build with your new set of tests and most of them passed. You can see the results in Hudson at http://hudson.jboss.org/hudson/view/GateIn/job/gatein_portal_ui_selenium_.... It should say 41 tests and 9 failures. I think some of the tests are failing because tests are looking for wrong text in a page. But I like the progress that has been made. I have one suggestion:
- I think we need to rename the tests. For example a name like Test_SNF_PRL_03 does not tell you anything but if you were to rename it to ChangeDisplayLanguageSniffTestCase, failure tells you right away which is the problematic area. Otherwise, people would have to look into spreadsheet what it means. This will also help us to easily see what aspect of testing is missing. What do you think?
Let's catch up on your Monday (my Sunday night) on which area to focus. I think we need to add some security tests next. Thanks again.
Regards,
prabhat
----- "Arthur Peltier" <arthur.peltier(a)gmail.com> wrote:
> Dear all,
>
> Please find bellow our current status on Selenium test cases for GateIn (based on revision 2209 ) :
> Thank you in advance for all remarks or ideas.
>
> 57 test cases in total.
>
> - OK (40)
> - design (1) :
> -- Test_SNF_PRL_32 needs an alternate skin to test.
> - issues (3) :
> --Test_SNF_PRL_06 : GTNPORTAL-270
> --Test_SNF_PRL_13 : GTNPORTAL-439
> --Test_SNF_PRL_33 : GTNPORTAL-837
> - ko (6) : Need analysis
> - unstable (7) : Need analysis
>
> Achieved Goal : all GateIn sniff tests
> Daily Goal : 3 tests a day
> Mid-April Goal : all high priority GateIn test cases (see GateIn_v3.0_MainFucntions_TestDefinition.ods )
>
> To follow our GateIn Selenium script creation : GTNPORTAL-775
>
> KR,
>
Arthur PELTIER
>
> eXo-Platform SEA
> Vietnam : +84 1 253 988 745
> France : +33 6 26 36 64 84
> arthur.peltier(a)gmail.com
>
> _______________________________________________ gatein-dev mailing list gatein-dev(a)lists.jboss.org https://lists.jboss.org/mailman/listinfo/gatein-dev
14 years, 8 months
Shindig / Guice repo nightmare
by Thomas Heute
The currently used version of Shindig in GateIn was pointing to an
unoffical repo that was not made for official releases of Guice.
http://guice-maven.googlecode.com/svn/trunk/com/google/code/guice/guice/2.0/
The issue is that some time before Guice 2.0 was uploaded on JBoss Repo
as it was available nowhere, and those 2 have the same groupId,
artifactId and version but they are different (one include guice-jmx
libraries the other doesn't) !
The libraries on the JBoss repo are the correct ones (the one that
correspond to the downloadable zip).
So we updated yesterday our copy of Shindig to use the library on JBoss
+ guice-jmx.
It's possible that you have a local copy of the wrong
com.google.code.guice:guice:2.0 so if you have issues with Shindig/Guice
just delete your local copy. I hope that it will be fine...
Thomas
14 years, 8 months
GateIn on oracle DB
by Michal Vančo
Hi,
I'm dealing with problem to start GateIn with Oracle DB.
I always start with clean DB and use 2 datasource instances (JCR, IDM).
There are 2 different issues:
Oracle10:
- ORA-00942: table or view does not exist (start on
org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationImpl@b2ecc0)
- only IDM schema is initialized, JCR not
Oracle11:
- ORA-00972: identifier is too long (Cannot instantiate component class
org.exoplatform.services.jcr.impl.core.lock.jbosscache.CacheableLockManagerImpl)
- both schemas are created (IDM + JCR)
To run on oracle, I change configuration in idm-configuration.xml and
jcr-configuration.xml, then copy jdbc driver and start.
I also add <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
to idm-configuration.xml (recommended by Boleslaw Dawidowicz - it worked
on EPP, but not on GateIn trunk).
There are links to log:
http://hudson.jboss.org/hudson/job/gatein_portal_ui_selenium_tests_jboss5...
http://hudson.jboss.org/hudson/job/gatein_portal_ui_selenium_tests_jboss5...
I would appreciate any help.
Thanks in advance
Michal Vanco
14 years, 8 months
Components release
by Thomas Heute
I'm gradually releasing components.
I released:
parent 1.0.0-GA
dep 1.0.0-GA
common 2.0.0-GA
Will tackle WCI and PC next.
14 years, 8 months
Unit test on databases
by Julien Viet
I have resolved GTNPORTAL-696 : "Failure in GateIn unit tests on
different DB than hsqldb", here is the status.
The component tests have now an externalized JCR database
configuration, that is defined in a maven profile in the portal parent
pom, there are a few limitations:
- mysql5 profile has been added, the URL points to the virtualbox
running mysql configured on my machine with IP 10.37.129.4 . I think
it should be possible to make it more configurable of course. I'll let
the community contribute it :-)
- modules using IDM are using a separate hsqldb database
- it is not really possible to run the tests from an aggregator pom as
the database needs to be manually cleaned up (was automatic with
hsqldb as it's in target directory)
So it should be possible for Prabhat to run unit test of gatein on
different databases.
14 years, 8 months