-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: the error in struts when i use the hibernate
PostPosted: Wed Apr 21, 2004 6:51 am 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
i use the hibernate in the struts,the code is run ok in the jbuilder9,then i move the total system to eclipse,then when i debug the following code :
Code:
net.sf.hibernate.SessionFactory objSessionFactory = objConfig.configure().buildSessionFactory();


the eclipse tell me the error:
Source not found for ApplicationFilterChain.internalDoFilter(ServletRequest, ServletResponse)

in my eclipse ,the struct runs ok(hibernte2.1.1,eclipse M7,struts 1.1)

thans a lot !!!


Top
 Profile  
 
 Post subject: the error tells after ....
PostPosted: Wed Apr 21, 2004 6:59 am 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
18:43:01,878 INFO DriverManagerConnectionProvider:71 - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:oci8:@sfhc_test_192.168.3.35
18:43:01,888 INFO DriverManagerConnectionProvider:72 - connection properties: {user=hibernate, password=hibernate}
18:43:01,958 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)


then tell then error:
18:43:01,878 INFO DriverManagerConnectionProvider:71 - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:oci8:@sfhc_test_192.168.3.35
18:43:01,888 INFO DriverManagerConnectionProvider:72 - connection properties: {user=hibernate, password=hibernate}
18:43:01,958 INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)


i use struts in tomcat 4.1.x


Top
 Profile  
 
 Post subject: the same code runs ok in jbuilder9
PostPosted: Wed Apr 21, 2004 7:03 am 
Regular
Regular

Joined: Tue Dec 30, 2003 2:35 am
Posts: 85
it tell me:
Code:
18:58:46,112  INFO DriverManagerConnectionProvider:41 - Using Hibernate built-in connection pool (not for production use!)

18:58:46,132  INFO DriverManagerConnectionProvider:42 - Hibernate connection pool size: 20

18:58:46,212  INFO DriverManagerConnectionProvider:71 - using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:oci8:@platform

18:58:46,222  INFO DriverManagerConnectionProvider:72 - connection properties: {user=hibernate, password=hibernate}

18:58:46,482  INFO TransactionManagerLookupFactory:33 - No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)

[color=red]18:59:02,265  INFO SettingsFactory:89 - Use scrollable result sets: true[/color]

18:59:02,275  INFO SettingsFactory:90 - JDBC 2 max batch size: 25

18:59:02,275  INFO SettingsFactory:96 - echoing all SQL to stdout

18:59:02,285  INFO SettingsFactory:99 - Query language substitutions: {}

18:59:02,295  INFO SettingsFactory:110 - cache provider: net.sf.ehcache.hibernate.Provider

18:59:02,405  INFO Configuration:1057 - instantiating and configuring caches

18:59:03,917  INFO SessionFactoryImpl:119 - building session factory

18:59:08,954  INFO SessionFactoryObjectFactory:82 - no JNDI name configured


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 21, 2004 7:40 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
not a struts problem
not an hibernate problem
just a deployment problem

check all your parameter files (web.xml, server.xml, eclipse plug in)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.