tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Fischer <pfische...@fast-mail.org>
Subject RE: no UserTransaction in jndi
Date Thu, 08 Nov 2007 09:31:26 GMT

Hello Chuck,


Caldarale, Charles R wrote:
> 
> According to the Tomcat doc, the only valid attribute is factory; I'm
> only speculating, but the presence of the name and auth attributes may
> be causing the element to be rejected.
> 
> Is there anything shown in the logs about this at Tomcat startup?
> 

You'r right, so I tried
<Transaction factory="com.atomikos.icatch.jta.UserTransactionFactory" />

But there is no change in the result:
- "http://localhost:8080/manager/resources" lists only the UserDatabase
- lambdaprobe says that the resource-ref to UserTransaction is not working

manager.log:
08.11.2007 10:07:16 org.apache.catalina.session.StandardSession readObject
FEIN: readObject() loading session EF0E6D1AFB09EB9770363511F24A1FE4
08.11.2007 10:07:16 org.apache.catalina.core.StandardContext listenerStart
FEIN: Sending application start events
08.11.2007 10:07:16 org.apache.catalina.core.StandardContext filterStart
FEIN: Starting filters
08.11.2007 10:07:20 org.apache.catalina.core.ApplicationContext log
INFO: Manager: init: Associated with Deployer
'Catalina:type=Deployer,host=localhost'
08.11.2007 10:07:20 org.apache.catalina.core.ApplicationContext log
INFO: Manager: init: Global resources are available
08.11.2007 10:07:20 org.apache.catalina.core.ApplicationContext log
INFO: Manager: resources:  Listing resources of all types


probe.log:
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - setWrapper() called
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - Initializing servlet 'probe'
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.springframework.core.CollectionFactory  - JDK 1.4+ collections available
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.springframework.core.CollectionFactory  - Commons Collections 3.x
available
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - FrameworkServlet 'probe':
initialization started
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML
bean definitions from ServletContext resource
[/WEB-INF/spring-controllers.xml]
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML
bean definitions from ServletContext resource
[/WEB-INF/spring-resources.xml]
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML
bean definitions from ServletContext resource [/WEB-INF/spring-stats.xml]
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading XML
bean definitions from ServletContext resource
[/WEB-INF/spring-probe-servlet.xml]
08 Nov 2007 10:26:00 [http-8080-1] INFO 
org.springframework.ui.context.support.UiApplicationContextUtils  - Unable
to locate ThemeSource with name 'themeSource': using default
[org.springframework.ui.context.support.ResourceBundleThemeSource@1bb9696]
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.model.stats.StatsCollection  - stats data read in
234ms.
08 Nov 2007 10:26:01 [http-8080-1] INFO  org.quartz.simpl.SimpleThreadPool 
- Job execution threads will use class loader of thread: http-8080-1
08 Nov 2007 10:26:01 [http-8080-1] INFO  org.quartz.core.QuartzScheduler  -
Quartz Scheduler v.1.5.1 created.
08 Nov 2007 10:26:01 [http-8080-1] INFO  org.quartz.simpl.RAMJobStore  -
RAMJobStore initialized.
08 Nov 2007 10:26:01 [http-8080-1] INFO  org.quartz.impl.StdSchedulerFactory 
- Quartz scheduler 'DefaultQuartzScheduler' initialized from default
resource file in Quartz package: 'quartz.properties'
08 Nov 2007 10:26:01 [http-8080-1] INFO  org.quartz.impl.StdSchedulerFactory 
- Quartz scheduler version: 1.5.1
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.springframework.scheduling.quartz.SchedulerFactoryBean  - Starting
Quartz scheduler now
08 Nov 2007 10:26:01 [http-8080-1] INFO  org.quartz.core.QuartzScheduler  -
Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - Using context class
[org.springframework.web.context.support.XmlWebApplicationContext] for
servlet 'probe'
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - Unable to locate MultipartResolver
with name 'multipartResolver': no multipart request handling provided
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - Unable to locate LocaleResolver
with name 'localeResolver': using default
[org.springframework.web.servlet.i18n.AcceptHeaderLocaleResolver@1041876]
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - Using ThemeResolver
[org.springframework.web.servlet.theme.FixedThemeResolver@1e1ec86]
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - No HandlerAdapters found in servlet
'probe': using default
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - FrameworkServlet 'probe':
initialization completed in 1607 ms
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.ProbeServlet  - Servlet 'probe' configured
successfully
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.beans.ContainerWrapperBean  - Using
org.jstripe.tomcat.probe.Tomcat55ContainerAdaptor
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.beans.ContainerWrapperBean  - Using DEFAULT
resource resolver
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.jstripe.tomcat.probe.beans.ResourceResolverBean  - Reading CONTEXT 
08 Nov 2007 10:26:01 [http-8080-1] ERROR
org.jstripe.tomcat.probe.beans.ResourceResolverBean  - Failed to lookup:
UserTransaction
javax.naming.NameNotFoundException: Name UserTransaction is not bound in
this Context
	at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
	at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
	at javax.naming.InitialContext.lookup(InitialContext.java:351)
	at
org.jstripe.tomcat.probe.beans.ResourceResolverBean.lookupResource(ResourceResolverBean.java:107)
	at
org.jstripe.tomcat.probe.beans.ResourceResolverBean.getApplicationResources(ResourceResolverBean.java:89)
	at
org.jstripe.tomcat.probe.controllers.ListApplicationResourcesController.handleContext(ListApplicationResourcesController.java:27)
	at
org.jstripe.tomcat.probe.controllers.ContextHandlerController.handleRequestInternal(ContextHandlerController.java:39)
	at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
	at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
	at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
	at org.jstripe.tomcat.probe.ProbeServlet.doDispatch(ProbeServlet.java:49)
	at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
	at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
	at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:120)
	at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:595)
08 Nov 2007 10:26:01 [http-8080-1] INFO 
org.springframework.ui.context.support.ResourceBundleThemeSource  - Theme
created: name 'theme-classic', basename [theme-classic]
08 Nov 2007 10:26:02 [http-8080-1] INFO 
org.springframework.web.util.ExpressionEvaluationUtils  - Using JSP 2.0
ExpressionEvaluator
08 Nov 2007 10:26:02 [http-8080-1] INFO 
org.displaytag.export.ExportViewFactory  - Initializing ExportViewFactory
with type={xml}
08 Nov 2007 10:26:02 [http-8080-1] INFO 
org.displaytag.properties.TableProperties  - LocaleResolver initialized to
org.displaytag.localization.I18nSpringAdapter.
08 Nov 2007 10:26:02 [http-8080-1] INFO 
org.displaytag.properties.TableProperties  - I18nResourceProvider
initialized to org.displaytag.localization.I18nSpringAdapter.
08 Nov 2007 10:26:10 [DefaultQuartzScheduler_Worker-0] INFO 
org.jstripe.tomcat.probe.model.stats.StatsCollection  - stats serialized in
171ms.
08 Nov 2007 10:27:10 [DefaultQuartzScheduler_Worker-9] INFO 
org.jstripe.tomcat.probe.model.stats.StatsCollection  - stats serialized in
31ms.
08 Nov 2007 10:28:10 [DefaultQuartzScheduler_Worker-9] INFO 
org.jstripe.tomcat.probe.model.stats.StatsCollection  - stats serialized in
32ms.

I found no other log with useful information.

regards,
Peter
-- 
View this message in context: http://www.nabble.com/no-UserTransaction-in-jndi-tf4763485.html#a13643736
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message