[OpenSER-Users] serMyAdmin-0.5-BETA.war on FC5.tomcat5
Zen Kato
zenkato at zm.commufa.jp
Sat May 24 08:39:42 CEST 2008
Hi, I tried to install serMyAdmin-0.5-BETA.war on FC5,
tomcat5-5.5.15-1jpp_6fc.
I did the following, but http://localhost:8080/serMyAdmin
does not work. Please let me know how to install sermyadmin
on fedora.
(1)# cp mysql-connector-java-5.1.6-bin.jar /usr/share/tomcat5/common/lib
(2)/usr/share/tomcat5/conf/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/serMyAdmin">
<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver"
maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/openser_MySQL"
type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/openser"
username="sermyadmin" password="secret"/>
</Context>
(3)# mysql>grant all privileges on openser.* to sermyadmin@'%' identified by 'sercret';
(4)# cp serMyAdmin-0.5.war /usr/share/tomcat5/webapps/serMyAdmin.war
/var/log/tomcat5/catalina.out
....(snip).........
2008/05/24 7:10:39 org.apache.catalina.startup.HostConfig deployWAR
情報: Webアプリケーションアーカイブ serMyAdmin.war を配備します
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: stacktrace.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:568)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:442)
.......(snip)........
--
Zen Kato
More information about the sr-users
mailing list