You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Vishal Gautam <vi...@globalobjects.com> on 2000/01/04 22:37:31 UTC

Error in configuring tomcat 3.0 with apache 1.3.9...

Hi Everybody,

I am new to this news group, I was trying to configure Tomcat 3.0 with
Apache 1.3.9 on Solaris 7.
PROBLEM: Apache is running fine but when I request
http://localhost/examples an internal server error is happening and 

I am getting following error in the mod_jserv.log file---
	ajpv12:can not connect to host 127.0.0.1:8007
	ajpv12: connection failed
	an Error returned handling request via protocol "ajpv12"

The error_log file says following thing after I restart the apache
	"Apache 1.3.9 (Unix) tomcat/v 1.0 configured - resuming normal operation"

QUESTIONS:
1.Why could this be happening?
2. I do not have perl interpreter installed, do I need one. I do have the
module mod_so.c 
3. Why it says tomcat v 1.0 insstead of v3.0 in the error_log file after I
start the apache


Any help would be greatly appreciated..

TIA,

Vishal


Re: Error in configuring tomcat 3.0 with apache 1.3.9...

Posted by Patrick Regan <pa...@globalcrossing.com>.
Ok, when I start Apache I get this in my log :

Apache/1.3.9 (Unix) ApacheJServ/1.1b3 configured -- resuming normal operations

Are you using the latest JServ (1.1b3)??

Pat


Juan wrote:

> netstat does not list 8007 as being used...
>
>     Thanks
>                        Juan
>
> Patrick Regan wrote:
>
> > Check to see if something else running on port 8007?  I had to change the port that
> > JServ listens on in my environment.
> >
> > Juan wrote:
> >
> > > Vishal Gautam wrote:
> > >
> > > > Hi Everybody,
> > > >
> > > > I am new to this news group, I was trying to configure Tomcat 3.0 with
> > > > Apache 1.3.9 on Solaris 7.
> > > > PROBLEM: Apache is running fine but when I request
> > > > http://localhost/examples an internal server error is happening and
> > > >
> > > > I am getting following error in the mod_jserv.log file---
> > > >         ajpv12:can not connect to host 127.0.0.1:8007
> > > >         ajpv12: connection failed
> > > >         an Error returned handling request via protocol "ajpv12"
> > > >
> > > > The error_log file says following thing after I restart the apache
> > > >         "Apache 1.3.9 (Unix) tomcat/v 1.0 configured - resuming normal operation"
> > > >
> > > > QUESTIONS:
> > > > 1.Why could this be happening?
> > >
> > > I have the same problem. I have noticed that the script startup.sh
> > > executes the command "java org.apache.tomcat.shell.Startup",
> > > which is the daemon that listens on port 8007. This command
> > > exits with value 1 right after calling startup.sh, which means that
> > > apache is complaining because the daemon is not there!!!
> > >
> > > Why is this command exiting with value 1?????
> > >
> > >          Juan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Error in configuring tomcat 3.0 with apache 1.3.9...

Posted by Juan <ju...@funmail.co.uk>.
netstat does not list 8007 as being used...

    Thanks
                       Juan

Patrick Regan wrote:

> Check to see if something else running on port 8007?  I had to change the port that
> JServ listens on in my environment.
>
> Juan wrote:
>
> > Vishal Gautam wrote:
> >
> > > Hi Everybody,
> > >
> > > I am new to this news group, I was trying to configure Tomcat 3.0 with
> > > Apache 1.3.9 on Solaris 7.
> > > PROBLEM: Apache is running fine but when I request
> > > http://localhost/examples an internal server error is happening and
> > >
> > > I am getting following error in the mod_jserv.log file---
> > >         ajpv12:can not connect to host 127.0.0.1:8007
> > >         ajpv12: connection failed
> > >         an Error returned handling request via protocol "ajpv12"
> > >
> > > The error_log file says following thing after I restart the apache
> > >         "Apache 1.3.9 (Unix) tomcat/v 1.0 configured - resuming normal operation"
> > >
> > > QUESTIONS:
> > > 1.Why could this be happening?
> >
> > I have the same problem. I have noticed that the script startup.sh
> > executes the command "java org.apache.tomcat.shell.Startup",
> > which is the daemon that listens on port 8007. This command
> > exits with value 1 right after calling startup.sh, which means that
> > apache is complaining because the daemon is not there!!!
> >
> > Why is this command exiting with value 1?????
> >
> >          Juan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Error in configuring tomcat 3.0 with apache 1.3.9...

Posted by Patrick Regan <pa...@globalcrossing.com>.
Check to see if something else running on port 8007?  I had to change the port that
JServ listens on in my environment.

Juan wrote:

> Vishal Gautam wrote:
>
> > Hi Everybody,
> >
> > I am new to this news group, I was trying to configure Tomcat 3.0 with
> > Apache 1.3.9 on Solaris 7.
> > PROBLEM: Apache is running fine but when I request
> > http://localhost/examples an internal server error is happening and
> >
> > I am getting following error in the mod_jserv.log file---
> >         ajpv12:can not connect to host 127.0.0.1:8007
> >         ajpv12: connection failed
> >         an Error returned handling request via protocol "ajpv12"
> >
> > The error_log file says following thing after I restart the apache
> >         "Apache 1.3.9 (Unix) tomcat/v 1.0 configured - resuming normal operation"
> >
> > QUESTIONS:
> > 1.Why could this be happening?
>
> I have the same problem. I have noticed that the script startup.sh
> executes the command "java org.apache.tomcat.shell.Startup",
> which is the daemon that listens on port 8007. This command
> exits with value 1 right after calling startup.sh, which means that
> apache is complaining because the daemon is not there!!!
>
> Why is this command exiting with value 1?????
>
>          Juan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


How to pass HttpServletRequest to Custom Tag?

Posted by Patrick Regan <pa...@globalcrossing.com>.
Is it possible to pass the HttpServletRequest to a Custom Tag?  If so, how?

Thanks,
Patrick Regan
Global Crossing


Re: Error in configuring tomcat 3.0 with apache 1.3.9...

Posted by Patrick Regan <pa...@globalcrossing.com>.
Vishal -

#1  I am running Tomcat from my /jakarta/dist/tomcat directory (I did a
build.sh dist).  In my case the webserver.jar lives in the
/jakarta/dist/tomcat

#2 Yes you need JServ installed.  Don't bother trying to download the
mod_jserv.so because it won't work.  I still hold out hope that someone will
fix it.  Anyway, for now, goto the apache site and dowlnload JServ 1.1b3 and
then have fun building it.  If you configure the build right it will copy the
file (mod_jserv.so) to your /apache/libexec directory...

Follow the how to doc...

Pat

Vishal Gautam wrote:

> I have some more questions-
>
> 1. When I start the tomcat with startup.sh I get a ClassNotFound exception
> for startup class. I see tomcat has put webserver.jar in the classpath but
> It doesn't exist, could that be the reason? Do I have to download it
> separately, from where?
>
> 2. Do I need JServ installed on solaris also for running tomcat with
> apache, I think Patrick mentioned in another thread that JServ has the
> right mod_jserv.so?
>
> At 10:27 AM 1/5/00 +0000, you wrote:
> >Vishal Gautam wrote:
> >
> >> Hi Everybody,
> >>
> >> I am new to this news group, I was trying to configure Tomcat 3.0 with
> >> Apache 1.3.9 on Solaris 7.
> >> PROBLEM: Apache is running fine but when I request
> >> http://localhost/examples an internal server error is happening and
> >>
> >> I am getting following error in the mod_jserv.log file---
> >>         ajpv12:can not connect to host 127.0.0.1:8007
> >>         ajpv12: connection failed
> >>         an Error returned handling request via protocol "ajpv12"
> >>
> >> The error_log file says following thing after I restart the apache
> >>         "Apache 1.3.9 (Unix) tomcat/v 1.0 configured - resuming normal
> operation"
> >>
> >> QUESTIONS:
> >> 1.Why could this be happening?
> >
> >I have the same problem. I have noticed that the script startup.sh
> >executes the command "java org.apache.tomcat.shell.Startup",
> >which is the daemon that listens on port 8007. This command
> >exits with value 1 right after calling startup.sh, which means that
> >apache is complaining because the daemon is not there!!!
> >
> >Why is this command exiting with value 1?????
> >
> >         Juan
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Error in configuring tomcat 3.0 with apache 1.3.9...

Posted by Vishal Gautam <vi...@globalobjects.com>.
I have some more questions-

1. When I start the tomcat with startup.sh I get a ClassNotFound exception
for startup class. I see tomcat has put webserver.jar in the classpath but
It doesn't exist, could that be the reason? Do I have to download it
separately, from where?

2. Do I need JServ installed on solaris also for running tomcat with
apache, I think Patrick mentioned in another thread that JServ has the
right mod_jserv.so?


At 10:27 AM 1/5/00 +0000, you wrote:
>Vishal Gautam wrote:
>
>> Hi Everybody,
>>
>> I am new to this news group, I was trying to configure Tomcat 3.0 with
>> Apache 1.3.9 on Solaris 7.
>> PROBLEM: Apache is running fine but when I request
>> http://localhost/examples an internal server error is happening and
>>
>> I am getting following error in the mod_jserv.log file---
>>         ajpv12:can not connect to host 127.0.0.1:8007
>>         ajpv12: connection failed
>>         an Error returned handling request via protocol "ajpv12"
>>
>> The error_log file says following thing after I restart the apache
>>         "Apache 1.3.9 (Unix) tomcat/v 1.0 configured - resuming normal
operation"
>>
>> QUESTIONS:
>> 1.Why could this be happening?
>
>I have the same problem. I have noticed that the script startup.sh
>executes the command "java org.apache.tomcat.shell.Startup",
>which is the daemon that listens on port 8007. This command
>exits with value 1 right after calling startup.sh, which means that
>apache is complaining because the daemon is not there!!!
>
>Why is this command exiting with value 1?????
>
>         Juan
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>
>


Re: Error in configuring tomcat 3.0 with apache 1.3.9...

Posted by Juan <ju...@funmail.co.uk>.
Vishal Gautam wrote:

> Hi Everybody,
>
> I am new to this news group, I was trying to configure Tomcat 3.0 with
> Apache 1.3.9 on Solaris 7.
> PROBLEM: Apache is running fine but when I request
> http://localhost/examples an internal server error is happening and
>
> I am getting following error in the mod_jserv.log file---
>         ajpv12:can not connect to host 127.0.0.1:8007
>         ajpv12: connection failed
>         an Error returned handling request via protocol "ajpv12"
>
> The error_log file says following thing after I restart the apache
>         "Apache 1.3.9 (Unix) tomcat/v 1.0 configured - resuming normal operation"
>
> QUESTIONS:
> 1.Why could this be happening?

I have the same problem. I have noticed that the script startup.sh
executes the command "java org.apache.tomcat.shell.Startup",
which is the daemon that listens on port 8007. This command
exits with value 1 right after calling startup.sh, which means that
apache is complaining because the daemon is not there!!!

Why is this command exiting with value 1?????

         Juan