1 Reply Latest reply on Dec 3, 2012 2:16 AM by lthomps4

    Less logging for same WAR under Windows compared with Linux

    lthomps4 Newbie

      If I deploy the same WAR file to Windows and Linux JBoss environments and execute steps that I know create an error; on Linux the stack trace is shown, on Windows the stack trace is not, yet the error is happening in both environments as shown in the application's web page.  The standalone.xml is the same for both environments.  How can I get my Windows environment to display the same stack-trace? Has anyone else come across this issue?

       

      The below exception appears in Linux, but is suppressed in Windows. As far as I can see, all config is the same:

       

      12-12-03 13:18:25,798 ERROR [yyy.ExceptionController] (http-syddev55-vip10/10.134.154.72:8443-6) org.hibernate.exception.GenericJDBCException: could not insert:

      [xxx]: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not insert: [xxx]

                at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1214) [hibernate3.jar:3.6.0.Final]

                at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1147) [hibernate3.jar:3.6.0.Final]