µ±Ç°Î»Ö㺠´úÂëÃÔ >> javax.naming.AuthenticationExceptionµÄ½â¾ö·½°¸
 
  • Òì³£: ÎÞ·¨·ÃÎÊReferenceable ÕÒ²»µ½javax.naming.ReferenceableµÄÀàÎļþ

    ´íÎó:ÎÞ·¨·ÃÎÊReferenceableÕÒ²»µ½javax.naming.ReferenceableµÄÀàÎļþpublicstaticvoidconnectionDB(){Connectioncon=null;CallableStatementcstmt=null;ResultSetrs=null;try{//Establishtheconnection.SQLServerDataSourceds=n...

    9
    ÈȶÈ
  • Á¬½Ó³ØÓйØÎÊÌ⣺javax.naming.NameNotFoundException: Name jdbc is not bound in this Context

    Á¬½Ó³ØÎÊÌ⣺javax.naming.NameNotFoundException:NamejdbcisnotboundinthisContextTomcat5.5+MySQLÅäÖõÄÊý¾Ý¿âÁ¬½Ó³Ø³öÎÊÌâÁËÊÇ°´ÕÕÍøÉÏдµÄÔÚ%TOMCAT_HOME%\conf\Catalina\localhostÏ´´½¨Í¬ÏîÄ¿Ãû³ÆµÄxmlÎļþ²»¹ý»¹ÊdzöÏÖÕâ¸ö´íÎóÐÅÏ¢javax.naming.NameNotFoundExce...

    274
    ÈȶÈ
  • Ó¢ÎÄÓû§ÃûµÇ¼²»³É¹¦Ê²Ã´Ô­Òò,¸ÃÈçºÎ½â¾ö

    Ó¢ÎÄÓû§ÃûµÇ¼²»³É¹¦Ê²Ã´Ô­ÒòStringstrUserName="";StringstrPassWord="";strUserName=(String)httpservletrequest.getParameter("username");strPassWord=(String)httpservletrequest.getParamete...

    86
    ÈȶÈ
  • java ²éѯ AD ±¨´í£¬Çë¸ßÊÖ½â¾ö£¬¸ÃÈçºÎ½â¾ö

    java²éѯAD±¨´í£¬Çë¸ßÊÖ½â¾ö£¬¼±¼±¼±¼±Ð¡µÜ×î½üÔÚ×öÒ»¸öϵͳµÄµÇ¼ÑéÖ¤£¬ÒªÇó´ÓWindowsµÄADÖÐÑéÖ¤£¬µÇ¼ÃûΪADÖеÄsAMAccountNameµÄÖµ£¬×Ô¼ºÅäÁËһ̨·þÎñÆ÷£¬ÑéÖ¤ÊÇûÓÐÎÊÌâµÄ£¬µ«·ÃÎÊÕýʽ·þÎñÆ÷ʱȴÅ׳öÒì³££¬Çë½Ì¸÷λ¸ßÊÖ£¬´úÂëÈçÏ£»importjava.util.Hashtable;importjava.util.List;importjavax.naming.Authentic...

    740
    ÈȶÈ
  • java.namingÒì³£

    java.naming´íÎóHTMLcodejavax.naming.NameNotFoundException'>javax.naming.NameNotFoundException:ÃûÇ°jdbc¤Ï¤³¤Î¥³¥ó¥Æ¥­¥¹¥È¤Ë¥Ð¥¤¥ó¥É¤µ¤ì¤Æ¤¤¤Þ¤»¤óatorg.apache.naming.NamingContext.lookup(NamingContext.java:770)atorg.apache.nami...

    310
    ÈȶÈ
  • ÓÃjava·ÃÎÊwindowsµÄADµÄÓйØÎÊÌâ¡£°ï¶¥Ò²Óз֣¡

    ÓÃjava·ÃÎÊwindowsµÄADµÄÎÊÌâ¡£¼±£¡£¡£¡°ï¶¥Ò²Óз֣¡£¡ÏÖÔÚµÄÏîÄ¿ÖÐÐèÒªÓÃjavaÁ¬½ÓDAÖÐÈ¥²éÕÒÓû§ºÍ²¿ÃÅÐÅÏ¢¡£ÎÒÔÚÍøÉÏÕҵĴúÂ룬µ«ÊÇ×ÜÊdzö´í£¬Çë¸÷λ´óÏÀ°ïÎÒ¿´¿´£¬Ö¸µãһϡ£publicclassLdap{ privateDirContextctx=null; //È»ºóÊdzõʼ»¯£º publicvoidinit(){ Stringaccount="admin";//²Ù...

    9906
    ÈȶÈ
  • ; javax.naming.CommunicationException ÍøÉÏËƺõûÓп´µ½ÕâÑùµÄÓйØÎÊÌâ ¾ÍÔÚij¸öµØ·½¿´µ½Ò»¹þ µ«¸ø³öµÄ½â¾ö°ì·¨£¿

    ×î½ü¿ª·¢EJB3ÏûÏ¢Çý¶¯BEANʱÓöµ½ÁËÒ»¸öÕâÑùµÄÎÊÌâExceptioninthread"main"javax.naming.CommunicationExceptionÍøÉÏËƺõûÓп´µ½ÕâÑùµÄÎÊÌâ¾ÍÔÚij¸öµØ·½¿´µ½Ò»¹þµ«¸ø³öµÄ½â¾ö·½·¨£¿£¿Exceptioninthread"main"javax.naming.CommunicationException[Roo...

    11
    ÈȶÈ
  • JNDI Áª½ÓLDAP

    JNDIÁ¬½ÓLDAP WINDOWSÏ´LDAP·þÎñÆ÷|RFC855----TelnetÑ¡Ïî˵Ã÷Êé2009-07-07JNDIÁ¬½ÓWindowsActiveDirectory½Ì³Ìhttp://www.matrix.org.cn/resource/article/2007-03-05/JNDI+AD_ea943628-cab3-11db-b4f4-dd5a5e123c5c.htmlhttp://w...

    1015
    ÈȶÈ
  • weblogic¼ÓÔØspringʧ°Ü,¸ÃÈçºÎ½â¾ö

    weblogic¼ÓÔØspringʧ°Ü»·¾³£ºliunxweblogic9.2.4jrokit1.5£¬·¢²¼Ó¦ÓÃʧ°Ü£¬±¨ÈçÏ´íÎó¡£ÅäÖÃÎļþÈçÏ£ºXMLcode<moduletype="startup"><propertyname="handler">cn.easyuda.framework.startup.impl.StartUpWithM...

    3
    ÈȶÈ
  • jdbcÁ¬½Ó³ØÖÐ,naming-factory.jarÓÃÀ´×öʲôµÄ?½â¾ö·½·¨

    jdbcÁ¬½Ó³ØÖÐ,naming-factory.jarÓÃÀ´×öʲôµÄ?ÔÚÓÃjndi/jdbcʵÏÖÊý¾Ý¿âÁ¬½Ó³Øʱ,ÈôÊÇÔÚ¹¤³ÌµÄWEB-INF/libÖмÓÈënaming-factory.jarºÍnaming-factory-dbcp.jarµÄ»°,ÓÃMyEclipse·¢²¼¹¤³Ìµ½TomcatµÄ»°(¼ÙÈ繤³ÌÃûΪ:myWeb),ÔÚTomcat/webapps/myWeb/ÖÐÖ»»á³öÏÖWEB-INFºÍMETA-IN...

    8729
    ÈȶÈ
  • Çë»áLDAP·þÎñÆ÷µÇ½ÑéÖ¤µÄÅóÓÑ°ïæָµ¼Ï£¬ÎªÊ²Ã´Ò»Ö»ÑéÖ¤²»Í¨¹ý

    Çë»áLDAP·þÎñÆ÷µÇ½ÑéÖ¤µÄÅóÓÑ°ïæָµ¼Ï£¬ÎªÊ²Ã´Ò»Ö»ÑéÖ¤²»Í¨¹ý ´úÂëÈçÏ£º importjava.security.MessageDigest; importjava.security.NoSuchAlgorithmException; importjava.util.Hashtable; importjavax.naming.Context; importjava...

    343
    ÈȶÈ
  • javax.validation.ConstraintViolationException

    javax.validation.ConstraintViolationException¸ßÊÖ¾ÈÃü...71moreCausedby:javax.validation.ConstraintViolationException:validationfailedforclasses[cn.com.softvan.travelb2b.domain.TravelLine]duringpersisttime...

    38
    ÈȶÈ
  • ServletÖе¼ÈëjavaxʧÎó

    ServletÖе¼Èëjavax³ö´íÔÚ×öServletµÄʱºò£¬µ¼Èëimportjavax.servlet.RequestDispatcher;importjavax.servlet.ServletContext;importjavax.servlet.ServletException'>javax.servlet.ServletException;importjavax.servlet.http.H...

    43
    ÈȶÈ
  • ¹ØÓÚjavax.servlet.http

    ¹ØÓÚjavax.servlet.http ÎÒÓõÄjava±àÒëÆ÷ÊÇj2se1.5importjavax.servlet.http.*±àÒëʱ£¬Ëµjavax.servlet.*°ü²»´æÔÚ£¬ÎÒ²»ÖªµÀÊÇʲôԭÒò£¿ ËÑË÷¸ü¶àÏà¹ØµÄ½â¾ö·½°¸: javax"target="_blank">color="red">javaxcolor="red">servletc...

    649
    ÈȶÈ
  • javax.mail.internet.AddressException {

    ÓÃjavaMailÎÞ·¨Á¬½Ójavax.mail.MessagingException'>javax.mail.MessagingException:CouldnotconnecttoSMTPhost:smtp.mail.163.com,port:25;nestedexceptionis: java.net.ConnectException:Connectionrefused:connect atc...

    1002
    ÈȶÈ
  • [ÇóÖú] javax.servlet.ServletException

    [ÇóÖú]javax.servlet.ServletException ÔÚÉèÖÃclasspathµÄʱºòÓÐÒ»¸öÊÇ×·¼Ótomcat\common\libϵÄservlet.jarµ«ÊÇtomcatÏÂûÓÐÕâ¸ö£¬Ö»ÓÐservlet-api,jar£¬ÉèÖÃÁËÕâ¸öÔÚ±àÒ»Æ÷ÖØÈÔÈ»´ò²»¿ªjavax.servlet.ServletExceptionÕâ¸ö°ü£¬¸ÃÔõôÉèÖã¿ÏÈлÁË ...

    1071
    ÈȶÈ
  • ÔÚÆô¶¯TOMCATʱ³öÏÖjava.lang.ClassCastException: org.apache.naming.resources.FileDirContextÒì³£

    ÔÚÆô¶¯TOMCATʱ³öÏÖjava.lang.ClassCastException:org.apache.naming.resources.FileDirContext´íÎó´íÎóµÄÌáʾÄÚÈÝÈçÏÂ;ÑÏÖØ:Errordeployingwebapplicationdirectorytest(testÊÇÎÒµÄÏîÄ¿Ãû)java.lang.ClassCastException:org.apache.naming.re...

    285
    ÈȶÈ
  • javax.mail.internet.ParseException

    ÇóÖújavax.mail.internet.ParseException2014-7-3010:35:04org.apache.catalina.core.StandardWrapperValveinvokeÑÏÖØ:Servlet.service()forservlet[spring-ws]incontextwithpath[/autumn-webservice]threwexception[Req...

    1078
    ÈȶÈ
  • javax.el.ELResolverÒì³£

    javax.el.ELResolver´íÎójava.lang.ClassNotFoundException:javax.el.ELResolver atjava.net.URLClassLoader$1.run(UnknownSource) atjava.security.AccessController.doPrivileged(NativeMethod) atjava.net.URLClass...

    8113
    ÈȶÈ
  • javax.servlet.ServletException: Feature not implemented

    javax.servlet.ServletException:Featurenotimplemented ÎÒ×ö¶þ¸öÒ³Ãæ,Ò»¸öÓÃÓڵǼ,Ò»¸öÓÃÓÚ×¢²á,µ±Óû§²»ÔÚÊý¾Ý¿âÖÐÏÖÓеÄÓû§ÖÐ,ÔòÌøתµ½×¢²áÒ³Ãæ.Óжþ¸öbean£¬Ò»¸öÊÇUserBean£¬ÓÐÒ»¸öregisterUser£¨£©£¬Ò»¸öÊÇLoginBean£¬ÓÐÒ»¸öisExist()£¬ÓÃÀ´ÅжÏÊÇ·ñ´æÔÚ¸ÃÓû§£¬ÔËÐÐʱ£¬ÏµÍ³Ìáʾroo...

    1001
    ÈȶÈ