Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / December 2008

Tip: Looking for answers? Try searching our database.

error running ODM in java

Thread view: 
prabesh shrestha - 27 Dec 2008 15:20 GMT
I am trying to use ODM for k-means clustering.I have added
orai18n.jar , odmapi.jar , xmlparserv2.jar ,oracle driver and other
jar files for my project.It shows the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/gss/
util/NLSLocale
at oracle.dmt.odm.ODMConnection.setDBLocale(ODMConnection.java:199)
at oracle.dmt.odm.ODMConnection.setLocale(ODMConnection.java:163)
at oracle.dmt.odm.ODMConnection.<init>(ODMConnection.java:94)
at oracle.dmt.odm.ODMConnection.<init>(ODMConnection.java:45)
at oracle.dmt.odm.DataMiningServer.login(DataMiningServer.java:95)
at org.d2.cse.core.Odm.kMeansDemo.main(kMeansDemo.java:63)
Caused by: java.lang.ClassNotFoundException: oracle.gss.util.NLSLocale
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Meth
od)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 6 more
Java Result: 1

According to one of the forum I need to add orai18-mapping.jar file
which I could not find.
Does anyone know the problem.

My mailing address is prabesh708@gmail.com
prabesh shrestha - 30 Dec 2008 20:35 GMT
Above problem is solved .I found orai18n-mapping.jar .
But now I am having a following error:
    oracle.dmt.odm.ODMException: Exception in Java stored procedure:
"It is failed.
    Failure Description: ORA-00942: table or view does not exist

I am using 'sys as sysdba' username for connecting.I am able to build
but i could not apply the model even from oracle data miner.

Thanks.

Prabesh Shrestha

> I am trying to use ODM for k-means clustering.I have added
> orai18n.jar , odmapi.jar , xmlparserv2.jar ,oracle driver and other
[quoted text clipped - 24 lines]
>
> My mailing address is prabesh...@gmail.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.