websphere

Does anyone have some JMX code for creating a new websphere datasource ?

Hi guys, I'm trying to update the password on a websphere J2C datasource connector using JMX. Does anyone have any source or tips ? cheers, Trevor ...

How to enable option "Generate deploy code in build" through Ant in WID

Hi does any one knows any ant task by which we can enable/set the "Generate deploy code in build" option , which is present under Project menu in WID (WebSphere Integration Developer) ...

JSF 2 Annotations with Websphere 7 (JEE5, JAVA 1.6)

Hey all, I'm currently writing a simple JSF 2 app for WAS 7. When I define the bean via the faces-config.xml, everything works great <managed-bean> <managed-bean-name>personBean</managed-bean-name> <managed-bean-class>com.prototype.beans.PersonBean</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </m...

WAS 6.1 java.lang.VerifyError: class loading constraint violated

The environment is WAS 6.1 on Linux, deploying a webapp that uses classes from xercesImpl.jar. Due to company policy restrictions, the app must be deployed with settings: Class Loader Order Classes loaded with parent class loader first -> Classes loaded with application class loader first WAR class loader policy Class loader ...

Migrate from Tomcat to WAS

Hello everyone! A few weeks ago I asked about Application Servers. It happens that my bosses are moving to WAS and my web application needs to move along. Problem is I have little idea of application servers. In my application I used web.xml and tomcat-users.xml to define roles and users. I have to do this in the WAS server, so what d...

Is there any 64 bit distributive for IBM WebSphere Portal 6.0?

As it seems on official site it doesn't supported for version 6.0 of portal. But is there any possibility to use 64 bit jvm and 64 bit portal? ...

Memory leak in Websphere 7 + EJB3, a lot of instances of ClassMapping

Hi, sorry for my english, I speak spanish. I recently migrate an application from ejb 2.x to ejb3 (approx. 300 entities), Im using WebSphere 7.0.0.9. After 10 hours of work, the system crash with an OutOfMemoryError. Analyzing the coredump, I see a lot of instance of the org.apache.openjpa.jdbc.meta.ClassMapping class (please see the a...

How to add the hostname to every line of SystemOut.log ?

Hello, We have load balancing and the same name on multiple instances of WebSphere 6.1. Is there a way to WebSphere need to add the physical hostname to the WebSphere SystemOut.log lines (for example, to prepend to every line)? Thanks, Bert ...

NoSuchMethodError: com/sun/istack/logging/Logger.getLogger

I developed a webservice and deployed it to websphere 7.0 and developed a dynamic dispatch client using JAX-WS APIs which also runs on same application server. I get error at the following line: Dispatch dispatch = service.createDispatch(portName, SOAPMessage.class, Service.Mode.MESSAGE); Error: Caused by: java.lang.NoSuchMethodError: c...

WAS Server - Apache critical problem

hi, I am facing critical problem for integration of WAS Server-Apache Server.I am using the WAS server for the connection pooling for the database calling...and my webpage is hosted in the apache server and the webpage serarch box is calling the WAS Server and i am using struts frame work for autocomplete action... but it is working in...

Generate an LTPA token?

We have a need to integrate a server with our WebSphere environment that does not support LTPA. I found the blog post here and corresponding code to decode the information in an LTPA token. However, there's no code explaining the digital signature and how that's generated/validated. Does anyone have any information on how to generate ...

How to JNDI lookup from cluster 1 : a queue that exists in cluster 2 in Websphere 6?

I have a Websphere topology wherein in Cluster1, I have an MDB that's trying to publish to another MDB that resides in Cluster2. Since they're both in the same container, I tried simply Blockquote Context ctx = new InitialContext(); ctx.lookup("jms/MyQueue"); Blockquote The "jms/MyQueue" is configured in Cluster2. As you can...

Include websphere extensions section in application.xml

Hi, Can you help me by explaining how to include WebSphere Extensions section in application.xml if WebSphere Extensions is not present ...

was5 resources.xml

is there a way to read this file inside a JSP/Servlet? ...

What the performance impact of enabling WebSphere PMI

I am currently looking at some JProfiler traces from our WebSphere-based application, and am noticing that a significant amount of CPU time is being spent in the class com.ibm.io.async.AsyncLibrary.getCompletionData2. I am guessing, but I am wondering whether this is PMI-related (and we do have this enabled). My knowledge of PMI is li...

Include static file in JSP with variable filename on WebSphere 6

I'm struggling with including a static file into my JSPs on Websphere 6.0.2.17. I tried this: <% final String MY_DIR = ResourceBundle.getBundle("mybundle").getString("props.pages.wcm"); %> <% final String page = ResourceBundle.getBundle("mybundle").getString("page"); %> <% final String inc = MY_DIR + "/" + bonus; %> <%@include file="<%=...

Websphere Java application startup

I have two Java applications running on a Websphere application server. The first application is COTS software (Plateau) I will call App1 and includes an API which can be used in custom applications to interact with App1. This app takes a couple minutes to start in Websphere. The second application is custom software I will call App2 an...

How can I access custom properties in WebSphere?

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 to JMX, but wondered if there was a definitive answer. ...

Use different version of derby.jar then the one included with WebSphere?

I’m trying to use an imbedded Derby database from within a war file deployed on WebSphere for Z/OS. When I use code like the following to create a database I wind up creating a derby version 10.3 database using the derby.jar included with WebSphere server 7.0 instead of the version 10.5 derby.jar I include in my WEB-INF/lib directory. C...

In which file the custom properties information gets stored in WAS?

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 any of you know where this information gets stored, i can change it and restart my applicaiton. need help. thanks. ...