如题,我是真没招了,网上查的乱七八糟没有一个准确的,用的MyEclipse 6.0.1,Jboss是jboss-3.2.1,D:\java\jboss-3.2.1\server\default\deploy\jbossweb-tomcat41.sar\META-INF下的jboss-service.xml配置是
<?xml version="1.0" encoding="UTF-8"?>
<!-- The service configuration for the embedded Tomcat4.1.x web container
-->
<server>
<mbean code="org.jboss.web.tomcat.tc4.EmbeddedTomcatService"
name="jboss.web:service=WebServer">
<!-- Get the flag indicating if the normal Java2 parent first class
loading model should be used over the servlet 2.3 web container first
model.
-->
<attribute name="Java2ClassLoadingCompliance">true</attribute>
<attribute name="LenientEjbLink">false</attribute>
<!-- A flag indicating if the JBoss Loader should be used. This loader
uses a unified class loader as the class loader rather than the tomcat
specific class loader.
-->
<attribute name="UseJBossWebLoader">false</attribute>
<!-- The name of the request attribute under with the authenticated JAAS
Subject is stored on successful authentication. If null or empty then
the Subject will not be stored.
-->
<attribute name="SubjectAttributeName">j_subject</attribute>
<!--
*******************************************************
****************** CLUSTERING *************************
*******************************************************
In order to activate HTTP Session clustering for Tomcat
make sure you run JBoss's "all" configuration i.e.
"run -c all"
(the default configuration doesn't contain clustering)
Furthermore, you may change SnapshotMode and
SnapshotInterval attributes below to indicate when to
synchronize changes with the other node(s).
If you use Apache+mod_jk(2) you will most probably use
the AJP1.3 connector below. Thus, if you so wish,
you may comment (i.e. deactivate) the HTTP connector
as it won't be used anymore.
*******************************************************
*******************************************************
*******************************************************
-->
<!--
If you are using clustering, the following two attributes
define when the sessions are replicated to the other nodes.
The default value, "instant", synchronously replicates changes
to the other nodes. In this case, the "SnapshotInterval" attribute
is not used.
The "interval" mode, in association with the "SnapshotInterval"
attribute, indicates that Tomcat will only replicates modified
sessions every "SnapshotInterval" miliseconds at most.
-->
<attribute name="SnapshotMode">instant</attribute> <!-- you may switch to "interval" -->
<attribute name="SnapshotInterval">2000</attribute>
<attribute name="Config">
<Server>
<Service name="JBoss-Tomcat">
<Engine name="MainEngine" defaultHost="localhost">
<Logger className="org.jboss.web.tomcat.Log4jLogger"
verbosityLevel="debug" category="org.jboss.web.localhost.Engine"/>
<Host name="localhost">
<!-- Access logger -->
<Valve className="org.apache.catalina.valves.AccessLogValve"
prefix="localhost_access" suffix=".log"
pattern="common" directory="${jboss.server.home.dir}/log"/>
<!-- This valve clears any caller identity set by the realm
and provides access to the realm about the existence of an
authenticated caller to allow a web app to run with a realm
that support unauthenticated identities. It also establishes
any run-as principal for the servlet being accessed.
-->
<Valve className="org.jboss.web.tomcat.security.SecurityAssociationValve"/>
<!-- Default context parameters -->
<DefaultContext cookies="true" crossContext="true" override="true"/>
</Host>
</Engine>
<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
address="${jboss.bind.address}" port="8088" minProcessors="10" maxProcessors="512"
enableLookups="true" acceptCount="10" debug="0"
connectionTimeout="20000" useURIValidationHack="false"/>
<!-- A AJP 1.3 Connector on port 8009 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
address="${jboss.bind.address}" port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<!-- SSL/TLS Connector configuration using the SSL domain keystore
<Connector className = "org.apache.coyote.tomcat4.CoyoteConnector"
address="${jboss.bind.address}" port = "8443" scheme = "https" secure = "true">
<Factory className = "org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
keystoreFile="${jboss.server.home.dir}/conf/chap8.keystore"
keystorePass="rmi+ssl"
protocol = "TLS"/>
</Connector>
-->
</Service>
</Server>
</attribute>
<depends>jboss:service=TransactionManager</depends>
</mbean>
</server>
但是访问8080一直都是连接失败无法找到该页面,jdk1.4.2_05。刚进项目组第一次接触Jboss 两天了连个项目都跑不起来,急死了,分不多了 不好意思
相关推荐
更多内容请访问:http://ecsun.javaeye.com 作者:海鹏 联系:myecsun@hotmail.com/Q:82676683/ 1.技术体系 Ext2.1,Struts1.3,Hibernate3.2,Spring2.5,Acegi 1.06,MySQL 2.功能概述: Blog,RSS订阅,网址导航 3.特色 ...
4. **启动JBoss**:转到JBoss的bin目录(如C:\jboss-4.0.3SP1\bin),运行run.bat脚本,这将启动JBoss服务器。成功启动后,会看到控制台输出相关信息。 5. **验证安装**:打开浏览器,输入http://localhost:8080,...
你可以访问 `http://localhost:8080` 来确认服务是否正常运行。 为了便于管理和自动化操作,我们可以创建一个系统服务。在 `/etc/systemd/system` 目录下创建一个名为 `jboss.service` 的文件,添加以下内容: ```...
成功启动后,浏览器输入`http://localhost:8080/`,如果显示JBoss的欢迎页面,表示安装成功。 4. **安装Step 4** 通过按下Ctrl+C可以关闭正在运行的JBoss服务。 **JBoss部署** 1. **部署Step 1** 创建一个新的...
**管理界面**:jBoss提供了基于Web的管理控制台,可通过访问`http://localhost:8080/jmx-console`来进入。该控制台允许用户对jBoss的各种服务进行配置和管理,是初学者熟悉jBoss的重要入口。 #### 二、配置文件的...
在启动 JBOSS 之后,我们可以在浏览器中输入 http://localhost:8080/,以访问 JBOSS 的管理控制台。 启动参数 JBOSS 提供了多种启动参数,我们可以使用这些参数来定制 JBOSS 的启动方式。例如,我们可以使用 -b ...
1. JBoss Management Console:启动服务器后,访问`http://localhost:9990`,使用在安装过程中创建的管理用户登录。通过图形界面可以管理服务器配置、部署应用、监控性能等。 2. CLI工具:`$JBOSS_HOME/bin/jboss-...
在/opt/jboss-4.2.3.GA/bin目录下,使用./run.sh -b 0.0.0.0命令来启动JBoss,启动成功后,打开浏览器浏览http://localhost:8080/,出现欢迎页面则说明安装成功。 知识点四:MySQL的安装 使用apt-get install ...
4. **启动JBoss**: 打开命令行,进入%JBOSS_HOME%\bin目录,运行standalone.bat(Windows)或standalone.sh(Linux/Mac)启动JBoss服务器。 5. **验证安装**: 浏览器中输入`http://localhost:9990`(默认管理端口)...
在浏览器中输入`http://localhost:8080/项目名`,就能查看运行结果。如果你在项目中使用了源码,Eclipse可以实现断点调试,帮助你定位和解决问题。 为了更好地管理和版本控制,建议使用版本控制系统,如Git,保存和...
- 启动Tomcat服务,访问[http://localhost:8080/jeecg](http://localhost:8080/jeecg)验证是否成功部署。 #### 常见问题 - **Maven下载依赖失败**:检查网络连接或尝试更换镜像源。 - **项目启动失败**:检查日志...
最后,启动 JBoss 服务器后,通过在浏览器中输入 `http://localhost:8080/`(根据您配置的端口进行相应调整)进行测试。如果能成功加载 JBoss 的欢迎页面,那么恭喜您,JBoss 已经成功配置并运行起来了。 在整个...
通过JMX控制台的URL(例如:http://localhost:8080/jmx-console),可以使用`jboss.cache:service=TomcatClusteringMBean Members`和`jboss.cache:service=TomcatClustering`来监控集群状态和session复制情况,确保...
默认情况下,JBoss的JMX控制台(http://localhost:8080/jmx-console)无需身份验证即可访问,这可能导致安全隐患。为了增强安全性,我们需要配置身份验证机制。具体步骤如下: 1. 找到并编辑`{jboss_home}\server\...
浏览器可以访问http://127.0.0.1:8080/,就算配置成功。 四、第一个EJB工程 【File】——>【New】——>【Other】 (找到EJB,并且选择EJB Project)——>【Next】 输入: Project name:TestEJB Target runtime:...
- 启动应用服务器,并在浏览器中输入以下URL访问GeoServer管理界面: - `http://127.0.0.1:8080/geoserver` - 或者 `http://localhost:8080/geoserver` #### 三、发布Shapefile地图 1. **登录GeoServer**: - ...
也可以通过浏览器访问默认管理界面(通常是 `http://localhost:8080` 或 `http://localhost:8080/management`),查看JBoss状态。 #### 三、常见问题与解决方法 1. **环境变量配置失败** - 检查环境变量设置是否...