import the fragment administration related channels encountered error

2 messages Options
Embed this post
Permalink
103752474

import the fragment administration related channels encountered error

Reply Threaded More More options
Print post
Permalink
For the admin user can use the fragment administration after the upgrade from up 2.5 to up 3.1, i wanted to import two more channels(fragment-admin.channel and fragment-admin-exit.channel) to my portal. But it encountered the error listed following:
     [java]  INFO Parsing group service configuration.
     [java]  INFO RDBMEntityGroupStore.initialize(): Node separator set to .
     [java]  INFO Looking up bean 'cacheFactory' in ApplicationContext due to co
ntext not yet being initialized
     [java] ERROR Failed to import Channel from:  fragment-admin-exit.channel du
e to exception: org.danann.cernunnos.ManagedException: The Cernunnos Runtime enc
ountered an error:
     [java]             Origin Document:  jar:file:/F:/uPortal-3.1.1-quick-start
/uPortal-3.1.1/uportal-impl/target/uportal-impl-3.1.1.jar!/org/jasig/portal/io/i
mport-channel_v3-1.crn
     [java]             Source:  /groovy
     [java]             Entity Name:  <groovy>
     [java] ERROR Exception thrown while performing subtask in its own thread. T
he parent ExecutorService has been shutdown since fail-fast was set to true
     [java] org.danann.cernunnos.ManagedException: The Cernunnos Runtime encount
ered an error:
     [java]             Origin Document:  jar:file:/F:/uPortal-3.1.1-quick-start
/uPortal-3.1.1/uportal-impl/target/uportal-impl-3.1.1.jar!/org/jasig/portal/io/i
mport-channel_v3-1.crn
     [java]             Source:  /groovy
     [java]             Entity Name:  <groovy>
     [java]     at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(Run
timeTaskDecorator.java:93)
     [java]     at org.danann.cernunnos.runtime.ScriptRunner$TaskDecorator.perfo
rm(ScriptRunner.java:435)
     [java]     at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.ja
va:287)
     [java]     at org.danann.cernunnos.flow.CernunnosTask.perform(CernunnosTask
.java:97)
     [java]     at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(Run
timeTaskDecorator.java:77)
     [java]     at org.danann.cernunnos.AbstractContainerTask.performSubtasks(Ab
stractContainerTask.java:148)
     [java]     at org.danann.cernunnos.AbstractContainerTask.performSubtasks(Ab
stractContainerTask.java:123)
     [java]     at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttribu
teTask.java:66)
     [java]     at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(Run
timeTaskDecorator.java:77)
     [java]     at org.danann.cernunnos.core.ErrorHandlingTask.perform(ErrorHand
lingTask.java:112)
     [java]     at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(Run
timeTaskDecorator.java:77)
     [java]     at org.danann.cernunnos.AbstractContainerTask.performSubtasks(Ab
stractContainerTask.java:148)
     [java]     at org.danann.cernunnos.AbstractContainerTask.performSubtasks(Ab
stractContainerTask.java:123)
     [java]     at org.danann.cernunnos.concurrent.ConcurrentTask.access$000(Con
currentTask.java:24)
     [java]     at org.danann.cernunnos.concurrent.ConcurrentTask$1.run(Concurre
ntTask.java:72)
     [java]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors
.java:417)
     [java]     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java
:269)
     [java]     at java.util.concurrent.FutureTask.run(FutureTask.java:123)
     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
PoolExecutor.java:650)
     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:675)
     [java]     at java.lang.Thread.run(Thread.java:595)
     [java] Caused by: java.lang.RuntimeException: Error while executing the spe
cified script.
     [java]             ENGINE_NAME:  groovy
     [java]             SCRIPT (follows):
     [java]
     [java]         org.jasig.portal.tools.chanpub.UrlChannelPublisher.publishCh
annel(Attributes.NODE);
     [java]
     [java]
     [java]     at org.danann.cernunnos.script.ScriptTask.perform(ScriptTask.jav
a:100)
     [java]     at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(Run
timeTaskDecorator.java:77)
     [java]     ... 20 more
     [java] Caused by: javax.script.ScriptException: java.lang.reflect.Invocatio
nTargetException
     [java]     at org.danann.cernunnos.script.ScriptEvaluator.eval(ScriptEvalua
tor.java:160)
     [java]     at org.danann.cernunnos.script.ScriptTask.perform(ScriptTask.jav
a:97)
     [java]     ... 21 more
     [java] Caused by: java.lang.reflect.InvocationTargetException
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.danann.cernunnos.script.ScriptEvaluator.eval(ScriptEvalua
tor.java:153)
     [java]     ... 22 more
     [java] Caused by: javax.script.ScriptException: java.lang.RuntimeException:
 Error publishing the channel definition.
     [java]     at com.sun.script.groovy.GroovyScriptEngine.eval(GroovyScriptEng
ine.java:245)
     [java]     at com.sun.script.groovy.GroovyCompiledScript.eval(GroovyCompile
dScript.java:46)
     [java]     ... 27 more
     [java] Caused by: java.lang.RuntimeException: Error publishing the channel
definition.
     [java]     at org.jasig.portal.tools.chanpub.UrlChannelPublisher.publishCha
nnel(UrlChannelPublisher.java:33)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMeth
od.java:86)
     [java]     at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
     [java]     at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.ja
va:1105)
     [java]     at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(Invoke
rHelper.java:749)
     [java]     at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMetho
dN(ScriptBytecodeAdapter.java:170)
     [java]     at Script9.run(Script9.groovy:2)
     [java]     at com.sun.script.groovy.GroovyScriptEngine.eval(GroovyScriptEng
ine.java:243)
     [java]     ... 28 more
     [java] Caused by: java.lang.Exception: Invalid entry 'Fragment Owners' for
group.
     [java]     at org.jasig.portal.tools.chanpub.ChannelPublisher.getGroups(Cha
nnelPublisher.java:704)
     [java]     at org.jasig.portal.tools.chanpub.ChannelPublisher.getChannelInf
o(ChannelPublisher.java:422)
     [java]     at org.jasig.portal.tools.chanpub.ChannelPublisher.publishChanne
l(ChannelPublisher.java:231)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.springframework.aop.support.AopUtils.invokeJoinpointUsing
Reflection(AopUtils.java:307)
     [java]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
invokeJoinpoint(ReflectiveMethodInvocation.java:182)
     [java]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
proceed(ReflectiveMethodInvocation.java:149)
     [java]     at org.springframework.orm.jpa.JpaInterceptor.invoke(JpaIntercep
tor.java:96)
     [java]     at org.springframework.aop.framework.ReflectiveMethodInvocation.
proceed(ReflectiveMethodInvocation.java:171)
     [java]     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(J
dkDynamicAopProxy.java:204)
     [java]     at $Proxy44.publishChannel(Unknown Source)
     [java]     at org.jasig.portal.tools.chanpub.UrlChannelPublisher.publishCha
nnel(UrlChannelPublisher.java:29)
     [java]     ... 39 more
     [java] Import of F:\temp Complete: 1515

How to fix it ? Thanks ! 



09��������������������������������������������
-- 
You are currently subscribed to [hidden email] as: [hidden email]
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-user
103752474

Re: import the fragment administration related channels encountered error

Reply Threaded More More options
Print post
Permalink

I just made some mistakes before doing the import. I should add the "Fragment Owners" group to my portal for the fragment-admin-exit.channel.