我查看了這個ganib程序中相當多的文檔,但他們真的很難找到,我仍然無法使它工作...所以繼承人我的問題...即時通訊運行一個Ubuntu 12.04 LTS 64位。我安裝了所有必要的文件,以使java在64位系統上運行,並運行ganib。它會在兩個方面遇到問題......第一次點擊忘記的密碼,第二次嘗試分配任務時。64位Ubuntu上的Ganib上的SMTP錯誤
我在開發人員網站上找到了一個針對問題2的SQL「補丁」,它使eror消息消失,但它解決了問題。
這裏是一個日誌catalina.out中的忘記密碼區的(我清理catalina.out的開始ganib,然後點擊忘記密碼):
2014-01-14 13:51:03,836 INFO com.ganib.scheduler.SchedulerSetupServlet - Startup: deleting old quartz jobs.
2014-01-14 13:51:03,895 INFO com.ganib.scheduler.SchedulerSetupServlet - Startup: submitting new quartz jobs.
2014-01-14 13:51:03,919 INFO org.apache.cxf.bus.spring.BusApplicationContext - Refreshing [email protected]: display name [[email protected]]; startup date [Tue Jan 14 13:51:03 SGT 2014]; parent: o[email protected]11a01dd
2014-01-14 13:51:03,971 INFO org.apache.cxf.bus.spring.BusApplicationContext - Bean factory for application context [[email protected]]: org.s[email protected]df42ce
Using stylesheet compilation
DEBUG: JavaMail version 1.4.5
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: successfully loaded file: /mnt/data2/Ganib-1.3_with_jre/jre-lin/lib/javamail.address.map
Exception while sending mail: java.lang.ClassCastException: javax.mail.Session cannot be cast to javax.mail.Session
2014-01-14 13:51:30,338 INFO org.apache.cxf.bus.spring.BusApplicationContext - Closing [email protected]: display name [[email protected]]; startup date [Tue Jan 14 13:51:03 SGT 2014]; parent: o[email protected]11a01dd
2014-01-14 13:51:30,557 INFO org.hibernate.impl.SessionFactoryImpl - closing
tomcat的?或任何其他應用程序? – Ashish