Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
H. William Connors II
ServletContext in 6.1.1 not initialized before Upgrade script called
October 30, 2012 2:14 PM
Answer

H. William Connors II

Rank: New Member

Posts: 24

Join Date: February 3, 2011

Recent Posts

I had some setup code that ran as an Upgrade script in 6.1.0 that was able to get the ServletContext and worked just fine. Now that I am moving to 6.1.1 it would appear that the Upgrade code is executed before the ServletContext is initialized. Does anyone know if there is a way to change this or to obtain the ServletContext in an Upgrade script?
H. William Connors II
RE: ServletContext in 6.1.1 not initialized before Upgrade script called
October 31, 2012 2:09 PM
Answer

H. William Connors II

Rank: New Member

Posts: 24

Join Date: February 3, 2011

Recent Posts

It took more digging but I found the issue:

http://issues.liferay.com/browse/LPS-29103