axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Bhole (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-449) Can't deploy web service
Date Wed, 15 Feb 2006 17:53:09 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-449?page=comments#action_12366512 ] 

Deepak Bhole commented on AXIS2-449:
------------------------------------

Actually, META-INF is case sensitive (atleast AFAIK). The jar spec is not clear on this, and
jdk 1.3 didn't care, but from then on, it does. Here is a related bug on sun.com: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4425788

I verified sensitivity with another jar; if I specify Main-Class in META-INF/MANIFEST.MF,
java -jar <...> works, if I rename META-INF to meta-inf, it doesn't.  However, I don't
use Windows, so I cannot confirm jvm behavior on it...

I tried Franck's aar on my machine, the original failed, but when I moved services.xml to
META-INF, it started working.

> Can't deploy web service
> ------------------------
>
>          Key: AXIS2-449
>          URL: http://issues.apache.org/jira/browse/AXIS2-449
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: deployment
>     Versions: 0.94
>  Environment: Windows XP + Tomcat 5.5.11
>     Reporter: Franck HUGOT
>     Priority: Blocker
>  Attachments: WSConcerto.aar
>
> Hello,
>  
>  
> I'm trying to use Axis 2 (installed on tomcat 5.5.11 + jdk1.4.2_02) but the deployment
for my web service does not work.
> I only duplicate the example, rename the class, compile and generate the aar (in attachment).

> But when I deploy the web service I get this error :
>  
> This Web axisService has deployment faults
> Error: org.apache.axis2.deployment.DeploymentException: services.xml not found for service
'C:\Dev\Java\serveurs\jakarta-tomcat-5.5.11\webapps\axis2\WEB-INF\services\concerto.aar';
nested exception is: org.apache.axis2.deployment.DeploymentException: services.xml not found
for service 'C:\Dev\Java\serveurs\jakarta-tomcat-5.5.11\webapps\axis2\WEB-INF\services\concerto.aar'
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:234)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:391) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:196)
at org.apache.axis2.deployment.listener.RepositoryListenerImpl.update(RepositoryListenerImpl.java:140)
at org.apache.axis2.deployment.listener.RepositoryListenerImpl.checkServices(RepositoryListenerImpl.java:90)
at org.apache.axis2.deployment.listener.RepositoryListenerImpl.startListener(RepositoryListenerImpl.java:132)
at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepositary(SchedulerTask.java:62)
at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:69) at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76)
at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)
Caused by: org.apache.axis2.deployment.DeploymentException: services.xml not found for service
'C:\Dev\Java\serveurs\jakarta-tomcat-5.5.11\webapps\axis2\WEB-INF\services\concerto.aar' at
org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:231)
... 10 more 
>  
>  
>  
> I don' understand what's the problem.
>  
>  
> Thanks in advance.
>  
> Franck HUGOT
>  
>  
>  
>  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message