[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Re: [Axis2] Exception in loading logging module
From:       gurdeep singh <gurdeep.sabarwal () gmail ! com>
Date:       2014-05-16 23:25:58
Message-ID: CAHnYR3W4L3M0=LVv_pMHTJzauw=enHiKYEzdVU_W23UUkYgLNA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello *Manuela , *


*If  i can understand it correctly , i think you created a custom logging
module, you need to do 2-3 thing more to reslove this error-
*logging-3.0.0.mar,

1. make sure you added the module.xml in module.
2.Create a logging.jar with same classes and put into classpath
3. add the inbound and outbound phase in axis2.xml file (related to logging
module ).

*Regards,*
*Gurdeep S*


On Wed, May 14, 2014 at 2:14 AM, Manuela Vergerio <
manuela.vergerio@teaminformatica.ch> wrote:

> Good morning,
> 
> 
> 
> I'm a software developer and I'm dealing with an open source Java
> Trasmitter which sends and receives signed and encrypted xml files using
> SOAP envelope (*README.html* in attachment is the documentation I've got
> and *pom.xml* is the main maven xml compiler instructions).
> 
> 
> 
> I was able to run Java Trasmitter through Eclipse, I create a simple main
> class (Lancia_Trasmitter.java) which just Ping the test server, here is the
> log from Eclipse:
> 
> 
> 
> [INFO] Configuring client
> 
> [INFO] No services directory was found under
> C:\Eclipse_Project\TRASMITTER\transmitter\target\test-classes\axis.
> 
> [INFO] Deploying module: addressing-1.6.2 -
> file:/C:/Eclipse_Project/TRASMITTER/Jars/axis2-1.6.2.jar
> 
> [INFO] Deploying module: rahas-1.1 -
> file:/C:/Eclipse_Project/TRASMITTER/Jars/axis2-rahas-1.1.jar
> 
> [INFO] Deploying module: metadataExchange-1.6.2-classpath-module -
> file:/C:/Eclipse_Project/TRASMITTER/Jars/mex-1.6.2-classpath-module.jar
> 
> [INFO] Deploying module: logging-3.0.0 -
> file:/C:/Eclipse_Project/TRASMITTER/Jars/logging-3.0.0.mar
> 
> [INFO] Deploying module: rampart-1.6.2 -
> file:/C:/Eclipse_Project/TRASMITTER/Jars/rampart-1.6.2.mar
> 
> [INFO] Deploying module: rampart-3.0.0 -
> file:/C:/Eclipse_Project/TRASMITTER/Jars/rampart-3.0.0.mar
> 
> [INFO] Configuring endpoint to
> https://tst.itserve.ch/itserve/lohnstandard/testing/refapps2/receiver-webservice/20130514-0.0/SalaryDeclarationService
>  
> [INFO] Antwort Ping: <?xml version="1.0" encoding="UTF-8"
> standalone="yes"?><PingResponse xmlns:ns2="
> http://www.swissdec.ch/schema/sd/20130514/SalaryDeclarationContainer"
> xmlns="
> http://www.swissdec.ch/schema/sd/20130514/SalaryDeclarationServiceTypes"
> xmlns:ns3="http://www.swissdec.ch/schema/sd/20130514/SalaryDeclaration
> "><SystemDateTime>2014-05-14T10:40:16.177+02:00</SystemDateTime></PingResponse>
> 
> 
> 
> 
> 
> Now I need to run the same Lancia_Trasmitter.java class outside Eclipse.
> In order to reach my goal I create a jar file with all java classes,
> TI_Trasmitter.jar, and this are instructions I use from command line:
> 
> cd C:\WDProjet 14\Paghe_DEC\Trasmitter
> 
> 
> 
> "C:/Program Files/Java/jdk1.7.0_55/bin/TEST_SWISSDEC" -cp
> .;./activation-1.1.jar;./antlr-2.7.7.jar;./axiom-api-1.2.13.jar;./axiom-dom-1.2.13.j \
> ar;./axiom-impl-1.2.13.jar;./axis2-adb-codegen-1.6.2.jar;./axis2-ant-plugin-1.6.2.ja \
> r;./axis2-clustering-1.6.2.jar;./axis2-codegen-1.6.2.jar;./axis2-corba-1.6.2.jar;./a \
> xis2-fastinfoset-1.6.2.jar;./axis2-jaxbri-1.6.2.jar;./axis2-jibx-1.6.2.jar;./axis2-j \
> son-1.6.2.jar;./axis2-metadata-1.6.2.jar;./axis2-mtompolicy-1.6.2.jar;./axis2-saaj-1 \
> .6.2.jar;./axis2-soapmonitor-servlet-1.6.2.jar;./axis2-spring-1.6.2.jar;./bcel-5.1.j \
> ar;./commons-cli-1.2.jar;./commons-codec-1.3.jar;./commons-fileupload-1.2.jar;./comm \
> ons-httpclient-3.1.jar;./commons-io-1.4.jar;./commons-logging-1.1.1.jar;./esapi-2.0G \
> A.jar;./log4j-1.2.15.jar;./bcprov-jdk15-140.jar;./commons-collections-3.1.jar;./comm \
> ons-lang-2.3.jar;./esapi-2.0GA.jar;./joda-time-1.6.2.jar;./opensaml-2.5.1-1.jar;./op \
> enws-1.4.2-1.jar;./rampart-core-1.6.2.jar;./rampart-policy-1.6.2.jar;./rampart-trust \
> -1.6.2.jar;./slf4j-api-1.5.5.jar;./slf4j-jcl-1.5.5.jar;./velocity-1.5.jar;./wss4j-1. \
> 6.4.jar;./xmlsec-1.4.6.jar;./xmltooling-1.3.2-1.jar;./axis2-rahas-1.1.jar;./axis2-ja \
> xws-1.6.2.jar;./axis2-java2wsdl-1.6.2.jar;./axis2-xmlbeans-1.6.2.jar;./httpcore-4.0. \
> jar;./woden-api-1.0M9.jar;./commons-httpclient-3.1-rc1.jar;./axis2-transport-http-1. \
> 6.2.jar;./axis2-transport-local-1.6.2.jar;./axis2-adb-1.6.2.jar;./neethi-3.0.1.jar;. \
> /XmlSchema-1.4.7.jar;./wsdl4j-1.6.2.jar;./transmitter-3.0.0.jar;./axis2-1.6.2;./axis \
> 2-kernel-1.6.2.jar;./axiom-api-1.2.14.jar;./axiom-dom-1.2.14.jar;./axiom-impl-1.2.14 \
> .jar;./commons-lang-2.3.jar;./commons-logging-1.1.3.jar;./log4j.jar;./mail.jar;./junit-4.11.jar;./TI_Trasmitter.jar
>  ch/swissdec/samples/transmitter/Lancia_Trasmitter
> 
> 
> 
> Here exceptions I got:
> 
> [INFO] Configuring client
> 
> [INFO] Deploying module: rahas-1.1 - file:/C:/WDProjet
> 14/Paghe_DEC/Trasmitter/axis2-rahas-1.1.jar
> 
> [INFO] Deploying module: logging-3.0.0 - file:/C:/WDProjet
> 14/Paghe_DEC/Trasmitter/logging-3.0.0.mar
> 
> [INFO] Deploying module: rampart-3.0.0 - file:/C:/WDProjet
> 14/Paghe_DEC/Trasmitter/rampart-3.0.0.mar
> 
> [ERROR] Error loading logging module
> 
> ch.swissdec.samples.transmitter.TransmitterException: Error loading
> logging module
> 
> at
> ch.swissdec.samples.transmitter.AbstractTransmitter.configure(AbstractTransmitter.java:92)
>  
> at
> ch.swissdec.samples.transmitter.AbstractTransmitter.createServiceStub(AbstractTransmitter.java:115)
>  
> at
> ch.swissdec.samples.transmitter.PingTransmitter.ping(PingTransmitter.java:30)
> 
> at
> ch.swissdec.samples.transmitter.PingTest.testPing(PingTest.java:15)
> 
> at
> ch.swissdec.samples.transmitter.Lancia_Trasmitter.main(Lancia_Trasmitter.java:29)
> 
> Caused by: org.apache.axis2.phaseresolver.PhaseException: Did not find the
> desired phase 'Logging' while deploying handler 'InFlowLogHandler'.
> 
> at
> org.apache.axis2.phaseresolver.PhaseHolder.addHandler(PhaseHolder.java:75)
> 
> at
> org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToFlow(PhaseResolver.java:68)
>  
> at
> org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToOperation(PhaseResolver.java:104)
>  
> at
> org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToOperation(PhaseResolver.java:110)
>  
> at
> org.apache.axis2.description.AxisOperation.onEngage(AxisOperation.java:152)
> 
> at
> org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:478)
> 
> at
> org.apache.axis2.description.AxisService.onEngage(AxisService.java:779)
> 
> at
> org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:478)
> 
> at
> org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:439)
> 
> at
> org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:361)
> 
> at
> ch.swissdec.samples.transmitter.AbstractTransmitter.configure(AbstractTransmitter.java:90)
>  
> ... 4 more
> 
> Exception in thread "main" junit.framework.AssertionFailedError: Error
> loading logging module
> 
> at junit.framework.Assert.fail(Assert.java:57)
> 
> at junit.framework.TestCase.fail(TestCase.java:227)
> 
> at
> ch.swissdec.samples.transmitter.PingTest.testPing(PingTest.java:31)
> 
> at
> ch.swissdec.samples.transmitter.Lancia_Trasmitter.main(Lancia_Trasmitter.java:29)
> 
> 
> 
> I attach:
> 
> -          AbstractTransmitter.java (the error is at line 92
> AbstractTransmitter.java:92)
> 
> -          LoggingModule.java
> 
> -          LogHandler.java
> 
> -          logging-3.0.0.mar  (the result I obtain after compiling
> logging part with maven)
> 
> 
> 
> 
> 
> I really don't understand why I always got error:  "Error loading logging
> module", what's wrong in my command line??
> 
> 
> 
> Thanks very much in advance for your help!
> 
> Best Regards,
> 
> *Manuela Vergerio*
> 
> *Senior Software Analyst & Developer*
> 
> 
> 
> [image: logo_firma]
> 
> Via Roncaglia 3 | CH-6883 Novazzano, Switzerland
> 
> Tel +41 91 922 92 81 | fax +41 91 923 27 56 | Skype: manuela_team
> 
> http://www.teaminformatica.ch
> 
> 
> 
> This message, including attachments, is strictly confidential and
> subjected to applicable laws. If you receive this message by mistake,
> please notify the sender then delete and destroy the original message, any
> attachment and all copies. You should not copy, forward, and/or disclose
> the message, in whole or in part, without permission of sender.
> 
> *P* *Please consider the environment before printing this email, make
> sure that it's necessary.*
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
> 



-- 





*-------------------------Thanks and RegardsGurdeep Singh*


[Attachment #5 (text/html)]

<div dir="ltr">Hello  <b \
style="font-family:Calibri,sans-serif;font-size:14.44444465637207px"><span \
style="color:black">Manuela  ,  </span></b><div><b \
style="font-family:Calibri,sans-serif;font-size:14.44444465637207px"><span \
style="color:black"><br> </span></b></div><div><br></div><div><font color="#000000" \
face="Calibri, sans-serif"><span style="font-size:14.44444465637207px"><b>If   i can \
understand it correctly , i think you created a custom logging module, you need to do \
2-3 thing more to reslove this error-  </b></span></font><span \
style="color:rgb(255,0,0);font-family:Calibri,sans-serif;font-size:14.44444465637207px">logging-3.0.0.mar, \
</span></div> <div>1. make sure you added the module.xml in \
module.</div><div>2.Create a logging.jar with same classes and put into \
classpath</div><div>3. add the inbound and outbound phase in axis2.xml file (related \
to logging module ).</div> <div><br></div><div><b \
style="font-family:Calibri,sans-serif;font-size:14.44444465637207px"><span \
style="color:black">Regards,</span></b><br></div><div><b \
style="font-family:Calibri,sans-serif;font-size:14.44444465637207px"><span \
style="color:black">Gurdeep S</span></b></div> </div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 14, 2014 at 2:14 AM, \
Manuela Vergerio <span dir="ltr">&lt;<a \
href="mailto:manuela.vergerio@teaminformatica.ch" \
target="_blank">manuela.vergerio@teaminformatica.ch</a>&gt;</span> wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div lang="IT-CH" link="#0563C1" vlink="#954F72"><div><p \
class="MsoNormal"><span lang="EN-US">Good morning,<u></u><u></u></span></p> <p \
class="MsoNormal"><span lang="EN-US"><u></u>  <u></u></span></p><p \
class="MsoNormal"><span lang="EN-US">I'm a software developer and I'm dealing with an \
open source Java Trasmitter which sends and receives signed and encrypted xml files \
using SOAP envelope (<b>README.html</b> in attachment is the documentation I've got \
and <b>pom.xml</b> is the main maven xml compiler \
instructions).<u></u><u></u></span></p> <p class="MsoNormal"><span \
lang="EN-US"><u></u>  <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I was \
able to run Java Trasmitter through Eclipse, I create a simple main class \
(Lancia_Trasmitter.java) which just Ping the test server, here is the log from \
Eclipse:<u></u><u></u></span></p> <p class="MsoNormal"><span lang="EN-US"><u></u>  \
<u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Configuring \
client<u></u><u></u></span></p> <p class="MsoNormal" \
style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] No services \
directory was found under \
C:\Eclipse_Project\TRASMITTER\transmitter\target\test-classes\axis.<u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Deploying module: \
addressing-1.6.2 - file:/C:/Eclipse_Project/TRASMITTER/Jars/axis2-1.6.2.jar<u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Deploying module: \
rahas-1.1 - file:/C:/Eclipse_Project/TRASMITTER/Jars/axis2-rahas-1.1.jar<u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Deploying module: \
metadataExchange-1.6.2-classpath-module - \
file:/C:/Eclipse_Project/TRASMITTER/Jars/mex-1.6.2-classpath-module.jar<u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Deploying module: \
logging-3.0.0 - file:/C:/Eclipse_Project/TRASMITTER/Jars/logging-3.0.0.mar<u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Deploying module: \
rampart-1.6.2 - file:/C:/Eclipse_Project/TRASMITTER/Jars/rampart-1.6.2.mar<u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Deploying module: \
rampart-3.0.0 - file:/C:/Eclipse_Project/TRASMITTER/Jars/rampart-3.0.0.mar<u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Configuring \
endpoint to <a href="https://tst.itserve.ch/itserve/lohnstandard/testing/refapps2/receiver-webservice/20130514-0.0/SalaryDeclarationService" \
target="_blank">https://tst.itserve.ch/itserve/lohnstandard/testing/refapps2/receiver-webservice/20130514-0.0/SalaryDeclarationService</a><u></u><u></u></span></p>
 <p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" \
style="font-size:10.0pt;font-family:Consolas;color:#5b9bd5">[INFO] Antwort Ping: \
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; \
standalone=&quot;yes&quot;?&gt;&lt;PingResponse xmlns:ns2=&quot;<a \
href="http://www.swissdec.ch/schema/sd/20130514/SalaryDeclarationContainer" \
target="_blank">http://www.swissdec.ch/schema/sd/20130514/SalaryDeclarationContainer</a>&quot; \
xmlns=&quot;<a href="http://www.swissdec.ch/schema/sd/20130514/SalaryDeclarationServiceTypes" \
target="_blank">http://www.swissdec.ch/schema/sd/20130514/SalaryDeclarationServiceTypes</a>&quot; \
xmlns:ns3=&quot;<a href="http://www.swissdec.ch/schema/sd/20130514/SalaryDeclaration" \
target="_blank">http://www.swissdec.ch/schema/sd/20130514/SalaryDeclaration</a>&quot;& \
gt;&lt;SystemDateTime&gt;2014-05-14T10:40:16.177+02:00&lt;/SystemDateTime&gt;&lt;/PingResponse&gt;<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US"><u></u>  <u></u></span></p><p \
class="MsoNormal"><span lang="EN-US"><u></u>  <u></u></span></p><p \
class="MsoNormal"><span lang="EN-US">Now I need to run the same \
Lancia_Trasmitter.java class outside Eclipse. In order to reach my goal I create a \
jar file with all java classes, TI_Trasmitter.jar, and this are instructions I use \
from command line:<br>  <br><span style="color:#70ad47">cd C:\WDProjet \
14\Paghe_DEC\Trasmitter<u></u><u></u></span></span></p><p class="MsoNormal"><span \
lang="EN-US" style="color:#70ad47"><u></u>  <u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:#70ad47">&quot;C:/Program \
Files/Java/jdk1.7.0_55/bin/TEST_SWISSDEC&quot; -cp \
.;./activation-1.1.jar;./antlr-2.7.7.jar;./axiom-api-1.2.13.jar;./axiom-dom-1.2.13.jar \
;./axiom-impl-1.2.13.jar;./axis2-adb-codegen-1.6.2.jar;./axis2-ant-plugin-1.6.2.jar;./ \
axis2-clustering-1.6.2.jar;./axis2-codegen-1.6.2.jar;./axis2-corba-1.6.2.jar;./axis2-f \
astinfoset-1.6.2.jar;./axis2-jaxbri-1.6.2.jar;./axis2-jibx-1.6.2.jar;./axis2-json-1.6. \
2.jar;./axis2-metadata-1.6.2.jar;./axis2-mtompolicy-1.6.2.jar;./axis2-saaj-1.6.2.jar;. \
/axis2-soapmonitor-servlet-1.6.2.jar;./axis2-spring-1.6.2.jar;./bcel-5.1.jar;./commons \
-cli-1.2.jar;./commons-codec-1.3.jar;./commons-fileupload-1.2.jar;./commons-httpclient \
-3.1.jar;./commons-io-1.4.jar;./commons-logging-1.1.1.jar;./esapi-2.0GA.jar;./log4j-1. \
2.15.jar;./bcprov-jdk15-140.jar;./commons-collections-3.1.jar;./commons-lang-2.3.jar;. \
/esapi-2.0GA.jar;./joda-time-1.6.2.jar;./opensaml-2.5.1-1.jar;./openws-1.4.2-1.jar;./r \
ampart-core-1.6.2.jar;./rampart-policy-1.6.2.jar;./rampart-trust-1.6.2.jar;./slf4j-api \
-1.5.5.jar;./slf4j-jcl-1.5.5.jar;./velocity-1.5.jar;./wss4j-1.6.4.jar;./xmlsec-1.4.6.j \
ar;./xmltooling-1.3.2-1.jar;./axis2-rahas-1.1.jar;./axis2-jaxws-1.6.2.jar;./axis2-java \
2wsdl-1.6.2.jar;./axis2-xmlbeans-1.6.2.jar;./httpcore-4.0.jar;./woden-api-1.0M9.jar;./ \
commons-httpclient-3.1-rc1.jar;./axis2-transport-http-1.6.2.jar;./axis2-transport-loca \
l-1.6.2.jar;./axis2-adb-1.6.2.jar;./neethi-3.0.1.jar;./XmlSchema-1.4.7.jar;./wsdl4j-1. \
6.2.jar;./transmitter-3.0.0.jar;./axis2-1.6.2;./axis2-kernel-1.6.2.jar;./axiom-api-1.2 \
.14.jar;./axiom-dom-1.2.14.jar;./axiom-impl-1.2.14.jar;./commons-lang-2.3.jar;./commons-logging-1.1.3.jar;./log4j.jar;./mail.jar;./junit-4.11.jar;./TI_Trasmitter.jar \
ch/swissdec/samples/transmitter/Lancia_Trasmitter<u></u><u></u></span></p> <p \
class="MsoNormal"><span lang="EN-US"><u></u>  <u></u></span></p><p class="MsoNormal" \
style="margin-bottom:12.0pt"><span lang="EN-US">Here exceptions I \
got:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" \
style="color:red">[INFO] Configuring client<u></u><u></u></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="color:red">[INFO] Deploying module: \
rahas-1.1 - file:/C:/WDProjet \
14/Paghe_DEC/Trasmitter/axis2-rahas-1.1.jar<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">[INFO] Deploying module: \
logging-3.0.0 - file:/C:/WDProjet \
14/Paghe_DEC/Trasmitter/logging-3.0.0.mar<u></u><u></u></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="color:red">[INFO] Deploying module: \
rampart-3.0.0 - file:/C:/WDProjet \
14/Paghe_DEC/Trasmitter/rampart-3.0.0.mar<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">[ERROR] Error loading logging \
module<u></u><u></u></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="color:red">ch.swissdec.samples.transmitter.TransmitterException: Error loading \
logging module<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" \
style="color:red">               at \
ch.swissdec.samples.transmitter.AbstractTransmitter.configure(AbstractTransmitter.java:92)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
ch.swissdec.samples.transmitter.AbstractTransmitter.createServiceStub(AbstractTransmitter.java:115)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
ch.swissdec.samples.transmitter.PingTransmitter.ping(PingTransmitter.java:30)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
ch.swissdec.samples.transmitter.PingTest.testPing(PingTest.java:15)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
ch.swissdec.samples.transmitter.Lancia_Trasmitter.main(Lancia_Trasmitter.java:29)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">Caused by: \
org.apache.axis2.phaseresolver.PhaseException: Did not find the desired phase \
&#39;Logging&#39; while deploying handler \
&#39;InFlowLogHandler&#39;.<u></u><u></u></span></p> <p class="MsoNormal"><span \
lang="EN-US" style="color:red">               at \
org.apache.axis2.phaseresolver.PhaseHolder.addHandler(PhaseHolder.java:75)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToFlow(PhaseResolver.java:68)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToOperation(PhaseResolver.java:104)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToOperation(PhaseResolver.java:110)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.description.AxisOperation.onEngage(AxisOperation.java:152)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:478)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.description.AxisService.onEngage(AxisService.java:779)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:478)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.description.AxisDescription.engageModule(AxisDescription.java:439)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:361)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
ch.swissdec.samples.transmitter.AbstractTransmitter.configure(AbstractTransmitter.java:90)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               ... 4 \
more<u></u><u></u></span></p> <p class="MsoNormal"><span lang="EN-US" \
style="color:red">Exception in thread &quot;main&quot; \
junit.framework.AssertionFailedError: Error loading logging \
module<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" \
style="color:red">               at \
junit.framework.Assert.fail(Assert.java:57)<u></u><u></u></span></p> <p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
junit.framework.TestCase.fail(TestCase.java:227)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US" style="color:red">               at \
ch.swissdec.samples.transmitter.PingTest.testPing(PingTest.java:31)<u></u><u></u></span></p>
 <p class="MsoNormal"><span lang="EN-US" style="color:red">               at \
ch.swissdec.samples.transmitter.Lancia_Trasmitter.main(Lancia_Trasmitter.java:29)<u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-US"><u></u>  <u></u></span></p> <p \
class="MsoNormal"><span lang="EN-US">I \
attach:<u></u><u></u></span></p><p><u></u><span lang="EN-US"><span>-<span \
style="font:7.0pt &quot;Times New Roman&quot;">                   \
</span></span></span><u></u><span lang="EN-US">AbstractTransmitter.java (the error is \
at line 92 <span style="color:red">AbstractTransmitter.java:92</span>)<u></u><u></u></span></p>
 <p><u></u><span lang="EN-US"><span>-<span style="font:7.0pt &quot;Times New \
Roman&quot;">                   </span></span></span><u></u><span \
lang="EN-US">LoggingModule.java<u></u><u></u></span></p><p><u></u><span \
lang="EN-US"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">             \
</span></span></span><u></u><span \
lang="EN-US">LogHandler.java<u></u><u></u></span></p> <p><u></u><span \
lang="EN-US"><span>-<span style="font:7.0pt &quot;Times New Roman&quot;">             \
</span></span></span><u></u><span lang="EN-US">logging-3.0.0.mar   (the result I \
obtain after compiling logging part with maven)<u></u><u></u></span></p> <p \
class="MsoNormal"><span lang="EN-US"><u></u>  <u></u></span></p><p \
class="MsoNormal"><span lang="EN-US"><u></u>  <u></u></span></p><p \
class="MsoNormal"><span lang="EN-US">I really don't understand why I always got \
error:   "Error loading logging module", what's wrong in my command \
line??<u></u><u></u></span></p> <p class="MsoNormal"><span lang="EN-US"><u></u>  \
<u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks very much in advance \
for your help!<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Best \
Regards,<u></u><u></u></span></p> <p class="MsoNormal"><b><span \
style="color:black">Manuela Vergerio</span></b><span \
style="color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><b><span \
style="font-size:10.0pt;color:black">Senior Software Analyst &amp; \
Developer</span></b><span style="color:#1f497d"><u></u><u></u></span></p> <p \
class="MsoNormal"><span lang="IT" style="font-size:5.0pt;color:black">  </span><span \
style="color:#1f497d"><u></u><u></u></span></p><p class="MsoNormal"><span \
style="color:black"><img border="0" width="157" height="23" \
src="cid:image001.png@01CF6F61.366CBB00" alt="logo_firma"></span><span lang="EN-GB" \
style="color:#1f497d"><u></u><u></u></span></p> <p class="MsoNormal"><span \
<p class="MsoNormal"><span lang="IT" style="font-size:10.0pt;color:black"><a \
href="http://www.teaminformatica.ch/" target="_blank"><span lang="EN-GB" \
style="color:blue">http://www.teaminformatica.ch</span></a></span><span lang="EN-GB" \
style="color:#1f497d"><u></u><u></u></span></p> <p class="MsoNormal"><span \
lang="EN-GB" style="font-size:7.0pt;font-family:BallyLibris;color:#1f497d">  \
</span><span lang="EN-GB" style="color:#1f497d"><u></u><u></u></span></p><p \
class="MsoNormal"><span lang="EN-GB" \
style="font-size:8.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#919191">This \
message, including attachments, is strictly confidential and subjected to applicable \
laws. If you receive this message by mistake, please notify the sender then delete \
and destroy the original message, any attachment and all copies. You should not copy, \
forward, and/or disclose the message, in whole or in part, without permission of \
sender.</span><span lang="EN-GB" style="color:#1f497d"><u></u><u></u></span></p> <p \
class="MsoNormal" style="text-align:justify"><b><span lang="EN-GB" \
style="font-size:18.0pt;font-family:Webdings;color:green">P</span></b><b><span \
lang="EN-GB" style="font-family:Webdings;color:#1f497d"> </span></b><b><span \
lang="EN-US" style="font-size:7.5pt;font-family:&quot;Century \
Gothic&quot;,&quot;sans-serif&quot;;color:green">Please consider the environment \
before printing this email, make sure that it's necessary.</span></b><span \
lang="EN-US" style="color:#1f497d"><u></u><u></u></span></p> </div></div><br><br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a \
href="mailto:java-user-unsubscribe@axis.apache.org">java-user-unsubscribe@axis.apache.org</a><br>
 For additional commands, e-mail: <a \
href="mailto:java-user-help@axis.apache.org">java-user-help@axis.apache.org</a><br></blockquote></div><br><br \
clear="all"><div><br></div>-- <br><div dir="ltr"><div><br></div><div><br></div> \
<div><br></div><b><font face="trebuchet ms, \
sans-serif">-------------------------<br>Thanks and Regards<br>Gurdeep \
Singh</font></b><br></div> </div>

--001a113a7e5c6d7e7904f98cbce3--


["image001.png" (image/png)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic