Web Services deployment error "Server returned nothing (no headers, no data)" and more
I'm developing a large-scale VI with an associated web service VI in 2010 SP1. The "auxiliary VI" is responsible for data capture and analysis as well as communications and data storage. It is fairly large and communicates with the web method VI via network-shared variables [and I'm using the DSC module to allow event handling on the shared variables].
I can build and deploy the web method VI just fine and it runs great. However, I need to communicate between the auxiliary and web method VI's, and it looks like I can't do that without including the auxiliary vi in the RESTful web service build [by the way, is there any way to do this with web service builds?]. When I added the auxiliary vi to the build, it built fine, but then during the deployment I got:
"Server returned nothing (no headers, no data)"
The next time I tried to deploy, I got a spurious NI Auth dialog per this KnowledgeBase article. Following the instructions for case 1 ["Application Web Server failure since last start"], I ran Services.msc and found that NI Application Web Service was indeed not running. I tried to restart the service but got this error:
"The NI Application Web Server service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service."
The KnowledgeBase article suggests restarting at this point and I did, but I still see the same behavior. So I really have a few questions:
1. Is there any way to deploy a network-shared variable library across a deployed web service and local VI?
2. What causes "Server returned nothing (no headers, no data)" upon deployment? A google search returned very little.
3. What does this mean: "The NI Application Web Server service on Local Computer
started and then stopped..." and what do I need to do to get my Application Web Server back up?
[to heap on the pile... I tried to re-enable the Application Web Server from localhost:3580 and got an error. Then localhost:3580 went off-line also.]
thanks!
Solved!
Go to Solution.
Update.
I noticed that the Application Web Server was trying to deploy the broken web service and was choking on it. There seemed to be no way to erase the .lvws originally created by the build. I could delete the deployment folder at $(WebServicesRoot)\UserServices\deployed\<Service Name>-<Globally Unique Identifier (GUID)> but it was recreated from the .lvws every time I attempted to restart the service.
So I called NI and they pointed me to this directory [in XP]:
C:\Documents and Settings\LocalService\My Documents\LabVIEW Data\WebServices\Standalone
The .lvws was in this folder. I deleted it and now I can run the ApplicationWebService. Apparently this undocumented hidden file is a "not-quite-bug" that is recognized as needing a fix in upcoming releases.
Similar Messages
-
Web service task: Error when returning an empty array
Hi,
I've encountered an annoying error when using a Web Service Task from an SSIS package in SQL Server Data Tools.
[Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Index was outside the bounds of the array..
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection, VariableDispenser taskVariableDispenser)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
It seems that the Web Service Task generates this error when returning an empty response from the WSDL. I've seen several topics about this here on MSDN but they are all from 2008-2009 and seem to suggest that
this is a bug. The workaround suggested is using a script task but I would really love to avoid that since my programming skills are lacking.
I'm using Visual studio 2010 with SP1.Hello,
From my own experience: in all the cases where I had to use SSIS 2008 to retrieve data or send data to Webservices, I had to revert to using Script Tasks or Script components. Whenever I tried with a Web service task, because the job looked simple, I had
to abandon it in favour of Scripts. Keep in mind that I try to make use of the SSIS components as often as possible, before reverting to Scripting. But handling web services is the one exception, where I always use scripts. In SSIS 2012 I did not find
any significant improvement of the Web service task and hence no compelling reason to use it.
Jan D'Hondt - SQL server BI development -
Hello everyone!
I've created a Web Service from a VI. This VI has two inputs values: a String and and Int8 and one single output: an array of DBL values (array of 1x3). Both inputs and outputs are well connected through the Connector Pane.
So, in the Project>> Build Spedifications I've created WS, builded with the Advanced>> Use LabVIEW 8.x file layout option checked, in the WebService(RESTful) settings dialog. The problem appear when I try to deploy this WS. The next error is shown:
Error LabVIEW: (Hex 0xFFFEF84D) LabVIEW Web Services: An error occurred when extracting the deployed Web service. Rebuild the Web service by selecting the "Use LabVIEW 8.x file layout" option in the Advanced tab of the web Service properties dialog.
How can I solve this problem?
Thank you!
Francisco José Gómez López
Software Engineer
Solved!
Go to Solution.This is exactly what I've done! I build my web services with this option checked. I don't know the reason why the error still persist.
I attach a zip file containing the Web Services VI and other VI needed. If you coult try to build the WS and deploy it...
Francisco José Gómez López
Software Engineer
Attachments:
VIasWS.zip 138 KB -
WEB service deployment error on Production server
Yves,
Please post this question in the Workshop 8.1 beta newsgroup.
weblogic.developer.interest.81beta.workshop
http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.81beta.workshop&utag=
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Yves Leaute" <[email protected]> wrote in message
news:[email protected]...
>
Hi,
I'm quite new in WEB service development. Sorry if the question has asimple answer.
I wrote a WEB server on a development PC and the WEB service runs well.
Configuration Workshop8.1 beta.
Problems occur when I try to deploy the EAR file on a different productionserver
which run the 8.1 WebLogic server (latest non-beta version)
Is there a simple solution ?
I built the EAR file directly from the Workshop environment GUI, as thewlwbuild
command I used worked properly but never generated any "ear" file in thedirectory.
>
I have 2 questions:
a) is it necessary to use ONLY the WLWBUILD.cmd to generate an EAR filethat cen
be deployed on teh target "production" server ?
b) do I need to edit manually some embedded files in the EAR generated?
Thanks for any help...
Best regards
Yves
-attachment : WebServiceNAP.ear file
errors generated on teh production server
weblogic.management.ManagementRuntimeException:javax.management.InstanceNotFoundException:
CardService:Name=WebServiceNAP,Type=Application
atweblogic.management.configuration.ApplicationMBean_Stub.getParent(Applicatio
nMBean_Stub.java:972)
atweblogic.management.console.tags.TitleTag.printMBeanContext(TitleTag.java:44
8)
at weblogic.management.console.tags.TitleTag.doStartTag(TitleTag.java:206)
atweblogic.management.console.webapp._domain.__application._jspService(__appli
cation.java:485)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
atweblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
patcherImpl.java:342)
atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
atweblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:246)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:149)
atweblogic.management.console.actions.ForwardAction.perform(ForwardAction.java
:35)
atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:173)
atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1053)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:387)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:305)
atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:6291)
atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:317)
atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3575)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2573)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Caused by: javax.management.InstanceNotFoundException:CardService:Name=WebServiceNAP,Type=Application
atcom.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1680)
atcom.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:115
2)
atweblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanS
erverImpl.java:284)
atweblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:610)
atweblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java
:442)
atweblogic.management.configuration.ApplicationMBean_Stub.getParent(Applicatio
nMBean_Stub.java:965)
... 27 more
Current Date
Fri Jul 04 23:09:25 CEST 2003
Console Release Build
null
Console Build
null
Server Release Build
8.1.0.0
Server Build
WebLogic Server 8.1 Thu Mar 20 23:06:05 PST 2003 246620
All Server Product Versions
WebLogic Server 8.1 Thu Mar 20 23:06:05 PST 2003 246620
WebLogic XMLX Module 8.1 Thu Mar 20 23:06:05 PST 2003 246620
Request Info
Protocol: HTTP/1.1
ServerName: www.ffm.leaute.com
ServerPort: 7001
Secure: false
ContextPath: /console
ServletPath: /domain/Application.jsp
QueryString:parentMBean=CardService%3AName%3DCardService%2CType%3DDomain&attributes=webl
ogic.management.configuration.ApplicationMBean.Name%3DWebServiceNAP&attribut
es=weblogic.management.configuration.ApplicationMBean.Targets%3DCardService%
3AName%3Dmyserver%2CType%3DServer&attributes=weblogic.management.configurati
on.ApplicationMBean.Path%3DC%3A%5Cbea%5Cuser_projects%5CCardService%5Cmyserv
er%5Cupload%5CWebServiceNAP.ear&attributes=Path.currentPath%3DC%3A%5Cbea%5Cu
ser_projects%5CCardService%5Cmyserver%5Cupload&reloadNav=false&message=&wiza
rdName=ApplicationAssistant&step=Configure&MBeanClass=weblogic.management.co
nfiguration.ApplicationMBean
PathInfo: null
PathTranslated: null
RequestURI: /console/domain/Application.jsp
AuthType: null
ContentType: application/x-www-form-urlencoded
CharacterEncoding: null
Locale: en_US
Method: POST
Session:weblogic.servlet.internal.session.MemorySessionData@a5beb
RequestedSessionId:1Fsf75KXKHMU21lrZ5WOFzkWmzHxEzhqObkau11jWbelgvU5oo9i!-1072167969!10573529275
39
RequestedSessionIdFromCookie: true
RequestedSessionIdFromURL: false
UserPrincipal: admin
RemoteUser: admin
RemoteAddr: 192.168.0.8
RemoteHost: ffm.leaute.com
Parameters
MBeanClass = weblogic.management.configuration.ApplicationMBean attributes= Path.currentPath=C:\bea\user_projects\CardService\myserver\upload
attributes =weblogic.management.configuration.ApplicationMBean.Name=WebServiceNAP
attributes =weblogic.management.configuration.ApplicationMBean.Path=C:\bea\user_projects
\CardService\myserver\upload\WebServiceNAP.ear
attributes =weblogic.management.configuration.ApplicationMBean.Targets=CardService:Name=
myserver,Type=Server
message = nextAction =/actions/mbean/ApplicationDeployAction?parentMBean=CardService%3AName%3DCard
Service%2CType%3DDomain&attributes=weblogic.management.configuration.Applica
tionMBean.Name%3DWebServiceNAP&attributes=weblogic.management.configuration.
ApplicationMBean.Targets%3DCardService%3AName%3Dmyserver%2CType%3DServer&att
ributes=weblogic.management.configuration.ApplicationMBean.Path%3DC%3A%5Cbea
%5Cuser_projects%5CCardService%5Cmyserver%5Cupload%5CWebServiceNAP.ear&attri
butes=Path.currentPath%3DC%3A%5Cbea%5Cuser_projects%5CCardService%5Cmyserver
%5Cupload&reloadNav=false&message=&wizardName=ApplicationAssistant&step=Conf
igure&MBeanClass=weblogic.management.configuration.ApplicationMBean
parentMBean = CardService:Name=CardService,Type=Domain reloadNav = falsestep
= Configure wizardName = ApplicationAssistantwl_control_weblogic_management_configuration_ApplicationMBean_Name
= WebServiceNAP
Attributes
wlinternalaction =weblogic.management.console.actions.internal.InternalActionContext@13cb1cb
javax.servlet.error.request_uri = /console/domain/Application.jspjavax.servlet.include.context_path
= /console javax.servlet.include.request_uri = /console/common/error.jspjavax.servlet.include.servlet_path
= /common/error.jsp javax.servlet.jsp.jspException =weblogic.management.ManagementRuntimeException:
javax.management.InstanceNotFoundException:CardService:Name=WebServiceNAP,Type=Application
weblogic.management.console.catalog.Catalog =weblogic.management.console.catalog.XmlCatalog@1bc8d37
weblogic.management.console.helpers.BrowserHelper = User-Agent:Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322) IE: trueNetscape:
false Supported: true JavscriptHrefs: false TableCellClick: trueDocumentReloadedOnResize:
false DropdownStretchable: true CellSpacingBlank: false EmptyCellBlank:false
ImgOnclickSupported: true TableBorderFancy: true PartialToWideTables:false DisabledControlSupported:
true weblogic.management.console.helpers.DebugHelper =weblogic.management.console.helpers.DebugHelper@18b1bc
weblogic.management.console.helpers.UrlHelper =weblogic.management.console.helpers.UrlHelper@1db1be6
weblogic.servlet.network_channel.port = 7001
Headers
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,application/vnd.ms-powerpoint,
application/vnd.ms-excel, application/msword,application/x-shockwave-flash, */*
Accept-Encoding = gzip, deflate Accept-Language = en-us Cache-Control =no-cache
Connection = Keep-Alive Content-Length = 863 Content-Type =application/x-www-form-urlencoded
Cookie =ADMINCONSOLESESSION=1Fsf75KXKHMU21lrZ5WOFzkWmzHxEzhqObkau11jWbelgvU5oo9i!-10
72167969
Host = www.ffm.leaute.com:7001 Referer =http://www.ffm.leaute.com:7001/console/actions/mbean/DoMBeanWizardAction?parentMBean=CardService%3AName%3DCardService%2CType%3DDomain&reloadNav=false&wizardName=ApplicationAssistant&step=Start&MBeanClass=weblogic.management.configuration.ApplicationMBean
User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR1.0.3705;
NET CLR 1.1.4322)
BrowserInfo
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT5.0; .NET
CLR 1.0.3705; .NET CLR 1.1.4322)
IE: true
Netscape: false
Supported: true
JavscriptHrefs: false
TableCellClick: true
DocumentReloadedOnResize: false
DropdownStretchable: true
CellSpacingBlank: false
EmptyCellBlank: false
ImgOnclickSupported: true
TableBorderFancy: true
PartialToWideTables: false
DisabledControlSupported: true -
P6v7 web services deploying error
Hi,
I am trying to start a p6v7 web service on a standalone machine. I have installed it (successfully, i guess), and have finished deploying it to JBoss application server (just copied the war to the deploy folder of JBoss).
When I run the java demo, it failed.
I have attached the error messages from the server side as follows:
https://picasaweb.google.com/lh/photo/RGV5vJpARUixzlGSzqK0xOsNmhdJA9zbRzKZYZv8Dqg?feat=directlink
https://picasaweb.google.com/lh/photo/w9OP-J5y6fwhD1SbpKhBb-sNmhdJA9zbRzKZYZv8Dqg?feat=directlink
I know Java a little but is newbie to Web Services. Please give me a hint how to fix it, or where to learn this stuff. (the oracle manuals are not really helpful at all, or maybe it is my problem...)
Thanks!
Edited by: LeZhang on May 18, 2011 12:08 PMYou may try this...
Open P6 Administrator and Under Custom Configuration select the configuration used for web services. Expand all the nodes and sub nodes under web services and set everything to false where it is true. Try to restart jboss.
If you are using SSL for P6 Web then Web service should also be configured for SSL -
Pl/sql Web service deployment error
While deploying the GetEployee webservice as given in the Jdeveloper tutorial, i got the following error. Kindly those who worked on this may reply
---- Deployment started. ---- Dec 6, 2006 5:04:26 PM
Target platform is Standalone OC4J 10g 10.1.3 (AppServerConnection1).
Wrote WAR file to /home/oracle/jdevhome/mywork/PL_SQL_WS\GetEmployee/deploy/WebServices.war
Wrote EAR file to /home/oracle/jdevhome/mywork/PL_SQL_WS\GetEmployee/deploy/PL_SQL_WS-GetEmployee-WS.ear
Uploading file PL_SQL_WS-GetEmployee-WS.ear ...
Application Deployer for PL_SQL_WS-GetEmployee-WS STARTS.
Copy the archive to /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear
Initialize /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear begins...
Unpacking PL_SQL_WS-GetEmployee-WS.ear
Done unpacking PL_SQL_WS-GetEmployee-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS.ear ends...
Starting application : PL_SQL_WS-GetEmployee-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : PL_SQL_WS-GetEmployee-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application PL_SQL_WS-GetEmployee-WS to site default-web-site under context root PL_SQL_WS-GetEmployee-context-root
Operation failed with error:
Error compiling :/home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices: Error instantiating compiler: Web service artifact generation failed:oracle.classloader.util.AnnotatedClassFormatError: hrconn/EmpRecBase (Unsupported major.minor version 49.0)
Invalid class: hrconn.EmpRecBase
Loader: PL_SQL_WS-GetEmployee-WS.web.WebServices:0.0.0
Code-Source: /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices/WEB-INF/classes/
Configuration: WEB-INF/classes/ in /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/applications/PL_SQL_WS-GetEmployee-WS/WebServices/WEB-INF/classes
Dependent class: oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer
Loader: oracle.ws.client:10.1.3
Code-Source: /home2/u01/app/oracle/product/10.1.0/jdeveloper/webservices/lib/wsclient.jar
Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in /home2/u01/app/oracle/product/10.1.0/jdeveloper/j2ee/home/oc4j.jar
This class was compiled for a newer version of the JRE. Expected version 48.0, found 49.0.
Deployment failed
Elapsed time for deployment: 41 seconds
#### Deployment incomplete. #### Dec 6, 2006 5:05:07 PM
BhaskarWhich JDK version are you using?
JDeveloper 10.1.3 (and OC4J 10.1.3) requires JDK 5.0 to run. -
Web service deployment error - CE 7.2(CAF)
I am getting deployment error for CE 7.2 CAF application.
it was working fine. Suddenly with out any changes in the code or the web service, I am not able deploy the application.
if I remove the modeled service , it is successfully deployed. But modeled service is required to expose the service for other applications.
any one have suggestions? does this is a problem from J2EE engine? any authentication problems??
its a nested error:
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 An error occurred while deploying the deployment item [<projectname>~ear].
; nested exception is:
com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3297] An error occurred during deployment of [sdu id: [<projectname>~ear]
sdu file path: [/usr/sap/CED/J00/j2ee/cluster/server0/temp/tc~bl~deploy_controller/archives/582/<projectname>ear.ear]
version status: [HIGHER]
deployment status: [Admitted]
description: []
]. Cannot update it.
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:891)
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:259)
at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:104)
at com.sap.ide.tools.services.dc.EngineDcDeployService.deployFiles(EngineDcDeployService.java:178)
at com.sap.ide.tools.services.dc.EngineDcDeployService.deploy(EngineDcDeployService.java:92)
at com.sap.ide.dii05.ui.internal.actions.dc.DcDeployAction$3.run(DcDeployAction.java:236)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Resolved myself : delete the project in webAS using deployment perspective and delete the project in NWDS and recreate the same project and deploy with WSDL.
-
We migrate an application from JDev 11.1.1.0 to 11.1.1.1.
Then following deployment error start to occurs.
it says user defined filter and webservices.
But there is no such a filter.
And here is no web service modul inside of our projects.
Thansks...
<Jul 13, 2009 8:30:20 AM EEST> <Warning> <HTTP> <BEA-101162> <User defined liste
ner weblogic.wsee.deploy.ServletDeployListener failed: weblogic.wsee.deploy.WSEE
ServletEndpointException: Deployment Error. Failed to prepare WebService wsse m
odule: Evrak_ViewController_webapp1.war.
weblogic.wsee.deploy.WSEEServletEndpointException: Deployment Error. Failed to
prepare WebService wsse module: Evrak_ViewController_webapp1.war
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
loyListener.java:29)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
(EventsManager.java:503)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.EventsManager.notifyContextPreparedEvent(Ev
entsManager.java:162)
Truncated. see log file for complete stacktrace
weblogic.wsee.ws.WsException: Error encountered during prepare phase of deployin
g WebService module 'Evrak_ViewController_webapp1.war'. When processing WebServi
ce module 'Evrak_ViewController_webapp1.war'. Can't find wsdl /wsdls/wsat.wsdl
at weblogic.wsee.deploy.WSEEModule.prepare(WSEEModule.java:132)
at weblogic.wsee.deploy.ServletDeployListener.contextPrepared(ServletDep
loyListener.java:26)
at weblogic.servlet.internal.EventsManager$FireContextPreparedAction.run
(EventsManager.java:503)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
Truncated. see log file for complete stacktrace
weblogic.wsee.ws.WsException: When processing WebService module 'Evrak_ViewContr
oller_webapp1.war'. Can't find wsdl /wsdls/wsat.wsdl
at weblogic.wsee.deploy.WSEEWebModule.loadWsdlDefinitions(WSEEWebModule.
java:159)
at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:319)
at weblogic.wsee.deploy.WSEEAnnotationProcessor.isWsdlHasPolicy(WSEEAnno
tationProcessor.java:312)
at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationPr
ocessor.java:91)
at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationPr
ocessor.java:51)
Truncated. see log file for complete stacktrace
>
<Jul 13, 2009 8:30:22 AM EEST> <Error> <Deployer> <BEA-149265> <Failure occurred
in the execution of deployment request with ID '1247462999662' for task '19'. E
rror is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:368)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:37)
Truncated. see log file for complete stacktrace
weblogic.wsee.ws.WsException: When processing WebService module 'Evrak_ViewContr
oller_webapp1.war'. Can't find wsdl /wsdls/wsat.wsdl
at weblogic.wsee.deploy.WSEEWebModule.loadWsdlDefinitions(WSEEWebModule.
java:159)
at weblogic.wsee.deploy.WSEEModule.loadWsdl(WSEEModule.java:319)
at weblogic.wsee.deploy.WSEEAnnotationProcessor.isWsdlHasPolicy(WSEEAnno
tationProcessor.java:312)
at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationPr
ocessor.java:91)
at weblogic.wsee.deploy.WSEEAnnotationProcessor.process(WSEEAnnotationPr
ocessor.java:51)
Truncated. see log file for complete stacktrace
>We recreate deployment profile from scrath and problem is solved.
But there seem like an upgrade bug for deployment profiles. -
Web service deployment error -
Hi all,
Only recently I've been encountering deployment error for my EAR that contains a webservice. I deployed the EAR file via SAP Netweaver IDE. Prior to that, there wasn't any issue while performing deployment but lately the error below is persistent and I had to repackage my webservice to a different EAR file. But after a few days, the same error occurs with the newly deployed EAR file.
Result
=> deployment aborted : file:/C:/DOCUME~1/KOK~1.CHA/LOCALS~1/Temp/temp48934WellsPortalRptEar.ear
Aborted: development component 'WellsPortalRptEar'/'sap.com'/'localhost'/'2005.11.14.16.41.46':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Already started operation with application sap.com/WellsPortalRptEar in the cluster. No other operation with this application is allowed at the moment.. Reason: Cannot lock [2005111121371371500000amsdc2-s-1250................1085450, DEPLOY_LOCK_AREA, sap.com/WellsPortalRptEar, X]; it is in use by the same owner.; nested exception is: com.sap.engine.frame.core.locking.LockException: Cannot lock [2005111121371371500000amsdc2-s-1250................1085450, DEPLOY_LOCK_AREA, sap.com/WellsPortalRptEar, X]; it is in use by the same owner.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
I've restarted the J2EE Engine but the error will not go away. I've also tried to undeploy the EAR file manually via SDM but the same error occured. Is there any way I can redeploy my webservice without hitting this error?
Your insights are greatly appreciated.
Thanks, regards.Hi Kok
Check this link, it will solve your problem
http://help.sap.com/saphelp_nw04/helpdata/de/24/3733418bb16e24e10000000a155106/content.htm
please award points and close the thread.
Sameer -
Web Service Deployment error on WLS6.1
Hi All,
I'm trying to deploy a dummy SOAP service on WLS6.1, build on a plain Java
class.
All the procedure works well on tomcat 3.2, and my SOAP client invokes all
the methods and gets expected response successfully.
When I even try to deploy it on WLS6.1 with the command line :
java org.apache.soap.server.ServiceManagerClient
http://server:port/soap/servlet/rpcrouter deploy myDeploymentDescriptor.xml
The following SOAP envelope is sent to WLS6.1 (tomcat finds it OK, as I
said)
POST /soap/servlet/rpcrouter HTTP/1.0
Host: 127.0.0.1
Content-Type: text/xml; charset=utf-8
Content-Length: 1860
SOAPAction: ""
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:deploy xmlns:ns1="urn:xml-soap-service-management-service"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<descriptor xmlns:ns2="http://xml.apache.org/xml-soap"
xsi:type="ns2:DeploymentDescriptor">
<faultListener xmlns:ns3="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:Array" ns3:arrayType="xsd:string[1]">
<item xsi:type="xsd:string">org.apache.soap.server.DOMFaultListener</item>
</faultListener>
<providerClass
xsi:type="xsd:string">aacom.ksl.catalog.CDCatalog</providerClass>
<serviceType xsi:type="xsd:int">0</serviceType>
<serviceClass xsi:type="xsd:string" xsi:null="true"/>
<methods xmlns:ns4="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns4:Array" ns4:arrayType="xsd:string[4]">
<item xsi:type="xsd:string">addCD</item>
<item xsi:type="xsd:string">getArtist</item>
<item xsi:type="xsd:string">list</item>
<item xsi:type="xsd:string">xmlList</item>
</methods>
<providerType xsi:type="xsd:byte">0</providerType>
<scriptLanguage xsi:type="xsd:string" xsi:null="true"/>
<mappings xmlns:ns5="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns5:Array" ns5:arrayType="ns2:TypeMapping[]" xsi:null="true"/>
<checkMustUnderstands xsi:type="xsd:boolean">false</checkMustUnderstands>
<defaultSMRClass xsi:type="xsd:string" xsi:null="true"/>
<ID xsi:type="xsd:string">urn:cd-catalog</ID>
<props xsi:type="ns2:Map" xsi:null="true"/>
<isStatic xsi:type="xsd:boolean">false</isStatic>
<scriptFilenameOrString xsi:type="xsd:string" xsi:null="true"/>
<scope xsi:type="xsd:int">2</scope>
</descriptor>
</ns1:deploy>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I get this very disappointing answer :
Ouch, the call failed:
Fault Code = SOAP-ENV:Client
Fault String = Unable to resolve namespace URI for 'ns2'.
Did somebody encountered this problem and know the fix or meaning of all
that ?
Regards
VLADAN.Hi All,
I'm trying to deploy a dummy SOAP service on WLS6.1, build on a plain Java
class.
All the procedure works well on tomcat 3.2, and my SOAP client invokes all
the methods and gets expected response successfully.
When I even try to deploy it on WLS6.1 with the command line :
java org.apache.soap.server.ServiceManagerClient
http://server:port/soap/servlet/rpcrouter deploy myDeploymentDescriptor.xml
The following SOAP envelope is sent to WLS6.1 (tomcat finds it OK, as I
said)
POST /soap/servlet/rpcrouter HTTP/1.0
Host: 127.0.0.1
Content-Type: text/xml; charset=utf-8
Content-Length: 1860
SOAPAction: ""
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<ns1:deploy xmlns:ns1="urn:xml-soap-service-management-service"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<descriptor xmlns:ns2="http://xml.apache.org/xml-soap"
xsi:type="ns2:DeploymentDescriptor">
<faultListener xmlns:ns3="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns3:Array" ns3:arrayType="xsd:string[1]">
<item xsi:type="xsd:string">org.apache.soap.server.DOMFaultListener</item>
</faultListener>
<providerClass
xsi:type="xsd:string">aacom.ksl.catalog.CDCatalog</providerClass>
<serviceType xsi:type="xsd:int">0</serviceType>
<serviceClass xsi:type="xsd:string" xsi:null="true"/>
<methods xmlns:ns4="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns4:Array" ns4:arrayType="xsd:string[4]">
<item xsi:type="xsd:string">addCD</item>
<item xsi:type="xsd:string">getArtist</item>
<item xsi:type="xsd:string">list</item>
<item xsi:type="xsd:string">xmlList</item>
</methods>
<providerType xsi:type="xsd:byte">0</providerType>
<scriptLanguage xsi:type="xsd:string" xsi:null="true"/>
<mappings xmlns:ns5="http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="ns5:Array" ns5:arrayType="ns2:TypeMapping[]" xsi:null="true"/>
<checkMustUnderstands xsi:type="xsd:boolean">false</checkMustUnderstands>
<defaultSMRClass xsi:type="xsd:string" xsi:null="true"/>
<ID xsi:type="xsd:string">urn:cd-catalog</ID>
<props xsi:type="ns2:Map" xsi:null="true"/>
<isStatic xsi:type="xsd:boolean">false</isStatic>
<scriptFilenameOrString xsi:type="xsd:string" xsi:null="true"/>
<scope xsi:type="xsd:int">2</scope>
</descriptor>
</ns1:deploy>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I get this very disappointing answer :
Ouch, the call failed:
Fault Code = SOAP-ENV:Client
Fault String = Unable to resolve namespace URI for 'ns2'.
Did somebody encountered this problem and know the fix or meaning of all
that ?
Regards
VLADAN. -
Hi I m getting the below wxpection when i run test browser from workshop. please help me.
An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.reflect.InvocationTargetException:nullThamarai,
Can you provide more information on your jws ? Also can you start the server
from the command line with verbose option. This will cause
weblogic_debug.log to be generated in the domain folder.
Raj Alagumalai
Backline Workshop Support
"Thamarai Selvan" <[email protected]> wrote in message
news:[email protected]..
Hi I m getting the below wxpection when i run test browser from workshop.please help me.
>
An unexpected exception occurred while attempting to locate the run-timeinformation for this Web Service. Error:
java.lang.reflect.InvocationTargetException:null -
Error invoking web service deployed in SOA Suite
I have implemented a stateful web service in Jdeveloper 10.1.3.2.
I can test succesfully an operation of the web service from the embedeed oc4j of jdeveloper, but i can not succes when i try do the same from the application server control of soa suite.
The response of the web service in the second case, is the xml of the request.I can not understand.
I implemented a web service proxy in jdeveloper that invokes the web service deployed in soa suite.When i run it, it gives me an exception like this:
unexpected element name: expected={http://orclproject/types/}doLoginResponseElement, actual={http://orclproject/types/}doLoginElement
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:231)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:159)
at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._deserialize_doLogin(OrclLoginWSSoapHttp_Stub.java:1022)
at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub._readFirstBodyElement(OrclLoginWSSoapHttp_Stub.java:891)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:333)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:112)
at klient7.proxy.runtime.OrclLoginWSSoapHttp_Stub.doLogin(OrclLoginWSSoapHttp_Stub.java:484)
at orclproject.OrclLoginWSSoapHttpPortClient.doLogin(OrclLoginWSSoapHttpPortClient.java:65)
at orclproject.OrclLoginWSSoapHttpPortClient.main(OrclLoginWSSoapHttpPortClient.java:28)
where doLogin is the operation of the web service.
any idea?
thanks in advance...Hi,
almost 8 months passed since this post, but if still actual then look at BUG: Request XML returned as response when result too large thread. It may be the same problem with large data sets.
Regards,
Patrik -
Jdeveloper WS proxy error while invoking web service deployed on weblogic
Hello experts, can you please help me. I have web service deployed on weblogic server.
I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
java.lang.SecurityException: keyStoreFilename is either null or empty string
at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
Process exited with exit code 0.
Here is my client class :
public static void main(String[] args) {
try {
contactWSService = new ContactWSService();
ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
setPortCredentialProviderList(requestContext);
// Add your code to call the desired methods.
// QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
System.out.println("Inside the client class");
} catch (Exception ex) {
ex.printStackTrace();
Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
Appreciate your quick response.
thanks a lot
jyothiHello experts, can you please help me. I have web service deployed on weblogic server.
I have not set any credential for this web service. I can test the service from SOAPUI without providing any credentials.
Then I generated WS proxy client using Jdeveloper. When I try to run the client, I do not know why I get security execption (shown below) eventhough I have not secured the web service deployed on weblogic server.
java.lang.SecurityException: keyStoreFilename is either null or empty string
at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:87)
at pilot1.ContactWSPortTypePortClient.getBSTCredentialProvider(ContactWSPortTypePortClient.java:104)
at pilot1.ContactWSPortTypePortClient.setPortCredentialProviderList(ContactWSPortTypePortClient.java:78)
at pilot1.ContactWSPortTypePortClient.main(ContactWSPortTypePortClient.java:46)
Process exited with exit code 0.
Here is my client class :
public static void main(String[] args) {
try {
contactWSService = new ContactWSService();
ContactWSPortType contactWSPortType = contactWSService.getContactWSPortTypePort();
Map<String, Object> requestContext = ((BindingProvider) contactWSPortType).getRequestContext();
setPortCredentialProviderList(requestContext);
// Add your code to call the desired methods.
// QueryPageInputSecondPage qpisp= new QueryPageInputSecondPage(); //I have commented it in order to resolve security issue
System.out.println("Inside the client class");
} catch (Exception ex) {
ex.printStackTrace();
Inside the method setPortCredentialProviderList(), I have not provided any credentials, keystores etc. Because weblogic is not setup with SSL and also I have not set up any authorization or authentication for the web service. I do not know why I am able to test it through SOAPUI and why not using WS proxy.
Appreciate your quick response.
thanks a lot
jyothi -
BPM Studio call web service deployed by R12 Intergration Repository error
Hi, I encountered a problem when calling a web service deployed by R12 Intergration Repository (SOA Gateway) w/ username/password authentication.
It seems that the BPM Studio can not pass the security information to the web service. But using SoapUI it's quite easy to call the service with no error, just set the username and password, and set the password type to PasswordText.
Under the External Resources catalog, I've set fileds in the Security tab with "Plain" Username Token, "sysadmin" Username and "sysadmin" Password, then changed the Authentication Type to "Username Token Profile". Then create a participant named sysadmin, and use this participant to run the process, but it just can't work.
Anybody can help? My colleague also posted a topic here: processRemoteException when invoke webservice from Oracle E-Business Suite but nobody answered. It would be very appreciated if sb. can fix this.I've encounter something similar to you're problem and it was resolved by manually creating the object using the web service constructor and inputting user credentials. If you manually instantiate your web service wrapper object and set a a security profile token, it may solve your problem. You can also pass in the web service endPoint URL, if you want.
Fuego.WebServices.UsernameTokenProfileSecurityPolicy
I'm not sure how to use UsernameTokenProfileSecurityPolicy, but try something like this:
Fuego.WebServices.UsernameTokenProfileSecurityPolicy policy = UsernameTokenProfileSecurityPolicy();
policy.username ="mark";
policy.password = "password";
tws = YourWebService();
response = tws.callWebServiceMethod();
I realize the security profile isn't tied anywhere to the web service, but try it anyway.
There is also some fields on the webservice, tws.setRequestHeader() that may allow you to set the username and password on the request, but this doesn't make sense to me. It shouldn't be that hard.
Edited by: Mark Peterson on Mar 19, 2010 9:14 AM
Edited by: Mark Peterson on Mar 19, 2010 9:20 AM -
I am trying to acces my web service using this code
Call call = new Call ();
SOAPMappingRegistry soap = new SOAPMappingRegistry();
call.setTargetObjectURI ("http://tempuri.org/");
call.setMethodName ("EarnNValue");
Vector params = new Vector ();
params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
call.setParams (params);
Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
if (resp.generatedFault ())
Fault fault = resp.getFault ();
System.out.println (" Fault Code = " + fault.getFaultCode ());
System.out.println (" Fault String = " + fault.getFaultString ());
else
Parameter result = resp.getReturnValue ();
System.out.println (result.getValue ());
out.println (result.getValue ());
and i am getting the the following error
Fault Code = soap:Client
Fault String = System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://tempuri.org//EarnNValue.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
Please help.
Thanx
GB<%@ page language="java" import="java.util.*, java.io.*, javax.mail.*, java.net.*, org.apache.soap.util.xml.*, org.apache.soap.encoding.soapenc.BeanSerializer, org.apache.soap.encoding.*,org.apache.soap.*, org.apache.soap.rpc.*"%>
<%
try
out.println ("Starting");
System.out.println("heree");
Call call = new Call ();
System.out.println("here");
SOAPMappingRegistry soap = new SOAPMappingRegistry();
call.setTargetObjectURI ("http://tempuri.org/");
call.setMethodName ("EarnNValue");
call.setEncodingStyleURI("http://schemas.xmlsoap.org/soap/encoding/");
Vector params = new Vector ();
params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("category_id", String.class, "club",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("transaction_date", String.class, "16/07/04 14:41:20",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("parameter_id", String.class, "login",Constants.NS_URI_SOAP_ENC));
params.addElement (new Parameter("parameter_value", String.class, "1",Constants.NS_URI_SOAP_ENC));
call.setParams (params);
Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
if (resp.generatedFault ())
Fault fault = resp.getFault ();
System.out.println ("Something is wrong");
System.out.println (" Fault Code = " + fault.getFaultCode ());
System.out.println (" Fault String = " + fault.getFaultString ());
else
Parameter result = resp.getReturnValue ();
System.out.println (result.getValue ());
out.println (result.getValue ());
catch (Exception e)
System.out.println ("********Exception*******");
System.out.println (e);
out.println ("Ending");
%>
Maybe you are looking for
-
Frequency counter with E-Series DAQ Card
I am trying to measure the frequency of a signal at 0.1 sec increments using a DAQCard-6062E and an AT-MIO-16E-10. I am using a VI from the examples (frequency counter.vi, in a while loop) which works well with the DAQCard, but it's giving wrong meas
-
Hi there I'd like to change the width & height of a rectangle by certain increment. This can be easily done by manipulating geometricBounds. However when the rotationAngle is other than zero everything goes off the rails. I tried experimenting with h
-
Error at the time of installation.
Hi Experts, I am installing the Web Application Server. At that time i am getting the error as ERROR 2007-05-31 18:11:32 FJS-00003 TypeError: (new FileMgt()).getNode(PropertyFileFullPath) has no properties (in script InstallationScript_21,
-
What causes my MB to run slowly?
What could be causing my MB Pro to run slowly?
-
How to calculate SNR and BER using USRP 2920 with LFTX and LFRX daugher boards.
I have few questions regarding SNR and BER measurement: I am using two USRP 2920 with daughter boards LFTX and LFRX. One is completely Tx and anothe one is completely Rx. I have following few questions: Q1: How to control/change Energy per bit (Eb) i