Home » Eclipse Projects » Eclipse 4 » Perspective Minimize/Maximize problem(Perspective Minimize Maximize problem)
| | |
Re: Perspective Minimize/Maximize problem [message #1012780 is a reply to message #1011841] |
Fri, 22 February 2013 08:13 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
The problem you are seeing happens because of the merging that HAPPENS
all the time!
So when you run and minimize a part the frameworks adds a tag to the
part but on next start the merge COMPLETELY, replaces the part with a
new instance loaded from the fragment.
I'm afraid there is NO solution yet in 4.2 beside not using fragments
but instead of that use processors! I've proposed a solution in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=389663 which would allow
to merge the contribution from the fragment ONLY if we are coming from
an initial state!
Tom
Am 20.02.13 11:48, schrieb Alain Artouste:
> Hello,
>
> I tried Mininize/Maximize on parts in a perspective in a project and It works fairly well.
>
> BUT, when I split in 2 projects, an root application project and another project containing perspective and other stuff thru a fragment file, I obtain an erratic behavior.
> Run the application, Minimize a part, close the application.
> Run again the application, the part appears twice one in a minimized aspect and one in a restored aspect and the behavior of part when restoring the minimized part is totally erratic.
>
> Is it an error from how I make a reference to the application in the fragment file, or is it a bug?
> I use featurename="children" and parentElementId="perspectiveTestApplication.trimmed.window" to make a reference to the root application.
> Below an excerpt of the fragment.e4xmi file:
> <fragments xsi:type="fragment:StringModelFragment" xmi:id="xxx" featurename="children" parentElementId="perspectiveTestApplication.trimmed.window">
> <elements xsi:type="advanced:PerspectiveStack" xmi:id="xxx" elementId="perspectiveStack">
> <children xsi:type="advanced:Perspective" xmi:id="xxx" elementId="">
> <children xsi:type="basic:PartSashContainer" xmi:id="xxx" elementId="" horizontal="true">
> <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="25">
> <children xsi:type="basic:Part" xmi:id="xxx" elementId="Navigator" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Navigator" label="Navigator" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_NAVIGATOR.png"/>
> </children>
> <children xsi:type="basic:PartSashContainer" xmi:id="xxx" elementId="" containerData="75" horizontal="true">
> <children xsi:type="basic:PartSashContainer" xmi:id="xxx" elementId="perspectiveteste4.partsashcontainer.0" containerData="70">
> <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="75">
> <children xsi:type="basic:Part" xmi:id="xxx" elementId="Editor" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Editor" label="Editor" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_EDITOR.png"/>
> </children>
> <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="25">
> <children xsi:type="basic:Part" xmi:id="xxx" elementId="Console" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Console" label="Console" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_CONSOLE.png"/>
> </children>
> </children>
> <children xsi:type="basic:PartStack" xmi:id="xxx" elementId="" containerData="30">
> <children xsi:type="basic:Part" xmi:id="xxx" elementId="Outline" contributionURI="bundleclass://PerspectiveTestE4/perspectivetest.e4.part.Outline" label="Outline" iconURI="platform:/plugin/PerspectiveTestE4/icons/IMG_OUTLINE.png"/>
> </children>
> </children>
> </children>
> </children>
> </elements>
> </fragments>
>
>
>
> I join a ZIP file containing 3 projects:
> - PerspectiveTest all in one project: It works fairly well.
> - PerpectiveApplication and PerspectiveE4 = Erratic behavior.
>
>
> Environment: Eclipse 4.2.1 and Eclipse 4.3M5.
>
> Best regards
> Alain
>
|
|
|
Re: Perspective Minimize/Maximize problem [message #1012838 is a reply to message #1012736] |
Fri, 22 February 2013 10:05 |
zizou xxx Messages: 1 Registered: February 2013 |
Junior Member |
|
|
Hi all,
I have a problem when I try to debug my project,I looked in many forum and many solutions but it remains the same problem ;(
2013-02-22 09:57:53,126 : Server.<init> : JVM used is 1.5.0_22 version of Java HotSpot(TM) 64-Bit Server VM-1.5.0_22-b03/Sun Microsystems Inc. vendor on Windows 7 6.1/amd64 OS.
2013-02-22 09:57:53,126 : PolicyProvider.init : Using JOnAS PolicyConfigurationFactory provider and JOnAS Policy provider
2013-02-22 09:57:55,280 : NameServiceManager.startNonStartedNS : Name service for jrmp is started on port 1099
2013-02-22 09:57:55,328 : ServiceManager.startRegistry : registry service started
2013-02-22 09:57:55,484 : JmxServiceImpl.doStart : JMX security is disabled
2013-02-22 09:57:55,484 : ServiceManager.startJmx : jmx service started
2013-02-22 09:57:55,780 : Current.<init> : JOTM v2.0.13-isis
2013-02-22 09:57:55,796 : Current.setDefaultRecovery : Jotm Recovery= false
2013-02-22 09:57:55,796 : ServiceManager.startServices : jtm service started
2013-02-22 09:57:55,811 : MailServiceImpl.createMailFactory : Mapping Mail Factory javax.mail.Session on mail/MailAU-TAA
2013-02-22 09:57:55,827 : MailServiceImpl.createMailFactory : Mapping Mail Factory javax.mail.Session on mail/MailAU-TAS
2013-02-22 09:57:55,827 : MailServiceImpl.createMailFactory : Mapping Mail Factory javax.mail.Session on mail/Mail-TLP
2013-02-22 09:57:55,827 : ServiceManager.startServices : mail service started
2013-02-22 09:57:56,077 : ServiceManager.startServices : security service started
2013-02-22 09:57:56,747 : Rar.processRar : D:\JONAS_BASE\rars\autoload\JOnAS_jdbcCP.rar available
2013-02-22 09:57:56,780 : Rar.processRar : D:\JONAS_BASE\rars\autoload\JOnAS_jdbcDM.rar available
2013-02-22 09:57:56,826 : Rar.processRar : D:\JONAS_BASE\rars\autoload\JOnAS_jdbcDS.rar available
2013-02-22 09:57:56,904 : Rar.processRar : D:\JONAS_BASE\rars\autoload\JOnAS_jdbcXA.rar available
2013-02-22 09:57:57,154 : Rar.processRar : D:\JONAS_BASE\rars\autoload\liq_dev1.rar available
2013-02-22 09:57:57,232 : Rar.processRar : D:\JONAS_BASE\rars\autoload\ovn.rar available
2013-02-22 09:57:57,310 : Rar.processRar : D:\JONAS_BASE\rars\autoload\ovn09.rar available
2013-02-22 09:57:57,372 : Rar.processRar : D:\JONAS_BASE\rars\autoload\ovn10.rar available
2013-02-22 09:57:57,482 : Rar.processRar : D:\JONAS_BASE\rars\autoload\pab.rar available
2013-02-22 09:57:57,591 : Rar.processRar : D:\JONAS_BASE\rars\autoload\pac-dev1.rar available
2013-02-22 09:57:57,684 : Rar.processRar : D:\JONAS_BASE\rars\autoload\pcp-dev1.rar available
2013-02-22 09:57:57,762 : Rar.processRar : D:\JONAS_BASE\rars\autoload\pva09-dev1.rar available
2013-02-22 09:57:57,826 : Rar.processRar : D:\JONAS_BASE\rars\autoload\pva10-dev1.rar available
2013-02-22 09:57:57,951 : Rar.processRar : D:\JONAS_BASE\rars\autoload\refdev_11.rar available
2013-02-22 09:57:58,013 : Rar.processRar : D:\JONAS_BASE\rars\autoload\SRF09.rar available
2013-02-22 09:57:58,075 : Rar.processRar : D:\JONAS_BASE\rars\autoload\SRF10.rar available
2013-02-22 09:57:58,138 : Rar.processRar : D:\JONAS_BASE\rars\autoload\SRF11.rar available
2013-02-22 09:57:58,216 : Rar.processRar : D:\JONAS_BASE\rars\autoload\SRF12.rar available
2013-02-22 09:57:58,512 : Rar.processRar : Starting deployment of D:\JONAS_BASE\rars\autoload\swiftmq.rar
2013-02-22 09:57:59,635 : Rar.processRar : Rar: Error from resource (D:\JONAS_BASE\rars\autoload\swiftmq.rar) start method.
2013-02-22 09:57:59,635 : ResourceServiceImpl.createResourceAdapter : Error processing Rar: Error from start method. Unregister also failed with jonas:type=resourceadapter,name=/D|/JONAS_BASE/rars/autoload/swiftmq.rar
2013-02-22 09:57:59,635 : ResourceServiceImpl.doStart : JOnAS: Cannot create resource: D:\JONAS_BASE\rars\autoload\swiftmq.rar exception: org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: Error from start method. Unregister also failed with jonas:type=resourceadapter,name=/D|/JONAS_BASE/rars/autoload/swiftmq.rar: java.lang.Exception: Error from start method.
org.objectweb.jonas.resource.ResourceServiceException : Error processing Rar: Error from start method. Unregister also failed with jonas:type=resourceadapter,name=/D|/JONAS_BASE/rars/autoload/swiftmq.rar: java.lang.Exception: Error from start method.
at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:694)
at org.objectweb.jonas.resource.ResourceServiceImpl.doStart(ResourceServiceImpl.java:509)
at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
at org.objectweb.jonas.server.Server$1.run(Server.java:578)
Caused by: java.lang.Exception: Error from start method.
at org.objectweb.jonas.resource.Rar.processRar(Rar.java:531)
at org.objectweb.jonas.resource.ResourceServiceImpl.createResourceAdapter(ResourceServiceImpl.java:681)
... 4 more
Caused by: javax.naming.NamingException: unable to connect, exception = javax.jms.JMSException: Unable to create a connection to: [[ServerEntry, hostname=serveur-jms, port=10002]]
at com.swiftmq.connector.v15.ResourceAdapterImpl.start(Unknown Source)
at org.objectweb.jonas.resource.Rar.processRar(Rar.java:527)
... 5 more
2013-02-22 09:57:59,746 : Rar.processRar : D:\JONAS_BASE\rars\autoload\taa11.rar available
2013-02-22 09:57:59,856 : Rar.processRar : D:\JONAS_BASE\rars\autoload\tar10.rar available
2013-02-22 09:57:59,934 : Rar.processRar : D:\JONAS_BASE\rars\autoload\tar11.rar available
2013-02-22 09:57:59,996 : Rar.processRar : D:\JONAS_BASE\rars\autoload\tdp-dev2.rar available
2013-02-22 09:58:00,074 : Rar.processRar : D:\JONAS_BASE\rars\autoload\TelePAC-Auth.rar available
2013-02-22 09:58:00,152 : Rar.processRar : D:\JONAS_BASE\rars\autoload\TelePAC-Realm.rar available
2013-02-22 09:58:00,261 : Rar.processRar : D:\JONAS_BASE\rars\autoload\TelePAC-Stats.rar available
2013-02-22 09:58:00,355 : Rar.processRar : D:\JONAS_BASE\rars\autoload\trf.rar available
2013-02-22 09:58:00,433 : Rar.processRar : D:\JONAS_BASE\rars\autoload\usg-dev2.rar available
2013-02-22 09:58:00,480 : Rar.processRar : D:\JONAS_BASE\rars\autoload\bni_dev1.rar available
2013-02-22 09:58:00,542 : Rar.processRar : D:\JONAS_BASE\rars\autoload\can.rar available
2013-02-22 09:58:00,620 : Rar.processRar : D:\JONAS_BASE\rars\autoload\doc-dev1.rar available
2013-02-22 09:58:00,683 : Rar.processRar : D:\JONAS_BASE\rars\autoload\dpa-dev2.rar available
2013-02-22 09:58:00,761 : Rar.processRar : D:\JONAS_BASE\rars\autoload\dpc.rar available
2013-02-22 09:58:00,824 : Rar.processRar : D:\JONAS_BASE\rars\autoload\edtdev_3.rar available
2013-02-22 09:58:00,886 : Rar.processRar : D:\JONAS_BASE\rars\autoload\exd-dev1.rar available
2013-02-22 09:58:00,886 : ServiceManager.startServices : resource service started
2013-02-22 09:58:00,902 : ServiceManager.startServices : ejb service started
2013-02-22 09:58:01,276 : Http11BaseProtocol.init : Initializing Coyote HTTP/1.1 on http-9000
2013-02-22 09:58:01,292 : StandardService.start : Starting service Tomcat-JOnAS
2013-02-22 09:58:01,292 : StandardEngine.start : Starting Servlet Engine: Apache Tomcat/5.5.27
2013-02-22 09:58:01,292 : CatalinaJWebContainerServiceImpl.doStart : Impossible de démarrer Tomcat
2013-02-22 09:58:01,511 : Server.start : Erreur JOnAS : Incapable de demarrer le serveur 'jonas'. Exception: java.lang.Exception: org.objectweb.jonas.service.ServiceException : Cannot init/start service 'web': Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service: org.objectweb.jonas.service.ServiceException : Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service
JOnAS error: java.lang.Exception: Error in Server start
java.lang.Exception: Error in Server start
at org.objectweb.jonas.server.Server.start(Server.java:652)
at org.objectweb.jonas.server.Server.main(Server.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.Exception: org.objectweb.jonas.service.ServiceException : Cannot init/start service 'web': Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service: org.objectweb.jonas.service.ServiceException : Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service
at org.objectweb.jonas.server.Server$1.run(Server.java:616)
Caused by: org.objectweb.jonas.service.ServiceException : Cannot init/start service 'web': Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service: org.objectweb.jonas.service.ServiceException : Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service
at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:339)
at org.objectweb.jonas.server.Server$1.run(Server.java:578)
Caused by: org.objectweb.jonas.service.ServiceException : Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service
at org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doStart(CatalinaJWebContainerServiceImpl.java:308)
at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.invoke(CatalinaJWebContainerServiceWrapper.java:158)
at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.start(CatalinaJWebContainerServiceWrapper.java:549)
at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
... 1 more
Caused by: LifecycleException: Can't retrieve resource 'telepac' from the security service
at fr.gouv.agriculture.telepac.auth.realm.jonas.TelepacRealm.start(TelepacRealm.java:186)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1006)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doStart(CatalinaJWebContainerServiceImpl.java:304)
... 9 more
JOnAS halting
Arrêt du serveur JOnAS 'jonas'
2013-02-22 09:58:01,511 : Server.stop : Le serveur JOnAS 'jonas' a été arrêté
Exception during execution of org.objectweb.jonas.server.Server : Error in Server start
java.lang.Exception: Error in Server start
at org.objectweb.jonas.server.Server.start(Server.java:652)
at org.objectweb.jonas.server.Server.main(Server.java:200)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.objectweb.jonas.server.Bootstrap.main(Bootstrap.java:97)
Caused by: java.lang.Exception: org.objectweb.jonas.service.ServiceException : Cannot init/start service 'web': Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service: org.objectweb.jonas.service.ServiceException : Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service
at org.objectweb.jonas.server.Server$1.run(Server.java:616)
Caused by: org.objectweb.jonas.service.ServiceException : Cannot init/start service 'web': Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service: org.objectweb.jonas.service.ServiceException : Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service
at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:339)
at org.objectweb.jonas.server.Server$1.run(Server.java:578)
Caused by: org.objectweb.jonas.service.ServiceException : Can't retrieve resource 'telepac' from the security service: LifecycleException: Can't retrieve resource 'telepac' from the security service
at org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doStart(CatalinaJWebContainerServiceImpl.java:308)
at org.objectweb.jonas.service.AbsServiceImpl.start(AbsServiceImpl.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.invoke(CatalinaJWebContainerServiceWrapper.java:158)
at org.objectweb.jonas.web.wrapper.catalina55.CatalinaJWebContainerServiceWrapper.start(CatalinaJWebContainerServiceWrapper.java:549)
at org.objectweb.jonas.service.ServiceManager.startServices(ServiceManager.java:336)
... 1 more
Caused by: LifecycleException: Can't retrieve resource 'telepac' from the security service
at fr.gouv.agriculture.telepac.auth.realm.jonas.TelepacRealm.start(TelepacRealm.java:186)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1006)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.objectweb.jonas.web.catalina55.CatalinaJWebContainerServiceImpl.doStart(CatalinaJWebContainerServiceImpl.java:304)
... 9 more
|
|
| | | | | | | | |
Goto Forum:
Current Time: Fri Sep 27 00:31:41 GMT 2024
Powered by FUDForum. Page generated in 0.03693 seconds
|