Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
话题被移动
该话题已被移动 - wishmaster , 2003-04-03 10:52
如果您尚不清楚该话题被移动的原因,请参考论坛规则以及本版公告或者联系本版版主。
作者 weblogic7 problem collection.
fjchenq





发贴: 233
积分: 20
于 2003-04-02 17:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
常见错误解答
错误1:WebLogic Server cannot start: config.xml not found
错误代码描述:
<Info> <Management> <140013> <C:\bea\user_projects\.\config.xml not found>
C:\bea\user_projects\.\config.xml not found
Since no config.xml was found, the fileRealm.properties file will not be used.
Would you like the server to create a default configuration and boot? (y/n):
问题发生时机:
在Jbuilder上运行Weblogic Server时,在Weblogic 6.x+ http:7001页上。
产生原因:
Weblogic域目录没有正确设置
解决方法:
选择Tools——>Configure Servers,左边选择Weblogic Server 6.x+,选择右边的Custom标签, 
检查你的域目录是否正确。如:h:\bea\user_projects\mydomain。

错误2:Authentication for user <username> denied
错误代码描述:
<Critical> <WebLogicServer> <000364> <Server failed during initialization.
Exception:java.lang.SecurityException: Authentication for user username denied
java.lang.SecurityException: Authentication for user username denied.
问题发生时机:
在Jbuilder上运行Weblogic Server时,在Weblogic 6.x+ http:7001页上。
产生原因:
在Jbuilder里用户名、密码填写错误
解决方法:
选择Tools——>Configure Servers,左边选择Weblogic Server 6.x+,选择右边的Custom标签, 
检查你的用户名和密码是否正确。

错误3:Deployment of Web application failed
错误代码描述:
Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 0
Module: TestWebApp Error: weblogic.j2ee.DeploymentException: Cannot deploy
ServletContext(id=2545674,name=TestWebApp,context-path=/TestWebApp) from
C:\bea\user_projects\mydomain\myserver\upload\TestWebApp\TestWebApp.war on myserver
because there is already a webapp named
ServletContext(id=5684736,name=TestWebApp,contextpath=/
TestWebApp) loaded from C:\Documents and
Settings\spati\jbproject\TestWebApp\TestWebApp, which is using the context path
/TestWebApp.
问题发生时机:
部署WAR文件的时候
产生原因:
可能是你已经在Weblogic上部署了一个相同名称的应用了。
解决方法:
选择Project——>Project Properties,选择Server标签,在Services列表里先选上jsp/servlet,把右边的Map project webapps at runtime的勾去掉,就可以安全的部署了。如果问题还是存在的话,你就只有重新新建一个WEB应用程序,把你做的程序都拷贝到新的应用上再部署了。

 错误4:NameNotFoundException from test client
 错误代码描述:
  javax.naming.NameNotFoundException: Unable to resolve 'TestSes' Resolved:
''Unresolved:'TestSes'; remaining name 'TestSes'
 问题发生时机:
  部署完EJB JAR文件后,运行TestClient的时候
 产生原因:
  TestClient不能找到EJB的JNDI名。
 解决方法:
打开Weblogic Server console检查部署是否有错,在Deployments——>EJB里找到EJB的模块名。检查名称后,点击右边窗口的Deploy,如果JAR部署正确的话,你将在右边的窗口的Deployment状态是true。

 错误5:test client run failed
 错误代码描述:
  javax.naming.CommunicationException. Root exception is java.net.ConnectException:
t3://localhost:7001: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination
 问题发生时机:
  部署完EJB JAR文件后,运行TestClient的时候
产生原因:
  test Client和Weblogic通信出现问题
 解决方法:
  如果你的Weblogic是在别的主机上或者端口号改变了的话,请你在TestSesTestClient.java里修改原来的有关主机名和端口的代码。




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923