Hi all,

I've "inherited" an old WebLogic 8.1 app that is to be migrated to WebLogic 10.3. I've run it through the migration/upgrade functionality in Workshop 10.3, fixed the compile errors, and dealt with the most obvious (to me) cases of deprecated class use. The app, from what I've been told, was originally coded using the old non-eclipse-based workshop 8.1, using PageFlows.

The app, however, when I run it, still produces some warnings, and does not behave correctly. I've probably missed some crucial step in the migration process. Though I've worked a great deal with (Non-j2EE) Java before, I'm very green when it comes to the intricacies of WebLogic applications. I'm hoping that someone wiser than I can shed some light on what I've missed.

The errors are described below:

At startup:

Code:
<17-09-2009 10:07:43 CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: MessageBufferTopicBean is unable to connect to the JMS destination: weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_TOPIC. The Error was:
Can not get distribute destination information. The destination JNDI name is weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_TOPIC, the provider URL is null> 
<17-09-2009 10:07:43 CEST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: MessageBufferBean is unable to connect to the JMS destination: weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_QUEUE. The Error was:
Can not get distribute destination information. The destination JNDI name is weblogic.Otribaby.WlwRuntimeAppScopedJMS#MSG_BUFFER_QUEUE, the provider URL is null>
and when trying to access the order page:

Code:
<[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "622" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@18bcbb[
GET //pub/order.jsp HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Accept-Language: da
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Connection: Keep-Alive
Cookie: JSESSIONID=Lvp3KxndMydGSq6RP4pPH2Krvy05NGkx0120Wp1G3W1kdmWGLP72!-738502403

]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-33 "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, waiting, priority=1, DAEMON> {
    -- Waiting for notification on: weblogic.jsp.internal.client.JobWaiter@2edf62[fat lock]
    java.lang.Object.wait(Object.java:???)
    java.lang.Object.wait(Object.java:485)
    weblogic.jsp.internal.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
    weblogic.jsp.internal.client.ClientUtilsImpl.build(ClientUtilsImpl.java:353)
    weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:67)
    weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
    weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
    ^-- Holding lock: weblogic.servlet.jsp.JavelinxJSPStub@58c61b[thin lock]
    weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:352)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
    org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:349)
    ^-- Holding lock: pub.PubController@4cd2ed[thin lock]
...
 weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2038)
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1372)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
}

<div class="jive-quote"> </div>
<17-09-2009 10:23:12 CEST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "688" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@18bcbb[
GET //pub/order.jsp HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
Accept-Language: da
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
Connection: Keep-Alive
Cookie: JSESSIONID=Lvp3KxndMydGSq6RP4pPH2Krvy05NGkx0120Wp1G3W1kdmWGLP72!-738502403
 
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
Thread-33 "[STUCK] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, waiting, priority=1, DAEMON> {
    -- Waiting for notification on: weblogic.jsp.internal.client.JobWaiter@2edf62[fat lock]
    java.lang.Object.wait(Object.java:???)
    java.lang.Object.wait(Object.java:485)
    weblogic.jsp.internal.client.JobWaiter.blockUntilFinished(JobWaiter.java:45)
    weblogic.jsp.internal.client.ClientUtilsImpl.build(ClientUtilsImpl.java:353)
    weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:67)
    weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:191)
    weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
    ^-- Holding lock: weblogic.servlet.jsp.JavelinxJSPStub@58c61b[thin lock]
    weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:352)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
    weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
    org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:349)
    ^-- Holding lock: pub.PubController@4cd2ed[thin lock]
    org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:100)
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:41)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3468)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
    weblogic.security.service.SecurityManager.runAs(Unknown Source)
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2116)
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2038)
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1372)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
}
 
<div class="jive-quote"> </div>
<17-09-2009 10:23:47 CEST> <Warning> <com.bea.wlw.netui.script.el.CompatImplicitObjectUtil> <BEA-000000> <Could not create a ContextFactory for type "com.bea.netuix.servlets.script.PortalVariableResolver$PortalContextFactory" because the ContextFactory implementation class could not be found.>
and when trying to progress to the next step in a pageflow

Code:
<17-09-2009 10:58:13 CEST> <Error> <org.apache.beehive.netui.pageflow.internal.DefaultExceptionsHandler> <BEA-000000> <Could not find exception handler method handleException for java.lang.NullPointerException.> 
<17-09-2009 10:58:13 CEST> <Error> <org.apache.beehive.netui.pageflow.internal.DefaultExceptionsHandler> <BEA-000000> <Could not find exception handler method handleException for java.lang.RuntimeException.> 
[] Unhandled exception caught in Global.app:
java.lang.NullPointerException
	at pub.PubController.OrderStepOne(PubController.java:85)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
	at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
	at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
	at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
	at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
	at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
	at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
	at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
	at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91)
	at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2121)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
	at
...
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)