This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

jboss and entity bean, javax.naming.NoInitialContextException  RSS feed

 
A. S. Georgie
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello in there,
i'm trying one BMP like following:


1. "mm.mysql-2.0.8-bin.jar" ---> jboss-3.2.5\server\default\lib\
2. "mysql-ds.xml" ---> jboss-3.2.5\server\default\deploy
3. my .jar ---> jboss-3.2.5\server\default\deploy
4. mysql "winmysqladmin" running


when i run this jboss show my jar file loaded correctly

set JAVA_HOM
set JBOSS_HOM
....................
copy jar --> jboss-3.2.5\server\default\lib\
....................
cd \
cd C:\mysql\bin\
C:\mysql\bin\mysql
pause


everything goes smoothly until i run client application, i'm getting this error:

javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]

what all these are anyway, i mean, do i need something i haven't done yet?
do i need to copy sql files somewhere in my jar?
what else i can do? anything?

i appreciated anyone reply me soon so on ...
very thankyou
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!