[jboss-user] [JBoss Seam] - Re: problem configuring SMPC with Glassfish
laksu
do-not-reply at jboss.com
Mon Jul 9 05:43:36 EDT 2007
that was working before trying to switch to SMPC.
ok, I have gone through the jpa example and changed a few things here and there, i still get the same thing. I cannot understand why it tries to get it to toplink. i have never used it and i had almost forgotten such a thing even existed.
here follows my updated components, persistence and faces-config.xml files. I don't know if I should I be concerned about anything else?
and, do you think it is a good idea asking about it to glassfish people?
<?xml version="1.0" encoding="UTF-8"?>
|
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:security="http://jboss.com/products/seam/security"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="
| http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd
| http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd
| http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.1.xsd
| ">
| <core:init jndi-pattern="java:comp/env/gop-ejb/#{ejbName}/local" debug="true"/>
|
| <core:manager conversation-timeout="120000"
| concurrent-request-timeout="500"
| conversation-id-parameter="cid"
| conversation-is-long-running-parameter="clr"/>
|
| <core:entity-manager-factory name="gopent-ejbPU" />
|
| <core:managed-persistence-context name="entityManager"
| auto-create="true"
| entity-manager-factory="#{gopent-ejbPU}"/>
|
| <security:identity authenticate-method="#{otantikamator.otantikmi}"/>
|
| <event type="org.jboss.seam.notLoggedIn">
| <action expression="#{redirect.captureCurrentView}"/>
| </event>
| <event type="org.jboss.seam.postAuthenticate">
| <action expression="#{redirect.returnToCapturedView}"/>
| </event>
|
| <component class="org.jboss.seam.web.MultipartFilter">
| <property name="createTempFiles">true</property>
| <property name="maxRequestSize">1000000</property>
| </component>
|
| <event type="isteklerRefresh">
| <action expression="#{isteklerAra.refresh}"/>
| </event>
|
| </components>
|
<?xml version="1.0" encoding="UTF-8"?>
| <persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
| <persistence-unit name="gopent-ejbPU" transaction-type="JTA">
| <provider>org.hibernate.ejb.HibernatePersistence</provider>
| <jta-data-source>jdbc/gop</jta-data-source>
| <properties>
| <property name="hibernate.hbm2ddl.auto" value="update"/>
| <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
| <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
|
| <property name="hibernate.show_sql" value="true"/>
| </properties>
| </persistence-unit>
| </persistence>
|
|
<?xml version='1.0' encoding='UTF-8'?>
| <faces-config version="1.2"
| xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
|
| <application>
| <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
| </application>
|
| <lifecycle>
| <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener>
| </lifecycle>
|
| <application>
| <el-resolver>org.jboss.seam.jsf.SeamELResolver</el-resolver>
| </application>
| </faces-config>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061869#4061869
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061869
More information about the jboss-user
mailing list