0 Replies Latest reply on Dec 12, 2007 7:47 AM by rodosa

    javax.naming.NoInitialContextException:

    rodosa

       

      
      13:36:57,549 [main] FATAL DatasourceConnectionProvider : Could not find datasource: java:/DefaultDS
      javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial


      Hello!!

      This is what I see when I trying to run an small example in Jboss jbpm. I don't know how is the problem because the db that specify in hibernate.cfg.xml exist.

       <property name="hibernate.connection.datasource">java:/xxx</property>


      Any idea?

      Thanks
      Regards