RE: Struts Development Tool
Thank you. From: Murray Collingwood [mailto:[EMAIL PROTECTED] Sent: Mon 9/12/2005 10:49 PM To: Struts Users Mailing List Subject: Re: Struts Development Tool Hi Raj The main one seems to be Eclipse. I'm using NetBeans which is a little behind what Eclipse is providing through plugins. Following somewhere is JBuilder. I know Eclipse and NetBeans are both free. Eclipse supports a plugin system and there are a number of plugins you can purchase to provide additional functionality (eg Struts support). NetBeans is implementing better Struts support in the next (imminent) release. I haven't heard much about JBuilder, I bought a copy and used it many years ago when I first started on Java. It wasn't that great back then but may well have improved. If you want to really fit in you should probably use Eclipse - it seems to be the most popular on this Struts list. Kind regards mc On 12 Sep 2005 at 22:17, R Rajendran wrote: Hi everyone, Could anyone of you let me know the available Struts Development tools (IDE) for Windows environment. Thanks Raj FOCUS Computing Mob: 0415 24 26 24 [EMAIL PROTECTED] http://www.focus-computing.com.au -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.23/99 - Release Date: 12/09/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts to Postgresql db connection refused
Hi, When I connect Struts to Postgresql 8.0 database using DataSource object I get the following error messages: Source: DataSource dataSource = null; try { dataSource = getDataSource(request); conn = dataSource.getConnection(); stmt = conn.createStatement(); String sql = select * from stocks where + symbol =' + symbol + '; rs = stmt.executeQuery(select * from stocks where + symbol =' + symbol + '); }catch(){..} * struts-config.xml: data-source type=org.postgresql.jdbc2.optional.SimpleDataSource set-property property=driverClassName value=org.postgresql.Driver / set-property property=url value=jdbc:postgresql://192.168.1.22:5432/omsdb / set-property property=username value=postgres / set-property property=password value=postgres / /data-source * I am getting the following error message while running the struts application: INFO: Failed to create a non-pooled connection for null at jdbc:postgresql://localhost/null?prepareThreshold=0: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Tried starting Postmaser with -i option still not responding. Could anyone tell me how to resolve this issue. Thanks Raj
RE: Struts to Postgresql db connection refused
It works fine with command line. I could connect to the db and query. Thanks Raj From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent: Tue 9/13/2005 5:00 AM To: Struts Users Mailing List Subject: RE: Struts to Postgresql db connection refused Raj, Have you double checked that you can reach it from the command line on the server BEFORE trying it in Tomcat? I've encountered problems where a slight mistake in the MySQL configuration often causes this problem, not usually the web server. From the information you provided, try this at a command line (should work for a UNIX shell or Windows CMD.EXE, not sure about Macs): mysql -upostgres -ppostgresq -h192.168.1.22 -P5432 omsdb Regards, David -Original Message- From: R Rajendran [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 8:00 AM To: user@struts.apache.org Subject: Struts to Postgresql db connection refused Hi, When I connect Struts to Postgresql 8.0 database using DataSource object I get the following error messages: Source: DataSource dataSource = null; try { dataSource = getDataSource(request); conn = dataSource.getConnection(); stmt = conn.createStatement(); String sql = select * from stocks where + symbol =' + symbol + '; rs = stmt.executeQuery(select * from stocks where + symbol =' + symbol + '); }catch(){..} * struts-config.xml: data-source type=org.postgresql.jdbc2.optional.SimpleDataSource set-property property=driverClassName value=org.postgresql.Driver / set-property property=url value=jdbc:postgresql://192.168.1.22:5432/omsdb / set-property property=username value=postgres / set-property property=password value=postgres / /data-source * I am getting the following error message while running the struts application: INFO: Failed to create a non-pooled connection for null at jdbc:postgresql://localhost/null?prepareThreshold=0: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Tried starting Postmaser with -i option still not responding. Could anyone tell me how to resolve this issue. Thanks Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts to Postgresql db connection refused
I tried this command it works: psql -Upostgres -d omsdb -h 192.168.1.22 -p 5432 Thanks Raj From: Adrian Maier [mailto:[EMAIL PROTECTED] Sent: Tue 9/13/2005 5:24 AM To: Struts Users Mailing List Subject: Re: Struts to Postgresql db connection refused On 9/13/05, David G. Friedman [EMAIL PROTECTED] wrote: Raj, Have you double checked that you can reach it from the command line on the server BEFORE trying it in Tomcat? I've encountered problems where a slight mistake in the MySQL configuration often causes this problem, not usually the web server. From the information you provided, try this at a command line (should work for a UNIX shell or Windows CMD.EXE, not sure about Macs): mysql -upostgres -ppostgresq -h192.168.1.22 -P5432 omsdb Connecting to PostgreSQL using the mysql command line tool ??!!?!! This will never work The right suggestion is to try connecting with : psql -h 192.168.1.22 -U postgres omsdb If connecting this way does not work , you need to : 1. configure postgres to allow TCP/IP connections (postgresql.conf) 2. add the ip adresses/networks that are allowed to connect (pg_hba.conf) The two files (pg_hba.conf and postgresql.conf) are located in the PostgreSQL's data directory . Cheers, Adrian Maier Regards, David -Original Message- From: R Rajendran [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 8:00 AM To: user@struts.apache.org Subject: Struts to Postgresql db connection refused Hi, When I connect Struts to Postgresql 8.0 database using DataSource object I get the following error messages: Source: DataSource dataSource = null; try { dataSource = getDataSource(request); conn = dataSource.getConnection(); stmt = conn.createStatement(); String sql = select * from stocks where + symbol =' + symbol + '; rs = stmt.executeQuery(select * from stocks where + symbol =' + symbol + '); }catch(){..} * struts-config.xml: data-source type=org.postgresql.jdbc2.optional.SimpleDataSource set-property property=driverClassName value=org.postgresql.Driver / set-property property=url value=jdbc:postgresql://192.168.1.22:5432/omsdb / set-property property=username value=postgres / set-property property=password value=postgres / /data-source * I am getting the following error message while running the struts application: INFO: Failed to create a non-pooled connection for null at jdbc:postgresql://localhost/null?prepareThreshold=0: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Tried starting Postmaser with -i option still not responding. Could anyone tell me how to resolve this issue. Thanks Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts Development Tool
Hi everyone, Could anyone of you let me know the available Struts Development tools (IDE) for Windows environment. Thanks Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts to Postgresql db connection refused
Hi, When I connect Struts to Postgresql 8.0 database using DataSource object I get the following error messages: Source: DataSource dataSource = null; try { dataSource = getDataSource(request); conn = dataSource.getConnection(); /* working Class.forName(org.postgresql.Driver); conn = DriverManager.getConnection(jdbc:postgresql://192.168.1.22:5432/omsdb,postgres,postgres); */ stmt = conn.createStatement(); String sql = select * from stocks where + symbol =' + symbol + '; rs = stmt.executeQuery(select * from stocks where + symbol =' + symbol + '); }catch(){..} * struts-config.xml: data-source type=org.postgresql.jdbc2.optional.SimpleDataSource set-property property=driverClassName value=org.postgresql.Driver / set-property property=url value=jdbc:postgresql://192.168.1.22:5432/omsdb / set-property property=username value=postgres / set-property property=password value=postgres / /data-source * I am getting the following error message while running the struts application: INFO: Failed to create a non-pooled connection for null at jdbc:postgresql://localhost/null?prepareThreshold=0: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections. Could anyone tell me how to resolve this issue. Thanks Raj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Eclipse 3.1 and struts 1.2.7
Go through the Wrox publication Book - Professional Jakarta Struts From: M. Imran [mailto:[EMAIL PROTECTED] Sent: Thu 9/8/2005 4:58 AM To: Struts Users Mailing List Subject: Re: Eclipse 3.1 and struts 1.2.7 I was wondering if I can use Struts with Eclipse (3.1) or some free plugins. MyEclipse is a good option but its not free. Regards, Imran - Original Message - From: Ayusman dikshit [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, September 08, 2005 12:59 AM Subject: RE: Eclipse 3.1 and struts 1.2.7 Hi Imran, Try to download latest MyEclipse (just google it and u will find it) and download this pdf http://www.eclipsekickstart.com/chapters/EclipseKickStart-ch11.pdf this will guide you thru. , hope this helps. Regards Ayusman -Original Message- From: M. Imran [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 12:12 PM To: user@struts.apache.org Subject: Eclipse 3.1 and struts 1.2.7 Dear all, I am trying to build my first application with Tomcat, Eclipse 3.1 Struts 1.2.7, can anyone tell me how to configure them? Any help link or example will be much appreciated? Thanks you, Imran CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]