This is what I see:
Nov 10, 2006 11:15:39 AM org.apache.axis2.deployment.AxisConfigBuilder
processTransportReceivers
INFO: Class Not found :
org.apache.axis2.transport.tcp.TIAF2AXIS2Listener
Nov 10, 2006 11:15:39 AM
org.apache.axis2.transport.tcp.AXIS2TIAFBootstrap main
SEVERE: Error bootstraping
org.apache.axis2.deployment.DeploymentException: Transport Receiver can
not be null for the transport TIAF; nested exception is: 
        org.apache.axis2.AxisFault: Transport Receiver can not be null
for the transport TIAF
        at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportReceivers(
AxisConfigBuilder.java:355)
        at
org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigB
uilder.java:93)
        at
org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(D
eploymentEngine.java:690)
        at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(
FileSystemConfigurator.java:109)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
Context(ConfigurationContextFactory.java:61)
        at
org.apache.axis2.context.ConfigurationContextFactory.createConfiguration
ContextFromFileSystem(ConfigurationContextFactory.java:180)
        at
org.apache.axis2.transport.tcp.AXIS2TIAFBootstrap.main(AXIS2TIAFBootstra
p.java:34)
Caused by: org.apache.axis2.AxisFault: Transport Receiver can not be
null for the transport TIAF
        at
org.apache.axis2.engine.AxisConfiguration.addTransportIn(AxisConfigurati
on.java:319)
        at
org.apache.axis2.deployment.AxisConfigBuilder.processTransportReceivers(
AxisConfigBuilder.java:353)
        ... 6 more

Stepping thru debugger reveals this:
1. exception comes from AxisConfigBuilder
2. this line does not throw error receiverClass =
Loader.loadClass(clasName);
3. error comes from this line (TransportListener)
receiverClass.newInstance();
   =>> the point when it breaks class stack looks like this
AxisCOnfigBuilder.processTransportReceivers:337->Class<T>.newInstance:30
3->Class<T>.newInstance0:321->Class<T>.getCOnstructor0:2640->Class<T>.pr
ivateGetDeclaredCOnstructors:2328->Class<T>.getDeclaredCOnstructors0->La
uncher$AppClassLoader.loadClassINternal:319->Launcher$AppClassLoader.loa
dClass:251->Launcher$AppClassLoader.loadClass:261

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 09, 2006 8:51 PM
To: [email protected]
Subject: Re: Extending class to write new listener throws
NoClassDefFoundError

Please throw the debug on in the log4j.properties and
commons-logging.properties and post the stack trace.

thanks,
dims

On 11/9/06, Yadav, Yogendra (IT) <[EMAIL PROTECTED]>
wrote:
> Hi,
> I am writing a new transport listener. The listener extends my 
> framework class and implements TransportListener interface like
this...
> public class TIAF2AXIS2Listener extends TIAFDefaultDriver implements 
> TransportListener
>
> Then I declared it in axis2.xml file like this...
>     <transportReceiver name="TIAF"
>
> class="org.apache.axis2.transport.tcp.TIAF2AXIS2Listener">
>         <parameter name="port" locked="false">6062</parameter>
>         <!--If you want to give your own host address for EPR
> generation-->
>         <!--uncommet following paramter , and set as you required.-->
>         <!--<parameter name="hostname"
> locked="false">tcp://myApp.com/ws</parameter>-->
>     </transportReceiver>
>
> When I start SimpleAxis2Server it fails to start the transports and 
> throws NoClassDefFoundError for class 
> org.apache.axis2.transport.tcp.TIAF2AXIS2Listener.
>
> Any ideas on how to resolve this ?
>
> -yogen
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender. Sender
does not intend to waive confidentiality or privilege. Use of this email
is prohibited when received in error.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
Developers)

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

NOTICE: If received in error, please destroy and notify sender. Sender does not 
intend to waive confidentiality or privilege. Use of this email is prohibited 
when received in error.

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

Reply via email to