It's all about the answers!

Ask a question

Using Alternative port when installing DM 4.0 RC2


Erik Jägervall (73710) | asked May 07 '12, 11:49 a.m.
We are trying to install DM 4.0 RC2 on a server that already has another JAzz server at port 9443.

We have tried to change the port for the new server as suggested in:

https://jazz.net/help-dev/dm/index.jsp?topic=%2Fcom.ibm.rcam.install.doc%2Ftopics%2Ft_install_rsa.html&re=1&scope=null

.. but have not had any success in starting the server at the new port. Has anyone any suggestions/experiences from using alternative ports?

2 answers



permanent link
Hongyan Huo (11) | answered May 07 '12, 10:39 p.m.
is it with Tomcat? if there are no conflicting ports, you may then check the jvm settings for the startup scripts - values for Xmx, Xms, and Xmn cannot exceed the physical memory of your system. If they are too big (especially when running 2 tomcat instances), lower these values. Save it and relaunch startup.

Comments
Erik Jägervall commented May 08 '12, 2:56 a.m. | edited May 24 '13, 11:23 a.m.

Thanks for your help. yes, memory may be a concern. I stopped the other server but the problem is still there. Checking the logs most seems to be OK, but there are some exceptions (see below) which maybe are harmless, maybe serious. Anyway, still after starting it I can not access it at https://<hostname>:9444/jts/setup after starting it.

From catalina.out:


INFO: Deploying web application archive /opt/IBM/JazzTeamServer_DMRC2b/server/tomcat/webapps/dm.war
Starting DM Default Display Thread
Started DM Default Display Thread
DM Server has started
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.ccl.ut.help.info.IndexThread.run(IndexThread.java:105)
Caused by: java.lang.NullPointerException
at com.ibm.ccl.ut.help.info.dita.DitamapInfoManager.put(DitamapInfoManager.java:227)
at com.ibm.ccl.ut.help.info.dita.RemoteInfoParser.startElement(RemoteInfoParser.java:44)
at com.ibm.ccl.ut.parser.TagParser.processChunk(TagParser.java:130)
at com.ibm.ccl.ut.parser.TagParser.parse(TagParser.java:49)
at com.ibm.ccl.ut.parser.TagAdapter.parse(TagAdapter.java:28)
at com.ibm.ccl.ut.help.info.dita.DitamapInfoManager.categorizeXML(DitamapInfoManager.java:466)
... 5 more
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.ccl.ut.help.info.IndexThread.run(IndexThread.java:105)
Caused by: java.lang.IllegalStateException: Bundle "reference:file:plugins/com.ibm.help.common.jazz.calm.doc.nl1_3.0.1.v20120
117_1311.jar" has been uninstalled
at org.eclipse.osgi.framework.internal.core.AbstractBundle.checkValid(AbstractBundle.java:1174)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.findEntries(AbstractBundle.java:1385)
at com.ibm.ccl.ut.help.info.dita.DitamapInfoManager.categorize(DitamapInfoManager.java:371)
... 5 more
2012-05-08 08:46:52.813 - FrameworkManager: An error event has occurred involving the bundle "com.ibm.ccl.soa.deploy.
portlet.ui_1.0.200.v20120312_1845 ".
org.osgi.framework.BundleException: The activator Activator for bundle com.ibm.ccl.soa.deploy.portlet.ui is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:156)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:751)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.ClassNotFoundException: Activator
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:149)
... 11 more
2012-05-08 08:46:52.816 - FrameworkManager: An error event has occurred involving the bundle "com.ibm.ccl.soa.deploy.
systemz.ui_1.0.100.v20120312_1845 ".
org.osgi.framework.BundleException: The activator Activator for bundle com.ibm.ccl.soa.deploy.systemz.ui is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:156)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:751)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1067)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)
Caused by: java.lang.ClassNotFoundException: Activator
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:626)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:149)
... 11 more
Startup: com.ibm.xtools.impactanalysis.hostintegration.internal.HostServicesComponent
2012-maj-08 08:46:53 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/IBM/JazzTeamServer_DMRC2b/server/tomcat/webapps/ROOT
2012-maj-08 08:46:53 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler
2012-maj-08 08:46:53 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler
2012-maj-08 08:46:53 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler
2012-maj-08 08:46:53 org.apache.catalina.startup.Catalina start
INFO: Server startup in 46622 ms

From: dm.log

2012-05-08 08:35:29,194 [] WARN net.jazz.ajax/WebBundleScanner - Cyclic Dependency: js "ibm_ilog.graphlayout.shortlink.ShortLinkLayout" --> js "ibm_ilog.graphlayout.shortlink._ShortLinkAlgorithm" --> js "ibm_ilog.graphlayout.shortlink._SLLinkData" --> js "ibm_ilog.graphlayout.shortlink._LinkShape" --> js "ibm_ilog.graphlayout.shortlink.ShortLinkLayout"


permanent link
Erik Jägervall (73710) | answered May 08 '12, 8:19 a.m.
One of the problems turned out to be a firewall problem preventing access to the alternative port. When that was solved we could configure the server, which worked quite well, even if we experienced quite some of the problems others have experienced before us (Strange error messages, time outs and more)

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.