Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes Create a new file using JNDI. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Create a new file using JNDI." Watch "Create a new file using JNDI." New topic
Author

Create a new file using JNDI.

Nev Mehta
Greenhorn

Joined: Jan 09, 2007
Posts: 26
I am trying to use JNDI to create a new binding while using 'RefFSContextFactory'. So what i am trying to do is create a new File using JNDI. However this code throws an exception javax.naming.OperationNotSupportedException: Can only bind References or Referenceable objects.

 
jQuery in Action, 2nd edition
 
subject: Create a new file using JNDI.
 
Similar Threads
Problem Initializing connection pool on tomcat start up.
Unable to Access Stateles Session bean from Client
Facing Problem in Deploying EJB in Jboss 4.2.2 GA
javax.naming exceptions
Context.PROVIDER_URL