Não entendi a pergunta, vc tem esse texto e quer filtrar a mensagem de erro? se for isso o melhor é utilizar expressão regular
On May 5, 10:04 pm, marcelocaser <[email protected]> wrote: > galera como chego na mensagem excecao: > > localizedMessage = "The TCP/IP connection to the host localhost, port > 1433 has failed. Error: "Connection refused: connect. Verify the > connection properties, check that an instance of SQL Server is running > on the host and accepting TCP/IP connections at the port, and that no > firewall is blocking TCP connections to the port.". > > do erro abaixo: > > [BlazeDS]05/05/2010 21:53:58.993 [DEBUG] [Endpoint.AMF] Serializing > AMF/HTTP response > Version: 3 > (Message #0 targetURI=/1/onStatus, responseURI=) > (Typed Object #0 'flex.messaging.messages.ErrorMessage') > headers = (Object #1) > rootCause = (Typed Object #2 > 'java.lang.reflect.UndeclaredThrowableException') > message = null > localizedMessage = null > cause = (Typed Object #3 > 'java.lang.reflect.InvocationTargetException') > message = null > localizedMessage = null > cause = (Typed Object #4 > 'org.hibernate.exception.GenericJDBCException') > SQLState = null > localizedMessage = "Cannot open connection" > SQL = "???" > cause = (Typed Object #5 > 'org.apache.tomcat.dbcp.dbcp.SQLNestedException') > message = "Cannot create PoolableConnectionFactory (The > TCP/IP connection to the host localhost, port 1433 has failed. Error: > "Connection refused: connect. Verify the connection properties, check > that an instance of SQL Server is running on the host and accepting > TCP/IP connections at the port, and that no firewall is blocking TCP > connections to the port.".)" > SQLState = null > localizedMessage = "Cannot create > PoolableConnectionFactory (The TCP/IP connection to the host > localhost, port 1433 has failed. Error: "Connection refused: connect. > Verify the connection properties, check that an instance of SQL Server > is running on the host and accepting TCP/IP connections at the port, > and that no firewall is blocking TCP connections to the port.".)" > cause = (Typed Object #6 > 'com.microsoft.sqlserver.jdbc.SQLServerException') > message = "The TCP/IP connection to the host > localhost, port 1433 has failed. Error: "Connection refused: connect. > Verify the connection properties, check that an instance of SQL Server > is running on the host and accepting TCP/IP connections at the port, > and that no firewall is blocking TCP connections to the port."." > SQLState = "08S01" > localizedMessage = "The TCP/IP connection to the host > localhost, port 1433 has failed. Error: "Connection refused: connect. > Verify the connection properties, check that an instance of SQL Server > is running on the host and accepting TCP/IP connections at the port, > and that no firewall is blocking TCP connections to the port."." > cause = null > errorCode = 0 > nextException = null > > -- > Você recebeu esta mensagem porque está inscrito na lista "flexdev" > Para enviar uma mensagem, envie um e-mail para [email protected] > Para sair da lista, envie um email em branco para > [email protected] > Mais opções estão disponíveis emhttp://groups.google.com/group/flexdev -- Você recebeu esta mensagem porque está inscrito na lista "flexdev" Para enviar uma mensagem, envie um e-mail para [email protected] Para sair da lista, envie um email em branco para [email protected] Mais opções estão disponíveis em http://groups.google.com/group/flexdev
