Migrated from tomcat to WAS on standard Jazz 1.0 installatio
We have a standard RTC 1.0 installation on Linux. We have done the migration from dirby to DB2. And we tried to migrate from tomcat to WAS.
We followed the instructions form Jazz help topic except during the Jazz server install via WAS Admin console:
Click on Applications > Install New Application.
Under Path to new Application, click Local file system.
Under Full path enter:
JazzInstallDir/server/jazz.war
I can't find jazz.war under JazzInstallDir/server/ and find one under JazzInstallDir/server//tomcat/webapps/, so I set the path to point to that one. Then the installation went through. And I can start the server succsfully.
But when I try to run Jazz Team Server Setup, the database conenction is broken with WARNING:
java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,001 with message: COnnection refused.
Also when I run server startup script, I notice that the tomcat environment is still there:
$ ./server.startup
Using CATALINA_BASE: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_HOME: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_TMPDIR: /opt/IBM/JazzTeamServer/server/tomcat/temp
Using JRE_HOME: /opt/IBM/JazzTeamServer/server/linux/ibm-java2-i386-50/jre
So what went wrong? How to fix it? Any help is appreciated.
I shouldn't use the jazz.war? then which one to use and where to get it?
Why teamserver.properties is identical before and after the migartion although the instruction say that it needs to be backed up as the migartion will change it?
We followed the instructions form Jazz help topic except during the Jazz server install via WAS Admin console:
Click on Applications > Install New Application.
Under Path to new Application, click Local file system.
Under Full path enter:
JazzInstallDir/server/jazz.war
I can't find jazz.war under JazzInstallDir/server/ and find one under JazzInstallDir/server//tomcat/webapps/, so I set the path to point to that one. Then the installation went through. And I can start the server succsfully.
But when I try to run Jazz Team Server Setup, the database conenction is broken with WARNING:
java.net.ConnectException: Error opening socket to server localhost/127.0.0.1 on port 50,001 with message: COnnection refused.
Also when I run server startup script, I notice that the tomcat environment is still there:
$ ./server.startup
Using CATALINA_BASE: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_HOME: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_TMPDIR: /opt/IBM/JazzTeamServer/server/tomcat/temp
Using JRE_HOME: /opt/IBM/JazzTeamServer/server/linux/ibm-java2-i386-50/jre
So what went wrong? How to fix it? Any help is appreciated.
I shouldn't use the jazz.war? then which one to use and where to get it?
Why teamserver.properties is identical before and after the migartion although the instruction say that it needs to be backed up as the migartion will change it?
3 answers
ghu wrote:
You got the WAR from the right place. There appears to be an error in
the setup documentation.
I'm guessing that you haven't set the ports correctly in your WAS
environment. Assume that your WAS application server is "server1" -
you'll need to modify the "WC_defaulthost" and "WC_defaulthost_secure"
port numbers to match those that have been set in teamserver.properties.
You get access to this information via WASAdminConsole/Application
servers/server1.
You'll also need to set the port numbers for the virtual host that your
app (jazz_war) is associated to. This is available via
WASAdminConsole/Environment/Virtual Hosts . Assuming that your jazz_war
is mapped to the "default_host" virtual host (confirm this via
WASAdminConsole/Applications/Enterprise Applications/jazz_war/Virtual
Hosts), then you'll need to update the ports here as well.
After updating your configuration, stop/start WAS (see below).
These startup scripts are for starting the Tomcat container server -
Jazz Express/Standard ships with this. For starting WAS, you'll want to
go to the bin directory of your WAS installation, and start/stop WAS
from there. WAS is only referring to the jazz.war from this
installation, and in turn, the jazz.war expects to get its configuration
information from this directory (teamserver.properties,
provisioning/update information etc.).
While the WAS port information isn't covered in the Jazz install page
that's included at the root of the server installation, WAS startup,
setup, etc. is.
There will be forthcoming technotes on this topic that improve on the
documentation that's currently available.
--
Todd Lainhart
Jazz Repository/Foundation Team
I can't find jazz.war under JazzInstallDir/server/ and find one under
JazzInstallDir/server//tomcat/webapps/, so I set the path to point to
that one. Then the installation went through. And I can start the
server succsfully.
You got the WAR from the right place. There appears to be an error in
the setup documentation.
But when I try to run Jazz Team Server Setup, the database conenction
is broken with WARNING:
java.net.ConnectException: Error opening socket to server
localhost/127.0.0.1 on port 50,001 with message: COnnection refused.
I'm guessing that you haven't set the ports correctly in your WAS
environment. Assume that your WAS application server is "server1" -
you'll need to modify the "WC_defaulthost" and "WC_defaulthost_secure"
port numbers to match those that have been set in teamserver.properties.
You get access to this information via WASAdminConsole/Application
servers/server1.
You'll also need to set the port numbers for the virtual host that your
app (jazz_war) is associated to. This is available via
WASAdminConsole/Environment/Virtual Hosts . Assuming that your jazz_war
is mapped to the "default_host" virtual host (confirm this via
WASAdminConsole/Applications/Enterprise Applications/jazz_war/Virtual
Hosts), then you'll need to update the ports here as well.
After updating your configuration, stop/start WAS (see below).
Also when I run server startup script, I notice that the tomcat
environment is still there:
$ ./server.startup
Using CATALINA_BASE: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_HOME: /opt/IBM/JazzTeamServer/server/tomcat
Using CATALINA_TMPDIR: /opt/IBM/JazzTeamServer/server/tomcat/temp
Using JRE_HOME:
/opt/IBM/JazzTeamServer/server/linux/ibm-java2-i386-50/jre
These startup scripts are for starting the Tomcat container server -
Jazz Express/Standard ships with this. For starting WAS, you'll want to
go to the bin directory of your WAS installation, and start/stop WAS
from there. WAS is only referring to the jazz.war from this
installation, and in turn, the jazz.war expects to get its configuration
information from this directory (teamserver.properties,
provisioning/update information etc.).
While the WAS port information isn't covered in the Jazz install page
that's included at the root of the server installation, WAS startup,
setup, etc. is.
There will be forthcoming technotes on this topic that improve on the
documentation that's currently available.
--
Todd Lainhart
Jazz Repository/Foundation Team
I'm guessing that you haven't set the ports correctly in your WAS
environment. Assume that your WAS application server is "server1" -
you'll need to modify the "WC_defaulthost" and "WC_defaulthost_secure"
port numbers to match those that have been set in teamserver.properties.
You get access to this information via WASAdminConsole/Application
servers/server1.
You'll also need to set the port numbers for the virtual host that your
app (jazz_war) is associated to. This is available via
WASAdminConsole/Environment/Virtual Hosts . Assuming that your jazz_war
is mapped to the "default_host" virtual host (confirm this via
WASAdminConsole/Applications/Enterprise Applications/jazz_war/Virtual
Hosts), then you'll need to update the ports here as well.
I checked that there are no entires related to the WAS port numbers in the teamserver.properties. I guess I miss something here. Can you give an example?
I can use the port number defined by WC_defaulthost_secure and WC_defaulthost, which are assoated with WCInboundDefault and WCInbpoundDefaultSecure and allow me to start the Jazz server setup wizard but got stuck with either the database connection error or user registry setup depending on what I select.
I have two virtual host defines, one is the admin_host with two port numbers being attached and I can use them to invoke the admin console. The other one one is the default_host, also has a pair of port numbers attached and they are the same as the WC_defaulthost and WC_defaulthost_secure.
I do think one thing matter. We configured LDAP for Jazz srever against tomcat. But with WAS, we haven't done that, still use the Federated user registry. So maybe this is the issue?
ghu wrote:
Your original post suggested that something was connecting to port
50001. I couldn't tell if that was a db port, or if that was the port
that Jazz Team Server was configured to use. If there's nothing in your
teamserver.properties, then the server is configured to use 9080/9443
(non-SSL/SSL).
It's hard to say what your issue(s) is - you're mentioning a lot of
variables here. If you're familiar with WAS setup, I would first try
using a federated repository in which your groups and users are defined
- define the four Jazz groups, and a user or two with ids that
correspond with userids in your Jazz repository. Comment references to
LDAP to the teamserver.properties file referenced by jazz.war, and see
if you can at least get WAS talking with the jazz server without LDAP.
Once successful, then you can modify your WAS installation to use LDAP.
Regardless, you still need to check that your defaulthost ports match
was Jazz Team Server is configured to us (which I believe in this case
is 9080/9443).
--
Todd Lainhart
Jazz Repository/Foundation Team
I checked that there are no entires related to the WAS port numbers in
the teamserver.properties. I guess I miss something here. Can you give
an example?
Your original post suggested that something was connecting to port
50001. I couldn't tell if that was a db port, or if that was the port
that Jazz Team Server was configured to use. If there's nothing in your
teamserver.properties, then the server is configured to use 9080/9443
(non-SSL/SSL).
I can use the port number defined by WC_defaulthost_secure and
WC_defaulthost, which are assoated with WCInboundDefault and
WCInbpoundDefaultSecure and allow me to start the Jazz server setup
wizard but got stuck with either the database connection error or
user registry setup depending on what I select.
I have two virtual host defines, one is the admin_host with two port
numbers being attached and I can use them to invoke the admin
console. The other one one is the default_host, also has a pair of
port numbers attached and they are the same as the WC_defaulthost and
WC_defaulthost_secure.
I do think one thing matter. We configured LDAP for Jazz srever
against tomcat. But with WAS, we haven't done that, still use the
Federated user registry. So maybe this is the issue?
It's hard to say what your issue(s) is - you're mentioning a lot of
variables here. If you're familiar with WAS setup, I would first try
using a federated repository in which your groups and users are defined
- define the four Jazz groups, and a user or two with ids that
correspond with userids in your Jazz repository. Comment references to
LDAP to the teamserver.properties file referenced by jazz.war, and see
if you can at least get WAS talking with the jazz server without LDAP.
Once successful, then you can modify your WAS installation to use LDAP.
Regardless, you still need to check that your defaulthost ports match
was Jazz Team Server is configured to us (which I believe in this case
is 9080/9443).
--
Todd Lainhart
Jazz Repository/Foundation Team