Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Websphere Test Environment in VisualAge

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded the VisualAge 4 entry enterprise edition. However, it did not have the Websphere Test Environment as I expected. Do you know how I can get hold of this and add it as a feature to VisualAge??
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Kathy OConnell:
I downloaded the VisualAge 4 entry enterprise edition. However, it did not have the Websphere Test Environment as I expected. Do you know how I can get hold of this and add it as a feature to VisualAge??


use the first item on the menu, maybe "File", the click the "add features", you can see the "websphere Test Enviornment", click to add it.
 
Kathy OConnell
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried that (using file, quickstart, features, add) but Websphere test environment did not appear on the list. I tried adding IBM Java Websphere libraries 3.5.3, but that does not seem to be the same thing eg I couldn't find SERunner.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The feature may not have been installed when you ran the install program. Try removing your VAJ install and reinstalling it, this time selecting "all features".
Kyle
 
Kathy OConnell
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for that. I have now got IBM Websphere test environment as a feature. However, I have now hit a new problem. When I try to add it as a feature, I get the error message
"Add failed: The package org.w3c.dom cannot be specified by both JSWDK and IBM XML Parser for Java."
Has anyone else come across this and know a way around this
Thanks in advance
Kathy
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JSWDK is NOT a standard package in VisualAge. I think this is something you must have added. If so, remove it and then add the feature. The WTE has all of the classes in the JSWDK already.
Kyle
 
Kathy OConnell
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thanks for your help. I have now managed to load the WebSphere Test Enviroment as a feature into VisualAge - I ended up reinstalling VisualAge, so cleaned it up.
I have now hit another problem. In the book I am following it says to "go to the com.ibm.servlet package and select the SERunner class". But, in the com.ibm.servlet there is no SERunner class. There is only a SERunner class in com.ibm.servlet.debug package. Does this sound right?
I have tried running this SERunner class but I do not get the expected results - I was expecting a display in the console window showing a window with WebSpere Test Environment with a Stop and Exit button.showing.
In the output frame, I was expecting some Hostname bindings and some stuff on HelloWorldServlet. Instead I just get "Usage: com.ibm.servlet.debug.SERunner <initialize props file>" in the output frame.
When I installed VisualAge, I installed it on the local computer, not a server - is that right.
I installed VisualAge4 entry edition (downloaded from the internet).
Any help on how to progress from here would be greatly appreciated.
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are obviously reading from an old book. That method of using the Servlet Runner was superceded in VisualAge 3.5. Instead, you use the WTE console to start the servlet runner.
Why not get a copy of my book and follow the instructions there (which will STILL work in VAJ 4.0)
Kyle
 
Kathy OConnell
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have now progressed to being able to start WTE. However, I have hit problems trying to run a servlet. The web page is blank when the servlet address is called and at the bottom it says "done".
When I look at the console, after the ***Servlet Engine is started*** it says:
urilist: /ErrorReporter/*=ErrorReporter
/servlet/*=invoker
*.jsp=jsp
/=file
I have tried looking in the visualage online help, but can find nothing helpful
Kathy

This looks wrong, but I don't know what the problem is. Can you help??
 
If you like strawberry rhubarb pie, try blueberry rhubarb (bluebarb) pie. And try this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic