One Star

[resolved] Failed to login to CommandLine: PersistenceException

Hello,
We have been using Talend Integration Suite without problems for a while, but this morning a strange CommandLine error appeared:
Failed to login to CommandLine : org.talend.commons.exception.PersistenceException: Cannot connect to project with url 'https://svn.agbar.local/svn/tis_prod/ACTIVE_BBDD'
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(Unknown Source)
at org.talend.repository.model.ProxyRepositoryFactory.logOnProject(Unknown Source)
at org.talend.commandline.util.RepositoryHandler.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessor.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Unknown Source)
at java.util.Timer.schedule(Unknown Source)
at org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.(DefaultSVNRepositoryPool.java:150)
at org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.(DefaultSVNRepositoryPool.java:121)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.getClientManager(SVNClientImpl.java:1787)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.getSVNWCClient(SVNClientImpl.java:1807)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.info(SVNClientImpl.java:1588)
at org.talend.repository.svnprovider.SvnHandler.info(Unknown Source)
at org.talend.repository.svnprovider.SvnEclipseHandler.info(Unknown Source)
at org.talend.repository.svnprovider.SvnProjectUrlCheck.check(Unknown Source)
... 12 more
org.talend.administrator.scheduler.business.ExecutionTaskHandler.generateJobScriptUnit(ExecutionTaskHandler.java:445)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.deployJobUnit(ExecutionTaskHandler.java:783)
org.talend.administrator.scheduler.business.ExecutionTaskHandler.access$300(ExecutionTaskHandler.java:144)
org.talend.administrator.scheduler.business.ExecutionTaskHandler$2.run(ExecutionTaskHandler.java:684)
Caused by: org.talend.commons.exception.PersistenceException: Cannot connect to project with url 'https://svn.agbar.local/svn/tis_prod/ACTIVE_BBDD'
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(Unknown Source)
at org.talend.repository.model.ProxyRepositoryFactory.logOnProject(Unknown Source)
at org.talend.commandline.util.RepositoryHandler.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessor.logonProject(Unknown Source)
at org.talend.commandline.command.CommandProcessorSwitch.caseLogonProjectCommand(Unknown Source)
at org.talend.commandline.client.util.CommandAbstractSwitch.doSwitch(Unknown Source)
at org.talend.commandline.command.CommandConsumer.executeCommand(Unknown Source)
at org.talend.commandline.command.CommandConsumer.execute(Unknown Source)
at org.talend.commandline.mode.ServerCommandLine$CommmandConsumerRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Timer already cancelled.
at java.util.Timer.sched(Unknown Source)
at java.util.Timer.schedule(Unknown Source)
at org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.(DefaultSVNRepositoryPool.java:150)
at org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.(DefaultSVNRepositoryPool.java:121)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.getClientManager(SVNClientImpl.java:1787)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.getSVNWCClient(SVNClientImpl.java:1807)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.info(SVNClientImpl.java:1588)
at org.talend.repository.svnprovider.SvnHandler.info(Unknown Source)
at org.talend.repository.svnprovider.SvnEclipseHandler.info(Unknown Source)
at org.talend.repository.svnprovider.SvnProjectUrlCheck.check(Unknown Source)
... 12 more
Assuming this would be an SVN problem, we tried to access it directly from our server. That works! Also, using the TIS client (and loading and saving jobs) works fine, so it really is only the COMMANDLINE that is unable to access SVN.
We have created a new workspace and also restarted the CommandLine service, too, but without success.
So, what should we try next?
Any help is greatly appreciated!
Yours,
Alex
1 ACCEPTED SOLUTION

Accepted Solutions
One Star

Re: [resolved] Failed to login to CommandLine: PersistenceException

Dear Pedro,
Thank you for your advice. We restarted the server entirely and now it works. Funny though, that pretty much every computer problem can be solved by a restart... :-)
Yours,
Alex
2 REPLIES
One Star

Re: [resolved] Failed to login to CommandLine: PersistenceException

Hi Alex
I find an exception.
java.lang.IllegalStateException: Timer already cancelled.

Maybe this is caused by JVM.
Try to restart computer. Does it occur again?
Wait for your feedback.
One more thing. Check whether the port of commandline is open.
Regards,
Pedro
One Star

Re: [resolved] Failed to login to CommandLine: PersistenceException

Dear Pedro,
Thank you for your advice. We restarted the server entirely and now it works. Funny though, that pretty much every computer problem can be solved by a restart... :-)
Yours,
Alex