portlet publish error

7 messages Options
Embed this post
Permalink
Curtis Garman

portlet publish error

Reply Threaded More More options
Print post
Permalink
When registering a portlet I got the following error and I'm not sure
what it means. If I go look in my web.xml file I see the
/PlutoInvoker/mailportlet servlet mapping...so I'm not sure why it
wouldn't be able to find it

Caused by: javax.portlet.PortletException: Unable to locate request
dispatcher for context mailportlet and portlet
/PlutoInvoker/mailportlet.
        at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:209)
        at org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
        at org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:307)
        at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:315)
        ... 67 more


--
Curtis Garman
Web Programmer
Heartland Community College

---
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
Eric Dalquist

Re: portlet publish error

Reply Threaded More More options
Print post
Permalink
What information did you specify in channel manager for portlet
application id and portlet name?

-Eric

Curtis Garman wrote:

> When registering a portlet I got the following error and I'm not sure
> what it means. If I go look in my web.xml file I see the
> /PlutoInvoker/mailportlet servlet mapping...so I'm not sure why it
> wouldn't be able to find it
>
> Caused by: javax.portlet.PortletException: Unable to locate request
> dispatcher for context mailportlet and portlet
> /PlutoInvoker/mailportlet.
> at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:209)
> at org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
> at org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:307)
> at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:315)
> ... 67 more
>
>
> --
> Curtis Garman
> Web Programmer
> Heartland Community College
>
> ---
> 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
>  


smime.p7s (4K) Download Attachment
Curtis Garman

Re: portlet publish error

Reply Threaded More More options
Print post
Permalink
application id = /jasig-mail-portlet
portlet name = mailportlet

just to double check I didn't have a typo, I copied an pasted the app
id from tomcat and the portlet name from the portlet.xml file.

On Wed, Oct 7, 2009 at 5:22 PM, Eric Dalquist
<[hidden email]> wrote:

> What information did you specify in channel manager for portlet application
> id and portlet name?
>
> -Eric
>
> Curtis Garman wrote:
>>
>> When registering a portlet I got the following error and I'm not sure
>> what it means. If I go look in my web.xml file I see the
>> /PlutoInvoker/mailportlet servlet mapping...so I'm not sure why it
>> wouldn't be able to find it
>>
>> Caused by: javax.portlet.PortletException: Unable to locate request
>> dispatcher for context mailportlet and portlet
>> /PlutoInvoker/mailportlet.
>>        at
>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:209)
>>        at
>> org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
>>        at
>> org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:307)
>>        at
>> org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:315)
>>        ... 67 more
>>
>>
>> --
>> Curtis Garman
>> Web Programmer
>> Heartland Community College
>>
>> --- 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
>>
>



--
Curtis Garman
Web Programmer
Heartland Community College

---
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

Curtis Garman

Re: portlet publish error

Reply Threaded More More options
Print post
Permalink
ok...never mind...upon further inspection of the logs, I see the
webapp didn't even startup correctly when tomcat started.

On Thu, Oct 8, 2009 at 8:04 AM, Curtis Garman <[hidden email]> wrote:

> application id = /jasig-mail-portlet
> portlet name = mailportlet
>
> just to double check I didn't have a typo, I copied an pasted the app
> id from tomcat and the portlet name from the portlet.xml file.
>
> On Wed, Oct 7, 2009 at 5:22 PM, Eric Dalquist
> <[hidden email]> wrote:
>> What information did you specify in channel manager for portlet application
>> id and portlet name?
>>
>> -Eric
>>
>> Curtis Garman wrote:
>>>
>>> When registering a portlet I got the following error and I'm not sure
>>> what it means. If I go look in my web.xml file I see the
>>> /PlutoInvoker/mailportlet servlet mapping...so I'm not sure why it
>>> wouldn't be able to find it
>>>
>>> Caused by: javax.portlet.PortletException: Unable to locate request
>>> dispatcher for context mailportlet and portlet
>>> /PlutoInvoker/mailportlet.
>>>        at
>>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:209)
>>>        at
>>> org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
>>>        at
>>> org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:307)
>>>        at
>>> org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:315)
>>>        ... 67 more
>>>
>>>
>>> --
>>> Curtis Garman
>>> Web Programmer
>>> Heartland Community College
>>>
>>> --- 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
>>>
>>
>
>
>
> --
> Curtis Garman
> Web Programmer
> Heartland Community College
>



--
Curtis Garman
Web Programmer
Heartland Community College

---
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

Gary Weaver

Re: portlet publish error

Reply Threaded More More options
Print post
Permalink
Curtis,

Not sure which MailPortlet you are dealing with, but is this the one
that you're trying to get to work?:
http://www.jasig.org/portlets/mail-portlet (btw- I didn't realize that
this page was here until now- it is a little misleading as it appears
that the portlet is complete/released, even though is really still in
development)
http://www.ja-sig.org/wiki/display/PLT/MailPortlet
https://www.ja-sig.org/svn/sandbox/MailPortlet/

If so, please note that the current/development version in trunk is not
really ready for prime-time as indicated in its wiki page. The config UI
on it needs some additional work, and there are very likely some
additional kinks to work out. I'm going to be probably back working on
developing that one possibly fairly soon (maybe even today/tomorrow), so
if you or anyone else want to add bugs that you find (legitimate bugs
with the portlet itself- not support issues in running/configuring it)
then you can add them here in its Jira project: http://bit.ly/4kkkNN

If you run into any issues specific to configuring the portlet that
aren't general portlet deployment/publishing issues that would be
answers on the uportal-user list, then you could also bring those up on
the portlet-dev list since that portlet is still under development (
http://www.ja-sig.org/wiki/display/JSG/portlet-dev ).

Thanks,
Gary


Curtis Garman wrote:

> ok...never mind...upon further inspection of the logs, I see the
> webapp didn't even startup correctly when tomcat started.
>
> On Thu, Oct 8, 2009 at 8:04 AM, Curtis Garman <[hidden email]> wrote:
>  
>> application id = /jasig-mail-portlet
>> portlet name = mailportlet
>>
>> just to double check I didn't have a typo, I copied an pasted the app
>> id from tomcat and the portlet name from the portlet.xml file.
>>
>> On Wed, Oct 7, 2009 at 5:22 PM, Eric Dalquist
>> <[hidden email]> wrote:
>>    
>>> What information did you specify in channel manager for portlet application
>>> id and portlet name?
>>>
>>> -Eric
>>>
>>> Curtis Garman wrote:
>>>      
>>>> When registering a portlet I got the following error and I'm not sure
>>>> what it means. If I go look in my web.xml file I see the
>>>> /PlutoInvoker/mailportlet servlet mapping...so I'm not sure why it
>>>> wouldn't be able to find it
>>>>
>>>> Caused by: javax.portlet.PortletException: Unable to locate request
>>>> dispatcher for context mailportlet and portlet
>>>> /PlutoInvoker/mailportlet.
>>>>        at
>>>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:209)
>>>>        at
>>>> org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
>>>>        at
>>>> org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:307)
>>>>        at
>>>> org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:315)
>>>>        ... 67 more
>>>>
>>>>
>>>> --
>>>> Curtis Garman
>>>> Web Programmer
>>>> Heartland Community College
>>>>
>>>> --- 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
>>>>
>>>>        
>>
>> --
>> Curtis Garman
>> Web Programmer
>> Heartland Community College
>>
>>    
>
>
>
>  


---
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
Curtis Garman

Re: portlet publish error

Reply Threaded More More options
Print post
Permalink
Gary, yes as soon as I pulled it into eclispe I realized it wasn't
done because i had to add a couple unimplemented method
signatures...but I figured I would see what it looked like. I tried
the other mail portlet and never got that one to work
properly...that's when i went looking for more documentation and found
the documentation for the new version.

I would love to provide you some feedback on the new version but I
never was able to get it up and running. The app keeps throwing
exceptions on startup
org.springframework.ejb.config.JeeNamespaceHandler and
java.lang.IllegalArgumentException: iv must be set on
org.jasig.portlet.mail.util.encryption.impl.DesEncryptionToolImpl bean
in spring config. I can send you the log if you are interested but
suppose that you can duplicate it yourself since you are developing
it.

Curtis

On Thu, Oct 8, 2009 at 8:46 AM, Gary Weaver <[hidden email]> wrote:

> Curtis,
>
> Not sure which MailPortlet you are dealing with, but is this the one that
> you're trying to get to work?:
> http://www.jasig.org/portlets/mail-portlet (btw- I didn't realize that this
> page was here until now- it is a little misleading as it appears that the
> portlet is complete/released, even though is really still in development)
> http://www.ja-sig.org/wiki/display/PLT/MailPortlet
> https://www.ja-sig.org/svn/sandbox/MailPortlet/
>
> If so, please note that the current/development version in trunk is not
> really ready for prime-time as indicated in its wiki page. The config UI on
> it needs some additional work, and there are very likely some additional
> kinks to work out. I'm going to be probably back working on developing that
> one possibly fairly soon (maybe even today/tomorrow), so if you or anyone
> else want to add bugs that you find (legitimate bugs with the portlet
> itself- not support issues in running/configuring it) then you can add them
> here in its Jira project: http://bit.ly/4kkkNN
>
> If you run into any issues specific to configuring the portlet that aren't
> general portlet deployment/publishing issues that would be answers on the
> uportal-user list, then you could also bring those up on the portlet-dev
> list since that portlet is still under development (
> http://www.ja-sig.org/wiki/display/JSG/portlet-dev ).
>
> Thanks,
> Gary
>
>
> Curtis Garman wrote:
>>
>> ok...never mind...upon further inspection of the logs, I see the
>> webapp didn't even startup correctly when tomcat started.
>>
>> On Thu, Oct 8, 2009 at 8:04 AM, Curtis Garman <[hidden email]>
>> wrote:
>>
>>>
>>> application id = /jasig-mail-portlet
>>> portlet name = mailportlet
>>>
>>> just to double check I didn't have a typo, I copied an pasted the app
>>> id from tomcat and the portlet name from the portlet.xml file.
>>>
>>> On Wed, Oct 7, 2009 at 5:22 PM, Eric Dalquist
>>> <[hidden email]> wrote:
>>>
>>>>
>>>> What information did you specify in channel manager for portlet
>>>> application
>>>> id and portlet name?
>>>>
>>>> -Eric
>>>>
>>>> Curtis Garman wrote:
>>>>
>>>>>
>>>>> When registering a portlet I got the following error and I'm not sure
>>>>> what it means. If I go look in my web.xml file I see the
>>>>> /PlutoInvoker/mailportlet servlet mapping...so I'm not sure why it
>>>>> wouldn't be able to find it
>>>>>
>>>>> Caused by: javax.portlet.PortletException: Unable to locate request
>>>>> dispatcher for context mailportlet and portlet
>>>>> /PlutoInvoker/mailportlet.
>>>>>       at
>>>>>
>>>>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:209)
>>>>>       at
>>>>>
>>>>> org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
>>>>>       at
>>>>>
>>>>> org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:307)
>>>>>       at
>>>>>
>>>>> org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:315)
>>>>>       ... 67 more
>>>>>
>>>>>
>>>>> --
>>>>> Curtis Garman
>>>>> Web Programmer
>>>>> Heartland Community College
>>>>>
>>>>> --- 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
>>>>>
>>>>>
>>>
>>> --
>>> Curtis Garman
>>> Web Programmer
>>> Heartland Community College
>>>
>>>
>>
>>
>>
>>
>
>
> --- 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
>



--
Curtis Garman
Web Programmer
Heartland Community College

---
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

Gary Weaver

Re: portlet publish error

Reply Threaded More More options
Print post
Permalink
Curtis,

The JeeNamespaceHandler handler I've not seen before, but if is a
"[org.springframework.ejb.config.JeeNamespaceHandler]: class not found"
or similar, it means the Spring jar it that it is expecting to be
somewhere in the classpath, isn't. I might be missing a dependency for
spring in the pom.xml, even though it has a few in there already, and it
is compiled against a much older version of Spring (2.0.8).

I just added that into the trunk of MailPortlet, so hopefully that fixes
that for you?

I also fixed the test compilation errors. Sorry about that. You might be
able to/want to revert those changes you had to make to that test class.

The other one ("iv must be set on
org.jasig.portlet.mail.util.encryption.impl.DesEncryptionToolImpl") is
indicating that you need to set the "iv" in its spring config for
password encryption if you are using DES for encryption. I left support
for DES in there because a former version used DES. I previously added
AES encryption support for mail passwords which you might rather use
(and would suggest if you use that you use the highest number of bits
supported by your JVM). I just changed the default mailsecurity.xml to
assume you are using AES and now it will complain that a "key" is
missing in AesEncryptionToolImpl unless you edit
WEB-INF/context/portlet/mailsecurity.xml and place a valid hex encoded
key for the value of the key property of encryptionTool (using class
org.jasig.portlet.mail.util.encryption.impl.AesEncryptionToolImpl).

Copying portlet-dev list, and probably future email should be directed
at only that list.

Hope this helps,

Gary



Curtis Garman wrote:

> Gary, yes as soon as I pulled it into eclispe I realized it wasn't
> done because i had to add a couple unimplemented method
> signatures...but I figured I would see what it looked like. I tried
> the other mail portlet and never got that one to work
> properly...that's when i went looking for more documentation and found
> the documentation for the new version.
>
> I would love to provide you some feedback on the new version but I
> never was able to get it up and running. The app keeps throwing
> exceptions on startup
> org.springframework.ejb.config.JeeNamespaceHandler and
> java.lang.IllegalArgumentException: iv must be set on
> org.jasig.portlet.mail.util.encryption.impl.DesEncryptionToolImpl bean
> in spring config. I can send you the log if you are interested but
> suppose that you can duplicate it yourself since you are developing
> it.
>
> Curtis
>
> On Thu, Oct 8, 2009 at 8:46 AM, Gary Weaver <[hidden email]> wrote:
>  
>> Curtis,
>>
>> Not sure which MailPortlet you are dealing with, but is this the one that
>> you're trying to get to work?:
>> http://www.jasig.org/portlets/mail-portlet (btw- I didn't realize that this
>> page was here until now- it is a little misleading as it appears that the
>> portlet is complete/released, even though is really still in development)
>> http://www.ja-sig.org/wiki/display/PLT/MailPortlet
>> https://www.ja-sig.org/svn/sandbox/MailPortlet/
>>
>> If so, please note that the current/development version in trunk is not
>> really ready for prime-time as indicated in its wiki page. The config UI on
>> it needs some additional work, and there are very likely some additional
>> kinks to work out. I'm going to be probably back working on developing that
>> one possibly fairly soon (maybe even today/tomorrow), so if you or anyone
>> else want to add bugs that you find (legitimate bugs with the portlet
>> itself- not support issues in running/configuring it) then you can add them
>> here in its Jira project: http://bit.ly/4kkkNN
>>
>> If you run into any issues specific to configuring the portlet that aren't
>> general portlet deployment/publishing issues that would be answers on the
>> uportal-user list, then you could also bring those up on the portlet-dev
>> list since that portlet is still under development (
>> http://www.ja-sig.org/wiki/display/JSG/portlet-dev ).
>>
>> Thanks,
>> Gary
>>
>>
>> Curtis Garman wrote:
>>    
>>> ok...never mind...upon further inspection of the logs, I see the
>>> webapp didn't even startup correctly when tomcat started.
>>>
>>> On Thu, Oct 8, 2009 at 8:04 AM, Curtis Garman <[hidden email]>
>>> wrote:
>>>
>>>      
>>>> application id = /jasig-mail-portlet
>>>> portlet name = mailportlet
>>>>
>>>> just to double check I didn't have a typo, I copied an pasted the app
>>>> id from tomcat and the portlet name from the portlet.xml file.
>>>>
>>>> On Wed, Oct 7, 2009 at 5:22 PM, Eric Dalquist
>>>> <[hidden email]> wrote:
>>>>
>>>>        
>>>>> What information did you specify in channel manager for portlet
>>>>> application
>>>>> id and portlet name?
>>>>>
>>>>> -Eric
>>>>>
>>>>> Curtis Garman wrote:
>>>>>
>>>>>          
>>>>>> When registering a portlet I got the following error and I'm not sure
>>>>>> what it means. If I go look in my web.xml file I see the
>>>>>> /PlutoInvoker/mailportlet servlet mapping...so I'm not sure why it
>>>>>> wouldn't be able to find it
>>>>>>
>>>>>> Caused by: javax.portlet.PortletException: Unable to locate request
>>>>>> dispatcher for context mailportlet and portlet
>>>>>> /PlutoInvoker/mailportlet.
>>>>>>       at
>>>>>>
>>>>>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:209)
>>>>>>       at
>>>>>>
>>>>>> org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
>>>>>>       at
>>>>>>
>>>>>> org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:307)
>>>>>>       at
>>>>>>
>>>>>> org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:315)
>>>>>>       ... 67 more
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Curtis Garman
>>>>>> Web Programmer
>>>>>> Heartland Community College
>>>>>>
>>>>>> --- 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
>>>>>>
>>>>>>
>>>>>>            
>>>> --
>>>> Curtis Garman
>>>> Web Programmer
>>>> Heartland Community College
>>>>
>>>>
>>>>        
>>>
>>>
>>>      
>> --- 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
>>
>>    
>
>
>
>  


---
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