Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Manuel Hoyos
Error migration 6.0.6 to 6.1 CE GA1
January 24, 2013 2:12 AM
Answer

Manuel Hoyos

Rank: Junior Member

Posts: 58

Join Date: June 10, 2012

Recent Posts

Hi,

i have a problem while migration process from 6.0.6 version to 6.1 GA1.

08:06:37,462 ERROR [MainServlet:198] com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
com.liferay.portal.kernel.events.ActionException: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
at com.liferay.portal.events.StartupAction.run(StartupAction.java:58)
at com.liferay.portal.servlet.MainServlet.processStartupEvents(MainServlet.java:1267)
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:195)
at javax.servlet.GenericServlet.init(GenericServlet.java:160)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5001)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5289)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:649)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1581)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.liferay.portal.verify.VerifyException: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:82)
at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:117)
at com.liferay.portal.verify.VerifyProcessUtil._verifyProcess(VerifyProcessUtil.java:78)
at com.liferay.portal.verify.VerifyProcessUtil.verifyProcess(VerifyProcessUtil.java:46)
at com.liferay.portal.events.StartupHelper.verifyProcess(StartupHelper.java:87)
at com.liferay.portal.events.StartupHelperUtil.verifyProcess(StartupHelperUtil.java:44)
at com.liferay.portal.tools.DBUpgrader.verify(DBUpgrader.java:191)
at com.liferay.portal.events.StartupAction.doRun(StartupAction.java:182)
at com.liferay.portal.events.StartupAction.run(StartupAction.java:52)
... 20 more
Caused by: com.liferay.portal.verify.VerifyException: java.lang.IllegalArgumentException: Permissioned model is null
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:82)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:89)
at com.liferay.portal.verify.VerifyProcessSuite.doVerify(VerifyProcessSuite.java:45)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:79)
... 28 more
Caused by: java.lang.IllegalArgumentException: Permissioned model is null
at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources_6(ResourceLocalServiceImpl.java:989)
at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:883)
at com.liferay.portal.service.impl.ResourceLocalServiceImpl.addResources(ResourceLocalServiceImpl.java:150)
at sun.reflect.GeneratedMethodAccessor559.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:112)
at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:108)
at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:211)
at $Proxy76.addResources(Unknown Source)
at com.liferay.portal.service.ResourceLocalServiceUtil.addResources(ResourceLocalServiceUtil.java:314)
at com.liferay.portal.verify.VerifyResourcePermissions.verifyModel(VerifyResourcePermissions.java:111)
at com.liferay.portal.verify.VerifyResourcePermissions.verifyModel(VerifyResourcePermissions.java:173)
at com.liferay.portal.verify.VerifyResourcePermissions.doVerify(VerifyResourcePermissions.java:86)
at com.liferay.portal.verify.VerifyProcess.verify(VerifyProcess.java:79)
... 31 more
Stopping the server due to unexpected startup errors

¿Any idea?

thanks...
Althaf Hussain Shaik
RE: Error migration 6.0.6 to 6.1 CE GA1
January 24, 2013 5:17 AM
Answer

Althaf Hussain Shaik

Rank: Junior Member

Posts: 60

Join Date: May 3, 2012

Recent Posts

Hi

I don`t know exactly what was the problem, but ...
In plugins-sdk build.username.properties add this line

javac.compiler=modern

and restart the server.
Manuel Hoyos
RE: Error migration 6.0.6 to 6.1 CE GA1
February 5, 2013 11:13 PM
Answer

Manuel Hoyos

Rank: Junior Member

Posts: 58

Join Date: June 10, 2012

Recent Posts

Where is build.username.properties?

In the last test, version 6.0.6 database testing correctly.

thanks
Althaf Hussain Shaik
RE: Error migration 6.0.6 to 6.1 CE GA1
February 6, 2013 3:09 AM
Answer

Althaf Hussain Shaik

Rank: Junior Member

Posts: 60

Join Date: May 3, 2012

Recent Posts

D:\NewProjectLR\liferay-plugins-sdk-6.1.1\build.althaf.properties

In pluins-sdk you will get build.username/b].properties

here username means your system name.

app.server.dir = D:\\NewProjectLR\\liferay-portal-6.1.1-ce-ga2\\tomcat-7.0.27
javac.compiler=modern


D:\\NewProjectLR\\liferay-portal-6.1.1-ce-ga2\\tomcat-7.0.27 this shold be the path of your tomcat
Manuel Hoyos
RE: Error migration 6.0.6 to 6.1 CE GA1
February 7, 2013 2:15 PM
Answer

Manuel Hoyos

Rank: Junior Member

Posts: 58

Join Date: June 10, 2012

Recent Posts

I'm not using sdk. The error occurs when i start the new server over the old database.

Thanks
Althaf Hussain Shaik
RE: Error migration 6.0.6 to 6.1 CE GA1
February 8, 2013 2:50 AM
Answer

Althaf Hussain Shaik

Rank: Junior Member

Posts: 60

Join Date: May 3, 2012

Recent Posts

Hi

If you are not using sdk, then how you want to create portlets, themes etc.

Tell me what you are exactly trying to achieve with out plugins-sdk.
Manuel Hoyos
RE: Error migration 6.0.6 to 6.1 CE GA1
February 8, 2013 4:51 AM
Answer

Manuel Hoyos

Rank: Junior Member

Posts: 58

Join Date: June 10, 2012

Recent Posts

Hi,

I'm trying to launch the process of migrating from 6.0.6 to 6.1.0.

Thanks
Althaf Hussain Shaik
RE: Error migration 6.0.6 to 6.1 CE GA1
February 10, 2013 9:13 PM
Answer

Althaf Hussain Shaik

Rank: Junior Member

Posts: 60

Join Date: May 3, 2012

Recent Posts

Hi,

Stop the server, Delete temp, log and work folders from the tomcat server. After deleting the folders restart the server.