Bookmark Topic Watch Topic
  • New Topic

jboss and entity bean, javax.naming.NoInitialContextException

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

copy jar --> jboss-3.2.5\server\default\lib\
cd \
cd C:\mysql\bin\

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
Posts: 10447
IntelliJ IDE Ubuntu
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!