paul LMC

Greenhorn
+ Follow
since Jun 26, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by paul LMC

i got the same problem like this:

23:50:49,107 INFO [STDOUT] 23:50:49,107 INFO [Environment] Hibernate 3.1.3
23:50:49,127 INFO [STDOUT] 23:50:49,127 INFO [Environment] hibernate.properties not found
23:50:49,137 INFO [STDOUT] 23:50:49,137 INFO [Environment] using CGLIB reflection optimizer
23:50:49,137 INFO [STDOUT] 23:50:49,137 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
23:50:49,418 INFO [STDOUT] 23:50:49,418 INFO [Configuration] configuring from resource: /hibernate.cfg.xml
23:50:49,418 INFO [STDOUT] 23:50:49,418 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
23:50:49,658 INFO [STDOUT] 23:50:49,658 INFO [Configuration] Reading mappings from resource: domain/InfoArti
cle.hbm.xml
23:50:50,720 INFO [STDOUT] 23:50:50,720 INFO [HbmBinder] Mapping class: domain.InfoArticle -> info_article
23:50:50,820 INFO [STDOUT] 23:50:50,820 INFO [Configuration] Reading mappings from resource: domain/ChanArti
Relation.hbm.xml
23:50:51,240 INFO [STDOUT] 23:50:51,240 INFO [HbmBinder] Mapping class: domain.ChanArtiRelation -> chan_arti
_relation
23:50:51,511 INFO [STDOUT] 23:50:51,511 INFO [Configuration] Reading mappings from resource: domain/InfoChan
nel.hbm.xml
23:50:52,382 INFO [STDOUT] 23:50:52,382 INFO [HbmBinder] Mapping class: domain.InfoChannel -> info_channel
23:50:52,392 INFO [STDOUT] 23:50:52,392 INFO [Configuration] Configured SessionFactory: null
23:50:52,392 INFO [STDOUT] 23:50:52,392 INFO [HbmBinder] Mapping collection: domain.InfoArticle.chanArtiRela
tions -> chan_arti_relation
23:50:52,392 INFO [STDOUT] 23:50:52,392 INFO [HbmBinder] Mapping collection: domain.InfoChannel.chanArtiRela
tions -> chan_arti_relation
23:50:52,522 INFO [STDOUT] 23:50:52,522 INFO [NamingHelper] JNDI InitialContext properties:{}
23:50:52,532 INFO [STDOUT] 23:50:52,522 INFO [DatasourceConnectionProvider] Using datasource: java:/moreflur
ish
23:50:53,293 INFO [STDOUT] 23:50:53,293 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.15-nt
23:50:53,293 INFO [STDOUT] 23:50:53,293 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: m
ysql-connector-java-5.0.8 ( Revision: ${svn.Revision} )
23:50:53,414 INFO [STDOUT] 23:50:53,373 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
23:50:53,434 INFO [STDOUT] 23:50:53,434 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate
.transaction.JDBCTransactionFactory
23:50:53,454 INFO [STDOUT] 23:50:53,454 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup c
onfigured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
23:50:53,454 INFO [STDOUT] 23:50:53,454 INFO [SettingsFactory] Automatic flush during beforeCompletion(): di
sabled
23:50:53,454 INFO [STDOUT] 23:50:53,454 INFO [SettingsFactory] Automatic session close at end of transaction
: disabled
23:50:53,454 INFO [STDOUT] 23:50:53,454 INFO [SettingsFactory] JDBC batch size: 15
23:50:53,454 INFO [STDOUT] 23:50:53,454 INFO [SettingsFactory] JDBC batch updates for versioned data: disabl
ed
23:50:53,464 INFO [STDOUT] 23:50:53,464 INFO [SettingsFactory] Scrollable result sets: enabled
23:50:53,464 INFO [STDOUT] 23:50:53,464 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
23:50:53,464 INFO [STDOUT] 23:50:53,464 INFO [SettingsFactory] Connection release mode: auto
23:50:53,474 INFO [STDOUT] 23:50:53,474 INFO [SettingsFactory] Maximum outer join fetch depth: 2
23:50:53,474 INFO [STDOUT] 23:50:53,474 INFO [SettingsFactory] Default batch fetch size: 1
23:50:53,474 INFO [STDOUT] 23:50:53,474 INFO [SettingsFactory] Generate SQL with comments: disabled
23:50:53,474 INFO [STDOUT] 23:50:53,474 INFO [SettingsFactory] Order SQL updates by primary key: disabled
23:50:53,474 INFO [STDOUT] 23:50:53,474 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQu
eryTranslatorFactory
23:50:53,484 INFO [STDOUT] 23:50:53,484 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
23:50:53,494 INFO [STDOUT] 23:50:53,494 INFO [SettingsFactory] Query language substitutions: {}
23:50:53,494 INFO [STDOUT] 23:50:53,494 INFO [SettingsFactory] Second-level cache: enabled
23:50:53,494 INFO [STDOUT] 23:50:53,494 INFO [SettingsFactory] Query cache: disabled
23:50:53,494 INFO [STDOUT] 23:50:53,494 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCachePr
ovider
23:50:53,514 INFO [STDOUT] 23:50:53,514 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
23:50:55,226 INFO [STDOUT] 23:50:55,226 INFO [SettingsFactory] Structured second-level cache entries: disabl
ed
23:50:55,256 INFO [STDOUT] 23:50:55,256 INFO [SettingsFactory] Echoing all SQL to stdout
23:50:55,256 INFO [STDOUT] 23:50:55,256 INFO [SettingsFactory] Statistics: disabled
23:50:55,256 INFO [STDOUT] 23:50:55,256 INFO [SettingsFactory] Deleted entity synthetic identifier rollback:
disabled
23:50:55,256 INFO [STDOUT] 23:50:55,256 INFO [SettingsFactory] Default entity-mode: pojo
23:50:55,376 INFO [STDOUT] 23:50:55,376 INFO [SessionFactoryImpl] building session factory
23:50:55,406 INFO [STDOUT] 23:50:55,406 WARN [Configurator] No configuration found. Configuring ehcache from
ehcache-failsafe.xml found in the classpath: jar:file:/D:/jboss-4.2.2.GA/server/default/deploy/ejb3web.war/WE
B-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
23:50:58,301 INFO [STDOUT] 23:50:58,301 INFO [SessionFactoryObjectFactory] Factory name: hibernateJNDI
23:50:58,301 INFO [STDOUT] 23:50:58,301 INFO [NamingHelper] JNDI InitialContext properties:{}
23:50:58,301 INFO [STDOUT] 23:50:58,301 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: hiber
nateJNDI
23:50:58,311 INFO [STDOUT] 23:50:58,301 WARN [SessionFactoryObjectFactory] InitialContext did not implement
EventContext
23:50:58,311 INFO [STDOUT] bind hibernateJNDI~~~~~~~~~~~~~~~~~~~~~~~`
23:50:58,441 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
23:50:59,052 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
23:50:59,102 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
23:50:59,192 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)]
Started in 1m:32s:103ms
23:51:08,265 INFO [STDOUT] hibernateJNDI===============org.hibernate.impl.SessionFactoryImpl@197d63b
23:51:08,265 ERROR [STDERR] java.lang.ClassCastException: org.hibernate.impl.SessionFactoryImpl
23:51:08,265 ERROR [STDERR] at hibernate.HibernateBase.Init(HibernateBase.java:21)
23:51:08,285 ERROR [STDERR] at hibernate.HibernateBase.Begin(HibernateBase.java:13)
23:51:08,285 ERROR [STDERR] at ejb3.services.Article.ArticleEJB.getAllArticle(ArticleEJB.java:18)
23:51:08,285 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
23:51:08,285 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
23:51:08,285 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
23:51:08,285 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
23:51:08,285 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
12)
23:51:08,285 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextI
mpl.java:166)
23:51:08,285 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3Intercept
orsInterceptor.java:63)
23:51:08,285 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,285 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(Tran
sactionScopedEntityManagerInterceptor.java:54)
23:51:08,285 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,285 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterce
ptor.java:47)
23:51:08,285 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,285 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
23:51:08,285 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
23:51:08,285 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,285 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationIntercept
or.java:95)
23:51:08,315 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,315 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInsta
nceInterceptor.java:62)
23:51:08,315 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,325 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationI
nterceptor.java:77)
23:51:08,325 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3Authentica
tionInterceptor.java:110)
23:51:08,335 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,345 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.j
ava:46)
23:51:08,345 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,355 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInte
rceptor.java:106)
23:51:08,365 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,365 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.
java:240)
23:51:08,375 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.
java:210)
23:51:08,375 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.jav
a:84)
23:51:08,385 ERROR [STDERR] at $Proxy66.getAllArticle(Unknown Source)
23:51:08,385 ERROR [STDERR] at EJBClient.ClientTest.getAllArticle(ClientTest.java:18)
23:51:08,395 ERROR [STDERR] at org.apache.jsp.index_jsp._jspService(index_jsp.java:88)
23:51:08,395 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
23:51:08,425 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
23:51:08,425 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
373)
23:51:08,425 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
23:51:08,425 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
23:51:08,425 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
23:51:08,425 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:290)
23:51:08,435 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206)
23:51:08,445 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.j
ava:96)
23:51:08,445 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
nFilterChain.java:235)
23:51:08,455 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
hain.java:206)
23:51:08,465 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
ava:230)
23:51:08,505 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
ava:175)
23:51:08,505 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoc
iationValve.java:179)
23:51:08,505 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java
:84)
23:51:08,505 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
7)
23:51:08,505 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
2)
23:51:08,535 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnect
ionValve.java:157)
23:51:08,535 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
a:109)
23:51:08,535 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

23:51:08,535 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
23:51:08,535 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt
p11Protocol.java:583)
23:51:08,535 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
23:51:08,545 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
23:51:08,545 ERROR [STDERR] java.lang.NullPointerException
23:51:08,555 ERROR [STDERR] at hibernate.HibernateBase.Begin(HibernateBase.java:14)
23:51:08,555 ERROR [STDERR] at ejb3.services.Article.ArticleEJB.getAllArticle(ArticleEJB.java:18)
23:51:08,555 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
23:51:08,565 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
23:51:08,565 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
23:51:08,575 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
23:51:08,575 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
12)
23:51:08,605 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextI
mpl.java:166)
23:51:08,605 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3Intercept
orsInterceptor.java:63)
23:51:08,605 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1
01)
23:51:08,605 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(Tran
sactionScopedEntityManagerInterceptor.java:54)