When I install the webmail 0.7.7, the error occured as
follow:
Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.2-2 on an i686
login: erin
Password:
Last login: Fri Jan 18 16:18:58 from 192.168.0.93
You have mail.
[erin@linuxapp erin]$ ls
chinese Desktop Draft jwma.jar PoorChinese.class
Trash webmail.war
[erin@linuxapp erin]$ cd /usr/local/tomcat
[erin@linuxapp tomcat]$ ls
bin conf KEYS LICENSE RELEASE-NOTES webapps
classes doc lib logs src work
[erin@linuxapp tomcat]$ cd webapps
[erin@linuxapp webapps]$ ls
admin ROOT struts-logon.war webmail
examples struts-logon test webmail.war
[erin@linuxapp webapps]$ cp webmail.war webmail.war.old
cp: cannot create regular file `webmail.war.old':
Permission denied
[erin@linuxapp webapps]$ su
Password:
[root@linuxapp webapps]# cp webmail.war.webmail.war.old
cp: missing destination file
Try `cp --help' for more information.
[root@linuxapp webapps]# cp webmail.war webmail.war.old
[root@linuxapp webapps]# rm -rf webmail
[root@linuxapp webapps]# cp /home/erin/webmail.war ./
cp: overwrite `./webmail.war'? y
[root@linuxapp webapps]# cd bin
bash: cd: bin: No such file or directory
[root@linuxapp webapps]# cd ..
[root@linuxapp tomcat]# cd bin
[root@linuxapp bin]# ls
ant antRun.bat jspc.sh startup.bat
tomcatEnv.bat
ant.bat cpappend.bat shutdown.bat startup.sh
tomcat.sh
antRun jspc.bat shutdown.sh tomcat.bat
[root@linuxapp bin]# ./startup.sh
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using
classpath: ./../classes:./../lib/ant.jar:./../lib/jaspe
r.jar:./../lib/jaxp
.jar:./../lib/parser.jar:./../lib/servlet.jar:./../lib/
test:./../lib/webserver.j
ar:/usr/java/jdk1.3.1/bin/../lib/tools.jar
startup tomcat...
[root@linuxapp bin]# 2002-01-18 16:27:53 -
ContextManager: Adding context Ctx( /
examples )
2002-01-18 16:27:53 - ContextManager: Adding context
Ctx( /admin )
2002-01-18 16:27:54 - ContextManager: Adding context
Ctx( /webmail )
Starting tomcat. Check logs/tomcat.log for error
messages
2002-01-18 16:27:54 - ContextManager: Adding context
Ctx( )
2002-01-18 16:27:54 - ContextManager: Adding context
Ctx( /test )
2002-01-18 16:27:55 - ContextManager: Adding context
Ctx( /struts-logon )
2002-01-18 16:27:55 - ContextManager: Adding context
Ctx( /webmail.war.old )
Init
webmail.default.locale.language: en
webmail.storage:
net.wastl.webmail.storage.simple.SimpleStorage
webmail.authenticators:
IMAPAuthenticator:POPAuthenticator:OTPAuthenticator:Sim
p
leAuthenticator:UnixAuthenticator
webmail.default.locale.country: US
webmail.plugins:
About:AdminPlugin:ChallengeHandler:Composer:ErrorHandle
r:FileAt
tacher:FolderList:FolderSetup:HMTLContentBar:ImageHandl
er:LogoutSession:MailboxL
ist:PassThroughPlugin:SendMessage:ShowMessage:ShowMIME:
UserSetup:WebMailHelp:Web
MailTitle
webmail.imagebase: /webmail/lib/templates
webmail.basepath: /webmail/servlet/WebMail
webmail.default.theme: bibop
Initalizing...
- Checking Java Virtual Machine ...
* Version: 1.3.1 ... ok.
* Operating System: Linux/i386 2.4.2-2 ... ok.
* User name: root ... warning. You are running
WebMail as root. This may be a
potential security problem.
* WebMail System Properties: ok!
* Setting DTD-path in webmail.xml ... done!
- Configuration Scheme Handler ... done!
- Default Locale: English (United States)
- Default Theme: bibop
- Initializing WebMail Authenticator Plugins ...
* registered authenticator plugin "IMAPAuthenticator"
* registered authenticator plugin "POPAuthenticator"
* registered authenticator plugin "OTPAuthenticator"
* registered authenticator
plugin "SimpleAuthenticator"
* registered authenticator plugin "UnixAuthenticator"
done!
- Storage API (null) and Configuration ...
* Configuration ... LOG(10): SimpleStorage: WebMail
configuration loaded.
Configuration file parsed, document: [#document: null]
successfully parsed XML configuration file.
* Logfile ... initalization
complete: /usr/local/tomcat/webapps/webmail/data/w
ebmail.log, Level 5
* MIME types ... loaded
from /usr/local/tomcat/webapps/webmail/lib/mime.types
.
* Authenticator ... ok. Using IMAPAuthenticator
(v1.2) for authentication.
* Available languages ... 42 languages initialized.
done!
- Initializing WebMail URL Handler ... done.
- Initializing WebMail Plugins ...
* loading: 19 plugins loaded correctly.
* initializing: plugins initialized.
- Mail providers:
* localmbox from Hafeez Bana
* imap from Sun Microsystems, Inc
* smtp from Sun Microsystems, Inc
* pop3 from Sun Microsystems, Inc
Exception in thread "main" java.lang.NoSuchMethodError
at
net.wastl.webmail.xml.XMLCommon.getElementTextValue
(XMLCommon.java:53
)
at
net.wastl.webmail.xml.XMLSystemData.getConfigRaw
(XMLSystemData.java:9
6)
at
net.wastl.webmail.config.ConfigStore.isConfigSet
(ConfigStore.java:81)
at
net.wastl.webmail.server.Storage.initConfigKeys
(Storage.java:76)
at
net.wastl.webmail.server.WebMailServer.doInit
(WebMailServer.java:179)
at net.wastl.webmail.server.WebMailServlet.init
(WebMailServlet.java:118)
at org.apache.tomcat.core.ServletWrapper.doInit
(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init
(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init
(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.cont
extInit(LoadOn
StartupInterceptor.java:130)
at
org.apache.tomcat.core.ContextManager.initContext
(ContextManager.java
:491)
at org.apache.tomcat.core.ContextManager.init
(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute
(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main
(Tomcat.java:235)
[root@linuxapp bin]# ./shutdown.sh
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using
classpath: ./../classes:./../lib/ant.jar:./../lib/jaspe
r.jar:./../lib/jaxp
.jar:./../lib/parser.jar:./../lib/servlet.jar:./../lib/
test:./../lib/webserver.j
ar:/usr/java/jdk1.3.1/bin/../lib/tools.jar
Stop tomcat
[root@linuxapp bin]# rm -rf webmail
[root@linuxapp bin]# rm webmail.war
rm: cannot remove `webmail.war': No such file or
directory
[root@linuxapp bin]# ls
ant antRun.bat jspc.sh startup.bat
tomcatEnv.bat
ant.bat cpappend.bat shutdown.bat startup.sh
tomcat.sh
antRun jspc.bat shutdown.sh tomcat.bat
[root@linuxapp bin]# cd ..
[root@linuxapp tomcat]# cd
[root@linuxapp /root]# cd webapps
bash: cd: webapps: No such file or directory
[root@linuxapp /root]# ls
core Desktop enhydraApps ie5setup ie5_sp1beta_sol
Mail nsmail tmp
[root@linuxapp /root]# cd ..
[root@linuxapp /]# ls
bin dev home lost+found mnt proc sbin usr
boot etc lib misc opt root tmp var
[root@linuxapp /]# cd usr/local
[root@linuxapp local]# ls
ant1.3 enhydra-demos3.1 javali
jsdk2.1 src
apache e-school jaxp-1.1
lib tomcat
apache-jserv etc jboss
man virtual-school
bin games jbuilder5
oracle8.1.7 webmail
borland info jdk pssql-
jdbc webmail-0.7.6
doc j2sdkee1.2.1 jre sbin
enhydra4.0 jakarta-tomcat-4.0 JSDK2.0 servlet-
2_2b
[root@linuxapp local]# cd webmail
[root@linuxapp webmail]# ls
build build.sh CHANGES docs lib README
TODO webmail.war
build.bat build.xml dist etc LICENSE src
views
[root@linuxapp webmail]# ls
build build.sh CHANGES docs lib README
TODO webmail.war
build.bat build.xml dist etc LICENSE src
views
[root@linuxapp webmail]# cd ..
[root@linuxapp local]# ls
ant1.3 enhydra-demos3.1 javali
jsdk2.1 src
apache e-school jaxp-1.1
lib tomcat
apache-jserv etc jboss
man virtual-school
bin games jbuilder5
oracle8.1.7 webmail
borland info jdk pssql-
jdbc webmail-0.7.6
doc j2sdkee1.2.1 jre sbin
enhydra4.0 jakarta-tomcat-4.0 JSDK2.0 servlet-
2_2b
[root@linuxapp local]# cd tomcat
[root@linuxapp tomcat]# ls
bin conf KEYS LICENSE RELEASE-NOTES webapps
classes doc lib logs src work
[root@linuxapp tomcat]# cd webapps
[root@linuxapp webapps]# ls
admin ROOT struts-logon.war webmail
webmail.war.old
examples struts-logon test webmail.war
[root@linuxapp webapps]# rm -rf webmail
[root@linuxapp webapps]# ls
admin ROOT struts-logon.war webmail.war
examples struts-logon test
webmail.war.old
[root@linuxapp webapps]# ls
admin ROOT struts-logon.war webmail.war
examples struts-logon test
webmail.war.old
[root@linuxapp webapps]# cd ..
[root@linuxapp tomcat]# cd bin
[root@linuxapp bin]# ls
ant antRun.bat jspc.sh startup.bat
tomcatEnv.bat
ant.bat cpappend.bat shutdown.bat startup.sh
tomcat.sh
antRun jspc.bat shutdown.sh tomcat.bat
[root@linuxapp bin]# ./startup.sh
Guessing TOMCAT_HOME from tomcat.sh to ./..
Setting TOMCAT_HOME to ./..
Using
classpath: ./../classes:./../lib/ant.jar:./../lib/jaspe
r.jar:./../lib/jaxp
.jar:./../lib/parser.jar:./../lib/servlet.jar:./../lib/
test:./../lib/webserver.j
ar:/usr/java/jdk1.3.1/bin/../lib/tools.jar
startup tomcat...
[root@linuxapp bin]# 2002-01-18 17:09:23 -
ContextManager: Adding context Ctx( /
examples )
2002-01-18 17:09:23 - ContextManager: Adding context
Ctx( /admin )
2002-01-18 17:09:24 - ContextManager: Adding context
Ctx( /webmail )
Starting tomcat. Check logs/tomcat.log for error
messages
2002-01-18 17:09:24 - ContextManager: Adding context
Ctx( )
2002-01-18 17:09:24 - ContextManager: Adding context
Ctx( /test )
2002-01-18 17:09:25 - ContextManager: Adding context
Ctx( /struts-logon )
2002-01-18 17:09:25 - ContextManager: Adding context
Ctx( /webmail.war.old )
Init
webmail.default.locale.language: en
webmail.storage:
net.wastl.webmail.storage.simple.SimpleStorage
webmail.authenticators:
IMAPAuthenticator:POPAuthenticator:OTPAuthenticator:Sim
p
leAuthenticator:UnixAuthenticator
webmail.default.locale.country: US
webmail.plugins:
About:AdminPlugin:ChallengeHandler:Composer:ErrorHandle
r:FileAt
tacher:FolderList:FolderSetup:HMTLContentBar:ImageHandl
er:LogoutSession:MailboxL
ist:PassThroughPlugin:SendMessage:ShowMessage:ShowMIME:
UserSetup:WebMailHelp:Web
MailTitle
webmail.imagebase: /webmail/lib/templates
webmail.basepath: /webmail/servlet/WebMail
webmail.default.theme: bibop
Initalizing...
- Checking Java Virtual Machine ...
* Version: 1.3.1 ... ok.
* Operating System: Linux/i386 2.4.2-2 ... ok.
* User name: root ... warning. You are running
WebMail as root. This may be a
potential security problem.
* WebMail System Properties: ok!
* Setting DTD-path in webmail.xml ... done!
- Configuration Scheme Handler ... done!
- Default Locale: English (United States)
- Default Theme: bibop
- Initializing WebMail Authenticator Plugins ...
* registered authenticator plugin "IMAPAuthenticator"
* registered authenticator plugin "POPAuthenticator"
* registered authenticator plugin "OTPAuthenticator"
* registered authenticator
plugin "SimpleAuthenticator"
* registered authenticator plugin "UnixAuthenticator"
done!
- Storage API (null) and Configuration ...
* Configuration ... LOG(10): SimpleStorage: WebMail
configuration loaded.
Configuration file parsed, document: [#document: null]
successfully parsed XML configuration file.
* Logfile ... initalization
complete: /usr/local/tomcat/webapps/webmail/data/w
ebmail.log, Level 5
* MIME types ... loaded
from /usr/local/tomcat/webapps/webmail/lib/mime.types
.
* Authenticator ... ok. Using IMAPAuthenticator
(v1.2) for authentication.
* Available languages ... 42 languages initialized.
done!
- Initializing WebMail URL Handler ... done.
- Initializing WebMail Plugins ...
* loading: 19 plugins loaded correctly.
* initializing: plugins initialized.
- Mail providers:
* localmbox from Hafeez Bana
* imap from Sun Microsystems, Inc
* smtp from Sun Microsystems, Inc
* pop3 from Sun Microsystems, Inc
Exception in thread "main" java.lang.NoSuchMethodError
at
net.wastl.webmail.xml.XMLCommon.getElementTextValue
(XMLCommon.java:53
)
at
net.wastl.webmail.xml.XMLSystemData.getConfigRaw
(XMLSystemData.java:9
6)
at
net.wastl.webmail.config.ConfigStore.isConfigSet
(ConfigStore.java:81)
at
net.wastl.webmail.server.Storage.initConfigKeys
(Storage.java:76)
at
net.wastl.webmail.server.WebMailServer.doInit
(WebMailServer.java:179)
at net.wastl.webmail.server.WebMailServlet.init
(WebMailServlet.java:118)
at org.apache.tomcat.core.ServletWrapper.doInit
(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init
(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init
(ServletWrapper.java:296)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.cont
extInit(LoadOn
StartupInterceptor.java:130)
at
org.apache.tomcat.core.ContextManager.initContext
(ContextManager.java
:491)
at org.apache.tomcat.core.ContextManager.init
(ContextManager.java:453)
at org.apache.tomcat.startup.Tomcat.execute
(Tomcat.java:195)
at org.apache.tomcat.startup.Tomcat.main
(Tomcat.java:235)
I need help.
Thank you forward.
erin
Logged In: YES
user_id=620875
A new release is available. Please download it and try it to see if it
fixes the problem that you have reported. Thanks!