Re: no UserTransaction in jndi
Hello mgainty, mgainty wrote: took a quick gander at http://twiki.atomikos-support.com/bin/view.pl/Main/Tomcat55SelfContainedWar and dont see any auth or name attributes specified Perhaps you are interacting with an EJB server??? What do you mean? I have only one tomcat running. No own webapp deployed or ejb server running. I plan to use XA-transactions with Atomikos transactions. Therefore I need a UserTransaction provided per jndi. This is what I'm testing, but I have problems on the first setup. regards, Peter -- View this message in context: http://www.nabble.com/no-UserTransaction-in-jndi-tf4763485.html#a13643926 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: no UserTransaction in jndi
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 08 Nov 2007 10:26:01 [http-8080-1] INFO org.jstripe.tomcat.probe.ProbeServlet - Using ThemeResolver [EMAIL PROTECTED] 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
Re: no UserTransaction in jndi
Hello, under 5.5.9 the configuration has to be Resource name=UserTransaction type=com.atomikos.icatch.jta.UserTransactionImp factory=org.apache.naming.factory.BeanFactory/ With this, the 5.5.9 manager lists the UserTransaction. But I want to use a actual version of tomcat. Should the manager list the UserTransaction if it is configured under 5.5.25 or 6.0.14 with Transaction factory=com.atomikos.icatch.jta.UserTransactionFactory /? regards, Peter -- View this message in context: http://www.nabble.com/no-UserTransaction-in-jndi-tf4763485.html#a13644275 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: no UserTransaction in jndi
Hi Peter The immediate answer is no as you would be losing JNDI lookup capability Read this quote from one of the atomikos staff Tomcat JNDI configuration can be a pain to set up, mainly due to the way Tomcat requires several XML elements to agree on the same naming parts. The easiest way to get Tomcat to work is by subscribing: subscribers get access to Atomikos control panel web app, making it easy to configure everything. At first blush this does'nt seem to answer the question posed personally I would be extremely careful about committing business functionality using proprietary software where no source is available http://twiki.atomikos-support.com/bin/view.pl/Main/KnownProblems#Tomcat_JNDI _Configuration Perhaps Rainier has input? Martin-- - Original Message - From: Peter Fischer [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, November 08, 2007 5:09 AM Subject: Re: no UserTransaction in jndi Hello, under 5.5.9 the configuration has to be Resource name=UserTransaction type=com.atomikos.icatch.jta.UserTransactionImp factory=org.apache.naming.factory.BeanFactory/ With this, the 5.5.9 manager lists the UserTransaction. But I want to use a actual version of tomcat. Should the manager list the UserTransaction if it is configured under 5.5.25 or 6.0.14 with Transaction factory=com.atomikos.icatch.jta.UserTransactionFactory /? regards, Peter -- View this message in context: http://www.nabble.com/no-UserTransaction-in-jndi-tf4763485.html#a13644275 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: no UserTransaction in jndi
took a quick gander at http://twiki.atomikos-support.com/bin/view.pl/Main/Tomcat55SelfContainedWar and dont see any auth or name attributes specified Perhaps you are interacting with an EJB server??? M-- - Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, November 07, 2007 8:49 AM Subject: RE: no UserTransaction in jndi From: Peter Fischer [mailto:[EMAIL PROTECTED] Subject: no UserTransaction in jndi For this I added to the GlobalNamingResources in the server.xml Transaction name=UserTransaction auth=Container factory=com.atomikos.icatch.jta.UserTransactionFactory / 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? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: no UserTransaction in jndi
From: Peter Fischer [mailto:[EMAIL PROTECTED] Subject: no UserTransaction in jndi For this I added to the GlobalNamingResources in the server.xml Transaction name=UserTransaction auth=Container factory=com.atomikos.icatch.jta.UserTransactionFactory / 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? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]