You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ken <ka...@pacific.net> on 2000/08/27 00:41:36 UTC

Re: Access Denied

try removing the "start" from the line in the batch file that starts
tomcat in a new window. That way it will start in the same window. You
might see more of what's going on.
-Ken

> There is no external Web Server issue.
> Tomcat is not able to start at all !!
> There are no Log Files created
> This is what i get on the DOS console
> 
> Using CLASSPATH: ..\classes;..\lib\SERVLET.JAR;..\lib\ANT.JAR;..\lib\WEBSER~
> R;..\lib\JASPER.JAR;..\lib\JAXP.JAR;..\lib\PARSER.JAR;G:\jdk1.3\jre\lib\ext\
> es.jar;G:\jdk1.3\jre\lib\ext\xalan.jar;G:\jdk1.3\jre\lib\ext\fop.jar;G:\jdk1
> re\lib\ext\cocoon.jar;G:\jdk1.3\jre\lib\ext\stylebook.jar;G:\jdk1.3\jre\lib\
> classes12.jar;G:\jdk1.3\jre\lib\ext\cos.jar;G:\jdk1.3\jre\lib\ext\mail.jar;G
> k1.3\jre\lib\ext\jcert.jar;G:\jdk1.3\jre\lib\ext\jnet.jar;G:\jdk1.3\jre\lib\
> jsse.jar;G:\jdk1.3\jre\lib\ext\rowset.jar;G:\jdk1.3\jre\lib\ext\jdbc2_0-stde
> ar;G:\jdk1.3\jre\lib\ext\maintenance.jar;G:\jdk1.3\lib\tools.jar
> 
> Starting Tomcat in new window
> Access is denied.
> 
> 
> 
> ----- Original Message -----
> From: John Summerfield <su...@OS2.ami.com.au>
> To: <to...@jakarta.apache.org>
> Sent: Sunday, August 27, 2000 1:09 AM
> Subject: Re: Access Denied
> 
> 
> > > I have exactly the same problem on Win98 , although on WinNT and Solaris
> i
> > > never had this problem...
> > > I don't know the solution,
> > > looking forward to an answer ..
> >
> > I don't know Windows, or what web server you're using.
> >
> > Probably, whatever it is is configured to not allow you to retrieve those
> > pages. There should be something in your logs.
> >
> >
> > >
> > > Alex.
> > >
> > >
> > > ----- Original Message -----
> > > From: Alan Popow <al...@attcanada.ca>
> > > To: <to...@jakarta.apache.org>
> > > Sent: Saturday, August 26, 2000 11:52 PM
> > > Subject: Access Denied
> > >
> > >
> > > > I hate to think this is a dumb question, but I'm reasonably new to
> tomcat,
> > > > so here goes...
> > > >
> > > > I downloaded the source, and it compiles fine (ant, servletapi, and
> > > tomcat),
> > > > but when I run startup.bat, all I ever get after "Starting tomcat in a
> > > > separate window", is "Access denied". It doesn't matter whether or not
> I
> > > the
> > > > '-security' argument is used.
> > > >
> > > > I'm compiling and running on Windows 98.
> > > >
> > > > Anybody know what this is about?
> > > >
> > > > Thanks
> > > >
> > > > Alan
> > > >
> > > >
> > >
> >
> >
> 

-- 
Ken <ka...@pacific.net>


Re: Access Denied

Posted by Jim Rudnicki <jd...@pacbell.net>.
>It runs fine as long as it runs in the same window. I wonder what that is
> all about. Oh, well, it works, and I guess that's what matters.

>try removing the "start" from the line in the batch file that starts
>tomcat in a new window. That way it will start in the same window. You
>might see more of what's going on.
>-Ken

What it is about is the meaning of "start" is different on NT and 98.  On
NT, the new window inherits the environment of the parent.  On 98, the new
window starts of with the default environment.  All the work done by the
batch file gets tossed.

Conclusion: person who wrote batch file was using NT.

Jim



Re: Access Denied

Posted by Alan Popow <al...@attcanada.ca>.
On Sat, 26 Aug 2000 22:41:36 GMT, you wrote:

Well, imagine that; that was the answer. Although, it's actually "change
'start' to 'run', not just remove start.

It runs fine as long as it runs in the same window. I wonder what that is
all about. Oh, well, it works, and I guess that's what matters.

Thanks

Alan

>try removing the "start" from the line in the batch file that starts
>tomcat in a new window. That way it will start in the same window. You
>might see more of what's going on.
>-Ken
>
>> There is no external Web Server issue.
>> Tomcat is not able to start at all !!
>> There are no Log Files created
>> This is what i get on the DOS console
>> 
>> Using CLASSPATH: ..\classes;..\lib\SERVLET.JAR;..\lib\ANT.JAR;..\lib\WEBSER~
>> R;..\lib\JASPER.JAR;..\lib\JAXP.JAR;..\lib\PARSER.JAR;G:\jdk1.3\jre\lib\ext\
>> es.jar;G:\jdk1.3\jre\lib\ext\xalan.jar;G:\jdk1.3\jre\lib\ext\fop.jar;G:\jdk1
>> re\lib\ext\cocoon.jar;G:\jdk1.3\jre\lib\ext\stylebook.jar;G:\jdk1.3\jre\lib\
>> classes12.jar;G:\jdk1.3\jre\lib\ext\cos.jar;G:\jdk1.3\jre\lib\ext\mail.jar;G
>> k1.3\jre\lib\ext\jcert.jar;G:\jdk1.3\jre\lib\ext\jnet.jar;G:\jdk1.3\jre\lib\
>> jsse.jar;G:\jdk1.3\jre\lib\ext\rowset.jar;G:\jdk1.3\jre\lib\ext\jdbc2_0-stde
>> ar;G:\jdk1.3\jre\lib\ext\maintenance.jar;G:\jdk1.3\lib\tools.jar
>> 
>> Starting Tomcat in new window
>> Access is denied.
>> 
>> 
>> 
>> ----- Original Message -----
>> From: John Summerfield <su...@OS2.ami.com.au>
>> To: <to...@jakarta.apache.org>
>> Sent: Sunday, August 27, 2000 1:09 AM
>> Subject: Re: Access Denied
>> 
>> 
>> > > I have exactly the same problem on Win98 , although on WinNT and Solaris
>> i
>> > > never had this problem...
>> > > I don't know the solution,
>> > > looking forward to an answer ..
>> >
>> > I don't know Windows, or what web server you're using.
>> >
>> > Probably, whatever it is is configured to not allow you to retrieve those
>> > pages. There should be something in your logs.
>> >
>> >
>> > >
>> > > Alex.
>> > >
>> > >
>> > > ----- Original Message -----
>> > > From: Alan Popow <al...@attcanada.ca>
>> > > To: <to...@jakarta.apache.org>
>> > > Sent: Saturday, August 26, 2000 11:52 PM
>> > > Subject: Access Denied
>> > >
>> > >
>> > > > I hate to think this is a dumb question, but I'm reasonably new to
>> tomcat,
>> > > > so here goes...
>> > > >
>> > > > I downloaded the source, and it compiles fine (ant, servletapi, and
>> > > tomcat),
>> > > > but when I run startup.bat, all I ever get after "Starting tomcat in a
>> > > > separate window", is "Access denied". It doesn't matter whether or not
>> I
>> > > the
>> > > > '-security' argument is used.
>> > > >
>> > > > I'm compiling and running on Windows 98.
>> > > >
>> > > > Anybody know what this is about?
>> > > >
>> > > > Thanks
>> > > >
>> > > > Alan
>> > > >
>> > > >
>> > >
>> >
>> >
>>