• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Evaluation - WebSphere & Bea

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are evaluating WebSphere & WebLogic. We've downloaded the trial versions for a quick preview. But we can't get the WebSphere samples to run. The Redhat 7.1, App Server and Web server are totally clean installs. I think IBM's evaluation support people must be getting paid 5 bucks an hour. I've been working with them for two days now and they haven't hit the mark yet. Just some ridiculous one line answers. Anyone here have this experience with this product? Any solutions.
Just to be totally specific: Run the First Steps Application. Click on "Run Websphere samples". This opens a page which tells me that the page is not found. Have to enter the port with the url (7001 - not 80) to get to the WSsamples/index.html. Also need to enter the actual page - index.html. It will not go there automatically. Try any sample application but get the error page. I inserted an alias of my own in the httpd.conf file to see if it would map correctly to some index.html files and it works. The "Database configuration" page works as well as "Getting Started". So it's just the samples that won't run right now. Any insight would be really appreciated.
GG -
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
If you are working on Websphere 3.5 these are the normal startup problems.
If however you are working on 4.0 version then its very very strange. Version 4.0 is highly user friendly.
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All I can think of is that there are issues with the OS networking setup. Any advice would be appreciated.
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try the following (after making sure that the app server is started in the console):
(1) Run http://localhost/servlet/snoop
(2) Run http://localhost:9080/servlet/snoop
If the second works and the first gives you an error, then what is happening is that your plugin isn't reading URI's right (probably a problem with your plugin-cfg.xml file). This kind of thing happens sometimes, for a variety of reasons, some user error, some not.
If this is true, you might want to run the "GenPluginCfg" batch file to regenerate the plugin configuration file and then restart the web server to get it to pick it up. You should definitely first read the docs on this (especially what "GenPluginCfg" does).
Kyle
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle - the latter works - localhost:9080. I really appreciate your help and time in this matter. I will do as you suggest. This is a solid product but I think IBM's support needs more training. Look at the type of responses I got from them:
------------------------Customer Thu Feb 07 09:56:57 MST 2002
Hi,
If one URL is not working then you need to provide the right alias for the machine your application is running.
You can refer to infocenter 6.6.16 for more information.
http://www-4.ibm.com/software/webservers/appserv/doc/v40/aee/index.html
Let me know if it does not work or if you need further information about aliases.
Thanks.
------------------------kushuja Thu Feb 07 11:22:45 MST 2002
They are probably a bottleneck to the success of Websphere.
Also - Does your book address Websphere directly or is it more development oriented?
Thanks again.
[ February 09, 2002: Message edited by: Gregory Garrison ]
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gregory,
I'm glad it helped. Let's try one more thing. Try:
http://localhost
If you get a page that says "IBM HTTP Server" then try the GenPluginCfg thing.
If, on the other hand, you get a 404, then your problem is that the IBM HTTP Server did not start. Go to Settings>Control Panel>Administrative Tools>Services and see if you can't start the IBM HTTP Server and check if that solves your problem.
Kyle
BTW, My book covers pretty much everything -- but only for version 3.5.
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle - tried http://localhost - actually http://networkipaddress - and I received a 404. Note that I have been using networkipaddress all along during this conversation. However, I know that the http server is running because I manually start both http and web server with a startup script "apachectl start" and "startServer.sh". Looking at the processes there are several httpd processes and a load of java processes going. One "rub" may be that I have set the httpd.conf "Listen" to 7001. I moved the port from the usual 80. However, I also changed this in the /etc/services file..
[ February 10, 2002: Message edited by: Gregory Garrison ]
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greg,
Moving away from port 80 will probably be a problem. The HTML of the examples (not to mention the Java) might not be able to handle that (it should, but then again, it might not...)
All that "Start Samples" does is kick off a browser. By default the browser will want to try port 80. No wonder the poor thing is confused...
Kyle
[ February 11, 2002: Message edited by: Kyle Brown ]
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok. Then I'm confident the setup is correct as can be for the trial version. I'll build some examples of my own and test for the time-being. I'll let you know the results. I'll also setup WAS on a stand-alone machine and test your suggestions. Thanks for the help. Also, do you have a 4.0 version of your book in the works?
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, for my book we're going to skip 4.0 and go straight on to 5.0 (out later this year) for the next version.
Kyle
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle - Just to let you know, a clean install on a standalone server using http://localhost produces the IBM HTTP Server page so I will have to try the GenPluginCfg thing.
Also, I have installed the MS version and I don't have any issues. Doesn't make sense.
Thanks again.
[ February 12, 2002: Message edited by: Gregory Garrison ]
 
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kyle,
I have worked with WAS3.5/WAS4.0 and Weblogic5.1/6.1 . But i don't understand why in WAS4.0 complicates while deploying an applications as a bundle of the ejb's, jsp's, servlets. In other versions(WAS3.5/Weblogic), we can deploy a ejb/servlet/jsp independtely. I find it be very difficult to work with WAS4.0. And also there are so many Lookup's in WAS4.0 using JMS API with MQSeries.
Is it my vision is wrong? Please reply me.
Thanks & Regards,
M.S.Raman.
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Malli, the reason is that WebSphere 4.0 is 100% spec compliant. The Servlet 2.2, EJB 1.1 and J2EE 1.2 spec are VERY clear that the only way to deploy applications is through WAR, EJB-JAR and EAR files. Thus, that is ALL that we support.
If other vendors choose to have non-standard installation procedures that go outside the spec, that's up to them. However, we have decided to stick close to the spec.
Kyle
P.S. Once an application is deployed to an app server, there is a "hot deployment" option. Look in the documentation for it...
 
Gregory Garrison
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle - One last question. Can you tell me how to set WAS and the HTTP server to start as a service under a Linux/Unix environment. For the windows install it is automatically set this way but not for a Unix install. I cannot seem to find the appropriate Admin console tool for this.

Also, I downloaded your Workbook and purchased Monson-haefel's EJB third ed. This is an excellent combination to get up and running. I would highly recommend these to anyone.
GG
SCJP2
SCJD2
[ February 15, 2002: Message edited by: Gregory Garrison ]
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle,
I am just little confused with the term Hot deployment, does this mean that we don't need to stop and start it for any new deployment. The subtitle, in WebSphere4 Advanced edition handbook, has no information about it. please help me out with this.
Thanks,
Subhash.
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I quote from the WebSphere 4.0 InfoCenter:
"Hot deployment is the process of adding new components (such as enterprise beans, servlets, and JSP files) to a running server without having to stop the application server process and start it again."
Read section 6.5.1: Hot deployment and dynamic reloading in the InfoCenter
Kyle
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic