You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sharad Meena <sh...@datumamerica.com> on 2003/04/17 11:02:55 UTC

Tomcat - Admin Login,Password

Dear Sir,

I m trying to ligin into Tomcat admin application(i.e. http://localhost:8080/admin). Server is prompting for login and password and i don't know the valid login and password to login. I tried tomcat/tomcat, role1/tomcat and tried to find out the valid one in configuration files but i m unable to get it. Please help me out in sending the corrent login/password to login into application. Looking forward hear from you.

Thank you very in advance for helping me out.

Thanks
sharad Meena

RE: Tomcat4.1.24 as a NT Service not working??

Posted by Mladen Turk <mt...@apache.org>.

> -----Original Message-----
> From: Bikash Paul [mailto:bikashpaul_2001@yahoo.com]
> Sent: 18. travanj 2003 13:38
> To: Tomcat Users List; mturk@mappingsoft.com
> Subject: RE: Tomcat4.1.24 as a NT Service not working?? 
> 
> 
> Hi,
> 
> First of all thanks for ur reply.But I couldn't
> understand how i can create Tomcat local account as
> per ur mentioned Policy assignments:
> 1. 'Act as part of operating system',
> 2. 'Logon as service',
> 3. 'Replace a process level token'
> 
> Can u plz explain it little more about above metioned
> Policy assignments(means what are the steps include in
> that) or give me some help link so that I can take
> guide from there.Eagerly waiting for ur reply.
> 

It's a NT local account that will be used to start the TC service. Since
you didn't mentioned what is your NT flavor, I've assumed it's a post
4.0. Entire subject is non-TC related, rather NT admin one, so if you
need further assistance try to search on some NT admin group.

MT.




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Tomcat4.1.24 as a NT Service not working??

Posted by Bikash Paul <bi...@yahoo.com>.
Hi,

First of all thanks for ur reply.But I couldn't
understand how i can create Tomcat local account as
per ur mentioned Policy assignments:
1. 'Act as part of operating system',
2. 'Logon as service',
3. 'Replace a process level token'

Can u plz explain it little more about above metioned
Policy assignments(means what are the steps include in
that) or give me some help link so that I can take
guide from there.Eagerly waiting for ur reply.

Thanks & Regards
Bikash

--- Mladen Turk <mt...@apache.org> wrote:
> 
> 
> > -----Original Message-----
> > From: Bikash Paul
> [mailto:bikashpaul_2001@yahoo.com] 
>  
> > Iam facing problem 
> > when iam trying to upload file from my computer to
> other 
> > computer which in on network, it is giving me 
> > Error(java.io.IOException: Server returned HTTP
> response 
> > code:500).But when I run tomcat not as NT service
> as a stand 
> > alone then my application working fine.Can any one
> plz guide 
> > me how i can slove my problem.Is there any
> configuration 
> > require in Tomcat4.1.24 for running perfectly as a
> NT service?
> > 
> 
> Set either Tomcat service to run under different
> account then
> LocalSystem,
> or grant the NTFS write priviledge to Everone for
> the
> upload folder. The later one is dangereous, so I
> suggest you create
> Tomcat
> local account with the following Policy assignments:
> 'Act as part of operating system',
> 'Logon as service',
> 'Replace a process level token'
> 
> 
> MT.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Tomcat4.1.24 as a NT Service not working??

Posted by Bikash Paul <bi...@yahoo.com>.
Hi,

First of all thanks for ur reply.But I couldn't
understand how i can create Tomcat local account as
per ur mentioned Policy assignments:
1. 'Act as part of operating system',
2. 'Logon as service',
3. 'Replace a process level token'

Can u plz explain it little more about above metioned
Policy assignments(means what are the steps include in
that) or give me some help link so that I can take
guide from there.Eagerly waiting for ur reply.

Thanks & Regards
Bikash

--- Mladen Turk <mt...@apache.org> wrote:
> 
> 
> > -----Original Message-----
> > From: Bikash Paul
> [mailto:bikashpaul_2001@yahoo.com] 
>  
> > Iam facing problem 
> > when iam trying to upload file from my computer to
> other 
> > computer which in on network, it is giving me 
> > Error(java.io.IOException: Server returned HTTP
> response 
> > code:500).But when I run tomcat not as NT service
> as a stand 
> > alone then my application working fine.Can any one
> plz guide 
> > me how i can slove my problem.Is there any
> configuration 
> > require in Tomcat4.1.24 for running perfectly as a
> NT service?
> > 
> 
> Set either Tomcat service to run under different
> account then
> LocalSystem,
> or grant the NTFS write priviledge to Everone for
> the
> upload folder. The later one is dangereous, so I
> suggest you create
> Tomcat
> local account with the following Policy assignments:
> 'Act as part of operating system',
> 'Logon as service',
> 'Replace a process level token'
> 
> 
> MT.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Tomcat4.1.24 as a NT Service not working??

Posted by Mladen Turk <mt...@apache.org>.

> -----Original Message-----
> From: Bikash Paul [mailto:bikashpaul_2001@yahoo.com] 
 
> Iam facing problem 
> when iam trying to upload file from my computer to other 
> computer which in on network, it is giving me 
> Error(java.io.IOException: Server returned HTTP response 
> code:500).But when I run tomcat not as NT service as a stand 
> alone then my application working fine.Can any one plz guide 
> me how i can slove my problem.Is there any configuration 
> require in Tomcat4.1.24 for running perfectly as a NT service?
> 

Set either Tomcat service to run under different account then
LocalSystem,
or grant the NTFS write priviledge to Everone for the
upload folder. The later one is dangereous, so I suggest you create
Tomcat
local account with the following Policy assignments:
'Act as part of operating system',
'Logon as service',
'Replace a process level token'


MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Tomcat4.1.24 as a NT Service not working??

Posted by Bikash Paul <bi...@yahoo.com>.
Hi all friends,

I have installed Tomcat4.1.24 as a NT service on my
WinNT4.0 computer sucessfully.And it is running
perfectly I have tested it on IE by typing in address
bar(http://127.0.0.1:8080),it is showing me the home
page of Tomcat server.Iam using tomcat in my uploading
software for that Iam using servlet and swing
interface.Iam facing problem when iam trying to upload
file from my computer to other computer which in on
network, it is giving me Error(java.io.IOException:
Server returned HTTP response code:500).But when I run
tomcat not as NT service as a stand alone then my
application working fine.Can any one plz guide me how
i can slove my problem.Is there any configuration
require in Tomcat4.1.24 for running perfectly as a NT
service?

Regards
Bikash  



__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat - Admin Login,Password

Posted by Cagil Seker <ca...@biznet.com.tr>.
the login and password are in /conf/tomcat-users.xml file. For example change 
this file to:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="both" password="both" roles="manager,admin"/>
  <user username="manager" password="manager" roles="manager"/>
  <user username="admin" password="admin" roles="admin"/>
</tomcat-users>

and you should be fine logging in with admin:admin.

Regards.
Cagil Seker


On Thu 17 April 2003 12:02, Sharad Meena wrote:
> Dear Sir,
>
> I m trying to ligin into Tomcat admin application(i.e.
> http://localhost:8080/admin). Server is prompting for login and password
> and i don't know the valid login and password to login. I tried
> tomcat/tomcat, role1/tomcat and tried to find out the valid one in
> configuration files but i m unable to get it. Please help me out in sending
> the corrent login/password to login into application. Looking forward hear
> from you.
>
> Thank you very in advance for helping me out.
>
> Thanks
> sharad Meena