상세 컨텐츠

본문 제목

Io exception: NL Exception was generated (ibatis 설정)

IT 세상/자바세상

by 이현민 (지후지율아빠) 2009. 10. 29. 09:43

본문

NL Exception was generated  에러 뜨고,
고민하다 구글에서 찾아보니 ,
properties를 아래처럼 설정하니 문제가 해결 되었네요 ^^


Io exception: NL Exception was generated
Posted: 2008. 3. 19 오전 3:56
     
hi guys ,

Need ur prompt reply, while installing Mobile server , when i entrer username/ password, I am recieving NL Exception , and receiving following error in populate.txt file

NVFactory: _readNVPair expected )
NVFactory: _readNVPair expected )
java.sql.SQLException: Io exception: NL Exception was generated
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at oracle.lite.web.migrate.JRepWizard.wizardValidatePage(Unknown Source)
at oracle.bali.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source)
at oracle.bali.ewt.wizard.WizardPage.validatePage(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard.doNext(Unknown Source)
at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)


plz help

regards


abbbas

korsten

Posts: 2
Registered: 11/02/99
Re: Io exception: NL Exception was generated
Posted: 2008. 8. 7 오전 5:03   in response to: qamarsyed in response to: qamarsyed
Click to report abuse...   Click to reply to this thread Reply
I had the same problem.
This was caused by my JDBC-string. I used a string like "jdbc:oracle:thin:@DESCRIPTION = (ADDRESS_LIST =(ADDRESS =(PROTOCOL = TCP)(HOST = ......
and I should have used "jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS_LIST =(ADDRESS =(PROTOCOL = TCP)(HOST = ......
Note that there is a '(' before DESCRIPTION.
MCHARPEN

Posts: 114
Registered: 07/21/06
Re: Io exception: NL Exception was generated
Posted: 2008. 8. 7 오전 5:51   in response to: qamarsyed in response to: qamarsyed
Click to report abuse...   Click to reply to this thread Reply
Hi Guys,

I am using this:

ADMIN_JDBC_URL=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mcharpen-fr-vip.fr.oracle.Com)(PORT=1555))(ADDRESS=(PROTOCOL=TCP)(HOST=suppolite1-vip.fr.oracle.com)(PORT=1555))(LOAD_BALANCE=yes)(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl.fr.oracle.com)(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC)(RETRIES=180)(DELAY=5))))

and it works fine.

Regards.
Marc
반응형

'IT 세상 > 자바세상' 카테고리의 다른 글

jndi  (0) 2009.11.04
Tomcat 5 JNDI DataSource를 통한 DB 커넥션 풀 사용  (0) 2009.11.04
ibatis sqlMap 설정하기  (0) 2009.10.27
자바 RMI (Remote Method Invovation)  (0) 2009.10.22
file  (0) 2009.10.06

관련글 더보기