前几天在Tomcat下开发的web工程到了weblogic上就跑不了了。后来按照要求把web。xml文件的头部分换了,换成以前可以在weblogic下跑的,然后就可以了。
可是今天又遇到新的问题了:在单独的weblogic下,直接部署就ok,但是在myeclipse配置的server中发布后就启动不起来,换了web。xml后还是不行。
一下是直接在myeclipse中配置weblogic后台信息:<2010-8-11 下午12时07分08秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<2010-8-11 下午12时07分08秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<2010-8-11 下午12时07分08秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea\user_projects\domains\mydomain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.> 
<2010-8-11 下午12时07分09秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<2010-8-11 下午12时07分11秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY> 
<2010-8-11 下午12时07分11秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<2010-8-11 下午12时07分13秒 CST> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.> 
<2010-8-11 下午12时07分13秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN> 
<2010-8-11 下午12时07分13秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING> 
<2010-8-11 下午12时07分14秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:8008 for protocols iiop, t3, ldap, http.> 
<2010-8-11 下午12时07分14秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.14.53:8008 for protocols iiop, t3, ldap, http.> 
<2010-8-11 下午12时07分14秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "mydomain" running in Development Mode> 
<2010-8-11 下午12时07分14秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING> 
<2010-8-11 下午12时07分14秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode> 

解决方案 »

  1.   

    我用的是weblogic 9.2,区别在于:一个是单独的建的一个域,从域里里面发布。还有一个是通过myeclipse配置,在myeclipse server中直接部署,启动。
      

  2.   

    从启动信息看没什么错误呀。那你在myeclipse server中直接部署,生成的jar是发布到
    user_projects\domains\工程名\autodeploy里面了吗?在域里面直接发布的话应该是这个路径的吧?
      

  3.   

    在MyEclipse中window首选项中在配置WebLogin的时候还得重新配一下JDK,必须使用WebLogic中的jdk,