websphere

Binding container managed authentication alias with DataSource using jython script

你。 提交于 2020-01-15 11:30:08
问题 I'm using WebSphere 8.5 I've found out how to create JAASAuthData with username and password using jython script: objServerAttrs = AdminControl.completeObjectName('WebSphere:type=Server,*') cellName = AdminControl.getAttribute(objServerAttrs, 'cellName') sec = AdminConfig.getid('/Cell:%s/Security:/' % cellName) jaasAttr = [['alias', jaasAlias],['userId', jaasUser],['password', jaasPass]] jaasAuthData = AdminConfig.create('JAASAuthData', sec, jaasAttr) and how to create dataSource: dsAttrs = [

JAX-WS didn't get response on Websphere 8.5

点点圈 提交于 2020-01-15 10:16:26
问题 I got a job that I have to generate WS client from WSDL to communicate with server. I use WSImport(JAX-WS) to do the job because it seems less conflicts to different server. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http:/

Using windows authentication with sqljdbc.jar

隐身守侯 提交于 2020-01-15 07:45:27
问题 Is it possible to use the windows authentication mode for SQL SERVER database, while using the micro soft provided JDBC drivers? I am using sqljdbc.jar.. the SQLJdbcVersion class file contains this: static final int major = 2; static final int minor = 0; static final int MMDD = 1803; static final int revision = 100; Any comments? Is there a reason why sqljdbc can not use windows authentication? I am using Websphere application server 7 and running a j2ee application. The datasources are

Custom renderer for PrimeFaces component works fine in Tomcat, but not in Websphere

爷,独闯天下 提交于 2020-01-14 09:28:28
问题 I'm using MyFaces 2.1.9 and PrimeFaces 3.5. I've implemented a custom renderer for <p:inputText> . This works fine at home with Tomcat. But this does not work at work with Websphere. I've placed breakpoints in the custom renderer class, but they are never hit. I see nothing in my logs as well. However, when I register the very same custom renderer on standard JSF <h:inputText> , then it works fine. I've registered it as follows in faces-config.xml : <render-kit> <renderer> <component-family

JDBC connection for a background thread being closed accessing in Websphere

♀尐吖头ヾ 提交于 2020-01-13 20:37:48
问题 I have an application running in Websphere Portal Server inside of Websphere Application Server 6.0 (WAS). In this application for one particular functionality that takes a long time to complete, I am firing a new thread that performs this action. This new thread opens a new Session from Hibernate and starts performing DB transactions with it. Sometimes (haven't been able to see a pattern), the transactions inside the thread work fine and the process completes successfully. Other times

RAD 8 does not recognize that WAS has started

一笑奈何 提交于 2020-01-13 10:18:29
问题 I have recently experienced a new problem using RAD 8.0.2. When I launch a WAS server from within RAD, with or without any apps published to it, WAS will start and will show output in the console. I can even access the server from my web browser. However, RAD never recognizes that WAS has started successfully and after the timeout limit is reached, RAD claims that the server failed to start. I have tried this with WAS 6.1 and 7.0 test environments and WebSphere Portal 6.1 external environment

Where can I find a particular version of the IBM JDK/JRE for Windows?

痴心易碎 提交于 2020-01-12 13:55:10
问题 I'm trying to get a rather JDK-sensitive piece of Oracle software working with Websphere, and I need to find some particular versions of the IBM JDK to try. The problem is that IBM doesn't really make these readily available like Sun/Oracle does with theirs, and all the versions I've been able to get my hands on haven't worked for one reason or another. Specifically, I need one of: IBM Java 5 SR9 for Windows (ideal) IBM Java 5 SR2 for Windows IBM Java 5 SR10 for Windows How could I get these

Cannot deploy Spring App to Websphere

橙三吉。 提交于 2020-01-10 13:41:56
问题 I've been developing an application to tomcat during development phase. As we're moving forward, my client wants to be deployed to websphere. I'm attempting to do so on websphere 8.5, but for some reason I seem to be running into problems. Tomcat is easy, I'm just dropping in the war and everything works like it should. Websphere is a different story. I keep getting the following error when I try to hit my application: Error 404: SRVE0190E: File not found: {0} I've been doing some research

Cannot deploy Spring App to Websphere

♀尐吖头ヾ 提交于 2020-01-10 13:39:39
问题 I've been developing an application to tomcat during development phase. As we're moving forward, my client wants to be deployed to websphere. I'm attempting to do so on websphere 8.5, but for some reason I seem to be running into problems. Tomcat is easy, I'm just dropping in the war and everything works like it should. Websphere is a different story. I keep getting the following error when I try to hit my application: Error 404: SRVE0190E: File not found: {0} I've been doing some research

force or generate jvm core dump ( IBM JVM ) [duplicate]

回眸只為那壹抹淺笑 提交于 2020-01-10 07:27:25
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Can I force generation of a JVM crash log file? How can I force or generate a JVM core dump on an Java application server or in general? 回答1: Problem(Abstract): To diagnose the problems related to hang or poor performance of customer applications running on WebSphere Application Server Community Edition, users would be required to generate the various dumps and send them to IBM Support for diagnosis. This