2012-07-27 235 views
0

我正在嘗試將我寫入的Web服務部署到本地weblogic服務器。Web服務部署無錯

我在這裏部署了其他Web服務,但從來沒有任何問題。

當我將以下代碼行添加到我的應用程序時,出現錯誤時。

行代碼

@WebService(endpointInterface = "--------------------SessionEJB") 

錯誤

[09:17:44 AM] Deploying 2 profiles... 
[09:17:44 AM] Wrote EJB Module to C:\JDeveloper\mywork\MyApp\------EJB\deploy\MyAppEJB.jar 
[09:17:44 AM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\MyApp\deploy\MyApp.ear 
[09:17:44 AM] Redeploying Application... 
[09:17:45 AM] [Deployer:149192]Operation 'deploy' on application 'MyApp' is in progress on 'DefaultServer' 
[09:17:45 AM] [Deployer:149193]Operation 'deploy' on application 'MyApp' has failed on 'DefaultServer' 
[09:17:46 AM] #### Deployment incomplete. #### 
[09:17:46 AM] Remote deployment failed 

沒有該行的代碼,它部署就好了。

回答

0

手動部署了EAR,而不是嘗試從Jdeveloper部署到weblogic服務器。

Weblogic告訴我我的錯誤。