aspose file tools*
The moose likes JBoss/WildFly and the fly likes Bundle JBoss 3.2.1+Tomcat 4.1.24 seeking help please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Bundle JBoss 3.2.1+Tomcat 4.1.24 seeking help please" Watch "Bundle JBoss 3.2.1+Tomcat 4.1.24 seeking help please" New topic
Author

Bundle JBoss 3.2.1+Tomcat 4.1.24 seeking help please

Martha Blossom
Greenhorn

Joined: May 03, 2004
Posts: 1
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 ]
Walker Rustin
Ranch Hand

Joined: Mar 08, 2004
Posts: 37
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


SCBCD
Don Griffing
Ranch Hand

Joined: Nov 21, 2003
Posts: 33
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Bundle JBoss 3.2.1+Tomcat 4.1.24 seeking help please