-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
凤凰,
On 10/20/14 1:49 AM, 凤凰 wrote:
> I want to integrate struts2 with hibernate4 and spring4,but i
> don't know if i need to use spring to manager struts action, is
> spring manager struts action better than struts manage action
> itself? Which met
I want to integrate struts2 with hibernate4 and spring4,but i don't know if i
need to use spring to manager struts action, is spring manager struts action
better than struts manage action itself? Which method is better? I am puzzled
with how to integrate struts2 with hibernate4 and spring4, An
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Martin,
On 1/3/13 6:03 PM, Martin Gainty wrote:
> Does anyone know how to hint a Hibernate predicate with something
> like select /*+ index(emp_alias ix_emp) */ ... from scott.emp
> emp_alias
Short answer: you can't.
Long answ
On 3 Jan 2013, at 23:04, Martin Gainty wrote:
> Martin
> __ If computers were self-aware
> they would'nt need human beingsAuthor Unknown
Indeed.
-
To unsubscribe, e-mail: users-
Gentlemen This has been asked many times but i havent found an answer
Does anyone know how to hint a Hibernate predicate with something like select
/*+ index(emp_alias ix_emp) */ ... from scott.emp emp_alias
Martin
__ If computers were self-aware
- Original Message
From: הילה - צוות אגורה
To: Tomcat Users List
Sent: Sat, April 2, 2011 11:35:36 PM
Subject: Re: Hibernate in Tomcat
what is the hibernate mailing list address?
hibern...@tomcat.apache.org? :]
Thanks
Hila
- Original Message
Google is your friend:
https
what is the hibernate mailing list address?
hibern...@tomcat.apache.org? :]
Thanks
Hila
2011/4/3 Mark Eggers
> - Original Message start (edited)
> Hey guys,
>
> I tried to explore a bit the possibility of hibernate in tomcat, but some
> things aren't that cl
- Original Message start (edited)
Hey guys,
I tried to explore a bit the possibility of hibernate in tomcat, but some
things aren't that clear for me.
Before hitting the specific questions, please explain what is hibernate in
Tomcat, when do we want to use it, how do I u
Hey guys,
I tried to explore a bit the possibility of hibernate in tomcat, but some
things aren't that clear for me.
Before hitting the specific questions, please explain what is hibernate in
Tomcat, when do we want to use it, how do I use it specifically with the
JDBC connection pool (inste
My bad.
Copy and paste laziness led to a stray localDataSource="true" attribute winding
up in my server.xml Realm definition.
Fixed, and now everything works as expected. Back to writing.
/mde/
--- On Mon, 6/14/10, Mark Thomas wrote:
> From: Mark Thomas
> Subject: Re: hiber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yucca Nel,
On 6/15/2010 1:25 PM, yucca...@live.co.za wrote:
> Much appreciated, Very nice wiki that got me up and running apart from
> some odd exception (does not happen in development only production)
>
> root cause
>
> org.apache.tomcat.dbcp.
acesServlet.java:265)
--
From: "Mark Eggers"
Sent: Tuesday, June 15, 2010 7:13 PM
To: "Tomcat Users List"
Subject: Re: tomcat hibernate wiki
I've added a sentence clarifying that, saying that you still need the
dialect property.
--- On Tue, 6/15/10, yucca...@live
I've added a sentence clarifying that, saying that you still need the dialect
property.
--- On Tue, 6/15/10, yucca...@live.co.za wrote:
> Please add to the wiki that hibernate
> dialect must still be set. Wiki says,
> must have NO database configuration properties but just got
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yucca Nel,
On 6/15/2010 1:23 AM, yucca...@live.co.za wrote:
> --
>> From: "Christopher Schultz"
>> Subject: Re: hibernate not finding global resource datasource defined by
Please add to the wiki that hibernate dialect must still be set. Wiki says,
must have NO database configuration properties but just got an exception
complaining om missing dialect properties
--
From: "Mark Eggers"
Sent: Monday, June 1
010 11:45 PM
To: "Tomcat Users List"
Subject: Re: hibernate not finding global resource datasource defined by
tomcat
Please read the following for a detailed description on how to configure
Hibernate to use JNDI resources supplied by Tomcat.
http://wiki.apache.org/tomcat/TomcatHibe
On 15/06/2010 02:21, Mark Eggers wrote:
Sure, I can make an attempt at it. I'd like to finish the wiki entry first.
What I'm writing though will have to be drastically shortened for the
documentation page I think.
I just ran into a bit of a puzzle though. I was trying to unravel what happens
--
From: "Christopher Schultz"
Sent: Tuesday, June 15, 2010 12:03 AM
To: "Tomcat Users List"
Subject: Re: hibernate not finding global resource datasource defined by
tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
- Realm, server.xml Resource in GlobalNamingResources
ResourceLink needed (obviously)
3. Server.xml - CombinedRealm, Resource in GlobalNamingResources
ResourceLink needed (??)
thanks for clearing things up . . . .
/mde/
--- On Mon, 6/14/10, Mark Thomas wrote:
> From: Mark Thomas
>
On 14/06/2010 22:45, Mark Eggers wrote:
I'm trying to finish up a document on DataSourceRealms. Hopefully that will get
posted on Tomcat's Wiki today or tomorrow, depending on other time constraints.
I don't suppose you fancy providing a patch for the Tomcat docs as
well... (or instead of)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yuccal Nel,
On 6/14/2010 4:26 PM, yucca...@live.co.za wrote:
> Please advise as to why hibernate us unable to find jndi datasource
> configured in tomcat?
I'm not sure why Hibernate can't find your JNDI resource, but...
> n
Please read the following for a detailed description on how to configure
Hibernate to use JNDI resources supplied by Tomcat.
http://wiki.apache.org/tomcat/TomcatHibernate
Then you will need a element in META-INF/context.xml to make the
resource in available to your application.
The
Hello tomcats!!
Please advise as to why hibernate us unable to find jndi datasource configured
in tomcat?
Trying 2 different setups here:
1) server.xml resource as follows:
throws:
Jun 14, 2010 10:13:20 PM org.apache.catalina.core.ApplicationContext log
Jun 14, 2010 10:13
Hello tomcats !! I learnt a lot since last discussion(problems at
thejarbar.org) and am moving on...
I now wish to configure the datasource used by the realm to also be used by
hibernate
Currently my server.xml looks as follows
> From: Yucca Nel [mailto:yucca...@live.co.za]
> Subject: help with hibernate (Iknow it's off topic)
>
> I am horrified by the following code causing a untime exception
Someone call Stephen Hawking so we can get details about "untime"...
> I want to make sure h
but the following forums seem dead.
I am horrified by the following code causing a untime exception because I want
to make sure hibernate session is closed but even though the session is null,
it appears to be open still?
finally {
if(session!=null){
session.close
On 04/05/2010 21:27, Yucca Nel wrote:
> Anyone can explain if I can use hibernate validator in tomcat 6 webapp?
> Current use case tests are not failing using validator annotations but is it
> because it will only work in EE container?
Erm, yes?
Without more information I can't a
post one code sample with one validation
also post version number of annotated jars and hibernate you are using and
where you put them
contents of hibernate.cfg.xml
which container are you using..ARE you SURE you are using Tomcat..if so which
version of Tomcat?
Martin Gainty
Anyone can explain if I can use hibernate validator in tomcat 6 webapp? Current
use case tests are not failing using validator annotations but is it because it
will only work in EE container?
:yucca...@live.co.za]
> Sent: Saturday, May 01, 2010 13:38
> To: Tomcat Users List
> Subject: please hwlp with hibernate strategy
>
> I am planning on using hibernate (1st time) in tomcat webapp.
> It would appear that it is common to use hibernate util class
> to load the
I am planning on using hibernate (1st time) in tomcat webapp. It would appear
that it is common to use hibernate util class to load the session factory but I
have yet to see this done using Servlet ContextListener. I have also only seen
very bad example where someone used hibernate directly in
davefu wrote:
Hi, this is my setup:
- Debian Lenny
- Tomcat 5.5
- Postgres 8.3
I'm running an app which is failing everytime it tries to get some data from
the DB with characters like [ÁÉÍÓÚáéíóú]. By "failing" I mean the
application isn't showing the data it should when Tomcat throws querys
Hi, this is my setup:
- Debian Lenny
- Tomcat 5.5
- Postgres 8.3
I'm running an app which is failing everytime it tries to get some data from
the DB with characters like [ÁÉÍÓÚáéíóú]. By "failing" I mean the
application isn't showing the data it should when Tomcat throws querys to
Postgres.
-
a lot more into memory and inducing garbage collection with
Hibernate and Spring in the mix. I think I'm going to try a Hibernate or
Spring sample webapp to see if it has similar problems.
On Thu, Sep 10, 2009 at 4:43 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> >
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> The *only option* that did not cause the startup process to
> halt indefinitely on startup was the Serial G
Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > And again in a new place on subseque
rs-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://www.nabble.com/100--usage-and-hanging-on-startup-of-Spring-Hibernate-app-in-Tomcat--5.5-on-Ubuntu-7-tp25194606p25331069.html
Sent from the Tomcat - User ma
Bradley Wagner wrote:
> Ok, I'll try that next. Two things:
> - Did some searching, but couldn't find how to determine the default GC
> method for my Java version
http://blogs.sun.com/watt/resource/jvm-options-list.html is a useful
reference
> - Would you recommend I move this problem elsewhere,
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> - Did some searching, but couldn't find how to determine the default GC
> method for my Java version
You a
ks,
Bradley
On Thu, Sep 3, 2009 at 4:24 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubunt
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> And again in a new place on subsequent attempt.
There's nothing unusual that I can see in the traces, so it
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> What's odd is that the PermGen space appears to be totally used
> up at 26MB and not expanding, unle
m> wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > Hmm, I'm going to try again with more explicit PermGen space as it
> &g
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> Hmm, I'm going to try again with more explicit PermGen space as it
> seems to be out of it.
Try it, but
annonhill.com]
>> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
>> > in Tomcat 5.5 on Ubuntu 7
>> >
>> > Maybe it can't connect when it's hung.
>>
>> Quite possible; GC stops all threads, so the JMX agent may well be
>&
gt; From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > Maybe it can't connect when it's hung.
>
> Quite possible; GC stops all threads, so
, 2009 at 1:49 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > Maybe
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> Maybe it can't connect when it's hung.
Quite possible; GC stops all threads, so the JMX agent may well
2009 at 11:17 AM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > Hmm, so JCo
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> Hmm, so JConsole appears to need a GUI which I don't have in this case.
You can run it remotely by set
les R <
chuck.caldar...@unisys.com> wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > Probably unrelated, but... when setting JAVA
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> Probably unrelated, but... when setting JAVA_HOME for Tomcat in Ubuntu
> what's the difference between:
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> Is JConsole something that comes bundled with the JRE or JDK or a
> separate application.
It's part of t
Bradley Wagner wrote:
> Probably unrelated, but... when setting JAVA_HOME for Tomcat in Ubuntu
> what's the difference between:
> - /usr/lib/jvm/java-6-sun, and
> - /usr/lib/jvm/java-6-sun/jre
>
> It doesn't seem to have any effect on my problem, but does it make a
> difference? I believe I have t
.@unisys.com> wrote:
> > >
> > > > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > > > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate
> > app
> > > > > in Tomcat 5.5 on Ubuntu 7
> &
wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > java version "1.6.0_14"
> > Java(TM) SE Runtime Environment (build 1.6.0_14
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> java version "1.6.0_14"
> Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
> Java HotSpot(TM) S
at 3:13 PM, Caldarale, Charles R <
> > chuck.caldar...@unisys.com> wrote:
> >
> > > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate
> app
> > > > in Tomca
3:13 PM, Caldarale, Charles R <
> chuck.caldar...@unisys.com> wrote:
>
> > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > > in Tomcat 5.5 on Ubuntu 7
>
>
> > > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > > in Tomcat 5.5 on Ubuntu 7
> > >
> > > are you saying that the JRE I'm getting when doing "apt-get
nnonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> > in Tomcat 5.5 on Ubuntu 7
> >
> > are you saying that the JRE I'm getting when doing "apt-get
> > install sun-java6-jdk" is not actually a Sun certified version
&g
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> are you saying that the JRE I'm getting when doing "apt-get
> install sun-java6-jdk" is not actua
that you are using the community version of the
> Java runtime environment which i think is what you get when you do an
> apt-get.
>
> I have never honestly been able to use this version of the JVM
> successfully.
> I had a similar problem recently where i was running an applicatio
application (That
uses Hibernate) using this version of the JDK and was always getting memory
exceptions.
What i did was to download sun's version of the JDK and that seem to have
solved the problem. Did you try to use the SUN's version of the JDK from the
SUN website? It might be usefull to try
Bradley Wagner wrote:
> Any thoughts on which GC parameters I should change.
See what the default collector is for your platform and switch to s
different one.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.or
cs] [Times: user=0.01 sys=0.01, real=0.01 secs]
[GC
On Wed, Sep 2, 2009 at 4:27 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> > Subject: Re: 100% usage and hanging on startup of Spring/Hibernate ap
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> I've also attached the catalina.out log which shows the GC
> basically freezing.
Unfortunately, that lo
finished) some kind of hibernate
initialization but the blocked thread (the only thread doing anything but
sleeping) doesn't really indicate this.
- Bradley
On Mon, Aug 31, 2009 at 6:19 PM, Leon Rosenberg <
rosenberg.l...@googlemail.com> wrote:
> Hello,
> This indeed sounds like y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
On 9/1/2009 11:18 AM, Peter Crowther wrote:
> 2009/9/1 Christopher Schultz
>
>> Hmm. Do you trust your hardware?
>> [...]
>
> How much physical memory does your machine have? How much swap space?
>> Try running badblocks on your swap partiti
2009/9/1 Christopher Schultz
> Hmm. Do you trust your hardware?
> [...]
How much physical memory does your machine have? How much swap space?
> Try running badblocks on your swap partition. Try running memtest86+ on
> your hardware (if it's x86... you didn't say).
>
The OP stated this was in a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bradley,
On 8/31/2009 5:27 PM, Bradley Wagner wrote:
> The three thread dumps were from three different occurrences of the same
> problem and three consecutive startup attempts.
>
> With each occurrence, the startup process hangs in the middle of
> i
> From: Bradley Wagner [mailto:bradley.wag...@hannonhill.com]
> Subject: Re: 100% usage and hanging on startup of Spring/Hibernate app
> in Tomcat 5.5 on Ubuntu 7
>
> So, while it's not hanging in the same place every time, it's
> definitely hanging every time.
Try
Hello,
This indeed sounds like you have problems with one of the spaces,
please add following option to the JAVA_OPTS (or whatever you are
using) to seubmit jvm parameters:
-XX:+PrintGCDetails
And, no tomcat's initial heap size don't default to 64Mb. The JVM
allocateds a heap dependent on your com
>
> The other interesting point is that all of those are hung in places where
they would naturally be allocating an object or have very recently allocated
an object, and the JVM *might* in theory be growing the heap. Bradley, are
your initial and maximum heap sizes identical (I suspect not from
>
> I agree with Mark: the three threads you showed were different
(different ids), and showing different call stacks. Are you saying that
each thread dump you took represents multiple thread dumps where that
particular thread didn't progress /at all/ over your multi-dump sample?
The three thr
>
> - use a 1.6 JVM
Tried with Sun 1.6 JVM. Same problems. Not the same exact stack traces but
for example:
Thread 24427: (state = BLOCKED)
- java.lang.String.toCharArray() @bci=4, line=2725 (Compiled frame)
- java.beans.Introspector.decapitalize(java.lang.String) @bci=46, line=252
(Compiled fra
2009/8/31 Christopher Schultz
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Bradley,
>
> On 8/31/2009 4:02 PM, Bradley Wagner wrote:
> > Sorry, I should have mentioned this before, but in all cases I tried the
> > thread dumps 2-3 times at least 30s apart and none of the threads have
> >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bradley,
On 8/31/2009 4:02 PM, Bradley Wagner wrote:
> Sorry, I should have mentioned this before, but in all cases I tried the
> thread dumps 2-3 times at least 30s apart and none of the threads have
> progressed at all.
I agree with Mark: the three
Bradley Wagner wrote:
> Mark,
> Sorry, I should have mentioned this before, but in all cases I tried the
> thread dumps 2-3 times at least 30s apart and none of the threads have
> progressed at all.
Hmm. That smells like a JVM issue to me, particularly if it goes away
when you use JPDA.
Things to
Mark,
Sorry, I should have mentioned this before, but in all cases I tried the
thread dumps 2-3 times at least 30s apart and none of the threads have
progressed at all.
- Bradley
On Mon, Aug 31, 2009 at 3:52 PM, Mark Thomas wrote:
> Bradley Wagner wrote:
> > Ok, I have some information to add h
Bradley Wagner wrote:
> Ok, I have some information to add here. I was able to get thread dumps with
> "jstack " (very handy!) because "kill -3" wouldn't work on a hung
> process.
> I've listed 3 consecutive tests that I run and the thread is blocked at the
> time the process is hung.
That isn't t
airly innocuous methods
in the java framework itself. Test 1 and 2 both originate from calls in the
IO package and the third test from the CGlib framework that we used from
Hibernate. In all instances, there is a call to a method/constructor on the
String object in the stack.
I'm about to try Java 6
2009/8/28 Bradley Wagner
> I have a Spring/Hibernate app running in Tomcat 5.5.20 that we've tested in
> many environments that is currently faltering when running in a Ubuntu 7
> VM.
> Basically on startup, frequently, the startup process will halt when trying
> to read H
I have a Spring/Hibernate app running in Tomcat 5.5.20 that we've tested in
many environments that is currently faltering when running in a Ubuntu 7 VM.
Basically on startup, frequently, the startup process will halt when trying
to read Hibernate's HBM files and in various other places
hibernate.dialect org.hibernate.dialect.HSQLDialect
hibernate.connection.driver_class org.hsqldb.jdbcDriver
hibernate.connection.username sa
hibernate.connection.password
hibernate.connection.url jdbc:hsqldb:./build/db/hsqldb/hibernate
#hibernate.connection.url jdbc:hsqldb:hsql://localhost
THANKS
-Original Message-
From: Jason Pyeron [mailto:jpye...@pdinc.us]
Sent: Friday, June 05, 2009 1:29 PM
To: 'Tomcat Users List'
Subject: RE: Hibernate
Mail the hibernate users list, and I will help there.
https://lists.jboss.org/mailman/listinfo/hibernate-users
>
Mail the hibernate users list, and I will help there.
https://lists.jboss.org/mailman/listinfo/hibernate-users
> -Original Message-
> From: Chris Lenart [mailto:clen...@comcast.net]
> Sent: Friday, June 05, 2009 14:13
> To: users@tomcat.apache.org
> Subject: Hibernat
I am learning Hibernate and doing examples from a book. I have all
of the jars the book has, but can't import perstistence.*. It will HSQL
too. Which jar ha S this?
Thanks
Chris Lenart
oundError
> Could not initialize class org.hibernate.ejb.Ejb3Configuration
You probably forgot to put your hibernate JDBC driver into Tomcat's lib
directory. If you are using Tomcat's JNDI DataSource, I believe you must
put the JDBC driver into Tomcat's lib directory.
You didn't m
Hi Ken - I forgot to include the version - it is Hibernate 3.2. I did
include hibernate-entitymanager.jar...
Turns out, when I rebuilt my machine, I downloaded Netbeans, including
Tomcat 6.0.18. On my Fedora 8 system, I had downloaded Tomcat
separately, direct from apache.org. After trying
Clearly you're missing org.hibernate.ejb.Ejb3Configuration (and
friends).
I'm running hibernate 3.2 (you should tell people your versions...it
helps). My eclipse tells me that org.hibernate.ejb.Ejb3Configuration
lives in
hibernate-entitymanager.jar.
I seem to recall there bein
I hope this is a trivial problem that someone can help me with...
I have been running a web app, built using Netbeans with Tomcat for
months now. The system uses Hibernate for database access.
This week, I erased and rebuilt my desktop system - moved it from Fedora
8 to Fedora 10. I re
n the query and hibernate.cfg.xml properties, you have given
> so that we can know little more better the error.
> wishes,
>Prasad DTR
>
>
> - Original Message
> From: Kees de Kooter
> To: Tomcat Users List
> Sent: Monday, 29 December, 2008 20:50:05
> Subject: Re: J
Subject: Re: JPA/Hibernate persistence and MySQL connection timeout
Hi Ken,
Take a look at this page:
http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html
As you can see the datasource is obtained using JNDI:
java:/DefaultDS
Cheers,
Kees de Kooter
http
gt;> Kees
>>
>>
>> On Mon, Dec 29, 2008 at 00:50, Ken Bowen wrote:
>>>
>>> Hi All,
>>>
>>> I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2; (no
>>> spring)
>>>
>>> MyApp utilizes five (5)
i All,
I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2;
(no
spring)
MyApp utilizes five (5) distinct mysql catalogs (databases).
Originally all 5 were accessed using JDBC/JNDI with Resources that
all look
like this
(in webapps/MyApp/META-INF):
Everything w
Why don't u use the existing datasources for JPA (instead of setting
the hibernate.connection properties)?
Kees
On Mon, Dec 29, 2008 at 00:50, Ken Bowen wrote:
> Hi All,
>
> I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2; (no
> spring)
>
> MyAp
Hi All,
I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2; (no
spring)
MyApp utilizes five (5) distinct mysql catalogs (databases).
Originally all 5 were accessed using JDBC/JNDI with Resources that all
look like this
(in webapps/MyApp/META-INF):
It's working, thank you all for your help :)
-Message d'origine-
De : Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 24 avril 2008 14:32
À : Tomcat Users List
Objet : RE: Datasource and Hibernate
> From: Dubois, Fabien [mailto:[EMAIL PROTECTED]
> Subject
/jdbc/hibernate
WARN [http-8080-1] (SettingsFactory.java:117) - Could not obtain connection
metadata
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
at
org.apache.tomcat.dbcp.dbcp.BasicDataSou
1 - 100 of 163 matches
Mail list logo