Hi peoples,

First off, this is not related to my previous posts about CL, so don't
start off in flame mode Marc.

To avoid the duplicate class in archive problems I restructured my app
to be:

SAR - Contains my services + all my classes
EAR - Contains everything but classes in the WAR, and EJB jar, the
classes come from the SAR.

This works perfectly.  And my build process goes super fast (since I
don't need to stuff classes in WAR/EJBjar/SAR.

Ok, that being said, now, when I want to upgrade the classes I:
1) Delete the EAR from deploy
2) Wait for it to undeploy completely
3) Delete SAR from deploy
4) Wait for it to undeploy completely
5) Copy new SAR
6) Wait for it to deploy
7) Copy new EAR

Looking at the logs, this deploys just fine, in the 8082 UI I can see
everything went away and came back.

I hit a method on a service, and it's the new code.

I hit a web page that I define, and I can see the servlet is the new
version.  But when the servlet attempts to create my SLSB, it gets an
error.

On first deploy, it worked fine, but on the second deploy, it fails.
The exception stack is below.  Line 46 of com.proxeno.servlet.WMServlet
is the invocation of create().

I don't know enough about the auto-deployer to find where this is
getting broken.  I do know my lookup of the EJBHome is working (to a
degree) since what get's returned I check it's non-null (although I'm
really only checking that the proxy is non-null, so it may be pointing
to something that doesn't exist).

Is this a known problem?  Anyone have any pointers as to where I should
start looking to fix this?

In the mean time, this is easily solved by stopping/starting jboss for
each change, but I assume this should work without the restart.

Thanks,
-David

Exception:

java.lang.reflect.InvocationTargetException:
java.lang.reflect.UndeclaredThrowableException:
java.rmi.ServerException: null; nested exception is:
        java.lang.NullPointerException
java.lang.NullPointerException
        at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:513)
        at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:53)
        at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:155)
        at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:55)
        at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:102)
        at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
        at
org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionContainer.java:267)
        at
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLocalContainerInvoker.java:239)
        at
org.jboss.ejb.plugins.local.BaseLocalContainerInvoker$HomeProxy.invoke(BaseLocalContainerInvoker.java:390)
        at $Proxy10.create(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.proxeno.servlet.WMServlet.doGet(WMServlet.java:46)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:289)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:541)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1145)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1099)
        at org.mortbay.http.HttpServer.service(HttpServer.java:725)
        at
org.mortbay.http.HttpConnection.service(HttpConnection.java:745)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:918)
        at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:760)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:138)
        at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
        at
org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:715)
        at java.lang.Thread.run(Thread.java:484)

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to