websphere-8

Cannot convert 4/23/12 12:00 AM of type class java.util.Date to class java.sql.Date

▼魔方 西西 提交于 2019-12-23 12:32:04
问题 I'm migrating my project from WebSphere 7 to WebSphere 8 and I'm using JSF 1.2. I was facing a problem with IBM JSF/html_extended tags and also standard converters, which are mainly JSF 1.2 core components. I'm also updating my Java EE version from 5 to 6 (which might not be the reason). Finally, there is also a component tree given. Below is my stack trace: javax.faces.component.UpdateModelException: org.apache.jasper.el.JspELException: /sc40/NewContract.jsp(130,5) '#{pc_NewContract

How to configure Java Message Driven Beans and Websphere Activation specification without hardcoded JNDI Names?

瘦欲@ 提交于 2019-12-23 11:13:11
问题 We have a MDB listening to a Queue reading data and sending data to another Queue @MessageDriven( activationConfig = { @ActivationConfigProperty( propertyName = "destinationType", propertyValue = "javax.jms.Queue" ) }, mappedName = "jms/dataQ") public class DataMDB implements MessageListener { @Resource(name="jms/dataQueueConnectionFactory") private ConnectionFactory connectionfactory; @Resource(name="jms/dataDestinationQ") private Destination destination; ... } and an XML (ibm-ejb-jar-bnd

Facing issues while Migrating application from websphere 7.0 to websphere 8.5.5

徘徊边缘 提交于 2019-12-23 04:22:08
问题 The application is developed in Struts2 and working fine in Websphere 7.0. Now i am deploying in Websphere 8.5.5. It is giving login page and i am able to login into application but on clicking of any menu, It is giving the below exception. Jars used are - aopalliance-1.0.jar, axis.jar, c3p0-0.9.1.1.jar, com.springsource.javax.transaction-1.1.0.jar, commons-beanutils-1.8.3.jar, commons-beanutils-bean-collections-1.8.3.jar, commons-beanutils-core-1.8.3.jar, commons-collections-3.2.1.jar,

How to configure IIS with IBM WebSphere Application Server Liberty Profile?

非 Y 不嫁゛ 提交于 2019-12-22 17:37:07
问题 I am trying to setup IIS (version 8.x, windows 2008) in front of IBM WAS(Liberty Profile) server so that it can route all specific requests to IBM WebSphere application server(Liberty Profile). I have already installed & configured following items : Installed IBM WebSphere Application Server Liberty Core (Version 8.5.5) Installed IBM MobileFirst Platform Server (Verison 7.1) Installed WebServer Plugins for IBM WAS Installed IBM WebSphere Customization Toolbox (Version 8.5) I have also

Spring + Websphere 8.5: Unable to lookup JNDI name [java:comp/websphere/ExtendedJTATransaction]

六眼飞鱼酱① 提交于 2019-12-22 14:06:13
问题 There is a Websphere AS 8.5 where runs XA Datasource. Also there is a Spring application which must work in this environment and connect to the datasource. An application context is loaded by a servlet and the application uses RmiExporters to provide RMI access to some services (which are shared in the separate thread) and all DAOs' methods are marked with @Transactional . If I try to write something to the database from the main thread (e.g. during initialization of any class), it works

Spring + Websphere 8.5: Unable to lookup JNDI name [java:comp/websphere/ExtendedJTATransaction]

我的未来我决定 提交于 2019-12-22 14:05:39
问题 There is a Websphere AS 8.5 where runs XA Datasource. Also there is a Spring application which must work in this environment and connect to the datasource. An application context is loaded by a servlet and the application uses RmiExporters to provide RMI access to some services (which are shared in the separate thread) and all DAOs' methods are marked with @Transactional . If I try to write something to the database from the main thread (e.g. during initialization of any class), it works

How to install Jenkins on WebSphere 8.5

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 08:28:13
问题 I'm trying to install jenkins(1.627) as it is described on the wiki, although I got this error. Failed to load webapp: SRVE8111E: The application, jenkins_war, is trying to modify a cookie which matches a pattern in the restricted programmatic session cookies list [domain=*, name=JSESSIONID, path=/] Any ideas how to fix? 回答1: Somehow Jenkins app is trying to modify JSESSIONID cookie settings. Try to remove in the Security > Global Security > Programmatic session cookie configuration the

Defining custom properties in Application panel - how to get the value in the code?

你离开我真会死。 提交于 2019-12-21 09:35:16
问题 In IBM WebSphere web admin console one can go to Applications -> WebSphere enterprise applications, pick an application and click on "Custom Properties" link. There will be a page to add key-value pairs. How would you access those values from the code? The properties don't seem to end up in System properties nor in ServletContext.. 回答1: I've never seen it used during my 7-year career with IBM WebSphere Application Server. I think that if it's ever used it's so rarely that I'd call the feature

Is it possible to use Java 7 with IBM WebSphere Application Server 8.5 Trial

左心房为你撑大大i 提交于 2019-12-21 03:43:23
问题 I have installed WAS 8.5 Trial version on Windows 7. I would like to deploy and run Java 7 application. Is it possible to do it? I can not see "IBM WebSphere SDK for Java Technology Edition 7" in the IBM Installation Manager's feature list and there is no SDK 7 installed, yet. >managesdk.bat -listAvailable CWSDK1003I: Available SDKs : CWSDK1005I: SDK name: 1.6_64 CWSDK1001I: Successfully performed the requested managesdk task. > Has somebody managed to make WAS 8.5 Trial and Java 7 work

JAX-WS server-side SOAPHandler that returns fault gets “Internal Error” on WebSphere v8

女生的网名这么多〃 提交于 2019-12-20 11:55:19
问题 I have a server-side JAX-WS SOAPHandler (on WebSphere v8) that in certain cases needs to respond to the client with a SOAP response that it has in a String variable (let's call it responseXml ). When responseXml contains a successful (i.e., non-fault) SOAP message, JAX-WS sends the response to the client correctly. However, when responseXml contains a SOAP fault message, an "Internal Error" occurs, and the client gets a different fault response than the one in responseXml , as shown here: