websphere

Connection Pooling - How much of an overhead is it?

I am running a webapp inside Webpshere Application Server 6.1. This webapp has a rules kind of engine, where every rule obtains its very own connection from the websphere data source pool. So, I see that when an use case is run, for 100 records of input, about 400-800 connections are obtained from the pool and released back to the pool. ...

WebSphere 6.1: can not start admin console after SSL-cert installation

I installed a self-signed certificate and restartet. Now i can't start the admin console any more. I am really new to websphere, and must have some errors when installing the certificate. When I connect to https://localhost:9043/ibm/console I get the following error in firefox: ssl_error_no_cypher_overlap and the following exception...

Websphere 6.1 - Precompile jsp files

What is the best way to precompile JSP files in Websphere (6.1)? I have looked at other questions related to JSP precompilations, but as each AppServer has specific settings, I would like to know specifically a solution for Websphere. I found some references in the net to edit the file ibm-web-ext.xmi: Add the following line before th...

What is stored in the JNDI cache?

We are using WebSphere 6.1 on Windows connecting to a DB2 database on a different Windows machine. We are using prepared statements in our application. While tuning a database index (adding a column to the end of an index) we do not see the performance boost we saw on a test database with the same query, after changing the index the pr...

Performance and information JSP compilation and runtimes (websphere, tomcat)

Does anyone have any information on the performance of JSP runtimes. I haven't found any statistics on them. For example,are there any performance or memory issues with how I use jsp includes or EL expressions, which ones should I stay away from. Does tomcat have any issues? ...

How could it be that classloader address changes in Websphere 6.1 (IBM JVM)

I observe in consecutive javacore dumps that the addresses of classloaders are changing in Websphere 6.1 (IBM JVM 1.5.0). The classes below the classloader have unchanged address. So isn't it the same classloader at a new address? E.g. in first javacore 2CLTEXTCLLOAD Loader com/ibm/ws/classloader/CompoundClassLoader(0x0000...

Websphere Application Server - What on earth will it take to start any fast!!?

I am using Rational Application Developer v7.0 that ships with an integrated test environment. When I get to debugging my webapp, the server startup time in debug mode is close to 5-6 minutes - enough time to take a coffe break! At times, it so pisses me off that I start cursing IBM for building an operating system! instead of an app s...

JSP compilation to string or in memory bytearray with Tomcat/Websphere

I am doing conversion to image and PDF output. I need an input HTML document that is generated by our application JSPs. Essentially, I need to render the final output product of a JSP based application to a String or memory and then use that string for other processing. What are some ways that I can just invoke the JSP renderer to get...

Different methodologies for solving bugs that only occur in production.

As one who is relatively new to the whole support and bug fixing environment and a young programmer I had never come across a bug that only occurs in the Websphere environment but not on the localhost test enviroment, until today. When I first got this bug report I was confused as to why I couldn't reproduce it on the localhost test env...

Prefered methods for interacting with a rules engine

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 up the rules processing and how to interact with the rule engine. The two main thoughts I have seen is to centralize the rule engine (into its own farm of servers) and program aga...

Singleton in Cluster environment

What is the best strategy to refactor a Singleton object to a cluster environment? We use Singleton to cache some custom information from Database. Its mostly read-only but gets refreshed when some particular event occurs. Now our application needs to be deployed in a Clustered environment. By definition, each JVM will have its own Si...

JMS bridge in WebSphere 7.0

How can I define a JMS bridge in WebSphere 7.0 application server? ...

nullpointerexception on request.getHeaderNames method call in websphere

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) at .... I dont have source code for SRTServletRequest. Has anybody faced this problem? ...

Websphere 7 JSF

Hi, In my project we have developed a project using JSF 1.2 and JBOSS 5. As part of new requirement we have to migrate it to Websphere 7. But we are facing a issue which I suspect is related to the java runtime being internally used by WAS. Its not able to autobox int/Integers , cast Strings to long implicitly. After providing the neces...

Websphere vs Weblogic

Friends, Recently I was asked on how do I compare Weblogic vs Websphere, and what are the pros and cons of using one over another. I answered IBM support, DB2 backend, IBM stack as some of the factors but could not think of any technical pros and cons of one over another. Does anyone know the technical pros and cons of using one over an...

Websphere slow URLConnection

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. Once the connection is established we can write and read data very fast. Using openssl a connectiontest (ssh console) works v...

Automatically include a JSP in every JSP

Hi all, I would like to simplify my JSP's even further by transparently including them. For instance, this is the line I would like to remove: <%@ include file="/jsp/common/include.jsp"%> The include.jsp file basically declares all the tag libraries I am using. I am running this on WebSphere 6.0.2 I believe and have already tried t...

JMS without JNDI?

We are running portlets in WebSphere 6.01, using Java 1.4. We want to send JMS messages to a JBoss 5 queue, running Java 5 (or maybe 6, but it's certainly newer than 1.4). Trying to connect using JNDI is not working, since we have to include the JBoss client jars in the classpath of the portlet, and they are Java 1.5. So I get an unsuppo...

Automating installation in Websphere Application server

Hi, I'm using IBM RAD as the IDE and Websphere Application Server v6.0 to deploy applications. I'm working on a EJB application and build it using ANT and then deploy it using the Admin Console of the server. For every change this deploying is time consuming. 'Run on server' on the EAR file does not work sometimes. Is it possible to a...

WebSphere and PropertyPlaceholderConfigurer

Hi, I'm a big user of properties (with PropertyPlaceholderConfigurer) for making my application as "dynamic" as possible. Almost all the constants are defined as such. Anyway, I'm currently defining a default.properties which comes shipped with the default WAR. In other environments (Acceptance/Production) I need to overwrite of the co...