JBuilder X 中自带的一个例子
JBuilder X 中自带一个EJB的例子原来是在Weblogic 7 中部署的。
例子的路径是:%JBuilder X%\samples\Ejb\Ejb20\ESiteWL
我把它改为JBOSS 下部署,当我部署完后
在%JBOSS%\server\default\deploy\ 有 bookstore.war 这个文件。
但是在 http://localhost:8080/bookstore/ 下老是出现如下错误:
HTTP Status 500 - No Context configured to process this request
--------------------------------------------------------------------------
type Status report
message No Context configured to process this request
description The server encountered an internal error (No Context configured to process this request) that prevented it from fulfilling this request.
-------------------------------------------------------------------------
Apache Tomcat/4.1.24-LE-jdk14
我是不是还要做什么部署工作啊? 我是初学者,这是第一个部署应用,请各位多多指教。。
我的步骤是:
1 、在JBuilder X 的project--->project properties 中在server项的required libraries 标签页下删除 Weblogic 7 ,加上JBOSS
2 、把所有文件中的 7001 都改为了情况8080 并保存
3 、build project
4 、选择 web application 右击菜单中的 deploy options for "bookstore.war" --> deploy