I have run JBOSS in debug mode. Here is what the application is logging when
it receives a request to render a request to my application page.
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.server.impl.invocation.InvocationImpl] Incoming request with
id page.default.StrutsHello
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.ContentTypeInterceptor] Found
markup=html_web_4_0, ua=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8)
Gecko/20051111 Firefox/1.5, devicedID=netscape7_1_nt_us
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.ContentTypeInterceptor] Found mimeType type
text/html for markup=html_web_4_0
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] analyzing layout
strategy....
2005-11-23 21:15:31,765 DEBUG [org.jboss.portal.server.impl.LayoutServerImpl]
get nodesk...
2005-11-23 21:15:31,765 DEBUG [org.jboss.portal.server.impl.LayoutServerImpl]
found nodesk
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] looking for a layout
strategy [default] [StrutsHello] [nodesk] [text/html]
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] got a layout: trying to
get the strategy from it...
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] no strategy from the
layoutlayout: trying to get named strategy...
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] looking for strategy
with name: default
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] found strategy to use:
org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] adding region: left
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] adding region: center
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.theme.strategy.StrategyFactory] creating portlet context
for: InternacaoWindow3
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.theme.strategy.StrategyFactory] creating portlet context
for: StrutsHelloPortletWindow
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.theme.strategy.StrategyFactory] creating strategy
context for: nodesk default StrutsHello
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl] evaluating
strategy for: [EMAIL PROTECTED]
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl] evaluating
portlet: Internacao
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.theme.strategy.impl.DefaultStrategyImpl] evaluating
portlet: StrutsHelloPortlet
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] setting layout URI:
/nodesk/index.jsp
2005-11-23 21:15:31,765 DEBUG
[org.jboss.portal.core.invocation.StrategyInterceptor] done analyzing layout
strategy
2005-11-23 21:15:31,765 ERROR [org.jboss.portal.core.servlet.CoreServlet] Error
java.lang.IllegalStateException: No bridge set
at
org.jboss.portal.bridge.JBossServletContextProvider.getServletContext(JBossServletContextProvider.java:53)
...
I downloaded JBP source code, I found the file where the exception is thrown.
I've put a breakpoint in the beginning of the method
(JBossServletContextProvider:getServletContext), created a remote debugging
session, and found that there is really nothing stored in the ThreadLocal
variable. Please, someone who knows the source code well, tell me where I
should put additional breakpoints to find out what is wrong with this
application.
Tks,
Alessandro
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908811#3908811
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908811
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user