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
Bhaskar
Which JDK version are you using?
JDeveloper 10.1.3 (and OC4J 10.1.3) requires JDK 5.0 to run.
Similar Messages
-
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 -
PL/Sql Web Services - Deploy to OAS 10.1.2.3.0 - Help?
Morning All,
I hope that someone out there can give me some advice on how I can successfully create and deploy Web Services wrapping PL/Sql packaged functions / procedures onto our test application servers.
I've seen that the PL/Sql Web Services creation didn't make it into the current release of 11g, so I've downloaded 10g (10.1.3.4). Our Oracle AS's are version 10.1.2.3.0 running Java 1.4.2.
I've successfully deployed a pl/sql web service to the OC4J container that comes with Jdev 10g, but from what I've seen so far there seems to be some incompatibility with jdev 10g deploying into our OAS servers OC4J instance running 1.4.2. I've followed a few guides to get round this, but none of them seem to fully cover all the issues.
The current state of play is that I have been able to get it to deploy, but it returns a null point exception when it defo shouldn't be, and so I'm now here asking for your help and advice to start from scratch again to make sure that i cover every single step in order to get this working - if at all possible ;-)
So, please, can anyone either give me a link to a doc which takes me through this issue to a resolution, or give me any hints and tips to get this working?
Thanks in Advance,
-Roamer.
Edited by: Roamer on Feb 19, 2009 10:31 AM (Version mistake in the title - it is 10.1.2.3.0 and not 10.1.2.2.0 :-)Trying a J2EE 1.4 sample for a J2EE 1.3 environment is quite difficult, J2EE 1.3 doesn't support WebServices out of the box.
On the other hand it is not quite easy to find the 10.1.2.x samples... Either upgrade your OC4J to 10.1.3 or try these samples: http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
--olaf -
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.
-
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 -
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. -
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 -
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. -
Error when invoking pl/sql web service from bpel
Hi!
I have a simple 'Hello World' pl/sql web service. When i invoke it in asynchronous BPEL process, a local WSDL file is automatically generated for the parterlink used. The process even gets successfully deployed without any warning or error. But in the BPEL console when I create an instance, its alwaya being faulted and the audit give the following error at invoke:
"{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
<remoteFault>
<part name="code" >
<code>Server.userException</code>
</part>
<part name="summary" >
<summary>when invoking endpointAddress 'null', java.net.UnknownHostException: www.proxy.us.oracle.com</summary>
</part>
<part name="detail" >
<detail>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.UnknownHostException: www.proxy.us.oracle.com faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: www.proxy.us.oracle.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153) at java.net.Socket.connect(Socket.java:452) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:155) at org.collaxa.thirdparty.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:117) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:158) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:450) at org.collaxa.thirdparty.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94) at org.collaxa.thirdparty.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.collaxa.thirdparty.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.collaxa.thirdparty.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.collaxa.thirdparty.apache.axis.client.AxisClient.invoke(AxisClient.java:147) at org.collaxa.thirdparty.apache.axis.client.Call.invokeEngine(Call.java:2732) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:2715) at org.collaxa.thirdparty.apache.axis.client.Call.invoke(Call.java:1737) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISMessaging(WSIFOperation_ApacheAxis.java:2113) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1611) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:511) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335) at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1796) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125) at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70) at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86) at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123) at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755) at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) {http://xml.apache.org/axis/}hostname:NewUser-lap </detail>
</part>
</remoteFault>
Can anybody please tell what could be the problem,
Thanking in advance,
Deepika.www.proxy.us.oracle.com -> www-proxy.us.oracle.com - looks like set in the obsetenv.bat file
-
PL/SQL Web Service Error: IllegalArgumentException : No Deserializer found
I deployed a pl/sql web service on a stand-alone OC4J, when I test this I am getting error "IllegalArgumentException : No Deserializer found to deserialize". Find below the detailed response:
<?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/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.lang.IllegalArgumentException: No Deserializer found to deserialize a 'http://cmem.oracle.apps.cs.ws/ICmem_cs_ws_pkg.xsd:cmem_oracle_apps_cs_ws_CmemServiceRequestParamObj' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.</faultstring>
<faultactor>/cmemws/CmemServiceRequests</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I was using a complex parameter as well as response. Below is the WSDL. If anyone has any idea what could be the issue, let me know.
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Generated by the Oracle JDeveloper Web Services WSDL Generator
-->
- <!-- Date Created: Tue Oct 27 12:30:19 CST 2009
-->
- <definitions name="CmemServiceRequests" targetNamespace="http://cmem/oracle/apps/cs/ws/CmemServiceRequests.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://cmem/oracle/apps/cs/ws/CmemServiceRequests.wsdl" xmlns:ns1="http://cmem.oracle.apps.cs.ws/CmemServiceRequests.xsd">
- <types>
- <schema targetNamespace="http://cmem.oracle.apps.cs.ws/CmemServiceRequests.xsd" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema">
- <complexType name="cmem_oracle_apps_cs_ws_CmemServiceRequestParamObjUser" jdev:packageName="cmem.oracle.apps.cs.ws" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
- <all>
<element name="srId" type="decimal" nillable="true" minOccurs="0" />
<element name="srNumber" type="string" nillable="true" minOccurs="0" />
<element name="srGroupOwner" type="string" nillable="true" minOccurs="0" />
<element name="srOwner" type="string" nillable="true" minOccurs="0" />
<element name="srDateFrom" type="dateTime" nillable="true" minOccurs="0" />
<element name="srDateTo" type="dateTime" nillable="true" minOccurs="0" />
<element name="caller" type="string" nillable="true" minOccurs="0" />
<element name="inspector" type="string" nillable="true" minOccurs="0" />
<element name="problemCode" type="string" nillable="true" minOccurs="0" />
</all>
</complexType>
- <complexType name="cmem_oracle_apps_cs_ws_CmemServiceRequestObjUser" jdev:packageName="cmem.oracle.apps.cs.ws" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
- <all>
<element name="srId" type="decimal" />
<element name="srNumber" type="string" />
<element name="srGroupOwner" type="string" />
<element name="srOwner" type="string" />
<element name="srType" type="string" />
<element name="srDate" type="dateTime" />
<element name="statusCode" type="string" />
<element name="srParty" type="string" />
<element name="caller" type="string" />
<element name="srSummary" type="string" />
<element name="problemCode" type="string" />
<element name="problemDescription" type="string" />
<element name="resolutionCode" type="string" />
<element name="resolutionDesc" type="string" />
<element name="resolutionSummary" type="string" />
<element name="srAddress" type="string" />
<element name="srCity" type="string" />
<element name="srZipCode" type="string" />
<element name="srState" type="string" />
</all>
</complexType>
</schema>
</types>
- <message name="getSrDetails0Request">
<part name="pSeletionConditions" type="ns1:cmem_oracle_apps_cs_ws_CmemServiceRequestParamObjUser" />
</message>
- <message name="getSrDetails0Response">
<part name="return" type="ns1:cmem_oracle_apps_cs_ws_CmemServiceRequestObjUser" />
</message>
- <portType name="CmemServiceRequestsPortType">
- <operation name="getSrDetails">
<input name="getSrDetails0Request" message="tns:getSrDetails0Request" />
<output name="getSrDetails0Response" message="tns:getSrDetails0Response" />
</operation>
</portType>
- <binding name="CmemServiceRequestsBinding" type="tns:CmemServiceRequestsPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="getSrDetails">
<soap:operation soapAction="" style="rpc" />
- <input name="getSrDetails0Request">
<soap:body use="encoded" namespace="CmemServiceRequests" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
- <output name="getSrDetails0Response">
<soap:body use="encoded" namespace="CmemServiceRequests" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
- <service name="CmemServiceRequests">
- <port name="CmemServiceRequestsPort" binding="tns:CmemServiceRequestsBinding">
<soap:address location="http://isd104364:8888/cmemws/CmemServiceRequests" />
</port>
</service>
</definitions>
Appreciate any help. Thanks.
BinishOk, this sounds like a known bug ( Bug 5908689 ) in 10.1.3.1, but this was specific to non-Windows platforms. Are you on Linux/Solaris or any other platform? It might or might not be the same problem you are hitting but it does seem quite close (can't say for sure without a close investigation, I am afraid!)
In any case, this bug is fixed in the 10.1.3.4 patchset (besides quite a few other fixes and enhancements) - so would recommend you to first apply the 10.1.3.4 patchset and retest. The patchset is available on My Oracle Support (formerly Metalink) under Patch 7272722. Or you could go a step ahead, and apply the 10.1.3.5 patchset (Patch 8626084) instead which is the latest patchset for OracleAS 10.1.3.x.
HTH,
Yogesh -
Problems deploying PL/SQL Web Service example to standalone OC4J
I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the web service to a standalone OC4j instance running on a separate database server, when I point the client at it, a NoSuchMethodError exception is thrown by oc4j with the following stacktrace;
at tutorial_jdbc_connection.Emp_fetcher.get_emp(Emp_fetcher.sqlj:43)
at tutorial_jdbc_connection.__Emp_fetcherSPWrapper.invokeMethod(__Emp_fetcherSPWrapper.java:73)
at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:98)
at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:359)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
Looks like I'm missing some support libraries but I'm unsure which ones they are, and why they wouldn't be part of a standard OC4J installation.
I've tried including the SQLJ runtime and Oracle JDBC library support in the deployment and redeploying but the same error persists.
Any assistance would be appreciated
Regards
MichaelYou have an old version of java installed. That is what "java.lang.UnsupportedClassVersionError" tells.
-
Testing PL/SQL Web Service Error
I've generated a web service using JDev 10.1.2, ran it in the embedded OC4J Server. I then generated a stub to test it with, browsed to the web service wsdl file in the original project, and ran the stub. The stub project returns the error:
SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
<HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>java.lang.NoClassDefFoundError:
I'm not sure what I should be looking for to track this down. Is it a bug in my stub, or in my web service? In order to keep things simple, the stored procedure only takes a few strings, and I've double-checked the values and order of parameters I'm passing. Anybody have any ideas?I got this figured out, just blew away my projects
and started over, and it worked. Now that I've got
it working in a test environment, how do I get it
into production? Is Oracle's AS the only AS you can
use to deploy a PL/SQL web service?The OrindaBuild Plugin for JDev 10.1.2 writes Java classes to run PL/SQL that work with Apache Axis 1.1 and should work with almost any web service toolkit.
www.orindasoft.com
David Rolfe
Orinda Software. -
Error while running PL/SQL Web Service in JDeveloper
Hi,
I am trying to run a PL/SQL Webservice example available on OTN site. Below mentioned error is occurring when running the program:
*************** Error Stack Begin **********************
D:\DevSuiteHome_1\jdk\bin\javaw.exe -ojvm -classpath D:\DevSuiteHome_1\jdev\mywork\WebServiceOBE\PLSQLWebService\classes;D:\DevSuiteHome_1\sqlj\lib\runtime12ee.jar;D:\DevSuiteHome_1\jdbc\lib\classes12.jar;D:\DevSuiteHome_1\jdbc\lib\nls_charset12.jar;D:\DevSuiteHome_1\jdev\lib\jdev-rt.jar;D:\DevSuiteHome_1\soap\lib\soap.jar;D:\DevSuiteHome_1\lib\xmlparserv2.jar;D:\DevSuiteHome_1\jlib\javax-ssl-1_2.jar;D:\DevSuiteHome_1\jlib\jssl-1_2.jar;D:\DevSuiteHome_1\j2ee\home\lib\activation.jar;D:\DevSuiteHome_1\j2ee\home\lib\mail.jar;D:\DevSuiteHome_1\j2ee\home\lib\http_client.jar -Dhttp.proxyHost=instpisa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.sierraopt.com|nshore|localhost|127.0.0.1 mypackage2.MyWebService1Stub
[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml". Response was:
<HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD><BODY><H1>404 Not Found</H1>Resource /WebServiceOBE-PLSQLWebService-context-root/MyWebService1 not found on this server</BODY></HTML>
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)
at org.apache.soap.rpc.Call.invoke(Call.java:268)
at mypackage2.MyWebService1Stub.getEmp(MyWebService1Stub.java:86)
at mypackage2.MyWebService1Stub.main(MyWebService1Stub.java:40)
Process exited with exit code 0.
*************** Error Stack End **********************
Please would anyone help me by providing clues to resolve this issue.
Thank you.
Regards,
BaluThanks Frank.
In my function package i create xml use dbms_xmldom. I save created xml into clob and return this clob in function.
Now I want create web service that return my clob(xml).
I try use JDevelper with PL/SQL Web Service Wizard.
But I get wrong result (see in my first post).
My Example xml in clob
<test>"testvalue"</test>
I want get responce
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
X-Powered-By: Servlet/2.5 JSP/2.1
SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
Date: Thu, 28 Oct 2010 08:23:31 GMT
X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
Content-Length: 279812
X-HTTPAnalyzer-RuleName: Pass through :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<env:Header/>
<env:Body>
<m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
<result><test>"testvalue"</test>
</result>
</m:udoFDicnomnsXmlWsResponse>
</env:Body>
</env:Envelope>
But I get
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
X-Powered-By: Servlet/2.5 JSP/2.1
SOAPAction: "http://localhost/MyWebService1.wsdl/udoFDicnomnsXmlWs"
Date: Thu, 28 Oct 2010 08:23:31 GMT
X-ORACLE-DMS-ECID: 0000IjlvoFZB_6yb05nZ6F1CmJAZ000006
Content-Length: 279812
X-HTTPAnalyzer-RuleName: Pass through :
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<env:Header/>
<env:Body>
<m:udoFDicnomnsXmlWsResponse xmlns:m="http://localhost/MyWebService1.wsdl">
<result>& lt;test>&quot;testvalue&quot;& lt;/test>
</result>
</m:udoFDicnomnsXmlWsResponse>
</env:Body>
</env:Envelope>
Can you advice something?
Edited by: user10707438 on 28.10.2010 1:14
Edited by: user10707438 on 28.10.2010 1:27
Maybe you are looking for
-
Rearranging apps no longer working
Hi, My wife complained today that some of her apps were missing on her iPad. Sure enough, they were gone and searching for them confirmed this. When I attached the iPad to my Mac and opened iTunes, the configuration of the apps in the Apps tab screen
-
My battery was not working properly (kept running out over a few hours.) I was advised at the apple store to restore my iphone which i did. When i try to restore it to my back up it keeps asking for a password but i have no idea what this password i
-
Selecting a column in the JTableHeader
Hi all, I am currently working on an application where the user (by d n' d or cut n' paste) should be able to add data to a table. It works fine to add data to the table and display it by using a renderer, but it seems to be impossible to add data to
-
W530 Nvidia Discrete Mode - problems in PowerPoint and Excel
Hi, I've experienced problems with window refreshing in PowerPoint and Excel while running W530 in Nvidia Discrete Mode. While creating and wiewing PowerPoint 2007 presentation in normal view the slides' miniatures are not refreshing when selected. W
-
Oracle 9i (and the Oracle website!)
Hello, I've been using this website for many years now and have always found it extremely difficult to navigate. Simple tasks like finding system requirements (e.g. supported operating systems, etc.) is nearly impossible in some cases. Lot's of sales