<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>$BM'ED$H?=$7$^$9(B<BR>
&nbsp;<BR>
s2-jsf-example-1.1.1$B$r;HMQ$7$F!"(BS2Dao$B$+$i%G!<%?$r(Binsert$B$7$h$&$H$9$k$H!"%(%i!<$H$J$j$^$9!#(B<BR>
postgres$B$N%P!<%8%g%s(B8.2<BR>
&nbsp;<BR>
jdbc.dicon$B!JH4?h!K(B<BR>
&nbsp;&lt;component name="xaDataSource"<BR>&nbsp;&nbsp;class="org.seasar.extension.dbcp.impl.XADataSourceImpl"&gt;<BR>&nbsp;&nbsp;&lt;property name="driverClassName"&gt;<BR>&nbsp;&nbsp;&nbsp;"org.postgresql.Driver"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/property&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="URL"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "jdbc:postgresql://localhost:5432/xxxx"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/property&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="user"&gt;"$B#x#x#x#x(B"&lt;/property&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;property name="password"&gt;"$B#x#x#x#x(B"&lt;/property&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/component&gt;<BR>
&nbsp;<BR>
$B%f!<%6$H%Q%9%o!<%I!"%G!<%?%Y!<%9L>$O=q$-49$($F$"$j$^$9!#(B<BR>
&nbsp;<BR>
&nbsp;<BR>
postgres$B$N%I%i%$%P!<(B<BR>
postgresql-8.2-504.jdbc3.jar<BR>
$B!J(B3$B8D$D$$$F$$$k$N$G$9$,!"%3%l$@$H%@%a$J$N$G$7$g$&$+!)!K(B<BR>
&nbsp;<BR>
$B%9%?%C%/%H%l!<%9(B<BR>
java.lang.NullPointerException<BR>&nbsp;at org.seasar.extension.jdbc.util.DataSourceUtil.getConnection(DataSourceUtil.java:36)<BR>&nbsp;at org.seasar.dao.impl.DaoMetaDataImpl.initialize(DaoMetaDataImpl.java:191)<BR>&nbsp;at org.seasar.dao.impl.DaoMetaDataFactoryImpl.createDaoMetaData(DaoMetaDataFactoryImpl.java:140)<BR>&nbsp;at org.seasar.dao.impl.DaoMetaDataFactoryImpl.getDaoMetaData(DaoMetaDataFactoryImpl.java:109)<BR>&nbsp;at org.seasar.dao.interceptors.S2DaoInterceptor.invoke(S2DaoInterceptor.java:51)<BR>&nbsp;at org.seasar.dao.pager.PagerS2DaoInterceptorWrapper.invoke(PagerS2DaoInterceptorWrapper.java:64)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:43)<BR>&nbsp;at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:59)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:43)<BR>&nbsp;at org.seasar.framework.aop.interceptors.InterceptorChain.invoke(InterceptorChain.java:42)<BR>&nbsp;at jp.mtomoda.www.dao.VillageDtoDao$$EnhancedByS2AOP$$11f74a1$$MethodInvocation$$insert1.proceed(MethodInvocationClassGenerator.java)<BR>&nbsp;at jp.mtomoda.www.dao.VillageDtoDao$$EnhancedByS2AOP$$11f74a1.insert(VillageDtoDao$$EnhancedByS2AOP$$11f74a1.java)<BR>&nbsp;at jp.mtomoda.www.logic.impl.VillageRegistLogicImpl.insert(VillageRegistLogicImpl.java:36)<BR>&nbsp;at jp.mtomoda.www.logic.impl.VillageRegistLogicImpl$$EnhancedByS2AOP$$1ba3db.$$insert$$invokeSuperMethod$$(VillageRegistLogicImpl$$EnhancedByS2AOP$$1ba3db.java)<BR>&nbsp;at jp.mtomoda.www.logic.impl.VillageRegistLogicImpl$$EnhancedByS2AOP$$1ba3db$$MethodInvocation$$insert1.proceed(MethodInvocationClassGenerator.java)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:45)<BR>&nbsp;at org.seasar.extension.tx.RequiredInterceptor.invoke(RequiredInterceptor.java:40)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:43)<BR>&nbsp;at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:59)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:43)<BR>&nbsp;at org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:64)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:43)<BR>&nbsp;at org.seasar.framework.aop.interceptors.InterceptorChain.invoke(InterceptorChain.java:42)<BR>&nbsp;at jp.mtomoda.www.logic.impl.VillageRegistLogicImpl$$EnhancedByS2AOP$$1ba3db$$MethodInvocation$$insert1.proceed(MethodInvocationClassGenerator.java)<BR>&nbsp;at jp.mtomoda.www.logic.impl.VillageRegistLogicImpl$$EnhancedByS2AOP$$1ba3db.insert(VillageRegistLogicImpl$$EnhancedByS2AOP$$1ba3db.java)<BR>&nbsp;at jp.mtomoda.www.action.impl.VillageRegistActionImpl.registVillage(VillageRegistActionImpl.java:41)<BR>&nbsp;at jp.mtomoda.www.action.impl.VillageRegistActionImpl$$EnhancedByS2AOP$$5bacb2.$$registVillage$$invokeSuperMethod$$(VillageRegistActionImpl$$EnhancedByS2AOP$$5bacb2.java)<BR>&nbsp;at jp.mtomoda.www.action.impl.VillageRegistActionImpl$$EnhancedByS2AOP$$5bacb2$$MethodInvocation$$registVillage0.proceed(MethodInvocationClassGenerator.java)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:45)<BR>&nbsp;at org.seasar.framework.aop.interceptors.ThrowsInterceptor.invoke(ThrowsInterceptor.java:64)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:43)<BR>&nbsp;at org.seasar.framework.aop.interceptors.TraceInterceptor.invoke(TraceInterceptor.java:59)<BR>&nbsp;at org.seasar.framework.aop.impl.NestedMethodInvocation.proceed(NestedMethodInvocation.java:43)<BR>&nbsp;at org.seasar.framework.aop.interceptors.InterceptorChain.invoke(InterceptorChain.java:42)<BR>&nbsp;at jp.mtomoda.www.action.impl.VillageRegistActionImpl$$EnhancedByS2AOP$$5bacb2$$MethodInvocation$$registVillage0.proceed(MethodInvocationClassGenerator.java)<BR>&nbsp;at jp.mtomoda.www.action.impl.VillageRegistActionImpl$$EnhancedByS2AOP$$5bacb2.registVillage(VillageRegistActionImpl$$EnhancedByS2AOP$$5bacb2.java)<BR>&nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR>&nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<BR>&nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<BR>&nbsp;at java.lang.reflect.Method.invoke(Unknown Source)<BR>&nbsp;at org.seasar.teeda.core.el.impl.MethodBindingImpl.invoke(MethodBindingImpl.java:70)<BR>&nbsp;at org.seasar.jsf.util.InvokeUtil.invokeInternal(InvokeUtil.java:92)<BR>&nbsp;at org.seasar.jsf.util.InvokeUtil.invoke(InvokeUtil.java:72)<BR>&nbsp;at org.seasar.jsf.application.ActionListenerImpl.processAction(ActionListenerImpl.java:65)<BR>&nbsp;at javax.faces.component.UICommand.broadcast(UICommand.java:149)<BR>&nbsp;at org.seasar.teeda.extension.component.html.THtmlCommandButton.broadcast(THtmlCommandButton.java:50)<BR>&nbsp;at org.seasar.jsf.component.S2UIViewRoot.broadcastForPhase(S2UIViewRoot.java:119)<BR>&nbsp;at org.seasar.jsf.component.S2UIViewRoot.processApplication(S2UIViewRoot.java:90)<BR>&nbsp;at org.seasar.jsf.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:177)<BR>&nbsp;at org.seasar.jsf.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:108)<BR>&nbsp;at javax.faces.webapp.FacesServlet.service(FacesServlet.java:87)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)<BR>&nbsp;at examples.jsf.util.RequestDumpFilter.doFilter(RequestDumpFilter.java:66)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)<BR>&nbsp;at org.seasar.extension.filter.EncodingFilter.doFilter(EncodingFilter.java:62)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)<BR>&nbsp;at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:63)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)<BR>&nbsp;at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)<BR>&nbsp;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)<BR>&nbsp;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)<BR>&nbsp;at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<BR>&nbsp;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<BR>&nbsp;at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)<BR>&nbsp;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)<BR>&nbsp;at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<BR>&nbsp;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<BR>&nbsp;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)<BR>&nbsp;at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<BR>&nbsp;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)<BR>&nbsp;at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)<BR>&nbsp;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<BR>&nbsp;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<BR>&nbsp;at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)<BR>&nbsp;at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)<BR>&nbsp;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)<BR>&nbsp;at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)<BR>&nbsp;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)<BR>&nbsp;at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)<BR>&nbsp;at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)<BR>&nbsp;at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)<BR>&nbsp;at java.lang.Thread.run(Unknown Source)<BR><BR>
JDBC$B%3%M%/%7%g%s$,D%$l$F$$$J$$$H$N%(%i!<$N$h$&$G$9$,!"(Bjdbc.dicon$B$,0-$$$N$+$o$+$j$^$;$s!#(B<BR>
$B$I$N$h$&$K$7$?$i$h$$$N$G$7$g$&$+!)(B<BR>
&nbsp;<BR>
$B%]%$%s%H$@$1$G$b9=$o$J$$$N$G!"$465<x4j$$$^$9(B<BR><br /><hr />Windows Live $B%a%C%;%s%8%c!<$G!"$b$C$H3Z$7$/%3%_%e%K%1!<%7%g%s!#(BHotmail $B%"%I%l%9$,$"$l$P!"$9$0$K;O$a$i$l$^$9!#(B <a href='http://messenger.live.jp' target='_new'>$B:#$9$0%H%i%$!*(B</a></body>
</html>