websphere 1 « websphere « Java Enterprise Q&A





1. WebSphere 6.1 generational gc default nursery size limit    stackoverflow.com

By default the nursery is supposed to be 25% of the heap, we have the initial heap size set to 1GB. With verbose gc on, we see that our nursery ...

2. IBM Websphere OutOfMemoryException    stackoverflow.com

Often, I found OutOfMemoryException on IBM Websphere Application Server. I think this exception occur because my application retrieve Huge data from database. So, I limit all query don't retreive data more than ...

3. What does "Message Catalog Not Found" mean?    stackoverflow.com

I have a MDB running in WebSphere, when it tries to pull a message off an MQ Queue the following exception is thrown: com.ibm.mq.MQException: Message catalog not found Any ...

4. Can this Java singleton get rebuilt repeatedly in WebSphere 6?    stackoverflow.com

I'm trying to track down an issue in our system and the following code worries me. The following occurs in our doPost() method in the primary servlet (names have been ...

5. Where does Websphere get the WSDL from?    stackoverflow.com

I have a java application that has Web Services published using Axis. With the latest release one of the service methods in the WSDL is wrong. It has a field in ...

6. Looking for a good WebSphere book    stackoverflow.com

My spouse is looking for good book on WebSphere. Preferebly from starter to advanced. She is an experienced developer. Can anybody reccommend a title? Thanks in advance.

7. How to rename an application server in WebSphere Application Server 6.0.2.23    stackoverflow.com

We are repurposing an application server running WebSphere 6.0.2.23. I would like to rename the various application server to better reflect its new role. How can you rename an ...

8. LinkageError: loader constraints violated when linking javax/xml/namespace/QName in Websphere6.1 using resteasy    stackoverflow.com

I am getting this error when making a web services call. I couldn't figure out a workround for this. ANy help is greatly appreciated. related library I have is: axis-1.3.jar
axis-jaxrpc-1.3.jar
axis-saaj-1.3.jar
axis-wsdl4j-1.5.1.jar ...

9. Any experiences with Websphere Integration Developer (WID)?    stackoverflow.com

My company (a large organization) is developing a "road-map" for evolving their rather old, tangled confederation of systems to an SOA model. A few people are pushing hard for using ...





10. Why use WAS-CE over Apache Geronimo?    stackoverflow.com

What benefits do I gain by using IBM WebSphere Application Server Community Edition over Apache Geronimo?

11. Is prior knowledge of Java required in order to learn WebSphere administration?    stackoverflow.com

Do we need any prior knowledge of Java in order to learn WebSphere administration? If so, what should we know?

12. CPU Usage Spikes in WebSphere 6.1    stackoverflow.com

First, just a bit of background: One of our customers is experiencing CPU usage spikes for WebSphere instances running one of our web apps (other instances with other apps are fine). They ...

13. Websphere configuration template    stackoverflow.com

Does anyone know if it is possible to export existing configuration of websphere application server 6.1 and import it to other instance of WAS ?

14. Minimum to know about Websphere 6    stackoverflow.com

I'm unemployed and I have a job interview tomorrow where knowledge about Websphere 5.x and Websphere 6.x is required. I only use Tomcat and Glassfish. What is the strict minimum to know ...

15. What type of business/technology use might justify the high cost of a Websphere license?    stackoverflow.com

In a large corporation I worked in previously a manager purchased a $50,000+ Websphere production license despite the fact that he only needed a container to run a couple of servlets ...

16. Using Flex/Air with J2EE    stackoverflow.com

I work on a large financial system which is hosted on WebSphere and currently has an applet front end. I am just playing around with Flex for the first time and ...





17. Prefered methods for interacting with a rules engine    stackoverflow.com

I am about to dive into a rules oriented project (using ILOGs Rules for .NET - now IBM). And I have read a couple different perspectives regarding how to set ...

18. nullpointerexception on request.getHeaderNames method call in websphere    stackoverflow.com

In websphere (version 6 sp11) on request.getHeaderNames method call, i get this exception

java.lang.NullPointerException

            at com.ibm.ws.webcontainer.srt.SRTServletRequest.getHeaderNames(SRTServletRequest.java:345)

      ...

19. Websphere slow URLConnection    stackoverflow.com

We have a Websphere version 6.1 deployed on a Linux environment. To open an https connection we call openConnection() and connect() on a java.net.URL object. Opening this connection takes aproximately 3 minutes. ...

20. Where can I view WebSphere environment variables?    stackoverflow.com

In WebSphere Application Server (version 6.1) my JDBC Provider Classpath is ${ORACLE_JDBC_DRIVER_PATH}/ojdbc14.jar Where in the WebSphere administration console can I see what the ORACLE_JDBC_DRIVER_PATH is set to?

21. Prevent JEE application start on WebSphere on exception    stackoverflow.com

Is there a way with WebSphere 6.1.0.25 to prevent an enterprise application from starting due to an exception? I have a ServletContextListener that I rigged to throw a RuntimeException during ...

22. Best to way to re-load java classes without WebSphere re-start?    stackoverflow.com

Any re-sources or best-practices for implementing dynamic class re-loading feature into a J2EE WebApp on WebSphere App Server? The point is I don't want to bring down my web-application while certain classes ...

23. Websphere interview questions    stackoverflow.com

My boss told me to help in a phone interview with a candidate which is mainly a DB2 admin but claims to have Websphere administration skills. I told my boss I ...

24. How to call JMagick from a web application    stackoverflow.com

I have a servlet based application for serving stored documents and images. The images were all stored as jpg with standard sizes based on corporate standards at the time the ...

25. Websphere 6.1 server    stackoverflow.com

I have an issue in loading jars in websphere server. Some of the jars are present in WEB-INF/lib and some are present in local hard drive(ex., c:\lib folder). How can i ...

26. How to use the information in an LTPA token    stackoverflow.com

Consider the following setup:

  • A webapplication deployed on a Websphere Application Server (6.1 if it matters)
  • the app will get accessed through a webseal reverse proxy
  • the webseal takes care of the authentication and ...

27. How to set RESPONSE Headers globally using J2EE container (Websphere)    stackoverflow.com

Is there a way, at the web server level (web.xml) to set headers for all transactions? Specifically, I would like to do this:

response.setHeader("Cache-Control", "no-cache, no-store");
response.setDateHeader("Expires", -1);
at the application level. ...

28. How to precompile a ColdFusion application under Websphere/Solaris 10    stackoverflow.com

I am in the process of installing a ColdFusion application on Solaris 10 64-bit (Sparc) running with WebSphere 6.1. The cfcompile script that comes with CF makes a reference to jrun.jar ...

29. difference between Stop, Immediate Stop and Terminate in WAS6.1    stackoverflow.com

What is the difference between "Stop", "Immediate Stop" and "Terminate" in case of a Websphere Application Server instance. Specifically in the context of in-flight requests and in-flight transactions at the time.

30. JAX-RPC GenericHandler fails on Websphere Application Server v6.0.2.35    stackoverflow.com

I've created an Extension of GenericHandler called SOAPHeaderHandler. I placed log4j statements in the handler and can see the constructor being built. When I generate a SOAP message, however, I don't ...

31. websphere application server license?    stackoverflow.com

Hi I am using IBM Websphere application Server 7.0 trial version and the priod was expired. So please let me know how to get the licensed version for the same? Thanks ...

32. Global Filter for all Web Applications    stackoverflow.com

In a J2EE application, how do I create a global Filter that can access other webapps installed on that app server?

33. Java Process Servers Good Idea or Not?    stackoverflow.com

Just want to shout out to the community to see what peoples thoughts are on Java process servers in general. IBM in particular tend to make a lot of noise about ...

34. Ajax request during a file upload takes a long time to complete    stackoverflow.com

I'm using a Webphere server. I am performing a file upload through a servlet using the Apache FileUpload methods. I attach a listener to this FileUpload which updates a "percentage" field ...

35. Connect visualvm to websphere 7    stackoverflow.com

I am trying to get visualvm and websphere 7 to work together on my local windows desktop. I try to connect through JMX but no luck. Has anybody managed to get ...

36. What is the effect of recursion on a server?    stackoverflow.com

I've heard that running recursive code on a server can impact performance. How true is this statement, and should recursive method be used as a last resort?

37. ColdFusion - Alternatives to PreCompilation for IPR (Intellectual Property Rights)    stackoverflow.com

Our security policy does not allow us to expose our source code to clients. Typically, in the ColdFusion world a sourceless distribution is carried out by running the code ...

38. Why is 'java.net.SocketException: jks not found'?    stackoverflow.com

I am passing the following VM arguments to a WS client application that runs on Websphere 5.1.1 JRE, one on Windows XP and one on Linux but get different behaviors. ...

39. How can 2 applications on the same websphere server see each others static content?    stackoverflow.com

We have one websphere server with multiple applications running on it. They're all running on separate profiles, but they are somehow able to access each others static content. For example, the ...

40. what is the default timezone in Websphere 6.1    stackoverflow.com

Hi am running websphere 6.1 on RSA what is the default timezone set on it if i dont set any websphere variable etc(like the TZ variable). Running into this weird issue where ...

41. Websphere Scheduler    stackoverflow.com

Websphere Scheduler is using scheduler datasource XA driver . When task is executed by scheduler it is starting a global transaction, but in our application we are creating a new connection ...

42. WebSphere Application Server 6.1 support for Java 1.6?    stackoverflow.com

Can I use Java 1.6 with WebSphere Application Server 6.1? IBM's website says no. But I require Java 1.6 for a software application to be deployed and I cannot ...

43. Can WebSphere variables be used in extendedDocumentRoot?    stackoverflow.com

Can variables be used in the ibm-ext.xmi file for the extendedDocumentRoot attribute on WebSphere 6.x? It appears they are available for Websphere 7.

44. Where can I find WebSphere configuration files?    stackoverflow.com

I would like to know where are the WebSphere configuration details saved? Specifically, configuration details that are shown in the Administrative Console (from the web) or from the console using wsadmin. Some of ...

45. How can I access custom properties in WebSphere?    stackoverflow.com

I have set some custom properties for a container in WebSphere, but I can't figure out how to read those properties back. I've tried System.getProperty(...), but it's empty. I've seen references ...

46. In which file the custom properties information gets stored in WAS?    stackoverflow.com

I have entered some wrong properties in the custom properties because of which my Administration Console is not coming up. So i am not able to re configure it. please if ...

47. WebSphere application server - name of server (server1)    stackoverflow.com

May I know if all the server names in WebSphere Application Server is strictly limited to this pattern

server1
server2

48. How to enable IBM Websphere Application Management Service?    stackoverflow.com

I try to use the IBM Websphere $AdminApp (and the Ant tasks) to install/update an application EAR on a remote server. You may want to read this question too. Manual process I ...

49. websphere, 100% when authenticating against Active Directory    stackoverflow.com

I've got Websphere 6.0.29 setup to authenticate against Active Directory, but when I log in to my Webapp with a valid user the CPU goes to 100% and doesn't recover, if ...

50. WebSphere Applicatin Server free edition    stackoverflow.com

Is there WebSphere Applicatin Server free edition available for non-production usage. I don't mean WebSphere Applicatin Server Community edition, which is WAS bannered Apache Geronimo AS. If making no mistake i ...

51. How to modify trace service programmingly at runtime in Websphere V7?    stackoverflow.com

As you know, Was V7 has the function to configure log in Admin console. But, I want to modify these configurations via my code. So, does it exist some APIs to ...

52. Accessing Websphere 6.1 variables    stackoverflow.com

I would like to get the value of the Websphere variable APP_INSTALL_ROOT from a java class. How can this be done.

53. Configure Websphere not to wrap RuntimeExceptions thrown from Filter.doFilter    stackoverflow.com

When working with Websphere 7.0, RuntimeExceptions thrown from the Filter.doFilter are wrapped in a ServletException, instead of being propagated as they are. Is there any way of configuring Websphere to throw the ...

54. Problem with RMS and Websphere 6.1 32 bit    stackoverflow.com

I'm facing a problem with Websphere and RMS, followings are what I have:

  • Windows 2003, sp2, 64 bit, enterprise edition.
  • Microsoft Office word 2003 sp3.
  • The machine is connected to a domain, and I ...

55. Has anyone been able to hotdeploy using m2eclipse on Websphere 6.1 with MyEclipse?    stackoverflow.com

I've been looking around for a while how can I hotdeploy my projects when using m2eclipse plugin on MyEclipse and working with Websphere 6.1. What I've done so far is to deploy ...

56. How can I teach myself websphere?    stackoverflow.com

I have a chance to learn how to administer and develop for WebSphere. But after trying to find a book for it I am at a loss where to begin. ...

57. Websphere 7 is way too slow what have you done to make it publish faster?    stackoverflow.com

Publishing a change in websphere 7 takes longer than it does to change a tire. Even just making a change to a jsp is taking 7-10 minutes. I have scoured the ...

58. Is there a way to find out how long it takes for websphere process a request    stackoverflow.com

I have an issue where I need to monitor how long it takes for Websphere to process a request. Specifically I need to know how much time is spent in ...

59. Websphere App Server 6.1: Redeploy after web.xml change required?    stackoverflow.com

In WebSphere Application Server 6.1, is it necessary to redeploy the application (WAR/EAR) every time a change is made to a web.xml descriptor file?

60. How do I load/initialize my class as soon as my app is started?    stackoverflow.com

We have a Java app that runs on Websphere. I have one class that I want to load and initialize as soon as Websphere loads, or as soon as the ...

61. how to find un serialized objects in application    stackoverflow.com

I am working with WebSphere and Struts hiberntae technology. My onsite team reported serialiazation problem while they were working.But i didn't faced the problem in my machine. Is there anything should ...

62. What's the difference between Interface Map and Mediation Module?    stackoverflow.com

What is the difference between Interface Map and Mediation Module in terms of IBM WID?

63. websphere application server    stackoverflow.com

What is the exact use of this bellow entry in WAS6.1 server.xml. Can you please tell me why we need this "defaultCookieSettings" and his attribut "secure=false". defaultCookieSettings xmi:id="Cookie_1282579260990" domain="" maximumAge="-1" secure="false"

 <components ...

64. How does ThreadMonitor work?    stackoverflow.com

I use work manager to do database synchronization in several university to core banking: the sync will start every 5 minutes until completed. but I've got an error:

ThreadMonitor W ...

65. OutOfMemoryError geeting in websphere application server 6.1 with jdk1.5    stackoverflow.com

native_stdout.log:Exception java.lang.OutOfMemoryError: requested 289064 bytes for Chunk::new. Out of swap space?
native_stdout.log:Exception in thread "CompilerThread0" java.lang.OutOfMemoryError: requested 475344 bytes for Chunk::new. Out of swap space?
native_stdout.log:Exception java.lang.OutOfMemoryError: requested 5242880 bytes for GrET* in ...

66. How do you redirect context roots in WebSphere 7?    stackoverflow.com

How do you map 2 context roots to one application in WebSphere 6. For example, I have an application with a context root of "/", which is obviously the default application. ...

67. How does Websphere implement DRS?    stackoverflow.com

I've read about Websphere's Data Replication Services (DRS), which is the backbone of its clustering services. What I don't know is what is its implementation - how does it transfer data and ...

68. Include WebSphere runtimes    stackoverflow.com

What's the best way to include the WebSphere runtimes when building a ear file using Maven? Using ant, I just added the absolute path to the lib directory in the ...

69. How to restore the original order of xsd:elements in xsd:sequence wrappers when websphere is upgraded?    stackoverflow.com

So, there's a project around these parts that's pretty old. It's using Java 1.4 and XFire to produce code-first web services (I know, I know, best practices...). Anyways, the ...

70. Where to place a data file in Websphere?    stackoverflow.com

I have a war deployed on a Websphere box. It uses a file to build up a trie structure inside a web service. Instead of having to redeploy an updated ear ...

71. Old versions of WebSphere Application Server v7 (Free Trial)    stackoverflow.com

Yesterday, I've downloaded and install the free trial version of WAS v7. The version I've downloaded is 7.0.0.9 but I need to certify my application against 7.0.0.3. Where can ...

72. iseries datasource lock timeout    stackoverflow.com

we're having an issue with lock timeouts connecting from a was 6 server to an iseries v6r1 db. We have the default table and record lock wait times on the relevant tables, ...

73. How to prevent IBM websphere automatically adding header blocking cookies    stackoverflow.com

For all redirect responses IBM Websphere automatically adds header as below:

Cache-control: no-cache="set-cookie, set-cookie2"
This header affects IE browsers only and turns cookies off. The header is added for redirect responses (code 302) ...

74. How to catch an LTPA WebSphere exception    stackoverflow.com

When using LTPA basic authentication with WebSphere 7 if a password is incorrect an exception is thrown thus:

[11/24/10 14:51:44:405 CET] 00000011 exception     W com.ibm.ws.wim.adapter.file.was.FileAdapter login 
  ...

75. how do I test httpOnly cookie flag    stackoverflow.com

I have set the following property in websphere for the jsession cookie com.ibm.ws.webcontainer.HTTPOnlyCookies. Any idea how best to test this using javascript in firefox or IE? thanks G

76. How to implement singleton for use in application servers, singleton OK?    stackoverflow.com

I have some code that gets run a lot (for every webservice request). The code is called from within a web service which is hosted by an application server (Websphere 7). I noticed ...

77. Connecting websphere 7 Using JConsole    stackoverflow.com

Can someone help me for resolving the below issue with JConsole & Websphere&7 I was trying to connect to Websphere 7 using JConsole. However JConsole wasn't able to connect to Websphere 7. I ...

78. Sending mail using javamail api from IBM Websphere Application Server    stackoverflow.com

How to send mail using gmail from IBM Websphere Application Server 7 using javamail 1.4 api without using a certificate? I either get

javax.mail.MessagingException: Exception reading response; ...

79. Standard mounting in a server (unix/websphere)    stackoverflow.com

I am designing a new web server which is websphere based and is running on unix. I wan't to know how should I divide my disk space between the websphere dir, the ...

80. Ways to specifying "Routes" and "URIGroups" in WebSphere AS    stackoverflow.com

Environment: WebSphere Network Deployment edition v6.1 (on Linux) We have 2 applications "Main" and "Dynamic" that each run on a server cluster. Each of these applications is set to run from its ...

81. ClassDefNotFoundException even though the class is loaded by the classloaders (Multiple Apllications are installed on the Server)    stackoverflow.com

I have two Applications Installed on Websphere Server v.6. 1. SGOApplication 2. ReportingWeb SGOApplication has a shared library mapped on Application Level i.e. SGOAPPSHLIB This library is having a logging framework jar(logsrv.jar). There is a ...

82. Websphere 6.1 to 7 how to update ibm-web-bnd.xmi to ibm-web-bnd.xml    stackoverflow.com

In Websphere 6 ibm-web-bnd.xmi file I have

<?xml version="1.0" encoding="UTF-8"?>
<webappbnd:WebAppBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:webappbnd="webappbnd.xmi" xmi:id="WebAppBinding_1294064796872" virtualHostName="default_host">
  <webapp href="WEB-INF/web.xml#WebApp_ID"/>
  <resRefBindings xmi:id="ResourceRefBinding_1294083767913" jndiName="jdbc/ABC_DEFG">
    <bindingResourceRef href="WEB-INF/web.xml#ResourceRef_1294083767913"/>
  </resRefBindings>
</webappbnd:WebAppBinding>
I would like to ...

83. Get queue name from within MDB    stackoverflow.com

Is it possible to infer the name of the bound queue or listener port from within an MDB?

84. Using keystores with Websphere and WSS4j    stackoverflow.com

I am implementing a solution that includes using WSS4j for signature validation and decryption.There will be two key stores, one for each of these purposes.This is being done in a servlet ...

85. Application status monitoring in websphere    stackoverflow.com

is there a way to interact with websphere 6.1 from a servlet to check if an application is running ? If so, is such transaction too resource-consuming operation to do it ...

86. Websphere AS 7.0 login    stackoverflow.com

All, I am using Websphere AS 7.0 along with my RAD 7.5. When I try to use the Admin console from with in RAD (http://localhost:9061/ibm/console) and from a different browser (IE/Firefox), I get the ...

87. Can't start IBM Websphere CE - SnapshotConfigXMLBuilder MalformedURLException: unknown protocol: c    stackoverflow.com

I've downloaded IBM Websphere Community Edition 2.1.7 (with Java SDK), and installed it. I've verified that my Java version is sufficient by typing java -version (I get 1.6.0). I've tried starting ...

88. unexpected excpetion java.math.BigDecimal runing on IBM WebSphere    stackoverflow.com

Running Java application on IBM WebSphere caused such exception:

Caused by: java.lang.NullPointerException
at java.math.BigDecimal.add2DFP(BigDecimal.java:1946)
at java.math.BigDecimal.add(BigDecimal.java:1881)
at com.somepackage.components.view.PremiumSummaryViewModel.setPremiums(PremiumSummaryViewModel.java:101)
Null check is done. As I reviewed java.math.BigDecimal class has no such method add2DFP and does not callilng ...

89. PA_WCMLocalRendering missing    stackoverflow.com

Installed portal 7 with WCM, WCMLocalRendering is missing ... any ideas ?

90. Need help to find out why Websphere Application Server has many .lck files    stackoverflow.com

The file names seesm to point to our WAS data sources. However, we're not sure what is creating them and why there are so many. The servers didn't seem to crash. ...

91. ADMA0176E PrivilegedActionException: Application installation of {0} faild with PrivilegedActionException    stackoverflow.com

when trying to add a project to my WebSphere, I get the following error:

ADMA0176E: Application installation of {0} faild with PrivilegedActionException. Ear file path is {1}.
Any idea what I ...

92. IWA and WebSphere?    stackoverflow.com

Is Integrated Windows Authentication available in WebSphere (7)? Specifically, how is it possible to obtain the username and group memberships of the user accessing a web application via a IE? ...

93. Websphere: security-constraint in web.xml doesn't work    stackoverflow.com

I'd like to protect a single .jsp-page from anonymous access. I'm trying to do that the following way:

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
t-webapp</display-name>
<servlet>
<servlet>
  ...

94. Bean could not be found or loaded issue on WAS7 with RAD8.0    stackoverflow.com

I have deployed an ear on my WAS7 profile. I did a "Prepare for Deployment" for my ejbmodule and stubs have been generated. But during my server startup it says "Bean ...

95. WebSphere Application Server - exportWasprofile for multiple nodes?    stackoverflow.com

is there a way for exporting WAS profile which has multiple nodes? exportWasprofile only works for base servers with single node. WAS v6.1 is the version of the product.

96. How can I add websphere admin jars to Hudson's class path?    stackoverflow.com

I try to use Hudson's Deploy Websphere plug-in to deploy my artifacts to remote websphere. From the plug-in documentation, I need to do this: The following WAS JAR files need to ...

97. how to give permission to WAS for writing file    stackoverflow.com

i having task to upload file to Web application server, when test with local server its working fine, but once deploy into real server, when upload there is error 'Permission denied', ...

98. Need help with some questions about WSAD - Websphere (Java)    stackoverflow.com

Practicing for an exam in WSAD - Websphere (Java) and there is a question I do not understand how to solve. Based on the following image http://i51.tinypic.com/msdpwo.png you should ...

99. .net adapter for websphere process server    stackoverflow.com

We are looking at ways to integrate WebSphere (6.1.0.17) with .net. Is there a native adapter or do we need to go via a web service call?

100. Does anyone know how to disable directory browsing in websphere 7?    stackoverflow.com

We have leveraged some security tools to scan our application in websphere. A Directory Listing problem exists. Does anyone know how to disable directory browsing in websphere? Thanks, Joseph