I have installed tomcat 6 through the Ubuntu synaptic package manager but I
am having trouble setting it up.
Using the line:
sudo /usr/share/tomcat6/bin/./shutdown.sh
Throws the error
SEVERE: Catalina.stop:
java.io.FileNotFoundException: /usr/share/tomcat6/conf/server.xml (No such
file or directory)
The file has been written to:
/usr/share/tomcat6/skel/conf/server.xml
Also I have installed the manager program but can't log it
I edited the /tomcat-users.xml file so that it reads
−
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
−
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="LexMan" password=********" roles="admin,manager"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
<role rolename="manager"/>
</tomcat-users>
but I can't log in to the management program.
--
View this message in context:
http://www.nabble.com/Setting-Up-Tomcat-6-on-Ubuntu-8.10-tp20408973p20408973.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]