apache/tomcat 4.0/gnu-linux setup question

2001-09-30 Thread Brendon M. Maragia

Hey List,

I'm trying to setup jakarta tomcat 4.0 for the first time and i'm trying to
get some sort of virtual hosting deal going on that forwards connections
from apache on port 80 to tomcat on port 8080 when a persons URL is entered.
I currently have mod_webapp.so installed properly and included in
httpd.conf.  I haven't added any lines to my  directives
because I have a virtual host defined in server.xml, and I like the idea of
being able to add new webapps using web.xml instead of defining a new one in
httpd.conf every time.  So below you will find the directory structure i'm
trying to use and a few lines from my configuration files.

Basically I just want to be able to type in a URL and get apache to hand off
the request for servlets defined in web.xml and *.jsp files forwarded to
tomcat 4.0.  Possible maybe?

# users web directory
/websites/commaflex.com/public_html

# users WEB-INF
/websites/commaflex.com/public_html/WEB-INF/web.xml
/websites/commaflex.com/public_html/WEB-INF/classes
/websites/commaflex.com/public_html/WEB-INF/classes/HelloWorldExample.class
/websites/commaflex.com/public_html/index.jsp

# excerpt from server.xml




# excerpt from web.xml

HelloWorldExample
HelloWorldExample.class



HelloWorldExample
/hello



Sincerely,
Brendon Maragia

"I hope we shall crush in its birth the aristocracy of our monied
corporations which dare already to challenge our government to a trial of
strength, and bid defiance to the laws our country" --Thomas Jefferson





simple apache/tomcat 4.0/gnu-linux setup question from a newbie.

2001-09-29 Thread Brendon M. Maragia

Hey List,

I'm trying to setup jakarta tomcat 4.0 for the first time and i'm trying to
get some sort of virtual hosting deal going on that forwards connections
from apache on port 80 to tomcat on port 8080 when a persons URL is entered.
I currently have mod_webapp.so installed properly and included in
httpd.conf.  I haven't added any lines to my  directives
because I have a virtual host defined in server.xml, and I like the idea of
being able to add new webapps using web.xml instead of defining a new one in
httpd.conf every time.  So below you will find the directory structure i'm
trying to use and a few lines from my configuration files.

Basically I just want to be able to type in a URL and get apache to hand off
the request for servlets defined in web.xml and *.jsp files forwarded to
tomcat 4.0.  Possible maybe?

# users web directory
/websites/commaflex.com/public_html

# users WEB-INF
/websites/commaflex.com/public_html/WEB-INF/web.xml
/websites/commaflex.com/public_html/WEB-INF/classes
/websites/commaflex.com/public_html/WEB-INF/classes/HelloWorldExample.class
/websites/commaflex.com/public_html/index.jsp

# excerpt from server.xml




# excerpt from web.xml

HelloWorldExample
HelloWorldExample.class



HelloWorldExample
/hello



Sincerely,
Brendon Maragia

"I hope we shall crush in its birth the aristocracy of our monied
corporations which dare already to challenge our government to a trial of
strength, and bid defiance to the laws our country" --Thomas Jefferson




to many tomcat processes!! AAH!!

2001-04-12 Thread Brendon M. Maragia








Dear Readers,

 

I finally!!! Got Jakarta Tomcat vhosting
with Cocoon and it was so so beautiful and sweet, I jumped around the room screaming in joy.  Don’t try an
tell me you’ve never done that. 
Anyways, I was using jdk1.1.3 ;] ewww, I know.  So I
upgraded to j2sdk1.3 and fired everything back up.  Low and behold when running ps –aux, I was confronted with this….

 

root  2806 44.5 
4.1 76632 10580 pts/1   S    20:01   0:01
/usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l

root  2844 
0.0  4.1 76632 10580 pts/1   S    20:01  
0:00 /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l

root  2845 
0.0  4.1 76632 10580 pts/1   S    20:01  
0:00 /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l

root  2846 
0.0  4.1 76632 10580 pts/1   S    20:01  
0:00 /usr/local/jdk1.2.2/bin/i386/native_threads/java -Dtomcat.home=/usr/l

 

Not just that about 50 more. 
In total about 54 Jakarta Tomcat processes, all this right after I
upgraded to j2sdk1.3.  I tried
downgrading again to jdk1.2.2, no dice same error.  I searched through the mail archives and
noticed a guy buy the name of Pete Wright had posted a similar error.  I emailed him and he told me the list hadn’t
been much help.  So in posting the same
error again I hope to raise user sympathy ;]  please help!

 

Sincerely,

Brendon Maragia