[ 
https://jira.terracotta.org/jira//browse/CDV-366?page=comments#action_22490 ] 
            
Mouad BOX commented on CDV-366:
-------------------------------

Hi Gary,

I'll base my description on slider tutorial. I configure two servers "primary 
and secondary".

1 - Into Eclipse env, and using TC eclipse plugin, I stop one server as result 
both servers show stop and ready to run.

      Which is not the case, one is still running.

2 - In case, I use stop-tc-server to stop a server, what happen is that the 
targeted server with my stop command is stopped.

      And once I go to the menu item "servers" into TC plugin it shows servers 
items disabled.

I have exception stack trace related to Terracotta into eclipse log :
!ENTRY org.eclipse.ui 4 4 2007-08-15 15:00:44.531
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-08-15 15:00:44.562
!MESSAGE String index out of range: -1
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(Unknown Source)
        at 
org.terracotta.dso.ConfigurationHelper.getRawString(ConfigurationHelper.java:3014)
        at 
org.terracotta.dso.ConfigurationHelper.validateLocks(ConfigurationHelper.java:3029)
        at 
org.terracotta.dso.ConfigurationHelper.validateAll(ConfigurationHelper.java:3001)
        at org.terracotta.dso.TcPlugin.loadConfiguration(TcPlugin.java:613)
        at 
org.terracotta.dso.TcPlugin.setConfigurationFromString(TcPlugin.java:725)
        at 
org.terracotta.dso.editors.ConfigurationEditor.syncXmlModel(ConfigurationEditor.java:556)
        at 
org.terracotta.dso.editors.ConfigurationEditor$ParseTimer.run(ConfigurationEditor.java:199)
        at org.eclipse.swt.widgets.Display.runTimer(Display.java:3411)
        at org.eclipse.swt.widgets.Display.messageProc(Display.java:2693)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1932)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at 
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)

I hope that this will help you.

Best regards,


> Terracotta plugin fails to manager more than one server
> -------------------------------------------------------
>
>                 Key: CDV-366
>                 URL: https://jira.terracotta.org/jira//browse/CDV-366
>             Project: Community Development
>          Issue Type: Bug
>          Components: Eclipse Plugin
>    Affects Versions: 2.3
>            Reporter: Mouad BOX
>         Assigned To: Gary Keim
>         Attachments: tc-plugin-menu.JPG
>
>
> Hi all,
> Using Eclipse plugin 2.3 for TC Server, I started two servers "primary & 
> secondary" for a specific TCconfiguration.
> I stopped one of the servers, using stop-tc-server.bat and get back to 
> eclipse environment.
> I found that servers menu available under terracotta plugin for eclipse is 
> disabled.
> Best regards,
> Mouad.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to