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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Create a new file using JNDI.
 
Similar Threads
Unable to Access Stateles Session bean from Client
javax.naming exceptions
Problem Initializing connection pool on tomcat start up.
Facing Problem in Deploying EJB in Jboss 4.2.2 GA
Context.PROVIDER_URL