aspose file tools*
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 Java 8 in Action this week in the Java 8 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.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create a new file using JNDI.
 
Similar Threads
javax.naming exceptions
Context.PROVIDER_URL
Unable to Access Stateles Session bean from Client
Facing Problem in Deploying EJB in Jboss 4.2.2 GA
Problem Initializing connection pool on tomcat start up.