Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Running and Debugging Grails in IDEA - Firewall issues

$
0
0

Hello all,

 

First posting here for me.   Sorry if this is a repeated question, I've done a lot of searching on it here but could not find anything that looked the "same".

 

I am happily using IDEA (Enterprise) for developing a Grails application.  However - I find that I can't run it up or debug it when my McAfee Firewall is turned on.  I then (stupidly) got used to running with the firewall turned off and have spent a lot of today getting rid of a virus!

 

I use MySQL as you can probably tell from my list.

 

 

I've added this to the McAfee list but I don't know if I am even using it correctly...

 

 

fw.png

 

 

The message I get when trying to Run (not Debug) my application in IDEA is ....

 


Error 2012-11-06 15:44:50,701 [pool-7-thread-1] ERROR context.GrailsContextLoader  - Error executing bootstraps: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure


The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)

Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'hibernateProperties' while setting bean property 'hibernateProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateProperties': Cannot resolve reference to bean 'dialectDetector' while setting bean property 'properties' with key [hibernate.dialect]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure

 

 

 

If I turn off my firewall everything works.

 

I know this may be more of an environment/firewall thing than an IDEA thing but I am open to any suggestions from people who've been through this.

 

 

Many thanks,

Chris


Viewing all articles
Browse latest Browse all 5661


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>