Error while accessing WebServices from remote Server
Hi Friends,
I am trying to access webservice located on a remote server.But I am getting the following eror...
stackTrace -*- java.lang.NullPointerException
at org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1396)
at org.apache.axis.message.SOAPHandler.addTextNode(SOAPHandler.java:148)
at org.apache.axis.message.SOAPHandler.endElement(SOAPHandler.java:112)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at weblogic.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:898)
at weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:644)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at weblogic.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at weblogic.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)
at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:138)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:695)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.wsa.WSAHandler.processClientResponse(WSAHandler.java:82)
at org.apache.axis.wsa.WSAHandler.invoke(WSAHandler.java:41)
at org.apache.axis.client.AxisClient.invokeTransport(AxisClient.java:154)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:289)
at org.apache.axis.client.Call.invokeEngine(Call.java:2838)
at org.apache.axis.client.Call.invoke(Call.java:2824)
at org.apache.axis.client.Call.invoke(Call.java:2501)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:1835)
at com.bofa.crme.ccs.proxy.PartyOrchestratorPortStub.login(PartyOrchestratorPortStub.java:1236)
at com.bofa.pbes.cedrelay.Utils.loginPartyOrchService(Utils.java:251)
at com.bofa.pbes.cedrelay.Utils.loginCMWService(Utils.java:212)
at com.bofa.pbes.cedrelay.RelayServlet.init(RelayServlet.java:59)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Please give your guidance...
Thanks and Regards...
Hi Friends,
I solved it.It was because of old jar files.Then I replaced it and every thing started working fine.
Thanks and Regards..
Similar Messages
-
Error while accessing page in remote server
Dear All,
When i deployed the application in remote server and accessed the page from client side it gives the following error in log and displays the message 'And error occured at server and prevented it from servicing the request'
<Jan 5, 2011 7:17:03 PM IST> <Error> <HTTP> <BEA-101020> <[ServletContext@423553
27[app:TMS_application1 module:tms path:/tms spec-version:2.5]] Servlet failed w
ith Exception
java.lang.NullPointerException
at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIte
ratorBinding.java:2127)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DC
BindingContainer.java:3185)
at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingC
ontainer.java:2877)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContaine
r.java:2863)
at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.befo
reExecute(DataBindingActivityImpl.java:108)
Truncated. see log file for complete stacktrace
>
<Jan 5, 2011 7:17:03 PM IST> <Notice> <Diagnostics> <BEA-320068> <Watch 'Uncheck
edException' with severity 'Notice' on server 'AdminServer' has triggered at Jan
5, 2011 7:17:03 PM IST. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101
017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = Jan 5, 2011 7:17:03 PM IST SERVER = AdminServer MESSAGE = [Ser
vletContext@42355327[app:TMS_application1 module:tms path:/tms spec-version:2.5]
] Servlet failed with Exception
java.lang.NullPointerException
at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIte
ratorBinding.java:2127)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DC
BindingContainer.java:3185)
at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingC
ontainer.java:2877)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContaine
r.java:2863)
at oracle.adfinternal.controller.util.model.DataBindingActivityImpl.befo
reExecute(DataBindingActivityImpl.java:108)
at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivit
y(ControlFlowEngine.java:969)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(Cont
rolFlowEngine.java:878)
at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(Cont
rolFlowEngine.java:777)
at oracle.adfinternal.controller.engine.ControlFlowEngine.invokeTaskFlow
(ControlFlowEngine.java:242)
at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHa
ndler.invokeTaskFlowByUrl(RemoteTaskFlowCallRequestHandler.java:99)
at oracle.adfinternal.controller.application.RemoteTaskFlowCallRequestHa
ndler.doCreateView(RemoteTaskFlowCallRequestHandler.java:64)
at oracle.adfinternal.controller.application.BaseRequestHandlerImpl.crea
teView(BaseRequestHandlerImpl.java:57)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.creat
eView(ViewHandlerImpl.java:95)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(Li
fecycleImpl.java:572)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(L
ifecycleImpl.java:280)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(Lifecyc
leImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
ava:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
istChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
erImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
r(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
lter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
3)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
il.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
38)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
ilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] Execu
teThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101
020 MACHINE = JOG002157 TXID = CONTEXTID = dcc2d4e25c73ce5e:9039d9:12d5668ad5a:
-7ff4-000000000000003b TIMESTAMP = 1294235223232
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000
>
So can any one tell me whats the problem. ?You got an NEP on the server, which points to either a misconfiguration of the server (is hte adf runtime installed?) or an error in your app.
What did you deploy? an EAR? Are the connections configured correctly? Have you check other logs on the remote server?
Which jdev Version? Which remote server?
Timo -
B1WS - (401)Unauthorized Error while accessing Webservice from JAVA
Hi,
While accessing B1WS getting the following error.
Please help us to resolve the error
{http://xml.apache.org/axis/}HttpErrorCode:401
(401)Unauthorized
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
Here is the Code :
public class Test {
// public static final java.lang.String _dst_MSSQL2008 = "dst_MSSQL2008";
public static final LoginDatabaseType dst_MSSQL2008 = new LoginDatabaseType("dst_MSSQL2008");
public static final LoginLanguage ln_English = new LoginLanguage("ln_English");
public static void main(String[] arg) throws ServiceException, IOException
LoginServiceSoapStub login = (LoginServiceSoapStub) new LoginServiceLocator().getLoginServiceSoap(new URL("http://10.10.5.115/sapb1web/WebReferences/LoginService.wsdl"));
try {
login.login("ESPL-LAP-048", "INDIAHEAD", dst_MSSQL2008,"manager", "12345", ln_English, "ESPL-LAP-048:30000");
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
System.out.println("Error "+e.getMessage());
Thanks
Ravi ShankarHi,
Not sure this is right forum to post. You may try post in SDK forum to get quick response.
Thanks & Regards,
Nagarajan -
InvalidSecurity Error while accessing Webservice
Hi,
I am getting an "*InvalidSecurity*" error while accessing webservice.
Below is the error, which I got while invoking the webservice :
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault
xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<faultcode>ns0:InvalidSecurity</faultcode>
<faultstring>InvalidSecurity : error in processing the WS-Security security header</faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
Thanks
Abheek
Edited by: 1005832 on May 14, 2013 6:16 AMThe error was generated on the endpoint and indicates that the SOAP request message had incorrect WS-Security information in its headers. The SOAP response message you included doesn't contain specific information about what is wrong (we wouldn't want to reveal too much to hackers, of course!).
Without seeing the SOAP request message and the WS-SecurityPolicy that the endpoint requires, it's impossible to tell what's wrong.
Other important information:
- what version of WLS are you running?
- is the endpoint a WLS JAX-WS or a WLS JAX-RPC web service?
- is WS-Security configured using native WLS WS-Security (e.g. @Policy) or using OWSM WS-Security (i.e. @SecurityPolicy)?
- what specific policy is being used to enforce security at the endpoint (the advertised WSDL for the endpoint should contain this) -
Authentication Error while Sending Email from SMTP server.
Authentication Error while Sending Email from SMTP server. Can receive emails but cannot send emails from this account.
no email account was setup on the phone unless it was issued by your company.
gmail is required but no server address ports to enter.
my gmail account was setup before i took delivery of the phone but could have been done when phone was activated.
i added cox pop3 email and had to manually enter both pop3 and smtp servers with both boxes checked on both servers.
i doubt if it's a verizon issue. -
Error while accessing table from procedure but no error from anonymous plsq
Hi All,
I am getting a strange error while accessing a table from a different schema.
In that concerned schema OWBSYS, i executed the following:
grant Select on wb_rt_audit to ods;In Ods schema i executed:
CREATE OR REPLACE SYNONYM wb_rt_audit FOR OWBSYS.wb_rt_audit;In ODS schema, when i execute:
create or replace
procedure pp_test as
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) into lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
/I get the error:
Warning: execution completed with warning
procedure Compiled.
ORA-00942 - TABLE OR VIEW DOES NOT EXISTHowever, when i execute as an anonymous plsql the same code:
declare
lv_owb_reject number := 0;
lv_filename_1 varchar2(200):= 'asda';
begin
SELECT MAX(aud.rta_iid) lv_owb_reject
FROM wb_rt_audit aud
WHERE aud.rta_lob_name LIKE Upper(lv_filename_1)
end;
anonymous block completedthere is no issue.
Can someone help me understand what I might be missing:
Edited by: Chaitanya on Feb 28, 2012 12:31 AMCheck if have some other steps.
SQL>conn scott1/tiger
Connected.
SQL>create table wb_rt_audit (rta_iid number);
Table created.
SQL>insert into wb_rt_audit values (100);
1 row created.
SQL>insert into wb_rt_audit values (200);
1 row created.
SQL>commit;
Commit complete.
SQL>grant select on wb_rt_audit to scott2;
Grant succeeded.
SQL>conn scott2/tiger
Connected.
SQL>create synonym wb_rt_audit for scott1.wb_rt_audit;
Synonym created.
SQL>create or replace procedure pp_test as
l_number number(10);
begin
SELECT MAX(rta_iid) into l_number
FROM wb_rt_audit;
end pp_test;
Procedure created. -
Error while loading data from application server
Hi all,
Am facing a problem while loading data from application server.
The error i get is ....
*" The argument ' Rental/Lease ' cannot be interpreted as a number while assigning character to application structure*.
'Rental/Lease' is a value for a character infoobject length 30. I checked for the sequence of fields in data source and the sequnce of values am receiving in application server and the sequence match.
when i copy these values into a CSV onto a desktop and load,load is successful.
Please let me know your views.
Thanks&Regards,
PraveenIt looks like the system is trying to convert Rental/Lease to a number format. Is the info object type CHAR or NUMC or ??? I would look there.
Also, make sure / is in RSKC.
Brian -
XML Error while calling webservice from oracle function.
I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "H4" does not match start-element tag "P"
Error at line 9
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call
-
Error while exporting data from sql server to excel
Hi,
I am trying to export data from sql server to excel.
The query that I used is s follows
INSERT INTO OPENROWSET( 'Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Folder1\abc.xls','select * from [Sheet1$A1:IV65000]')
select
column1,column2.... from Table1
I get the following error message while doing so..
String or binary data would be truncated.
The statement has been terminated.
One of the column's holds data more than 225 characters.
What is the way to correct this, i want the whole data of the colum in the excel sheet.I haven't had great luck with the INSERT INTO OPENROWSET method. Can you try one of the many samples from one of these 3 links?
http://www.excel-sql-server.com/excel-sql-server-import-export-using-vba.htm#Excel%20Data%20Export%20to%20SQL%20Server%20Test%20Code
http://www.mssqltips.com/sqlservertip/1540/insert-update-or-delete-data-in-sql-server-from-excel/
https://www.simple-talk.com/sql/database-administration/getting-data-between-excel-and-sql-server-using-odbc--/
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Error while reversing data from SQL Server to ODI
hi,
I was reversing data from SQL Server Java 1.6_022 in ODI Java 1.5, I was getting error Version Mismatch and I updated ODI Java version to 1.6_022.
And now, I am getting the below error while reversing the data from SQL Server database.
0 : 08001 : java.sql.SQLException: No suitable driver
Looking for the assistance on the same.
Thanks,
AbhayIf everything is fine the reversing should be fine. I would say check again if the Technology of the Model and the also the dataserver is created under the right Technology in topology too.
also if this doesn't help , Please tell us the steps you have carried so far . Also can you try selective reverse is it showing the tables. -
Getting Error While accessing Accounts from oim
Hi All,
I am getting an exception while accessing user accounts from oim through the jdeveloper(I m giving UserId as input)
Exception:
avax.ejb.EJBAccessException: [EJB:010160]Security Violation: User: '<anonymous>' has insufficient permission to access EJB: type=<ejb>, application=oim#11.1.2.0.0, module=iam-ejb.jar, ejb=ProvisioningService, method=getAccountsProvisionedToUserx, methodInterface=Remote, signature={java.lang.String,java.lang.String}.
at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsBusiness(MethodDescriptor.java:581)
at weblogic.ejb.container.internal.BaseRemoteObject.checkMethodPermissions(BaseRemoteObject.java:111)
at weblogic.ejb.container.internal.BaseRemoteObject.preInvoke(BaseRemoteObject.java:274)
at weblogic.ejb.container.internal.StatelessRemoteObject.__WL_preInvoke(StatelessRemoteObject.java:41)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:24)
at oracle.iam.provisioning.api.ProvisioningService_p7m7x_ProvisioningServiceRemoteImpl.getAccountsProvisionedToUserx(Unknown Source)
at oracle.iam.provisioning.api.ProvisioningService_p7m7x_ProvisioningServiceRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Process exited with exit code 0.Which user are you using for creating connection with OIM ?
Which method are you using to create connection with OIM ?
Re: OIMClient login throwing AuthenticationException execption (FOR R2) -
Getting error while calling procedure from remote database
When I am trying to call child procedure from remote database I am getting below error:
ORA-02064: distributed operation not supported
ORA-06512: at "NMUSER.NEW_CUST_UPLOAD", line 740
(P.S. on line no 740 I issued "commit;" )
I checked rights,synonym on all the objects they are fine.Oracle Error: ORA-02064
Error Description:
Distributed operation
not supported
Error Cause:
One of the following
unsupported operations was attempted:
1. array execute of a remote update with a subquery that references a dblink,
or
2. an update of a long column with bind variable and an update of a second
column with a subquery that both references a dblink and a bind variable, or
3. a commit is issued in a coordinated session from an RPC procedure call
with OUT parameters or function call.
Cheers,
Manik. -
Error while calling webservice from oracle8i
Hi,
i am trying to call a webservice from a stored procedure in Oracle 8i.
I am getting the following error.
ORA-31011: XML Parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "body" does not match start element tag "br"
Kinldy help me in knowing the cause of this issue. Also i wanted to know if
webservices will work in oracle 8i enterprise edition release 8.1.7.4.0
or do we need to add any patches for it.
Thanks,
SathiaThis forum is for XML DB issues. XML DB is a feature of 9iR2 and later.You need t look in the XML Technology forum
-
Error while accessing webservice using generated stub
I want to consume a webservice which supplies information about countries:
http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
I have generated a Webservice stub using JDeveloper. It supplies me with the right interface, but when I use the stub to access the webservice, I encounter an error:
java.lang.ClassCastException: oracle.xml.parser.v2.XMLText
at oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.fromElement(WrappedDocLiteralStub.java:614)
at mypackage3.CountryInfoServiceStub2.CapitalCity(CountryInfoServiceStub2.java:72)
at mypackage3.callWS.main(callWS.java:19)
I have checked the response message, but it is all right. With "some" handcoding , I can extract the answer I want out of the response XML. It seems, that the stub fails to cast the response to the right result class.
The method I use from the stub generated by JDeveloper. The error occurs at the last line, where the content of the message should be cast to String :
=========================================================
public String CapitalCity(String sCountryISOCode) throws Exception
URL endpointURL = new URL(_endpoint);
Envelope requestEnv = new Envelope();
Body requestBody = new Body();
Vector requestBodyEntries = new Vector();
String wrappingName = "CapitalCity";
String targetNamespace = "http://www.oorsprong.org/websamples.countryinfo";
Vector requestData = new Vector();
requestData.add(new Object[] {"sCountryISOCode", sCountryISOCode});
requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
requestBody.setBodyEntries(requestBodyEntries);
requestEnv.setBody(requestBody);
Message msg = new Message();
msg.setSOAPTransport(m_httpConnection);
msg.send(endpointURL, "", requestEnv);
Envelope responseEnv = msg.receiveEnvelope();
Body responseBody = responseEnv.getBody();
Vector responseData = responseBody.getBodyEntries();
return (String)fromElement((Element)responseData.elementAt(0), java.lang.String.class);
=========================================================
The class I use to call the webservice:
=========================================================
package mypackage3;
public class callWS
public callWS() { }
public static void main(String[] args)
{ System.out.println("Calling CountryInfo Webservice");
try
CountryInfoServiceStub2 ws1 = new CountryInfoServiceStub2();
String capitalCity = ws1.CapitalCity("IT");
System.out.println("Capital City=" + capitalCity);
} catch (Exception exception)
{ System.out.println("An error occured while calling CountryInfoStub2:" );
exception.printStackTrace(System.out);
=========================================================Hi dickdral
I', afraid I have not solution but the same problem. Today I try use VIES (http://ec.europa.eu/taxation_customs/vies/api/checkVatPort)
and the same exception occurs. Stub was generated by JDev 10.1.2.
Do you resolve this problem?
Thanks
Jara -
Error while duplicate database from one server to another server
Hi there,
I am practicing duplicate database from one single database server to another server. Hardware and driver path on 2 machines is the same. Here are my steps:
--------------------- Clone site:
1. modify listener.ora with content:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /u01/app/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME= orcl)
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
2. stop and start listener again, message show like :
Service “orcl” has 1 instance(s).
Instance “orcl”, status UNKNOWN, has 1 handler(s) for this service…
The command completed successfully
3. create pfile from spfile.
4. shutdown and startup nomount with pfile is new pfile create from step 3.
--------------------------------------- Source site
1. modify tnsnames.ora with content like:
VVCOREDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vvcoredb)
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT=1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
2. run command from rman like these:
rman> connect target sys@vvcoredb
rman> target database Password:
rman> connect auxiliary sys@orcl
rman> auxiliary database Password:
rman> DUPLICATE TARGET DATABASE to orcl from active database spfile nofilenamecheck;
Then the result show below:
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 17:44:12
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destination string cannot be translated
ORA-01262: Stat failed on a file destination directory
Linux-x86_64 Error: 2: No such file or directory
I don't know what wrong with my pfile? I specify correct my pfile on clone site like this:
orcl.__db_cache_size=1476395008
orcl.__java_pool_size=16777216
orcl.__large_pool_size=16777216
orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
orcl.__pga_aggregate_target=1342177280
orcl.__sga_target=1979711488
orcl.__shared_io_pool_size=0
orcl.__shared_pool_size=436207616
orcl.__streams_pool_size=0
*.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
*.audit_trail='db'
*.compatible='11.2.0.0.0'
*.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
*.db_block_size=8192
*.db_domain=''
*.db_name='orcl'
*.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area/vvcoredb'
*.db_recovery_file_dest_size=4070572032
*.diagnostic_dest='/u01/app/oracle'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
*.memory_target=3313500160
*.open_cursors=300
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.undo_tablespace='UNDOTBS1'
Please suggest me do i miss some steps when try to duplicate database?
Any suggestions are welcome.
Thanks in advance!
P/s: Sorry for my bad English.Oh god, it worked. Thank you. But i got another problem like this:
duplicate target database to orcl from active database spfile set "db_recovery_file_dest" = "/u01/app/oracle/flash_recovery_area/vvcoredb" nofilenamecheck;
Starting Duplicate Db at 24-SEP-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=63 device type=DISK
contents of Memory Script:
backup as copy reuse
targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
'/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora' ;
sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''";
executing Memory Script
Starting backup at 24-SEP-12
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=74 device type=DISK
Finished backup at 24-SEP-12
sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora''
contents of Memory Script:
sql clone "alter system set db_name =
''ORCL'' comment=
''duplicate'' scope=spfile";
sql clone "alter system set db_recovery_file_dest =
''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment=
'''' scope=spfile";
shutdown clone immediate;
startup clone nomount;
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''duplicate'' scope=spfile
sql statement: alter system set db_recovery_file_dest = ''/u01/app/oracle/flash_recovery_area/vvcoredb'' comment= '''' scope=spfile
Oracle instance shut down
connected to auxiliary database (not started)
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
contents of Memory Script:
sql clone "alter system set db_name =
''VVCOREDB'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''ORCL'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
backup as copy current controlfile auxiliary format '/u01/app/oracle/oradata/vvcoredb/control01.ctl';
restore clone controlfile to '/u01/app/oracle/recovery_area/vvcoredb/control02.ctl' from
'/u01/app/oracle/oradata/vvcoredb/control01.ctl';
alter clone database mount;
executing Memory Script
sql statement: alter system set db_name = ''VVCOREDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 3307048960 bytes
Fixed Size 2217872 bytes
Variable Size 1811941488 bytes
Database Buffers 1476395008 bytes
Redo Buffers 16494592 bytes
Starting backup at 24-SEP-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying current control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/24/2012 18:42:09
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 09/24/2012 18:42:09
ORA-17628: Oracle error 19505 returned by remote Oracle server
I have a comment that source site doesn't have flash_recovery_area, instead it's name is recovery_area, is it problem?
Edited by: 788420 on Sep 24, 2012 4:44 AM
Maybe you are looking for
-
Planning File Entry - Mass view
Hi, Like MD21, which is used to view planning file entry for a given material, is there a transaction or report to view the planning file entries for multiple materials at a time..? Thanks in Advance, Sabitha
-
HT1386 Help syncing a iPhone 3GS so I can upgrade to a iPhone 4S
I have a iPhone 3GS that I am about to upgrade to a iPhone 4S. I am still using version 4.0.1 since I am always skittish about changing anything. The most important things that I need saved are my Contacts, Calendars, and Notes. I upgraded to a newer
-
Hello, i am trying to make a stop motion film using adobe premiere pro cc, and possibly premiere elements 12 if necessary. I would like to know how i can createa live feed of images from camera to software. I would also like to be able to use the oni
-
Add a third column to a ComboBox?
I am populating a ComboBox (LocationsCB) with an external XML file, which successfully populates two dynamic text fields when an item is selected. One text box shows the value for Label, the other for Data. The problem is, I need a third column, in a
-
Can a processor get the resource (jar) an element was loaded from?
I'm writing an Annotation Processor (JSR 269). Once process the annotations in the Compilation Unit, I need to look for resources in some of the classes referenced in the Compilation Unit. After I do that I need to look in the jar that encloses the r