[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-10 Thread PeterJ
Hibernate is used in JBoss AS as the JPA provider. If you are not using JPA, Hibernate will not be used. ehCache would appear to be a replacement for JBoss Cache, not for Hibernate. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224928#4224928 Reply to the p

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-10 Thread patweb99
Thanks for the quick feedback. Here's the deal. I am using a 3rd party plugin for my application that has it's own class loader for hibernate. Right now it looks as though Jboss when doing it's war deployments via the default server relies on hibernate. I tested this by removing the hibernate

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-10 Thread PeterJ
I think what you are looking for is scoped class loading, see if this helps: http://www.jboss.org/community/docs/DOC-9288 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224935#4224935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&m

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-10 Thread patweb99
Thanks for the post. I will have to play around with this. This sounds like what I need as I assume the scoped class loading will ensure that my war can only see what my war has available to use and keep jboss's shared scope out of the mix? View the original post : http://www.jboss.org/index.

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-10 Thread PeterJ
Yes, that's the idea. You app will use your JARs and ignore the ones provided by JBoss AS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224939#4224939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224939 ___

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-10 Thread patweb99
Perfect! Thank you! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224940#4224940 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224940 ___ jboss-user mailing list jboss-user

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-12 Thread patweb99
Ok so I have done some further testing and am hitting a possible wall. Not sure what's going on. My application tries to start it's own version of hibernate which is causing the conflict/error. Is there another document out there that could assist me additionally? I feel like I am close on this

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-13 Thread jaikiran
Which AS version do you use? For JBossAS-4.2.x, maybe this will help http://www.jboss.org/index.html?module=bb&op=viewtopic&t=133202 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225082#4225082 Reply to the post : http://www.jboss.org/index.html?module=bb&o

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-13 Thread patweb99
I am on JBossAS5 and thanks for the reply btw. I've reviewed your post, but don't think it will do much good. My issue is that on deployment I do not want hibernate to even load. I want my application to load it instead. Does that make sense? Is this possible? Maybe I am not understanding the l

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-13 Thread PeterJ
When you post exception stack traces, please post the whole thing, including the logging info. The excerpt you posted means nothing and at this point I cannot tell if that is because you didn't include the interesting stuff, or because this is yet another poorly-worded exception. In some cases i

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-13 Thread patweb99
Thanks. I will make sure to include everything from now on. Also I will try what you have proposed. Here is the entire stack trace from the web page attempting to make the call: org.hibernate.validator.event.ValidateEventListener at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-13 Thread PeterJ
Now I get it - you posted the stack trace shown in the browser. At least that is what I think you posted based on the phrase "from the web page". Such stack traces are usually not that helpful (and this one is not). The console log has the real cause of the problem: 06:50:00,805 ERROR [STDERR]

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-15 Thread denstar
I'm pretty sure the problem stems from the dynamic nature of CF + Groovy. CFGroovy is doing quite a bit of shuffling with the current context classloader, and that's what Hibernate uses to keep track of where it's at, sorta, so... I'm thinking pre-compiled domain objects will work fine, since t

[jboss-user] [Beginners Corner] - Re: Having an issue with Hibernate in JbossAS5

2009-04-15 Thread patweb99
Good to know information! I am going to just toss this Barney's way to see what he thinks... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225775#4225775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225775 _