google-code-export / crux-framework

Automatically exported from code.google.com/p/crux-framework
0 stars 0 forks source link

Develop an IBM Websphere ClasspathResolver #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Purpose of enhancement

IBM WS is one of the most used Application Servers in Java (mainly in bank
and finance institutions, perhaps because of its easy integration with
mainframe, OpenMVS, CTG+CICS, etc).

I tested Crux on my machine, a Windows XP Pro SP3 BR, in the following
scenarios (always testing war and exploded war deploy):

Apache Tomcat 6.0.18: OK!
Apache Geronimo 2.1.4 with Jetty: OK! (see issues #109 and #110).
IBM Websphere Community Edition (geronimo): OK! (see above note)
IBM Websphre 7.1 (only tested the war through the ibm console deploy tool):
Error attached (ev001.JPG file). Probably because of the ClasspathResolver.
Following the log output of this test:

[20/05/10 00:05:41:562 ART] 00000027 WebApp        A   SRVE0181I:
[HelloWorldApp_war#HelloWorldApp.war] [/HelloWorldApp] [Servlet.LOG]:
remoteServiceServlet: An IncompatibleRemoteServiceException was thrown
while processing this call.:
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Error
creating service
br.eti.kinoshita.crux.sample.client.remote.GreetingService. Cause: null
    at
br.com.sysmap.crux.core.server.dispatch.RemoteServiceServlet.getServiceForReques
t(RemoteServiceServlet.java:179)
    at
br.com.sysmap.crux.core.server.dispatch.RemoteServiceServlet.processCall(RemoteS
erviceServlet.java:54)
    at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceSer
vlet.java:224)
    at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemot
eServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
    at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java
:478)
    at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.ja
va:463)
    at
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWr
apper.java:92)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
    at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpIn
boundLink.java:465)
    at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpIn
boundLink.java:394)
    at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCal
lback.java:102)
    at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCom
pletionListener.java:152)
    at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213
)
    at
com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.j
ava:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
    at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Caused by: java.lang.RuntimeException: Error creating service
br.eti.kinoshita.crux.sample.client.remote.GreetingService. Cause: null
    at
br.com.sysmap.crux.core.server.dispatch.ServiceFactoryImpl.getService(ServiceFac
toryImpl.java:37)
    at
br.com.sysmap.crux.core.server.dispatch.RemoteServiceServlet.getServiceForReques
t(RemoteServiceServlet.java:162)
    ... 23 more
Caused by: java.lang.NullPointerException
    at
br.com.sysmap.crux.core.server.dispatch.ServiceFactoryImpl.getService(ServiceFac
toryImpl.java:33)
    ... 24 more

It would be great have IBM WS support in Crux.

Cheers

Original issue reported on code.google.com by brunodep...@gmail.com on 20 May 2010 at 3:09

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi everybody.

The Crux WeblogicClassPathResolver of the UserManual works with IBM Websphere 
too!!!

I installed crux app's war through admin console. It creates a directory in
installedApps/. This directory is the exploded form of the war. 

The only way of deploying an exploded war that I'm aware of in IBM WAS, is
overwriting the contents of this directory. So, first you deploy an application
through the admin console and then hotdeploy it again as many times as you 
wish. 

So, I skipped this step, and am considering Crux is fully supported in IBM WAS 
;-)

Cheers, 
B

Original comment by brunodep...@gmail.com on 22 May 2010 at 12:06

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by tr_busta...@yahoo.com.br on 27 May 2010 at 2:09