标签: websphere-liberty

IBM WebSphere 8.5 Liberty Profile不支持Jax-ws

尝试在WebSphere 8.5 Liberty配置文件中部署JAX-WS应用程序时,会抛出"JAXWS"不支持的错误.尝试配置功能管理器,但无法在其中找到JAX-WS插件.

java eclipse web-services websphere-liberty

1
推荐指数
1
解决办法
4114
查看次数

修改 Websphere Liberty 中的默认上下文根错误 CWWKZ0013E

我正在尝试在没有默认上下文根的情况下运行我的应用程序,即我想localhost:8080重定向到我的主页而不是转到localhost:8080/myapp

为此,server.xml我添加了以下几行:

<httpDispatcher enableWelcomePage="false" />
<webApplication id="MYAPP" name="MYAPP" contextRoot="/" location="dropins/MYAPP.war" />
Run Code Online (Sandbox Code Playgroud)

我收到一个错误

[ERROR   ] CWWKZ0013E: It is not possible to start two applications called MYAPP.
Run Code Online (Sandbox Code Playgroud)

但是,如果我放入 dropins 文件夹myapp.war而不是MYAPP.war此错误,则不会出现该应用程序。然而,在 apps/expanded 目录中,我看到了myapp.war&MYAPP.war扩展(即使MYAPP.war不存在)。

我按照WLP :: Change default context root on http 中的说明进行操作。有人可以指导我哪里可能出错吗?

webserver websphere-liberty

1
推荐指数
1
解决办法
952
查看次数

wasJmsClient-2.0与ejbLite-3.1不兼容

我想将现有代码从JMS1.1迁移到JMS 2.0.我正在使用Java 8通过WebSphere Liberty Profile 16.0部署应用程序.当我wasJmsClient-2.0在server.xml中启用功能时,我收到以下错误:

['wasJmsClient-2.0' --> 'com.ibm.websphere.appserver.internal.jms-2.0' --> 'com.ibm.websphere.appserver.javax.connector.internal-1.7'] and ['ejbLite-3.1' --> 'com.ibm.websphere.appserver.transaction-1.1' --> 
 'com.ibm.websphere.appserver.javax.connector.internal-1.6'] features are in conflict. Select a compatible set of features.
Run Code Online (Sandbox Code Playgroud)

我如何知道哪些功能兼容哪些功能不兼容?

websphere websphere-8 websphere-liberty

1
推荐指数
1
解决办法
151
查看次数

如何在 Eclipse MicroProfile 中添加计时器服务

在 Java EE 中,我使用 EJB 计时器服务来安排任务:

@Stateless
public class TestSchedule {

    @Schedule(second = "*/30", minute = "*", hour = "*")
    public void processFiles() {

    }
}
Run Code Online (Sandbox Code Playgroud)

由于 Eclipse Micro Profile 不支持这种方法...实现这一点的常用方法是怎样的?

websphere-liberty payara payara-micro microprofile jakarta-ee

1
推荐指数
1
解决办法
1408
查看次数

如何从 WebSphere Liberty / Open Liberty Maven WAR 项目构建可运行的 JAR?

我想java -jar my.jar使用 Open Liberty 从我的 Maven WAR 项目构建一个可运行/可执行的 JAR(与 一起运行)。

如果我运行,mvn package我会得到一个 WAR,但如果我随后运行,mvn liberty:package我会得到类似以下内容的信息:

[INFO] CWWKM2001I: Invoke command is ["C:\git\lmparch1\test\target\liberty\wlp\bin\server.bat", package, defaultServer, --archive="C:\git\lmparch1\test\target\test.jar", --include=runnable].
[INFO] CWWKE0005E: The runtime environment could not be launched.
[INFO] CWWKE0031E: Specified defaultServer server does not exist; use the create action to create a new server. serverPath: C:\git\lmparch1\test\target\liberty\wlp\usr\servers\defaultServer
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.531 s
[INFO] Finished at: 2021-04-09T15:32:01-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to …
Run Code Online (Sandbox Code Playgroud)

websphere maven websphere-liberty open-liberty

1
推荐指数
1
解决办法
1059
查看次数

在WebSphere Liberty Profile上运行.jacl脚本

如何针对WebService Liberty Profile服务器运行.jacl脚本?

我被告知要跑:

wsadmin.sh -conntype none -f setupWAS.jacl
Run Code Online (Sandbox Code Playgroud)

但我不认为Liberty Profile中有wsadmin可用.

websphere wsadmin websphere-liberty

0
推荐指数
1
解决办法
1462
查看次数

websphere - CWWKE0054E错误无法打开文件

我正在尝试从命令行运行websphere liberty配置文件服务器.我按照这里告诉的步骤操作:https://developer.ibm.com/wasdev/downloads/liberty-profile-using-non-eclipse-environments/

我创建了名为server1的服务器.

但是当提取完成并且我尝试使用命令启动服务器时: server start server1

服务器抛出错误:CWWKE0054E: Unable to open file C:\wlp\wlp\usr\servers\server1\logs\C:\Users\Furquan\AppData\Local\Temp\\ihp_custom_batches.log..现在我知道这不是一条有效的道路,但我不知道在哪里以及如何改变它.请帮忙 !!

java websphere command-line websphere-liberty server

0
推荐指数
1
解决办法
900
查看次数

使用Java/Liberty连接到Bluemix上的DB2数据库

我们有一个存储在Bluemix中的DB2数据库.

由于DB2驱动程序与Android不兼容,因此我们必须在应用程序和Bluemix之间设置一个层.

我们选择使用Java DB Starter样板.

我们如何在Java/Liberty应用程序中实现创建,读取,更新和删除功能,并通过Android应用程序调用它们?

java android websphere-liberty ibm-cloud

0
推荐指数
1
解决办法
226
查看次数

Bluemix上的Apache骆驼支持

在Bluemix中使用Apache Camel Framework有什么限制吗?代码将使用Spring Framework和Apache Camel API的混合?

apache-camel websphere-liberty ibm-cloud

0
推荐指数
1
解决办法
441
查看次数

Liberty VirtualPOT - > Websphere 9.x将是WAS Classic的最后一个版本吗?

我正在观看最近关于Liberty的VirtualPOT,并认为我听到主持人提到Websphere 9.x将是WAS Classic的最后一个版本.换句话说,在不久的将来,Liberty将成为获得新功能更新的唯一WAS选项.我是否正确听到了主持人?需要知道.

websphere-liberty

0
推荐指数
1
解决办法
142
查看次数