Configuration: Windows XP Internet Explorer 6.0
Try with his command it cound work
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 at javax.naming.spi.NamingManager.getInitialContext(N amingManager.java:647) at javax.naming.InitialContext.getDefaultInitCtx(Init ialContext.java:247) at javax.naming.InitialContext.getURLOrDefaultInitCtx (InitialContext.java:284) at javax.naming.InitialContext.lookup(InitialContext. java:351) at access.<init>(access.java:19) at access.main(access.java:58) java.lang.NullPointerException at access.performread(access.java:34 Enable access ( saved ) |
hi praveen,
im straight going to search for an answer and i will soon be back to you with a solution,,, |
you straight searched for an answer but you didn't find one?
What gives? 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 at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325) I'm using hibernate.. <session-factory name="java:comp/hibernate/SessionFactory"> <!-- You need to complete the configuration here. This is just a sample, you should use a connection pool --> <property name="connection.url">jdbc:oracle:thin:@blah:1521:wah</property> <property name="connection.username">as</property> <property name="connection.password">as549</property> <property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property> |
Results for
Results for
Results for
Results for
Results for
Results for