websphere

Redirecting from the doView method in a portlet

I'm using Websphere portal 6.0 and I'm wondering if there's a way in which I can tell the server which page to render from the doView method. I know I can do it from the processAction method but unfortunately the semantics of the problem don't allow it. Thank you for your help ...

External javascript character encoding on Webshpere

Hello. How can one set character encoding on external JavaScript files using only Websphere (5.1)? I don't have Apache in front of it so I can't set it using "AddCharset UTF-8 .js". Or maybe there is some other way to force it on a web container via web.xml or similar magic? ...

Using ServletOutputStream to write very large files in a Java servlet without memory issues

I am using IBM Websphere Application Server v6 and Java 1.4 and am trying to write large CSV files to the ServletOutputStream for a user to download. Files are ranging from a 50-750MB at the moment. The smaller files aren't causing too much of a problem but with the larger files it appears that it is being written into the heap which is...

How to configure classloader for ear in websphere 6.1 (specifically wsdl4j)

I have a war file (actually not my own, it's Apache ODE 1.2) that fails to deploy into WAS 6.1 because of a classloader issue - and a specific incompatibility with wsdl4j. If I manually edit the classloader for ODE and create a shared-library for wsdl4j1.6.1 it's all fine. However, the client has come back stating this is not acceptable...

How do we get back a specific session using sessionId?

I work on a task that involves moving/traversing from one application to another. The applications are in separate JVMs. While traversing to the other application, I keep track of the session ID. However, as I traverse back and forth, a new session gets created. Is there any way for me to get back the same session, using the sessionId...

Strange garbage collection behaviour with Websphere Portal Server

We're running a fairly complex app as a portlet on Websphere Portal Server 5.1 on AIX using IBM JDK 1.4.2. On our production system I can see a strange behaviour in the verbose GC logs. After a period of normal behaviour the system can start rapidly allocating larger and larger blocks. The system starts to spend > 1000 ms to complete eac...

Do we need any prior knowledge of java for learning websphere administration...?

Hi, Do we need any prior knowledge of java for learning websphere administration...?If required what and all we should know in java before entering to websphere administration..?your comments are valueble thanks, sivaram ...

transaction management with common-j components

We have a Websphere JEE application that requires parallelization, for which we're looking to use CommonJ work components. Each 'thread' would require its own view onto data coming from a database. Most of this would be pre-fetched, but it would still need to go to the database to get some. We anticipate that the duration of the overa...

IBM Websphere on Windows- OutOfMemoryError: Failed to create a thread

I have a J2EE application running on an IBM Websphere Application Server on a Windows Operating System. Occasionally I see an OutOfMemoryError Exception with the following information in the javacore file. 1TISIGINFO Dump Event "systhrow" (00040000) Detail "java/lang/OutOfMemoryError":"Failed to create a thread: retVal -1073741830...

WebSphere Application Server Feature Pack for Web 2.0

We are in the process of doing a POC on AJAX push technology. Some of the things we are looking at are Ice Faces Push Technology, Richfaces a4j:push and WebSphere Application Server Feature Pack for Web 2.0. We find an issue with WebSphere Application Server Feature Pack for Web 2.0 in that going down this road we become a slave to th...

CPU Usage Spikes in WebSphere 6.1

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 have a test environment and a live environment (both iSeries) which both experience the problem - with a single app per instance setup. We have deploy...

Can I set the classloader policy for WebSphere in the ibm-web-bnd.xmi file?

I have a JEE application that runs on WAS 6. It needs to have the class loader order setting to "Classes loaded with application class loader first", and the WAR class loader policy option set to "Single class loader for application". Is it possible to specify these options inside the EAR file, whether in the ibm-web-bnd.xmi file or so...

Is there a way to automate EAR deployment in WebSphere and OracleAS?

Hi, I am looking for a solution to automate EAR deployment for OracleAS and WebSphere application servers. Can you guys suggest some open source solution for this? Thanks, Venkat ...

MQJE018: Protocol error - unexpected segment type received

Calling all MQ Gurus, I have a box under my desk which we use to replicate our production environment which is: WebSphere 6.1 Fedora Linux MQ 6.0 Whenever one of our applications tries to send a message to a MQ queue we get the following error: MQJE018: Protocol error - unexpected segment type received Any suggestions on what this mi...

WCF -> Websphere Integration Developer and polymorphism

I have a .NET WCF service which exposes an object that uses polymorphism. Apparantly, Websphere Integration Developer is unable to handle this properly (I am not the Websphere developer), except by adding all fields of all possible polymorphisms and using a enum or such to say that it is an object of such and such type. I can't possi...

Websphere Integration Developer and nullable types - from WCF

Websphere Integration Developer seems to have a bug with nullable types. To get around it, you need to ensure that all nullable types (including reference types) have a value set. I haven't digged deep in this yet, the problem might be that a null element isn't included at all, and perhaps thus causes it to break, but it'll be easier i...

IBM RAD (Rational Application Developer) 7 and Websphere 6.1 slow and unresponsive

Does anyone have any performance tips or other help for local development with websphere and rad. I am using one web app of moderate size (1000? classes) and it is impossible to handle the app locally on a windows box. The websphere 6.1 configuration uses the default configs. RAD7 is configured to handle a max heap of 1024mb. I thoug...

Websphere configuration template

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 ? ...

Line numbers in StackTrace point to method start

We're developing a web application with Rational Application Developer 7.5 (based on Eclipse 3.4) for WebSphere Application Server 6.1 . When examining stacktraces on a staging server, the line numbers always point to the beginning of the methods, never to the actual line. In the local development environment (each developer has his loca...

What is the difference between a Dead Letter Queue and a back out Queue?

Hi, What is the differece between a dead letter Queue and a back out queue? In WebSpehre MQ terms and in terms of Application Servers. All J2EE app servers have a MQ Provider do they also have a construct of a Dead Letter Queue or is that something specific to WebSphere MQ? My understanding of a back out queue is as follow: If MQ is...