File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat 4.1.10 - Administration Tool Setup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 4.1.10 - Administration Tool Setup" Watch "Tomcat 4.1.10 - Administration Tool Setup" New topic

Tomcat 4.1.10 - Administration Tool Setup


Joined: Sep 22, 2002
Posts: 6
Has any body successfully installed and made this administration tool operation wich comes along tomcat4. If yes can you give how to do the configuration tomake it work ?
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You need to add a user in '<tomcat_root>\conf\tomcat-users.xml'
Like this:

now you can make a logon by calling e.g. ''

Regards, Rene Larsen
Dropbox Invite
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Can you assist me in setting up a small demo software of mine which works on jsp & mysql.
I want you to guide me in placing the java files and then configuring the jdbc and mysql

I've made a JDBC connect sample for mySQL:

You places your resources like this:

PS.: Try to reply to the forum and not as a 'private message', this way you get a lot of experts helping you instead of only one.
[ September 24, 2002: Message edited by: Rene Larsen ]

Joined: Sep 22, 2002
Posts: 6
I could configure the data source through the new tomcat webserver GUI inteface. Now i want to know how to use the manager webapps to configure the program which are htm and jsp files

Joined: Sep 22, 2002
Posts: 6
Thanks for the help received from Rene which helped me to configure tomcat.
Now i am facing the following problem when i am tyring to run and see a small demo programme
I am running tomcat4 @ run command and it is showing the following error in spite of me configuring the jdbc connections :
[root@localhost root]# tomcat4 run
Using CATALINA_BASE: /var/tomcat4
Using CATALINA_HOME: /var/tomcat4
Using CATALINA_TMPDIR: /var/tomcat4/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_04
[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009
[INFO] JkMain - -Jk running ID=0 time=16/66 config=/var/tomcat4/conf/jk2.proper
java.sql.SQLException: General error: Access denied for user: '@localhost.locald
omain' to database 'b2bdata'
at com.mysql.jdbc.MysqlIO.sendCommand(Unknown Source)
at com.mysql.jdbc.Connection.connectionInit(Unknown Source)
at com.mysql.jdbc.jdbc2.Connection.connectionInit(Unknown Source)
at com.mysql.jdbc.Driver.connect(Unknown Source)

Can some body help me to figure out from where it is deriving the default userid for connection or to to redirect tomcat to see the jdbc configuration userid and password for connecting to database

Joined: Sep 22, 2002
Posts: 6
Can any body assit me in compiling the java & jsp files to have the required class files in the debugging mode
I agree. Here's the link:
subject: Tomcat 4.1.10 - Administration Tool Setup
Similar Threads
confusion in sun application server
Question on bean pooling
JSP Admin for MySQL DB?
Progamatic Access to CPU and Memory Stats
JBoss admin console