OSB exception while calling BPEL (10.1.3.4) process
Hi all,
I have some problem when I try to test a Business Service on OSB that call a BPEL process.
I have seen in some discussion concerning this error at run-time:
20 mars 2009 17:29:54 oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
ATTENTION: Exception returned by remote server: {0}
com.evermind.server.rmi.RMIConnectionException: Disconnected: javax.xml.namespace.QName; local clas
m classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -912044875489660
at com.evermind.server.rmi.RmiCallQueue.notifyQueuedThreads(RmiCallQueue.java:70)
at com.evermind.server.rmi.RMIClientConnection.notifyQueuedThreads(RMIClientConnection.java
at com.evermind.server.rmi.RMIClientConnection.resetState(RMIClientConnection.java:147)
at com.evermind.server.rmi.RMIConnection.receiveDisconnect(RMIConnection.java:236)
at com.evermind.server.rmi.RMIClientConnection.receiveDisconnect(RMIClientConnection.java:1
at com.evermind.server.rmi.RMIConnection.handleOrmiCommand(RMIConnection.java:208)
at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.j
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:830)
at java.lang.Thread.run(Thread.java:619)
I found a few things about that, in particular this metalink note (about a patch to apply) :
https://metalink2.oracle.com/metalink/plsql/f?p=130:14:1155360189717582688::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,788141.1,1,1,1,helvetica
I successfully installed the patch but everything remains the same, I get the same error ...
Any Ideas ?
Thanks Anthony
I managed to do the same without updating the default jdk to 1.5.0_16/17. The entire process involved a lot of patches both to the Oracle SOA Suite v10.1.3.4.0 and Oracle Service Bus 10gR3. I am listing the steps I followed and the references.
Steps for modifying the environment
On SOA Suite
1. Apply patch 6880880 from metalink. This is just an upgrade to the Opatch utility to handle patches for GENERIC_PLATFORMS
2. Apply patch 7586063 (Reference 1)
3. Apply patch 5507491 (Reference 1)
On OSB
1. Update SetDomainEnv.bat (Reference 2)
2. Update bpel10gtransport.ear (Reference 2)
The references mentioned above are as follows:
1. [https://metalink2.oracle.com/metalink/plsql/f?p=130:14:1970391832150201494::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,788141.1,1,1,1,helvetica]
2. [http://biemond.blogspot.com/2009/03/calling-async-bpel-services-from-osb.html]
After the changes, the process mentioned in (2) should work
Hope this is helpful for someone!
Similar Messages
-
Exception while calling BPEL process from JAVA
Hi All
I am getting this error while calling BPEL process from JAVA
first I've got javabeans exception then I changed the port to default 23791 .. now I am getting the following
Exception in thread "main" oracle.adf.mds.exception.MDSRuntimeException: Cache not initialized
at oracle.apps.fnd.framework.mds.cache.ATGCacheMgrDelegateImpl.<init>(ATGCacheMgrDelegateImpl.java:325)
at oracle.apps.fnd.framework.mds.cache.ATGCacheFactoryImpl.<init>(ATGCacheFactoryImpl.java:44)
at oracle.apps.fnd.cp.request.CpContext.getMDSContext(CpContext.java:1084)
at oracle.apps.fnd.cp.request.Run.main(Run.java:130)
can anyone helpSorry guys for disturbing.
I deleted the file CacheDefaultConfig.properties by mistake from $JAVA_TOP
I replaced it and it worked fine
Thanks,
Baraa -
Exception while calling BPEL from Java Class
Hi All,
I am trying to call BPEL from my Java Code. but i am getting following exception.
java.lang.Exception: Failed to create "ejb/collaxa/system/DomainManagerBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DomainManagerBean not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:218)
at com.oracle.bpel.client.Locator.getDomainAuth(Locator.java:975)
at com.oracle.bpel.client.Locator.<init>(Locator.java:73)
at callbpel.CallBPEL.main(CallBPEL.java:40)
at com.oracle.bpel.client.util.BeanRegistry.lookupDomainManagerBean(BeanRegistry.java:232)
at com.oracle.bpel.client.Locator.getDomainAuth(Locator.java:975)
at com.oracle.bpel.client.Locator.<init>(Locator.java:73)
at callbpel.CallBPEL.main(CallBPEL.java:40)
Process exited with exit code 0.
Following is my java code.
package callbpel;
import com.collaxa.cube.util.GUIDGenerator;
import com.collaxa.xml.XMLHelper;
import com.oracle.bpel.client.Locator;
import com.oracle.bpel.client.NormalizedMessage;
import com.oracle.bpel.client.delivery.IDeliveryService;
import java.util.Hashtable;
import java.util.Map;
import com.oracle.bpel.client.ServerException;
import java.rmi.RemoteException;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import org.w3c.dom.Element;
public class CallBPEL {
public CallBPEL() {
public static void main(String[] args) {
CallBPEL callBPEL = new CallBPEL();
Hashtable env;
try {
env = callBPEL.getInitialContext();
String xml = "<ssn xmlns=\"http://services.otn.com\">" + "1234" + "</ssn>";
Locator locator = new Locator("default",env);
IDeliveryService deliveryService = (IDeliveryService)locator.lookupService
(IDeliveryService.SERVICE_NAME );
NormalizedMessage nm = new NormalizedMessage();
nm.addPart("payload", xml);
try {
deliveryService.post("JavaCallingBPEL", "initiate", nm);
System.out.println("BPELProcess HelloWorld executed!<br>");
} catch (ServerException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
} catch (NamingException e) {
e.printStackTrace();
} catch (ServerException e) {
e.printStackTrace();
private static Hashtable getInitialContext() throws NamingException {
Hashtable env = new Hashtable();
env.put("orabpel.platform","ias_10g");
env.put("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
env.put("java.naming.provider.url","opmn:ormi://localhost:6004:oc4j_soa/orabpel");
env.put("java.naming.security.principal","oc4jadmin");
env.put("java.naming.security.credentials","welcome1");
return env;
I am breaking my head since last two days. i dont know whats the problem. i have included almost all the jars in class path.
Can anybody help me in this.
any help is appreciated.
Thanks,
NimishaHi all,
I have solved above problem but run into some other exception below
Dec 22, 2008 12:51:34 PM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
com.evermind.server.rmi.RMIConnectionException: Disconnected: com.oracle.bpel.client.AbstractIdentifier; local class incompatible: stream classdesc serialVersionUID = 3174123903773674079, local class serialVersionUID = -4389351842028223514
at com.evermind.server.rmi.RmiCallQueue.notifyQueuedThreads(RmiCallQueue.java:70)
at com.evermind.server.rmi.RMIClientConnection.notifyQueuedThreads(RMIClientConnection.java:154)
at com.evermind.server.rmi.RMIClientConnection.resetState(RMIClientConnection.java:128)
at com.evermind.server.rmi.RMIConnection.receiveDisconnect(RMIConnection.java:233)
at com.evermind.server.rmi.RMIClientConnection.receiveDisconnect(RMIClientConnection.java:140)
at com.evermind.server.rmi.RMIConnection.handleOrmiCommand(RMIConnection.java:208)
at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:222)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
at java.lang.Thread.run(Thread.java:595)
Any Idea?
Thanks,
Nimisha
Edited by: user649974 on Jan 6, 2009 10:50 AM -
JDBC Exception while calling a web-service
Hi all,
We are getting the following JDBC Driver Timeout Exception while calling an external web-service..
An exception occurred while executing a transaction. Details: An error occurred while accesing the database. Detail:SQL statement: ' SELECT INSTANCEDATA, PROCESSID, INSTID, THREADID, NAME, PARENTTHREAD, PRIORITY, CREATIONTIME, AUTHOR, PARTICIPANT, NEXTPARTICIPANT, PROCESSDEADLINE, ACTIVITYDEADLINE, RECEIVETIME, ACTIVITYNAME, NTHREADS, CTHREADS, FCTHREAD, TOTALTHREADS, STATE, SOURCEACTIVITYNAME, ROLEIN, PENDINGITEMID, LASTRESULT, ITEMDEADLINE, NCHANGES , NREMARKS, NATTACHMENTS, HASPARTFORROLE,MICROACTIVITYNAME FROM PPROCINSTANCE WHERE PROCESSID = 11AND INSTID = 10 AND THREADID = 0 FOR UPDATE' Caused by: [BEA][Oracle JDBC Driver][Oracle]ORA-02049: timeout: distributed transaction waiting for lock fuego.transaction.DatabaseException:
How do we resolve this exception?
We have increased the JTA timeout to 120 seconds.. in the engine..
Our process is deployed on Weblogic ServerLooks like specific record for the Instance id 10 is locked in the Engine table. I am not quite sure, what kind of Business scenraio you executed to end up in this issue.
But you can try restarting the BPM engine or check with the Oracle DBA to see any lock on the rows in Engine database and perform required unlocking operations.
-Lovin.V -
Exception while calling ADS Inappropriate WSIL Invalid Response Code: (401)
Hi Experts,
Our ADS configuration was done on XCE a long time back and even reader credentials were installed and everything is working fine.
Couple of days back, we enabled SSL configuration on the system. Even got the certificates signed by CA and HTTPS is also working without any problems.
Then, problems are happening when we configured WebService SSL connection for ADS following the steps from
http://help.sap.com/saphelp_nwce72/helpdata/en/90/71d273fa724cc9bb644ab00405e6f8/content.htm and also the SAP How to guide from: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d02262d8-7814-2c10-5c97-d855d38e9923?quicklink=index&overridelayout=true.
Among other steps, I have created a View in Key Storage called "ADSCerts" and created an entry "ADSUser" as per the document, generated CSR request, imported CSR response and also the CA's root certificate.
I exported the ADSUser-cert certificate from here and imported into Identity Management for the User ADSUser under its Certificates tab.
Also updated SecureConfigPort_Document (in Destination Template Management under SOA Administration) security settings to X.509 Client Certificate and in Details, I have chosen the View ADSCerts and entry ADSUser.
Even after all the steps as per the document and the help.sap.com link provided above, when I try to test this through a test URL
(https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp) that our developers have given me for this, I get a (401)
Unauthorized error:
500 Internal Server Error is returned for HTTP request
[https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp]
com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException:
Exception while calling ADS; Inappropriate WSIL; configure the
destination path
correctly./ncom.sap.esi.esp.service.server.query.discovery.ExtendedServiceException:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested
URL was:"Connect to https://host:https-port/inspection.wsil/"
I have checked the security log file and it shows:
LOGIN.FAILED
User: N/A
IP Address: 192.165.90.102
Authentication Stack: sap.com/tcesiesp~wsil*inspection.wsil
Also, ran Security Troubleshooting Wizard from NWA and reproduced the problem while collecting these traces. There were some entries like:
Login failed!
[EXCEPTION]
java.security.PrivilegedActionException:
com.sap.engine.services.security.exceptions.BaseLoginException: Cannot
authenticate the user.
Caused by: com.sap.security.core.server.jaas.DetailedLoginException:
Received no SAP Authentication Assertion Ticket.
Received no SAPLogonTicket. Authentication stack:
[sap.com/tcesiesp~wsil*inspection.wsil].
Any idea how I can solve this? Anybody got this error?
Thanks,
ShitijOpened an OSS message with SAP and they told me that the certificates being generated from NWA are in a different format from what is accepted in user store.
So, generated new certificates from OS level using sapgenpse and now it worked. -
Exception while calling native profiler (root cause: no message available [
Hi,
We are setting up MAM30 using the new technology (NWMADMIN). During sync. I get the error message "Exception while calling native profiler (root cause: no message available [java.lang.reflect.Invocat...". Can anyone help me on this?
Thanks
Kind regards
JacobHi Jacob,
I once faced this problem(no in MAM though)
I will try to guess the solution to your problem,
1) My first guess would be that, the header file in MAM30 using the 'javah' tool, did not pass the fully qualified name of the class as the argument. The 'javah' tool will not complain and will produce an incorrect header file.
2) The Native method names wouldnt have got a match for the java method names, might be missing the package name. here you need to import the missing ones.
3) Or you would be calling static native methods using objects, it should be accessed in a static way. you can call them directly.
Hope this helps.
Regards
Divya. -
Hi
I am getting below error while calling a stateless EJB method. There is some validation checks while performing ejb's modify() method and a RuntimeException is thrown in case of validation failure.The modify() method internally calls other stateless ejb as well.
The problem I'm facing is, instead of getting the expected RuntimeException in the Servlet, i am getting RemoteException. I am using WLS 9 MP1, all participating ejbs are stateless and i am using default transaction attributes(Supports) for these ejbs.
The interesting part is, at the ejb layer RuntimeException is thrown as expected, but this exception changed to RemoteException at the servlet's end where i am catching the ejb call exceptions.
I am new to WLS, please suggest/help me out of this exception.
Any help is truly appreciated.
java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.RuntimeException:
at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:95)
at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:713)
at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:681)
at weblogic.ejb.container.internal.BaseEJBObject.postInvoke1(BaseEJBObject.java:447)
at weblogic.ejb.container.internal.StatelessEJBObject.postInvoke1(StatelessEJBObject.java:72)
at weblogic.ejb.container.internal.BaseEJBObject.postInvokeTxRetry(BaseEJBObject.java:374)
at com.mycomp.base.BaseController_8x2e52_EOImpl.modify(BaseController_8x2e52_EOImpl.java:149)
at com.mycomp.webgui.servlet.FrontComponent.service(FrontComponent.java:207)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Thanks!
Edited by: user10721298 on Feb 23, 2009 4:16 AMHi,
If i don't misunderstand, you are using the RuntimeException as an application exception, right?
Have you annotated it or denoted it in deployment descriptor?
Thanks,
Amy -
I have the following situation --
1. I have two WebServices A and B deployed onto OC4J_10.1.3
They both work when I test them using the test service
2. My real need is to call webservice A from B. So I created a proxy for A using JDEV
and deployed into OC4J. Now when I use the test service and call methods on B as before it does not work. I get the following exceptions when I try to instantiate the stub.
WebServiceASoapHttpPortClient myPort = new WebServiceASoapHttpPortClient();
SEVERE: caught exception while handling request: java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml
/namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/String;Z)V java.lang.NoSuchMethodError: oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(Ljavax/xml/namespace/QName;ZZLjavax/xml/namespace/QName;Ljava/lang/Stri
ng;Z)V
It seems as though OC4J is not able to find LiteralFragmentSerializer methods. But wsclient.jar must be available on OC4J's CLASSPATH.
My webservice is very simple and the encoding is SOAP1.1 (Document/Literal).
Any insights ?
Thanks very much.
--venkatHave you tried downloading and installing wsclient_extended.jar instead of wsclient.jar?
-
WebLogic Class not found Exception while calling XA-APIs
Hi,
Any oone have any information about the following exception I get while calling xa-apis while using Oracle 8.1.7 thin jdbc driver.
Thanks - Sanjay
** 2001-01-25 18:13:08.989
*** SESSION ID:(24.98) 2001-01-25 18:13:08.977
java.lang.ClassNotFoundException: weblogic.transaction.internal.XidImpl
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at
oracle.jdbc.xa.server.OracleWrapXAResource.deserializeObject(OracleWrapX
AResource.java)
at
oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
va)
java.lang.NullPointerException
at
oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
va)
Hi Sanjay and Vel,
We have been running internal test suites using the Oracle 8.1.7 thin driver,
and did not run into this problem. I suspect this may be related to the database
setup or environment. We would also like to understand why it happens. I would
suggest either of you to report this problem to Oracle support and see whether
they could shed some light on this.
-- Priscilla Fung, BEA Systems, Inc.
"Vel" <[email protected]> wrote:
>
>Hello Sanjay.
>I'm having the same problem.
>Did u find why that happened? If yes, pls let me know.
>Thanks in advance.
>Vel
>"Sanjay" <[email protected]> wrote:
>>
>>Hi,
>>Any oone have any information about the following exception I get while
>>calling xa-apis while using Oracle 8.1.7 thin jdbc driver.
>>Thanks - Sanjay
>>
>>** 2001-01-25 18:13:08.989
>>*** SESSION ID:(24.98) 2001-01-25 18:13:08.977
>>java.lang.ClassNotFoundException: weblogic.transaction.internal.XidImpl
>> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
>> at
>>oracle.jdbc.xa.server.OracleWrapXAResource.deserializeObject(OracleWrapX
>>AResource.java)
>> at
>>oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
>>va)
>>java.lang.NullPointerException
>> at
>>oracle.jdbc.xa.server.OracleWrapXAResource.start(OracleWrapXAResource.ja
>>va)
>>
>
-
Exception while calling a BDC from webdynpro
Hi All,
I am getting an exception 'Exception condition "CNTL_ERROR" raised' while calling a BDC from the WD application, though i am calling the transaction in background mode. The statment which was throwing the exception was a create object statement in the function module DOC_DISPLAY_INITIALIZE. Can u please tell me, what is the reason for this?
Thanks in Advance,
Laxmikanth>
amit saini wrote:
> hi ,
> The message "CNTL_ERROR" appear when you are using some of the SAP enjoy transaction code like ME21N / ME22N / ME23N.
>
> This are bugs cause by the earlier version of the SAPGUI. It usually occurs when you are running a BDC session
> for a transaction that has 'fancy' screen elements like table controls ortabstrips. These work fine in the foreground, but not so well in the background.
>
>
> To solve it, goto OSS and apply the SAPGUI's latest front end patch to your PC.
>
> rgds,
> amit
There is a mixture of accurate information here.
This is NOT a SAPGUI problem. It can not be fixed with a newer version fo the SAPGUI. It is caused by transactions that were created with Enjoy Controls. Enjoy controls are not the table control or the tabstrip. They are controls that used ActiveX components on the desktop as part of the SAPGUI - like the ALV Grid, the Tree, the ABAP Editor, etc.
You can not use call transaction/BDC against such transactions in the background or in WDA because there is no connection to the frontend to create instances of these controls. These transactions with the enjoy controls should have appropriate BAPIs or Enterprise Services that you should call instead in order to make data updates or creations.
For instance see SAP Note 304122 that discusses this issue for transaction MIGO. -
SocketTimeout Exception while calling a Web Service from EJB
Hi All,
I am consuming a Web Service defined from the WSDL received from a PI system
in a Stateless EJB.
The input of the Service can be a range of records 100 - 10,000, with a furture plan to exceed the range as 100 - 15,000.
The Web Service Call goes perfect with 100 - 3500 number of records.
As the number of records exceed 3500, we started getting the following exception:
Service call exception; nested exception is: java.net.SocketTimeoutException: Read timed out
Along with a call happenning to the PI system after some seconds.
Referring to various help.sap.com pages, I came across the following code snippet:
client._setProperty("socketTimeOut","200000");
This thing works great!!!, and now we have set the the socketTimeout proggramatically to a satisfactory level which supports the current requirement.
I would like to know, if we can tune some Visual Administrator Parameter for this, instead of maintaining the "Socket TimeOut" in the code.
Any help will be appreciated.
Best Regards,
Alka.
Edited by: Alka Panday on Apr 23, 2008 9:17 AMHi Alka,
Please refer to SAP Note 962114. This is specifically for Web Service clients.
Description-->
This note can be applied for 6.40 SP 12+. If the customer has a lower SP, an upgrade of the whole engine is recommended. The other alternative to set the timeout is to set it programmatically.
If running a 7.0 installation, the functionality has been integrated in SP8 onwards
When you go to the Visual Administrator -> Server -> Services -> Web Services Container on the Settings tab page you should be able to see the socket timeout input field next to the HTTP Proxy settings. You can change the default value there and it will be automatically applied to all WS client proxies and logical ports deployed on the system.
Hope this helps.
regards,
Piyush -
Exception while calling stored procedure in SQL server
Hi,
I run into a problem while calling a proc in SQL server. I am using a database control to do so. The proc returns a integer. This is the first time I use SQL server. Any thoughts? Thanks in advance.
My method call is:
int createAccount(SQLParameter[] param)
The sql is:
{call espsiCompany(?, ?, ?)}
The error is:
java.lang.NullPointerException
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.getStatement_v2(DatabaseControlImpl.jcs:1885)
at com.bea.wlw.runtime.core.control.DatabaseControlImpl.invoke(DatabaseControlImpl.jcs:2691)
at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:373)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:388)
at services.OnyxDBControl.createAccount(OnyxDBControl.ctrl)
at services.OnyxDBControlTest.createAccount(OnyxDBControlTest.jws:18)Hi. That's not the signature of the procedure. What I'd like to see is
the SQL used to create the procedure, eg:
create procedure myProc @foo int, @bar varchar(30) ....
as
begin
end
Jun Li wrote:
Here you go. Thanks for your time.
DECLARE @RC int
DECLARE @iSiteId int
DECLARE @iCompanyId int
DECLARE @chLanguageCode char(4)
DECLARE @vchAssignedId varchar(255)
DECLARE @vchCompanyName varchar(255)
DECLARE @vchAddress1 varchar(255)
DECLARE @vchAddress2 varchar(255)
DECLARE @vchAddress3 varchar(255)
DECLARE @vchCity varchar(255)
DECLARE @chRegionCode char(4)
DECLARE @chCountryCode char(4)
DECLARE @vchPostCode varchar(40)
DECLARE @vchPhoneNumber varchar(40)
DECLARE @vchEmailAddress varchar(255)
DECLARE @vchURL varchar(255)
DECLARE @iCompanyTypeCode int
DECLARE @iCompanySubTypeCode int
DECLARE @iFamilyId int
DECLARE @iParentId int
DECLARE @iPrimaryContactId int
DECLARE @vchContactFirstName varchar(255)
DECLARE @vchContactLastName varchar(255)
DECLARE @iDivisionCode int
DECLARE @iSICCode int
DECLARE @iMarketSector int
DECLARE @vchTaxId varchar(255)
DECLARE @vchDunnsNumber varchar(255)
DECLARE @iPhoneTypeId int
DECLARE @iAddressTypeId int
DECLARE @iSourceId int
DECLARE @iStatusId int
DECLARE @bValidAddress tinyint
DECLARE @iAccessCode int
DECLARE @bPrivate tinyint
DECLARE @vchUser1 varchar(255)
DECLARE @vchUser2 varchar(255)
DECLARE @vchUser3 varchar(255)
DECLARE @vchUser4 varchar(255)
DECLARE @vchUser5 varchar(255)
DECLARE @vchUser6 varchar(255)
DECLARE @vchUser7 varchar(255)
DECLARE @vchUser8 varchar(255)
DECLARE @vchUser9 varchar(255)
DECLARE @vchUser10 varchar(255)
DECLARE @chInsertBy char(10)
DECLARE @dtInsertDate datetime
DECLARE @tiLockRecord tinyint
DECLARE @tiRecordStatus tinyint
DECLARE @tireturnType tinyint
-- Set parameter values
EXEC @RC = [ONYXPROD].[dbo].[espsiCompany] @iSiteId, @iCompanyId OUTPUT , @chLanguageCode, @vchAssignedId, @vchCompanyName, @vchAddress1, @vchAddress2, @vchAddress3, @vchCity, @chRegionCode, @chCountryCode, @vchPostCode, @vchPhoneNumber, @vchEmailAddress, @vchURL, @iCompanyTypeCode, @iCompanySubTypeCode, @iFamilyId, @iParentId, @iPrimaryContactId, @vchContactFirstName, @vchContactLastName, @iDivisionCode, @iSICCode, @iMarketSector, @vchTaxId, @vchDunnsNumber, @iPhoneTypeId, @iAddressTypeId, @iSourceId, @iStatusId, @bValidAddress, @iAccessCode, @bPrivate, @vchUser1, @vchUser2, @vchUser3, @vchUser4, @vchUser5, @vchUser6, @vchUser7, @vchUser8, @vchUser9, @vchUser10, @chInsertBy, @dtInsertDate, @tiLockRecord, @tiRecordStatus, @tireturnType -
Nullpointer Exception while running BPEL Sample Document Review application
Hi
am getting the null pointer exception while instantiating the documentreview process(the sample/demo application). Am using Oracle SOA Suite 10.1.3.1.0. Can any one help me in this regard..
The following is the error message
08/04/09 11:14:22.968 console: Servlet error
java.lang.NullPointerException
at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:131)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.handleNotFound(HttpRequestHandler.java:1032)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:906)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)I am getting the same problem when I deploy process with any human work flow. Did you manage to find the solution?
-
NullPointer Exception while calling AMOrganizationalUnitImpl.searchEntities
Hi,
I am getting the following error while calling
com.iplanet.am.sdk.AMOrganizationalUnitImpl.searchEntities method.
java.lang.NullPointerException
at com.sun.identity.delegation.plugins.DelegationPolicyImpl.isAllowed(DelegationPolicyImpl.java:535)
at com.sun.identity.delegation.DelegationEvaluator.isAllowed(DelegationEvaluator.java:122)
at com.iplanet.am.sdk.AMDirectoryManager.checkRealmPermission(AMDirectoryManager.java:3387)
at com.iplanet.am.sdk.AMDirectoryManager.search(AMDirectoryManager.java:764)
at com.iplanet.am.sdk.AMObjectImpl.searchObjects(AMObjectImpl.java:2342)
at com.iplanet.am.sdk.AMOrganizationalUnitImpl.searchEntities(AMOrganizationalUnitImpl.java:2903)
Can any body give some solution on thisHi,
Did you figure out the root cause?
I am having the same issue.
Could you please help?
Thanks
Arun -
"NoClassDefFoundError" Java exception while invoking BPEL process
While invoking a BPEL process from my ADF application, I'm getting the following error, it seems some source files are missing, I have made sure the orabpel.jar, and a few other orabpel*.jar are located in the classpath on my PC. Anything else is still missing?
Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
at com.oracle.bpel.client.Locator.lookupProcess(Locator.java:259)
at BusinessProcess.Class1.main(Class1.java:65)
Process exited with exit code 1.
Upon clicking on the second error, it shows message "Unable to find source file for package com.oracle.bpel.client filename locator.java", what's the problem?
Thanks,
LindaSorry guys for disturbing.
I deleted the file CacheDefaultConfig.properties by mistake from $JAVA_TOP
I replaced it and it worked fine
Thanks,
Baraa
Maybe you are looking for
-
Notes created in the calendar view
I have notes attached to events in the calendar. They copied over in the original hot-sync. New notes, created in palm desktop are not being attached to the event in the phone view. I use a Centro on Mac. Post relates to: Centro (Sprint)
-
Dent in side of MB Pro means ports are unusable - how much to repair?
Hello, Whilst inside a suitcase my Macbook Pro has suffered a dent to its lower left hand side, so that one of the USB ports, SD card slot and headphone slot are unusable as the casing has come out of place. I have tried to get compensation from the
-
Is there a way to add hotstrings to a text field form. IE user types "POC" and the system expands the text to "Proof of Claim".
-
FCP XMLs into AME watch folder
Hi, recently Adobe Media Encoder added support for FCP XML files. I am exporting FCP XMLs from Premiere into an AME watch folder but no job is being created in the queue, despite having 'Auto-Encode Watch Folders' turned on and 'Start encoding automa
-
Can I password protect a file I want to send in the pdf pack?
I just subscribed to the pdf pack. I want to take pictures and send them as a protected file. How/can I do that with the subscription I just purchased?