axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmk <lotf...@yahoo.fr>
Subject Re: ClassCastException..probably a classpath pb
Date Tue, 12 Jun 2007 14:58:27 GMT

problem resolved.
I put axis jar and dependencies  on the common/lib  tomcat folder instead of 
server/lib  ..

thanks. .



mgainty wrote:
> 
> does the Handler you are casting extend org.apache.axis.Handler?
> 
> Bon Chance/
> Martin--
> This email message and any files transmitted with it contain confidential
> information intended only for the person(s) to whom this email message is
> addressed.  If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy.  Thank you.
> 
> ----- Original Message ----- 
> From: "lmk" <lotfi65@yahoo.fr>
> To: <axis-user@ws.apache.org>
> Sent: Tuesday, June 12, 2007 3:44 AM
> Subject: ClassCastException..probably a classpath pb
> 
> 
>>
>> Hi!
>>
>> Im trying to deploy a custom jaas login module into tomcat server.this
>> module  need a web service(axis 1.4) request for authentication.
>> the same code works fine where it's executed locally  on Eclipse, but, 
>> when
>> I deploy a  the login module jar on server/lib folder for tomcat. i have 
>> the
>> exception.
>> Im using tomcat 5.5 version.
>> I put axis jar into server/lib directory, it is the  appropriate place?
>>
>> thanks.
>>
>> NB: the  exception a got:
>>
>> AxisFault
>> faultCode:
>> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>> faultSubcode:
>> faultString: java.lang.ClassCastException
>> faultActor:
>> faultNode:
>> faultDetail:
>> {http://xml.apache.org/axis/}stackTrace:java.lang.ClassCastException
>> at
>> org.apache.axis.deployment.wsdd.WSDDTargetedChain.makeNewInstance(WSDDTargetedChain.java:157)
>> at
>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
>> at
>> org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
>> at
>> org.apache.axis.deployment.wsdd.WSDDDeployment.getTransport(WSDDDeployment.java:410)
>> at
>> org.apache.axis.configuration.FileProvider.getTransport(FileProvider.java:257)
>> at org.apache.axis.AxisEngine.getTransport(AxisEngine.java:332)
>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:163)
>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/ClassCastException..probably-a-classpath-pb-tf3906084.html#a11074427
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ClassCastException..probably-a-classpath-pb-tf3906084.html#a11080475
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message