[Building Sakai] Possible regression in string handling in properties files

gayan sukumal wiharagoda gayanwiharagoda at gmail.com
Mon May 7 20:36:49 PDT 2012


Hi,
I went trough the link.I need to use Set
username at javax.sql.BaseDataSource=${sakai}
.Is that the thing?.I have attached my sakai.properties file with this. It
is in the ${CATALINA_HOME}/sakai directory.
cheers,
Gayan.

On Mon, May 7, 2012 at 11:57 PM, Seth Theriault <slt at columbia.edu> wrote:

> Hello,
>
> Please take a look at this JIRA:
>
> https://jira.sakaiproject.org/browse/SAK-22148
>
> To summarize very briefly, it looks as though the way in which
> defined-string subnstitutions are handled in properties files has
> changed. In particular, in certain cases, strings don't seem to
> fully expand when used in a file different from the one in which
> they are defined.
>
> As an example, if you have this config:
>
> -- sakai.properties
>
> serverID=${badstring}
>
> -- local.properties
>
> badstring=BADBADBAD
>
> Then you will see "Server ${badstring}" instead of "Server
> BADBADBAD" in the page footer.
>
> It doesn't appear to affect strings used in "bean-style"
> properties so sepcifying database passwords in
> security.properties and using the "${sting}" syntax still works.
> Adn substitutions within the same file (e.g., sakai.properties)
> are unaffected as well.
>
> I came across this problem using a local 1.2.6 kernel (Sakai 2.8)
> that had been modified with specific backports from 1.3. I was
> able to confirm it in 2.9.0-b01 and above.
>
> Seth
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120508/4590a445/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sakai.properties
Type: application/octet-stream
Size: 44320 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120508/4590a445/attachment.obj 


More information about the sakai-dev mailing list