RE: UnixFTPEntryParser error

2006-11-30 Thread Alfredo Ledezma Melendez
Just guessing... it sounds like a dependencies' problem. Check that your classpath have all jars needed *see the dependencies section* Regards -Original Message- From: jsulman [mailto:[EMAIL PROTECTED] Sent: Jueves, 30 de Noviembre de 2006 01:27 p.m. To:

RE: BeanUtils

2006-11-09 Thread Alfredo Ledezma Melendez
Just Guessing, shouldn't be 'rqst_sts_cde' of type Integer, instead of Short? Regards, -Original Message- From: Qin Ding [mailto:[EMAIL PROTECTED] Sent: Jueves, 09 de Noviembre de 2006 10:15 a.m. To: commons-user@jakarta.apache.org Subject: BeanUtils I try to use RowSetDynaClass

RE: [logging] Any takers ? (Placing commons-logging-1.1.jarinto${JAVA_HOME}/jre/lib/endorsed o.k.?

2006-11-07 Thread Alfredo Ledezma Melendez
Hi, I agree with Simon, isolation is the word to consider. From my point of view, the best approach is to have a common repository to all the libs you need, and just set the CLASSPATH according to your particular needs. AFAIK no problems might happen with your approach, though. Regards, Alfredo

RE: [NET] adding attachment to SMTP

2006-09-19 Thread Alfredo Ledezma Melendez
Why don´t you try commons-mail instead? Regards, Alfredo Ledezma Meléndez. Gerencia Implantación S.A.P. Supervisor Técnico WEB-ABAP Radiomóvil DIPSA, S. A. de C. V. Lago Alberto No. 366, Col. Anáhuac, C.P. 11320 México D.F. -Original Message-

RE: Use Digester against a htm file

2006-08-07 Thread Alfredo Ledezma Melendez
Using a XML parser to process HTML info won't work (until the html is well-formed). To handle this info using Digester, first make your html a well-formed document (there are some java libraries to do this). Some time ago (I guess last week) the same topic was treated and some members recommended

RE: DBCP - Why we close connection

2006-06-15 Thread Alfredo Ledezma Melendez
The closing statements at the finally clause assures you the db resources are released even when an exception is thrown. This is a good practice, just imagine what will happen using the next code: try{ conn = DriverManager.getConnection(jdbc:apache:commons:dbcp:example);

RE: DBCP: Native SSPI library not loaded

2006-05-05 Thread Alfredo Ledezma Melendez
Try putting jtds jar in common/lib and not into WEB-INF/lib, i. e. get it out from your web application. Regards ... just guessing ... -Original Message- From: Daniel Lipofsky [mailto:[EMAIL PROTECTED] Sent: Viernes, 05 de Mayo de 2006 01:51 p.m. To: commons-user@jakarta.apache.org

RE: DBCP: Native SSPI library not loaded

2006-05-05 Thread Alfredo Ledezma Melendez
any other ideas? Thanks, Dan -Original Message- From: Alfredo Ledezma Melendez Try putting jtds jar in common/lib and not into WEB-INF/lib, i. e. get it out from your web application. Regards ... just guessing ... -Original Message- From: Daniel Lipofsky

RE: Dependencies needed

2006-04-05 Thread Alfredo Ledezma Melendez
http://jakarta.apache.org/commons/net/dependencies.html Regards, Alfredo Ledezma Meléndez. Gerencia Implantación S.A.P. Supervisor Técnico WEB-ABAP RadioMovil DIPSA, S. A. de C. V. Lago Alberto No. 366, Col. Anáhuac, C.P. 11320 México D.F.

RE: Exception while using Jakarta Commons File upload

2006-03-31 Thread Alfredo Ledezma Melendez
Pls check http://jakarta.apache.org/commons/fileupload/dependencies.html Regards... Alfredo Ledezma Meléndez. Gerencia Implantación S.A.P. Supervisor Técnico RadioMovil DIPSA, S. A. de C. V. Lago Alberto No. 366, Col. Anáhuac, C.P. 11320 México D.F.

RE: commons.dbcp

2006-03-07 Thread Alfredo Ledezma Melendez
Check that all your connections are closed (even when an exception can occur). BTW, at least, post the code extract which is throwing the exception, database used. Remember the more information (not being verbose) you give, the more help you can expect. Regards,

RE: commons.dbcp

2006-03-07 Thread Alfredo Ledezma Melendez
OK... How many concurrent users are we talking about? Please post (or attach) the code where you are using the connections, and check that all connections call close() method on a finally clause. Connection con = null; try{ con = SomeObject.getPooledConnection() ; // change whatever

RE: commons.dbcp

2006-03-07 Thread Alfredo Ledezma Melendez
in the pool invalid. I see the org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhaustedexception. On 3/7/06, Alfredo Ledezma Melendez [EMAIL PROTECTED] wrote: OK... How many concurrent users are we talking about? Please post (or attach) the code where you

RE: [lang] null-safe compareTo method

2006-02-20 Thread Alfredo Ledezma Melendez
Specifically for strings use this: http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringUtils.h tml#equals(java.lang.String,%20java.lang.String) For more generic handling of comparison checking:

RE: What JDK version are you using?

2006-01-23 Thread Alfredo Ledezma Melendez
Using: Dbutils, cli, io, fileUpload, validator, eMail - [ ] JDK 1.2 [X] JDK 1.3 [X] JDK 1.4 [X ] JDK 1.5 (or JDK 5) - JDK 1.3 for Server standalone Applications (cron related stuff) JDK 1.4 for Swing based and J2EE applications JDK 1.5 for my own

[OT] - UDDI Creation and administration tool question

2005-11-11 Thread Alfredo Ledezma Melendez
Hello, In our company we are developing a SOA architecture using web services; I proposed to my boss to post them using an internal UDDI. The question is, are there some commons related projects can I use to create/manage this? Do you know another projects can I use (propietary included)? Any

RE: How skip dtd read by Digester?

2005-11-09 Thread Alfredo Ledezma Melendez
You can use SYSTEM on DOCTYPE tag. !DOCTYPE sqlMapConfig SYSTEM myDTD.dtd Cheers Alfredo Ledezma Melendez. Gerencia de Sistemas CRM Consultor Externo de Sistemas de Atencion a Clientes RadioMovil DIPSA, S. A. de C. V. Ejercito Nacional No. 488, Col

RE: autoboxing

2005-09-28 Thread Alfredo Ledezma Melendez
If you have the chance try new java version (1.5) and see how tigers roars :) and makes easier this kind of operations. Regards. Alfredo Ledezma Meléndez. Gerencia de Sistemas CRM Consultor Externo de Sistemas de Atención a Clientes RadioMovil DIPSA,

RE: [JXPath1.2] jar with jdk1.3?

2005-07-18 Thread Alfredo Ledezma Melendez
Hello: AFAIK is not possible. Generally you can't use a jar, war or ear built on a newer version with an old one. Regards, Alfredo Ledezma Meléndez. Gerencia de Sistemas CRM Consultor Externo de Sistemas de Atención a Clientes RadioMovil DIPSA, S.

RE: [DBCP] Anther lame pool exhausted exception question

2005-07-14 Thread Alfredo Ledezma Melendez
Hello. Maybe you can use DbUtils class from dbutils project to code less in the finally clause; methods closeQuietly and close makes this tedious stuff easier. DataSource ds = ...; // Acquire a reference from JNDI or wherever Connection conn = null; PreparedStatement stmt = null;

RE: [DBUtils] Oracle Row Processor

2005-07-07 Thread Alfredo Ledezma Melendez
Henry, I had the same problem, but it got fixed downloading a nightly build. The one I have is 1.1-dev and it works pretty well. Regards, Alfredo Ledezma Meléndez. Gerencia de Sistemas CRM Consultor Externo de Sistemas de Atención a Clientes

[DbUtils] Handling null values during an update

2005-06-07 Thread Alfredo Ledezma Melendez
Hello, I've been using dbutils with mysql, postgresql, even with SQL Server successfully for quite a long time. But now I'm facing a little problem with Oracle9i (thin-driver and jdbc-odbc). I have a table with two fields of type DATE; when I try to UPDATE a row using methos update from

RE: [PortletFileUpload] class compiling error

2005-04-01 Thread Alfredo Ledezma Melendez
To keep code modular, and packaging all this jars is just to don't rely on others ;-) Regards, Alfredo Ledezma Melendez. Costumer Record Management Consultor Externo de Sistemas de Atencion a Clientes RadioMovil DIPSA, S. A. de C. V. Ejercito Nacional

RE: [commons-logging] Problem renaming logfiles

2005-03-31 Thread Alfredo Ledezma Melendez
Good morning, I had the same problem before on a test environment (Tomcat running locally on a Winbugs XP machine)...every day the same problem. At that moment, being to damn stressed, I try the same code on a Linux box, and no problem at all renaming. To solve the problem in my test

RE: [PortletFileUpload] class compiling error

2005-03-31 Thread Alfredo Ledezma Melendez
Please check http://jakarta.apache.org/commons/fileupload/dependencies.html Regards, Alfredo Ledezma Melendez. Costumer Record Management Consultor Externo de Sistemas de Atencion a Clientes RadioMovil DIPSA, S. A. de C. V. Ejercito Nacional No. 488

RE: Adding multiple references in web.xml

2005-03-28 Thread Alfredo Ledezma Melendez
Well, the problem is that you had write twice the web-app tag into your xml. The correct version should be as follows: web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee

RE: camel case string

2005-03-07 Thread Alfredo Ledezma Melendez
I recommend using split function from String class Regards, Alfredo Ledezma Meléndez. Costumer Record Management Consultor Externo de Sistemas de Atención a Clientes RadioMovil DIPSA, S. A. de C. V. Ejército Nacional No. 488, Col. Anahuac, C.P. 11570

RE: camel case string

2005-03-07 Thread Alfredo Ledezma Melendez
? -Tony On Mar 7, 2005, at 1:02 PM, Alfredo Ledezma Melendez wrote: I recommend using split function from String class Regards, Alfredo Ledezma Meléndez. Costumer Record Management Consultor Externo de Sistemas de Atención a Clientes RadioMovil