Hi Nicolas,

  I advise you to first fix your logging problem. Remember that axis
relies on log4j. I attached a log4j.xml that should enable axis debug
logs. just drop this file under WEB-INF/classes .

  We are waiting to see your stacktrace :-)

  Cyrille



On 6/13/06, Nicolas Guaneme <[EMAIL PROTECTED]> wrote:


 Cyrille Le Clerc wrote:

Hi Nicolas,

 We are blind without the stack trace of the exception. You should find it in 
the server-side logs.

 Cyrille


On 6/13/06, Nicolas Guaneme    <[EMAIL PROTECTED]> wrote:
>
>
> Hi Cyrille Le Clerc
>
>  - JDK: 1.4_01
>  - Tomcat 5.0:28
>  - Axis 1.3
>
>  With the tcp-mon this is the message:
>      <?xml version="1.0" encoding="ISO-8859-1"?>
>     <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>        <soapenv:Body>
>           <soapenv:Fault>
>              <faultcode>soapenv:Server.userException</faultcode>
>              
<faultstring>java.lang.reflect.InvocationTargetException</faultstring>
>              <detail>
>                 <ns1:hostname 
xmlns:ns1="http://xml.apache.org/axis/";>avisortech02</ns1:hostname>
>              </detail>
>           </soapenv:Fault>
>        </soapenv:Body>
>     </soapenv:Envelope>
>
>  In the tomcat console no show me nothing.....   I have this client for 
consume the web service secure with the ibm jars
>
>  public class StubClient {
>      private static String PSEURL =     
"https://desarrollo.pse.com.co/psewebservices/mainservices.asmx"; ;
>      public StubClient() {
>          try{
>              initProviders();
>          } catch(Exception e){
>              e.printStackTrace();
>          }
>      }
>
>      private static void initProviders() throws Exception
>      {
>          
System.setProperty("javax.net.ssl.trustStore","E:\\key\\AvisortechOfic.db");
>          System.setProperty("javax.net.ssl.keyStorePassword","pkalmacen");
>          
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
>
>          Provider[] providers = Security.getProviders();
>          for(int i=0;i<providers.length;i++)
>              System.out.println(i+" - "+providers[i].getClass().toString());
>          Object fact = SSLSocketFactory.getDefault();
>          System.out.println("Default provider = "+fact.getClass().toString());
>
>          if(!fact.getClass().toString().equals("class 
com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl") )
>              throw new Exception("SSL no disponĂ­ble");
>      }
>
>      public ArrayOfGetBankListResponseType[] 
getBankList(GetBankListRequestType request)
>      {
>          ArrayOfGetBankListResponseType[] bank = null;
>          try
>          {
>              MainServicesImplLocator loc = new MainServicesImplLocator();
>              MainServicesImplSoapStub cli = 
(MainServicesImplSoapStub)loc.getMainServicesImplSoap( new URL(PSEURL) );
>              MessageHeader header = new MessageHeader();
>              header.setTo("to 123");
>              header.setFrom("from 123");
>              header.setRepresentingParty("repr 123");
>              cli.setMessageHeader( header );
>              GetbankListInformationType gbl_request=new 
GetbankListInformationType();
>              gbl_request.setEntityCode("98658");
>              GetBankListResponseInformationType[] 
gbl_response=cli.getBankList(gbl_request);
>              bank = new ArrayOfGetBankListResponseType[gbl_response.length];
>              for(int i=0; i<gbl_response.length;i++)
>              {
>                  bank[i] = new ArrayOfGetBankListResponseType();
>                  
bank[i].setFinancialInstitutionCode(gbl_response[i].getFinancialInstitutionCode());
>                  
bank[i].setFinancialInstitutionName(gbl_response[i].getFinancialInstitutionName());
>                  System.out.println(" 
BankID="+gbl_response[i].getFinancialInstitutionCode()+"  
BankName="+gbl_response[i].getFinancialInstitutionName());
>              }
>
>              header = cli.getMessageHeader();
>              System.out.println("GetBankList called");
>              return bank;
>          }
>          catch (Exception e)
>          {
>              System.out.println(e.getMessage());
>              return bank;
>          }
>      }
>  }
>
>  In the red line stop when I done the debug with eclipse and in this line 
show me the message java.lang.reflect.InvocationTargetException     and stop teh 
process......but I run the client as JavaAplication and I can consume the service.
>
>  any idea......
>
>  Thanks.
>
>
>  Nicolás G. Rico
>
> --------------------------------------------------------------------- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL 
PROTECTED]



 --
 Cyrille Le Clerc
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]
 +33 6.61.33.69.86
________________________________

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.3/362 - Release Date: 12/06/2006

  Hi Cyrille, this is the problem.....ja,ja,ja,ja,ja,ja, I haven't any logs, 
well.... alone I've got a tomcat log but no has the trace when happend the 
exception..... is very stranger...... for example this is the log of today.

 2006-06-13 09:26:20 
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): 
ruleChain: [org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / 
Redirect URL: http://www.cnn.com], 
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: 
paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: 
Redirect URL: http://jakarta.apache.org]]
 2006-06-13 09:26:24 StandardContext[/jsp-examples]ContextListener: 
contextInitialized()
 2006-06-13 09:26:24 StandardContext[/jsp-examples]SessionListener: 
contextInitialized()
 2006-06-13 09:26:25 StandardContext[/servlets-examples]ContextListener: 
contextInitialized()
 2006-06-13 09:26:25 StandardContext[/servlets-examples]SessionListener: 
contextInitialized()
 2006-06-13 09:26:39 StandardContext[/manager]HTMLManager: init: Associated 
with Deployer 'localhost'
 2006-06-13 09:26:39 StandardContext[/manager]HTMLManager: init: Global 
resources are available
 2006-06-13 09:26:39 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'
 2006-06-13 12:02:01 StandardContext[/manager]HTMLManager: restart: Reloading 
web application at '/axis'
 2006-06-13 12:02:14 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'
 2006-06-13 12:02:52 StandardContext[/manager]HTMLManager: restart: Reloading 
web application at '/axis'
 2006-06-13 12:02:55 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'
 2006-06-13 12:03:46 StandardContext[/manager]HTMLManager: restart: Reloading 
web application at '/axis'
 2006-06-13 12:03:51 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'
 2006-06-13 12:05:03 StandardContext[/servlets-examples]ContextListener: 
attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@19c9f16')
 2006-06-13 12:05:03 StandardContext[/servlets-examples]ContextListener: 
attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@1909385')
 2006-06-13 12:05:03 StandardContext[/servlets-examples]ContextListener: 
attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@c51614')
 2006-06-13 12:05:03 StandardContext[/servlets-examples]SessionListener: 
contextDestroyed()
 2006-06-13 12:05:03 StandardContext[/servlets-examples]ContextListener: 
contextDestroyed()
 2006-06-13 12:05:03 StandardContext[/jsp-examples]ContextListener: 
attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@bbbd0e')
 2006-06-13 12:05:03 StandardContext[/jsp-examples]ContextListener: 
attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@178efd8')
 2006-06-13 12:05:03 StandardContext[/jsp-examples]ContextListener: 
attributeReplaced('org.apache.catalina.WELCOME_FILES', 
'[Ljava.lang.String;@ca5bff')
 2006-06-13 12:05:03 StandardContext[/jsp-examples]SessionListener: 
contextDestroyed()
 2006-06-13 12:05:03 StandardContext[/jsp-examples]ContextListener: 
contextDestroyed()
 2006-06-13 12:05:24 
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): 
ruleChain: [org.apache.webapp.balancer.RuleChain: 
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / 
Redirect URL: http://www.cnn.com], 
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: 
paramName / Target param value: paramValue / Redirect URL: 
http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: 
Redirect URL: http://jakarta.apache.org]]
 2006-06-13 12:05:28 StandardContext[/jsp-examples]ContextListener: 
contextInitialized()
 2006-06-13 12:05:28 StandardContext[/jsp-examples]SessionListener: 
contextInitialized()
 2006-06-13 12:05:28 StandardContext[/servlets-examples]ContextListener: 
contextInitialized()
 2006-06-13 12:05:28 StandardContext[/servlets-examples]SessionListener: 
contextInitialized()
 2006-06-13 12:11:28 StandardContext[/manager]HTMLManager: init: Associated 
with Deployer 'localhost'
 2006-06-13 12:11:28 StandardContext[/manager]HTMLManager: init: Global 
resources are available
 2006-06-13 12:11:28 StandardContext[/manager]HTMLManager: restart: Reloading 
web application at '/axis'
 2006-06-13 12:11:31 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'
 2006-06-13 12:15:56 StandardContext[/manager]HTMLManager: restart: Reloading 
web application at '/axis'
 2006-06-13 12:15:59 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'
 2006-06-13 12:31:42 StandardContext[/manager]HTMLManager: restart: Reloading 
web application at '/axis'
 2006-06-13 12:31:47 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'
 2006-06-13 12:35:40 StandardContext[/manager]HTMLManager: restart: Reloading 
web application at '/axis'
 2006-06-13 12:35:44 StandardContext[/manager]HTMLManager: list: Listing 
contexts for virtual host 'localhost'

 No more...... I don't know why axis and tomcat no write the log when happend 
the exception.....

 Thanks.

    --------------------------------------------------------------------- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL 
PROTECTED]



--
Cyrille Le Clerc
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+33 6.61.33.69.86
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "http://logging.apache.org/log4j/docs/api/org/apache/log4j/xml/log4j.dtd";>
<log4j:configuration debug="true" xmlns:log4j="http://jakarta.apache.org/log4j/";>

	<appender name="stdout" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{ISO8601} [%t] %p %c %x - %m%n"/>
		</layout>	    
	</appender>

	<!-- APACHE -->
	<category name="org.apache">
		<priority value="warn"/>
	</category>

	<!-- APACHE AXIS -->
	<category name="org.apache.axis">
		<priority value="debug"/>
	</category>

	<root>
		<priority value ="debug" />
		<appender-ref ref="stdout"/>
	</root>

</log4j:configuration>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to