NEW Nmail PHP 3 업그레이드 할인
자세히 보기

Nmail ASP 서비스 종료 안내(EOS)

Nmail ASP (nWmail, Nmail Server) 제품은 유상 유지보수를 포함한 모든 서비스가 종료되었습니다.

500 에러입니다.

컴* 2004.10.03 15:17 조회 828

※ 필수입력정보 ※

▷ 제품버젼 : nmail 1.7
▷ 사용중인 주소(URL) : Error: 500
▷ 문제발생시 메뉴/주소 : http://neurimi.wowdns.com:8080
▷ 문제발생시 에러메세지
:
Error: 500
Location: /source/index.jsp
Internal Servlet Error:

javax.servlet.ServletException: Cannot create bean of class user.table.MailUser
at source._0002fsource_0002findex_0002ejspindex_jsp_0._jspService(_0002fsource_0002findex_0002ejspindex_jsp_0.java:154)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:534)

db
mysql> select * from db where user='nmail';
+-----------------------+-------+-------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+-----------------------+------------------+
| Host | Db | User | Select_priv | Insert_priv | Update_priv | Delete_priv | Create_priv | Drop_priv | Grant_priv | References_priv | Index_priv | Alter_priv | Create_tmp_table_priv | Lock_tables_priv |
+-----------------------+-------+-------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+-----------------------+------------------+
| localhost | nmail | nmail | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | N | N |
| localhost.localdomain | nmail | nmail | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | N | N |
| 127.0.0.1 | nmail | nmail | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | N | N |
| 127.0.0.1.localdomain | nmail | nmail | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | N | N |
+-----------------------+-------+-------+-------------+-------------+-------------+-------------+-------------+-----------+------------+-----------------+------------+------------+-----------------------+------------------+
4 rows in set (0.00 sec)

cat ./jakarta-tomcat-3.2.3/logs/pool.log
Sun Oct 03 12:14:22 KST 2004: JDBC driver 등록 :org.gjt.mm.mysql.Driver
Sun Oct 03 12:14:22 KST 2004: Initialized pool mydb
Sun Oct 03 12:14:22 KST 2004: Initialized pool mydb2
Sun Oct 03 12:14:22 KST 2004: Can't create a new connection for jdbc:mysql://localhost.localdomain:3306/nmail?useUnicode=true&characterEncoding=euc-kr
java.sql.SQLException: Invalid authorization specification: Access denied for user: '****@****' (Using password: YES)
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:330)
at org.gjt.mm.mysql.Connection.connectionInit(Connection.java:261)
at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
at org.gjt.mm.mysql.Driver.connect(Driver.java:167)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at beans.DBConnectionManager$DBConnectionPool.newConnection(DBConnectionManager.java:423)
at beans.DBConnectionManager$DBConnectionPool.getConnection(DBConnectionManager.java:344)
at beans.DBConnectionManager.getConnection(DBConnectionManager.java:69)
at beans.DBHandler.init(DBHandler.java:33)
at user.table.MailUser.initDBHandler(MailUser.java:603)
at user.table.MailUser.setClassInfo(MailUser.java:1583)
at user.table.MailUser.<init>(MailUser.java:89)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at java.beans.Beans.instantiate(Beans.java:204)
at java.beans.Beans.instantiate(Beans.java:48)
at source._0002fsource_0002findex_0002ejspindex_jsp_0._jspService(_0002fsource_0002findex_0002ejspindex_jsp_0.java:152)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.java:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:282)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:534)

▷ 질문내용
: 왜 에러가 생기는지 참 이상하네요 밤새도록 잘 깔았는데 php는 잘 돌아 가는데..휴
지금 현재 아파치와 php 구동 하구요,,.

vi ./nmail/NConfig.conf
/----------Mail Server Address Setting
Server=192.168.1.20

/----------DNS Server Address Setting
DNSServer=192.168.1.20
dbDriver=org.gjt.mm.mysql.Driver
dbURL=jdbc:mysql://localhost.localdomain:3306/nmail
dbUserid=nmail
dbPassword=******
dbMaxConnection=0

vi ./jakarta-tomcat-3.2.3/webapps/ROOT/nmail/include/inc_globalVar.jsp
// 모든 사용자가 수정해야할 내용.
String ADMIN_MAIL = "****@****"; // 관리자이메일.
String[] DOMAIN = {"neurimi.wowdns.com"}; // 도메인. ex) {"passkorea.net", "passkorea.net"}


vi ./jakarta-tomcat-3.2.3/webapps/ROOT/WEB-INF/classes/beans/db.properties
drivers=org.gjt.mm.mysql.Driver
logfile=/usr/local/jakarta-tomcat-3.2.3/logs/pool.log

/ mydb - Nmail DB
mydb.url=jdbc:mysql://localhost.localdomain:3306/nmail?useUnicode=true&characterEncoding=euc-kr
mydb.maxconn=0
mydb.user=nmail
mydb.password=******

/ mydb2 - External member DB (사용하지 않을경우엔 mydb와 동일한 정보를 넣으십시오.)
mydb2.url=jdbc:mysql://localhost.localdomain:3306/nmail?useUnicode=true&characterEncoding=euc-kr
mydb2.maxconn=0
mydb2.user=nmail
mydb2.password=****

지금 현재 adsl 모뎀과 공유기를 사용하구 있구요...포트 3306 80 8080 25 등이 열려 있습니다.

댓글 1
이전 글 로그인이 안되네요... 1 궁* 2004.10.04
다음 글 554 에러메세지... 1 임*호 2004.10.02