PDA

View Full Version : Unable to check the wrong spellings


kiran123
12th December 2007, 02:06 PM
Hi,



I am currently configuring the JSPELL API with Oracle Forms Designer 10g Release 2 version 10.1.2.0.2. Even when I check the wrong spellings I receive the window saying "Spell Check Complete". It does not check the spellings. I receive the errors as shown in console output. Please see the information below and guide me for this configuration of JSPELL to work.

Thanks
Kiran

Output of “JAVA CONSOLE” is
--------------------------------------------------------------

Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\laopate

Proxy Configuration: no proxy

JAR cache enabled
Location: C:\Documents and Settings\laopate\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0


----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

Loading http://w00uidfr8w31.njdol.ad.dol:8889/forms/java/frmall_jinit.jar from JAR cache
Downloading http://w00uidfr8w31.njdol.ad.dol:8889/forms/java/jspellintegration.jar to JAR cache
Downloading http://w00uidfr8w31.njdol.ad.dol:8889/forms/java/jspell2k4s.jar to JAR cache
Downloading http://w00uidfr8w31.njdol.ad.dol:8889/forms/java/jspell2k4n.jar to JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0

================================================== =======
The Output of Oc4j Console Window is
-----------------------------------------------

C:\ORA10gDSHOME\j2ee\home>java -jar oc4j.jar
07/12/12 08:48:42 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
initialized

07/12/12 08:49:25 JSpellServlet Copyright (c) 1996-2005 The Solution Cafe Inc.,
All Rights Reserved. http://www.thesolutioncafe.com/jspell.html
07/12/12 08:49:25 Copyright (c) 1996-2005 The Solution Cafe Inc.
07/12/12 08:49:25 http://www.thesolutioncafe.com/jspell.html
07/12/12 08:49:25 MAY NOT BE REDISTRIBUTED - LICENSED FOR USE ON ONE MACHINE ONL
Y
07/12/12 08:49:25 indexChanged
07/12/12 08:49:25 setDictionaryDirectory: C:\ORA10gDSHOME\j2ee\home\applications
\jspell2k4\lexicons
07/12/12 08:49:25 Index is not ready, due to inability to open file
07/12/12 11:12:26 java.lang.NullPointerException
07/12/12 11:12:26 at com.wallstreetwise.app.jspell.domain.JSpellIndex.s ear
ch(JSpellIndex.java:811)
07/12/12 11:12:26 at com.wallstreetwise.app.jspell.domain.JSpellIndex.s ear
ch(JSpellIndex.java:793)
07/12/12 11:12:26 at com.wallstreetwise.app.jspell.domain.JSpellIndex.s ear
ch(JSpellIndex.java:564)
07/12/12 11:12:26 at com.wallstreetwise.app.jspell.domain.JSpellDiction ary
Local.checkWord(JSpellDictionaryLocal.java:157)
07/12/12 11:12:26 at com.wallstreetwise.app.jspell.domain.net.JSpellSer vle
t.processClientData(JSpellServlet.java:204)
07/12/12 11:12:26 at com.wallstreetwise.app.jspell.domain.net.JSpellSer vle
t.doGet(JSpellServlet.java:306)
07/12/12 11:12:26 at javax.servlet.http.HttpServlet.service(HttpServlet .ja
va:740)
07/12/12 11:12:26 at javax.servlet.http.HttpServlet.service(HttpServlet .ja
va:853)
07/12/12 11:12:26 at com.evermind.server.http.ServletRequestDispatcher. inv
oke(ServletRequestDispatcher.java:824)
07/12/12 11:12:26 at com.evermind.server.http.ServletRequestDispatcher. for
wardInternal(ServletRequestDispatcher.java:330)
07/12/12 11:12:26 at com.evermind.server.http.HttpRequestHandler.proces sRe
quest(HttpRequestHandler.java:830)
07/12/12 11:12:26 at com.evermind.server.http.HttpRequestHandler.run(Ht tpR
equestHandler.java:285)
07/12/12 11:12:26 at com.evermind.server.http.HttpRequestHandler.run(Ht tpR
equestHandler.java:126)
07/12/12 11:12:26 at com.evermind.util.ReleasableResourcePooledExecutor $My
Worker.run(ReleasableResourcePooledExecutor.java:1 86)
07/12/12 11:12:26 at java.lang.Thread.run(Thread.java:534)
07/12/12 11:12:40 java.lang.NullPointerException
07/12/12 11:12:40 at com.wallstreetwise.app.jspell.domain.JSpellIndex.s ear
ch(JSpellIndex.java:811)
07/12/12 11:12:40 at com.wallstreetwise.app.jspell.domain.JSpellIndex.s ear
ch(JSpellIndex.java:793)
07/12/12 11:12:40 at com.wallstreetwise.app.jspell.domain.JSpellIndex.s ear
ch(JSpellIndex.java:564)
07/12/12 11:12:40 at com.wallstreetwise.app.jspell.domain.JSpellDiction ary
Local.checkWord(JSpellDictionaryLocal.java:157)
07/12/12 11:12:40 at com.wallstreetwise.app.jspell.domain.net.JSpellSer vle
t.processClientData(JSpellServlet.java:204)
07/12/12 11:12:40 at com.wallstreetwise.app.jspell.domain.net.JSpellSer vle
t.doGet(JSpellServlet.java:306)
07/12/12 11:12:40 at javax.servlet.http.HttpServlet.service(HttpServlet .ja
va:740)
07/12/12 11:12:40 at javax.servlet.http.HttpServlet.service(HttpServlet .ja
va:853)
07/12/12 11:12:40 at com.evermind.server.http.ServletRequestDispatcher. inv
oke(ServletRequestDispatcher.java:824)
07/12/12 11:12:40 at com.evermind.server.http.ServletRequestDispatcher. for
wardInternal(ServletRequestDispatcher.java:330)
07/12/12 11:12:40 at com.evermind.server.http.HttpRequestHandler.proces sRe
quest(HttpRequestHandler.java:830)
07/12/12 11:12:40 at com.evermind.server.http.HttpRequestHandler.run(Ht tpR
equestHandler.java:285)
07/12/12 11:12:40 at com.evermind.server.http.HttpRequestHandler.run(Ht tpR
equestHandler.java:126)
07/12/12 11:12:40 at com.evermind.util.ReleasableResourcePooledExecutor $My
Worker.run(ReleasableResourcePooledExecutor.java:1 86)
07/12/12 11:12:40 at java.lang.Thread.run(Thread.java:534)

kiran123
14th December 2007, 01:57 PM
Hi,

Now my JSPELL is working correctly.

The only changes I mad was to set following dictionary path in Web.xml file which is in
<ORACLE_HOME>\j2ee\home\application\jspell2k4\WEB-INF


<param-value>C:\\ORA10gDSHOME\\j2ee\\home\\applications\\jspell 2k4\\lexicons\\</param-value>


I just kept the full path from root directory.

Thanks
Kiran