Eh, well... that didn't work. Here's the rest of it:
Here is the persistence.xml I'm using:<entity-manager> | | <name>em</name> | <provider>org.hibernate.ejb.HibernatePersistence</provider> | <jta-data-source>java:/MSSQLAppDS</jta-data-source> | | <class>com.xpel.server.Customer</class> | <class>com.xpel.server.Plot</class> | <class>com.xpel.server.Warranty</class> | <class>com.xpel.server.WarrantyBatch</class> | <class>com.xpel.server.WarrantyDealershipRepAssignment</class> | <class>com.xpel.server.WarrantyPlot</class> | <class>com.xpel.server.WarrantyProgram</class> | <class>com.xpel.server.WarrantyProgramOption</class> | <class>com.xpel.server.WarrantyProgramOptionsSelection</class> | <class>com.xpel.server.WarrantyRepAgreement</class> | <class>com.xpel.server.WarrantyStatus</class> | | <properties> | <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect"/> | <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/> | <property name="hibernate.hbm2ddl.auto" value="update"/> | </properties> | | </entity-manager> ...and here's my web.xml:<?xml version="1.0" encoding="UTF-8"?> | <web-app version="2.4" | xmlns="http://java.sun.com/xml/ns/j2ee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> | | <!-- Seam --> | <listener> | <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> | </listener> | | <!-- 120 second conversation timeout --> | <context-param> | <param-name>org.jboss.seam.core.conversation.timeout</param-name> | <param-value>120000</param-value> | </context-param> | | <context-param> | <param-name>org.jboss.seam.init.managedPersistenceContexts</param-name> | <param-value>em</param-value> | </context-param> | | <!-- MyFaces --> | <listener> | <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> | </listener> | | <context-param> | <param-name>javax.faces.STATE_SAVING_METHOD</param-name> | <param-value>client</param-value> | </context-param> | | <servlet> | <servlet-name>Faces Servlet</servlet-name> | <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> | <load-on-startup>1</load-on-startup> | </servlet> | | <filter> | <filter-name>Seam Exception Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class> | </filter> | | <filter-mapping> | <filter-name>Seam Exception Filter</filter-name> | <url-pattern>*.jsf</url-pattern> | </filter-mapping> | | <!-- Faces Servlet Mapping --> | <servlet-mapping> | <servlet-name>Faces Servlet</servlet-name> | <url-pattern>*.jsf</url-pattern> | </servlet-mapping> | | </web-app> Basically, all of my action methods are working fine, but when I come back around to a particular SFSB it blows up in this fashion. Adding the transaction manager lookup class in my persistence.xml helped to extend the number of method calls I could make, but did not fix the problem. What am I doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917159#3917159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917159 ------------------------------------------------------- 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
