[ 
https://issues.apache.org/jira/browse/CONNECTORS-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510577#comment-13510577
 ] 

Erlend Garåsen commented on CONNECTORS-577:
-------------------------------------------

Well, I'm not sure. I had to clean out the synchronization directory after this 
stack trace was shown. After I selected Maximum Activity, MCF stopped working. 
I tried to restart the agent, but it did not work. The agent refused to start 
and "Agent already in use" showed up in my log.

After I ran LockClean, MCF started to work again.

Of course, the locks may have been caused by a kill -9 I had to perform when I 
tried to solve the problems I encountered.
                
> Typo in language message properties which cause stack traces
> ------------------------------------------------------------
>
>                 Key: CONNECTORS-577
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-577
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>            Reporter: Erlend Garåsen
>            Assignee: Erlend Garåsen
>             Fix For: ManifoldCF 1.1
>
>
> There are typos in the message resources which leads to a stack trace if 
> Maximum Activity is selected from the GUI. This led to dangling locks in the 
> ManifoldCF synchronization directory for our production server.
> {code}
> ERROR 2012-12-04 11:59:42,275 (resin-port-127.0.0.1:6945-58949) - Missing 
> resource 
> 'maxactivityreport.IdentifierClassDescriptionMustBeAValidRegularExpression' 
> in bundle 'org.apache.manifoldcf.ui.i18n.common' for locale 'en_US'
> java.util.MissingResourceException: Can't find resource for bundle 
> java.util.PropertyResourceBundle, key 
> maxactivityreport.IdentifierClassDescriptionMustBeAValidRegularExpression
>       at java.util.ResourceBundle.getObject(ResourceBundle.java:374)
>       at java.util.ResourceBundle.getString(ResourceBundle.java:334)
>       at 
> org.apache.manifoldcf.core.i18n.Messages.getMessage(Messages.java:188)
>       at 
> org.apache.manifoldcf.core.i18n.Messages.getMessage(Messages.java:177)
>       at org.apache.manifoldcf.core.i18n.Messages.getString(Messages.java:211)
>       at 
> org.apache.manifoldcf.ui.i18n.Messages.getBodyJavascriptString(Messages.java:342)
>       at 
> org.apache.manifoldcf.ui.i18n.Messages.getBodyJavascriptString(Messages.java:118)
>       at 
> org.apache.manifoldcf.ui.i18n.Messages.getBodyJavascriptString(Messages.java:66)
>       at 
> _jsp._maxactivityreport__jsp._jspService(_maxactivityreport__jsp.java:196)
>       at 
> _jsp._maxactivityreport__jsp._jspService(_maxactivityreport__jsp.java:36)
>       at com.caucho.jsp.JavaPage.service(JavaPage.java:64)
>       at com.caucho.jsp.Page.pageservice(Page.java:542)
>       at 
> com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194)
>       at 
> com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:132)
>       at 
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:156)
>       at 
> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289)
>       at 
> com.caucho.server.hmux.HmuxRequest.handleInvocation(HmuxRequest.java:468)
>       at 
> com.caucho.server.hmux.HmuxRequest.handleRequestImpl(HmuxRequest.java:369)
>       at 
> com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:336)
>       at 
> com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:1301)
>       at 
> com.caucho.network.listen.TcpSocketLink.handleRequest(TcpSocketLink.java:1257)
>       at 
> com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:1241)
>       at 
> com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:1149)
>       at 
> com.caucho.network.listen.TcpSocketLink.handleAcceptTaskImpl(TcpSocketLink.java:950)
>       at 
> com.caucho.network.listen.ConnectionTask.runThread(ConnectionTask.java:117)
>       at com.caucho.network.listen.ConnectionTask.run(ConnectionTask.java:93)
>       at 
> com.caucho.network.listen.SocketLinkThreadLauncher.handleTasks(SocketLinkThreadLauncher.java:169)
>       at 
> com.caucho.network.listen.TcpSocketAcceptThread.run(TcpSocketAcceptThread.java:61)
>       at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
>       at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to