Oracle Apps Problem
Hi,
I am trying to create a sales order in oracle APPS by invoking a Apps adpater through Process_order API and facing the following problem.
file:/D:/product/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_X12_4010_850_1.0_3d82ae6bde584c24576ce07e5ab4cd43.tmp/CreateOrder.wsdl [ CreateOrder_ptt::CreateOrder(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CreateOrder' failed due to: Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.XX_BPEL_CREATEORDER.OE_ORDER_PUB$PROCESS_ORDER API. Cause: java.sql.SQLException: ORA-06531: Reference to uninitialized collection
ORA-06512: at "APPS.XX_BPEL_CREATEORDER", line 1
ORA-06512: at "APPS.XX_BPEL_CREATEORDER", line 1
ORA-06512: at line 1
[Caused by: ORA-06531: Reference to uninitialized collection
ORA-06512: at "APPS.XX_BPEL_CREATEORDER", line 1
ORA-06512: at "APPS.XX_BPEL_CREATEORDER", line 1
ORA-06512: at line 1
; nested exception is:
ORABPEL-11811
Error while trying to prepare and execute an API.
An error occurred while preparing and executing the APPS.XX_BPEL_CREATEORDER.OE_ORDER_PUB$PROCESS_ORDER API. Cause: java.sql.SQLException: ORA-06531: Reference to uninitialized collection
ORA-06512: at "APPS.XX_BPEL_CREATEORDER", line 1.
I tried setting the value of Api_version as 1.0 in Bpel but it did not work out.
Anyone has any idead what need to be done.
My Inbound file EDI 850 and I am able to convert to EDi-xml through B2B using 850.ecs and 850.xsd.I have done necesarry mapping in BPEL.
Regards
Lalit
Hi,
More Description about the problem.
Assign_1 (faulted)
[2007/10/05 18:48:21] Updated variable "Write_PO_Write_InputVariable" More...
-<Write_PO_Write_InputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Transaction-850">
-<ns0:Transaction-850 xmlns="urn:oracle:integration:b2b:3CF137EF428E4714AEC4D36FB913652A" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="1.0" Standard="X12" Version="V4010" CreatedDate="2007-10-05T18:48:21" CreatedBy="ECXEngine_837" GUID="{C707A1C3-9ECB-43B9-9595-E9C7F47E35B1}" xmlns:ns0="http://www.edifecs.com/xdata/100">
-<Internal-Properties>
-<Data-Structure Name="Interchange">
<Lookup Name="InterchangeSenderQual">01
</Lookup>
<Lookup Name="InterchangeSenderID">012430880M
</Lookup>
<Lookup Name="InterchangeReceiverQual">12
</Lookup>
<Lookup Name="InterchangeReceiverID">8008411428
</Lookup>
<Lookup Name="InterchangeControlVersion">00400
</Lookup>
<Lookup Name="Standard">X12
</Lookup>
<Property Name="InterchangeAuthorizationInfoQual">00
</Property>
<Property Name="InterchangeAuthorizationInfo"/>
<Property Name="InterchangeSecurityInfoQual">00
</Property>
<Property Name="InterchangeSecurityInfo"/>
<Property Name="InterchangeSenderQual">01
</Property>
<Property Name="InterchangeSenderID">012430880M
</Property>
<Property Name="InterchangeReceiverQual">12
</Property>
<Property Name="InterchangeReceiverID">8008411428
</Property>
<Property Name="InterchangeDate">070212
</Property>
<Property Name="InterchangeTime">1302
</Property>
<Property Name="InterchangeControlStandard_RepeatingSeparator">U
</Property>
<Property Name="InterchangeControlVersion">00400
</Property>
<Property Name="InterchangeControlNumber">000002109
</Property>
<Property Name="InterchangeAckRequested">0
</Property>
<Property Name="InterchangeUsageIndicator">P
</Property>
<Property Name="InterchangeComponentElementSep">0x3f
</Property>
<Property Name="DecimalSeparator"/>
<Property Name="ElementDelimiter">0x2a
</Property>
<Property Name="ReleaseCharacter"/>
<Property Name="RepeatingSeparator"/>
<Property Name="SegmentDelimiter">0xfffd0xd0xa
</Property>
<Property Name="SubelementDelimiter">0x3f
</Property>
<Property Name="InterchangeChildCount">1
</Property>
<Property Name="InterchangeTrailerControlNumber">000002109
</Property>
-<Data-Structure Name="Group">
<Lookup Name="GroupSenderID">012430880M
</Lookup>
<Lookup Name="GroupReceiverID">8008411428
</Lookup>
<Lookup Name="GroupVersionNumber">004010
</Lookup>
<Property Name="GroupID">PO
</Property>
<Property Name="GroupSenderID">012430880M
</Property>
<Property Name="GroupReceiverID">8008411428
</Property>
<Property Name="GroupDate">20070212
</Property>
<Property Name="GroupTime">1302
</Property>
<Property Name="GroupControlNumber">2109
</Property>
<Property Name="GroupAgencyCode">X
</Property>
<Property Name="GroupVersionNumber">004010
</Property>
<Property Name="GroupChildCount">1
</Property>
<Property Name="GroupTrailerControlNumber">2109
</Property>
-<Data-Structure Name="Transaction">
<Lookup Name="TransactionID">850
</Lookup>
<Property Name="TransactionID">850
</Property>
<Property Name="TransactionControlNumber">21090001
</Property>
<Property Name="TransactionImplementationReference"/>
<Property Name="TransactionChildCount">41
</Property>
<Property Name="TransactionTrailerControlNumber">21090001
</Property>
</Data-Structure>
</Data-Structure>
</Data-Structure>
</Internal-Properties>
-<Segment-ST>
<Element-143>850
</Element-143>
<Element-329>21090001
</Element-329>
</Segment-ST>
-<Segment-BEG>
<Element-353>00
</Element-353>
<Element-92>SA
</Element-92>
<Element-324>07042600
</Element-324>
<Element-328 xsi:nil="true"/>
<Element-373>20020117
</Element-373>
<Element-367 xsi:nil="true"/>
<Element-587>NA
</Element-587>
</Segment-BEG>
-<Segment-CUR>
<Element-98>BY
</Element-98>
<Element-100>USD
</Element-100>
</Segment-CUR>
-<Segment-REF>
<Element-128>VR
</Element-128>
<Element-127>9698
</Element-127>
</Segment-REF>
-<Segment-REF>
<Element-128>PHC
</Element-128>
<Element-127>A
</Element-127>
</Segment-REF>
-<Segment-PER>
<Element-366>IC
</Element-366>
<Element-93>JOHN,SMITH
</Element-93>
<Element-365>TE
</Element-365>
<Element-364>(416)480-9999 EXT.
</Element-364>
</Segment-PER>
-<Segment-FOB>
<Element-146>CC
</Element-146>
<Element-309 xsi:nil="true"/>
<Element-352 xsi:nil="true"/>
<Element-334>02
</Element-334>
<Element-335>FOB
</Element-335>
<Element-309_1>OA
</Element-309_1>
</Segment-FOB>
-<Segment-ITD>
<Element-336 xsi:nil="true"/>
<Element-333>3
</Element-333>
<Element-338 xsi:nil="true"/>
<Element-370 xsi:nil="true"/>
<Element-351 xsi:nil="true"/>
<Element-446 xsi:nil="true"/>
<Element-386>30
</Element-386>
</Segment-ITD>
-<Loop-N1>
-<Segment-N1>
<Element-98>ST
</Element-98>
<Element-93>CT RETAIL - A.J.BILLES D.C.
</Element-93>
<Element-66>9
</Element-66>
<Element-67>2016136689005
</Element-67>
</Segment-N1>
</Loop-N1>
-<Loop-PO1>
-<Segment-PO1>
<Element-350>1
</Element-350>
<Element-330>10
</Element-330>
<Element-355_1>EA
</Element-355_1>
<Element-212>7.5
</Element-212>
<Element-639>NT
</Element-639>
<Element-235_1>SK
</Element-235_1>
<Element-234_1>043-6234-6
</Element-234_1>
<Element-235_2>VP
</Element-235_2>
<Element-234_2>4910
</Element-234_2>
</Segment-PO1>
-<Loop-CTP>
-<Segment-CTP>
<Element-687 xsi:nil="true"/>
<Element-236>UCP
</Element-236>
<Element-212>7.5
</Element-212>
<Element-380 xsi:nil="true"/>
<Composite-C001 xsi:nil="true"/>
<Element-648 xsi:nil="true"/>
<Element-649 xsi:nil="true"/>
<Element-782 xsi:nil="true"/>
<Element-639>QT
</Element-639>
</Segment-CTP>
</Loop-CTP>
-<Segment-PO4>
<Element-356 xsi:nil="true"/>
<Element-357>1
</Element-357>
<Element-355_1>EA
</Element-355_1>
-<Element-103>
<Part-103.1>PKG
</Part-103.1>
<Part-103.2>90
</Part-103.2>
</Element-103>
</Segment-PO4>
-<Segment-DTM>
<Element-374_5>010
</Element-374_5>
<Element-373_1>20020315
</Element-373_1>
</Segment-DTM>
</Loop-PO1>
-<Loop-PO1>
-<Segment-PO1>
<Element-350>2
</Element-350>
<Element-330>20
</Element-330>
<Element-355_1>EA
</Element-355_1>
<Element-212>175
</Element-212>
<Element-639>NT
</Element-639>
<Element-235_1>SK
</Element-235_1>
<Element-234_1>043-6340-2
</Element-234_1>
<Element-235_2>VP
</Element-235_2>
<Element-234_2>4310
</Element-234_2>
</Segment-PO1>
-<Loop-CTP>
-<Segment-CTP>
<Element-687 xsi:nil="true"/>
<Element-236>UCP
</Element-236>
<Element-212>175
</Element-212>
<Element-380 xsi:nil="true"/>
<Composite-C001 xsi:nil="true"/>
<Element-648 xsi:nil="true"/>
<Element-649 xsi:nil="true"/>
<Element-782 xsi:nil="true"/>
<Element-639>QT
</Element-639>
</Segment-CTP>
</Loop-CTP>
-<Segment-PO4>
<Element-356 xsi:nil="true"/>
<Element-357>1
</Element-357>
<Element-355_1>EA
</Element-355_1>
-<Element-103>
<Part-103.1>PKG
</Part-103.1>
<Part-103.2>90
</Part-103.2>
</Element-103>
</Segment-PO4>
-<Segment-DTM>
<Element-374_5>010
</Element-374_5>
<Element-373_1>20020315
</Element-373_1>
</Segment-DTM>
</Loop-PO1>
-<Loop-CTT>
-<Segment-CTT>
<Element-354>2
</Element-354>
</Segment-CTT>
</Loop-CTT>
-<Segment-SE>
<Element-96>41
</Element-96>
<Element-329>21090001
</Element-329>
</Segment-SE>
</ns0:Transaction-850>
</part>
</Write_PO_Write_InputVariable>
[2007/10/05 18:48:21] Error in evaluate <from> expression at line "80". The result is empty for the XPath expression : "/ns3:Transaction-850".less
oracle.xml.parser.v2.XMLElement@11506bb
[2007/10/05 18:48:21] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
-<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
-<part name="summary">
<summary>
empty variable/expression result.
xpath variable/expression expression "/ns3:Transaction-850" is empty at line 80, when attempting reading/copying it.
Please make sure the variable/expression result "/ns3:Transaction-850" is not empty.
</summary>
</part>
</selectionFailure>
Regards
Lalit
Similar Messages
-
Deployement problem in Oracle App Serv with hibernate + JPA and Spring
Dear All,
I am facing a problem in deployment of a web application in oracle application server 10g. but the same is working fine with Tomcat. The following Exception. Is being thrown.
Failed to deploy web application "OraTest". Failed to deploy web application OraTest". . Nested exception Resolution:
Base Exception:
java.rmi.RemoteException
deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version. deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: version I am using the following technologies
1. Spring 2.0.7
2. Struts 2.0.9
3. Hibernate 3.3
4. JPA 1.0
5. Oracle App Server 10.1.2.0.2
Web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>My Application</display-name>
<filter>
<filter-name>struts2</filter-name>
<filter-class>
org.apache.struts2.dispatcher.FilterDispatcher
</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>
org.directwebremoting.servlet.DwrServlet
</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>dwr-invoker</servlet-name>
<url-pattern>/dwr/*</url-pattern>
</servlet-mapping>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/conf/spring/datasource-context.xml,
/WEB-INF/conf/spring/aop-context.xml
</param-value>
</context-param>
</web-app>
/Datasource-context.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
<bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" lazy-init="true"/>
<!-- following code is for using oracle -->
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
<property name="driverClassName">
<value>oracle.jdbc.driver.OracleDriver</value>
</property>
<property name="url">
<value>jdbc:oracle:thin:@//xxx.xxx.xxx.xxx/mydb</value>
</property>
<property name="username">
<value>admin</value>
</property>
<property name="password">
<value>admin</value>
</property>
</bean>
<!-- following code is for using mysql -->
<!--
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" lazy-init="true">
<property name="driverClassName">
<value>org.gjt.mm.mysql.Driver</value>
</property>
<property name="url">
<value>jdbc:mysql://192.168.10.157:3306/tpsadmin</value>
</property>
<property name="username">
<value>tpsadmin</value>
</property>
<property name="password">
<value>tpsadmin</value>+
</property>
</bean>
-->
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean" lazy-init="true">
<property name="persistenceUnitName" value="mkclsetsPersistenceUnit"/>
<property name="dataSource" ref="dataSource"/>
<property name="jpaVendorAdapter">
<bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter" lazy-init="true">
<property name="database" value="ORACLE"/>
<property name="showSql" value="true"/>
</bean>
</property>
</bean>
<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager" lazy-init="true">
<property name="entityManagerFactory" ref="entityManagerFactory"></property>
</bean>
<tx:annotation-driven transaction-manager="transactionManager"/>
</beans>Aop-context.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd">
<!-- Bean Definition of all the required Interceptors -->
<bean id="methodLoggingAdvice" class="com.mkcl.sets.common.interceptor.MehodLogInterceptor"/>
<!--
<bean id="appCacheManager" class="net.sf.ehcache.CacheManager">
<constructor-arg index="0" type="java.net.URL" value="classpath:country-ehcache.xml"/>
</bean>
-->
<!--bean id="methodCacheInterceptor" -->
<bean id="methodCachingAdvice"
class="com.mkcl.sets.common.interceptor.MethodCacheInterceptor">
<property name="cache">
<ref local="methodCache" />
</property>
</bean>
<bean id="cacheManager"
class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
<property name="configLocation">
<value>WEB-INF/conf/other/ehcache.xml</value>
</property>
</bean>
<bean id="methodCache"
class="org.springframework.cache.ehcache.EhCacheFactoryBean">
<property name="cacheManager">
<ref local="cacheManager" />
</property>
<property name="cacheName">
<value>mkclSetsCache</value>
</property>
</bean>
<!--
<bean id="methodCachingAdvice" class="interceptor.MethodCachingInterceptor"/>
-->
<aop:config>
<aop:pointcut id="getCountriesPointCut" expression="execution(* com.mkcl.sets.dao.master.impl.LocationDAOImpl.getCountries())"/>
<!-- <aop:pointcut id="methodLogPointCut" expression="execution(* com.mkcl.sets.service.master.impl.CategoryServiceImpl.getAllCategories(..))"/> -->
<aop:pointcut id="methodLogPointCutDao" expression="execution(* com.mkcl.sets.dao..*.*(..))"/>
<aop:pointcut id="methodLogPointCutService" expression="execution(* com.mkcl.sets.service..*.*(..))"/>
<aop:advisor id="methodCachingAdvisor" advice-ref="methodCachingAdvice" pointcut-ref="getCountriesPointCut"/>
<aop:advisor id="methodLoggingAdvisorDao" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutDao"/>
<aop:advisor id="methodLoggingAdvisorService" advice-ref="methodLoggingAdvice" pointcut-ref="methodLogPointCutService"/>
</aop:config>
</beans>Persistence.xml
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="mkclsetsPersistenceUnit" transaction-type="RESOURCE_LOCAL">
<!-- jta-data-source>mkclDS</jta-data-source-->
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<!-- properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>
<property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.OC4JTransactionManager"/>
</properties-->
</persistence-unit>
</persistence>Do I need to add some other configuration in the existing files or do I need to add some other configuration files ? Please help to deploy my application.
Thanks a lot in advance.
With Best Regards,
Ishaan
nullDid you ever find a solution to this Ishaan?
I imagine you ended up having to upgrade 10gR2 to 10gR3 at least. Correct? -
Having problem in using RUN_PRODUCT in oracle apps 11.0.3
I am having problem in using RUN_PRODUCT in oracle apps 11.0.3. Error in oracle apps is
FRM-40733 PL/SQL built-in RUN_PRODUCT failed
What could be the possible cause for this error ?Hi again;
I found this please also check this:
Price List Migration from 11.0.3 to 11.5.10/R12.
Regard
Helios -
Problem in enter-query and execute-query in TEMPLATE.fmb in Oracle Apps R11
I have created the form using TEMPLATE.fmb in Oracle Apps R11i. There is 2 problems listed below when it queries the records:-
1) Cannot query the record by the specific value e.g. Cannot retrieve the PO records by entering the specific PO number.
2) Always display the message 'Do you want to save the record?' whenever the <ENTER-QUERY> key (i.e. F11) is pressed.
HOWEVER, it works fine for ALL records without entering any specific values.
Does anybody help to solve these two problems? Any hints? Thanks for any helps.try setting the block status to query or record
status to new prior to getting in the enter-query
mode.
Thanks
TapashHi Tapash, Dun understand.. please give more details.. Thanks. -
Problem in Form Development for Oracle Apps
Hello everybody,
I have developed one form with three blocks:
Header Level (block1) [master block]
Line Level (block2) [child to block1]
Line Detail Level (block3) [child to block2]
in the header level i have used two non database items and in line level again i have used two non database items. I am facing two problems in this form.
1. When i run form in query mode. whenever i execute the query and navigate down the records in the header block, first prompts: DO YOU WANT TO SAVE THE REOCRD even then if dont make any sort change in the form.
2. When i start navigating the form in reverse order i.e. up the records, the form will go in deadlock state. It will hang and as of result i have to kill the process explicitly from the Oracle Apps server.
Please suggest me the solution ASAP!!!
Thanks in Advance!
AnkurHi Rizwan,
hey dear form relations are ok
<<block1>>.header_id=<<block2>>.header_id
<<block2>>.line_id=<<block3>>.line_id
If you need the form file u can tell me ur id so that i can send it to you...
Please help me its urgent...
Ankur -
Oracle Apps Lot Genealogy Navigator Window Problem
Hi,
I don't know much about the Oracle Apps Inventory module so please bear with me on this one. We are currently on R11.5.10.2 and I am trying to get lot drilldown in the lot genealogy navigator window. However, when I enter the lot no./item no. and click on Find, it opens the lot genealogy navigator window but does not show anything under the lot genealogy node. Also,when I click on the plus sign it opens the lot details window without any info.
I know that the lot no. is valid because when all the other users open the lot genealogy using the same lot no. they are able to see the lot and its details in the lot details window. So, please let me know whether there is some setting that might be missing in my profile or is it due to some other reason.
-Thanks in advance.Hi,
Yes runWizard.sh points to the correct path - it calls the jre, but it is the jre that hangs
Now I have found out why.... Having tried to run the same rapidwiz on a different version of Linux, I got a glibc2 error, so what I did was run thew following on my Red Hat 7.1:
$ export LD_ASSUME_KERNEL=2.2.5
$ cd /usr/i386-glibc21-linux/bin
$ ./i386-glibc21-linux-env.sh
And now rapidwiz works!
Thanks for looking at the problem
Michel -
Printers problem in Oracle apps
Hi Apps DBAs,
We have a printer, which has printing problem for a while. It can print outside of Oracle apps.
But from oracle apps. nothing happens.
I checked the printer setting on operating system level, it is a Gestetner using DSm645sp driver( recommended)
In oracle application, current configuration is --PASTA Universal Printer Type.
Also in our current configuration, there is no DSm645sp driver registered.
If I want to add this driver to our system, how can I fill in those fields:
User driver, arguments, initializations, reset.
Thanks in advance,
LilyYou do not need to fill those fields since its provided by Pasta ..
I suggest you do the following:
1) Make sure you can print from the OS
2) Apply the latest release of Pasta (Patch 3325651)
3) Got to Sysadmin Resp. > Printer > Setup and register your printer
Enter the printer name as defined in the OS & select (--PASTA Universal Printer Type) for the Printer Type
4) Bounce the concurrent manager -
Oracle Apps and HTML DB Integration Problems
Hi,
I have integrated Oracle Apps and HTML DB, using custom authentication schema so that HTML DB looks for APPS username and password for validation.
Also, i have created menu, responsiblity, functions, custom application etc, so that user can login from Oracle Apps login screen and then select the responsibility which will redirect to HTML DB Applications page.
My problem is, once the user clicks on the Responsbility and the function(which is nothing but HTML DB Page), it is redirecting to login page and i need to re-enter the apps user name and password again to access HTML DB applications.
Is there any way, can i redirect the user directly into my HTML DB application page, without taking him to login page of HTML DB application and also uses the APPS user name and password which he had entered in the Oracle Apps login page.
I need your help on doing the same. Please respond.
Thanks
RamHi Scott,
Thanks for the quick reply. I agree with you in terms of validating the session but I haven't been able to get that to work - one of my earlier posts describes the issues I have experienced:
Authentication and SSO (non-Oracle)
I suppose my question is - is there a simple way for the APEX app to validate that there is an active Apps session cookie?
In terms of the encrypted password, what I have been trying to do was make use of the FND_WEB_SEC.VALIDATE_LOGIN method which is described in other posts and the Scott Spendolini presentation on integrating apps.
Thanks,
Stuart -
Installing Oracle Apps 11.5.5: rapidwiz problem
Hi,
I am trying to install Oracle Applications 11.5.5 on Linux Red Hat 7.1. I know this is not supported but my client wants 11.5.5 and the only Red Hat O/S it is certified to run on is 7.1
I have the following problem: rapidwiz calls runWizard.sh, which in turn calls the jre. At this point, it just hangs. No window, nothing. My X-Windows server is up, and if I run xclock it displays fine on my session.
I took the pre-install steps exactly as Oracle wants in the documentation:
- I have copied all the CDs onto the file system, using exactly the directory structure wanted by rapidwiz, e.g. ../redCD/Disk1/stage/rapidwiz, ../ora8i/Disk1, ../oraiAS/disk1 etc etc
- I have installed the JDK (j2sdk 1.3.1 v19)
- I run the program as follows: ksh stage11i/redCD/Disk1/stage/rapidwiz/rapidwiz
Then I get a message saying rapidwiz has started, and nothing else happens after that. If I run ps -aef, I can see the process is running (2 processes actually: one for runWizard.sh, and one that has been spawned by runWizard.sh: /stage11i/redCD/Disk1/stage/rapidwiz/jre/Linux/1.1.8/bin/Linux/native_threads/jre -classpath
/stage11i/redCD/Disk1/stage/rapidwiz/jlib/RapidWiz.jar: ..../rt.jar:..../i18n.jar:..../ewt-3_3_6.jar:..../share-1_0_8.jar:..../jnls.jar:..../ACC.JAR:..../help-3_1_8.jar:..../ice-4_06_6.jar:..../swingall-1_1_1.jar:..../netcfg.jar:....../aconfig.zip:...../xmlparserv2.zip RIWizard
but I can't see the window that rapidwiz is supposed to have launched.
My version of rapidwiz is 11.5.5.08, which is the one that came in the Oracle Apps 11.5.5 CD.
I suspect it is a Java issue, but am not sure. I found nothing on metalink or other forums. Anybody else has experienced a similar problem?
Thanks people
MichelHi,
Yes runWizard.sh points to the correct path - it calls the jre, but it is the jre that hangs
Now I have found out why.... Having tried to run the same rapidwiz on a different version of Linux, I got a glibc2 error, so what I did was run thew following on my Red Hat 7.1:
$ export LD_ASSUME_KERNEL=2.2.5
$ cd /usr/i386-glibc21-linux/bin
$ ./i386-glibc21-linux-env.sh
And now rapidwiz works!
Thanks for looking at the problem
Michel -
Problem with initializing VO in Jdev10g, Oracle apps R12
Hi All,
I want to initialize one VO and create row in that. I am working on Oracle apps R12 and using Jdev10g version. I have done this before in Jdev 9i in 11i.
But not sure why it is not working in 10g Jdev.
I am using following code
public void initializeVO()
OAViewObject vo = getInterfaceName1();
Row row ;
vo.setMaxFetchSize(0);
row = vo.createRow();
vo.*insertRow(row);*
row.setNewRowState*(Row.STATUS_INITIALIZED);*
Thanks in advance.
Regards,
Parag
Edited by: Parag Narkhede on Jan 15, 2010 3:16 PM
Edited by: Parag Narkhede on Jan 15, 2010 3:17 PMHi,
vo.setMaxFetchSize(0); prevents it from trying to query rows.
Try vo.executeQuery(); after vo.setMaxFetchSize(0); in this fashion:
public void initializeVO()
OAViewObject vo = getInterfaceName1();
Row row ;
vo.setMaxFetchSize(0);
vo.executeQuery();
row = vo.createRow();
vo.insertRow(row);
row.setNewRowState*(Row.STATUS_INITIALIZED);*
Also, it is a better practice to use corresponding VO row impl this way:
InterfaceNameVORowImpl row = InterfaceNameVO.createRow();
Regards,
Farrah -
Matrix Report Problem in Oracle Apps
Hii All,
I have created a matrix report in Orace Application using Oracle 6i. It running properly in Report 6i. But after registering in Oracle Apps,
It does not shows any output.
Database 10g
Report 6i
EBS Oracle 11i
Thanks
PSHi PS
Please check below links:
How to create a matrix report
How to create a matrix report
how to build matrix report
how to build matrix report
Oracle Reports Building Reports
http://download.oracle.com/docs/html/B10602_01/part4.htm
Regard
Helios -
Problems with exporting display for oracle apps installation
Platform : RedHat Enterprise Server 4
I'm trying to do a 2 tier installation of Oracle Applications.
As part of the install, I need to generate a display that can be used by the applmgr user, but bellongs to another user.
When running the following command line, I get an error message.
xauth -f .Xauthority extract - $DISPLAY | rsh -l applmgr localhost /usr/X11R6/bin/xauth merge -
connect to address 127.0.0.1: Connection refused
Trying krb4 rsh...
connect to address 127.0.0.1: Connection refused
trying normal rsh (/usr/bin/rsh)
localhost: Connection refused
Does anyne have an idea? I've done some troubleshooting, but I can't figure out what is wrong.
I have added the following in the xmgr and applmgr's profiles
DISPLAY=localhost:13
export DISPLAY
The vnc server runs on display 13These are the scripts/files I'm using for installing Oracle Apps 11.5.10 on CentOS 4.2 (RedHat Clone) - hope it helps:
install.sh - adds necessary packages
yum install libaio
yum install openmotif
yum install gcc
yum install gcc-c++
mv /usr/bin/gcc /usr/bin/gcc344
mv /usr/bin/g++ /usr/bin/g++344
rpm -iUhv compat-gcc-7.3-2.96.126.i386.rpm
rpm -iUhv --nodeps compat-gcc-c++-7.3-2.96.126.i386.rpm
ln -sf /usr/bin/gcc296 /usr/bin/gcc
ln -sf /usr/bin/g++296 /usr/bin/g++
setup.env - Setup paths
# Oracle Setup Environment
ORACLE_SETUP_APPS=/setup/oracle/install/ebusiness/startCD
ORACLE_SETUP_PATCH=/data/setup/install/db
oracle.env - Installation environment
# Oracle Environment
ORACLE_BASE=/d01/oracle
ORACLE_HOME=$ORACLE_BASE/visdb/9.2.0
ORACLE_VAR=/var/opt/oracle
ORACLE_SID=VIS
ORACLE_TERM=xterm
# export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora, etc. are not in $ORACLE_HOME/network/admin
NLS_LANG=AMERICA_AMERICAN.UTF8
#ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export ORACLE_BASE ORACLE_HOME ORACLE_SID ORACLE_TERM NLS_LANG ORA_NLS33
LD_ASSUME_KERNEL=2.4.19
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_ASSUME_KERNEL LD_LIBRARY_PATH
# Set shell search paths
export PATH=$PATH:/usr/sbin:/sbin:$ORACLE_HOME/bin
oracle - Kernel Parameters
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
setup_oracle_1.sh - Installation Step 1 : Add oracle user
#!/bin/sh
PATH=$PATH:/usr/sbin
groupadd dba # group of users to be granted with SYSDBA system privilege
groupadd oinstall # group owner of Oracle files
useradd -m -c "Oracle software owner" -g oinstall -G dba oracle -s /bin/bash
passwd oracle
setup_oracle_2.sh - Installation Step 2 : Prepare installation directory
#!/bin/sh
. ./oracle.env
BASE_DIR=/`echo $ORACLE_BASE | cut -d'/' -f2`
mkdir -p $ORACLE_BASE
chown -R oracle:oinstall /$BASE_DIR
chmod -R 775 $BASE_DIR
mkdir -p $ORACLE_VAR
chown oracle:dba $ORACLE_VAR
chmod 755 $ORACLE_VAR
setup_oracle_3_apps.sh - Installation Step 3 : Start installer
#!/bin/sh
. ./oracle.env
. ./setup.env
sysctl -p ./oracle
su oracle -c "export DISPLAY=:0.0 && $ORACLE_SETUP_APPS/Disk1/rapidwiz/rapidwiz"There are some steps afterwards, but with this I'll usually end up with a complete installation.
C. -
Problem wid SOA10g and Oracle Apps on same machine.
Hi all,
I have Oracle Apps 11.5.10 installed on my machine.. when iam trying to installing to install SOA 10g on the same machine the installation fails at one or other step.
can anyone help me ???
Regards,Can you please post the error details
-
EBS 11.5.10.2
XMLP 5.6.3
ARXAGMW.rdf
Hello,
I am trying to convert an Oracle Report to XML Publisher, and I am having problems getting lexicals in the Data Template to work.
I raised an SR for this since both related threads in this forum from two years ago were unresolved. Oracle had no answers for me, and told me to ask the question here.
So anyone who has any ideas, please chime in!
Here is a simplified version of the data template, narrowed down to just the use of the lexicals:
<?xml version="1.0" encoding="utf-8"?>
<dataTemplate name="XXWLC_ARXAGMW"
description="samples from doco"
defaultPackage=""
dataSourceRef="ORA_EBS"
version="1.0">
<properties>
<property name="xml_tag_case" value="upper" />
<property name="include_parameters" value="true" />
<property name="debug_mode" value="on" />
</properties>
<parameters>
<parameter name="P_ID_FLEX_NUM" dataType = "number" defaultValue="101" />
</parameters>
<lexicals>
<lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
name="FLEX_GL_BALANCING_APROMPT"
comment="Comment"
application_short_name="SQLGL"
id_flex_code="GL#"
id_flex_num=":P_ID_FLEX_NUM"
segments="GL_BALANCING"
show_parent_segments="Y"
metadata_type="ABOVE_PROMPT"/>
<lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
name="FLEX_GL_ACCOUNT_LPROMPT"
comment="Comment"
application_short_name="SQLGL"
id_flex_code="GL#"
id_flex_num=":P_ID_FLEX_NUM"
segments="GL_ACCOUNT"
show_parent_segments="Y"
metadata_type="LEFT_PROMPT"/>
<lexical type="oracle.apps.fnd.flex.kff.segments_metadata"
name="ACCT_BAL_LPROMPT"
application_short_name="SQLGL"
id_flex_code="GL#"
id_flex_num=":P_ID_FLEX_NUM"
segments="GL_BALANCING"
show_parent_segments="Y"
metadata_type="LEFT_PROMPT" />
</lexicals>
<dataQuery>
<sqlStatement name="Q_DOCO_SAMPLE">
<![CDATA[
SELECT
&FLEX_GL_BALANCING_APROMPT alias_gl_balancing_aprompt
,&FLEX_GL_ACCOUNT_LPROMPT alias_gl_account_lprompt
,&ACCT_BAL_LPROMPT alias_acct_bal_lprompt
FROM dual
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_DOCO_SAMPLE" dataType="varchar2" source="Q_DOCO_SAMPLE">
<element name="sample_gl_balancing_aprompt" dataType="varchar2" value="alias_gl_balancing_aprompt" />
<element name="sample_gl_account_lprompt" dataType="varchar2" value="alias_gl_account_lprompt" />
<element name="sample_acct_bal_lprompt" dataType="varchar2" value="alias_acct_bal_lprompt" />
</group>
</dataStructure>
</dataTemplate>The lexicals "compile" and run successfully, but they return String values that SHOULD be wrapped with quotes; but this doesn't happen, so the SQL that runs is:
SELECT
COMPANY alias_gl_balancing_aprompt
,ACCT alias_gl_account_lprompt
,CO alias_acct_bal_lprompt
FROM dualThus, the concurrent program ends with ERROR, due to java.sql.SQLException: ORA-00904: "CO": invalid identifier
The first two lexicals and their corresponding sql statement are samples directly from the user guide (which is full of errors). The third lexical is the one from ARXAGMW.rdf.xml that I am trying to make work.
Edited by: user650442 on Apr 30, 2010 3:58 PMBy the way, simply adding the quotes around the lexical names in the sql statement doesn't work. That causes the lexical references to be ignored as simple string values:
SELECT
'&FLEX_GL_BALANCING_APROMPT' alias_gl_balancing_aprompt
,'&FLEX_GL_ACCOUNT_LPROMPT' alias_gl_account_lprompt
,'&ACCT_BAL_LPROMPT' alias_acct_bal_lprompt
FROM dualI turned on statement-level debugging via xdodebug.cfg and saw how it compiled the lexicals. By replicating the call to apps.fnd_flex_xml_publisher_apis.kff_segments_metadata that I found there, I was able to hack together a workaround for this issue.
Please point me to a better way of doing this if possible, as I had to GRANT EXECUTE on this apps package to my custom code schema. Is there a better lexical/flexfields reference than the XML Publisher documentation?
Here is the call I made in my before-report trigger:
--set ACCT_BAL_LPROMPT flexfield segment metadata lexical
begin
apps.fnd_flex_xml_publisher_apis.kff_segments_metadata(
'FLEX_ACCT_BAL_LPROMPT',
'SQLGL',
'GL#',
101,
'GL_BALANCING',
'Y',
'LEFT_PROMPT',
c_FLEX_ACCT_BAL_LPROMPT
end; -
Unable to get 'InitialContext' using Java Client in Oracle App 10.0.2.0
Scenario & Problem Description: Unable to get 'Initial Context' using Simple Java Client in Oracle Application Server 10.0.2.0
I'm having an issue while I try to initialize the Initial Context for an EJB lookup from a simple Java Client [local lookup], but the same code snippet works fine when I try from Servlet. I have enclosed the Exception Stack Trace and the Code Snippet for your reference.
1. .NET Client ---> Servlet --> LookupUtility --> EJB --> DB - Issue
2. .NET Client ---> Servlet --> EJB --> DB - Works
Exception: java.lang.InstantiationException: Error communicating with server: Lookup error: javax.naming.AuthenticationException: Invalid username/password for Config (guest); nested exception is: nested exception is: Exception in InitialContext: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: Invalid username/password for Config (guest) at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:149)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at com.seagate.edcs.config.util.LookupUtility.getInitialContext(LookupUtility.java:123)
at com.seagate.edcs.config.util.LookupUtility.getConfiguration (LookupUtility.java:69)
at com.seagate.edcs.config.util.LookupUtility.main(LookupUtility.java:135)
Code Snippet:
* This method returns the Configuration for the properties set.
public ArrayList getConfiguration ( ) throws Exception {
ArrayList arrayList = null;
try {
Context context = getInitialContext();
System.out.println("Context : " + context);
Object home = context.lookup("java:comp/env/ejb/com.seagate.edcs.config.ejb.ConfigSessionEJBHome");
System.out.println("Object home : " + home);
ConfigSessionEJBHome configSessionEJBHome = (ConfigSessionEJBHome)PortableRemoteObject.narrow(home, ConfigSessionEJBHome.class);
System.out.println("ConfigSessionEJBHome configSessionEJBHome : " + configSessionEJBHome);
ConfigSessionEJB configSessionEJB =(ConfigSessionEJB)PortableRemoteObject.narrow(configSessionEJBHome.create(), ConfigSessionEJB.class);
System.out.println("ConfigSessionEJB configSessionEJB : " + configSessionEJB);
arrayList = configSessionEJB.getAllConfig();
System.out.println("Context : " + context);
} catch (Exception ex) {
System.out.println("Exception Occured");
throw ex;
return arrayList;
* Get an initial context from the JNDI tree.
private Context getInitialContext() throws NamingException {
try {
Hashtable hashtable = new Hashtable();
hashtable.put("java.naming.factory.initial", "com.evermind.server.ApplicationClientInitialContextFactory");
hashtable.put("java.naming.provider.url", "ormi://seagate.mil-shivas-270.am.ad.seagate.com/home"); // if we won't specify the port, it considers the default port
hashtable.put("java.naming.security.principal","ias_admin");
hashtable.put("java.naming.security.credentials","ias123");
return new InitialContext(hashtable);
} catch (NamingException ne) {
System.out.println("Exception in InitialContext.");
throw ne;
Note:
1. The user "ias_admin" & password "ias123" are the credential provided for the 'Admin' while installing the Oracle App Server and using these credentials I'm able to bring the Admin Console. Also, added new user 'guest/guest' - assigned this user to the 'admin' group ...
2. Since its a local lookup, there is no need to specify the credentials, but at runtime a dialog box pops up prompting to enter the 'userid/password' and when I enter the crendtials, I get the exception as stated. [In case of Servlet - EJB lookup, I'm not specifying any credentials]
Are there are any configuration parameters which I need to provide in any of the .xml? Could you please let me know the fix for the same.
Regards,
Kafeel/-Please use the OS {forum:id=210}
Maybe you are looking for
-
Can't install iTunes on Win Vista machine
When I click on the "Download 7.2" button it takes me to a screen that says "Thanks for installing 7.2" blah, blah, blah. The problem is that no installation occurred. I don't get any error messages, nothing. Just no download. I had an old version of
-
Itouch sound - I can hear music but not vocals on songs.
Hello - I have an Ipod touch and the sound was working with no problem, but now I can hear the music but not the actucal singing. I have read that it might be the playback speed, but I do not see an option to change that. please help!
-
SSOServlet - query string parameters being lost
Hi, We recently upgraded ALUI from version 5.04J to 6.1. After the upgrade, we noticed one issue with the redirection. When the user is not logged in & accesses a secure commnity, he/she is redirected to the SSO Servlet. For instance, if the followin
-
How can I download a photo folder from my computer and have them appear on my ipad in the same order as they were on my computer
-
Release jms connection doesn?t release.
Hi All, Environment: WLS 7.0sp2, JMS: weblogic JMS JMSJDBCStore, database oracle9 We invoke the following sendEvent code from a worker thread invoked by a scheduler that was started in a servlet init method (th