jeecgboot框架中 websphere的配置在哪修改
时间: 2023-09-26 09:09:35 浏览: 132
在Jeecg-boot框架中,使用WebSphere作为应用服务器需要进行如下配置:
1. 在pom.xml文件中添加WebSphere的依赖:
```xml
<dependency>
<groupId>com.ibm.websphere</groupId>
<artifactId>com.ibm.ws.runtime</artifactId>
<version>${websphere.version}</version>
<scope>provided</scope>
</dependency>
```
其中`${websphere.version}`为WebSphere的版本号,需要根据实际情况进行修改。
2. 在application.properties文件中添加WebSphere的配置:
```
# WebSphere server
server.context-path=/jeecg-boot
server.port=9080
server.servlet.context-path=/jeecg-boot
server.servlet.application-display-name=jeecg-boot
server.servlet.session.cookie.name=JSESSIONID
server.servlet.session.timeout=1800
```
其中`server.port`为WebSphere的端口号,`server.servlet.context-path`为应用程序的上下文路径,需要根据实际情况进行修改。
3. 在WebSphere中部署应用程序:
将生成的war包上传至WebSphere,创建一个新的WebSphere应用程序,将war包部署至应用程序中即可。
以上就是使用WebSphere作为应用服务器部署Jeecg-boot应用程序的配置步骤,需要注意的是具体的配置可能会因版本不同而有所区别,建议根据实际情况进行修改。
阅读全文
相关推荐


















