[Seasar-user:20434] Re: SingletonS2ContainerFactory.init() エラー

oh [E-MAIL ADDRESS DELETED]
2010年 12月 15日 (水) 16:33:48 JST


お世話になっております。長谷川です。


On Wed, 15 Dec 2010 15:30:08 +0900
Koichi Kobayashi <[E-MAIL ADDRESS DELETED]> wrote:
> ログや jpa〜.dicon など関連するファイルを
> 見せてもらえますか。
> 特にログはコンテナの初期化のところは全部
> お願いします (org.seasar は DEBUG で)。
> 

以下、長くなりますが貼り付けます。


jpa は2つ用意しています。双方を jpa.dicon でインクルードしています。

・jpa1.dicon

<components>
	<include path="s2hibernate-jpa.dicon"/>

	<component name="barsc01Provider" class="org.seasar.framework.jpa.impl.ContainerPersistenceUnitProvider">
		<property name="unitName">"barsc01"</property>
	</component>

	<component name="barsc01EntityManagerFactory" class="javax.persistence.EntityManagerFactory">
		barsc01Provider.entityManagerFactory
	</component>

	<component name="barsc01EntityManager" class="org.seasar.framework.jpa.impl.TxScopedEntityManagerProxy"/>
</components>

・jpa2.dicon

<components>
	<include path="s2hibernate-jpa.dicon"/>

	<component name="barsc02Provider" class="org.seasar.framework.jpa.impl.ContainerPersistenceUnitProvider">
		<property name="unitName">"barsc02"</property>
	</component>

	<component name="barsc01EntityManagerFactory" class="javax.persistence.EntityManagerFactory">
		barsc02Provider.entityManagerFactory
	</component>

	<component name="barsc02EntityManager" class="org.seasar.framework.jpa.impl.TxScopedEntityManagerProxy"/>
</components>


persistence.xml は以下のようにしています。jpa.dicon でインクルードしている名前で定義しています。

<persistence 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"
	version="1.0">
	<persistence-unit name="barsc01" transaction-type="JTA">
		<provider>org.hibernate.ejb.HibernatePersistence</provider>
		<jta-data-source>jdbc1/dataSource</jta-data-source>
		
		<class>...</class>

		<properties>
			<property name="hibernate.dialect" value="org.hibernate.dialect.DB2Dialect"/>
			<property name="hibernate.jndi.class" value="org.seasar.extension.j2ee.JndiContextFactory"/>
			<property name="hibernate.transaction.manager_lookup_class" value="org.seasar.hibernate.jpa.transaction.SingletonTransactionManagerProxyLookup"/>
			<property name="hibernate.show_sql" value="true"/>
			<property name="hibernate.format_sql" value="true"/>
			<property name="hibernate.use_sql_comments" value="false"/>
			<property name="hibernate.archive.autodetection" value=""/>
		</properties>
	</persistence-unit>
	<persistence-unit name="barsc02" transaction-type="JTA">
		<provider>org.hibernate.ejb.HibernatePersistence</provider>
		<jta-data-source>jdbc2/dataSource</jta-data-source>
		<properties>
			<property name="hibernate.dialect" value="org.hibernate.dialect.DB2Dialect"/>
			<property name="hibernate.jndi.class" value="org.seasar.extension.j2ee.JndiContextFactory"/>
			<property name="hibernate.transaction.manager_lookup_class" value="org.seasar.hibernate.jpa.transaction.SingletonTransactionManagerProxyLookup"/>
			<property name="hibernate.show_sql" value="true"/>
			<property name="hibernate.format_sql" value="true"/>
			<property name="hibernate.use_sql_comments" value="false"/>
			<property name="hibernate.archive.autodetection" value=""/>
		</properties>
	</persistence-unit>
</persistence>


以下起動時のログです。

2010/12/15 16:22:25 INFO  [org.seasar.framework.container.factory.SingletonS2ContainerFactory] - s2-frameworkのバージョンは2.4.43です。
2010/12/15 16:22:25 INFO  [org.seasar.framework.container.factory.SingletonS2ContainerFactory] - s2-extensionのバージョンは2.4.43です。
2010/12/15 16:22:25 INFO  [org.seasar.framework.container.factory.SingletonS2ContainerFactory] - s2-tigerのバージョンは2.4.43です。
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=cooldeploy.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=cooldeploy.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=app.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=javaee5.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=j2ee.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jta.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jta.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jdbc.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jdbc1.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jdbc-extension.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=convention.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=convention.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jdbc-extension.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jdbc1.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jdbc2.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jdbc2.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jdbc.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=j2ee.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jpa-support.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jpa-support-smart.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jpa-support-smart.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jpa-support.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=ejb3tx.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=ejb3tx.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=javaee5.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jpa.dicon
2010/12/15 16:22:25 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jpa1.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=s2hibernate-jpa.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=s2hibernate-jpa.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jpa1.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=jpa2.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jpa2.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=jpa.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=app.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=cooldeploy-autoregister.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=customizer.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=default-customizer.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=std-customizer.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=std-customizer-tiger.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=std-customizer-tiger.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=std-customizer.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=default-customizer.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=customizer.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成します。path=creator.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=creator.dicon
2010/12/15 16:22:26 DEBUG [org.seasar.framework.container.factory.S2ContainerFactory] - S2Containerを作成しました。path=cooldeploy-autoregister.dicon
2010/12/15 16:22:26 WARN  [org.seasar.framework.util.ResourcesUtil] - ルートパッケージ(foo.bar.cs)に対応するリソースがクラスパスから見つかりませんでした。
2010/12/15 16:22:26 WARN  [org.seasar.framework.util.ResourcesUtil] - ルートパッケージ(foo.bar.hs)に対応するリソースがクラスパスから見つかりませんでした。
2010/12/15 16:22:26 INFO  [org.seasar.framework.jpa.impl.PersistenceUnitInfoRegistryImpl] - persistence.xml(file:/C:/.dev/bar_java/project/runtest/target/classes/META-INF/persistence.xml)の読み込みを開始します
Exception occured at /persistence[1]/persistence-unit[1]
org.seasar.framework.container.ComponentNotFoundRuntimeException: [ESSR0046]コンポーネント(jdbc.dataSource)が見つかりません
	at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponentDef(S2ContainerBehavior.java:165)
	at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponent(S2ContainerBehavior.java:158)
	at org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromGetComponent(S2ContainerBehavior.java:62)
	at org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:124)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl$DefaultTagHandler.getDataSource(PersistenceUnitInfoFactoryImpl.java:267)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl$PersistenceUnitTagHandler.end(PersistenceUnitInfoFactoryImpl.java:331)
	at org.seasar.framework.xml.SaxHandler.end(SaxHandler.java:228)
	at org.seasar.framework.xml.SaxHandler.end(SaxHandler.java:222)
	at org.seasar.framework.xml.SaxHandler.endElement(SaxHandler.java:100)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(Unknown Source)
	at org.seasar.framework.util.SAXParserUtil.parse(SAXParserUtil.java:55)
	at org.seasar.framework.xml.SaxHandlerParser.parse(SaxHandlerParser.java:117)
	at org.seasar.framework.xml.SaxHandlerParser.parse(SaxHandlerParser.java:107)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl.createPersistenceUnitInfo(PersistenceUnitInfoFactoryImpl.java:172)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl.createPersistenceUnitInfo(PersistenceUnitInfoFactoryImpl.java:162)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoRegistryImpl.load(PersistenceUnitInfoRegistryImpl.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:96)
	at org.seasar.framework.container.assembler.AbstractMethodAssembler.invoke(AbstractMethodAssembler.java:68)
	at org.seasar.framework.container.assembler.DefaultInitMethodAssembler.assemble(DefaultInitMethodAssembler.java:49)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:69)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:48)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.init(SingletonComponentDeployer.java:76)
	at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:236)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:563)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
	at org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:167)
	at foo.bar.App.main(App.java:18)
2010/12/15 16:22:26 WARN  [org.seasar.framework.jpa.impl.PersistenceUnitInfoRegistryImpl] - persistence.xmlの読み込みをスキップします。理由は org.seasar.framework.container.ComponentNotFoundRuntimeException: [ESSR0046]コンポーネント(jdbc.dataSource)が見つかりません
org.seasar.framework.container.ComponentNotFoundRuntimeException: [ESSR0046]コンポーネント(jdbc.dataSource)が見つかりません
	at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponentDef(S2ContainerBehavior.java:165)
	at org.seasar.framework.container.impl.S2ContainerBehavior$DefaultProvider.acquireFromGetComponent(S2ContainerBehavior.java:158)
	at org.seasar.framework.container.impl.S2ContainerBehavior.acquireFromGetComponent(S2ContainerBehavior.java:62)
	at org.seasar.framework.container.impl.S2ContainerImpl.getComponent(S2ContainerImpl.java:124)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl$DefaultTagHandler.getDataSource(PersistenceUnitInfoFactoryImpl.java:267)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl$PersistenceUnitTagHandler.end(PersistenceUnitInfoFactoryImpl.java:331)
	at org.seasar.framework.xml.SaxHandler.end(SaxHandler.java:228)
	at org.seasar.framework.xml.SaxHandler.end(SaxHandler.java:222)
	at org.seasar.framework.xml.SaxHandler.endElement(SaxHandler.java:100)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(Unknown Source)
	at org.seasar.framework.util.SAXParserUtil.parse(SAXParserUtil.java:55)
	at org.seasar.framework.xml.SaxHandlerParser.parse(SaxHandlerParser.java:117)
	at org.seasar.framework.xml.SaxHandlerParser.parse(SaxHandlerParser.java:107)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl.createPersistenceUnitInfo(PersistenceUnitInfoFactoryImpl.java:172)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoFactoryImpl.createPersistenceUnitInfo(PersistenceUnitInfoFactoryImpl.java:162)
	at org.seasar.framework.jpa.impl.PersistenceUnitInfoRegistryImpl.load(PersistenceUnitInfoRegistryImpl.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:96)
	at org.seasar.framework.container.assembler.AbstractMethodAssembler.invoke(AbstractMethodAssembler.java:68)
	at org.seasar.framework.container.assembler.DefaultInitMethodAssembler.assemble(DefaultInitMethodAssembler.java:49)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:69)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:48)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.init(SingletonComponentDeployer.java:76)
	at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:236)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:563)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
	at org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:167)
	at foo.bar.App.main(App.java:18)
Exception in thread "main" org.seasar.framework.exception.OgnlRuntimeException: [ESSR0073]OGNLで例外が発生しました。理由はbarsc01 at file:///C:/.dev/bar_java/project/runtest/jpa1.dicon(13)
	at org.seasar.framework.util.OgnlUtil.getValue(OgnlUtil.java:103)
	at org.seasar.framework.container.ognl.OgnlExpression.evaluate(OgnlExpression.java:64)
	at org.seasar.framework.container.assembler.AbstractConstructorAssembler.assembleExpression(AbstractConstructorAssembler.java:76)
	at org.seasar.framework.container.assembler.AbstractConstructorAssembler.assemble(AbstractConstructorAssembler.java:50)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.assemble(SingletonComponentDeployer.java:64)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.deploy(SingletonComponentDeployer.java:48)
	at org.seasar.framework.container.deployer.SingletonComponentDeployer.init(SingletonComponentDeployer.java:76)
	at org.seasar.framework.container.impl.ComponentDefImpl.init(ComponentDefImpl.java:236)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:563)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
	at org.seasar.framework.container.impl.S2ContainerImpl.init(S2ContainerImpl.java:560)
	at org.seasar.framework.container.factory.SingletonS2ContainerFactory.init(SingletonS2ContainerFactory.java:167)
	at foo.bar.App.main(App.java:18)
Caused by: java.lang.IllegalArgumentException: barsc01
	at org.seasar.framework.jpa.impl.ContainerPersistenceUnitProvider.createEntityManagerFactory(ContainerPersistenceUnitProvider.java:136)
	at org.seasar.framework.jpa.impl.PersistenceUnitManagerImpl.createEntityManagerFactory(PersistenceUnitManagerImpl.java:172)
	at org.seasar.framework.jpa.impl.PersistenceUnitManagerImpl.getEntityManagerFactory(PersistenceUnitManagerImpl.java:153)
	at org.seasar.framework.jpa.impl.AbstractPersistenceUnitProvider.getEntityManagerFactory(AbstractPersistenceUnitProvider.java:124)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:584)
	at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1017)
	at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53)
	at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121)
	at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1758)
	at ognl.ASTProperty.getValueBody(ASTProperty.java:92)
	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:171)
	at ognl.SimpleNode.getValue(SimpleNode.java:211)
	at ognl.ASTChain.getValueBody(ASTChain.java:109)
	at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:171)
	at ognl.SimpleNode.getValue(SimpleNode.java:211)
	at ognl.Ognl.getValue(Ognl.java:333)
	at ognl.Ognl.getValue(Ognl.java:310)
	at org.seasar.framework.util.OgnlUtil.getValue(OgnlUtil.java:98)
	... 12 more



以上、よろしくお願いいたします。
-- 
_/_/
_/_/ mailto: [E-MAIL ADDRESS DELETED]
_/_/



Seasar-user メーリングリストの案内