Forum LAMS for Tech-Heads - General Forum: LAMS 2.4 Workspace-Folder name with utf8 error


 
You may request notification for LAMS 2.4 Workspace-Folder name with utf8 error.
Search: 

1: LAMS 2.4 Workspace-Folder name with utf8 error
10/11/12 10:05 AM
[ Reply | Forward ]
Hi Ernie,

This is an important issue for us.
If you create a new folder with UTF8 Chars you can not read it.

Please fix it soon.

Thanks,

Spyros

Posted by Spyros Papadakis

2: Re: LAMS 2.4 Workspace-Folder name with utf8 error
In response to 1 10/14/12 06:34 PM
[ Reply | Forward ]
Hi Spyros,

Is this for your debian server? If so, I'm not so sure how this is happening as I have tested this with it and it doesn't seem to be an issue.

At any rate, I think this is an easy fix anyway.

In your jboss-5.1 folder, find the following file

jboss-5.1/server/default/deploy/jbossweb.sar/server.xml

In there, look for the line that reads:

< !-- A HTTP/1.1 Connector on port 8080 -->
< Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" />


Make sure you include the part URIEncoding="UTF-8"

< Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" URIEncoding="UTF-8"
connectionTimeout="20000" redirectPort="8443" />


Restart LAMS and this should fix the issue.

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: LAMS 2.4 Workspace-Folder name with utf8 error
In response to 2 10/15/12 07:33 AM
[ Reply | Forward ]
Yes it is for debian server but a similar error there is in Windows server when you will rename a folder.

Thanks
Spyros

Posted by Spyros Papadakis

5: LAMS 2.4 Workspace-Folder name with utf8 is ok in Windows
In response to 3 10/15/12 08:40 AM
[ Reply | Forward ]
I have tested in a localhost LAMS server (Win 7) and there is no problem with UTF8 in a new folder or if you rename a folder.

Posted by Spyros Papadakis

4: Re: Re: LAMS 2.4 Workspace-Folder name with utf8 error
In response to 2 10/15/12 07:35 AM
[ Reply | Forward ]
I have included the part URIEncoding="UTF-8"

< Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" URIEncoding="UTF-8"
connectionTimeout="20000" redirectPort="8443" />

but does not work.

Posted by Spyros Papadakis

6: Re: Re: Re: LAMS 2.4 Workspace-Folder name with utf8 error
In response to 4 10/17/12 07:04 AM
[ Reply | Forward ]
Hi Spyros,

It seem that you were running LAMS behind an Apache webserver. Therefore you will also need to add the URIEncoding="UTF-8" parameter to the AJP/1.3 connector:

< !-- A AJP 1.3 Connector on port 8009 -->
< Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}" URIEncoding="UTF-8"
redirectPort="8443" />

That will fix this.

Thanks,

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum