问题标签 [websphere-7]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
12144 浏览

java - 启动部署在 WAS7.0 中的应用程序时出错

我在 Websphere 7.0 控制台中部署了一个战争文件。部署成功。在启动应用程序时抛出错误为“无法启动”

错误日志如下。

0 投票
1 回答
136 浏览

jakarta-ee - 具有多个应用程序的 WAS7 和服务器配置文件

我现在工作的地方,他们运行着大约 60 个应用程序(内联网和互联网)。大多数应用程序使用数据源、JMS 队列、主题等。

他们使用 WebSphere,现在,每个应用程序都有一个特定的配置文件,我们必须从备份 (.car) 中导入该配置文件。(当我们创建本地工作区时)

我发现这个过程繁重且耗时。 有没有其他方法可以在 WAS 7 上拥有多个具有 1 个配置文件的应用程序?. 我知道我们可以在 application.xml 中定义数据源,我们也可以定义 JMS 队列、主题吗?

提前致谢。

0 投票
1 回答
408 浏览

websphere - Problem with JSR286 rendering portlet and WebSphere Portal7

Another question for all WP7 lovers!

We have the following problem: we have creates a portal page with a JSR286 local rendering portlet that show a lotus wcm content. When the portal render the JSR portlet, it show the following exception "Error 500: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0"

On the IBM developerWorks, I've found this post developerWorks Thread that tell to install the IBM 7.0.0.1 Combined Cumulative Fix 004 to solve this problem IBM PM33952

Being a Combined Cumulative Fix, we've installed the Combined Cumulative Fix 007 (that containes the 004 fix)! But after installation, the exception seems to be remained!

Have you solved this problem? What's your solution? Thanks in advance!

0 投票
2 回答
1415 浏览

java - 如何识别 websphere MQ 侦听器端口从代码级别下降

我想监视 mq 侦听器状态是向上还是向下。如果连接断开,我想跟踪它并通过我的程序进行相应的更改。有没有办法使用 java 来实现这一点?

0 投票
1 回答
14981 浏览

websphere - WLTC0017E:Resources rolled back due to setRollbackOnly() being called error

I am having issue with a restful web service deployed on WebSphere 7. Each time I try to access a url I'm getting this error message:

I am suspecting my indirect lookups as the cause of the problem. I have my look up code like this

Apart from this, I have created my datasource and tested successfully with WebSphere. What is the evil i am doing wrong?

Here is my stack trace:

0 投票
1 回答
1769 浏览

websphere - java.lang.ClassCastException:com.ibm.ws.jpa.management.JPATxEntityManager

我有一个使用 eclipselink2.0 作为 JPA 提供程序的宁静 Web 服务,部署在 WAS 上,而 7.0.00.19 带有 OSGI 和 JPA2.0 功能包。我为指向这些 jar 文件位置的应用程序创建了一个共享库:

  • c:\bacpext\eclipselink-javax.persistence-2.0.jar
  • c:\bacpext\eclipselink-2.0.2.jar

尝试访问资源 uri 会引发以下异常

关于什么可能是错的任何想法?

0 投票
1 回答
7982 浏览

websphere - 使用 websphere 7 命名的 JNDI

我有一个使用 EJB 和 JPA2.0 和 eclipselink 的应用程序。我已经能够成功部署它并且应用程序成功启动但是当我尝试访问 web 服务的 uri 时,我不断收到不同的错误,具体取决于我所做的事情。

这是我的 web.xml

我的persistence.xml在下面

我有一个 PersistenceService 类,用于从我的 web 服务创建持久性。我像这样创建我的查找

我收到以下错误。

谢谢

0 投票
1 回答
1324 浏览

websphere - 尝试查找 WebSphere 7 WorkManager 时出现“AsynchBeans 服务未初始化”错误

我正在尝试使用 CommonJWorkManagerTaskExecutor作为 Quartz 的任务执行器,SchedulerFactoryBean以避免 WebSphere 中的非托管线程(在此处描述——向下滚动到“Quartz With CommonJ”部分)。不幸的是,我似乎无法查找任何默认的 WebSphere WorkManagers,也无法查找我创建的任何东西。CommonJ 的 Spring bean WorkManager

我收到ServiceNotInitializedException: AsynchBeans Service not initialized错误和堆栈跟踪:

有什么想法可以解决这个问题吗?谢谢!

0 投票
3 回答
13777 浏览

websphere - 如何在 websphere 门户 v7 中恢复管理员密码?

我忘记了以管理员身份进入 websphere 门户的密码。如何恢复密码?..请在此提供帮助

0 投票
2 回答
3895 浏览

java - 会话过期的视图恢复期间的 JSF 1.2 异常

我们最近从 6.1 迁移到了 WebSphere 7.0,并且还从 JSF1.1 升级到了 JSF1.2。每次会话到期并且通过浏览器提交任何内容时,我现在都会遇到异常:

我怎样才能防止这个错误?

  • 请求的结果呈现在与输入字段相同的页面上。
  • 我正在为页面使用会话范围的支持 bean。

编辑:看起来确实像 WAS 7.0/JSF 1.2 迁移问题,请参阅https://www.ibm.com/developerworks/forums/thread.jspa?threadID=332460&tstart=30(未提供答案)

BalusC 在这里解释了为什么会发生javax.faces.application.ViewExpiredException: View could not be restore。但是为什么以前没有发生呢?在迁移之前,几个应用程序运行良好。