Importing/Exporting a WebSphere Profile – The .CAR file

June 3rd, 2009 dan Posted in WebSphere Application Server, WebSphere Integration Developer, WebSphere Process Server 5 Comments »

You can import and export your WebSphere Application Server or WebSphere Process Server profiles into .CAR archive files.

Importing and exporting version 6 WebSphere Application Server profiles
provides the specific wsadmin (or RAD/WID) steps to perform.

Related Posts

AddThis Social Bookmark Button

IBM Support Assistant Plugin – Visual Configuration Explorer

April 28th, 2009 dan Posted in WebSphere Application Server No Comments »

The Visual Configuration Explorer

When configuration problems occur in a complex software environment, you can spend a lot of time hunting for subtle changes that might have introduced errors. The new Visual Configuration Explorer tool, which runs as a plug-in to the IBM Support Assistant, simplifies configuration troubleshooting by letting you visualize, explore, and analyze the configurations of various software stacks offline.

You can also use this plugin to compare two configurations and look for changes. Very good if your server ‘magically’ breaks one day or you are trying to track down a change from a while ago.

Related Posts

AddThis Social Bookmark Button

Top 10 FAQs on core group bridges

March 8th, 2009 syndication Posted in WebSphere Application Server No Comments »

From Devleoperworks, Top 10 FAQs on core group bridges
Here are the most commonly asked questions about the IBM WebSphere Application Server’s core group bridge service, introduced in Version 6.0, which is used to enable high availability communication between core groups.
The top 10 questions AFTER "What is heck is a core group bridge?"

Related Posts

AddThis Social Bookmark Button

WebSphere Application Server V7: Concepts, Planning and Design

March 4th, 2009 syndication Posted in WebSphere Application Server No Comments »

From IBM Redbooks: WebSphere Application Server V7: Concepts, Planning and Design
Redbook, published: Fri, 20 Feb 2009

- Discusses end-to-end planning for WebSphere implementations
- Defines WebSphere concepts and best practices
- Addresses distributed and z/OS platforms

This IBM® Redbooks® publication discusses the concepts, planning, and design of WebSphere® Application Server V7.0 environments.

This redbook weighs in at a whopping 522 pages of WebSphere Application Server 7.0 goodness. A must read (or atleast skim :) )

Related Posts

AddThis Social Bookmark Button

DSRA9010E: ‘{0}’ is not supported on the WebSphere ‘{1}’ Platform

December 1st, 2008 dan Posted in WebSphere Application Server No Comments »

If you see the following exception:

Exception Data: com.dan.LDAPException: javax.resource.NotSupportedException: DSRA9010E: 'execute(InteractionSpec, Record, Record)' is not supported on the WebSphere Interaction implementation.

It likely means that the JNDI object you looked up isn’t the type your code thought it was going to be. An example of this would be when your ear is installed to your server and the resource-ref is bound to the wrong resource (say a DataSource instead of an LDAP resource).

It would make this exception a thousand times easier to debug if it included a .toString() of the root object that threw the NotSupportedException. Alas, it does not, so you are left to manually look through your admin console to figure out what happened.

I also have no idea what the ‘Interaction’ implementation is that the exception itself is complaining about.

Related Posts

AddThis Social Bookmark Button

System administration for WebSphere Application Server V7: Part 1 — An overview of administrative enhancements

November 19th, 2008 syndication Posted in WebSphere Application Server No Comments »

From DeveloperWorks, System administration for WebSphere Application Server V7: Part 1 — An overview of administrative enhancements
This series of articles describes several important new administration features available in IBM WebSphere Application Server V7. Part 1 introduces these features and subsequent articles will explore specific features in detail. (IBM WebSphere Developer Technical Journal)
A discussion of the new features from an administration perspective. You'll need to know this as all the dependent websphere products re-based themselves on this new level of WAS over time.

Related Posts

AddThis Social Bookmark Button

Perficient Booth at the IBM WebSphere SOA Connectivity Briefing in Toronto

November 17th, 2008 dan Posted in Dan Zrobok, DataPower, Perficient, WebSphere Application Server No Comments »

IBM is hosting a WebSphere SOA Connectivity Briefing in Toronto: Strategies for recovering your IT budget with IBM WebSphere MQ & SOA Connectivity

Details:

Sheraton Center Toronto Hotel
November 25, 2008
8:00am – 12:00pm

123 Queen Street West
Toronto Ontario M5H2M9
Phone: 416-947-4848

I’ll be there representing Perficient. My current plans are to get a DataPower box and hook up a little demo with DataPower pulling large industry-standard schema messages off MQ and transforming them and comparing that to the time it takes WebSphere Application server to do the same amount of work.

So if you happen to be in Toronto and would like to see a Datapower box in action, let me know and I can add you to the invite list.

Related Posts

AddThis Social Bookmark Button

Follow up to Profile Creation Fails on WebSphere 6.1.0.19: Java Juristiction Policy Files

November 17th, 2008 dan Posted in WebSphere Application Server No Comments »

A few weeks ago, I discussed an issue where a profile could no longer be created on WebSphere Application Server 6.1.0.19. It boiled down to an issue with the Java security policy files and thier ‘restricted’ and ‘unrestricted’ flavours. At the time, I thought that WebSphere actually required the unrestricted versions.

To test my theory I created my own 6.1.0.19 server and created a profile. It worked just fine without installing the unrestricted policy files.  This means that my issue is that my environment is actually telling WebSphere (some-how) to use encryption algorithims used in the unrestricted jar. I’m still trying to figure out what part of my environment setup is doing this, but I thought it would be a service to the internet to document where I’m at currently.

IBM Documentation on the subject

Related Posts

AddThis Social Bookmark Button

Profile Creation on WebSphere Application Server 6.1.0.19 Fails with Certificate Error

November 4th, 2008 dan Posted in WebSphere Application Server 1 Comment »

We installted WebSphere Application Server 6.1.0.19 and recieved the following error when creating a profile:

Caused by: java.lang.SecurityException: Cannot
set up certs for trusted CAs
 at javax.crypto.b.clinit(Unknown Source)
 at java.lang.J9VMInternals.initializeImpl(Native Method)
 at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
 ... 63 more
Caused by: java.lang.SecurityException: Jurisdiction policy
files are  not signed by trusted signers!
 at javax.crypto.b.a(Unknown Source)
 at javax.crypto.b.a(Unknown Source)
 at javax.crypto.b.access$600(Unknown Source)
 at javax.crypto.b$0.run(Unknown Source)
 at
java.security.AccessController.doPrivileged
(AccessController.java:246)

The ‘Jurisdiction Policy Files’ are the cryptographic jars found in the security directory of your Java Runtime Environment. They control what encryption algorithms are allowed in your country based on U.S. Export policy. Usually what you need to do is grab the unrestricted ones from the IBM Java website and then overwrite the ‘resticted (less functional)’ ones after server installation but before profile creation.

I dug a little deeper into the issue and found that in 6.1.0.19, the IBM Restricted/Unrestricted cryptographic export jars were updated. I hear that it had something to do with the signing of the jars expiring since they’ve been around so long. So if you stick with restricted the ones that are included in the 6.1.0.19 fixpack, you’ll find that you are unable to create a profile successfully.

The fix is to go and overwrite those restricted jars with the unrestricted copies provided by IBM. Hopefully they’ll get packaged into an official ifix pack or something.

* I do wonder though if we’ve run into this error because we didn’t apply a server JDK fixpack to the server or something along those lines, but this is mere speculation. Maybe one of my more experienced colleagues will install a server and tell me that they didn’t get this error.

Related Posts

AddThis Social Bookmark Button

DB2 SQL Error: SQLCODE: -104, SQLSTATE: 42601, SQLERRMC: INSERT INTO TABLE VALUES (?,?,?);BEGIN-OF-STATEMENT;

October 30th, 2008 dan Posted in WebSphere Application Server 4 Comments »

We had this error code occuring during execution of an SQL statement in a J2EE application to DB2 in WebSphere.

A google search turned up a thin number of documents that hinted the problem was due to a malformed SQL Query. Looking at the code, everything looked ok. Connections were closed in the correct spots, the statement was being executed.

More interestingly, it was reported that this exception occurred on the SECOND invocation of the code. Usually, when something works once and then fails a second time in a piece of WebSphere that is heavily used like connecting to JDBC providers, I suspect the custom code before I point a finger at the platform.

When I looked at the code, I noticed:

String sqlString = ""
For (condition) {
sqlString.append("INSERT INTO...");
}

Basically, the developer had missed re-initializing the value of the string over subsequent iterations of the loop. The second time through the loop the SQL string would look like:

INSERT INTO .... ?,);INSERT INTO .... VALUES...?);

What annoys me is that rather than DB2 telling me simply “Hey, you’ve got two SQL statements chained together and that’s invalid”, it gives me an error code that relates to nothing. It has corrupted the problem from the developers problem domain to the DB2 problem domain. The developer would instantly recognize two SQL statements being chained together. The developer will never understand that SQLCODE -104, SQLSTATE 42601 means anything.

I’d love to see a new IBM policy of presenting exceptions in the domain of the user rather than the domain of the product developer.

Related Posts

AddThis Social Bookmark Button

Using Spring and Hibernate with WebSphere Application Server

October 10th, 2008 syndication Posted in WebSphere Application Server No Comments »

From DeveloperWorks, Using Spring and Hibernate with WebSphere Application Server
If you're considering using Spring or Hibernate with IBM WebSphere Application Server, this article explains how to configure these frameworks for various scenarios with WebSphere Application Server. This article is not an exhaustive review of either framework, but a critical reference to help you successfully implement such scenarios. (Updated for Spring Framework 2.5 and WebSphere Application Server V7.) (IBM WebSphere Developer Technical Journal)

Related Posts

AddThis Social Bookmark Button

WebSphere Application Server: Component vs Container Managed Authentication Alias

October 9th, 2008 dan Posted in WebSphere Application Server 2 Comments »

When defining the usage of an authentication alias in a resource in the administration console of WebSphere Application Server, there are two places the data can be specified:

  1. Component Managed Authentication
  2. Container Managed Authentication

Component Managed Authentication is used when the resource configured in the EJB’s deployment descriptor res-auth property is set to ‘Application’.

Container Managed Authentication is used when the resource configured in the EJB’s deployment descriptor res-auth property is set to ‘Container’.

The WebSphere v6 Administration Console notes that Container managed is deprecated and that component should be used.

EDIT #1: Thanks to David Currie for pointing out that it’s actually the specification of the authentication alias directly in the resource that is deprecated.

You should verify the res-auth setting of your jndi resources if you find that you configured an authentication aliasbut recieve an exception about null username at runtime.

Related Posts

AddThis Social Bookmark Button

WebSphere Admin Console SRVE0190E: FileNotFound Errors when clicking certain hyperlinks

October 6th, 2008 dan Posted in WebSphere Application Server, WebSphere Process Server No Comments »

Should you find that you have some links in your WebSphere Administration console that generate an error in the following format:

com.ibm.ws.webcontainer.webapp.WebAppErrorReport:
SRVE0190E: File not found: /xxxxxxxxxxx.content.main
at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext.java)
at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java)
at com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch(FilterProxyServlet.java)
at com.ibm.ws.webcontainer.servlet.FilterProxyServlet.service(FilterProxyServlet.java)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
t com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java(Compiled Code))
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.invokeFilters(WebExtensionProcessor.java)
at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java)

It appears that the admin console couldn’t find the servlet that should be used to display the page.

You likely have a corrupted Admin console registry. You can run

iscdeploy -restore

from the ‘bin’ directory of the profile in question. This will cause WebSphere Application Server to reinstall the admin console.

The relevant information from an IBM technote can be found here.

Related Posts

AddThis Social Bookmark Button

What’s new in WebSphere Application Server V7

October 1st, 2008 syndication Posted in DeveloperWorks, WebSphere Application Server No Comments »

From DeveloperWorks, What's new in WebSphere Application Server V7
IBM WebSphere Application Server V7 has powerful new features and dramatic enhancements to help you achieve heightened productivity, stronger security, tighter integration, and simplified administration. Find out about some of the new key features that enable this new release to provide a flexible and reliable foundation for your service-oriented architecture.

Related Posts

AddThis Social Bookmark Button

WebSphere Application Server 7.0 Feature Pack for Service Component Architecture (SCA)

August 19th, 2008 dan Posted in WebSphere Application Server, WebSphere Process Server No Comments »

The WebSphere Community Blog pointed out that there is a new WebSphere Application Server 7.0 Feature Pack available for download. This one will enable the Tuscany implementation of SCA inside the WebSphere Container.

It should be noted that this version of SCA is not the same one included in WebSphere Process Server. I would just assume that you can’t call a WPS 6.1 SCA Export from a WAS 7.0 SCA Import.

Related Posts

AddThis Social Bookmark Button