Re: 500 error when inviting new blog admin

Chris Thistlethwaite <[email protected]>
Newsgroups gmane.comp.java.roller.devel
Message-ID <[email protected]>
/usr/share/tomcat8/lib/javax.mail.jar is on disk and in Puppet, but I 
don't see activation.jar anywhere. It's not in the old Puppet repo either.


-Chris T.

On 3/17/21 12:11 PM, Dave wrote:
> Part of the typical Roller installation process is adding mail.jar and 
> activation.jar to the Tomcat classpath. It appears that perhaps those 
> files have been deleted from the Roller setup. I'm pretty sure this 
> was working before on blogs.apache.org <http://blogs.apache.org>. 
> Maybe Christ T or Gavin M would be able to comment so I added them to 
> the CC.
>
> Dave
>
>
> On Wed, Mar 17, 2021 at 11:58 AM Rich Bowen <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Um ... sorry ... my mistake, the second invite immediately after
>     the first *did* result in a 500 this time, but this time for a
>     different reason:
>
>     Caused by: java.lang.NoClassDefFoundError: javax/activation/DataSource
>             at
>     org.apache.roller.weblogger.util.MailUtil.sendMessage(MailUtil.java:577)
>     ~[classes/:?]
>
>     However, that appears to be a configuration problem - ie, no mail
>     server designated. So probably unrelated.
>
>
>     On 2021/03/17 15:54:41, Rich Bowen <[email protected]
>     <mailto:[email protected]>> wrote:
>     > Hi, folks,
>     >
>     > I have just added some people to the Conferences section of
>     blogs.apache.org <http://blogs.apache.org>, as authors. Each time,
>     the server returns a 500 error, but the user is successfully added.
>     >
>     > The error message, which is extremely lengthy, starts with:
>     >
>     > 15:45:43.850 [http-nio-8080-exec-747] ERROR
>     org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler -
>     Exception occurred during processing request: Method "save" failed
>     for object
>     org.apache.roller.weblogger.ui.struts2.editor.MembersInvite@51d2271
>     > ognl.MethodFailedException: Method "save" failed for object
>     org.apache.roller.weblogger.ui.struts2.editor.MembersInvite@51d2271
>     >         at
>     ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1932)
>     ~[ognl-3.1.26.jar:?]
>     >         at
>     ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68)
>     ~[ognl-3.1.26.jar:?]
>     >         at
>     com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:98)
>     ~[struts2-core-2.5.22.jar:2.5.22]
>     >
>     >
>     > This is apparently caused by ...
>     >
>     >
>     > Caused by: java.lang.ClassNotFoundException:
>     javax.activation.DataSource
>     >
>     >
>     > Infra can provide the whole error message if that would be at
>     all helpful.
>     >
>     > This appears to happen when the server has been idle for a very
>     long time. ie, if I invite someone, this happens, but if I do a
>     second one right away, I do not get the 500 error. Trying again
>     the next morning, I get the 500 error again. This seems to suggest
>     some kind of data connection timeout?
>     >
>     > Anyways, thanks, as always, for a great tool, and let me know if
>     I can provide any further information.
>     >
>     >
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.