websphere

Struts/JSP/J2EE performance and memory profiling and issues

We are using Struts and having performance issues. And making heavy use of jsp includes, tiles, EL expressions. I am sure this is eating up a lot of memory and processing time. What are some approaches to profile the JSP page? What tools could I use? What should I look for when profiling? I have seen the code generated JSP Java Ser...

Building farms with IBM Websphere, IBM Http Server, Load Balancer (or Dispacher)

Do you know a web page or pdf or any books to learn how to architecture these products to create a farm? Also any generic web application farm architecture best-practices source is appreciated ... I would like to learn about highly available and scalable web architecture especially using IBM products... ...

Error 404: No target servlet configured for uri

Hi Experts, I just got done with a new Web module built with Spring Framework. Till now I was testing all the pages on my local machine using Tomcat. Today after I moved the application to Websphere, I am getting the following error: Error 404: No target servlet configured for uri is there anything I need to do in web.xml or so...

XAConnection performance in Oracle (10g)

In our project, we use the Oracle XA Connection pool. Only a small subset of the queries(transactions) are distributed. Rest are quite straightforward single database modification. I would like to know if there is a performance difference in using XAConnections Vs the normal ones. We use websphere v6.1 as the server. If XAConn, is ...

Relation between Oracle session and connection pool

Let me explain the set up first. We have an oracle server running on a 2GB RAM machine. The Db instance has the init parameter "sessions" set to 160. We have the application deployed on Websphere 6.1. The connection pool settings is Min 50 and Max 150. When we run Load test on 40 Users (concurrent, using jMeter), everything goes fine....

Websphere connections problem

Hi We run our application on Websphere 6.1 and we hit an Oracle 10g database. Over the last few days we have noticed the following errors in our log J2CA0045E: Connection not available while invoking method createOrWaitForConnection for resource jdbc/xxxxx. The app seems to hang and then rectify itself after 20 minutes. Our connection ...

Oracle connections problem

Hi We are currently seeing the following error in our Oracle listener log. There are thousands of these errors in there TNS-12502: TNS:listener received no CONNECT_DATA from client We connect to this oracle 10g database from an app running on Websphere 6.1 Any ideas what could be causing this error or any suggestions in order to fix i...

Jsp doesn't see included taglibs. Seems to be a local webshpere 6 configuration issue?

Ill try to be as descriptive as possible. situation: struts tag's not being resolved on a jsp. When you look at what should resolve as links you see: <html:link page="/dto/initDTO.do"><b><i>Design To Order Control System ( DTOCS )</i></b></html:link> Which leads me to believe that the struts tag is not being resolved. The source o...

Cause for memory leaks in websphere ValueHandlerPool (Suspected)

We encounter an OutofMemory error. I analyzed the *.phd file, that websphere dumps, using Eclipse Memory Analyzer. The Leak Suspect Report of MAT, provides the following information The class "com.ibm.rmi.io.ValueHandlerPool", loaded by "com.ibm.oti.vm.BootstrapClassLoader @ 0x466578", occupies 68,734,136 (50.25%) bytes. The memory is ...

Custom getEntityNameSelectList() fails

Writing a simple JSF application I've some across the following Problem: My entities.controller.EntityNameManager class contains a method getEntityNameSelectList() which I can use to populate a ComboBox with. This works and shows all Entities, since the Method to retrieve the Entities does not have a where clause. This Method was automat...

JSR168 Portlet Strange Page Expiring Problem

I'm having a strange problem and no luck debugging. I was tasked with writing a JSR168 compliant portlet to search a database. When you open the portlet, you're given 6 search boxes for different criteria to search several thousand records. Once you press search, it brings up another page (it keeps the first page and uses <jsp: include>...

Iframe vs normal / ajax get request

I have a page that gathers environment status from a couple of IBM WebSphere servers using iframes similar to this: <iframe src="http://server:9060/ibm/console/status?text=true&amp;amp;type=server&amp;amp;node=NODE&amp;amp;name=ServerName_server_NODE"&gt;&lt;/iframe&gt; and it happily prints out "Started" or "Unavailable" etc. But if I...

Pros and Cons of using shared library vs fully encapsulated EAR

Our team builds and owns a webservices framework. Other teams which actually build the webservices use our framework for some common functionality. There are two options to package the EAR. Option 1 is to have all the framework jars built into the EAR. Option 2 is to configure a shared library in the application server and make all appli...

Long Application Startup times on WebSphere Application Server 6.1 FixPack 21

Hi, I'm seeing that my application startup times have grown long after I've migrated from WAS FixPack15 to FixPack 21. By application startup time, I mean the interval between the log statements : WSVR0200I: Starting application AND WSVR0221I: Application started This interval was less than 10 sec on FP 15, but it is 2 min on FP 21....

Are SSL certificates bound to the servers ip address?

We have two different ldap providers in two different physical office locations. When I connect my laptop to one location and I 'retrieve from port' (in Websphere 6.1) to import the ssl cert of the ldap provider, I can authenticate to the respective ldap with no problems. If I take my laptop to the other office (that uses the other ldap ...

How to make a java project from a Websphere ear work with JPA

Hi, I have an EAR installed in Websphere 6.1. Development is done in Eclipse, but using a simple Java project and updating the *.java and *.class files directly to the server. I want to start using JPA, but the @Stateless annotation gives the error "cannot be resolved to a type". What am I missing? Thank you for your time, Iulia ...

How to redirect to a custom error page using mod_rewrite based on 404 error

Hi, I am trying to use mod_rewrite to be able to redirect to my custom html error page, when a 404 is returned. Right now, I have my http server running and my appserver(Websphere) running. When I take down a service on the appserver, it returns a message as follows: SRVE0255E: A WebGroup/Virtual Host to handle localhost:80 has not been...

Websphere 6 webservice problem

Hi We have just upgraded our webservice onto Websphere 6 from websphere 5. A few clients have come back telling us of issues they are having. Any clients that post SOAP directly to our service are getting issues such as Caused by: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element request of bean com.service.generic....

Obtain Session List from Web Application Server

Some one at work found out about the: com.ibm.ws.webcontainer.httpsession.IBMTrackerDebug servlet. Which can be invoked like this: http://localhost:9080/servlet/com.ibm.ws.webcontainer.httpsession.IBMTrackerDebug Now, a "manager" wants me to make a similar servlet, that list the current active sessions in the a web aplication. I've tr...

Weird DB2 database issue : Websphere Connection Pooling

I am running a query from my java based web app running in a Websphere container. This query however, being pretty simple, fails with a weird erorr as follows: [5/15/09 16:50:33:828 IST] 0000001e SystemErr R com.ibm.db2.jcc.b.zd: Invalid data conversion:Requested conversion would result in a loss of precision of 40000 [5/15/09 16:...