Я пытался развернуть службу axis2, используя следующее:
- Netbeans 6.9.1
- axis2.war (версия 1.4.1) и я тоже пробовал (версия 1.5.5)
- стеклянная рыба 3,1
Я создаю проект библиотеки классов Java и внутри этого проекта я создаю «Службу Axis2 из WSDL». Кажется, что все работает правильно (строит без ошибок), но когда я пытаюсь развернуть службу на сервере glassfish, я получаю сообщение об ошибке, которое указывает на проблему с открытием файла axis2.war (см. Ниже журнал консоли)
Я прошел следующие уроки, чтобы пройти этот путь:
http://netbeans.org/kb/69/websvc/gs-axis.html#axis_options_glassfish
http://netbeans.dzone.com/news/axis2-web-service-support-netb
Буду признателен за любую помощь
С уважением,
Justin
INFO: [AutoDeploy] Selecting file C:\Program Files\glassfish-3.1\glassfish\domains\domain1\autodeploy\axis2.war for autodeployment.
WARNING: DPL8004: file open failure; file = file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
WARNING: error in opening zip file -- invalid zip file: file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
WARNING: DPL8004: file open failure; file = file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
WARNING: error in opening zip file -- invalid zip file: file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
WARNING: DPL8004: file open failure; file = file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
WARNING: error in opening zip file -- invalid zip file: file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
SEVERE: log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
WARNING: DPL8004: file open failure; file = file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
WARNING: error in opening zip file -- invalid zip file: file:/C:/Program%20Files/glassfish-3.1/glassfish/domains/domain1/autodeploy/axis2.war
WARNING: Illegal character in path at index 16: file:/C:/Program Files/glassfish-3.1/glassfish/domains/domain1/applications/axis2/WEB-INF/lib/activation-1.1.jar
java.net.URISyntaxException: Illegal character in path at index 16: file:/C:/Program Files/glassfish-3.1/glassfish/domains/domain1/applications/axis2/WEB-INF/lib/activation-1.1.jar
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.checkChars(URI.java:2982)
at java.net.URI$Parser.parseHierarchical(URI.java:3066)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:578)
at java.net.URL.toURI(URL.java:918)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getURIs(SnifferManagerImpl.java:268)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getApplicableSniffers(SnifferManagerImpl.java:202)
at com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:150)
at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:604)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:360)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:145)
at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:577)
at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:463)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:395)
at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:380)
at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:213)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO: WEB0671: Loading application [axis2] at [/axis2]
INFO: axis2 was successfully deployed in 72,281 milliseconds.
INFO: [AutoDeploy] Successfully autodeployed : C:\Program Files\glassfish-3.1\glassfish\domains\domain1\autodeploy\axis2.war.
INFO: [AutoDeploy] Selecting file C:\Program Files\glassfish-3.1\glassfish\domains\domain1\autodeploy\zip1296260213.tmp for autodeployment.
WARNING: [AutoDeploy] Autodeploy failed : C:\Program Files\glassfish-3.1\glassfish\domains\domain1\autodeploy\zip1296260213.tmp.