• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1663
  • Last Modified:

What is the websphere test environment server?

How is the test environment server different from the regular development server with regards to Websphere inside Rad 6. Thanks.
0
Madhu_A
Asked:
Madhu_A
  • 13
  • 10
1 Solution
 
HonorGodCommented:
Well, one of the biggest differences is that the directory structure in which
the WebSphere Application Server test environment is installed is:

<RAD_Install_Root>\runtimes\<WTE_version>

Other than that, there is very little that differs.

One thing that I tend to do though, is to have RAD work with an "external"
WebSphere Application Server.  By that, I mean, I install WSAS and then
configure RAD to use this "outside" Application Server.

Hopefully, that make sense, and helps to answer your question.
0
 
Madhu_AAuthor Commented:
I actually wanted to know if the test environment server is light weight? If it is in what respect against the regular server - because I noticed that it starts up pretty quickly.
0
 
HonorGodCommented:
hm... interesting question...  I'll investigate, and get back to you.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
HonorGodCommented:
The 6.1 Application Server that is bundled with RAD is "identical" to the
stand alone application server.  There is, however, something that "might"
make a difference.  Let's check...

- Open a command prompt
- cd to the <RAD_Install_Home>\runtimes\base_v61
- Start "wsadmin" using the following:

  wsadmin -conntype none -lang jython

- Use the following wsadmin command to get the configuration ID for your server

  server = AdminConfig.list( 'Server' ).splitlines()[ 0 ]

- Use the following command to display the server attributes:

  print AdminConfig.show( server )

- Look for the following line:

[developmentMode false]

- If your value is "true" then, this may be the reason the WTE starts faster.

- Use the following command to exit the wsadmin interactive session

  exit
0
 
HonorGodCommented:
If you are using a Test environment that has a version of WebSphere earlier than 6.1, let me know.  I'll get the Jacl code to do the same thing for you, if you need it.
0
 
Madhu_AAuthor Commented:
Hey, I am getting this error when I ran the second command:

wsadmin>print AdminConfig.show(server)
WASX7015E: Exception running command: "AdminConfig.show(server)"; exception information:
 com.ibm.ws.scripting.ScriptingException: WASX7077E: Incomplete config id: need closing parenthesis in "server"

- Also yes my test environment server is 5.1 but actual server is 6 (I am using rad 6.0)
0
 
HonorGodCommented:
Ah, there is a problem with the Jython support in 6.0.
The assignment statement for "server" must have a
bad value in it.  Try:

server = AdminConfig.list( 'Server' ).split( '\n' )[ 0 ]

Then:

print server

The value output should be something like:

server1(cells/<CellName>/nodes/<NodeName>/servers/server1|server.xml#Server_1219933843508)

Where:
  <CellName> is the name of the Cell, and
  <NodeName> is the name of the Node
0
 
Madhu_AAuthor Commented:
umm, that worked but there isn't much information:

wsadmin>wsadmin>server = AdminConfig.list( 'Server' ).split( '\n' )[ 0 ]
wsadmin>print server
server1(cells/vmPTCAM1613727aNode01Cell/nodes/vmPTCAM1613727aNode01/servers/server1|server.xml#Server_1219096670512)
wsadmin>

What next? Is this to determine if 'developmentMode' is set to false which causes the test server to be faster? Thanks.
0
 
HonorGodCommented:
That's what you use on the next wsadmin command:

print AdminConfig.show( server )

the output of which should be a bunch of lines, each of which starts with
an open square bracket, and ends with a close square bracket (i.e., '[]').

Look for the one that is either:

[developmentMode false]

or

[developmentMode true]

If it is

[developmentMode true]

Then this could be the answer to your question.

It is my understanding that the WTE of RAD has

[developmentMode true]

by default.
0
 
HonorGodCommented:
As documented here:

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/urun_rappsvr.html

"Run in development mode

Enabling this option may reduce the startup time of an application server..."
0
 
Madhu_AAuthor Commented:
Ok, the document confirms that and it may be why our test servers are faster to start up. I ran the command on websphere directory:
C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v6\bin>
and got: [developmentMode false]

The above directory is WS6.0 server. I am not sure which directory corresponds to the 5.1 test server. I have these two directories: base_v5, base_v51_stub.

Does base_v51_stub correspond to the test server?
0
 
HonorGodCommented:
Any "stub" directory under the runtimes will be empty.
It is a placeholder should you decided to add a WTE
for that version of the Application Server.

The ones that don't have a "_stub" suffix, have actual
WTE application servers installed.
0
 
Madhu_AAuthor Commented:
I tried the same command in C:\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\bin> and did not see the developmentMode parameter.

I wonder if the directory base_v51 then corresponds to the test server I am using! ?
0
 
HonorGodCommented:
When I search for "development mode" in the 5.1 documentation, no matches
occur.  So, it would seem that that attribute did not exist before 6.0
0
 
Madhu_AAuthor Commented:
Anymore replies? HonorGod?
0
 
HonorGodCommented:
I'm sorry, I didn't realize that you had outstanding/unanswered questions.

If you don't see the developmentMode attribute, I strongly suspect that the
WTE you are using is a version of WebSphere less than 6.0.  So, version 5.1
is a real possability.
0
 
Madhu_AAuthor Commented:
HonorGod, yes it is the version 5.1 (sorry I knew it all along) and it does not have the development mode variable. So the question is what makes the Test server run faster. May be the the variable was named something else in those earlier versions.
I know the answer on abstract level that some attribute is turned off which causes the server to not boot up lot of things(classes)  that a real application server but was looking for something more concrete. Thanks.

0
 
HonorGodCommented:
Ah.  Thanks for that clarification.

So, it sounds like you have a 5.1 WTE, and a 5.1 stand-alone (aka "Base")
Application Server environment, and the WTE starts faster.  Is that the
question?

I am unaware of any documented difference for the WTE that would explain
that different.  There may be something different, as you hypothesize.

Are the WTE and stand-alone application server on the same machine?

Is the only difference which application server is being started?
(i.e., how did you test the start up difference?)

How much time and effort are you interested in investing to figure out the
difference?  ;-)

Remember that 5.1 is out of support, especially now that version 7.0 is generally available.
0
 
Madhu_AAuthor Commented:
"So, it sounds like you have a 5.1 WTE, and a 5.1 stand-alone (aka "Base")
Application Server environment, and the WTE starts faster" - yep that is the question :)

Yeah I only see the difference in startup times, test server starting up withing 10 seconds while the app server takes about 90seconds. I am sure there are other differences that I am not aware of.

Umm I not ready to invest a lot more time, it was a question to satisfy my curiosity. Your answers do help :)
0
 
Madhu_AAuthor Commented:
Oh and yes both the servers are on the same machine.
0
 
HonorGodCommented:
Are the same applications deployed, and in the same state (e.g., started) on
each server?

For example, if your stand-alone server has 10 application, all of which need
to be "started" before the application server is considered "up", but the WTE
doesn't do this same application initialization, then this could be a huge difference.

Another possibility is that the WTE doesn't have the same kind/number of database connections, or the connections are to a locate (small) database
that initializes much faster.

0
 
Madhu_AAuthor Commented:
Yes HonorGod, they are in the same state. Just one application running on both of them. I guess I will pick an answer now.
0
 
HonorGodCommented:
Thanks for the grade & points.

Sorry you didn't think the answer worthy of an A.

Good luck & have a great day
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 13
  • 10
Tackle projects and never again get stuck behind a technical roadblock.
Join Now