Transactional Behavior in Weblogic Workshop
According to this article
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/advanced/transactions/conDefaultTransactions.html,
webservice in workshop in transactional. Is there way to turn off implicit transaction?
If I use Weblogic Server Domain, is implicit transactino on too?
Alan
Hi Alan,
All of these examples [1] do not use transactions.
HTH,
Bruce
[1]
http://webservice.bea.com/
http://manojc.com/
Alan Chan wrote:
>
Bruce,
Is there a link you can provide that show me how to use web service without transactions?
An example would be useful.
I would not find much information about it with the link that you provided.
Thank you
Alan
Bruce Stephens <[email protected]> wrote:
Hi Alan,
In Workshop, when a method or callback in your web service is executed,
the method or callback is encapsulated in an implicit transaction.
You can use WLS web services [1] without transactions (except reliable
messaging uses them).
HTH,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/index.html
Alan Chan wrote:
According to this article
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/advanced/transactions/conDefaultTransactions.html,
webservice in workshop in transactional. Is there way to turn offimplicit transaction?
If I use Weblogic Server Domain, is implicit transactino on too?
Alan
Similar Messages
-
Task Flow Transaction Behavior and AM Activation/Passivation
Hi All,
In my app, when I changed the transaction behavior from 'No Controller Transaction' to 'Use Existing Transaction If Possible', I started seeing the following type of AM Passivation snapshot is JDev log:
<ADFLogger> <begin> Passivating Application Module
<PCollManager> <resolveName> [3560] **PCollManager.resolveName** tabName=PS_TXN
<DBTransactionImpl> <getInternalConnection> [3561] Getting a connection for internal use...
<DBTransactionImpl> <getInternalConnection> [3562] Creating internal connection...
<ADFLogger> <begin> Establish database connection
<DBTransactionImpl> <establishNewConnection> [3563] Trying connection: DataSource='weblogic.jdbc.common.internal.RmiDataSource@4d0ca0'...
<DBTransactionImpl> <establishNewConnection> [3564] Before getNativeJdbcConnection='weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection
<DBTransactionImpl> <establishNewConnection> [3565] After getNativeJdbcConnection='weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection
<ADFLogger> <addContextData> Establish database connection
<ADFLogger> <end> Establish database connection
<OraclePersistManager> <syncSequenceIncrementSize> [3566] **syncSequenceIncrementSize** altered sequence 'increment by' value to 50
<ViewObjectImpl> <doPassivateSettings> [3567] DateTimeVO1 passivating with paramsChanged
<Serializer> <passivate> [3568] <AM MomVer="0">
<cd/>
<TXN Def="1" New="0" Lok="2" tsi="0" pcid="40"/>
<CONN/>
<VO>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseRoutingMainVO" Name="BaseRoutingMainVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseRoutingDetailsVO" Name="BaseRoutingDetailsVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseParameterVO" Name="BaseParameterVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseErrorLookupVO" Name="BaseErrorLookupVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseCompDataHdrVO" Name="BaseCompDataHdrVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseCompDataDtlVO" Name="BaseCompDataDtlVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseDataReqValVO" Name="BaseDataReqValVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseRegistrationPointVO" Name="BaseRegistrationPointVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseTradingPrtnrInfoVO" Name="BaseTradingPrtnrInfoVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseTradingPrtnrVerCtrlVO" Name="BaseTradingPrtnrVerCtrlVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseNotificationVO" Name="BaseNotificationVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseTransactionDefVO" Name="BaseTransactionDefVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.BaseValidationTypeVO" Name="BaseValidationTypeVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.OrigTransDetailsVO" Name="OrigTransDetailsVO1"/>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.TradingPartnerBaseVO" Name="TradingPartnerBaseVO1">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT 'X' AS TRADING_PARTNER_ID FROM DUAL) QRSLT ]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.TransErrorVO" Name="TransErrorVO1"/>
<VO sig="1315216374468" qf="0" ut="0" It="1" Sz="25" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.DateTimeVO" Name="DateTimeVO1">
<exArgs count="1">
<arg name="TimeZone">
<![CDATA[GMT]]>
</arg>
</exArgs>
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT CurrentTime FROM
SELECT TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MI AM') AS CurrentTime, 'GMT' AS TZ FROM DUAL
UNION
SELECT TO_CHAR(SYSDATE+5.5/24,'DD-MON-YYYY HH:MI AM') AS CurrentTime, 'IST' AS TZ FROM DUAL
UNION
SELECT TO_CHAR(SYSDATE-8/24,'DD-MON-YYYY HH:MI AM') AS CurrentTime, 'PST' AS TZ FROM DUAL
UNION
SELECT TO_CHAR(SYSDATE-6/24,'DD-MON-YYYY HH:MI AM') AS CurrentTime, 'CST' AS TZ FROM DUAL
UNION
SELECT TO_CHAR(SYSDATE-5/24,'DD-MON-YYYY HH:MI AM') AS CurrentTime, 'EST' AS TZ FROM DUAL
WHERE TZ=:TimeZone) QRSLT ]]>
</rsq>
<Key>
<![CDATA[0000000000010000013239013AC4]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.TransTrackingVO" Name="TransTrackingVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.TransDependencyVO" Name="TransDependencyVO1"/>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.TradingPartnerBaseVO" Name="TradingPartnerBaseVO2">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT 'X' AS TRADING_PARTNER_ID FROM DUAL) QRSLT ]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.ReceiverTransDetailsVO" Name="ReceiverTransDetailsVO1"/>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.TransIDBaseVO" Name="TransIDBaseVO1">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (select 1 AS transaction_record_id from DUAL) QRSLT ]]>
</rsq>
<Key>
<![CDATA[000100000002C102]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.TransKeyBaseVO" Name="TransKeyBaseVO1">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT 'X' AS document_key FROM dual) QRSLT ]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.TransStatusBaseVO" Name="TransStatusBaseVO1">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT 'X' AS STATUS FROM DUAL) QRSLT ]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.ErrorTypeBaseVO" Name="ErrorTypeBaseVO1">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT 'X' AS ERROR_TYPE FROM DUAL) QRSLT ]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.DependencyBaseVO" Name="DependencyBaseVO1">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT 'X' AS DEPENDENCY FROM DUAL) QRSLT ]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.MasterTransDependencyVO" Name="MasterTransDependencyVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.TrackingVO" Name="TrackingVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.ErrorVO" Name="ErrorVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.DashboardTransErrorVO" Name="DashboardTransErrorVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.DashboardTransDependencyVO" Name="DashboardTransDependencyVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.DashboardTransPieVO" Name="DashboardTransPieVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.DashboardMasterTransBarVO" Name="DashboardMasterTransBarVO1"/>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" Sz="25" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.ReceiverTransStatusBaseVO" Name="ReceiverTransStatusBaseVO1">
<rsq>
<![CDATA[SELECT /*+ FIRST_ROWS */ * FROM (SELECT 'X' AS STATUS FROM DUAL) QRSLT ]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" Sz="25" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.ErrorStatusBaseVO" Name="ErrorStatusBaseVO1">
<rsq>
<![CDATA[SELECT 'X' AS ERROR_STATUS FROM DUAL]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.HeaderVO" Name="HeaderVO1"/>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.TradingPartnerBaseVO" Name="TradingPartnerBaseVO3"/>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" Sz="25" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.HeaderStatusBaseVO" Name="HeaderStatusBaseVO1">
<rsq>
<![CDATA[SELECT 'X' AS STATUS FROM DUAL]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.TradingPartnerBaseVO" Name="TradingPartnerBaseVO4"/>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" Sz="25" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.HeaderSourceFileNameBaseVO" Name="HeaderSourceFileNameBaseVO1">
<rsq>
<![CDATA[SELECT 'X' AS SOURCE_FILE_NAME FROM DUAL]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216374468" qf="0" ut="0" da="1" It="1" Sz="25" St="0" im="1" Ex="1" Def="com.emerson.eth.adf.model.view.DependencyStatusBaseVO" Name="DependencyStatusBaseVO1">
<rsq>
<![CDATA[SELECT 'X' AS DEPENDENCY_STATUS FROM DUAL]]>
</rsq>
<Key>
<![CDATA[00010000000158]]>
</Key>
</VO>
<VO sig="1315216382156" vok="20" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.HeaderSourceFileNameLOVVO" Name="_LOCAL_VIEW_USAGE_com_emerson_eth_adf_model_view_HeaderSourceFileNameBaseVO_HeaderSourceFileNameLOVVO1"/>
<VO sig="1315216384812" vok="20" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.ReceiverTransStatusLOVVO" Name="_LOCAL_VIEW_USAGE_com_emerson_eth_adf_model_view_ReceiverTransStatusBaseVO_ReceiverTransStatusLOVVO1"/>
<VO sig="1315216385921" vok="20" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.HeaderStatusLOVVO" Name="_LOCAL_VIEW_USAGE_com_emerson_eth_adf_model_view_HeaderStatusBaseVO_HeaderStatusLOVVO1"/>
<VO sig="1315216387093" vok="20" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.ErrorStatusLOVVO" Name="_LOCAL_VIEW_USAGE_com_emerson_eth_adf_model_view_ErrorStatusBaseVO_ErrorStatusLOVVO1"/>
<VO sig="1315216388171" vok="20" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.DependencyStatusLOVVO" Name="_LOCAL_VIEW_USAGE_com_emerson_eth_adf_model_view_DependencyStatusBaseVO_DependencyStatusLOVVO1"/>
<VO sig="1315216393937" vok="20" qf="0" RS="0" Def="com.emerson.eth.adf.model.view.TransIDLovVO" Name="_LOCAL_VIEW_USAGE_com_emerson_eth_adf_model_view_TransIDBaseVO_TransIDLovVO1">
<VC n="__ImplicitViewCriteria__" d="true" c="0" bv="true" m="1" j="false">
<vcp>
<p n="showInList" v="true"/>
<p n="displayName" v="Implicit Search"/>
</vcp>
<Row n="vcrow1" uc="0" cj="0">
<a i="0">
<i o="=" cj="1" uc="0" r="2" vb="false" g="true" e="false" re="false">
<iv i="0" b="0" sf="0"/>
</i>
</a>
<a i="1">
<i o="STARTSWITH" cj="1" uc="0" r="2" vb="false" g="true" e="false" re="false">
<iv i="0" b="0" sf="0"/>
</i>
</a>
</Row>
</VC>
<VC n="LOV_TransactionRecordId__lov__filterlist__vcr___" d="true" c="0" bv="true" m="3" j="false">
<Row n="LOV_TransactionRecordId__lov__filterlist__vcr___" uc="0" cj="0">
<a i="0">
<i o="=" cj="1" uc="0" r="2" vb="false" g="true" e="false" re="false">
<iv i="0" b="0" sf="0">
<![CDATA[40532]]>
</iv>
</i>
</a>
</Row>
</VC>
</VO>
</VO>
</AM>
<OraclePersistManager> <insert> [3569] **insert** id=1, parid=-1, collid=65951, keyArr.len=-1, cont.len=10035
<OraclePersistManager> <insert> [3570] stmt: insert into "PS_TXN" values (:1, :2, :3, :4, sysdate)
<OraclePersistManager> <commit> [3571] **commit** #pending ops=1
<ADFLogger> <end> Passivating Application Module
My question is does AM gets passivated on each request. This snapshot is not visible when Transaction behavior is set to 'No Controller Transaction'.
This type is snapshot is usually visible in case of 'No Controller Transaction', when AM Pooling is off or if AM Pooling is enabled then Failover support is on.
Is this OK for this snapshot to appear in JDev log or am I missing something?this might be helpful, can u chk
The subtle use of task flow "No Controller Transaction" behavior
http://blogs.oracle.com/raghuyadav/entry/adf_taskflow_transaction_manag
http://andrejusb.blogspot.com/2010/01/demystifying-adf-bc-passivation-and.html -
Default namespace in WebLogic Workshop generated WSDL
Hello there,
I am trying to access a very simple webservice developed in WebLogic Workshop
(say something like HelloWorld.jws) from a ColdFusion application. However, I
get an Axis fault on Coldfusion implying that it could not invoke the required
method. I am running the examples server and the work shop. I noticed that some
of the documentation mention changing the namespace from http://www.openuri.com
to something else.
Does that have to do anything with the service not being able to be invoked or
it could be something else?
Could not perform web service invocation "Hello" because AxisFault faultCode:
{http://xml.apache.org/axis/}Server.userException faultString: java.net.ConnectException:
Connection refused faultActor: null faultDetail: stackTrace: java.net.ConnectException:
Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) at java.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95) at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:131)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175) at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) at org.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102) at org.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777) at org.apache.axis.client.Call.invoke(Call.java:1315)
at org.openuri.www.HelloWorldSoapStub.hello(HelloWorldSoapStub.java:85) at java.lang.reflect.Method.invoke(Native
Method) at coldfusion.xml.rpc.ServiceProxy.invokeImpl(Unknown Source) at coldfusion.xml.rpc.ServiceProxy.invoke(Unknown
Source) at coldfusion.runtime.CfJspPage._invoke(Unknown Source) at coldfusion.tagext.lang.InvokeTag.doEndTag(Unknown
Source) at cfstaffphone22ecfm1540840989.runPage(/www/docs/viper.asce.org/staffphone2.cfm:16)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source) at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown
Source) at coldfusion.filter.CfincludeFilter.invoke(Unknown Source) at coldfusion.filter.ApplicationFilter.invoke(Unknown
Source) at coldfusion.filter.RequestMonitorFilter.invoke(Unknown Source) at coldfusion.filter.PathFilter.invoke(Unknown
Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown
Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) at coldfusion.filter.GlobalsFilter.invoke(Unknown
Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) at coldfusion.CfmServlet.service(Unknown
Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) nullSanjeev,
The exception you mentioned about changing the namespace should not cause
the behavior that you are noticing.
The exception that you are receiving states that your ColdFusion application
is not able to access the Workshop Web Service.
Are both coldfusion and Workshop on the same physical machine ?
If they are not on the same machine.
Are you able to access the wsdl via a browser from the machine on which
coldfusion installed ?
The wsdl has an service name tag
- <port name="SimpleTestSoap" binding="s0:SimpleTestSoap">
<soap:address location=http://localhost:7001/Raj/SimpleTest.jws />
</port>
This address location is be default the machine on which this Web Service is
built, and this defaults to localhost:7001.
This entry can be modified by editing the weblogic-jws-config.xml file found
in the WEB-INF/lib folder of the project.
Can you make sure that address location contains the correct address and
also check to see if the Web Service is available via any browser.
Hope this help.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Sanjeev" <[email protected]> wrote in message
news:[email protected]...
>
Hello there,
I am trying to access a very simple webservice developed in WebLogicWorkshop
(say something like HelloWorld.jws) from a ColdFusion application.However, I
get an Axis fault on Coldfusion implying that it could not invoke therequired
method. I am running the examples server and the work shop. I noticed thatsome
of the documentation mention changing the namespace fromhttp://www.openuri.com
to something else.
Does that have to do anything with the service not being able to beinvoked or
it could be something else?
Could not perform web service invocation "Hello" because AxisFaultfaultCode:
{http://xml.apache.org/axis/}Server.userException faultString:
java.net.ConnectException:
Connection refused faultActor: null faultDetail: stackTrace:java.net.ConnectException:
Connection refused at java.net.PlainSocketImpl.socketConnect(NativeMethod) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350) atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124) atjava.net.Socket.<init>(Socket.java:268)
at java.net.Socket.<init>(Socket.java:95) atorg.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFact
ory.java:131)
atorg.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:175) at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:118) atorg.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156) atorg.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:182) atorg.apache.axis.client.Call.invokeEngine(Call.java:2113)
at org.apache.axis.client.Call.invoke(Call.java:2102) atorg.apache.axis.client.Call.invoke(Call.java:1851)
at org.apache.axis.client.Call.invoke(Call.java:1777) atorg.apache.axis.client.Call.invoke(Call.java:1315)
at org.openuri.www.HelloWorldSoapStub.hello(HelloWorldSoapStub.java:85) atjava.lang.reflect.Method.invoke(Native
Method) at coldfusion.xml.rpc.ServiceProxy.invokeImpl(Unknown Source) atcoldfusion.xml.rpc.ServiceProxy.invoke(Unknown
Source) at coldfusion.runtime.CfJspPage._invoke(Unknown Source) atcoldfusion.tagext.lang.InvokeTag.doEndTag(Unknown
Source) atcfstaffphone22ecfm1540840989.runPage(/www/docs/viper.asce.org/staffphone2.cf
m:16)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source) atcoldfusion.tagext.lang.IncludeTag.doStartTag(Unknown
Source) at coldfusion.filter.CfincludeFilter.invoke(Unknown Source) atcoldfusion.filter.ApplicationFilter.invoke(Unknown
Source) at coldfusion.filter.RequestMonitorFilter.invoke(Unknown Source)at coldfusion.filter.PathFilter.invoke(Unknown
Source) at coldfusion.filter.ExceptionFilter.invoke(Unknown Source) atcoldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown
Source) at coldfusion.filter.BrowserFilter.invoke(Unknown Source) atcoldfusion.filter.GlobalsFilter.invoke(Unknown
Source) at coldfusion.filter.DatasourceFilter.invoke(Unknown Source) atcoldfusion.CfmServlet.service(Unknown
Source) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) atjrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
atjrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226) at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
atjrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
atjrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
atjrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) null -
The subtle use of task flow "No Controller Transaction" behavior
I'm trying to tease out some subtle points about the Task Flow transactional behavior option "<No Controller Transaction>".
OTN members familiar with task flows in JDev 11g and on wards would know that task flows support options for transactions and data control scope. Some scenarios based on these options:
a) When we pick options such as "Use Existing Transaction" and shared data control scope, the called Bounded Task Flow (BTF) will join the Data Control Frame of its caller. A commit by the child does essentially nothing, a rollback of the child rolls any data changes back to when the child BTF was called (i.e. an implicit save point), while a commit of the parent commits any changes in both the child and parent, and a rollback of a parent loses changes to the child and parent.
A key point to realize about this scenario is the shared data control scope gives both the caller and called BTF the possibility to share a db connection from the connection pool. However this is dependent on the configuration of the underlying services layer. If ADF BC Application Modules (AMs) are used, and they use separate JNDI datasources this wont happen.
b) When we pick options such as "Always Begin New Transaction" and isolated data control scope, the called BTF essentially has its own Data Control Frame separate to that of the caller. A commit or rollback in either the parent/caller or child/called BTF are essentially isolated, or in other words separate transactions.
Similar to the last point but the exact opposite, regardless how the underlying business services are configured, even if ADF BC AMs are used with the same JNDI data source, essentially separate database connections will be taken out assisting the isolated transactional behavior with the database.
This brings me back to my question, of the subtle behavior of the <No Controller Transaction> option. Section 16.4.1 of the Fusion Guide (http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/taskflows_parameters.htm#CIHIDJBJ) says that when this option is set that "A new data control frame is created without an open transaction." So you could argue this mode is the same as isolated data control scope, and by implication, separate connections will be taken out by the caller/called BTF. Is this correct?
Doesn't this in turn have implications about database read consistency? If we have one BTF participating in a transaction with the database, reading then writing data, and a separate BTF with the <No Controller Transaction> option set, it's possible it wont see the data of the first BTF unless committed before the No Controller Transaction BTF is called and queries it's own dataset correct?
An alternative question which takes a different point of view, is why would you ever want this option, don't the other options cover all the scenarios you could possibly want to use a BTF?
Finally as a separate question based around the same option, presumably an attempt to commit/rollback the Data Control Frame of the associated No Controller Transaction BTF will fail. However what happens if the said BTF attempts to call the Data Control's (not the Data Control Frame's) commit & rollback options? Presumably this will succeed?
Your thoughts and assistance appreciated.
Regards,
CM.For other readers this reply is a continuation of this thread and another thread: Re: Clarification?: Frank & Lynn's book - task flow "shared" data control scope
Hi Frank
Thanks for your reply. Okay I get the idea that were setting the ADFc options here, that can be overridden by the implementation of data control, and in my specific case that's the ADF BC AM implementation. I've always known that, but the issue became complicated because it didn't make sense what "No Controller Transaction" actually did and when you should use it, and in turn data control frames and their implementation aren't well documented.
I think a key point from your summation is that "No Controller Transaction" in context of ADF BC, with either data control scope option selected, is effectively (as far as we can tell) already covered by the other options. So if our understanding is correct, the recommendation for ADF BC programmers is I think, don't use this option as future programmers/maintainers wont understand the subtlety.
However as you say for users of other data controls, such as those using web services, then it makes sense and possibly should be the only option?
Also regarding your code harvest pg 14 entry on task flow transactions: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/march2011-otn-harvest-351896.pdf
....and the following quote in context of setting the transaction option to Begin New Transaction:
>
When a bounded task flow creates a new transaction, does it also mean it creates a new database connection? No.
>
....I think you need to be a little more careful in this answer, as again it depends on the underlying data control implementation as you point out in this thread. In considering ADF BC, this is correct if you assume only one root AM. However if the BTFs have separate root AMs, this should result in 2 connections and transactions..... well at least I assume it does, though I wonder what will happen if both AMs share the same JNDI data source.... is the framework smart enough to join the connections/transactions in this case?
Also in one of your other code harvests (apologies I can't find which one at the moment) you point out sharing data control scopes is only possible if the BTF data controls have the same name. In context of an ADF BC application, with only one root AM used by multiple BTFs, this of course would be the case. Yet, the obvious implication to your summary of transaction outcomes in this thread, if the developers for whatever reason change the DC name across DataBindings.cpx files sourced from ADF Libraries containing the BTFs, then no, it wont.
Overall the number of variables in this gets really complicated, creating multiple dimensions to the matrix.
Going to your last point, how can the documentation be improved? I think as you say the documentation is right in context of the options for ADFc, but, as the same documentation is included in the Fusion Dev Guide which assumes ADF BC is being used, then it isn't clear enough and can be misleading. It would seem to me, that depending on the underlying data control technology used, then there needs to be documentation that talks about the effect of ADFc task flow behavior options in the context of each technology. And God knows how you describe a scenario where BTFs use DCs that span technologies.
From context of ADF BC, one thing that I've found hard in analyzing all of this is there doesn't seem to be an easy way from the middletier to check how many connections are being taken out from a data source. The FMW Control unfortunately when sampling db connections taken out from a JNDI data source pool, doesn't sample quickly enough to see how many were consumed. Are you aware of some easy method to check the number of the db connections opened/closed?
Finally in considering an Unbounded Task Flow as separate to BTFs, do you have any conclusions about how it participates in the transactions? From what I can determine the UTF lies in it's own data control frame, and is effectively isolated from the BTF transactions, unless, the BTF calls commit/rollback at the ADF BC data control level (as separate to commit/rollback at the data control frame level), and the data control is used both by the UTF and BTF.
As always thanks for your time and assistance.
CM. -
SDO Service Data Objects transaction behavior in BPEL question
I was led to believe (this is taught in the SOA BCA class) that if we create, modify, or delete an SDO then the changes are committed at the end of the scope activity in the BPEL process and rolled back if there is an uncaught fault in the scope.
I have faound that this is not what I am seeing. When modifying using an assign then the update is performed at the end of the assign, create and remove is also immediate. I have seen that if an assign has two copies and the first one succeeds and the second fails then both are rolled back.
What is the correct behavior or is there a setting that controls the transaction behavior?
Thanks ptlxI was led to believe (this is taught in the SOA BCA class) that if we create, modify, or delete an SDO then the changes are committed at the end of the scope activity in the BPEL process and rolled back if there is an uncaught fault in the scope.
I have faound that this is not what I am seeing. When modifying using an assign then the update is performed at the end of the assign, create and remove is also immediate. I have seen that if an assign has two copies and the first one succeeds and the second fails then both are rolled back.
What is the correct behavior or is there a setting that controls the transaction behavior?
Thanks ptlx -
How to open a wsdl file in Weblogic Workshop 10.3? Cannot seem to do so!
Hello, I'm new to Weblogic Workshop 10.3 & will be working with learning how to develop and use webservices using the application. I have a WSDL file which i want to use in a project but cannot seem to import or use the file as required.
If I click on "File -> New -> Service Control ->" I get the option to "Select the WSDL file to use" however I cannot find any WSDL files I copy into my workbench folder. Even if I close the project, close workshop, re-open workshop, reopen a project the WSDL file are not available to choose.
Does anyone know what I may be doing wrong or how to resolve this issue?
Any help would be appreciated!
Thanks.The Adobe PDF printer is no longer available in Snow Leopard. This is an announce to this fact at the entrance to the Acrobat Macintosh forum. The old methods for doing what you want will not work in Snow Leopard. I recommend you look at Quite Imposing. It can do everything you want and more. Alas, it comes at a price.
-
Error while generating ear using ant script in weblogic workshop 10
In my application I have to create a ear file which should have the war file inside.
I have created the build.xml for both ear application and web application, workshop.xml using weblogic workshop option
File->export->WorkshopAntScripts
I have been using the following command to execute the build.xml in EARApp(ear application)
set the environment variables by running
D:\bea\wlserver_10.0\common\bin\commEnv.cmd
then
D:\Source_Code\EARApp>ant clean build archive -Dworkspace="D:\Source_Code"
I am getting the following error,
Buildfile: build.xml
init.env:
check.versions:
init.typedefs:
init:
clean:
init.env:
check.versions:
init.typedefs:
init:
clean:
[delete] Deleting 53 files from D:\Source_Code\WebApp\.apt_src
[delete] Deleted 14 directories from D:\Source_Code\WebApp\.apt_src
[delete] Deleting 218 files from D:\Source_Code\WebApp\build\classes
[delete] Deleted 42 directories from D:\Source_Code\WebApp\build\classes
[delete] Deleting directory D:\Source_Code\WebApp\build\assembly\.src
[delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
[mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
init.env:
check.versions:
init.typedefs:
init:
build:
init.env:
check.versions:
init.typedefs:
init:
build:
[apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
[apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
[apt] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings, org.apache.be
ehive.controls.system.jdbc.JdbcControl.ConnectionDataSource, org.apache.beehive.controls.system.jdbc
.JdbcControl.SQL, com.bea.control.annotations.TransactionAttribute]
[apt] 1 warning
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
[apt] 1 warning
[apt] [web.content.root]|[D:\Source_Code\WebApp/\WebContent]
[apt] [web.source.roots]|[D:\Source_Code\WebApp/src]
[apt] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
[apt] warning: Annotation types without processors: [java.lang.SuppressWarnings]
[apt] 1 warning
[javac] Compiling 113 source files to D:\Source_Code\WebApp\build\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 53 source files to D:\Source_Code\WebApp\build\classes
[delete] Deleting directory D:\Source_Code\WebApp\build\weboutput
[mkdir] Created dir: D:\Source_Code\WebApp\build\weboutput
[copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
[copy] Copying 1 file to D:\Source_Code\WebApp\build\weboutput\WEB-INF
init.env:
check.versions:
init.typedefs:
init:
stage:
[delete] Deleting directory D:\Source_Code\EARApp\.staging
[mkdir] Created dir: D:\Source_Code\EARApp\.staging
[copy] Copying 7 files to D:\Source_Code\EARApp\.staging
init.env:
check.versions:
init.typedefs:
init:
stage.to.ear:
init.env:
check.versions:
init.typedefs:
init:
stage:
init.env:
check.versions:
init.typedefs:
init:
generated.root.init:
assembly:
[mkdir] Created dir: D:\Source_Code\WebApp\build\assembly\.src
[assemble] Assembly failed - Control Assembly process failed
[assemble] Caused by: info
BUILD FAILED
D:\Source_Code\EARApp\build.xml:189: The following error occurred while executing t
his line:
jar:file:/D:/bea/WLSERV%7e1.0/workshop/lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antl
ib.xml:92: The following error occurred while executing this line:
D:\Source_Code\EARApp\build.xml:201: The following error occurred while executing t
his line:
D:\Source_Code\WebApp\build.xml:351: The following error occurred while executing thi
s line:
D:\Source_Code\WebApp\build.xml:177: The following error occurred while executing thi
s line:
D:\Source_Code\WebApp\build.xml:424: Assembly failed.
Some one help me solve this problem.
Thanks in advance.--> some error on posting please refer to the next post...
From the error logs we can trace it out to the web project's Build.xml file ....I was getting a similar error and by commenting out the following lines in the web project's Build.xml I am able to run the build script correctly and get a EAR file. The lines are
<!--
<assemble
moduleDir="${generated.module.root}"
moduleName="${project.name}"
srcOutputDir="${assembly.src}"
appRootDir="${ear.root}">
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext$Factory" />
<assemblyContext factory="org.apache.beehive.controls.runtime.assembly.AppAssemblyContext$Factory" />
<classpath refid="assembly.classpath" />
<fileset dir="${project.dir}">
<include name="**/*.controls.properties" />
</fileset>
</assemble>
-->
Please check it now, also if any one can let us know the function or role played by the above lines it would be great. Also if there would be any future or unseen problems by commenting out these lines please do let us know...
Thanks
-MiM
Edited by prodigymonish83 at 10/22/2007 5:56 AM -
Error when generating a Web Service from WSDL (Weblogic Workshop)
Hi,
I am using weblogic workshop 10 for implementing web services and its was working fine. But now when I try to generate a web service from WSDL its crashing with the following error;
Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:107)
at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
org.eclipse.core.runtime.CoreException[4]: com.bea.workshop.webservices.core.gen.WebServicesException:
at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:154)
at com.bea.workshop.webservices.core.gen.GenerationScript.createJWS(GenerationScript.java:98)
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws0(JwsFromWsdlBuilder.java:135)
at com.bea.workshop.webservices.core.gen.JwsFromWsdlBuilder.buildJws(JwsFromWsdlBuilder.java:98)
at com.bea.workshop.webservices.ui.wizards.jwsfromwsdl.GenerateJwsFromWsdlWizard$1.execute(GenerateJwsFromWsdlWizard.java:133)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:101)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:113)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.core.runtime.CoreException: Could not find one or more classes: "org.apache.tools.ant.launch.AntMain". Please check the Ant classpath.
at org.eclipse.ant.core.AntRunner.problemLoadingClass(AntRunner.java:445)
at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:417)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:362)
at com.bea.workshop.webservices.core.gen.GenerationScript.runAnt(GenerationScript.java:152)
... 8 more
I have checked my ANT_HOME and its pointing to the correct location bea\tools\eclipse32\eclipse\plugins\org.apache.ant_1.6.5 and the AntMain classs is present in this path: org.apache.tools.ant.launch.AntMain
If anyone has any idea on this please suggest a solution.
Thanks in advance
-AKJYes, I assume you are talking about ANT_HOME:
see this Screenshot which shows my current settings
[http://i43.tinypic.com/nbrec6.jpg|http://i43.tinypic.com/nbrec6.jpg]
Regards
-AKJ -
Getting Error while Publishing Web Application using weblogic workshop 10.2
Hi all,
I am trying to create a simple webapplication using the weblogic workshop studio for weblogic. I have created a domain using the configration wizard.
when i am trying to deploy the newly created dynamic web project EAR in to the server, its throwing a error
!MESSAGE Referenced library module 'weblogic-controls-10.0#[email protected]' failed to deploy.
!SUBENTRY 2 com.bea.workshop.wls.core 4 4000 2008-05-21 15:32:06.117
!MESSAGE java.net.MalformedURLException: no protocol: 10.2/wlserver_10.0/platform/lib/p13n/p13n_common.jar
!STACK 0
java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper$DeploymentProgressListener.watch(WlsJ2EEDeploymentHelper.java:1459)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deployLibrary(WlsJ2EEDeploymentHelper.java:1200)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deployLibraryModules(WlsJ2EEDeploymentHelper.java:1079)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deployAllLibraryModules(WlsJ2EEDeploymentHelper.java:1046)
at com.bea.workshop.wls.core.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:710)
at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1195)
at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:657)
at com.bea.workshop.wls.core.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:486)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:875)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:863)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:142)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Caused by: java.net.MalformedURLException: no protocol: 10.2/wlserver_10.0/platform/lib/p13n/p13n_common.jar
at java.net.URL.<init>(URL.java:567)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)
at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
at javax.management.remote.rmi.RMIConnectionImpl$6.run(RMIConnectionImpl.java:1595)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1586)
at javax.management.remote.rmi.RMIConnectionImpl.access$600(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$7.run(RMIConnectionImpl.java:1631)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.unwrap(RMIConnectionImpl.java:1627)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:766)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Any help on this is welcomed
Thanks and regards
VishnuIf you don't mind can you please provide a more step-by-step instructions to reproduce.
-
Invoking web service using Weblogic Workshop (JCX)
Invoking web service using Weblogic Workshop
Posted: 5 Jan 2005 23:31 PM Reply
Hi,
I have WSDL from which I have generated a web service control (.jcx) using Weblogic Workshop.
I need to write a client which will invoke the web service using the control.
Can someone help me on how to go about this ?
BTW .. I also tried the clientgen route and tried to generated the proxy jar from the WSDL but wasn't successful because of a existing clientgen bug.
Refer bugHi,
if the consumer of the webservice is a control-aware consumer ( pageflow, control, process ) simply drag the control to this consumer and the control variable is ready for use.
if the consumer is not control-aware, try to generate a proxy using eg. the axis tool, or handcode your proxy class.
links :
how to use webservice control
http://e-docs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/conGettingStartedWithJavaControls.html
axis
http://ws.apache.org/axis/
- Anders M.
- Anders M. -
Error while configuring weblogic workshop application to cruise control.
Hi,
I have a web application which is created through weblogic workshop 9.2 and want to configure it to cruise control.
In that process, i had to change the web app to ear application and created build.xml for configuring it to cruise control
but I'm getting the following error.
It would be great if anyone could resolve the issue.
copyConfiguration:
[echo] No configuration directories specified
createWorkspaceXML:
[echo] Running createWorkspaceXMLFile
checkout:
build:
[echo] Compiling using /home/cocbad/wlp92-projects/SearchApp/src/SearchApp/SearchApp/build.xml
init.env:
check.params:
check.versions:
init.typedefs:
[echo] Using Workshop Libraries located in the "../SearchApp/ant-build-lib" directory.
Trying to override old definition of task for
Trying to override old definition of task jspc
init:
[mdimport] The workspace is missing the definition of the "BEA WebLogic Server v9.2 JRE" Java VM, which is referenced by a project.
BUILD FAILED
/home/cocbad/wlp92-projects/SearchApp/SearchApp_build.xml:20: The following error occurred while executing this line:
/home/cocbad/wlp92-build/build_app.xml:44: The following error occurred while executing this line:
/home/cocbad/wlp92-build/build_tasks.xml:110: The following error occurred while executing this line:
/home/cocbad/wlp92-projects/SearchApp/src/SearchApp/SearchApp/build.xml:74: Metadata import failed!
Total time: 8 seconds
Thanks & Regards,
SwapnaHi,
Issue is resolved.
Value for property "aia.jdev.lib.dir" was missing in my build.xml.
Regards,
UJ -
Dynamic Class Loading in Weblogic Workshop
Hi, I am developing a web service with weblogic workshop. The JWS file references
other classes one of which is a factory for distributing various implementations
of an interface. I am trying to dynamically load the relevant class to be distributed
from the factory via its name, e.g. Class c = Class.forName(className)
However I keep getting a classNotFoundException. The class exists in the same
package as the factory. I can insantiate the class in the normal way, i.e new
ClassName(); but cant seem to dynamically load it via its name. However I have
found that if I declare a private member of that type in the Factory but do nothing
with it, I can then dynamically create the class. However I dont really want
to do this for every type that the factory can create
Any ideas ??Graeme,
Could you please send us a relevant snippet of the JWS and your factory
class, to clarify the issue and help us replicate it here.
Thanks,
Anurag
"Graeme Dougal" <[email protected]> wrote in message
news:3e799b78$[email protected]..
>
Hi, I am developing a web service with weblogic workshop. The JWS filereferences
other classes one of which is a factory for distributing variousimplementations
of an interface. I am trying to dynamically load the relevant class to bedistributed
from the factory via its name, e.g. Class c = Class.forName(className)
However I keep getting a classNotFoundException. The class exists in thesame
package as the factory. I can insantiate the class in the normal way,i.e new
ClassName(); but cant seem to dynamically load it via its name. However Ihave
found that if I declare a private member of that type in the Factory butdo nothing
with it, I can then dynamically create the class. However I dont reallywant
to do this for every type that the factory can create
Any ideas ?? -
Transactional Behavior of an Integration Process
Hi All,
As I have to optimise an existing BPM, to have some idea, I was going through the link describing 'Transactional Behavior of an Integration Process'.
http://help.sap.com/saphelp_nw04/Helpdata/EN/25/a45c3cff8ca92be10000000a114084/frameset.htm
which tells tas follows.
'At runtime, the system normally creates a separate transaction for each step. The transaction then covers this step only. However, you can influence the transactional behavior of particular step types. In the step properties, you can define that the system is not to start a new transaction when the step is executed. The system then executes the step in the transaction that was started at the time of execution. Consequently, no background work item is created for the step and the database does not need to be accessed. In this way you can improve system performance'
But I am not able to understand, how to implement that for any steps. Could you please explain?
Regards,
SubhenduHi Subhendu,
i ve got some doubts it was in SP 17 available. Please search at [Release Notes for SAP Exchange Infrastructure|http://help.sap.com/saphelp_nw04/helpdata/en/c9/9844428e9cbe30e10000000a155106/frameset.htm]
Regards,
Udo
Edited by: Udo Martens on Feb 5, 2009 3:38 PM -
How to import the existing project in the CVS to the weblogic workshop??
Hi,
I have a project in the CVS and I want to work with that project in the weblogic8.1 workshop.
Can anyone help me in importing the existing CVS project/application into the weblogic workshop so that I can check-in, check-out and debug the application.
Thanks in advance
Raj B.Hi,
If you want to rename Development Component (DC) project, here is the procedure..
How to rename local Development Component Projects in Netweaver Developer Studio
Regards,
Uday. -
How do I read properties file kept in the source folder in weblogic workshop
I want to have a log.properties file in the folder of the source java code which
is reading this properties file. When I build the code the properties file also
should go with the generated .class files.
I am using class.getResourceAsStream("log.properties")
I tries different ways to make the class to read the file, but it failed to find
the properties file. Is there any way to keep the configuration files in the same
directory of the source java code ? This is the problem of weblogic workshop 8.1.
This thing runs fine in Tomcat.Did you try and add the path where the .properties file is located in the CLASSPATH?
Maybe you are looking for
-
Activex events not seen in Labview
I have PC application which has a COM server interface included. I am able to connect to this successfully with labview for everything apart from events. When I try and connect to events it always comes back with error 95, event unknown. I have also
-
F.27 Periodic account statements
Dear All I have made used of F.27 to generate the periodic account statement for 2 customers. After execution, the system reponsed "2 correspondence requests were selected" and specified the spool request no. e.g. 1528. However when I go to view my s
-
Parsing an input parameter for the where clause or record select value
In my limited CR experience, I've always used a command database connection so that I can write my own SQL. However, now I have to parse a pipe delimited parameter to get my value for the where clause, so I'm selecting several tables and joining th
-
hi how to add sub total in SAP Script using subroutine
-
Checking BDCOs messages in the system.
Hi all, How can check the BDOC messages in the system. how can able to check the BDOC messages for a particular BP. How can i am able to create BDOC for the same. Please answer the query as it will be helpful. Thanks & Reagrds Prajith P