[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: multiple or with hibernate criteria

2009-06-24 Thread rizqureshi2
sorry, my bad :-) I have already posted my plight on hibernate. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4239723#4239723 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4239723 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - multiple or with hibernate criteria

2009-06-23 Thread rizqureshi2
Anyone has come across the problem where you need to define multiple or statement in a hibernate criteria. Consider the following code segment: | Criteria crit = session.createCriteria(Project.class); | Criteria jobs = crit.createCriteria("jobTypes"); | jobs.add(Restrictions.or(

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: log4j creates no log file

2009-06-23 Thread rizqureshi2
Use the jboss-log4j.xml file in /conf folder of your configuration of JBoss installation. Also, you should not have any log4j.jar file in lib path of your application (EAR or WAR file), otherwise messages are not logged. Rizwan View the original post : http://www.jboss.org/index.html?module=bb

[jboss-user] [Installation, Configuration & DEPLOYMENT] - enum and JBoss Rules

2009-06-18 Thread rizqureshi2
Has anyone successfully used enum types in *.drl file? Rizwan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238425#4238425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238425 ___

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log4j is not outputting to my application specific log f

2009-06-18 Thread rizqureshi2
Thanks guys, the log4j.jar file was included in ear lib folder. After removing, it started to print messages to file. Cheers :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238424#4238424 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Log4j is not outputting to my application specific log file

2009-06-17 Thread rizqureshi2
I have the following application entry in ../default/conf/jboss-log4j.xml: | | | | | | | | | | | | | | | | When server starts up, it does create 'myApplication.log' file under