Questions asked by ivyUserhttps://answers.axonivy.com/questions/asked-by/593/ivyuser/?type=rssQuestions asked by <a href="/users/593/ivyuser" >ivyUser</a>enThu, 14 Jul 2016 18:43:29 -0400Ivy server fails to start because of "Page Archive Engine Manager"https://answers.axonivy.com/questions/1889/ivy-server-fails-to-start-because-of-page-archive-engine-manager<p>Dear Ivy Team,</p> <p>I'm facing a strange issue that never happened before: the ivy server cannot be started anymore. It refers to a so-called "Page Archive Engine Manager". Nothing special has been changed in the configuration since the last successful run.</p> <p>Please see the details in the extracted log below.</p> <pre><code>INFO [ch.ivyteam.server] [Windows Service Main Thread] [] ----------------------------------------------------- Axon.ivy Engine Version 5.1 Patch 7 Revision 49494 Copyright (c) 2001-2015 ivyTeam AG ----------------------------------------------------- Java Version 1.7.0_60 (Oracle Corporation) Java Virtual Maschine Version 24.60-b09 (Java HotSpot(TM) 64-Bit Server VM) ----------------------------------------------------- [...] [ 81%] Starting Page Archive Engine Manager FATAL [ch.ivyteam.server] [Windows Service Main Thread] [] Error while starting Axon.ivy Engine [errorId=155EA27EF636A0B6, executionContext=SYSTEM] ch.ivyteam.util.IvyRuntimeException: Could not start Page Archive Engine Manager at ch.ivyteam.ivy.manager.restricted.AbstractManager.start(AbstractManager.java:71) at ch.ivyteam.ivy.server.internal.Server.startInternal(Server.java:571) at ch.ivyteam.ivy.server.internal.Server$1.call(Server.java:526) at ch.ivyteam.ivy.security.internal.SecurityManager.executeAsSystem(SecurityManager.java:1439) at ch.ivyteam.ivy.server.internal.Server.start(Server.java:521) at ch.ivyteam.ivy.server.ServerLauncher.startInternal(ServerLauncher.java:209) at ch.ivyteam.server.Server.start(Server.java:170) at ch.ivyteam.server.win.WindowsServiceServer.runService(WindowsServiceServer.java:166) at ch.ivyteam.server.win.WindowsServiceServer$WindowsServiceMainThread.run(WindowsServiceServer.java:221) [errorId=155EA27EF636A0B6, executionContext=SYSTEM] Caused by: ch.ivyteam.util.IvyRuntimeException: javax.management.InstanceAlreadyExistsException: ivy Engine:type=Service,name=PageArchiveEngine/[...] at ch.ivyteam.management.internal.ThrowRuntimeExceptionErrorStrategy.errorRegisteringMBean(ThrowRuntimeExceptionErrorStrategy.java:26) at ch.ivyteam.management.internal.MBeanManager.registerMBeanFor(MBeanManager.java:73) at ch.ivyteam.management.internal.MBeanManager.registerMBeanFor(MBeanManager.java:57) at ch.ivyteam.management.internal.MBeanManager.ifAnnotatedRegisterMBeanFor(MBeanManager.java:135) at ch.ivyteam.management.internal.MMap.put(MMap.java:53) at ch.ivyteam.ivy.service.internal.ServiceManager.registerService(ServiceManager.java:56) at ch.ivyteam.ivy.enginemanagerbase.AbstractPmvServiceManager.getService(AbstractPmvServiceManager.java:120) at ch.ivyteam.ivy.enginemanagerbase.AbstractPmvServiceManager.doStart(AbstractPmvServiceManager.java:347) at ch.ivyteam.ivy.page.archive.internal.PageArchiveEngineManager.doStart(PageArchiveEngineManager.java:95) at ch.ivyteam.ivy.manager.restricted.AbstractManager.start(AbstractManager.java:58) ... 8 more Caused by: javax.management.InstanceAlreadyExistsException: ivy Engine:type=Service,name=PageArchiveEngine/[...] at com.sun.jmx.mbeanserver.Repository.addMBean(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown Source) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source) at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source) at ch.ivyteam.management.internal.MBeanManager.registerMBean(MBeanManager.java:112) at ch.ivyteam.management.internal.MBeanManager.registerMBeanFor(MBeanManager.java:68) ... 16 more </code></pre> <p>I would like to know what exactly this "Page Archive Engine Manager" is and how I can eliminate the error that it caused.</p> <p>Thank you.</p>ivyUserThu, 14 Jul 2016 18:43:29 -0400https://answers.axonivy.com/questions/1889/ivy-server-fails-to-start-because-of-page-archive-engine-managerengineivyerror-handlingGet IHttpRequest for SOAP web servicehttps://answers.axonivy.com/questions/1594/get-ihttprequest-for-soap-web-service<p>Hello everyone!</p> <p>I would like to get an object that implements ch.ivyteam.ivy.request.IHttpRequest in order to extract the remote client's hostname. </p> <p>A great solution for this problem has already been described here: <a href="http://answers.axonivy.com/questions/1055/access-ihttprequest-object">http://answers.axonivy.com/questions/1055/access-ihttprequest-object</a></p> <p>It works well when the type is set to "Business Process". However, I cannot cast the ivy.request to an IHttpRequest because it's always a ch.ivyteam.ivy.request.impl.ProcessRequest (since I'm using a different process type called "Web Service Process").</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Process.png"></p> <p>I have also tried to modify the generated JAX-WS class to achieve the same result (with no success so far).</p> <p>What is the right way of doing this under Ivy 5.1?</p> <p>Thank you in advance!</p>ivyUserWed, 16 Dec 2015 12:37:37 -0500https://answers.axonivy.com/questions/1594/get-ihttprequest-for-soap-web-servicewebserviceivysoap