IMPACT 2009 – Presentatation on Web Services In WebSphereApplication Server V 7.0
Good overview from Henry Chung :
Web Services In WebSphereApplication Server V 7.0
Crash Analysis/Diagnostics of IBM SDKs for WAS Webcast on May 13, 2009
Invite posted on WAS forum:
http://www.ibm.com/developerworks/forums/thread.jspa?threadID=260362&tstart=0
On 13 May 2009 at 11:00 AM EDT, a WebSphere Support Technical Exchange presentation on Crash Analysis/Diagnostics of IBM SDKs (1.5 & 1.6) for WebSphere Application Server will be delivered by Giribabu Paramkusham, Ajay Bhalodia & Daniel Julin, subject matter experts. An open question and answer session will follow the presentation.
This exchange will include topics on setting up system to gather data required for debugging and analyzing the crash, common crash scenarios, analysis of javacore/system core file, and a review of DumpAnalyzer features to analyze the core file. Presentation will be limited to IBM Java on AIX, Linux and Windows.
Level of Difficulty: Intermediate
Plan to join the meeting 10 minutes early. Presentations typically last for 30-45 minutes followed by a question and answer session. For more information and details on how to participate in this and other free WebSphere Support Technical Exchanges click here.
Date: May 13, 2009
Time: 11:00 AM EDT
For dial-in numbers and web conferencing information, please visit:
[http://www.ibm.com/software/websphere/support/TE/techex_K449908F79981V00.html]
We look forward to seeing you on the webcast.
Apache Incubator proposal – Wink – JAX-RS implementation
Proposal here:
http://wiki.apache.org/incubator/WinkProposal
Discussion here:
http://marc.info/?t=124042010600006&r=1&w=2
IBM WebSphere Application Server V7.0 Feature Pack for XML Open Beta
WAS XML Feature Pack Open Beta is now available. Adds support for XPath 2.0, XSLT 2.0 and XQuery 1.0.
Details here:
http://webspherecommunity.blogspot.com/2009/04/was-open-xml-feature-pack-beta.html
https://www14.software.ibm.com/iwm/web/cc/earlyprograms/websphere/iwsasfpobp/index.shtml
Post/Update Twitter status snippet (from java)
Snippet to post to twitter. Using sun.misc to avoid introducing another jar (say commons codec). Please feel free to use another Base64 implementation. Rest of the details will remain the same.
import sun.misc.BASE64Encoder;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.OutputStreamWriter;
import java.net.URLConnection;
import java.net.URL;
import java.net.URLEncoder;
public class Twitter {
public static void main(String[] args) throws Exception {
if (args.length < 3) {
System.out.println("Twitter <userid> <password> <message>");
System.exit(-1);
}
URL url = new URL("https://twitter.com/statuses/update.xml");
URLConnection connection = url.openConnection();
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(false);
String authorization = args[0] + ":" + args[1];
BASE64Encoder encoder = new BASE64Encoder();
String encoded = new String
(encoder.encodeBuffer(authorization.getBytes())).trim();
connection.setRequestProperty("Authorization", "Basic " + encoded);
OutputStreamWriter out = new OutputStreamWriter(
connection.getOutputStream());
out.write("status=" + URLEncoder.encode(args[2], "UTF-8"));
out.close();
BufferedReader in = new BufferedReader(
new InputStreamReader(
connection.getInputStream()));
String response;
while ((response = in.readLine()) != null) {
System.out.println(response);
}
in.close();
}
}
Technotes about Axis2 and IBM Websphere co-existence
If you are deploying Axis2 in a WAR/EAR under Websphere 6.1 with Web services feature pack or Websphere 7.0, please read the following tech notes:
- The Apache Axis2 servlet is not accessible after deploying the Apache Axis2 engine
- Deploying an application that contains the Apache Axis2 runtime might create a class cast exception
You can search for newer technotes here:
http://www.ibm.com/support/us/en/
Exceptions like the following:
SRVE0026E: [Servlet Error]-[javax.servlet.UnavailableException: SRVE0201E:
Servlet [org.apache.axis2.transport.http.AxisServlet]: not a servlet class
java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMTextImpl incompatible with org.apache.axiom.om.impl.OMNodeEx
SRVE0100E: Did not realize init()
exception thrown by servlet AxisServlet: java.lang.StackOverflowError