Articles of websphere

如何在IBM WebSphere Application Server 8.5.5中使用shell脚本在Linux中dynamic获取Deployment Manager主机名和端口?

我需要使用shell脚本在IBM WebSphere Application Server 8.5.5中dynamic获取Deployment Manager主机名和端口。

websphere 8.5 war安装失败

我试图在Websphere 8.5.5.9的pipe理控制台中安装一个小的(4MB)war文件,并且在SystemErr.log中使用以下堆栈跟踪失败: [5/31/17 14:06:28:139 CDT] 00000072 SystemErr R javax.servlet.ServletException: org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed. Async operation timed out [5/31/17 14:06:28:139 CDT] 00000072 SystemErr R at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest(Unknown Source) [5/31/17 14:06:28:139 CDT] 00000072 SystemErr R at com.ibm.isclite.container.controller.NLSDiskMultipartRequestHandler.handleRequest(NLSDiskMultipartRequestHandler.java:42) [5/31/17 14:06:28:139 CDT] 00000072 SystemErr R at org.apache.struts.util.RequestUtils.populate(Unknown Source) [5/31/17 14:06:28:139 CDT] 00000072 SystemErr R at org.apache.struts.action.RequestProcessor.processPopulate(Unknown Source) [5/31/17 […]

Websphere Active Directory的联合存储库

我试图实现的是让Websphere 6.1使用Active Directory用户身份validation。 Websphere正在Windows 2008 R2上运行。 我已经做了: 成功为Windows Active Directory(LDAP)设置联合存储库; 为以前定义的联合存储库创build领域定义; 将领域定义设置为当前的实际定义。 停止Websphere服务。 当我尝试再次启动Websphere服务时,崩溃时出现以下堆栈跟踪: ——开始DE处理—— = [9/3/10 2:36:14:133 PDT],key = com.ibm.websphere.security.EntryNotFoundException com.ibm.ws. security.registry.UserRegistryImpl.createCredential 824 Exception = com.ibm.websphere.security.EntryNotFoundException Source = com.ibm.ws.security.registry.UserRegistryImpl.createCredential probeid = 824 Stack Dump = com.ibm.websphere.wim.exception。 EntityNotFoundException:CWWIM4001E未find“null”实体。 在com.ibm.ws.wim.registry.WIMUserRegistry的com.ibm.ws.wim.registry.util.UniqueIdBridge.getUniqueUserId(UniqueIdBridge.java:233)上执行$ 6.run(WIMUserRegistry.java:351)at com.ibm。 ws.wim.security.authz.jacc.JACCSecurityManager.runAsSuperUser(JACCSecurityManager.java:500)位于com.ibm.ws.wim.security.authz.ProfileSecurityManager.runAsSuperUser(ProfileSecurityManager.java:964)位于com.ibm.ws. wim.registry.WIMUserRegistry.getUniqueUserId(WIMUserRegistry.java:340)at com.ibm.ws.security.registry.UserRegistryImpl.createCredential(UserRegistryImpl.java:750)at com.ibm.ws.security.ltpa.LTPAServerObject.authenticate( LTPAServerObject.java:776)在sun.reflect.NativeMethodAccessorImpl.invoke0(本地方法)在sun.reflect.NativeMethodAccessorImpl.invoke(在lt.LoginModule.log)(ltpaLoginModule.java:453)上的com.ibm.ws.security.server.lm.ltpaLoginModule.login NativeMethodAccessorImpl.java:79)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:618)a javax.security.auth.login.LoginContext.access中的javax.security.auth.login.LoginContext.invoke(LoginContext.java:795)$ javax.security.auth.login.LoginContext中的$ 000(LoginContext.java:209)$ 4 .run(LoginContext.java:709)at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:706)at […]

Websphere 7:访问JSP时出现“内部服务器错误”。 servlets器好吧

我刚刚在舞台服务器上安装了WS 7。 testing服务器是在几个月前完成的。 我已经部署了与testing相同的应用程序。 一个应用程序导致我的问题。 我调用loginservlet,但结果是“内部服务器错误”消息。 从我的日志中,我可以看到servlet成功处理login并redirect到JSP。 这是最后的信息。 在任何其他标准输出/错误日志中,我都找不到其他信息。 我试图创build一个简单的JSP只包含HTML – 相同的错误。 如果我将文件重命名为test.html,则显示正确。 插件configuration看起来与testing服务器上的插件configuration完全相同(一切正常) 想法任何人?

Java-WebSphere-SQL Server应用程序的集群设置build议

我们目前有一个基于Java的Web应用程序,它运行在WebSphere上并访问SQL Server 2008。 应用程序需要频繁的代码和文件更改,因此我们至less在一个月内更新WebSphere中的EAR文件,但通常更新一次。 这是一个数据库密集型应用。 停机时间对我们来说是非常昂贵的,现在我们在最短的时间内(平日上午3点左右)尝试这样做。 向前看,这看起来不会是一个选项(特别是考虑到我们的应用程序的频繁更新),我们正在寻找一个更好的托pipe设置像一个集群。 我们希望通过新的设置来解决我们其他的一些问题(为此,我们一直在寻求解决办法)。 我们有一个多节点集群。 我对集群的理解是原始的,所以如果下面的任何假设是错误的,请让我知道。 以下是我们的新要求: 我们应该能够在没有任何(或者几秒钟)停机时间的情况下部署新版本的应用程序。 Web请求的负载平衡。 能够处理故障转移。 以下是我的一些问题: 你会推荐什么样的服务器设置? 考虑到我们有一个数据库,除非我们有两个集群 – 一个用于数据库,另一个用于应用程序的Web层,否则确实有可能确保接近于零的停机时间? 如果我们只有一个用于Web层的集群(以及专用服务器上的数据库),是否可以让我们部署应用程序的新版本,而无需在WebSphere上停机? 我们的Java应用程序被编写为在单个JVM上运行。 如果我们将它部署在WebSphere上,WS会自动使应用程序在集群上运行吗? 或者我们不得不使用像Terracota这样的集群感知型JVM?

IIS 7跳过匹配的URI的ISAPI

我有一个安装了ISAPI筛选器的IIS 7,它将请求redirect到WebSphere Application Server。 问题是需要不要将某些URI(站点上的图像的某些文件夹)redirect到WebSphere。 我尝试IIS重写,但似乎在ISAPI筛选器后运行。 如何为匹配的URI跳过ISAPIfilter? 或者可能是一个虚拟目录可以configuration为跳过网站的ISAPIfilter? 谢谢!

如何在集群内部设置各种websphere服务器

我想安装2个单独的websphere服务器(安装程序中的AppServer选项),稍后安装Deployment Manager并将它们联合在一起,以形成群集。 任何帮助是受欢迎的。 我已经想到了如何使用wasservice [1]来启动nodeagent和我的故障server1(它并没有在机器启动时启动),并安装了IBM HTTP Server,但它不在集群中。 提前致谢。 [1] http://pastebin.com/peihzsHY

更改websphere安装的IP地址

我不是一个websphere专家。 我们正在将我们的websphere应用程序迁移到不同的服务器(具有不同的IP和主机名)。 我们使用WASnetworking部署v 6.1。 我遇到了一些文章,介绍了更改WAS安装的主机名的步骤,但没有提到有关更改IP地址的任何内容。 http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere.nd.doc%2Finfo%2Fae%2Fae%2Ftagt_hostname.html 有几个文件,如plugin-cfg.xml文件,我看到服务器IP是硬编码的。 这是不是像新的主机文件放在服务器后,通过这些步骤更改主机名,它会自动更新IP地址? 请指教。

如何在WebSphere Portal 8.0中启用WebDAV写入访问?

作为WebSphere Portal 8.0中的pipe理员,我可以使用连接到http://servername:10040/wps/mycontenthandler/dav/fs-type1的WebDAV客户端访问和修改与主题相关的文件。 我现在想给另一个用户写入相同的文件,但是这个用户不应该是一个Portalpipe理员。 IBM文档状态(在使用WebDAV文件存储的页面上): “为了让用户能够对这些文件夹中包含的资源进行写入访问,可以在门户访问控制中的虚拟资源主题pipe理上分配用户MANAGERangular色,pipe理员可以创build,修改或删除这些资源。 在过去,我使用Portal 7.0成功完成了这项工作,但在Portal 8.0中无法正常工作。 当用户尝试通过Portal 8.0 WebDAV修改文件时,操作失败,服务器的SystemOut.log文件包含以下消息: com.ibm.wps.logging.ExceptionLogger logThrowable(th) An exception occurred: [null]. Enable traces for [com.ibm.wps.logging.ExceptionLogger=all] to see the exception stack trace. 如果启用build议的跟踪,并且用户再次尝试,服务器的trace.log文件包含类似于以下的堆栈跟踪(虽然我删除了很多行以使其更短): com.ibm.wps.logging.ExceptionLogger logThrowable(th) Exception com.ibm.wps.resolver.servlet.exceptions.ModelIOException at com.ibm.wps.resolver.webdav.tree.WebdavTreeModelUpdateDataSink.read(WebdavTreeModelUpdateDataSink.java:182) at com.ibm.wps.resolver.servlet.ContentHandlerUpload.handleDownloadAndDispose(ContentHandlerUpload.java:817) at com.ibm.wps.resolver.servlet.ContentHandlerUpload.handleUpload(ContentHandlerUpload.java:1020) at com.ibm.wps.resolver.servlet.ContentHandlerUpload.doFilter(ContentHandlerUpload.java:378) … at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1700) Caused by: com.ibm.wps.resolver.webdav.admin.exception.WebdavCannotCommitException at com.ibm.wps.filestore.JCRWebdavTreeModelController.commit(JCRWebdavTreeModelController.java:354) at com.ibm.wps.resolver.webdav.tree.AbstractWebdavTreeModelCreateUpdateDataSink.updateItem(AbstractWebdavTreeModelCreateUpdateDataSink.java:1028) at com.ibm.wps.resolver.webdav.tree.AbstractWebdavTreeModelCreateUpdateDataSink.updateItem(AbstractWebdavTreeModelCreateUpdateDataSink.java:955) at com.ibm.wps.resolver.webdav.tree.WebdavTreeModelUpdateDataSink.read(WebdavTreeModelUpdateDataSink.java:157) […]

WebSphere – Jython命令来查看应用程序的内存使用情况

使用IBM WebSphere Application Server V8.0.0.1,有没有办法查看服务器上正在运行的应用程序的内存使用情况? 用Jython或Jacl? 我可以查看Application Server的内存使用情况,但不能查看各个应用程序本身。