Websphere « Development « Spring Q&A





1. Reserve Port in WebSphere    stackoverflow.com

I am using Spring with WebSphere 6.1 and today I started to get NET_BIND errors stating that port 1099 (port that Spring is using) is already in use and that Spring ...

2. WebSphere tries to load Spring related schemas from internet    stackoverflow.com

I have some problem running spring in my j2ee application. Short introduction: I use WebSphere 6.1 (i don't know that it is websphere specific or more general problem) Artifacts:

  1. web application (war) where in WEB-INF/lib ...

3. How can I get a WebSphere project to run under tc server?    stackoverflow.com

Just wondering if anyone has ever converted a Websphere project to run under tc server? I run on a Mac and would love to be able to run my application ...

4. App hangs on --> 'Initializing Spring root WebApplicationContext' on websphere    stackoverflow.com

When I try to deploy the app ear through RSA on websphere, the deployment hangs on the following line: Initializing Spring root WebApplicationContext. Initialization successful. And then server times out. How can I ...

5. How do I create a TopicConnectionFactory for MQSeries in Spring?    stackoverflow.com

I have read the article http://techtots.blogspot.com/2010/01/connecting-to-mq-using-spring-without.html about configuring QueueConnectionFactories and have that side of things working nicely.

# MQ related values
mq.jms.qcf=QM_Epsilon
mq.jms.request.queue=TEST.REQUEST.QUEUE

# Connection details
mq.host.url=localhost:1414/SYSTEM.DEF.SVRCONN
mq.factoryclass=com.ibm.mq.jms.context.WMQInitialContextFactory

# Authentication details
mq.auth=simple
mq.user=******
mq.password=********

<bean id="queueConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
  ...

6. error while deploying a spring application on WebSphere    stackoverflow.com

I am getting the below errors on the server console while deploying a spring application on websphere. Seeing these errors for the first time. So no idea about head and tail ...

7. Error in initialising portlets on portal server    stackoverflow.com

I have a WebSphere Portal server that houses portlets. The portlets make remote calls to ejbs running on WAS. Both the portal server and the WAS are running on the local ...

8. load-time-weaver Websphere 7    forum.springsource.org

Hi, I've seen here (http://static.springsource.org/sprin.../html/aop.html) that there is an implementation of LoadTimeWeaver for websphere, but when I look into spring-context jar (3.0.5) I can't find it. Is it normal, or it ...

9. Portlet support in Spring on Websphere portal server    forum.springsource.org

Hi, I am new to spring and learning it from the samples given in the springframework.org. I am trying to create the portlets using spring framework with the sample available. But ...





10. Spring across projects in RAD/Eclipse on WebSphere    forum.springsource.org

Spring across projects in RAD/Eclipse on WebSphere Hello, I am trying to build an project in Eclipse (actually I'm using RAD, so basically eclipse, and when I say 'JEE Project' I ...

11. Spring 3 with websphere 7    forum.springsource.org

Hi, I deployed spring 3 application in websphere 7 application server. successfully deployed the application. But when i run the application its giving the following jsp exception "JSPG0047E: Unable to locate ...

12. Spring + Log4J + Websphere    forum.springsource.org

Hi, Simple question : How i turn on spring log in websphere using log4j ? In tomcat, i can create log4j.properties with following content : log4j.logger.org.springframework=DEBUG Thanks!!

13. Setting JMSReplyTo for WebSphere MQ    forum.springsource.org

Setting JMSReplyTo for WebSphere MQ Hi, within a Spring Batch project, I'm trying to use Spring Integration (2.0.5.RELEASE) to send a JMS message using the approach described in this blog post ...

14. WebSphere 7    forum.springsource.org

Hi! The support for WebSphere Application Server 7 comes from IBM as a plugin for Eclipse and is therefore not closely related to a specific STS version. You should be able ...

15. WebSphere v6 & Spring Tag Library    forum.springsource.org

First of all, is anyone using Spring with WebSphere v6? If so, are you using the tag? We cannot go more than 1 level deep with this tag without getting ...

16. using acegi0.8.2 with websphere 5.1.0,and get Servlet Error!    forum.springsource.org

using acegi0.8.2 with websphere 5.1.0,and get Servlet Error! I deploy a web app in websphere 5.1.0. My web.xml is Code: securityFilter /j_security_check ........... securityFilter net.sf.acegisecurity.util.FilterToBeanProxy targetClass net.sf.acegisecurity.util.FilterChainProxy ...





17. Websphere 5.1 deploy isn't get spring.jar everytime    forum.springsource.org

Websphere 5.1 deploy isn't get spring.jar everytime I have deployed a web app developed with the Spring framework. I copied the jar into its web-inf/lib folder but when i reload the ...

18. Using Hessian inside WebSphere    forum.springsource.org

Using Hessian inside WebSphere Hi, I have a simple HessianServlet that implements an interface, yet when I try to invoke a remote method on it, WebSphere 6 complains: Caused by: java.lang.IllegalStateException: ...

19. WebSphere Compatibility    forum.springsource.org

WebSphere Compatibility I just started working with Spring and reading Spring in Action. I have run into some problems trying to run Spring in a web application in a WebSphere environment. ...

20. WebSphereNativeJdbcExtractor and Websphere 6.0    forum.springsource.org

Can anyone confirm that they are able to access a native Oracle jdbc connection via WebSphereNativeJdbcExtractor in Websphere 6.0, and use it for Oracle proprietary functions? It was my understanding that ...

21. SingletonBeanFacotryLocator and WebSphere    forum.springsource.org

SingletonBeanFacotryLocator and WebSphere Anyone have any luck getting websphere (5) to have a single shared application context among multiple EJBs? My EAR strucuture is something like: myapp.ear - webapp1.war - webapp2.war ...

22. ApplicationContext Problem (WebSphere)    forum.springsource.org

Jan 11th, 2006, 09:25 AM #1 michaelk View Profile View Forum Posts Private Message Junior Member Join Date Jan 2006 Posts 2 ApplicationContext Problem (WebSphere) I am deploying a web services ...

23. FilterChainProxy problem in WebSphere 6    forum.springsource.org

FilterChainProxy problem in WebSphere 6 Hi all, I'm getting a problem that was described in http://forum.springframework.org/showthread.php?t=22650&highlight=FilterChainProxy+ targetBean I changed the init-param from targetClass to targetBean : Code: Acegi Filter Chain ...

24. Log4J + WebSphere config    forum.springsource.org

Apr 4th, 2006, 01:28 PM #1 pea1 View Profile View Forum Posts Private Message Member Join Date Apr 2006 Posts 51 Log4J + WebSphere config If somebody could help me setup ...

25. Spring in WebSphere    forum.springsource.org

Spring in WebSphere I'm trying to understand what the connection between Spring and WebSphere could/should be. I'm new to both and a bit confused... I love the base ideas in Spring. ...

26. New to Spring with IBM Websphere IDE    forum.springsource.org

hi, I have installed the plugin to Websphere Application Developer Studio (WSAD) and confused on how to proceed from there. Some concerns I have are: Do I start a new "Dynamic ...

27. fileupload does not work in Websphere    forum.springsource.org

During the processing for fileupload in Controller we need to cast request object to MultipartHttpServletRequest. The problem is that in Websphere we get the request object type of com.ibm.ws.webcontainer.srt.SRTServletRequest , but ...

28. issue retrieving context from classpath in WebSphere 5.1    forum.springsource.org

Jun 28th, 2006, 05:28 PM #1 moraleslos View Profile View Forum Posts Private Message Member Join Date Apr 2006 Posts 33 issue retrieving context from classpath in WebSphere 5.1 Hi, I ...

29. Loading Spring context in Websphere 6.0.1    forum.springsource.org

Loading Spring context in Websphere 6.0.1 Not sure if this is the correct forum so here goes... I am having trouble loading the context which is defaulted to web-inf/applicationContext.xml. I am ...

30. Classpath issues with .hbm files in WebSphere    forum.springsource.org

Classpath issues with .hbm files in WebSphere Greetings. I've been beating my head against the wall trying to solve the following issue and hope someone here can help. Relevant Versions: - ...

31. WebSphere persistent namespace binding & simpleRemoteStatelessSessionProxyFactoryBean    forum.springsource.org

Edit: Solved my own problem: Code: com.ibm.websphere.naming.WsnInitialContextFactory

32. Spring in WebSphere    forum.springsource.org

http://www-128.ibm.com/developerwork...ringHirbernate What do you think of the "things to avoid" part for using Spring in WebSphere? I know those transaction issues may not be issues on WebLogic because BEA certifies Spring. ...

33. CMT with WebSphere 6.0 -> ConfigurationException    forum.springsource.org

CMT with WebSphere 6.0 -> ConfigurationException We are using Spring 2.0 and Hibernate 3.2 rc5 in an WAS 6.0 EJB-container. To let handle all the transaction work by the EJB-container we ...

34. LoadTimeWeaver for WebSphere?    forum.springsource.org

LoadTimeWeaver for WebSphere? Hi, Have had a lot of success posting JPA questions here previously, thought it might be worth it to try once more: I'm trying to set up JPA ...

35. Spring 2.0 and WebSphere 5.1    forum.springsource.org

Spring 2.0 and WebSphere 5.1 I'm having a bear of a time getting Spring to initialize a root WebApplicationContext in WebSphere 5.1 with a Struts 1.2 web application. I intend on ...

36. Websphere 5.1 TrLogFactory issue with Spring 2.0    forum.springsource.org

Websphere 5.1 TrLogFactory issue with Spring 2.0 We're using Spring 2.0 and deploying our application under both JBoss and Websphere. When deploying under Websphere we are seeing the following error: Code: ...

37. How to configure Spring under WebSphere Portal application    forum.springsource.org

Hi. I'm trying to use Spring under IBM WebSpherePortal. During initializations (both ways, setvlet, listener). Framework uses application context from my application server, but portlet in my application use context from ...

38. Websphere BeanFactoryPath problem    forum.springsource.org

Websphere BeanFactoryPath problem Sorry for this WebSphere specific post but I've trawled the net for a couple of hours and I've found nothing helpful so here goes... I'm using AbstractStatelessSessionBean, and ...

39. InstanceAlreadyExistsException in Websphere    forum.springsource.org

InstanceAlreadyExistsException in Websphere I'm running 6.1.0.5 of Websphere with Spring 1.2.8 and am running into a problem with registering mbeans at start up. The first time I start up Websphere with ...

40. Websphere MQ and Spring?    forum.springsource.org

I am required to create an inteface to propogate data from websphere MQ to an Oracle database. Would this be possible using messageDrivenPOJOS through Spring or should I write MDB, EJB ...

41. RMIConnector @ WebSphere 6.1    forum.springsource.org

RMIConnector @ WebSphere 6.1 Hi all, I need to connect with the RMIConnector of WAS 6.1. Actually I have already read 'several hundred' of WAS documentation pages but I still continue ...

42. Websphere 6.0 and DispatchServlet    forum.springsource.org

Websphere 6.0 and DispatchServlet I am trying to deploy a WebApp using Spring MVC. I get it to work under Eclipse, but whne I deploy to my UNIX box, I see ...

43. Websphere & Spring Request Timeout Error    forum.springsource.org

Apr 10th, 2007, 04:57 AM #1 kuanfai View Profile View Forum Posts Private Message Member Join Date Apr 2007 Posts 37 Websphere & Spring Request Timeout Error Hello experts: I am ...

44. websphere SSO and Acegy    forum.springsource.org

Hello, I've got 2 applications : 1- one using websphere basic authentication with LDAP 2 - the second using acegy basic authentication (same LDAP). I would like to use single sign-on ...

45. RsAdapter in Websphere 5.1    forum.springsource.org

RsAdapter in Websphere 5.1 I'm trying to connect to SQLServer 2000 using Spring DAO JDBC support. I was able to get a connection but I'm getting a null error.....See code below. ...

46. Problem with Spring+JSTL over WebSphere Community Edition    forum.springsource.org

I'm trying to run application (jasperserver) over WAS CE. I've changed web.xml & geronimo-web.xml... Application deployment finished. Real problem is: structures like ${XXX.XXX} do not change to their value. On TomCat ...

48. Unable to use spring 2.0.6 with Websphere 5.1?    forum.springsource.org

Unable to use spring 2.0.6 with Websphere 5.1? I have been using Spring 2.x and Tomcat 5.5 under JDK 5 for a while now and it works great. Recently, I've been ...

49. Spring Scalability under Websphere    forum.springsource.org

Spring Scalability under Websphere We're looking at utilizing Spring/Hibernate for an upcoming project but were a bit concerned with the scalability. In terms of size we're looking at as many as ...

50. OpenSessionInFlowListenerInterceptor odd behavior in WebSphere    forum.springsource.org

OpenSessionInFlowListenerInterceptor odd behavior in WebSphere Hello, I know that the OpenSessionInFlowListenerInterceptor class is not "officially" part of Spring (yet). But it's a very useful and necessary utility for complex webflows. It ...

51. Websphere & Echo Example Configuration Headache    forum.springsource.org

Jul 19th, 2007, 11:47 AM #1 jgrieb View Profile View Forum Posts Private Message Junior Member Join Date Jun 2007 Posts 10 Websphere & Echo Example Configuration Headache I'm running into ...

52. Getting WebSphere Portal Context    forum.springsource.org

Getting WebSphere Portal Context I'm implementing Spring Portlet MVC in WebSphere Portal 5.1. In order to do page navigation I need to execute the following code: Code: //initialization Context ctx = ...

53. Porting to Websphere    forum.springsource.org

Porting to Websphere We are trying to move a Spring/Hibernate application from Tomcat to WebSphere 6.1. The application works fine on Tomcat, but we are really struggling with WebSphere. I have ...

54. IllegalDestinationException with IBM Websphere MQ    forum.springsource.org

IllegalDestinationException with IBM Websphere MQ I am currently following the example from this page: http://java-x.blogspot.com/2007/01/m...ge-driven.html To make a regular POJO a message driven object. I have almost identical code to the ...

55. Using XWSS with Websphere    forum.springsource.org

Using XWSS with Websphere I'm trying to enable security for my webservices using xwss. Im running on Websphere 6.1. The problem I have is that I get the following error when ...

56. Spring Form Tags - WebSphere 6.1 - Slow Initialization    forum.springsource.org

Spring Form Tags - WebSphere 6.1 - Slow Initialization I'm using the form tags from Spring 2.5 and WebSphere 6.1.0.9. The performance time for the first initialization of jsp is incredibly ...

57. Spring with Websphere, dual configuration    forum.springsource.org

Hello All, i want to use websphere application server with spring hibernate for transaction management and also the connection pooling and all. i found the good article regarding this at http://www-128.ibm.com/developerwork...09_alcott.html ...

58. WebSphere V5 problem    forum.springsource.org

WebSphere V5 problem I developed a Spring 2.0 app and deployed it to my local instance of Tomcat successfully. I then deployed it to WebSphere V5, and it had a problem ...

59. JTATransaction Manager unable to locate UserTransation on WebSphere 6.0.2.17    forum.springsource.org

Mar 12th, 2008, 12:53 AM #1 khem76 View Profile View Forum Posts Private Message Junior Member Join Date Mar 2008 Posts 3 JTATransaction Manager unable to locate UserTransation on WebSphere 6.0.2.17 ...

60. PathMatchingResourcePatternResolver doesn't find config files in Websphere 6.1    forum.springsource.org

PathMatchingResourcePatternResolver doesn't find config files in Websphere 6.1 This works fine in WAS 5 and Tomcat 5.5. but not in WAS 6.1. I have the following specified in web.xml. contextConfigLocation ...

61. websphere 6 and spring 2.5 jsr168 portlet issue    forum.springsource.org

Apr 13th, 2008, 10:43 PM #1 bred View Profile View Forum Posts Private Message Junior Member Join Date Mar 2008 Posts 6 websphere 6 and spring 2.5 jsr168 portlet issue Hi, ...

62. trasnaction name in websphere    forum.springsource.org

Hi I am using Websphere 6.0.1.11 and Spring 2.5. I am having spring driven transactions and utilize WebSphereUowTransactionManager. My transactions are initiated on pojo services wrapped by remote BMT EJBs. Everything ...

63. Spring in RAD7 with WebSphere 6.1 fails to find AbstractStatelessSessionBean    forum.springsource.org

Spring in RAD7 with WebSphere 6.1 fails to find AbstractStatelessSessionBean Hi! Has anyone got Spring to work in such an environment? I have problem to get RAD to find the AbstractStatelessSessionBean. ...

64. context:component-scan and websphere 6.1    forum.springsource.org

context:component-scan and websphere 6.1 Spring 2.5.3, RAD 7, Websphere 6.1. context:component-scan works wonderfully in RAD 7 with my Webspshere 6.1 test environment. But I encountered a problem deploying to the production ...

65. Spring 2.5 and Tiles 2 config issue in Websphere 6.1    forum.springsource.org

Spring 2.5 and Tiles 2 config issue in Websphere 6.1 Hi All, I am trying to migrate an application using Sprig 2.5.0 and Tiles 2 under Websphere 6.1 which gives me ...

66. Springs and Websphere    forum.springsource.org

Springs and Websphere I've read a bit on an already existing thread on Spring and Websphere and I still got some questions on the best approach. I am currently working with ...

67. Load Time Weaving in WebSphere 6.1    forum.springsource.org

Hi, has anyone got LTW working with WebSphere 6.1? In the JIRA issue SPR-4331 (http://jira.springframework.org/browse/SPR-4331), Juergen says that the InstrumentationLoadTimeWeaver is the only way at the moment. I specified -javaagent:/spring-agent.jar in ...

68. Wiring Spring on WebSphere Portal    forum.springsource.org

Hello - Does the Spring Community have any samples on how to wire Spring on to WebSphere portal? Our plan is to pretty much use Spring MVC Portlets and kind of ...

69. authorize JSP tag not working on WebSphere 6.1    forum.springsource.org

authorize JSP tag not working on WebSphere 6.1 Hi, I am using Spring 2.5.5, Spring Security 2.0.4 in a Spring MVC web app which needs to run on WebSphere 6.1 (6.1.0.13 ...

70. Cannot find persistence.xml in Websphere 6.1    forum.springsource.org

Jan 8th, 2009, 01:26 PM #1 khaskett View Profile View Forum Posts Private Message Junior Member Join Date Jan 2009 Posts 8 Cannot find persistence.xml in Websphere 6.1 My current configuration ...

71. Websphere Application extensions and Spring DM    forum.springsource.org

Websphere Application extensions and Spring DM I quote websphere 6.1 documentation In addition, now your applications can use the Eclipse extension framework. Your applications are extensible as soon as you define ...

72. spring deployment on Websphere?    forum.springsource.org

spring deployment on Websphere? I am just learning spring.... I was wondering how is spring deployed with other applications developed. Lets say I have an EAR file with dependencies on the ...

73. Websphere ANd PROPAGATION_REQUIRES_NEW    forum.springsource.org

Mar 15th, 2009, 04:46 AM #1 carlo_camer View Profile View Forum Posts Private Message Junior Member Join Date Mar 2007 Posts 5 Websphere ANd PROPAGATION_REQUIRES_NEW Hi, ENvironemtn: WIndows 2003 Websphere 6.1.0.21 ...

74. No Namespace generated in Websphere 6.1    forum.springsource.org

No Namespace generated in Websphere 6.1 Hi All, I am using Spring WebServiceTemplate.marshallSendAndReceive(....) with Jibx1.5 as a Marshaller/UnMarshaller. If I deploy my codes into Tomcat 6 server then it's working fine. ...

75. HTTP invoker problem with com.ibm.jsse2.SSLSocketFactoryImpl in Websphere 6.1    forum.springsource.org

May 19th, 2009, 02:52 PM #1 umeshpatil View Profile View Forum Posts Private Message Junior Member Join Date May 2009 Posts 1 HTTP invoker problem with com.ibm.jsse2.SSLSocketFactoryImpl in Websphere 6.1 HI ...

76. WebSphere: How to get the WCM Workspace    forum.springsource.org

Hi! I'm working on a Portlet (JSR 168) for IBM Websphere and I need an Instance of the com.ibm.workplace.wcm.api.Workspace. In an example without Spring I found the following: Code: Workspace workspace ...

77. Schema (with imports) validation error on WebSphere    forum.springsource.org

HTML Code: Caused by: org.xml.sax.SAXParseException: src-resolve: Der Name 'p13:Log' kann nicht in eine Komponente 'type definition' aufgelst werden. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source) at ...

78. Problem parsing Spring config xml on WebSphere    forum.springsource.org

Hi, I'm not shure whether this is the right forum, but I don't know where to post else. I try to inject a bean via Spring in a JSF managed bean ...

79. file.transferTo() not working in websphere    forum.springsource.org

Hi guys, I had been uploading a file from local filesystem to a mapped network drive and able to do that great with tomcat 6.0 as the deployment of my war ...

80. WebSphere 6 Server Console Output Issue    forum.springsource.org

WebSphere 6 Server Console Output Issue I just downloaded the 64-bit STS and installed it on Windows 7. I was able to create create a WebSphere server using the STS wizards. ...

81. HTTP 404 on Websphere 6.1    forum.springsource.org

HTTP 404 on Websphere 6.1 Hi Guys, I've been trying to run my application in Websphere 6.1.0.19 for the last 3 days without any success. The application runs fine in Tomcat ...

82. Load time weaver issue on Websphere    forum.springsource.org

Load time weaver issue on Websphere I'm trying to deploy an app using Eclipselink as my JPA Layer on IBM Websphere 7.0.0.9, using Spring 2.5.6. This app is being ported from ...

83. WebSphere 5.0 and WebSphereTransactionManagerFactoryBean    forum.springsource.org

WebSphere 5.0 and WebSphereTransactionManagerFactoryBean Good Day, javascript:emoticon(':?') Confused I am trying to get the Connection from a DataSoure that is managed by WebSphere 5.1 Application Server. I was able to lookup ...

84. WebSphere LocalTransActionContainment conflict    forum.springsource.org

When I run unit tests for a JtaTransaction manager managed tx enabled system from a servlet I get the following error the first time i run the servlet only: "Cannot start ...