• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Bundle JBoss 3.2.1+Tomcat 4.1.24 seeking help please

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Desperately seeking help. I'm a total newbie.
Box: P4 2ghz, 1GB RAM Running: RedHat 9.0 Domain: martha2004.com
Apache 2.x /usr/local/apache2 + PHP 4.3.4 (module) + MySQL 4.x + Webmin 1.40
Bundle [JBoss 3.2.1+Tomcat 4.1.24] on /usr/local/jboss-3.2.1_tomcat-4.1.24
/usr/java/j2sdk1.4.2
I need a 100% working installation of Tomcat+JBoss.
When I try this: http://www.martha2004.com/jmx-console
I get the JBoss "jmx-console"... no errors on screen...
is that all? successful install?
PROBLEMS:
1 - jmx-console...now what? why is it public? it should
be password-protected...
I think I'm missing something fundamental here and would appreciate
your help
2 - yes, I can "deploy"(copy) a simple test1.war file (contains z1.jsp+z2.jsp)
to /usr/local/jboss-3.2.1_tomcat-4.1.24/server/default/deploy/
http://www.martha2004.com:8080/test1/z1.jsp is working
but................... WHO is running this z1.JSP? JBoss or Tomcat?
3 - when I try http://www.martha2004.com:8080 I get this...
********
HTTP Status 500 - No Context configured to process this request
type Status report
message No Context configured to process this request
description The server encountered an internal error
(No Context configured to process this request) that
prevented it from fulfilling this request.
Apache Tomcat/4.1.24-LE-jdk14
*******
Why? I should get the default Tomcat page, and I would like
to get the /jsp-examples page... with all those JSP and Servlet
examples... It's not working when I try
http://www.martha2004.com:8080/jsp-examples
I get HTTP Status 500 - No Context configured to process this request,
HELP!

Thanks


processes...
root 28888 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql
mysql 28920 \_ /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql
root 28930 /usr/bin/perl /usr/libexec/usermin/miniserv.pl /etc/usermin/miniserv.conf
root 28937 /usr/bin/perl /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 17540 /bin/sh /usr/local/jboss-3.2.1_tomcat-4.1.24/bin/run.sh
root 17559 \_ /usr/java/j2sdk1.4.2/bin/java -server -Dprogram.name=run.sh -classpath /usr/local/jboss-3.2.1_tomcat-4.1.24
root 20557 /usr/local/apache2/bin/httpd -k start
nobody 20558 \_ /usr/local/apache2/bin/httpd -k start
nobody 20559 \_ /usr/local/apache2/bin/httpd -k start
nobody 20560 \_ /usr/local/apache2/bin/httpd -k start
nobody 20561 \_ /usr/local/apache2/bin/httpd -k start
[ May 03, 2004: Message edited by: Martha Blossom ]
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You didn't clearly mentiond if you are using the default tomcat that comes with jboss or you installed tomcat seperately. If you are just starting the best policy would be to just let jboss manage it.
It also seems that the files are not deployed properly. I would advice you to finish the jboss tutorial first.
application.xml file contains the context name. YOu need to fill that out.

- Walk
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll try to provide some additional information.
1. You are correct that getting to the JBoss "jmx-console" seem anti-climatic end. However, it is nice to quickly know that you have properly installed everything. You can change the access privileges by editing the configuration files.
2. It is the Tomcat code that is processing your JSP.
3. Personally, I don't know why there is not a default page for the "root" level. The main reason that I have not bother to investigate it is the notion of the context representing the web application. This provides good hierarchical structure to build your web site and application. I would agree that the application.xml is not correct for your http://www.martha2004.com:8080/jsp-examples.
I hope this helps answer your questions.
 
I'm just a poor boy, I need no sympathy, because I'm easy come, easy go, little high, little low, little ad
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic