activeMQÆô¶¯´íÎó£¬Òý³öµÄjava endorsedĿ¼ÎÊÌâ¡£
ÔÚÎÒ»úÆ÷ÉÏ°²×°µÄÊÇJDK6£¬ÏÂÔØactiveMQ5.3Æô¶¯Ê±±¨´í£¬Ìáʾjaxb°üÒѾ¼ÓÔØ2.0°æ±¾ÎÞ·¨¼ÓÔØ2.1°æ±¾¡£
ÎÒͨ¹ýÍøÂçËÑË÷ÁËһϷ¢ÏÖ£¬jaxb2.0ÊÇJDK·¢²¼Ê±°üº¬ÔÚrt.jar°üÖеġ£µ«ÊÇactiveMQ5.3È´ÐèÒª2.1°æ±¾¡£Õâ¸ÃÈçºÎ´¦Àí£¿
×ܲ»Äܽ«rt.jar°ü½â¿ª£¬½«jaxb2.1µÄÀา¸Ç½øÈ¥£¬ÔÙÖØдò°ü°É¡£ÕâÑùÌ«Âé·³ÁË¡£
ÔٴνøÐÐÍøÂçËÑË÷£¬·¢ÏÖJDKÌṩÁËÒ»¸öendorsedĿ¼£¬¸ÃĿ¼ÊÇÓÉϵͳ±äÁ¿System.getProperty("java.endorsed.dirs")
¶¨ÒåµÄ¡£Ä¬ÈÏÇé¿öÏÂÒ»°ã¶¼ÊÇ${JAVA_HOME}/jre/lib/endorsed
Ŀ¼¡£·ÅÔÚ¸ÃĿ¼ÏµÄjar°ü¿ÉÒÔÌæ»»µôJDKĬÈϵÄjar°ü¡£
½«activeMQÖеÄjaxb2.1°ü·ÅÈë¸ÃĿ¼£¬ÔÙ´ÎÆô¶¯activeMQ£¬ÎÊÌâ½â¾ö¡£
Ïà¹ØÎĵµ£º
1)netÖж¨ÒåµÄµÄWebService£¨·µ»ØÖµºÍ²ÎÊý¶¼ÊÇ×Ô¶¨Òå¶ÔÏ󣩿ÉÒÔ±»Javaʶ±ð²¢µ÷Ó㬿ÉÊÇÔÚJavaÖж¨ÒåµÄWebService£¨·µ»ØÖµºÍ²ÎÊý¶¼ÊÇ×Ô¶¨Òå¶ÔÏ󣩣¬C#¿Í»§¶Ë¿ÉÒÔʶ±ðµ½×Ô¶¨Òå¶ÔÏó£¬Ò²Éú³ÉÁË´úÀíÀ࣬¿ÉÊǵ÷ÓÃʱÎÞ·¨»ñÈ¡µ½¶ÔÏóµÄÊôÐÔÖµ£¬¶¼ÊÇNUll£¿JavaWebServiceÔõÑù´«µÝ×Ô¶¨Òå¶ÔÏó¸ø¡£net£¿
½â¾ö£º
Ö±½ÓÓÃwsdlÃüÁîÉú³É´úÀí ......
8.9.3 ³éÏóÀàºÍ½Ó¿ÚµÄ±È½Ï
³éÏóÀàºÍ½Ó¿Ú¶¼ÊǽøÐÐÃæÏò¶ÔÏóÉè¼ÆʱרÓõÄÉè¼Æ½á¹¹£¬ÔÚʵ¼Ê½øÐÐÏîÄ¿Éè¼Æʱ£¬¾³£ÐèÒª¿¼ÂǵÄÎÊÌâ¾ÍÊÇ——“ʹÓóéÏóÀ໹Êǽӿڔ£¿ÏÂÃæͨ¹ý¶ÔÓÚ³éÏóÀàºÍ½Ó¿Ú½øÐмòµ¥µÄ±È½Ï£¬ÊìϤÁ½ÕßÖ®¼äµÄÇø±ðºÍÁªÏµ£¬´Ó¶øÔÚʵ¼ÊÉè¼ÆÊ±Ê ......
Ò»¸öJava½Ó¿Ú(Interface)ÊÇһЩ·½·¨ÌØÕ÷µÄ¼¯ºÏ£¬ÕâЩ·½·¨ÌØÕ÷µ±È»À´×ÔÓÚ¾ßÌåµÄ·½·¨£¬µ«ÊÇËüÃÇÒ»°ã¶¼À´×ÔÓÚϵͳÖв»¶Ï³öÏֵķ½·¨¡£Ò»¸ö½Ó¿ÚÖ»Óз½·¨µÄÌØÕ÷£¬¶øûÓз½·¨µÄʵÏÖ£¬Òò´ËÕâЩ·½·¨ÔÚ²»Í¬µÄµØ·½±»ÊµÏÖʱ£¬¿ÉÒÔÓÐÍêÈ«²»Í¬µÄÐÐΪ¡£ÔÚJavaÓïÑԵģ¬Java½Ó¿Ú»¹¿ÉÒÔ¶¨ÒåPublic³£Á¿¡£ ......
JDK°æ±¾£ºjdk1.6.0_17
a. ÏÂÔØ°²×°°üjdk-6u17-linux-i586-rpm.bin
b. cp jdk-6u17-linux-i586-rpm.bin /usr/local/
c. chmod a+x jdk-6u17-linux-i586-rpm.bin
d. sh jdk-6u17-linux-i586-rpm.bin ½ÓÊÜÐÒéyes£¬°²×°Íê³É
e. ÉèÖû·¾³±äÁ¿
vi /etc/profile
¼ÓÈëÏÂÃæÄÚÈÝ£º
#set java environment
JAVA_HOME=/ ......
The Java virtual machine defines various runtime data areas that are used during execution of a program. Some of these data areas are created on Java virtual machine start-up and are destroyed only when the Java virtual machine exits. Other data areas are per thread. Per-thread data areas are create ......