冷面阎罗

低调做人&&高调做事
随笔 - 208, 文章 - 3, 评论 - 593, 引用 - 0
数据加载中……

JDK1.4 OR JDK1.5?

昨天程序出问题了,weblogic出现错误<BEA-101216>,错误提示主要如下

< 2006 - 12 - 11  上午09时31分05秒 CST >   < Error >   < HTTP >   < BEA - 101249 >   < [ServletContext(id = 32258780 ,name = ept,context - path =/ bdsc)]: Servlet  class  com.neusoft.ept.common.servlet.SSOLogonServlet  for  servlet ssologon could not be loaded because the requested  class  was not found in the classpath C:\bea\user_projects\domains\mydomain\applications\fjept\ept\WEB - INF\classes;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - ant15001.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - schema15002.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis15003.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - awt - util15004.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - dom15005.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - svggen15006.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - util15007.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - xml15008.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\bolib15009.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\cewolf15010.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\classes129_2_0_115011.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - beanutils1_6_115012.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - codec - 1.315013 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - collections2_115014.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - digester1_415015.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - discovery - 0.215016 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging - 1.0 . 415017 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging1_0_215018.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom15019.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom4j - 1.6 . 115020 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep - tool15021.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep1_215022.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\epflow1_515023.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\expression15024.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ftp15025.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jakarta - regexp1_215026.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jaxrpc15027.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jbcl15028.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jcommon - 0.8 . 015029 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdbc2_0 - stdext15030.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdom15031.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jfreechart - 0.9 . 815032 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\log4j1_2_815033.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\poi - 2.5 . 115034 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\rowset15035.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\saaj15036.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - el1_115037.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - legacy1_115038.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts1_115039.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\wsdl4j - 1.5 . 115040 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xml - apis15041.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xmlparserv29_2_0_315042.jar.
java.lang.UnsupportedClassVersionError: com
/ neusoft / ept / common / servlet / SSOLogonServlet (Unsupported major.minor version  49.0 ). >  
< 2006 - 12 - 11  上午09时31分05秒 CST >   < Error >   < HTTP >   < BEA - 101216 >   < Servlet:  " ssologon "  failed to preload on startup in Web application:  " ept " .
javax.servlet.ServletException: [HTTP:
101249 ][ServletContext(id = 32258780 ,name = ept,context - path =/ bdsc)]: Servlet  class  com.neusoft.ept.common.servlet.SSOLogonServlet  for  servlet ssologon could not be loaded because the requested  class  was not found in the classpath C:\bea\user_projects\domains\mydomain\applications\fjept\ept\WEB - INF\classes;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - ant15001.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis - schema15002.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\axis15003.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - awt - util15004.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - dom15005.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - svggen15006.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - util15007.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\batik - xml15008.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\bolib15009.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\cewolf15010.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\classes129_2_0_115011.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - beanutils1_6_115012.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - codec - 1.315013 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - collections2_115014.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - digester1_415015.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - discovery - 0.215016 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging - 1.0 . 415017 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\commons - logging1_0_215018.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom15019.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\dom4j - 1.6 . 115020 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep - tool15021.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ep1_215022.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\epflow1_515023.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\expression15024.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\ftp15025.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jakarta - regexp1_215026.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jaxrpc15027.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jbcl15028.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jcommon - 0.8 . 015029 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdbc2_0 - stdext15030.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jdom15031.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\jfreechart - 0.9 . 815032 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\log4j1_2_815033.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\poi - 2.5 . 115034 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\rowset15035.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\saaj15036.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - el1_115037.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts - legacy1_115038.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\struts1_115039.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\wsdl4j - 1.5 . 115040 .jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xml - apis15041.jar;C:\bea\user_projects\domains\mydomain\myserver\.wlnotdelete\extract\myserver_bdsc_ept\jarfiles\WEB - INF\lib\xmlparserv29_2_0_315042.jar.
java.lang.UnsupportedClassVersionError: com
/ neusoft / ept / common / servlet / SSOLogonServlet (Unsupported major.minor version  49.0 ).
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:
824 )
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:
3281 )
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:
3238 )
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:
3224 )
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:
3207 )
    at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:
694 )
    at weblogic.servlet.internal.WebService.preloadResources(WebService.java:
483 )
    at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:
30 )
    at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:
131 )
    at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:
966 )
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:
361 )
    at weblogic.Server.main(Server.java:
32 )
>  
上网找了半天,也没找见解决方法,最后只好自己检查了,最后发现是djk的原因,项目是weblogic8.13+jdk1.4,前天吧,我因为做一个线程的程序,把eclipse的jdk改成1.5了,不过我只是改那个项目的jdk而没有改整个eclipse的编辑环境的,不过我却发现在eclipse的设置(eclipse-window-preferences-java-compiler里的complier compliancelevel)中,编辑默认的却改成了5.0,我把这个改成1.4,重现编辑程序,启动webloigc,ok,错误没有了,一切正常.
    我以前知道weblogic8系列的不知道jdk1.5,但在编辑默认改成5.0以前却是没有遇到,真是烦人,我个人是比较喜欢jdk1.5,因为有些方法做的比较好,做程序的时候可以少写不少代码,但没有方法,用weblogic8系列的,只能用1.4.

posted on 2006-12-11 09:44 冷面阎罗 阅读(3563) 评论(8)  编辑  收藏

评论

# re: JDK1.4 OR JDK1.5?  回复  更多评论   

是呀... 一定要谨慎, Eclipse 默认的编译设置一般都是最高的.... 编译的目标版本一般设置成1.4的话比较保险.
2006-12-11 13:06 | BeanSoft

# re: JDK1.4 OR JDK1.5?  回复  更多评论   

@BeanSoft
对啊,我也不清楚什么时间把这个地方改了,不过还好总算找到原因了.
最不爽的就是weblogic,根据版本不同需要不同的jdk,这个很是不爽
2006-12-11 16:35 | 冷面阎罗

# re: JDK1.4 OR JDK1.5?  回复  更多评论   

唉, Weblogic 9 简直就是头蜗牛, 真不懂他们自称的基准测试性能第一是从什么地方来的. Console 慢成马了.
2006-12-11 19:47 | BeanSoft

# re: JDK1.4 OR JDK1.5?  回复  更多评论   

@BeanSoft
哥们是陕西人么?不过我上次和bea的技术支持聊天时候,他说9系列比8系列在性能上优化不少,我还没用过9系列,不过我个人感觉中间件服务器最好还是tomcat.
2006-12-11 19:58 | 冷面阎罗

# re: JDK1.4 OR JDK1.5?  回复  更多评论   

我...在西安电子科技大学上了4年本科, 呵呵....不是陕西人..
2006-12-12 12:59 | BeanSoft

# re: JDK1.4 OR JDK1.5?  回复  更多评论   

@BeanSoft
我也在西安上的学,不过学校没你的好,矿院.呵呵.不知道你现在在那高就?
2006-12-12 13:06 | 冷面阎罗

# re: JDK1.4 OR JDK1.5?  回复  更多评论   

晕, 学校好吗? 我感觉很垃圾, 因为他们对待我这个穷学生可真是不咋样.... 我毕业3年了, 现在一家不太有名的外资做Architecture...
2006-12-12 13:29 | BeanSoft

# re: JDK1.4 OR JDK1.5?[未登录]  回复  更多评论   

这错误就是JDK版本的问题。。以前经常遇到。。在websphere上。。它居然用的jdk1.3。。在JDK1.4里的一些STRING方法还用不起。。还要自己写。。只郁闷。。
2007-02-26 10:44 | 月风

只有注册用户登录后才能发表评论。


网站导航:
博客园   IT新闻   Chat2DB   C++博客   博问