Coherence 3.4.2 JMX: invoking operation problem
Hi,
we have run into two issues invoking JMX ModelMBean operations via JMX in Coherence 3.4.2
1. if a JMX operation has got any parameters /like doFoo(String a)/
it can not be invoked at all
this issue can be worked around by overriding RequiredJMXBean.invoke()
2. if any of a JMX operation's parameters is of a primitive type /doFoo(int i)/
a different error message is generated
this issue can not be worked around by overriding RequiredJMXBean.invoke()
because RequiredJMXBean.invoke() doesn't get invoked in this case
---here's sample code, a full project, 4 files total ---
/* please put this into src/main/java/foo/c34/Main.java */
package foo.c34;
import javax.management.MBeanParameterInfo;
import javax.management.modelmbean.ModelMBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanConstructorInfo;
import javax.management.modelmbean.ModelMBeanInfo;
import javax.management.modelmbean.ModelMBeanInfoSupport;
import javax.management.modelmbean.ModelMBeanNotificationInfo;
import javax.management.modelmbean.ModelMBeanOperationInfo;
import javax.management.modelmbean.RequiredModelMBean;
import com.tangosol.net.CacheFactory;
import com.tangosol.net.management.Registry;
* This sample program demonstrates Coherence 3.4.2 JMX difficulties with invoking methods
* Please invoke this program with
* -Dcom.sun.management.jmxremote
* otherwise bean "Coherence" won't be exposed in JMX console
* Not sure why this is necessary because this would imply this is no longer required
* http://java.sun.com/javase/6/docs/technotes/guides/management/agent.html
* ===
* To see the problem please try invoking method "operation1" and "operation2"
* via JMX console.
* Different error messages will be shown for each method
* To work around "operation1" problem please comment out this line
* final RequiredModelMBean rmb = new RequiredModelMBean();
* land uncomment the alternative one
* final RequiredModelMBean rmb = new WorkaroundRequiredModelMBean();
* You shall be able to invoke "operation1" then.
* Please note that you still won't be able to invoke "operation2"
public class Main {
public static void main(final String[] args) throws Exception {
configureProperties();
Registry registry = CacheFactory.ensureCluster().getManagement();
final RequiredModelMBean rmb = new RequiredModelMBean();
//final RequiredModelMBean rmb = new WorkaroundRequiredModelMBean();
final ModelMBeanInfo mbi = createModelMBeanInfo();
rmb.setModelMBeanInfo(mbi);
final Object managed = new Managed();
rmb.setManagedResource(managed, "ObjectReference");
final String name = registry.ensureGlobalName("type=A");
registry.register(name, rmb);
for (;;) {
Thread.sleep(1000);
private static ModelMBeanInfo createModelMBeanInfo() {
final MBeanParameterInfo p1 = new MBeanParameterInfo("a", "java.lang.Integer", "a desc");
final MBeanParameterInfo p2 = new MBeanParameterInfo("a", "int", "a desc");
final ModelMBeanOperationInfo op1 = new ModelMBeanOperationInfo("operation1", "operation 1",
new MBeanParameterInfo[]{p1}, "void", ModelMBeanOperationInfo.UNKNOWN);
final ModelMBeanOperationInfo op2 = new ModelMBeanOperationInfo("operation2", "operation 2",
new MBeanParameterInfo[]{p2}, "void", ModelMBeanOperationInfo.UNKNOWN);
return new ModelMBeanInfoSupport("foo", "desc", new ModelMBeanAttributeInfo[0],
new ModelMBeanConstructorInfo[0], new ModelMBeanOperationInfo[]{op1, op2},
new ModelMBeanNotificationInfo[0]);
public static class Managed {
public void operation1(Integer p1) {
System.out.println("operation1 invoked p1=" + p1);
public void operation2(int p2) {
System.out.println("operation2 invoked p2=" + p2);
private static void configureProperties() {
System.setProperty("tangosol.coherence.cacheconfig", "a-cache-config.xml");
System.setProperty("tangosol.coherence.ttl", "0");
System.setProperty("tangosol.coherence.log", "jdk");
System.setProperty("tangosol.coherence.log.level", "9");
System.setProperty("tangosol.coherence.clusterport", "5878");
System.setProperty("com.sun.management.jmxremote", "");
System.setProperty("tangosol.coherence.management", "all");
System.setProperty("tangosol.coherence.management.remote", "true");
/* please put this into src/main/java/foo/c34/WorkaroundRequiredModelMBean.java */
package foo.c34;
import javax.management.MBeanException;
import javax.management.ReflectionException;
import javax.management.RuntimeOperationsException;
import javax.management.modelmbean.RequiredModelMBean;
public class WorkaroundRequiredModelMBean extends RequiredModelMBean {
public WorkaroundRequiredModelMBean() throws MBeanException, RuntimeOperationsException {
public Object invoke(final String opName, final Object[] params,
final String[] signature) throws MBeanException, ReflectionException {
final String[] fakeSignature = fakeSignature(opName);
return super.invoke(opName, params, fakeSignature);
protected String[] fakeSignature(final String methodName) {
if (methodName.equals("operation1")) {
return new String[]{"java.lang.Integer"};
if (methodName.equals("operation2")) {
return new String[]{"int"};
return new String[0];
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<!-- please put this into src/main/resources/a-cache-config.xml -->
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>AAA</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<local-scheme>
<scheme-name>AAALocal</scheme-name>
<autostart>true</autostart>
<high-units>0</high-units>
</local-scheme>
<distributed-scheme>
<scheme-name>AAA</scheme-name>
<service-name>AAACache</service-name>
<backing-map-scheme>
<local-scheme>
<scheme-ref>AAALocal</scheme-ref>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>
<!-- please put this into pom.xml at project root level -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>foo-group</groupId>
<artifactId>c34-jmx-demo</artifactId>
<name>Coherence 34 JMX Demo</name>
<version>0.0.1-SNAPSHOT</version>
<description>Demonstrate Coherece 3.4 JMX Difficulties</description>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>coherence</artifactId>
<version>3.4.2</version>
</dependency>
</dependencies>
</project>
Hi Dave,
I wanted to let you know that we do not have an answer yet but we are looking into it. Thanks!
Out of curiosity what type of impact is this having with your application?We've managed to temporarily work around both of the issues.
Of course we shall be very glad to remove the work-arounds when it becomes possible.
Similar Messages
-
Faulted while invoking operation "sendEmailNotification"
Hi!
I've got a BPEL process and in the end of the process I send completion message by email.
This is working most of the times, but sometimes I've got a fault like this:
InvokeNotificationService (faulted)
[2010/10/07 13:38:02] Faulted while invoking operation "sendEmailNotification" on provider "NotificationService".less
-<messages>
-<input>
-<varNotificationReq>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="EmailPayload">
-<EmailPayload xmlns="" xmlns:def="http://xmlns.oracle.com/ias/pcbpel/NotificationService" xsi:type="def:EmailPayloadType" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FromAccountName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Default
</FromAccountName>
<To xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">[email protected]
</To>
<ReplyToAddress xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<Subject xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">BPEL Message
</Subject>
-<Content xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
<MimeType>text/html; charset=UTF-8
</MimeType>
<ContentBody>
Dear Customer,
<P>
Following order has been created in JD Edwards EnterpriseOne
<br>
Order Number: <b>18169</b>
<br>
Document Type: <b>SO</b>
<br>
</P>
<P>
Total Output Variable:
<br>
T787 OSE100W 101007702464520T7871064711T787 526 W 1EA87808878088960.00008960.001.0001041271EA010520T7871064711T787 526 W 2EA87808878088960.00008960.002.0001041271EA010520T7871064711T787 526 W 3EA87808878088960.00008960.003.0001041271EA010520T7871064711T787 526 W 4EA87808878088960.00008960.004.0001041271EA010520T7871064711T787 526 W 5EA87808878088960.00008960.005.0001041271EA010520T7871064711T787 526 W 6EA87808878088960.00008960.006.0001041271EA010520T7871064711T787 526 W 7EA87808878088960.00008960.007.0001041271EA010520T7871064711T787 526 W 8EA87808878088960.00008960.008.0001041271EA010EUR 2010-10-07T00:00:00.000+02:00 A 10B011816900010SO71680DE-30853 TOYOTA MAT. HAND. DEUTSCHLAND GMBH 104127 DE LANGENHAGEN Postfach 10 12 48
</P>
Best Regards,
<br>
Order Department
</ContentBody>
<ContentEncoding/>
</Content>
<EmailHeaders xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<Cc xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
<Bcc xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
</EmailPayload>
</part>
</varNotificationReq>
</input>
-<fault>
-<NotificationServiceFault xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
-<part name="faultInfo">
<faultInfo>
Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-31002
Error while sending notification.
Error while sending notification.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
at oracle.bpel.services.notification.queue.sender.Publisher.send(Publisher.java:346)
at oracle.bpel.services.notification.queue.sender.Publisher.send(Publisher.java:116)
at oracle.bpel.services.notification.ejb.impl.NotificationBean.sendEmailNotification(NotificationBean.java:329)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at NotificationServiceBean_LocalProxy_68d4144.sendEmailNotification(Unknown Source)
at oracle.tip.pc.services.notification.NotificationService.sendEmailNotification(NotificationService.java:365)
at oracle.tip.pc.services.notification.NotificationService.sendEmailNotification(NotificationService.java:343)
at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.collaxa.cube.ws.wsif.providers.java.WSIFOperation_Java.executeRequestResponseOperation(WSIFOperation_Java.java:1019)
at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:478)
at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:437)
at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:826)
at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:402)
at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1087)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:133)
at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:162)
at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:547)
at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:464)
at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:133)
at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:451)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:274)
at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:120)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:194)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
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:414)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: ORABPEL-31005
Error while inerting notification in repository.
Error while inerting notification in repository.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
at oracle.bpel.services.notification.repos.driver.oracle.OracleNotificationReposService.insertNotification(OracleNotificationReposService.java:140)
at oracle.bpel.services.notification.NotificationUtil.insertNotification(NotificationUtil.java:98)
at oracle.bpel.services.notification.queue.sender.Publisher.send(Publisher.java:316)
... 106 more
Caused by: java.sql.SQLException: javax.resource.ResourceException: RollbackException: Transaktionen har markerats för återställning: Timed out
at oracle.oc4j.sql.spi.ManagedConnectionImpl.setupTransaction(ManagedConnectionImpl.java:841)
at oracle.oc4j.sql.spi.ConnectionHandle.oc4j_intercept(ConnectionHandle.java:305)
at oracle_jdbc_driver_T4CConnection_Proxy.prepareStatement()
at oracle.bpel.services.notification.repos.driver.oracle.OracleNotificationReposService.insertNotification(OracleNotificationReposService.java:112)
... 108 more
Caused by: javax.resource.ResourceException: RollbackException: Transaktionen har markerats för återställning: Timed out
at com.evermind.server.connector.ConnectionContext.setupForJTATransaction(ConnectionContext.java:342)
at com.evermind.server.connector.ConnectionContext.setupForTransaction(ConnectionContext.java:279)
at com.evermind.server.connector.ConnectionContext.setupForTransaction(ConnectionContext.java:269)
at com.evermind.server.connector.ApplicationConnectionManager.lazyEnlist(ApplicationConnectionManager.java:2004)
at oracle.j2ee.connector.OracleConnectionManager.lazyEnlist(OracleConnectionManager.java:285)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.enlist(ManagedConnectionFactoryImpl.java:532)
at oracle.oc4j.sql.spi.ManagedConnectionImpl.setupTransaction(ManagedConnectionImpl.java:839)
... 111 more
Exception: ORABPEL-31002
Error while sending notification.
Error while sending notification.
Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
Handled As: oracle.tip.pc.services.notification.NotificationServiceException
</faultInfo>
</part>
</NotificationServiceFault>
</fault>
</messages>
Have anybody experinced the same problem and can tell me what's wrong?
Thanks in advance,
Nickwould this post be of help ?
Email Error When using Wait activity -
Faulted while invoking operation
Hi
I have problem like below. I think it is invalid schema but it looks good.
Faulted while invoking operation "UpdateInstalledProduct" on provider "InstalledProductService".
- <messages>
- <input>
- <updateInstalledProductRequestMsg>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameter">
- <UpdateInstalledProductRequest xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductRequest.V1">
- <UpdateInstalledProductArgs>
- <RF_IPRD_WS_WRK class="R" xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductArgs.V1">
<Setid/>
<InstalledProductID/>
<AssetType/>
<AssetSubtype/>
<ContactID/>
<ContactRoleTypeID/>
<ProductID/>
<InventoryItemID/>
<SerialID/>
<AssetTag/>
<OrderDate/>
<ShipDate/>
<InstalledDate/>
<SiteID/>
<PersonID/>
<DepartmentID/>
<Location/>
<ProductOwnership/>
<DistributorID/>
<DistributorContact/>
<PoID/>
<CaptureID/>
<ExternalID/>
<LineNumber/>
<ConfigurationCode/>
<Environment/>
<Platform/>
<Network/>
<OperatingSystem/>
<UserInterface/>
<OperatingSystemVersion/>
<ManufacturingID/>
<Model/>
<ParentInstalledProductID/>
<AuthorizationCode/>
<RegisteredDate/>
<Comments/>
<AccountID/>
<ParentAccountID/>
<SponsoredAccountID/>
<RBTExternalID/>
<RBTLineNumber/>
<ServiceEndDate/>
<Schedule/>
<AgreementCode/>
<Service/>
<ResumeDate/>
<PhoneNumber/>
<PhoneTemp/>
<PacCode/>
<PacDate/>
<PortinDate/>
<DisconnectDate/>
<SuspendDate/>
<RecurPrice/>
<CurrencyCode/>
<Market/>
- <RF_IPRDS_WS_WRK class="R">
<InstalledProductStatus>
PDI
</InstalledProductStatus>
<InstalledProductReason/>
<Quantity>
1
</Quantity>
</RF_IPRDS_WS_WRK>
- <RF_IPRDW_WS_WRK class="R">
<WarrantyName>
ffffffffffffff
</WarrantyName>
<StartDate/>
<EndDate/>
<ActiveFlag/>
</RF_IPRDW_WS_WRK>
- <RF_IPRDA_WS_WRK class="R">
<Market/>
<AttributeID/>
<AttributeItemID/>
<AttributeValue/>
<AttributeDate/>
<AttributeNumber>
2
</AttributeNumber>
</RF_IPRDA_WS_WRK>
</RF_IPRD_WS_WRK>
</UpdateInstalledProductArgs>
</UpdateInstalledProductRequest>
</part>
</updateInstalledProductRequestMsg>
</input>
- <fault>
- <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
</summary>
</part>
</remoteFault>
</fault>
</messages>
If anybody knows how to fix it I will be thankfull.
ThanksI have same issue
-
BPEL Database Adapter "Faulted while invoking operation.." --where to look?
Hi,
I hope that someone can assist me. Occassionally in production a database adapter step will fault. On the BPEL Console flow diagram for the step I can see "Faulted while invoking operation XXXXX on provider YYYYY". The step retries, but the fault never appears to resolve.
The database being accessed is available and I am able to perform the same query manually. Only a reboot appears to solve the problem.
Where do I look to see the cause of this fault? I have looked in the following log but cannot see anything either related to the adapter, flow or flow id. Should I look anywhere else?
Thanks - AnitHi,
Below is what the database adapt step shows in the flow diagram. The flow contains several other database adapter accesses prior to this, to the same database, and these completed correctly. I will look in the log file you suggested.
Faulted while invoking operation "DB_ID_PETICION_MNP" on provider "DB_ID_PETICION_MNP".
<messages>
<input>
<Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DB_ID_PETICION_MNPInput_msg">
<DB_ID_PETICION_MNPInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DB_ID_PETICION_MNP">
<id_pedido_crm>13485201</id_pedido_crm>
</DB_ID_PETICION_MNPInput>
</part>
</Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
</input>
<fault>
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="summary">
<summary>null</summary>
</part>
</bindingFault>
</fault>
</messages>
[FAULT RECOVERY] Schedule retry #1 at "Oct 23, 2009 11:28:39 AM".
...same as before. This repeated 4 times.
Finally rebooted the server, and the adapter completed OK:
<messages>
<Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DB_ID_PETICION_MNPInput_msg">
<DB_ID_PETICION_MNPInput xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DB_ID_PETICION_MNP">
<id_pedido_crm>13485201</id_pedido_crm>
</DB_ID_PETICION_MNPInput>
</part>
</Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_InputVariable>
<Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_OutputVariable>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="response-headers">[]</part>
<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="DB_ID_PETICION_MNPOutputCollection">
<DB_ID_PETICION_MNPOutputCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/DB_ID_PETICION_MNP">
<DB_ID_PETICION_MNPOutput>
<ID_PETICION_MNP>13485201-37491</ID_PETICION_MNP>
</DB_ID_PETICION_MNPOutput>
</DB_ID_PETICION_MNPOutputCollection>
</part>
</Invoke_Obtener_ID_PETICION_MNP_DB_ID_PETICION_MNP_OutputVariable>
</messages>
Thanks - Anit -
Faulted while invoking operation "Write" on provider "FileWrite".
hi', I am following example in BPEL "http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28987/phase8.htm" when I am Running and Verifying the POAcknowledge Process(9.2.5)
this is the error coming
invokeFileOut
[2009/01/08 14:53:04]
Faulted while invoking operation "Write" on provider "FileWrite".
- <messages>
- <input>
- <invokeFileOut_Write_InputVariable>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="POAcknowledge">
- <POAcknowledge xmlns:o1="http://www.thiscompany.com/ns/sales" xmlns="http://www.thiscompany.com/ns/sales">
<CustomerID xmlns="">
123456789
</CustomerID>
<ID xmlns="">
100245698
</ID>
- <ShippingAddress xmlns="">
<Name>
yatansingh
</Name>
- <Address>
<Street>
aaa
</Street>
<City>
aaa
</City>
<State>
aaa
</State>
<Zip>
1234567
</Zip>
<Country>
India
</Country>
</Address>
</ShippingAddress>
- <BillingAddress xmlns="">
<Name>
SonataSoftware
</Name>
</BillingAddress>
- <Items xmlns="">
<ProductName>
Grundi TV
</ProductName>
<Quantity>
4
</Quantity>
<USPrice>
900.00
</USPrice>
<PartNumber>
239-FRH
</PartNumber>
</Items>
- <Ack xmlns="">
<OrderDate>
2005-01-10
</OrderDate>
<OrderPrice>
6100.00
</OrderPrice>
<OrderStatus>
unknown
</OrderStatus>
<SupplierName>
Sony Camcorder
</SupplierName>
<SupplierPrice>
500.00
</SupplierPrice>
</Ack>
</POAcknowledge>
</part>
</invokeFileOut_Write_InputVariable>
</input>
- <fault>
- <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="summary">
<summary>
file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_POAcknowledge_1.9_41bd4854c512b1b30e6de927d88302eb.tmp/FileWrite.wsdl [ Write_ptt::Write(POAcknowledge) ] - WSIF JCA Execute of operation 'Write' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
ORABPEL-12537
XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
ORABPEL-12537
XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
</summary>
</part>
- <part name="detail">
<detail>
org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
ORABPEL-12537
XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
</detail>
</part>
</bindingFault>
</fault>
</messages>
Copy details to clipboard
[2009/01/08 14:53:04]
"{http://schemas.oracle.com/bpel/extension}bindingFault" has been thrown.
- <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="summary">
<summary>
file:/E:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_POAcknowledge_1.9_41bd4854c512b1b30e6de927d88302eb.tmp/FileWrite.wsdl [ Write_ptt::Write(POAcknowledge) ] - WSIF JCA Execute of operation 'Write' failed due to: Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
ORABPEL-12537
XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
ORABPEL-12537
XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
</summary>
</part>
- <part name="detail">
<detail>
org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileInteractionSpec due to: XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
; nested exception is:
ORABPEL-12537
XSD Loading problem.
Unable to load Translation schemas from for http://www.thiscompany.com/ns/sales due to: XSD Location problem.
No XSD (XML Schema) found for target namespace http://www.thiscompany.com/ns/sales and input element POAcknowledge
Please make sure the WSDL message points to a valid type.
Please make sure all used XML schemas are imported/included correctly.
</detail>
</part>
</bindingFault>
Copy details to clipboard
Edited by: Yatanveer Singh on Jan 8, 2009 1:39 AMHi Ramana,
Thanks very much for the reply.The schemas are defined below.
___OrderBookingPO.xsd :___
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.globalcompany.com/ns/sales"
xmlns:po="http://www.globalcompany.com/ns/sales"
elementFormDefault="qualified">
<annotation>
<documentation xml:lang="en">
Order Booking schema for GlobalCompany.com.
Copyright 2005 GlobalCompany.com. All rights reserved.
</documentation>
</annotation>
<element name="PurchaseOrder" type="po:PurchaseOrderType"/>
<element name="OrderItems" type="po:OrderItemsType"/>
<element name="SupplierInfo" type="po:SupplierInfoType"/>
<complexType name="PurchaseOrderType">
<sequence>
<element name="CustID" type="string"/>
<element name="ID" type="string"/>
<element name="ShipTo" type="po:USAddress"/>
<element name="BillTo" type="po:USAddress"/>
<element name="UserContact" type="po:ContactType"/>
<element name="OrderItems" type="po:OrderItemsType"/>
<element name="SupplierInfo" type="po:SupplierInfoType"/>
<element name="OrderInfo" type="po:OrderInfoType"/>
</sequence>
</complexType>
<complexType name="SupplierInfoType">
<sequence>
<element name="SupplierPrice" type="decimal"/>
<element name="SupplierName" type="string"/>
</sequence>
</complexType>
<complexType name="OrderInfoType">
<sequence>
<element name="OrderDate" type="date"/>
<element name="OrderPrice" type="decimal"/>
<element name="OrderStatus" type="string"/>
<element name="OrderComments" type="string"/>
</sequence>
</complexType>
<complexType name="ContactType">
<sequence>
<element name="PhoneNumber" type="string"/>
<element name="EmailAddress" type="string"/>
</sequence>
</complexType>
<complexType name="USAddress">
<sequence>
<element name="Name" type="po:Name"/>
<element name="Address" type="po:Address"/>
</sequence>
</complexType>
<complexType name="Address">
<sequence>
<element name="Street" type="string"/>
<element name="City" type="string"/>
<element name="State" type="string"/>
<element name="Zip" type="string"/>
<element name="Country" type="string"/>
</sequence>
</complexType>
<complexType name="Name">
<sequence>
<element name="First" type="string"/>
<element name="Last" type="string"/>
</sequence>
</complexType>
<complexType name="ItemType">
<sequence>
<element name="ProductName" type="string"/>
<element name="itemType" type="string"/>
<element name="partnum" type="string"/>
<element name="price" type="decimal"/>
<element name="Quantity" type="decimal"/>
</sequence>
</complexType>
<complexType name="OrderItemsType">
<sequence>
<element name="Item" type="po:ItemType" minOccurs="0" maxOccurs="unbounded">
</element>
</sequence>
</complexType>
</schema>
POAcknowledge.xsd:
In this schema i have changed target namespace with "http://www.globalcompany.com/ns/sales" which was actually
"http://www.thiscompany.com/ns/sales" provided with bpel tutorial,by using this target namespace i got error,so i have done this modification..
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.globalcompany.com/ns/sales"
xmlns:o1="http://www.globalcompany.com/ns/sales">
<element name="POAcknowledge" type="o1:POAcknowledgeType"/>
<complexType name="POAcknowledgeType">
<sequence>
<element name="CustomerID" type="string"/>
<element name="ID" type="string"/>
<element name="ShippingAddress" type="o1:USAddress"/>
<element name="BillingAddress" type="o1:USAddress"/>
<element name="Items" type="o1:Items"/>
<element name="Ack" type="o1:Acknowledgement"/>
</sequence>
</complexType>
<complexType name="AccountType">
<sequence>
<element name="AccountNumber" type="string"/>
</sequence>
</complexType>
<complexType name="USAddress">
<sequence>
<element name="Name" type="string"/>
<element name="Address" type="o1:Address"/>
</sequence>
</complexType>
<complexType name="Address">
<sequence>
<element name="Street" type="string"/>
<element name="City" type="string"/>
<element name="State" type="string"/>
<element name="Zip" type="decimal"/>
<element name="Country" type="string"/>
</sequence>
</complexType>
<complexType name="Items">
<sequence>
<element name="ProductName" type="string"/>
<element name="Quantity" type="decimal"/>
<element name="USPrice" type="decimal"/>
<element name="ShippingDate" type="date"/>
<element name="PartNumber" type="string"/>
</sequence>
</complexType>
<complexType name="Acknowledgement">
<sequence>
<element name="OrderDate" type="date"/>
<element name="OrderPrice" type="decimal"/>
<element name="OrderStatus" type="string"/>
<element name="SupplierName" type="string"/>
<element name="SupplierPrice" type="decimal"/>
</sequence>
</complexType>
</schema>
Thnanks for the help.
Regards,
Suresh -
Faulted while invoking operation "DatabaseAdapterSelect"
Hi, am having the following fault in Jdev 11g:
Faulted while invoking operation "DatabaseAdapterSelect" on provider "DatabaseAdapter".
12345 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'DatabaseAdapterSelect' failed due to: JCA Binding Component connection issue. JCA Binding Component is unable to create an outbound JCA (CCI) connection. Project1:DatabaseAdapter [ DatabaseAdapter_ptt::DatabaseAdapterSelect(DatabaseAdapterSelect_inputParameters,EmployeeCollection) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/MyDb'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/MyDb. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/DB/MyDb'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/DB/MyDb. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server null
i am facing this problem when i run/test my POC.
it says something like "*JCA Binding execute of Reference operation 'DatabaseAdapterSelect' failed due to: JCA Binding Component connection issue.*"
How can i solve the above problem ?Here's the copy of the WSDL File...
<?binding.jca CreditTable_db.jca?>
<wsdl:definitions name="CreditTable" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/Gaurav_Apps/Order_CreditValidate/CreditTable%2F" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/Gaurav_Apps/Order_CreditValidate/CreditTable%2F" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/CreditTable">
<plt:partnerLinkType name="CreditTable_plt">
<plt:role name="CreditTable_role">
<plt:portType name="tns:CreditTable_ptt"/>
</plt:role>
</plt:partnerLinkType>
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/CreditTable" schemaLocation="xsd/CreditTable_table.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="CreditTableSelect_inputParameters">
<wsdl:part name="CreditTableSelect_inputParameters" element="top:CreditTableSelect_CC_TYPE_PARAM_CARD_NUMBER_PARAMInputParameters"/>
</wsdl:message>
<wsdl:message name="CreditCardMasterCollection_msg">
<wsdl:part name="CreditCardMasterCollection" element="top:CreditCardMasterCollection"/>
</wsdl:message>
<wsdl:portType name="CreditTable_ptt">
<wsdl:operation name="CreditTableSelect">
<wsdl:input message="tns:CreditTableSelect_inputParameters"/>
<wsdl:output message="tns:CreditCardMasterCollection_msg"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions> -
Faulted while invoking operation "execute" on provider "OrderFulfillment".
faulted while invoking operation "execute" on provider "OrderFulfillment".
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
These are the exceptions i have received while running the sample soademo application in the postfulfillementreq scope.
help me out with this exception.Unable to proceed furtherHi
I have a problem. my process is closed but I have error and appears message like below.
Faulted while invoking operation "UpdateInstalledProduct" on provider "InstalledProductService"
<messages><input><UpdateInstalledProductRequestMsg><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameter"><UpdateInstalledProductRequest xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductRequest.V1">
<UpdateInstalledProductArgs>
<RF_IPRD_WS_WRK class="R" xmlns="urn:oracle.enterprise.crm.data.UpdateInstalledProductArgs.V1">
<Setid>COM01</Setid>
<InstalledProductID>INS0252365</InstalledProductID>
<AssetType/>
<AssetSubtype/>
<ContactID/>
<ContactRoleTypeID/>
<ProductID/>
<InventoryItemID/>
<SerialID/>
<AssetTag/>
<OrderDate/>
<ShipDate/>
<InstalledDate/>
<SiteID/>
<PersonID/>
<DepartmentID/>
<Location/>
<ProductOwnership/>
<DistributorID/>
<DistributorContact/>
<PoID/>
<CaptureID/>
<ExternalID/>
<LineNumber/>
<ConfigurationCode/>
<Environment/>
<Platform/>
<Network/>
<OperatingSystem/>
<UserInterface/>
<OperatingSystemVersion/>
<ManufacturingID/>
<Model/>
<ParentInstalledProductID/>
<AuthorizationCode/>
<RegisteredDate/>
<Comments/>
<AccountID/>
<ParentAccountID/>
<SponsoredAccountID/>
<RBTExternalID/>
<RBTLineNumber/>
<ServiceEndDate/>
<Schedule/>
<AgreementCode/>
<Service/>
<ResumeDate/>
<PhoneNumber/>
<PhoneTemp/>
<PacCode/>
<PacDate/>
<PortinDate/>
<DisconnectDate>2008-06-05</DisconnectDate>
<SuspendDate/>
<RecurPrice/>
<CurrencyCode/>
<Market/>
<RF_IPRDS_WS_WRK class="R">
<InstalledProductStatus>PDI</InstalledProductStatus>
<InstalledProductReason/>
<Quantity>1</Quantity>
</RF_IPRDS_WS_WRK>
<RF_IPRDW_WS_WRK/>
<RF_IPRDA_WS_WRK/>
</RF_IPRD_WS_WRK>
</UpdateInstalledProductArgs>
</UpdateInstalledProductRequest>
</part></UpdateInstalledProductRequestMsg></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html</summary>
</part></remoteFault></fault></messages>
If someone have any suggestions please write.
Thanks in advance -
SOA Humantask :Faulted while invoking operation "initiateTask" on provider "TaskService"
Hi,
iam new to Oracle SOA humanask,
Iam migrating SOA 10.1.1.3 to SOA 11.1.1.7.
After migration of BPEL Humantask process,iam getting "Faulted while invoking operation "initiateTask" on provider "TaskService" in audit trail as below.
Can you please suggest me.
initiateTask_GenericHumanTask (faulted)
Jan 29, 2014 3:39:30 PM Started invocation of operation "initiateTask" on partner "TaskService".
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Faulted while invoking operation "initiateTask" on provider "TaskService".
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
<messages>
<input>
<initiateTaskInput>
<part name="payload">
<initiateTask>
<task>
<title>a</title>
<payload>
<BPELGenericHumanTaskProcessRequest>
<ns1:SERVICE_ID>a</ns1:SERVICE_ID>
<ns1:SERVICE_TYPE>a</ns1:SERVICE_TYPE>
<ns1:APPLICATION_ID>a</ns1:APPLICATION_ID>
<ns1:TASK_TITLE>a</ns1:TASK_TITLE>
<ns1:FLEXATTR1>a</ns1:FLEXATTR1>
<ns1:FLEXATTR2>a</ns1:FLEXATTR2>
<ns1:FLEXATTR3>a</ns1:FLEXATTR3>
<ns1:FLEXATTR4>a</ns1:FLEXATTR4>
<ns1:FLEXATTR5>a</ns1:FLEXATTR5>
<ns1:FLEXATTR6>a</ns1:FLEXATTR6>
<ns1:FLEXATTR7>a</ns1:FLEXATTR7>
<ns1:FLEXATTR8>a</ns1:FLEXATTR8>
<ns1:FLEXATTR9>a</ns1:FLEXATTR9>
<ns1:FLEXATTR10>a</ns1:FLEXATTR10>
</BPELGenericHumanTaskProcessRequest>
</payload>
<taskDefinitionURI>http://devapp1.dsoa.loc:8001/soa-infra/services/default/BPELGenericHumanTask!1.0*soa_d6763166-24c8-4c7b-9635-a48bb75fa718/GenericHumanTask/GenericHumanTask.task</taskDefinitionURI>
<ownerUser>bpeladmin</ownerUser>
<priority>NaN</priority>
<processInfo>
<domainId/>
<instanceId>130093</instanceId>
<processId>BPELGenericHumanTask</processId>
<processName>BPELGenericHumanTask</processName>
<processType>BPEL</processType>
<processVersion>1.0</processVersion>
</processInfo>
<systemMessageAttributes>
<textAttribute1>a</textAttribute1>
</systemMessageAttributes>
<identificationKey>a</identificationKey>
</task>
</initiateTask>
</part>
</initiateTaskInput>
</input>
<fault>
<bpelFault>
<faultType>1</faultType>
<operationErroredFault>
<part name="payload">
<operationErroredFault>
<faultInfo>java.lang.NullPointerException</faultInfo>
</operationErroredFault>
But finally it gives result as below:
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewerAssign_OnTaskInitiate
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
Jan 29, 2014 3:39:30 PM Updated variable "Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable"
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Error in evaluate <from> expression at line "288". The result is empty for the XPath expression : "/task:task/task:systemAttributes/task:taskId".
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
<task/>
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Error in evaluate <from> expression at line "296". The result is empty for the XPath expression : "/task:task/task:systemAttributes/task:taskNumber".
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
<task/>
Jan 29, 2014 3:39:30 PM Completed assign
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewerInvoke_OnTaskInitiate
Jan 29, 2014 3:39:30 PM Started invocation of operation "OnInitiateSQLCallback" on partner "OnInitiateSQLCallback".
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer Jan 29, 2014 3:39:30 PM Invoked 2-way operation "OnInitiateSQLCallback" on partner "OnInitiateSQLCallback".
http://10.3.15.103:7777/em/faces/ai/soa/messageFlow?target=/Farm_dev_soadomain/dev_soadomain/soa_server1/default/BPELGenericHumanTask%20[1.0]&type=oracle_soa_composite&soaContext=default/BPELGenericHumanTask!1.0/130090&_afrLoop=7196617049244183&_afrWindowMode=0&_afrWindowId=oracle_sysman_soa_trace_viewer<payload>
<messages>
<Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable>
<part name="InputParameters">
<InputParameters>
<db:P_SERVICE_ID>a</db:P_SERVICE_ID>
<db:P_SERVICE_TYPE>a</db:P_SERVICE_TYPE>
<db:P_APPLICATION_ID>a</db:P_APPLICATION_ID>
<db:P_BPEL_TASK_NUMBER xsi:nil="true"/>
<db:P_BPEL_TASK_ID xsi:nil="true"/>
<db:P_FLEXATTR1>a</db:P_FLEXATTR1>
<db:P_FLEXATTR2>a</db:P_FLEXATTR2>
<db:P_FLEXATTR3>a</db:P_FLEXATTR3>
<db:P_FLEXATTR4>a</db:P_FLEXATTR4>
<db:P_FLEXATTR5>a</db:P_FLEXATTR5>
<db:P_FLEXATTR6>a</db:P_FLEXATTR6>
<db:P_FLEXATTR7>a</db:P_FLEXATTR7>
<db:P_FLEXATTR8>a</db:P_FLEXATTR8>
<db:P_FLEXATTR9>a</db:P_FLEXATTR9>
<db:P_FLEXATTR10>a</db:P_FLEXATTR10>
</InputParameters>
</part>
</Invoke_OnTaskInitiate_OnInitiateSQLCallback_InputVariable>
<Invoke_OnTaskInitiate_OnInitiateSQLCallback_OutputVariable>
<part name="OutputParametersI have same issue
-
Could not invoke operation against the DB adapter due to BINDING. JCA-11812
Hi,
We are getting the following binding error BINDING. JCA-11812.
Could not invoke operation against the DB adapter due to BINDING. JCA-11812 due to interaction processing error.
Procedure(InputParameters,OutputParameters) ] Could not invoke operation against the 'Database Adapter' due to:
BINDING.JCA-11812
Interaction processing error.
Error while processing the execution of the Procedure API interaction.
An error occurred while processing the interaction for invoking the Procedure API. Cause: java.lang.NullPointerException
Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake.
Can anyone let me know what caused this error?
Thanks,
ChanduHi:
This message : Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake.
seems that what u r sending to the DBAdapter, does not conform to the XSD that represent the message on that particular operation.
Could u pls double check that?
thx
best -
Can I simply reinstall CS4 to resolve my operation problems?
Can I simply reinstall Adobe CS4 (design std) on my Mac OS X to resolve my operation problems, such as "Unknown error" messges while using Ai and ID. My software has been trouble free for about a yr and half and suddenly several odd problems popped up in the last few months. If you think reinstalling will help, please give me a general direction for doing so. Thanks in advance!
Hello,
I heard that holding CMD+Option+r at bootup connects to Apple's servers & Lion download, hasn't been confirmed yet. -
Hi all,
I have a problem invoking a small process inside a bigger process. I get the following error:
2007-12-10 14:38:00,206 ERROR [com.adobe.workflow.AWS] stalling action-instance: 4545 with message: ALC-DSC-121-000: com.adobe.idp.dsc.registry.InputParameterNotFoundException: Operation: invoke not found on service: Send mails to receiver
at com.adobe.idp.dsc.registry.infomodel.impl.OperationImpl.getInputParameter(OperationImpl.j ava:175)
at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:480)
at com.adobe.workflow.engine.ProcessEngineBMTBean.continueBranchAtAction(ProcessEngineBMTBea n.java:2881)
at com.adobe.workflow.engine.ProcessEngineBMTBean.asyncContinueBranchCommand(ProcessEngineBM TBean.java:2380)
at sun.reflect.GeneratedMethodAccessor898.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
I can understand the error, but I don't know what I can do to fix the problem. The process is activated and I have set invoke permissions to the process creator. However I still get this error.
Hope you can help.
Sincerely
Kim ChristensenDoes you "smaller" process contain Input variables. Are you providing the value for the inputs parameters when you call the "smaller" process from the "bigger" process.
How are you invoking the "smaller" process from the "bigger" process. Are you just dragging the "smaller" process's service on the "bigger" process? Are you using the web service interface?
Jasmin -
Invoking operations from a jsp correlation error
Hi, Im a student in Informatics at the University of Turin (Italy).
On December Im graduating and so Im finishing my stage about web services and BPEL, that actually is the object of my thesis.
To realize my stage Ive used the Oracle BPEL Process Manager and Ive created an asynchronous process whose port types are the following.
<!-- portType implemented by the NewYorkPrenotazione BPEL process -->
<portType name="NewYorkPrenotazione">
<operation name="initiate">
<input message="tns:NewYorkPrenotazioneRequestMessage"/>
</operation>
<operation name="complete">
<input message="tns:DatiUtenteMessage"/>
</operation>
</portType>
<!-- portType implemented by the requester of NewYorkPrenotazione BPEL process for asynchronous callback purposes -->
<portType name="NewYorkPrenotazioneCallback">
<operation name="onResult">
<input message="tns:NewYorkPrenotazioneResponseMessage"/>
</operation>
</portType>
My problem is very simple. If I invoke my process from the BPEL console and then complete it with the complete operation (always from the console), everything goes right and the process completes successfully.
Instead, if I want to invoke and complete my process by jsps it doesnt work because of correlation problems. To invoke it from my jsp I use the instruction
deliveryService.post("NewYorkPrenotazione", "initiate", nm);
and thats ok, but after that I cant invoke the second operation, complete, from another jsp using the same signature, because the server cant find the right instance of my process since Im indicating only the processId while it needs the instance id.
The top of the stack is the following.
500 Internal Server Error
java.rmi.RemoteException: Correlation definition not registered.
The correlation set definition for operation "complete", process "NewYorkPrenotazione", has not been registered with the process domain.
Please try to redeploy your process to the process domain.
at com.oracle.bpel.client.dispatch.BaseDispatcherService.continuePostAnyType(BaseDispatcherService.java:727)
at com.oracle.bpel.client.dispatch.BaseDispatcherService.continuePost(BaseDispatcherService.java:646)
at com.oracle.bpel.client.dispatch.BaseDispatcherService.post(BaseDispatcherService.java:238)
at com.oracle.bpel.client.dispatch.DispatcherService.post(DispatcherService.java:66)
at com.oracle.bpel.client.dispatch.DeliveryService.post(DeliveryService.java:173)
at com.oracle.bpel.client.dispatch.DeliveryService.post(DeliveryService.java:132)
at concludiNYPreno.jspService(_concludiNYPreno.java:91)
[SRC:/concludiNYPreno.jsp:56]
at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
etc..
How can I resolve my correlation problem?
If I can find the solution I could finish my stage and this would be great for me.
If I havent been clear enough just tell me.
Thanks in advance.
JessicaSorry, but I think there are problems with copy and paste, 'cause I can see that in my preview.
well, this is my first jsp which invokes the first operation.
<%@page import="com.oracle.bpel.client.Locator" %>
<%@page import="com.oracle.bpel.client.NormalizedMessage" %>
<%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
<html> .....
<body>
<%
// Estrazione dei campi della form
String dataPartenza = request.getParameter("dataPartenza");
String dataRitorno = request.getParameter("dataRitorno");
String nroPersone = request.getParameter("nroPersone");
String cameraSingola = request.getParameter("cameraSingola");
String cameraDoppia = request.getParameter("cameraDoppia");
String cameraMatrimoniale = request.getParameter("cameraMatrimoniale");
String tipologia = request.getParameter("tipologia");
String aereoporto = request.getParameter("aereoporto");
String compagnia = request.getParameter("compagnia");
String assicurazione = request.getParameter("assicurazione");
String noleggioAuto = request.getParameter("noleggioAuto");
String statuaLiberta = request.getParameter("statuaLiberta");
String manhattan = request.getParameter("manhattan");
String musei = request.getParameter("musei");
// Creazione del documeto XML da inviare al processo BPEL
String xml = "<NewYorkPrenotazioneRequest xmlns=\"http://tutorial.oracle.com\">"
+ "<dettagliViaggio>"
+ "<dataPartenza>" + dataPartenza + "</dataPartenza>"
+ "<dataRitorno>" + dataRitorno + "</dataRitorno>"
+ "<nroPersone>" + nroPersone + "</nroPersone>"
+ "</dettagliViaggio>"
+ "<dettagliHotel>"..........................
+ "</dettagliHotel>"
+ "<dettagliVolo>"................
+ "</dettagliVolo>"
+ "<dettagliGite>"........
+ "</dettagliGite>"
+ "<prezzoTotale/>"
+ "</NewYorkPrenotazioneRequest>";
// Connessione al server BPEL Oracle
Locator locator = new Locator("default","bpel");
IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
// Creazione di un messaggio normalizzato e invio all'Oracle BPEL Process Manager
NormalizedMessage nm = new NormalizedMessage();
nm.addPart("payload", xml);
// Inizializzazione del processo NewYorkPrenotazione
deliveryService.post("NewYorkPrenotazione", "initiate", nm);
%>
</body>
</html>
and then this is my second jsp that should invoke the operation complete but.. instead, gives the 500 error
<%@page import="com.oracle.bpel.client.Locator" %>
<%@page import="com.oracle.bpel.client.NormalizedMessage" %>
<%@page import="com.oracle.bpel.client.dispatch.IDeliveryService" %>
<html>..........
<body>
<%
// Estrazione dei campi della form
String nome = request.getParameter("nome");
String cognome = request.getParameter("cognome");
String via = request.getParameter("via");
String numero = request.getParameter("numero");
String citta = request.getParameter("citta");
String provincia = request.getParameter("provincia");
String cap = request.getParameter("cap");
String stato = request.getParameter("stato");
String numeroCC = request.getParameter("numeroCC");
String scadenza = request.getParameter("scadenza");
// Creazione del documeto XML da inviare al processo BPEL
String xml = "<DatiUtente xmlns=\"http://tutorial.oracle.com\">"
+ "<cognome>" + cognome + "</cognome>"
+ "<nome>" + nome + "</nome>"
+ "<indirizzo>"................
+ "</indirizzo>"
+ "<cartaCredito>"
+ "<numero xmlns=\"http://definizioni.com\">" + numeroCC + "</numero>"
+ "<scadenza xmlns=\"http://definizioni.com\">" + scadenza + "</scadenza>"
+ "</cartaCredito>"
+ "</DatiUtente>";
// Connessione al server BPEL Oracle
Locator locator = new Locator("default","bpel");
IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
// Creazione di un messaggio normalizzato e invio all'Oracle BPEL Process Manager
NormalizedMessage nm = new NormalizedMessage();
nm.addPart("payload", xml);
// Invocazione dell'operazione complete del processo NewYorkPrenotazione
deliveryService.post("NewYorkPrenotazione", "complete", nm);
%>
</body>
</html>
Now that you can see my code, have I to add the instructions you wrote?
Thank you very much for your help!
Jessica -
JMX over t3 problem (WLS 10.0)
Has anyone attempted to retrieve JMX data from a WebLogic 10 instance and succeeded? I am attempting to connect to a out-of-the-box installation of Weblogic Server. I am using the sample code at http://e-docs.bea.com/wls/docs100/jmx/accessWLS.html#wp1112969, yet whenever I connect I get the exception pasted below. Nothing shows up in the servers logs, but I have verified with TCPdump that the connection is occurring.
If I connect via iiop instead of t3 and set a default name/password on the iiop config page, it works. Doing so is rather insecure so I'd like to avoid that.
The exception is:
Exception in thread "main" java.io.IOException
at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:326)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
at MyConnection.initConnection(MyConnection.java:55)
at MyConnection.main(MyConnection.java:123)
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException]
at weblogic.jrmp.Context.lookup(Context.java:189)
at weblogic.jrmp.Context.lookup(Context.java:195)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:144)
... 5 more
Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.io.EOFException
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:273)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:306)
at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
at weblogic.jrmp.Context.lookup(Context.java:185)
... 8 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:243)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:215)
... 13 moreIt turned out my problem was my classpath. I pared it down to just wlclient.jar and wljxmclient.jar and that did it.
-
I have a method resend(int startSeq, int endSeq) in my MBean.
How can i invoke that ...
I am doing as below
Object[] objParams = new Object[]{"10","11"};
String[] sigParams = new String[]{"int","int"};
Object obj = mbsc.invoke(name2, "resend", objParams, sigParams);
but i get the error
Can not find operation [resend] with signature [[Ljava.lang.String;@b7bf2b]
please advice
Thanks
GouthamIf your MBean is a Standard MBean or MXBean, another possibility is to create a proxy in the code that wants to call the resend method. If you are using JDK 6, you can use JMX.newMBeanProxy or JMX.newMXBeanProxy. If you are using JDK 5, you can use MBeanServerInvocationHandler.newProxyInstance.
Assuming you're on JDK 6 and your MBean interface is SenderMBean, the code would look like this:
SenderMBean proxy = JMX.newMBeanProxy(mbsc, name2, SenderMBean.class);
Object obj = proxy.resend(10, 11);This is much easier than figuring out the signature to use in MBeanServer.invoke.
Regards,
�amonn McManus -- JMX Spec Lead -- http://weblogs.java.net/blog/emcmanus -
Query Region Update Operation problem
Hi All,
I have one Query region in Oracle seeded page.
In Query region one table is there.
My Client Requirement is he wants to add one text input field in table. so that user can enter comments in text input field.
He also wants Update button as a Table Action and when he clicks on Update, this comments should get store into Database.
I want to know that Update operation is possible in Query region's table.because when i handle event in controller, it gives me Following Exception.
Logout
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
at oracle.apps.po.common.server.PoBaseAMImpl.executeServerCommand(PoBaseAMImpl.java:115)
at oracle.apps.po.autocreate.server.ReqLinesVOImpl.executeQueryForCollection(ReqLinesVOImpl.java:67)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:437)
at xxadat.oracle.apps.po.autocreate.webui.XXADATAttr15CO.processFormRequest(XXADATAttr15CO.java:73)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:815)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormRequest(OAStackLayoutBean.java:370)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:382)
at oracle.apps.fnd.framework.webui.beans.layout.OARowLayoutBean.processFormRequest(OARowLayoutBean.java:366)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1027)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.beans.table.OAMultipleSelectionBean.processFormRequest(OAMultipleSelectionBean.java:481)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1042)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:993)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:848)
at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(OAAdvancedTableHelper.java:1671)
The page which i have cutomized is /oracle/apps/po/autocreate/webui/ReqSearchPG.
It is on R12.
Can anybody throw some points on this?
Regards
HiteshHi,
I got the problem,
It is a standard functionality of oracle that we can not update Requisitions which are approved.
My client requirement is that after approval of Requisition, he wants to update the Requisition.
I said that it is not possible in Forms as well as OAF.
The system will not allow to update Requisition once it is approved.
Regards
Hitesh
Maybe you are looking for
-
WHy can't you create several triggers in one single script ?
Hi i did a lot of sql requests to create triggers and now i want them to be executed all one after one, so i made a script with all the requests in it, problem is that only the first one executes, why ? here are the first two requests from the code:
-
Ive been using logic for a while now and this has never been a problem. When I record audio lets say vocals and I have the overlap option on, when we swing around for a new take because he or she mess up why does the audio underneath not go away. Ans
-
trying to get macbook to recognize galaxy note 2,need alot of help
-
Windows 7 Home Premium Any solution, configuration, updated drivers? I have selected the Boost Bass check box, but still the sound seems like coming from a can... Thanks.
-
XSL - Bpel produces different (incorrect) results ?
I have a transformation that sets an address based on on of three supplied addresses in the source xml. It's basically a nested choice: choice when address3 output address 3 else choice when address 2 output address 2 else output address 1 (always su