Java Code to be executed on Oracle Service Bus startup

Hello
I have a problem that i would hope to find some help on the best practices given my specific requirements.
I need to have a piece of java code executed on every startup of my OSB server. This piece of code's function is part of an OSB project, and I need the Jar to be in a folder inside that project.
I'm avoiding creating an external project so I don't have to give support and write documentation to two projects instead of one.
Can somebody help me please?
Best Regards
Hélder Ribeiro

I dont't have visibility on your requirements and the technical details. They way you've described doesn't seem to be the best way to implement it.
But if you want to do this anyway, you can use weblogic startup class to invoke a webservice exposed by your osb project, which will invoke a java method in a class inside the jar under your osb poject.
In the class which will be invoked by the weblogic startup class, you will have to retrieve the managed server host and port.
Regards,
Fabio Douek.

Similar Messages

  • Access Oracle Service Bus objects from within a PBL program

    Followed instructions from Studio Reference documentation for cataloging Oracle Service Bus objects and embedded sample code but encountered http 404 not found error. Is there anyway to trace the call made to the Service Bus? I change the log message severity level for Workspace application to debug but the call is not logged. The following is the output from the log:
    ================Oracle® BPM - WorkSpace================
    RUNTIME:fuego.papi.exception.ActivityFailedException: Activity '/ExpenseReport#Default-1.0/GlobalCreation[CreateExpenseReport]' task '' could not execute successfully.
    RUNTIME:Detail:Method: '', Exception: 'The method 'CIL_createExpenseReportCreateExpenseReportIN' from class 'oracle.ExpenseReport.Default_1_0.Instance' could not be successfully executed.'
    RUNTIME:
    RUNTIME:     at fuego.papi.exception.ActivityFailedException.create(ActivityFailedException.java:66)
    RUNTIME:     at fuego.server.AbstractProcessBean.createActivityFailedException(AbstractProcessBean.java:3561)
    RUNTIME:     at fuego.fengine.FEngineProcessBean.createActivityFailedException(FEngineProcessBean.java:371)
    RUNTIME:     at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2968)
    RUNTIME:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    RUNTIME:     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    RUNTIME:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    RUNTIME:     at java.lang.reflect.Method.invoke(Unknown Source)
    RUNTIME:     at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    RUNTIME:     at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    RUNTIME:     at fuego.component.Message.process(Message.java:585)
    RUNTIME:     at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
    RUNTIME:     at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
    RUNTIME:     at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
    RUNTIME:     at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
    RUNTIME:     at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
    RUNTIME:     at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
    RUNTIME:     at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    RUNTIME:     at fuego.component.CustomExecution.next(CustomExecution.java:176)
    RUNTIME:     at fuego.papi.impl.rmi.RMIExecution.next(RMIExecution.java:109)
    RUNTIME:     at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:177)
    RUNTIME:     at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
    RUNTIME:     at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:223)
    RUNTIME:     at fuego.web.papi.TaskExecutor.runApplicationTask(TaskExecutor.java:349)
    RUNTIME:     at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:95)
    RUNTIME:     at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117)
    RUNTIME:     at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229)
    RUNTIME:     at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220)
    RUNTIME:     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    RUNTIME:     at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:83)
    RUNTIME:     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    RUNTIME:     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    RUNTIME:     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    RUNTIME:     at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
    RUNTIME:     at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    RUNTIME:     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    RUNTIME:     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    RUNTIME:     at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
    RUNTIME:     at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
    RUNTIME:     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    RUNTIME:     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    RUNTIME:     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    RUNTIME:     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    RUNTIME:     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    RUNTIME:     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    RUNTIME:     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    RUNTIME:     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    RUNTIME:     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    RUNTIME:     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    RUNTIME:     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    RUNTIME:     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    RUNTIME:     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    RUNTIME:     at java.lang.Thread.run(Unknown Source)
    RUNTIME:Caused by: fuego.lang.ComponentExecutionException: The method 'CIL_createExpenseReportCreateExpenseReportIN' from class 'oracle.ExpenseReport.Default_1_0.Instance' could not be successfully executed.
    RUNTIME:     at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:519)
    RUNTIME:     at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:273)
    RUNTIME:     at fuego.fengine.FEEngineExecutionContext.invokeMethodAsCil(FEEngineExecutionContext.java:219)
    RUNTIME:     at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1280)
    RUNTIME:     at fuego.server.execution.TaskExecution.invoke(TaskExecution.java:401)
    RUNTIME:     at fuego.server.execution.GlobalTaskExecution.invoke(GlobalTaskExecution.java:146)
    RUNTIME:     at fuego.server.execution.TaskExecution.executeCIL(TaskExecution.java:513)
    RUNTIME:     at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:697)
    RUNTIME:     at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:657)
    RUNTIME:     at fuego.server.execution.TaskExecution.executeTask(TaskExecution.java:154)
    RUNTIME:     at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:116)
    RUNTIME:     at fuego.server.execution.GlobalTaskExecution.executeGlobalCIL(GlobalTaskExecution.java:96)
    RUNTIME:     at fuego.server.execution.microactivity.GlobalCreationMicroActivity.execute(GlobalCreationMicroActivity.java:109)
    RUNTIME:     at fuego.server.execution.microactivity.GlobalInteractiveMicroActivity.execute(GlobalInteractiveMicroActivity.java:73)
    RUNTIME:     at fuego.server.AbstractProcessBean$44.execute(AbstractProcessBean.java:2961)
    RUNTIME:     at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
    RUNTIME:     at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
    RUNTIME:     at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
    RUNTIME:     at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
    RUNTIME:     at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
    RUNTIME:     at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
    RUNTIME:     at fuego.server.AbstractProcessBean.runGlobalActivity(AbstractProcessBean.java:2954)
    RUNTIME:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    RUNTIME:     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    RUNTIME:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    RUNTIME:     at java.lang.reflect.Method.invoke(Unknown Source)
    RUNTIME:     at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
    RUNTIME:     at fuego.lang.JavaObject.invoke(JavaObject.java:227)
    RUNTIME:     at fuego.component.Message.process(Message.java:585)
    RUNTIME:     at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
    RUNTIME:     at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
    RUNTIME:     at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
    RUNTIME:     at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
    RUNTIME:     at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
    RUNTIME:     at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
    RUNTIME:     at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    RUNTIME:Caused by: fuego.lang.RuntimeCILExecutionException: <?xml version="1.0" encoding="UTF-8" ?>
    RUNTIME:<string>return code: 404
    RUNTIME:&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Draft//EN&quot;&gt;
    RUNTIME:&lt;HTML&gt;
    RUNTIME:&lt;HEAD&gt;
    RUNTIME:&lt;TITLE&gt;Error 404--Not Found&lt;/TITLE&gt;
    RUNTIME:&lt;META NAME=&quot;GENERATOR&quot; CONTENT=&quot;WebLogic Server&quot;&gt;
    RUNTIME:&lt;/HEAD&gt;
    RUNTIME:&lt;BODY bgcolor=&quot;white&quot;&gt;
    RUNTIME:&lt;FONT FACE=Helvetica&gt;&lt;BR CLEAR=all&gt;
    RUNTIME:&lt;TABLE border=0 cellspacing=5&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR CLEAR=all&gt;
    RUNTIME:&lt;FONT FACE=&quot;Helvetica&quot; COLOR=&quot;black&quot; SIZE=&quot;3&quot;&gt;&lt;H2&gt;Error 404--Not Found&lt;/H2&gt;
    RUNTIME:&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
    RUNTIME:&lt;/TABLE&gt;
    RUNTIME:&lt;TABLE border=0 width=100% cellpadding=10&gt;&lt;TR&gt;&lt;TD VALIGN=top WIDTH=100% BGCOLOR=white&gt;&lt;FONT FACE=&quot;Courier New&quot;&gt;&lt;FONT FACE=&quot;Helvetica&quot; SIZE=&quot;3&quot;&gt;&lt;H3&gt;From RFC 2068 &lt;i&gt;Hypertext Transfer Protocol -- HTTP/1.1&lt;/i&gt;:&lt;/H3&gt;
    RUNTIME:&lt;/FONT&gt;&lt;FONT FACE=&quot;Helvetica&quot; SIZE=&quot;3&quot;&gt;&lt;H4&gt;10.4.5 404 Not Found&lt;/H4&gt;
    RUNTIME:&lt;/FONT&gt;&lt;P&gt;&lt;FONT FACE=&quot;Courier New&quot;&gt;The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.&lt;/p&gt;&lt;p&gt;If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.&lt;/FONT&gt;&lt;/P&gt;
    RUNTIME:&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
    RUNTIME:&lt;/TABLE&gt;
    RUNTIME:
    RUNTIME:&lt;/BODY&gt;
    RUNTIME:&lt;/HTML&gt;
    RUNTIME:</string>
    RUNTIME:
    RUNTIME:     at fuego.components.ScreenFlow.rethrowUserException(ScreenFlow.java:274)
    RUNTIME:     at fuego.components.ScreenFlow.propagateParentException(ScreenFlow.java:239)
    RUNTIME:     at xobject.Fuego__AutoGen__Screenflows__.__SubmitReport.Begin_Invocator(__SubmitReport.xcdl:13)
    RUNTIME:     at oracle.ExpenseReport.Default_1_0.Instance.CIL_createExpenseReportCreateExpenseReportIN(Instance.xcdl:3)
    RUNTIME:     at oracle.ExpenseReport.Default_1_0.Instance.CIL_createExpenseReportCreateExpenseReportIN(Instance.xcdl)
    RUNTIME:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    RUNTIME:     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    RUNTIME:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    RUNTIME:     at java.lang.reflect.Method.invoke(Unknown Source)
    RUNTIME:     at fuego.component.ExecutionThreadContext.invokeMethod(ExecutionThreadContext.java:512)
    RUNTIME:     ... 35 more

    You are receiving a 404 error which means that the binding to the SB is not correct or there is a problem with the SB end part of the integration.
    Are you able to test this successfully from an automatic activity for example aside from trying to use it within a screenflow ?
    Thanks !
    eduardoc.

  • Oracle Service Bus "ThreadPool has stuck threads"

    Hi all,
    I have JMS Proxy service that listen to the queue, with small quantity of message every second, it works great.
    But after put message with bigger quantity and faster insertion on queue, the proxy service cannot
    pull the message anymore, the error message is "STUCK THREAD", it makes the weblogic console give warning status.
    This is the Dump Thread Stacks :
    ===== FULL THREAD DUMP ===============
    Tue Jun 8 11:30:24 2010
    BEA JRockit(R) R27.6.1-20-104573-1.6.0_05-20081016-1236-linux-ia32
    "Main Thread" id=1 idx=0x4 tid=7168 prio=5 alive, in native, waiting
    -- Waiting for notification on: weblogic/t3/srvr/T3Srvr@0x1cd20688[fat lock]
    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
    at java/lang/Object.wait(J)V(Native Method)
    at java/lang/Object.wait(Object.java:485)
    at weblogic/t3/srvr/T3Srvr.waitForDeath(T3Srvr.java:811)
    ^-- Lock released while waiting: weblogic/t3/srvr/T3Srvr@0x1cd20688[fat lock]
    at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:459)
    at weblogic/Server.main(Server.java:67)
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    -- end of trace
    "(Signal Handler)" id=2 idx=0x8 tid=7169 prio=5 alive, in native, daemon
    "(GC Main Thread)" id=3 idx=0xc tid=7170 prio=5 alive, in native, native_waiting, daemon
    "(GC Worker Thread 1)" id=? idx=0x10 tid=7171 prio=5 alive, in native, daemon
    "(GC Worker Thread 2)" id=? idx=0x14 tid=7172 prio=5 alive, in native, daemon
    "(GC Worker Thread 3)" id=? idx=0x18 tid=7173 prio=5 alive, in native, daemon
    "(GC Worker Thread 4)" id=? idx=0x1c tid=7174 prio=5 alive, in native, daemon
    "(GC Worker Thread 5)" id=? idx=0x20 tid=7175 prio=5 alive, in native, daemon
    "(GC Worker Thread 6)" id=? idx=0x24 tid=7176 prio=5 alive, in native, daemon
    "(GC Worker Thread 7)" id=? idx=0x28 tid=7177 prio=5 alive, in native, daemon
    "(GC Worker Thread 8)" id=? idx=0x2c tid=7178 prio=5 alive, in native, daemon
    "(Code Generation Thread 1)" id=4 idx=0x30 tid=7179 prio=5 alive, in native, native_waiting, daemon
    "(Code Optimization Thread 1)" id=5 idx=0x34 tid=7180 prio=5 alive, in native, native_waiting, daemon
    "(VM Periodic Task)" id=6 idx=0x38 tid=7181 prio=10 alive, in native, daemon
    Is there any tuning that I need to do on Jrockit?
    Really thanks in advance.
    Regards,
    Mr.K

    Hi Eric,
    Thank you for the link, I'll try for increasing it.
    Hi Manoj,
    hope it'll give you some additional information for helping me.
    ####<Jun 8, 2010 10:43:44 AM WIT> <Error> <WebLogicServer> <cspproduction> <AdminServerOSB> <[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1275968624958> <BEA-000337> <[STUCK] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "653" seconds working on the request "weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl@39c79ac", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-50 "[STUCK] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, waiting, priority=1, DAEMON> {
    -- Waiting for notification on: weblogic.rjvm.ResponseImpl@39cf5b1[fat lock]
    java.lang.Object.wait(Object.java:???)
    weblogic.rjvm.ResponseImpl.waitForData(ResponseImpl.java:80)
    weblogic.rjvm.ResponseImpl.getTxContext(ResponseImpl.java:127)
    weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:236)
    weblogic.messaging.dispatcher.DispatcherProxy.dispatchSyncTranFuture(DispatcherProxy.java:133)
    weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:333)
    weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:384)
    weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)
    weblogic.jms.client.JMSProducer.toFEProducer(JMSProducer.java:1151)
    weblogic.jms.client.JMSProducer.deliveryInternal(JMSProducer.java:679)
    weblogic.jms.client.JMSProducer.sendInternal(JMSProducer.java:541)
    weblogic.jms.client.JMSProducer.sendWithListener(JMSProducer.java:366)
    weblogic.jms.client.JMSProducer.send(JMSProducer.java:353)
    weblogic.jms.client.WLProducerImpl.send(WLProducerImpl.java:1050)
    weblogic.jms.client.WLProducerImpl.send(WLProducerImpl.java:107)
    weblogic.deployment.jms.WrappedMessageProducer.send(WrappedMessageProducer.java:235)
    com.bea.wli.sb.transports.jms.JmsOutboundMessageContext$SendAction.sendMessage(JmsOutboundMessageContext.java:823)
    com.bea.wli.sb.transports.jms.JmsOutboundMessageContext$SendAction.run(JmsOutboundMessageContext.java:745)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:350)
    weblogic.security.service.SecurityManager.runAs(Unknown Source)
    weblogic.security.Security.runAs(Security.java:60)
    com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.send(JmsOutboundMessageContext.java:502)
    com.bea.wli.sb.transports.jms.JmsTransportProvider.sendMessageAsync(JmsTransportProvider.java:680)
    sun.reflect.GeneratedMethodAccessor302.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:575)
    com.bea.wli.sb.transports.Util$1.invoke(Util.java:56)
    $Proxy61.sendMessageAsync(Unknown Source)
    com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:136)
    com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:510)
    com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:477)
    com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:491)
    com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:405)
    com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:508)
    com.bea.wli.sb.pipeline.PipelineContextImpl.dispatch(PipelineContextImpl.java:486)
    stages.publish.runtime.PublishRuntimeStep.processMessage(PublishRuntimeStep.java:83)
    com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:343)
    com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:31)
    com.bea.wli.sb.pipeline.PipelineStage.processMessage(PipelineStage.java:84)
    com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:840)
    com.bea.wli.sb.pipeline.Pipeline.processMessage(Pipeline.java:140)
    com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:840)
    com.bea.wli.sb.pipeline.PipelineNode.doRequest(PipelineNode.java:51)
    com.bea.wli.sb.pipeline.Node.processMessage(Node.java:65)
    com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:840)
    com.bea.wli.sb.pipeline.Router.processMessage(Router.java:178)
    com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:39)
    com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:508)
    com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:506)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:350)
    weblogic.security.service.SecurityManager.runAs(Unknown Source)
    com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:487)
    com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:248)
    com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.java:79)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:???)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:27)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:575)
    com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:277)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:153)
    com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:86)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:153)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
    com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:100)
    com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:153)
    com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:148)
    $Proxy79.onMessage(Unknown Source)
    weblogic.ejb.container.internal.MDListener.execute(MDListener.java:403)
    weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:352)
    weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:264)
    weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4526)
    weblogic.jms.client.JMSSession.execute(JMSSession.java:4022)
    weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3708)
    weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5058)
    weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    That is error message from Oracle service bus console, it stated there is JMS Proxy service that got stuck.
    On previous post, I already attached the dump trace, it explained something about jrockit. But I still don't get the way for tuning it properly.
    Regards,
    Mr.K

  • Calling Oracle BPM Process Web Service from Oracle Service Bus

    Hi
    I am using Oracle Service Bus 10gR3.
    I have developed simple BPM process through Oracle BPM studio 10.3.1.0.I then followed steps below
    1. Create a Process.
    2. Expose the Process as a Web Service.
    3. Run the project. This starts the Process Execution Engine.
    4. Create an ALSB External Resource of type Management Host.
    5. Create a second ALSB External Resource for registration.
    6. Register the End Point
    Until this point everything is fine. Then I created one project through Oracle Service Bus console. Under that created WSDL, Proxy Service and Business Service Folders. I am using the web service created through BPM studio as teh Business Service in SB . I then created one proxy service to route the request to the Business Service.
    Finally when I try to test the Proxy Service by launching test console, I get the
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380001</con:errorCode>
    <con:reason>INTERNAL SERVER ERROR</con:reason>
    <con:location>
    <con:node>RouteNode1</con:node>
    <con:path>response-pipeline</con:path>
    </con:location>
    </con:fault>
    I also tried to debug through "Oracle Workshop for WebLogic Version 10.3 " . But I am not getting enough details as to why this is failing.
    Please help me . Thanks In advance.
    Thanks
    Nilay
    Edited by: user8950019 on Feb 1, 2010 4:11 AM

    Hi,
    When im calling wsdl created when BPM exposed as webservice in SOAP-ui, i first hit the startSession
    Request is:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <soapenv:Header/>
    <soapenv:Body>
    <exp:startSession>
    <password>Employee</password>
    <user>Employee</user>
    </exp:startSession>
    </soapenv:Body>
    </soapenv:Envelope>
    Response i Get is:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:startSessionResponse xmlns:ns1="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <return>3782hecq1s85h</return>
    </ns1:startSessionResponse>
    </soapenv:Body>
    </soapenv:Envelope
    but when i put this sessionId in main request:-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exp="http://bea.com/albpm/ExpenseManagement/ExpenseReport">
    <soapenv:Header/>
    <soapenv:Body>
    <exp:expenseReport>
    <sessionId>3782hecq1s85h</sessionId>
    <reportArg>
    <!--Optional:-->
    <comments>yes</comments>
    <!--Optional:-->
    <costCenter>jaa</costCenter>
    <!--Optional:-->
    <description>aa</description>
    <!--Optional:-->
    <isApproved>y</isApproved>
    <!--Zero or more repetitions:-->
    <items>
    <!--Optional:-->
    <elements>
    <!--Optional:-->
    <amount>700</amount>
    <!--Optional:-->
    <date>?</date>
    <!--Optional:-->
    <description>?</description>
    <!--Optional:-->
    <receiptChecked>?</receiptChecked>
    </elements>
    </items>
    <!--Optional:-->
    <reviewedBy>?</reviewedBy>
    <!--Optional:-->
    <submitDate>?</submitDate>
    <!--Optional:-->
    <submittedBy>?</submittedBy>
    <!--Optional:-->
    <total>?</total>
    </reportArg>
    </exp:expenseReport>
    </soapenv:Body>
    </soapenv:Envelope>
    Response coming is :-
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.</faultstring>
    <detail>
    <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">fuego.lang.ComponentExecutionException: The method 'expenseReport' from class 'xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl' could not be successfully executed.
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:244)
         at fuego.lang.Invokeable.invokeDynamic(Invokeable.java:188)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.soaptype.SoapListener.invokeDynamic(SoapListener.java:104)
         at fuego.lang.Invokeable.invoke(Invokeable.java:160)
         at fuego.fengine.FEngineWebServiceExecutor$2.execute(FEngineWebServiceExecutor.java:133)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.fengine.FEngineWebServiceExecutor$1.run(FEngineWebServiceExecutor.java:65)
         at fuego.component.Message.process(Message.java:576)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.fengine.FEngineWebServiceExecutor$WebServiceExecutorPrincipal.processBatch(FEngineWebServiceExecutor.java:168)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
    Caused by: java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "jaa"
         at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:36)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.lang.Invokeable.invokeImpl(Invokeable.java:234)
         ... 21 more
    Caused by: java.lang.NumberFormatException: For input string: "jaa"
         at java.lang.NumberFormatException.forInputString(Unknown Source)
         at java.lang.Integer.parseInt(Unknown Source)
         at java.lang.Integer.valueOf(Unknown Source)
         at fuego.util.Conversion.tojava_lang_Integer(Conversion.java:934)
         at fuego.xobject.runtime.ConversionUtilities.fromString(ConversionUtilities.java:56)
         at fuegoblock.xml.XmlElementDeserializer.deserializeElement(XmlElementDeserializer.java:175)
         at fuegoblock.xml.XmlElementDeserializer.deserialize(XmlElementDeserializer.java:81)
         at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:160)
         at fuegoblock.xml.DynamicXml.createObjectFrom(DynamicXml.java:119)
         at xobject.ExpenseReportWebServiceImpl.ExpenseReportServiceInternalAlbpmListenerImpl.expenseReport(ExpenseReportServiceInternalAlbpmListenerImpl.xcdl:17)
         ... 28 more</ns1:stackTrace>
    <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">D-113014550</ns2:hostname>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    can anyone explain why this error is coming.?
    Edited by: user8937128 on May 19, 2010 6:58 AM

  • ClassNotFoundException with Custom OWSM Policy in Oracle Service Bus

    Hi All,
    I have a situation where I have created a custom web service manager policy. When I attach this policy to an Oracle Service Bus Proxy Service and invoke the service I get a ClassNotFoundError
    Caused By: java.lang.ClassNotFoundException: au.com.MyClass
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at oracle.wsm.policy.util.Loader.loadClass(Loader.java:369)
    at oracle.wsm.policy.util.Loader.loadClass(Loader.java:389)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.populateAssertionExecutors(WSPolicyRuntimeExecutor.java:238)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.populateAssertionExecutors(WSPolicyRuntimeExecutor.java:279)
    at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.init(WSPolicyRuntimeExecutor.java:162)
    at oracle.wsm.policyengine.impl.PolicyExecutionEngine.getPolicyExecutor(PolicyExecutionEngine.java:137)
    at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:101)
    at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:937)
    at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:454)
    at oracle.wsm.agent.handler.WSMEngineInvoker.handleRequest(WSMEngineInvoker.java:366)
    at com.bea.wli.sb.security.wss.wsm.WsmInboundHandler.processRequest(WsmInboundHandler.java:150)
    at com.bea.wli.sb.security.wss.WssHandlerImpl.doInboundRequest(WssHandlerImpl.java:223)
    at com.bea.wli.sb.context.BindingLayerImpl.addRequest(BindingLayerImpl.java:289)
    at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:87)
    at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
    at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
    The jar file is in the user_projects/domains/mydomain/lib directory.
    Attaching the policy to BPEL services has no issue and the policy is invoked successfully.
    I am unable to determine why the OSB would behave differently in this regard, or what I need to configure differently in order to have it found by the class loaders for the OSB.
    Any help or suggestions appreciated.
    I am using 11.1.1.4.0
    The jar file has the necessary policy_config.xml file and the META-INF/mylabel/mypolicy.xml files in situ. As I said, it is working in the soa_server but not the OSB.

    Have you restarted servers after putting jar in $Domain_Home/lib directory? Also try after explicitly adding this jar in classpath by editing server startup script (startManagedWeblogic.cmd or .sh) or in domain env setting script (setDonainEnv.cmd or .sh) and restarting the servers.
    Regards,
    Anuj
    Edited by: Anuj Dwivedi on Mar 21, 2011 1:10 PM

  • Error using the test console of the Oracle Service Bus 11gR1

    Hi I am facing a an issue while using the test console of the Oracle Service Bus 11gR1 .
    Every time I try to execute a business service or a proxy service I end up getting the following message.
    Error Accessing Test Configuration
    *"Test Console" service is not running. Contact administrator to start this service.*
    In fact to add to my frustration I am unable to execute any of my proxy services from outside clients like SOAPUI as well.
    Is anyone else facing this too ??
    Also every time the server starts I can see some diagnostic error messages on my Eclipse console.
    *[ERROR] AdapterManager - ServletContainerAdapter manager not initialized correctly.*
    Attached the whole log at the end below.
    To provide an update on my trouble shooting
    1. ) I tried to give the IntegrationAdmin and IntegrationDeployer roles to my admin user. in fact i also tried to give it all the possible privileges.
    Result: Still the same error message.
    Error Accessing Test Configuration
    "Test Console" service is not running. Contact administrator to start this service.
    2.) I have already tried to change the following entry <java:alsb-test-console-debug>true</java:alsb-test-console-debug> in my C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\alsbdebug.xml
    I am also attaching the file contents here
    <java:sb-debug-logger xmlns:java="java:com.bea.wli.debug">
    <java:alsb-stages-transform-runtime-debug>false</java:alsb-stages-transform-runtime-debug>
    <java:alsb-alert-manager-debug>false</java:alsb-alert-manager-debug>
    <java:alsb-credential-debug>false</java:alsb-credential-debug>
    <java:alsb-jms-reporting-provider-debug>false</java:alsb-jms-reporting-provider-debug>
    <java:alsb-management-credential-debug>false</java:alsb-management-credential-debug>
    <java:alsb-management-dashboard-debug>false</java:alsb-management-dashboard-debug>
    <java:alsb-management-debug>false</java:alsb-management-debug>
    <java:alsb-management-user-mgt-debug>false</java:alsb-management-user-mgt-debug>
    <java:alsb-module-debug>false</java:alsb-module-debug>
    <java:alsb-monitoring-aggregator-debug>false</java:alsb-monitoring-aggregator-debug>
    <java:alsb-monitoring-debug>false</java:alsb-monitoring-debug>
    <java:alsb-pipeline-debug>false</java:alsb-pipeline-debug>
    <java:alsb-security-wss-debug>false</java:alsb-security-wss-debug>
    <java:alsb-service-account-manager-debug>false</java:alsb-service-account-manager-debug>
    <java:alsb-service-provider-manager-debug>false</java:alsb-service-provider-manager-debug>
    <java:alsb-service-repository-debug>false</java:alsb-service-repository-debug>
    <java:alsb-service-security-manager-debug>false</java:alsb-service-security-manager-debug>
    <java:alsb-service-validation-debug>false</java:alsb-service-validation-debug>
    <java:alsb-test-console-debug>true</java:alsb-test-console-debug>
    <java:alsb-transports-debug>false</java:alsb-transports-debug>
    <java:alsb-uddi-debug>false</java:alsb-uddi-debug>
    <java:alsb-wsdl-repository-debug>false</java:alsb-wsdl-repository-debug>
    <java:alsb-wspolicy-repository-debug>false</java:alsb-wspolicy-repository-debug>
    <java:alsb-security-encryption-debug>false</java:alsb-security-encryption-debug>
    <java:alsb-security-module-debug>false</java:alsb-security-module-debug>
    <java:alsb-sources-debug>false</java:alsb-sources-debug>
    <java:alsb-custom-resource-debug>false</java:alsb-custom-resource-debug>
    <java:alsb-mqconnection-debug>false</java:alsb-mqconnection-debug>
    <java:alsb-throttling-debug>false</java:alsb-throttling-debug>
    <java:alsb-flow-resource-debug>false</java:alsb-flow-resource-debug>
    <java:alsb-flow-transport-debug>false</java:alsb-flow-transport-debug>
    <java:alsb-flow-deployment-debug>false</java:alsb-flow-deployment-debug>
    <java:alsb-debugger-debug>false</java:alsb-debugger-debug>
    <java:alsb-console-debug>false</java:alsb-console-debug>
    <java:alsb-result-caching-debug>false</java:alsb-result-caching-debug>
    <java:alsb-bpel-debug>false</java:alsb-bpel-debug>
    <java:alsb-jca-framework-adapter-debug>false</java:alsb-jca-framework-adapter-debug>
    </java:sb-debug-logger>
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\home11g\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\home11g\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\home11g\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\home11g\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Oracle\MIDDLE~1\home11g\USER_P~1\domains\OSB_DO~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\home11g\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\home11g\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\home11g\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\home11g\patch_oepe1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\home11g\patch_ocp353\profiles\default\sysext_manifest_classpath weblogic.Server
    <30-Jun-2010 16:22:43 o'clock BST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <30-Jun-2010 16:22:47 o'clock BST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <30-Jun-2010 16:22:48 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30-Jun-2010 16:22:48 o'clock BST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <30-Jun-2010 16:22:49 o'clock BST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <30-Jun-2010 16:22:49 o'clock BST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log00005. Log messages will continue to be logged in C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log.>
    <30-Jun-2010 16:22:49 o'clock BST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <30-Jun-2010 16:22:56 o'clock BST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <30-Jun-2010 16:22:58 o'clock BST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <30-Jun-2010 16:22:58 o'clock BST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\access.log00005. Log messages will continue to be logged in C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\access.log.>
    <30-Jun-2010 16:23:06 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <30-Jun-2010 16:23:06 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30-Jun-2010 16:23:59 o'clock BST> <Warning> <JDBC> <BEA-001110> <No test table set up for pool "wlsbjmsrpDataSource". Connections will not be tested.>
    <30-Jun-2010 16:23:59 o'clock BST> <Warning> <JDBC> <BEA-001552> <The Logging Last Resource (LLR) data source wlsbjmsrpDataSource will not function when it is a participant in a global transaction that spans multiple WebLogic Server instances because remote JDBC support is disabled. LLR will function in single-server configurations.>
    <30-Jun-2010 16:25:35 o'clock BST> <Alert> <OSB Security> <BEA-387068> <There is no PKI credential mapper provider configured in your security realm. Service key provider management will be disabled. Configure a PKI credential mapper provider if you need service provider support. This is typically the case if you have Oracle Service Bus proxy services with web service security enabled or outbound 2-way SSL connections.>
    <30-Jun-2010 16:25:40 o'clock BST> <Warning> <WliSbTransports> <BEA-381917> <MQ Transport could not be registered due to : Missing MQ Library>
    [ERROR] AdapterManager - ServletContainerAdapter manager not initialized correctly.
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\OSB_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\OSB_domain.log00005. Log messages will continue to be logged in C:\Oracle\Middleware\home11g\user_projects\domains\OSB_domain\servers\AdminServer\logs\OSB_domain.log.>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.128.2.170:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "OSB_domain" running in Development Mode>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <30-Jun-2010 16:26:11 o'clock BST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    This is really putting me off and its really disappointing to see all these issues in this new release.
    How can oracle let a release slip in with such a Major Issue.
    Please can any one help or provide a work around atleast.
    Regards
    Nitin

    I guess till version 10gr3.1 you only needed to start one server and it allowed to access both admin and service bus console.Yes, in 11g as well you may access the admin and OSB console by just starting the admin server but in 11g OSB configuration gets deployed on OSB server (managed server) and test service also runs over this server.
    Are you saying there is some other server I need to start just for running the test console ????Yes. Managed server osb_server1 needs to be started for deploying, testing and accessing OSB resources.
    As If the OSB server was not running how can I check my published services, modify them and do all the bits and pieces after opening the open the service bus console but not just test them???You can modify and save your configuration without staring OSB server but if you will check in change centre then all the changes being done without starting OSB server will remain in partially activated state.
    I have been using the service bus for 3 years and I have never faced any such issue.With each new release you may get new features and with a major release like 11g, architecture and functionality may change.
    If it all there is some other server I need to start then whats the process to do so ??Open command prompt. Navigate to $Domain_Home/bin and run command
    startManagedWeblogic.cmd <nameOfManagedServer>
    for eg. -
    D:\OFMW11g\mw\user_projects\domains\ofmw_domain\bin>startManagedWebLogic.cmd osb_server1
    Once this server is up and running, try using test console.
    Regards,
    Anuj

  • Query regarding the tutorial for Oracle Service Bus (OSB 10gR3)

    Hi,
    I am working on a tutorial of Oracle Service Bus (OSB 10gR3).
    I have created the proxy service and the Business Service, using Oracle Service Bus console.
    The details are as follows:
    Proxy service: LoanGateway
    Business service1: A value of 4.9 or less causes the message to be routed to the ManagerLoanReview business service.
    Business service2: A value of 5.0 or greater causes the message to be routed to the NormalLoan business service.
    When i send the request message, so that it gets routed from proxy service to one of the business service than it gives following error.
    Request Document
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soapenv:Body>
    <exam:processLoanApp xmlns:exam="http://example.org">
    <loanRequest xsi:type="java:LoanStruct" xmlns:java="java:normal.client" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <!--Optional:-->
    <java:Name>Smith</java:Name>
    <!--Optional:-->
    <java:SSN>1234567</java:SSN>
    <!--Optional:-->
    <java:Rate>4.1</java:Rate>
    <!--Optional:-->
    <java:Amount>9000000</java:Amount>
    <!--Optional:-->
    <java:NumOfYear>10</java:NumOfYear>
    <!--Optional:-->
    <java:Notes>Manager Loan Application Review Service</java:Notes>
    </loanRequest>
    </exam:processLoanApp>
    </soapenv:Body>
    </soapenv:Envelope>
    Response Document
    The invocation resulted in an error: .
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server</faultcode>
    <faultstring>
    BEA-380002: Tried all: '1' addresses, but could not connect over HTTP to server: 'localhost', port: '7021'
    </faultstring>
    <detail>
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-380002</con:errorCode>
    <con:reason>
    Tried all: '1' addresses, but could not connect over HTTP to server: 'localhost', port: '7021'
    </con:reason>
    <con:location>
    <con:node>RouteNode1</con:node>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    Response Metadata
    <con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
    <tran:headers xsi:type="http:HttpResponseHeaders" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <http:Content-Type>text/xml; charset=utf-8</http:Content-Type>
    </tran:headers>
    <tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">1</tran:response-code>
    <tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
    </con:metadata>

    I have the same problem and I'm not able to telnet localhost on port 7021. How can I change this port number I think that port must be 7001, it is correct?Examples server domain is pre-configured for port 7021. The samples domain will have the examples properly deployed in this domain out of box. You dont need to change any thing in {BEA_HOME}\osb_10.3\samples\domains\servicebus\config.
    I doubt this has to do something with firewall . Check the last statement in the log after starting the domain.
    <May 19, 2009 8:50:09 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.177.242.25:7001 for protocols iiop, t3, ldap, snmp, http.>
    <May 19, 2009 8:50:09 AM IST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <May 19, 2009 8:50:09 AM IST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
    <May 19, 2009 8:50:09 AM IST> <Warning> <Server> <BEA-002611> <Hostname "mneelapu", maps to multiple IP addresses: 10.177.242.25, 127.0.0.1>
    <May 19, 2009 8:50:09 AM IST> <Warning> <Server> <BEA-002611> <Hostname "XYZ-v411-10-177-242-25.oracle.com", maps to multiple IP addresses: 10.177.242.25, 127.0.0.1>
    <May 19, 2009 8:50:09 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <May 19, 2009 8:50:09 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    What are you seeing in your log file?
    Edited by: mneelapu on May 19, 2009 9:58 AM

  • Oracle service bus 12c sbconsole not accessible 401

    Hi,
        i am trying to setup up standalone osb server and access sbconsole. i am getting 401 unauthorized.   here is my environment setup.
    OS:     windows 7
    Java:  1.8 64bit
    DB:    oracle XE 11.2.
    OSB:   fmw_12.1.3.0.0_soaqs_Disk1_1of1
    1. ran rcutil.
    2. created admin weblogic servicer-->NodeManager-->clustered-->osbServer1(standalone). 
              I started node manager, weblogic and osb servers. i am able to login to weblogic and em consoles with username/password  weblogic/xxxxxxxx sucessfully
                     but when i try to login sbconsole;  http://localhost:7001/sbconsole    i am getting 401 unauthorized.
          So i created new user, user1 in weblogic server and added to groups as administrator.
          In osb server, i  assigned integration developer  role and saved configuration.
          login to weblogic and em consoles are good with user1.    but when i login to sbconsole, i am getting 401 unauthorized.
    i followed the following url for creating new user 11 Defining Access Security for Oracle Service Bus (12c Release 1 (12.1.3))
    Am i missing anything in my setup ?   can someone throw pointers in fixing this .
    Thanks

    yes i am copying the roles for IntegrationAdministrators. below.
    I created one more user in wls console and assigned IntegrationAdministrator role only.  still i have the same issue.
    oracle.adf.share.security.authorization.RegionPermission
    view
    oracle.adf.controller.security.TaskFlowPermission
    /WEB-INF/.*
    view
    oracle.soa.osb.console.common.permissions.OSBPermission
    AdminResourcesAccess
    clone,create,delete,edit,move,rename
    oracle.soa.osb.console.common.permissions.OSBPermission
    ConfigurationFileAccess
    create,execute
    oracle.soa.osb.console.common.permissions.OSBPermission
    ConvertXQVersionAccess
    convert
    oracle.soa.osb.console.common.permissions.OSBPermission
    ExportResourcesAccess
    export
    oracle.soa.osb.console.common.permissions.OSBPermission
    FindAndReplaceAccess
    execute
    oracle.soa.osb.console.common.permissions.OSBPermission
    ImportConfigJarAccess
    import
    oracle.soa.osb.console.common.permissions.OSBPermission
    ImportUrlAccess
    import
    oracle.soa.osb.console.common.permissions.OSBPermission
    ImportZipAccess
    import
    oracle.soa.osb.console.common.permissions.OSBPermission
    JNDIResourceAccess
    create,delete,edit,rename
    oracle.soa.osb.console.common.permissions.OSBPermission
    JNDIResourceResetAccess
    reset
    oracle.soa.osb.console.common.permissions.OSBPermission
    OperationalAttributesAccess
    edit
    oracle.soa.osb.console.common.permissions.OSBPermission
    OperationalResourcesAccess
    clone,create,delete,edit,move,rename
    oracle.soa.osb.console.common.permissions.OSBPermission
    ProxyServersResourceAccess
    create,delete,edit,rename
    oracle.soa.osb.console.common.permissions.OSBPermission
    SMTPServersResourceAccess
    create,delete,edit,rename
    oracle.soa.osb.console.common.permissions.OSBPermission
    TestConsoleExecuteAccess
    execute
    oracle.soa.osb.console.common.permissions.OSBPermission
    UDDIAutoImportAccess
    import
    oracle.soa.osb.console.common.permissions.OSBPermission
    UDDIAutoPublishAccess
    export
    oracle.soa.osb.console.common.permissions.OSBPermission
    UDDIResourceAccess
    create,delete,edit,export,import,rename
    oracle.soa.osb.console.common.permissions.OSBPermission
    ViewHistoryAccess
    view
    oracle.soa.osb.console.common.permissions.OSBPermission
    ViewSessionsAccess
    view
    oracle.soa.osb.console.common.permissions.OSBPermission
    UndoTaskAccess
    undo
    oracle.soa.osb.console.common.permissions.OSBPermission
    RedoTaskAccess
    redo
    oracle.soa.osb.console.common.permissions.OSBPermission
    SwitchSessionAccess
    switchSession
    oracle.soa.osb.console.common.permissions.OSBPermission
    PurgeTasksAccess
    purge
    oracle.soa.osb.console.common.permissions.OSBPermission
    MessageReportsViewAccess
    view
    oracle.soa.osb.console.common.permissions.OSBPermission
    MessageReportsPurgeAccess
    purge
    oracle.soa.osb.console.common.permissions.OSBPermission
    GlobalOperationalSettingsUpdateAccess
    update
    oracle.soa.osb.console.common.permissions.OSBPermission
    OperationalAttributesUpdateAccess
    update
    oracle.soa.osb.console.common.permissions.OSBPermission
    ResetAllStatisticsAccess
    reset
    oracle.soa.osb.console.common.permissions.OSBPermission
    URIStatusUpdateAccess
    update
    oracle.soa.osb.console.common.permissions.OSBPermission
    Alert

  • Creating Managed Server for Weblogic that comes with Oracle Service Bus

    I've installed Oracle Service Bus 10.3.
    Weblogic Server 10.3 comes bundled with OSB 10.3.
    Everything is working fine in the Admin Server.
    But when I create a Managed server and try to start it, I get the following exception and server doesn't start :
    ####<Nov 10, 2009 10:24:32 AM IST> <Critical> <Security> <iflmud6dlb5jn> <OSBManagedServer2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257828872747> <BEA-090403> <Authentication for user weblogic denied>
    ####<Nov 10, 2009 10:24:32 AM IST> <Critical> <WebLogicServer> <iflmud6dlb5jn> <OSBManagedServer2> <main> <<WLS Kernel>> <> <> <1257828872747> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
    weblogic.security.SecurityInitializationException: Authentication for user weblogic denied
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(Unknown Source)
         at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(Unknown Source)
         at weblogic.security.service.SecurityServiceManager.initialize(Unknown Source)
         at weblogic.security.SecurityService.start(SecurityService.java:141)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I've tried changing the boot.properties file and given clear text username and password, but even this did not change the exception.
    Are there any other security concerns that are to be taken care of while configuring Managed Server for Oracle Service Bus?
    Kindly help.

    How are you starting the manageserver. Is it using command line or using NodeManager from Weblogic console of admin server. Most of the times we start managed server using yourDomain/bin/startManagedWebLogic.cmd (.sh).
    startManagedWebLogic nameOfYourManagedServer adminURL(Ex: http://host:port).
    If you created a managed server at the time of creation of domain itself using custom option, then under your domain root folder, you should see a file named like "startManagedWebLogic_readme.txt" that kind of gives the same above command.
    If you added the managed server later on, to an existing single server domain, then you can use the above command.
    Ravi Jegga

  • Need to Import an application built using Oracle Service Bus on Oracle Public Cloud

    I have built an application using Oracle Service Bus (OSB) eclipsed IDE which transfers file from server1 to server2, reads the transferred file, transforms it into a payload and calls a webservice. I have tested this application locally by installing Oracle Service Bus on one on my servers.
    I have java as a service account on Oracle Public Cloud. I would like to import the above application onto Oracle Public Cloud. I am not sure if the Weblogic domain on Oracle Public Cloud has enabled OSB or not.
    Let me know if someone can help me.

    Hello,
    Oracle Service Bus is currently not supported in Oracle Java Cloud Service.
    Oracle Java Cloud Service supports deployment of JavaEE and ADF applications.
    -- Nilesh

  • Issue with Oracle service bus installation on Windows 7 64 bit machine

    Hi,
    I am trying to install Oracle service bus 11.1.1.4 in Windows 7 64 bit machine for which i have downloaded the generic installers of both weblogic server and Oracle service bus. As per the instructions -
    1. Install JDK 1.6
    2. Install Weblogic server
    3.Install Eclipse separately (In my case Galileo 11.1.1.5 64 bit) - Just unzip the contents in the home directory where weblogic server is installed
    4. Install OSB
    I have installed all the above 1,2,3 in the same folder as per the instructions. But when i try to install OSB which asks for eclipse home location. But when i give the eclipse home location, it gives an error ""Home location is invalid" and i am unable to proceed with the installation.
    I have tried this with OSB 11.1.1.5 as well and have the same issue.
    Does anyone has any links which provides the steps to install OSB in Windows 7 64 bit machines or if someone can help me to resolve the above issue ?
    I really appreciate any information on this as it is urgent.
    Thanks

    I have installed OEPE 11.1.1.6.1 now in the same middleware home as weblogic server but when i try to install OSB 11.1.1.4 in the same middleware home, it asks for OEPE home location. Even though i provide the OEPE home location , it displays as "invalid oepe home location".
    I have been struggling to get this sorted out so that i can carry out IDE development in OSB 11.1.1.4
    Below are the paths where sfotware are installed -
    JDK - C:\Oracle\Middleware\Java\jdk1.6.0_21
    Weblogic server - C:\Oracle\Middleware\wlserver_10.3
    OEPE - C:\Oracle\Middleware\oepe-galileo-all-in-one-11.1.1.6.0.201007221355-win32-x86_64
    Thanks

  • What are the differences between Oracle Service Bus 10g and WLI 10g?

    Hi,
    To me both Oracle Service Bus 10g R3 and Weblogic Integration 10g seem to offer the same functionalities for implementing an enterprise middleware.
    I would be grateful if someone could:
    1. provide me with the two products' differences.
    2. describe what their roadmap is?
    3. what are their positioning in the Oracle product catalog? Are they both members of Oracle SOA Suite? Fussion Middleware?
    Thanks a lot,
    Best regards,
    Babis.

    Thanks everyone for taking the time to reply,
    Eduardo: the answer to your questions are that all the flows will be short-lived but if we can make long-lived flows then we might consider developing them. We would need to persist the state of the flow somehow.
    I understand that some of our requirements would be better accomodated by WLI or bpel but we don't have an option but only to use OSB.
    So, do you think we could overcome the stateless nature of OSB by:
    1. writing to appropriate tables and reading from there and calling plsql procedures from the flows
    2. using JMS queues.
    In detalis:
    1. Regarding the writing/reading from Databases (in our case it would be oracle 10g R2 - probably RAC), is there something like a Database control in WLI, which we could use in OSB? What i have seen are using xquery execute-sql function or a JCA DB adapter but both of them seem to me not very easy to use. Is there another option?
    2. Regarding the JMS, in case that i want:
    a service that writes to a JMS queue what are the servicetype and transport that i should use?
    a service that reads from a JMS queues what are the service type and transport that we should used?
    Any information that you may share with me in the design and implementation of the above would be great.
    Thanks a lot.

  • Oracle Service Bus 10.3 - split join how to set header for invoked service

    In Oracle Service Bus 10.3 how can I set the header for the service being invoked. We make parallel calls to 2 different business services. One of the invoked service requires header to be set and I am unable to figure out how it can be done. Below are snippet of the code and WSDL.
    --- Login Operation start ---
    <operation name="login">
    <wsdlsoap:operation soapAction="blah"/>
    <input name="loginRequest">
    <wsdlsoap:body use="literal"/>
    <wsdlsoap:header message="passport:loginHeader" part="hppwsHeaderElement" use="literal"/>
    </input>
    <output name="loginResponse">
    <wsdlsoap:body use="literal"/>
    </output>
    <fault name="genericFaultException">
    <wsdlsoap:fault name="genericFaultException" use="literal"/>
    </fault>
    </operation>
    --- Login Operation end ---
    --- hppwsHeader Element --
    <complexType name="hppwsHeaderElement">
    <sequence>
    <element maxOccurs="1" minOccurs="0" name="version" type="tns1:version"/>
    <element maxOccurs="1" minOccurs="0" name="tx-id" type="tns1:tx-id"/>
    <element maxOccurs="1" minOccurs="1" name="systemLangCode" type="xsd:string"/>
    </sequence>
    </complexType>
    --- LoginRequest Element ---
    <xs:element name="loginRequestElement" type="s0:loginRequestType"/>
    <xs:complexType name="loginRequestType">
    <xs:sequence>
    <xs:element name="userId" minOccurs="1" maxOccurs="1" type="xs:string"/>
    <xs:element name="password" minOccurs="1" maxOccurs="1" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    --- LoginResponse Element ---
    <xs:element name="loginResponseElement" type="s0:loginResultType"/>
    <xs:complexType name="loginResultType">
    <xs:sequence>
    <xs:element name="sessionToken" minOccurs="1" maxOccurs="1" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    In Oracle Workshop for WebLogic when I create a split-join .flow file while adding the invoke service call to login operation I am prompted to create the loginRequest and loginResponse variables. I can assign the appropriate expression to loginRequest.loginRequestElement prior to making the invoke call but then the backend business call fails because "systemLangCode" is not defined and set. Actual fault is
    <ns1:genericFault xmlns:ns1="http://hppcbl.globalops.company.com/webservice">
    <systemLangCode>en</systemLangCode>
    <fault>
    <ruleNumber>589</ruleNumber>
    <fieldName>systemLangCode</fieldName>
    <code>field.empty</code>
    <desc>System language code is required.</desc>
    <ftype>2</ftype>
    </fault>
    </ns1:genericFault>
    I would really appreciate if someone could guide me on how to resolve this
    Regards,
    -Nilay

    There is this $header variable which you should populate before calling the BS. What is the type of BS? If it is WSDL BS , Any Soap BS then above solution will work. I assume that yours is WSDL based BS and setting $header should resolve this issue.
    AnyXML and Messaging type BS services requires that you create proper pay load (setting $header will not work).
    There is also other actions Set Transport Headers {outbound request/inbound response} which can be used to set transport related headers but not soap headers.
    Manoj

  • What are all difference between 11g Mediator and 10g Oracle service bus.

    hi all ,
    Apart from SCA concept , storing location
    is thr any other difference between 11g Mediator and 10g Oracle service bus ?
    thx in advance..

    11g introduces the SCA architecture for building the service infrastructure.
    SOA 11g uses:-
    1. Uses the weblogic Server and BEA Aqualogic Service Bus (ALSB) for the Oracle Service Bus.
    2. BPEL uses scalable DOM with reduced memory usage.
    3. New adapters and leverage for Java 2 Connector Architecture (J2CA)
    4. BAM finally ported from .Net to J2EE and is part of the service infrastructure
    5. Oracle Web Services Management built into SOA 11g service infrastructure
    6. New adapters and leverage for Java 2 Connector Architecture (J2CA). Tighter integration with E-Business Suite & large payload support.
    7. Business Rules in SOA 10g business rules are managed using the Rules Author & in SOA 11g business rules are managed using JDeveloper and SOA composer

  • Getting error "URI index 0 is not valid" in Oracle Service Bus

    Dear Friends,
    I am receiving an error "URI index 0 is not valid" while executing Customization File in Oracle Service Bus. I am not able to figure out why it is happening. Please help.
    Thank you.
    Regards,
    Palak Mathur

    AbhishekJ wrote:
    Change the:
    <xt:value>
    <tableElement xmlns:tran="http://www.bea.com/wli/sb/transports">
    <URI>http://app-1ip-alsb-01.corp.intranet/ServiceAddressV1Proxy</URI>
    <weight>1</weight>
    </tableElement>
    </xt:value>Section to:
    <xt:value>
    <tran:tableElement xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:URI>http://app-1ip-alsb-01.corp.intranet/ServiceAddressV1Proxy</tran:URI>
    <tran:weight>1</tran:weight>
    </tran:tableElement>
    </xt:value>in your Customization File and try again.Hi Abhishek,
    I did the same thing. Actually, the deployment team was getting this error and they called me up to find out. I analyzed and sent the following response:-
    I was going through the Customization file. I removed all the elements from the file and started with only 1 envValueAssignments:-
    +<cus:envValueAssignments>+
    +<xt:envValueType>Service URI Weight</xt:envValueType>+
    +<xt:location>0</xt:location>+
    +<xt:owner>+
    +<xt:type>BusinessService</xt:type>+
    +<xt:path>CommonServices/Business Services/ServiceAddressV1RS</xt:path>+
    +</xt:owner>+
    +<xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">0</xt:value>+
    +</cus:envValueAssignments>+
    The customization file got executed perfectly. Then I added another envValueAssignments and it worked fine as well.
    Now, when I added
    +<cus:envValueAssignments>+
    +<xt:envValueType>Service URI Table</xt:envValueType>+
    +<xt:location xsi:nil="true"/>+
    +<xt:owner>+
    +<xt:type>BusinessService</xt:type>+
    +<xt:path>CommonServices/Business Services/ServiceAddressV1RS</xt:path>+
    +</xt:owner>+
    +<xt:value>+
    +<tableElement xmlns:tran="http://www.bea.com/wli/sb/transports">+
    +<URI>http://app-1ip-alsb-01.corp.intranet/ServiceAddressV1Proxy</URI>+
    +<weight>0</weight>+
    +</tableElement>+
    +</xt:value>+
    +</cus:envValueAssignments>+
    +, I got the above error, ie URI index 0 is not valid. If you check each element then you will know that tableElement defines a namespace as xmlns:tran="http://www.bea.com/wli/sb/transports" which is neither being used by the node nor its child elements. Also the error in server logs was:-com.bea.wli.sb.transports.TransportException: URI index 0 is not valid.+
    It stuck that we were doing something wrong here. I checked other elements in the same file and found that some of them were starting the node as <tableElement xmlns="http://www.bea.com/wli/sb/transports">. So, tableElements should be qualified with this namespace:-http://www.bea.com/wli/sb/transports. It was clear there was issue with qualified name of the element and hence I added the prefix "tran" and made entry as:-
    +<tran:tableElement xmlns:tran="http://www.bea.com/wli/sb/transports">+
    +<tran:URI>http://app-1ip-alsb-01.corp.intranet/ServiceAddressV1Proxy</tran:URI>+
    +<tran:weight>0</tran:weight>+
    +</tran:tableElement>+
    When I executed the changed customization file it worked. I checked with few more elements and they all worked making me sure that this was the error.
    So, the issue was that the OSB was not able to find any URI and for index 0 there was no URI available. Hence we were getting a weird error which was not at all user friendly. However, while making the OSb they must have thought that no one will make any manual changes (by hand in the file) and this error would be sufficient to tell that there is something wrong with the customization and we must regenerate the customization file.
    Only solution that we do not receive this error in future is rather than making changes to the customization file manually we should use OSB console or scripts to replace the properties. Otherwise we need to be very careful while touching the Customization file.
    Hope this helps.

Maybe you are looking for