Error in JClient with Control Hints (BC4J)
Hello,
In a project JClient based in BC4J (JDeveloper 9.0.3.1035 with JDK 1.4.2), the visual interface does not answer to changes in the level of BC4J (Control Hints).
For example, if we establish the property DISPLAY_HINT=Hide for a column, it remains visible, or if we establish the property FORMAT TYPE = Simple Date and FORMAT = yyyy-MM-dd G 'at' hh:mm:ss, the information relative to hh:mm:ss is equal to 12:00:00. There exists another way of personalizing these properties? To level of code, perhaps.
Thanks.
To actually hide any attribute/column, you can simply delete either the reference to the attribute from the binding if you're using a JTable or delete the label and textfield for the attribute you wish to hide.
Using the control hints won't work in this case.
About the formatting, I don't know much about that. Sorry.
Similar Messages
-
Problem with control hints and date formatting
Hi,
I have a Date attribute with a control hint 'dd.MM.yyyy' in my EO. When the user browse through the data all date values have 4 digits. But when a lazy user changes a date value to e.g. 12.12.04, the new value is stored as 12.12.0004. This is correct Java behavior.
When I change my control hint to 'dd.MM.yy', the lazy user can enter 12.12.04, which is stored as 12.12.2004. Great, but the user want to see a 4-digit year.
My problem is that the customer wants to enter only 2 digits for the year but the application must render the date with 4 digits.
How can I configure ADF to solve my problem?
Does Domains help? Is there a general switch in Java or ADF witch converts 12.12.04 to 12.12.2004?
Any hints are welcome.
Thanks,
MarkusFor your 2nd problem, you can create a field of type string (create a data type which has domain STRING), which has unlimited lenght. However, you can only have 3 of these fields in your table.
I think this will solve the # problem too.
Regards,
Valter Oliveira. -
Problem with control hints and Struts tags
hi all. i'm using jdev 10.1.2 and JSP's. I was trying to set the format mask for a couple of number fields and ran into some trouble because; "JSP 1.2 prevents control hints from being used to set input element's display properties in a Struts input form". Has anyone found a way around this.
thanksin your code, are you using the name attribute?
that's required:
http://e-docs.bea.com/wlp/docs70/jsp/navigat.htm#999781
there are examples of this tag in use...
c:/bea/weblogic700/samples/portal/sampleportalDomain/beaApps/sampleportal/sampleportal/registration/new_user.jsp
-tanya
"Sai S Prasad" <[email protected]> wrote:
>
Hi,
I am trying to populate a validatedForm text filed like this:
<webflow:text value='<%= invoiceNumber %>' />
I tried single and double quotes and I can't get it to work. The page
always has
blank value for this text field. Any suggestions are welcome. Thanks. -
Error deploying Jclient with oc4j using webstart with oracle lite
I have included almost all the files that I found in any documentation.
configured data sourses doe oc4j, put the oralite40.jar in lib directory of oc4j but still getting this error when I start the deployed application
oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
(oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (model.AppModuleLocal) failed to checkout an application module due to the following exception:
----- LEVEL 1: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
----- LEVEL 2: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
----- LEVEL 3: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
----- LEVEL 4: DETAIL 0 -----
(oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
----- LEVEL 5: DETAIL 0 -----
(java.sql.SQLException) No suitable driver
can any one help meI am also getting the same error when trying to test the jspx from JDev. I created an EO, VO and Application Module connecting to MS SQL server 2000 database. I created the Database using JDBC-ODBC bridge and was able to access the tables successfully. When testing the Application Module from the BC browser i am able to navigate between the records of the EO/VO successfully. I included this VO as a Read Only table in one of my jspx page and when trying to test the jspx page i get the same error.
Please help and let me know what i am missing. -
Control-Hints are suppose work with UIX/XML, right?
Control-Hints are suppose work with UIX/XML, right?
I've added some control hints and they worked correctly when viewed using UIX/JSP pages. However, none of the Control-Hints appear on UIX/XML pages.
The documentation suggests that this should work. Am I wrong?
Bill G...There's a bit of confusion here (which is entirely our fault).
UIX JSP is a subset of UIX XML (almost entirely; a few tags in
UIX JSP simply wouldn't make sense in UIX XML, like <uix:buildTree>).
However, BC4J UIX JSP is not a subset of BC4J UIX XML; the two
are essentially entirely different libraries. (Any JSP tag that
starts with <bc4juix:> counts as a "BC4J UIX JSP" tag.) I agree
that this is confusing.
As far as control hints go: BC4J UIX XML does not currently
support control hints. It does offer more than enough flexibility
to tweak all the dials and knobs made available by control hints (and
a lot more). -
VSM-BC4J IN JDEV9042:compile error at JClient and run error at JSP
compile error at JClient:
C:\VSM-BC4J\src\oracle\otnsamples\vsm\client\admin\profilePanal.java
--! Wraning(424,18):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
--! Wraning(425,20):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
--! Wraning(428,21):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
--! Wraning(430,13):method setNextFocusableComponent(java.awt.Component) in class javax.swing.JComponent has been deprecated
run error at JSP:
503 Service Unavailable
Servlet error:Parsing error processing resource pathSolution: don't use a runtime expression for the id attribute.
The id attribute is used to declare
- an attribute in scope
- a scriptlet variable on the page
These are only available for the duration of the <logic:iterate> tag
The "id" is only used in your programming. You don't need to make it dynamic. -
Control Hints, various languages????? 9.0.3
Hi,
how can i set the control hints for an attribute for various languages. in jdev 9.0.2 it was very easy but in jdev 9.0.3 pre??????
Pleas help
Thanks
AchimHere's what I tried.
Created a default JClient app over BC4J (Dept/Emp tables).
Added control hints for Dept Entity attribute DName.
Created a new class DeptImplMsgBundle_en_GB that extends DeptImplMsgBundle and lives in the same package (mypackage1.common)
In the generated JClient example, I modified the "main()" method to perform Locale.setLocale(Locale.UK) in the first line in the main.
And then when the JClient app is run it does pickup proper locale text for the control hints (from the UK msg bundle).
Also I tried app.setLocale(Locale.UK) instead of Locale.setLocale() - where app is the JUApplication object returned from createApplicationObject method call in the main () and that worked too - The label/tooltip for Dname did show properly.
To get data/connection setup in proper locale you may want to set the jbo.default.country and jbo.default.language properties in the application module configuration. -
Control hints tab for an attribute of a view object shows null pointer erro
hi
I am using j developer 11g. I have a view object and it is working fine and i set control hints for an attribute , i set display label and length etc
there. now i am taking the view object the control hints tab for the particular tab didnt shows and there displayed follwing error
how can i rectiify this error.
java.lang.NullPointerException
at oracle.jbo.dt.ui.main.misc.ControlHintsPanel.isOverridenProperty(ControlHintsPanel.java:662)
at oracle.jbo.dt.ui.main.misc.ControlHintsPanel.processUIHintsOnEnter(ControlHintsPanel.java:577)
at oracle.jbo.dt.ui.main.misc.BaseControlHintsPanel.initializeControlsFromContext(BaseControlHintsPanel.java:187)
at oracle.jbo.dt.ui.main.misc.BaseControlHintsPanel.enter(BaseControlHintsPanel.java:340)
at oracle.jbo.ui.wizard.JboWizard.selectPage(JboWizard.java:806)
at oracle.jbo.ui.wizard.JboWizard.selectPage(JboWizard.java:758)
at oracle.jbo.ui.wizard.JboWizard.newMddPageSelected(JboWizard.java:827)
at oracle.jbo.ui.mdd.MddTraversable.onEntry(MddTraversable.java:70)
at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:1213)
at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:1194)
at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java:128)
at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1650)
at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1518)
at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1512)
at javax.swing.Timer.fireActionPerformed(Timer.java:271)
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
at java.awt.Dialog$1.run(Dialog.java:1045)
at java.awt.Dialog$3.run(Dialog.java:1097)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1095)
at java.awt.Component.show(Component.java:1422)
at java.awt.Component.setVisible(Component.java:1375)
at java.awt.Window.setVisible(Window.java:806)
at java.awt.Dialog.setVisible(Dialog.java:985)
at oracle.jbo.ui.main.JboDialog.setVisible(JboDialog.java:164)
at oracle.jbo.ui.wizard.JboWizard$MddWizardDialog.setVisible(JboWizard.java:2557)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.jbo.ui.main.JboDialog.showDialog(JboDialog.java:142)
at oracle.jbo.ui.wizard.JboWizard$MddWizardDialog.showDialog(JboWizard.java:2493)
at oracle.jbo.ui.wizard.JboWizard.createMddWizard(JboWizard.java:549)
at oracle.jbo.ui.wizard.JboWizard.setVisible(JboWizard.java:352)
at oracle.jbo.ui.wizard.JboWizard.showDialog(JboWizard.java:330)
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeEOAttributeDialog(JdxMenuManager.java:1295)
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.invokeAttributeDialog(JdxMenuManager.java:1277)
at oracle.jbo.dt.ui.main.DtuMenuManager.doEditMenuAction(DtuMenuManager.java:1776)
at oracle.jbo.dt.ui.main.DtuMenuManager.performMenuAction(DtuMenuManager.java:1584)
at oracle.jbo.dt.ui.main.DtuMenuManager.doMenuAction(DtuMenuManager.java:1377)
at oracle.jbo.dt.jdevx.ui.JdxMenuManager.doMenuAction(JdxMenuManager.java:892)
at oracle.jbo.dt.jdevx.deployment.ui.JxdMenuManager.doMenuAction(JxdMenuManager.java:66)
at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1363)
at oracle.jbo.dt.ui.main.DtuMenuManager.doAction(DtuMenuManager.java:1348)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoBaseEditor.doMenuAction(JeoBaseEditor.java:327)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorPage.doMenuAction(JeoEditorPage.java:777)
at oracle.jbo.dt.jdevx.ui.editors.view.VoeAttributesPage.doMenuAction(VoeAttributesPage.java:366)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorPage.mouseDoubleClick(JeoEditorPage.java:642)
at oracle.jbo.dt.jdevx.ui.editors.common.JeoEditorPage.mouseClicked(JeoEditorPage.java:623)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.Component.processMouseEvent(Component.java:6044)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)I did try making a VO that extends the original VO, but with the attribute based on the SDO_NN_DISTANCE function call, which means that a call to SDO_NN MUST be in the WHERE clause.
This works to some extent, in that the common attributes and methods are in the second VO, inherited from the first, without me having to write them again. However, I have to use them in my ViewController project as two separate VOs. For one thing, I need two separate result pages, one for when the query used the SDO_NN in the where, and needed the distance in the output, and one without. One uses the original VO, and the other uses the new one. Similarly, I need two separate pages for adding additional criteria. Doing it this way with pairs of nearly identical pages is going to be a pain, and will be difficult to maintain, since any change will have to be done twice. Or can .jspx pages be written that extend other .jspx pages, and in particular override the VO bindings in the pageDef? Could a single .jspx page decide dynamically which pageDef to use?
I decided to try a different tack. Back to a single VO, I wrote a WHERE clause that calls SDO_NN, but returns all of the rows. That way, I can have a call to SDO_NN_DISTANCE in the SELECT for all queries, and I was even able to add a parameter that sets the Distance attribute to NULL if it is irrelevant to the query the user constructs. This is a good work around, but it is a little slow, because SDO_NN is doing a lot of work but returning every row when it hasn't been replaced with an "actual" SDO_NN where clause.
One more possibility: Can I have a method that replaces the entire SELECT command for this VO dynamically? I assume that you need to make sure that the expressions in the SELECTed data still map to the attributes one to one, with the same aliases. After all, I am already replacing the WHERE clause dynamically, and it works fine. -
Settinc control hints values in entity object attributes generically
Hi, how are you? I work for a project , that uses JDeveloper 10.1.3.3 version and I am assigned to solve some problems in the part that is associated with ADF Business Components—Model—of the application. The question is how could I implement generic functionality in CustomEntityImpl and there I am to assign some control hint values to some attributes and then the entities that will extend this class will acquire this functionality in their attributes.
I send you some code I have in my mind in order to find out how to write something relevant to set control hints. I have searched in relevant api’s for AttributeHints and EntityDef but I did not find a solution to my problem. I’ve tried this code:
private final String desc = "Description";
protected boolean findAttribute(String name) {
String[] list = this.getAttributeNames();
for (int i = 0; i < list.length; i++) {
if (name.equals(list))
return true;
return false;
public void beforeCommit(TransactionEvent transactionEvent) {
if (findAttribute(desc)){
* AttributeDefImpl adi=null;
adi.setProperty(AttributeHints.ATTRIBUTE_DISPLAY_HINT_HIDE,"Hide");
AttributeDef desc=(AttributeDef)adi.getProperty(AttributeHints.ATTRIBUTE_DISPLAY_HINT_HIDE);
super.beforeCommit(transactionEvent);
but it does not work. How could I set this value – to hide one attribute whenever it exists in my entities , setting it once in my CustomEntityImpl class?
I’ve read the whole tutorial ADF Business Components For Forms 4GL Developers but I did not find a solution to my problem. Your help would be a gift to me. Thank you very much!
* I think that the error is here because this object can not be null. In an api I found the following :
Advanced users can provide their own implementation of EntityDefImpl (by subclassing EntityDefImpl). Within it, they can create their own AttributeDefImpls by using: new AttributeDefImpl(...);
How should I subclass EntityDefImpl to create an AttributeDefImpl object?Hi
why don't you create a mehod on the ApplicationModule and call it from the managed bean (using ADF bindings) to pass ths values in ? Note that a managed bean that has a scope of session doesn't mean that it sits in the session to be shared with ADF BC
Frank -
Problem of Customizing Control Hints
I am now working with BC4J+Uixml to demonstrate a Web .And I want to use Control hints in Object Entities for the Object Veiws which depend on them.But I dont think i can work after trying it sometimes . But i got that this problem is fixed but the fix ist not for 903,Just want to know how long we should wait until this problem is soluted or Maybe I can have another way ,thanks .
Hi Trevi, I have tried it again . And it seems not better.Here is my code --a table and a Choice based on the same Countries EO. the table can be displayed properly but Nothing is post to the Choice.
<bc4j:viewObjectScope name="Countries">
<contents>
<bc4j:table name="CountryTable">
<contents>
<bc4j:column attrName="CountryId" >
<columnHeader>
<bc4j:sortableHeader/>
</columnHeader>
<contents>
<bc4j:textInput readOnly="true"/>
</contents>
</bc4j:column>
<bc4j:column attrName="CountryName">
<columnHeader>
<bc4j:sortableHeader/>
</columnHeader>
<contents>
<bc4j:dateField readOnly="true"/>
</contents>
</bc4j:column>
</contents>
</bc4j:table>
<bc4j:messageChoice nodeID="CountryName" attrName="CountryName" >
</bc4j:messageChoice>
</contents>
</bc4j:viewObjectScope>
Where ist the problem now?
Thanks
Yong -
I have two different panels in my program with various controls. The .h file
created by Labwindows for my .uir is partially reproduced below:
#include
#ifdef __cplusplus
extern "C" {
#endif
/* Panels and Controls: */
#define PANEL 1
#define PANEL_DATE 2
#define PANEL_FILE 3
#define PANEL_EWTR 4
#define PANEL_PROCESS 5
#define PANEL_CONVERT 6
#define PANEL_DONE 7
#define PANEL_PRINT 8
#define PANEL_SAVE 9
#define PANEL_TEXTBOX 10
#define PANEL_TEMP 11
#define PANEL_RH 12
#define PANEL_ATM 13
#define PANEL_MARKER_FREQ 14
#define PANEL_MARKER_DB 15
#define PANEL_MARKER_MIN 16
#define PANEL_MARKER_MAX 17
#define PANEL_MARKER_RIGHT 18
#define PANEL_MARKER_LEFT 19
#define PANEL_GRAPH 20
#define PANEL_SCALE 21
#define PANEL_MARKER 22
#define PANEL_TEXTMSG_3 23
#define PANEL_TEXTMSG_4 24
#define PANEL_TEXTMSG_2 25
#define PANEL_TEXTMSG 26
#define PANEL_2 2
#define PANEL_2_GRAPH 2
#define PANEL_2_N_5 3
#define PANEL_2_N_4 4
#define PANEL_2_N_3 5
#define PANEL_2_N_2 6
#define PANEL_2_N_1 7
#define PANEL_2_LED_5 8
#define PANEL_2_LED_4 9
#define PANEL_2_LED_3 10
#define PANEL_2_LED_2 11
#define PANEL_2_LED_1 12
#define PANEL_2_DONE 13
#define PANEL_2_MARKER_FREQ 14
#define PANEL_2_MARKER_DB 15
#define PANEL_2_MARKER_MIN 16
#define PANEL_2_MARKER_MAX 17
#define PANEL_2_MARKER_RIGHT 18
#define PANEL_2_MARKER_LEFT 19
#define PANEL_2_PRINT 20
#define PANEL_2_BUTTON_5 21
#define PANEL_2_BUTTON_4 22
#define PANEL_2_BUTTON_3 23
#define PANEL_2_BUTTON_2 24
#define PANEL_2_BUTTON_1 25
#define PANEL_2_CURRENT 26
#define PANEL_2_TEXTMSG_2 27
#define PANEL_2_TEXTMSG_3 28
#define PANEL_2_TEXTMSG_4 29
#define PANEL_2_TEXTMSG 30
#define PANEL_2_MARKER 31
The problem is that Labwindows has assigned the same control ID to controls
in the two panels, for example, PANEL_MARKER_MIN and PANEL_2_MARKER_MIN have
the same ID, i.e. 16. If I try to use both of these controls in the same
"case" statment, I get an error "Duplicate case label '16'." If I try to
modify the .h file manually, and change the ID for PANEL_2_MARKER_MIN to
216, there is no error and the program executes but it no longer recognizes
mouse clicks on the PANEL_2_MARKER_MIN control.
Is there some way to fix this problem? Is there a way to force Labwindows
to assign different IDs for all controls, regardless of what panel they are
in?
Thank you for your help in advance."...The problem is that Labwindows has assigned the same control ID to
controls
in the two panels, for example, PANEL_MARKER_MIN and PANEL_2_MARKER_MIN have
the same ID, i.e. 16. If I try to use both of these controls in the same
"case" statment, I get an error "Duplicate case label '16'." ..."
UIR editor counts controls inside the single panel they are in. In your
example, PANEL_MARKER_MIN and PANEL_2_MARKER_MIN have the same ID 'cause
both are the 16th control in their panel, rare case but it happens...
There is no way to force UIR editor to assign specific IDs to controls,
unless you add in one panel decoration controls or text messages and put
them before the other control in 'panel order' (ctrl+t in the editor): with
that trick you put in one panel all controls star
ting with order 0 (that is,
with control ID starting from 1 in the .h file), while in the second you
have non-operative contrls with lower IDs and operative controls or
indicator with higher IDs. This is NOT a polite solution since it relies on
the number of controls in the panels: every time you add new controls to a
panel, you should manage how IDs are assigned to them in order to avoid this
problem...
The best solution is to have two nested cases in your code, first one to
manage different panels, second one to manage different controls:
switch (panel) {
case PANEL:
switch (control) {
case PANEL_MARKER_MIN:
break;
// other controls of PANEL must be put here
break;
case PANEL_2:
switch (control) {
case PANEL_2_MARKER_MIN:
break;
// Other controls of PANEL_2 here
break;
That way you avoid any possible confusion and control mismatching that can
c
ause bizarre beaviour to your progrma.
Hope that helps
Roberto -
Hi all,
OS: OEL 6.3 64 bits
DB: 11.2.0.3
Grid: 12.1
While installing Grid Control 12c, the following error appears to me:
INFO: SaveInvWCCE JRE files in Scratch
INFO: oracle.installer.mandatorySetup property is set to false, so skipping the execution of additional tools
INFO: oracle.installer.installUpdates property is set to false, so skipping the checking of updates
INFO: Config Initialize JRE files in Scratch
INFO: no env vars set, no envVars.properties file is generated
INFO: none of the components are configurable
INFO: This is a shared oracle home or remote nodes are null. No copy required.
INFO: Adding iterator oracle.sysman.oii.oiif.oiifw.OiifwRootShWCDE
INFO: Updating the global context
INFO: Path To 'globalcontext.xml' = /gridControl/WLS/jdk16/install/chainedInstall/globalcontext
INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list
INFO: Install Finished at: 2013-07-04_11-12-49-PM
INFO: The ARU ID found in shiphomeproperties.xml file is 226
INFO: ARUId present in shiphomeproperties.xml matches with the 64 bit OMS Platforms ARU ID 226, so -d64 is passed for wls install.
INFO: Executing the command /gridControl/WLS/jdk16/jdk/bin/java -d64 -Djava.io.tmpdir=/gridControl/WLS/.wlsinstall_temp -Xms128m -Xmx1024m -jar /u01/binaries//wls/wls1035_generic.jar -mode=silent -silent_xml=/gridControl/WLS/.wlsinstall_temp/wls.xml -log=/u01/oraInventory/logs/installActions2013-07-04_11-07-45PM.log.wls -log_priority=debug
INFO: Extracting 0%....................................................................................................100%
INFO: ERROR STREAM: *sys-package-mgr*: skipping bad jar, '/u01/binaries/wls/wls1035_generic.jar'
INFO: #
INFO: # A fatal error has been detected by the Java Runtime Environment:
INFO: #
INFO: # SIGSEGV (0xb) at pc=0x0000003a23689cdc, pid=24834, tid=139710737405696
INFO: #
INFO: # JRE version: 6.0_24-b50
INFO: # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
INFO: # Problematic frame:
INFO: # C [libc.so.6+0x89cdc]
INFO: #
INFO: # An error report file with more information is saved as:
INFO: # /tmp/hs_err_pid24834.log
INFO: #
INFO: # If you would like to submit a bug report, please visit:
INFO: # http://java.sun.com/webapps/bugreport/crash.jsp
INFO: #
INFO: Return value is 134
INFO: POPUP ERROR:Installation of Oracle WebLogic Server has failed, check log files for more details.
The line "skipping bad jar, '/u01/binaries/wls/wls1035_generic.jar'" is the one that's worring me. Can it be corrupt? Or it is something else?
Thanks in advance.Its too early to conclude the issue is a bug with out looking into the logs. For the same reason i requested you to open an SR so that we can have a look at the logs and identify the cause. If you are Oracle employee then you can share the VM details else we need logs to debug this further. If any one from your company can open an sr and share logs then that will be helpful. Can you also check if the shiphome that you downloaded is all correct and checksum/byte matches to what is mentioned on OTN.
-
RC-50004: Fatal: Error occurred in ApplyDatabase: Control file creation fai
Hi guys,
I am cloning and EBS 12.1.3 from one server to another, and when Configuring the target system database server with ''perl adcfgclone.pl dbTier'', I am getting the following error:
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
MOS is saying that it is due to wrong permissions on the /var/tmp/.oracle directory and we should give it the following permissions:
chmod 777 /var/tmp/.oracle
After giving those permissions and rebooting the server , and running the perl adcfgclone.pl dbTier script, I am still having the same problem:
RC-50004: Fatal: Error occurred in ApplyDatabase:
Control file creation failed
This is the contents of the ApplyDBTier log file (since the file exceed 30.000 characters, i am going to post the parts where the errors occur:
[oratest@DLAERPSRV01 ERP_DLAERPSRV01]$ cat ApplyDBTier_05021530.log
Started ApplyDBTier at Thu May 02 15:30:44 WAT 2013
Version:
ApplyDBTier.java : 120.6.12010000.3
ApplyDBTier (prog) -1 true true true...
# Calling ApplyDBTechStack...
Executing runInstallDriver...
Started unzipping files...
Completed runInstallDriver.
Executing home registration for s_db_oh...
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adouidb.pl
dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl to /u02/oratest/db/tech_st/11.1.0/appsutil/out/ouicli20.pl
setting permissions: 700
setting ownership: oratest:dba
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/config_ux.tmp
dest : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c
backup : /u02/oratest/db/tech_st/11.1.0/rdbms/lib/config.c to /u02/oratest/db/tech_st/11.1.0/appsutil/out/config21.c
setting permissions: 700
setting ownership: oratest:dba
instantiate file:
source : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adlnkoh.sh
dest : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
backup : /u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh to /u02/oratest/db/tech_st/11.1.0/appsutil/out/adlnkoh20.sh
setting permissions: 700
setting ownership: oratest:dba
Executing script in InstantiateFile:
/u02/oratest/db/tech_st/11.1.0/perl/bin/perl -I /u02/oratest/db/tech_st/11.1.0/perl/lib/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/perl/lib/site_perl/5.8.3 -I /u02/oratest/db/tech_st/11.1.0/appsutil/perl /u02/oratest/db/tech_st/11.1.0/appsutil/clone/ouicli.pl
script returned:
Beginning OUI CLI cloning for s_db_ohThu May 2 15:30:46 2013
/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin/java -classpath /u02/oratest/db/tech_st/11.1.0/appsutil/java:/u02/oratest/db/tech_st/11.1.0/oui/jlib/OraInstaller.jar:/u02/oratest/db/tech_st/11.1.0/appsutil/java/xmlparserv2.jar oracle.apps.ad.clone.util.OracleHomeCloner -OUICLI -e /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml -nolink -oaVar s_db_oh -homestub db -log /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/ohclone.log
Running OUI CLI home cloning from within OracleHomeCloner:
/u02/oratest/db/tech_st/11.1.0/oui/bin/runInstaller -clone -silent -force -nolink -waitForCompletion -invPtrLoc /u02/oratest/db/tech_st/11.1.0/admin/oui/ERP_DLAERPSRV01/oraInst.loc ORACLE_HOME=/u02/oratest/db/tech_st/11.1.0 ORACLE_BASE=/u02/oratest/db/tech_st/11.1.0 ORACLE_HOME_NAME=ERP_DB__u02_oratest_db_tech_st_11_1_0 -J-Doracle.installer.noLink=true
Finished OUI CLI cloning for s_db_oh with return code: 0Thu May 2 15:30:56 2013
Executing script in InstantiateFile:
/u02/oratest/db/tech_st/11.1.0/appsutil/clone/adlnkoh.sh
script returned:
adlnkoh.sh started at Thu May 2 15:30:56 WAT 2013
Log file located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
Using make file "ins_emagent.mk" for linking SYSMAN utilities...
Error while running adlnkoh.sh.
return code = .16
Please check logfile located at /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/make_05021530.log
.end std out.
.end err out.
Executing Technology Stack Configuration...
Executing runAutoConfig...
Deleting files of type INSTALL
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/sqlnet.ora
Processing driver file: /u02/oratest/db/tech_st/11.1.0/appsutil/template/addbtmpl.drv
Checking for file: /u02/oratest/db/tech_st/11.1.0/appsutil/install/ERP_DLAERPSRV01/txkConfigDbOcm.pl
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/dbs/initERP.ora
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
File exists
File deleted
Checking for file: /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/tnsnames.ora
File exists
File deleted
Testing for RAC specific parameters before running autoconfig
No RAC specific parameters were found, running with CVM
Starting CVM in INSTE8_SETUP mode
Using Context file : /u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
Attempting to create a back up of the Context file
Created back up file of name :
/u02/oratest/db/tech_st/11.1.0/appsutil/out/ERP_DLAERPSRV01/05021531/ERP_DLAERPSRV01.xml
===========================================================================
Starting synchronization of file system Context file and its templates with those in the database
Database connection : Failed
OAM Context editing support feature: Unverified
OAM Customization support feature : Unverified
File system template : /u02/oratest/db/tech_st/11.1.0/appsutil/template/adxdbctx.tmp
Checking for customizations to Context template
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations.
Looking for custom template at : /u02/oratest/db/tech_st/11.1.0/appsutil/template/custom/adxdbctx.tmp
Custom template : Not Available
Customizations found : None
File system Context file :/u02/oratest/db/tech_st/11.1.0/appsutil/ERP_DLAERPSRV01.xml
Checking the Context file for possible updates from the Database
Warning: Unable to connect to Database.
If the system is OAM enabled, this may result in loss of customizations and the Context files in DataBase and in the file system may be unsynchronized
===========================================================================
Starting Updates of Context file Thu May 02 15:31:44 WAT 2013
found context version : 120.34.12010000.14
available update version : 120.34.12010000.14
No updates to apply
Starting DB listener with command:
/u02/oratest/db/tech_st/11.1.0/appsutil/scripts/ERP_DLAERPSRV01/addlnctl.sh start ERP
Logfile: /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt
You are running addlnctl.sh version 120.1.12010000.4
Starting listener process ERP ...
LSNRCTL for Linux: Version 11.1.0.7.0 - Production on 02-MAY-2013 15:32:23
Copyright (c) 1991, 2008, Oracle. All rights reserved.
Starting /u02/oratest/db/tech_st/11.1.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
Log messages written to /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
STATUS of the LISTENER
Alias ERP
Version TNSLSNR for Linux: Version 11.1.0.7.0 - Production
Start Date 02-MAY-2013 15:32:23
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u02/oratest/db/tech_st/11.1.0/network/admin/ERP_DLAERPSRV01/listener.ora
Listener Log File /u02/oratest/db/tech_st/11.1.0/admin/ERP_DLAERPSRV01/diag/tnslsnr/DLAERPSRV01/erp/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523)))
Services Summary...
Service "ERP" has 1 instance(s).
Instance "ERP", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
addlnctl.sh: exiting with status 0
addlnctl.sh: check the logfile /u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/addlnctl.txt for more information ...
.end std out.
.end err out.
checking DB Connection...
DEBUG: checkDBConnection in()
ADX Database Utility
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
DEBUG: checkDBConnection out()
Skipping Profile Phase
Skipping Apply Phase
Executing CreateDB...
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
adcrdb.sh started at Thu May 2 15:32:40 WAT 2013
The environment settings are as follows ...
ORACLE_HOME : /u02/oratest/db/tech_st/11.1.0
ORACLE_SID : ERP
TWO_TASK :
PATH : /u02/oratest/db/tech_st/11.1.0/perl/bin:/u02/oratest/db/tech_st/11.1.0/bin:/usr/bin:/usr/sbin:/u02/oratest/db/tech_st/11.1.0/appsutil/jre/bin:/bin:/usr/bin/X11:/usr/local/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/u02/oratest/db/tech_st/11.1.0/appsutil/clone/bin/../jre/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oratest/bin:.
LD_LIBRARY_PATH : /u02/oratest/db/tech_st/11.1.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/u02/oratest/db/tech_st/11.1.0/lib:/usr/dt/lib:/u02/oratest/db/tech_st/11.1.0/ctx/lib
Executable : /u02/oratest/db/tech_st/11.1.0/bin/sqlplus
The log information will be written to
/u02/oratest/db/tech_st/11.1.0/appsutil/log/ERP_DLAERPSRV01/adcrdb_ERP.txt
Creating the control file for ERP_DLAERPSRV01 database ...
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:40 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
CREATE CONTROLFILE REUSE SET DATABASE "ERP"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
BEGIN dbms_backup_restore.zeroDbid(0); END;
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ORACLE instance shut down.
Connected to an idle instance.
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semget failed with status: 22
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpbitsper
CREATE CONTROLFILE REUSE SET DATABASE "ERP"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter database open resetlogs
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
alter tablespace TEMP add tempfile '/u02/oratest/db/apps_st/data/temp01.dbf' REUSE
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ALTER DATABASE RENAME GLOBAL_NAME TO "ERP.camairco.local"
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
declare lib_ver varchar2(3);
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
ERROR:
ORA-01012: not logged on
Process ID: 0
Session ID: 0 Serial number: 0
Disconnected
exit_code=1
Checking for errors ...
The database has not been successfully created. Shutting down the instance ...
SQL*Plus: Release 11.1.0.7.0 - Production on Thu May 2 15:32:42 2013
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
ORACLE instance shut down.
Disconnected
.end std out.
.end err out.
ADX Database Utility
getConnectionUsingAppsJDBCConnector() -->
APPS_JDBC_URL='null'
Trying to get connection using SID based connect descriptor
getConnection() -->
sDbHost : DLAERPSRV01
sDbDomain : camairco.local
sDbPort : 1523
sDbSid : ERP
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@DLAERPSRV01.camairco.local:1523:ERP
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP)))
Exception occurred: java.sql.SQLRecoverableException: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DLAERPSRV01.camairco.local)(PORT=1523))(CONNECT_DATA=(SERVICE_NAME=ERP.camairco.local)))
Exception occurred: java.sql.SQLException: Listener refused the connection with the following error:
ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.doConf(ApplyDatabase.java:635)
at oracle.apps.ad.clone.ApplyDatabase.doApply(ApplyDatabase.java:473)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:366)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:110)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
at java.lang.Thread.run(Unknown Source)
[oratest@DLAERPSRV01 ERP_DLAERPSRV01]$
Please guys, how can I solve this problem?@Hussain Sawwan
Hi Hussain,
After successfully configured the DbTier and AppsTier with their respective post clone scripts the appstier was automatically started at the end.
But now, I can't seem to connect with my IE 9 and Firefow browsers.
Link: http://dlaerpsrv01.camairco.local:8002/OA_HTML/
Contents of the portpool.lst:
***** List of ports allocated based on port pool 2 *****
Database Port : 1523 (EXT_PORT)
RPC Port : 1628
Web SSL Port : 4445
ONS Local Port : 6102
ONS Remote Port : 6202
ONS Request Port : 6502
Web Listener Port : 8002
Active Web Port : 8002 (DUP_PORT)
Forms Port : 9002
Metrics Server Data Port : 9102
Metrics Server Request Port : 9202
JTF Fulfillment Server Port : 9302
MSCA Server Port : 10212-10217
MCSA Telnet Server Port : 10212,10214,10216 (DUP_PORT)
MSCA Dispatcher Port : 10806
Java Object Cache Port : 12347
OC4J JMS Port Range for Oacore : 23010-23014
OC4J JMS Port Range for Forms : 23510-23514
OC4J JMS Port Range for Home : 24010-24014
OC4J JMS Port Range for Oafm : 24510-24514
OC4J JMS Port Range for Forms-c4ws : 26510-26514
OC4J AJP Port Range for Oacore : 21510-21514
OC4J AJP Port Range for Forms : 22010-22014
OC4J AJP Port Range for Home : 22510-22514
OC4J AJP Port Range for Oafm : 25010-25014
OC4J AJP Port Range for Forms-c4ws : 26010-26014
OC4J RMI Port Range for Oacore : 20010-20014
OC4J RMI Port Range for Forms : 20510-20514
OC4J RMI Port Range for Home : 21010-21014
OC4J RMI Port Range for Oafm : 25510-25514
OC4J RMI Port Range for Forms-c4ws : 27510-27514
[root@DLAERPSRV01 appltest]#
Entry in the /etc/hosts in my Win 7 Laptop:
192.168.0.245 dlaerpsrv01.camairco.local dlaerpsrv01
What could be the cause of this problem? It is unfortunate to reach at this point and not being able to connect. -
Getting Error when createing Table control in Module Pool.
Hi expert ,
i am creating a module pool program . i want to crate line item value for that i have created table control on screen 200 .
but when i am activation to that giving error below mention.
The field "ZFBDCHALLAN-EBELN" is not assigned to a loop. "LOOP ...ENDLOOP" must appear in "PBO" and "PAI".
thanks
chandraIts mandatory to have loop endloop in both events
PBO and PAI
loop your internal table similarly.
Please check it should be below format
PROCESS BEFORE OUTPUT.
* Set PF Status for screen 100.
MODULE status_0200.
* This module will initialize the field
MODULE init_0100.
LOOP AT t_custmat_asg INTO w_custmat_asg
WITH CONTROL tc_1
CURSOR tc_1-current_line.
* It will count the record in internal table
MODULE set_linecount.
* Screen Modifications
MODULE status_check.
ENDLOOP.
PROCESS AFTER INPUT.
* Module AT EXIT-COMMAND
MODULE exit_0200 AT EXIT-COMMAND.
LOOP AT t_custmat_asg .
CHAIN.
FIELD :
w_custmat_asg-check,
w_custmat_asg-kunnr,
w_custmat_asg-name1,
w_custmat_asg-asgtyp,
w_custmat_asg-productcls,
w_custmat_asg-sctegry,
w_custmat_asg-ctegry,
w_custmat_asg-parent,
w_custmat_asg-frmdate,
w_custmat_asg-todate,
w_custmat_asg-frecster,
w_custmat_asg-salesrep,
w_custmat_asg-flag,
w_custmat_asg-username,
w_custmat_asg-udate.
* Validation For Forecaster.
MODULE validate_forecaster.
* Validation For Salesrep.
MODULE valiate_salesrep.
* Validation for Customer
module validate_customer.
* Validate null value
module validate_null_vals.
* Validation For Data Changed On The Screen
MODULE data_changed_0200 ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
Regards
Satish Boguda -
Trying to set control hints in entity object attributes in generic classes
Hi, how are you? I work for a project , that uses JDeveloper 10.1.3.3 version and I am assigned to solve some problems in the part that is associated with ADF Business Components—Model—of the application. The question is how could I implement generic functionality in CustomEntityImpl and there I am to assign some control hint values to some attributes and then the entities that will extend this class will acquire this functionality in their attributes.
I send you some code I have in my mind in order to find out how to write something relevant to set control hints. I have searched in relevant api’s for AttributeHints and EntityDef but I did not find a solution to my problem. I’ve tried this code:
AttributeHints ah=new AttributeHints(new AttributeDef(RIBUTE_DISPLAY_HINT_HIDE ) );
but it does not work. How could I set this value – to hide one attribute whenever it exists in my entities , setting it once in my CustomEntityImpl class?
I’ve read the whole tutorial ADF Business Components For Forms 4GL Developers but I did not find a solution to my problem. Your help would be a gift to me. Thank you very much!
private String primary_key = "Id";
private final String dte_insert = "Dteinsert";
private final String dte_update = "Dteupdate";
private final String user_insert = "Usrinsert";
private final String user_update = "Usrupdate";
private final String afm = "Afm";
protected boolean findAttribute(String name) {
String[] list = this.getAttributeNames();
for (int i = 0; i < list.length; i++) {
if (name.equals(list))
return true;
return false;
protected void doDML(int operation, TransactionEvent transactionEvent) {
//Insert Operation
if (operation == DML_INSERT) {
//Add history column
if (findAttribute(dte_insert)) {
Date date = new Date((new Date()).getCurrentDate());
this.setAttribute(dte_insert, date);
//Update Operation
else if (operation == DML_UPDATE) {
//Add history column
if (findAttribute(dte_update)) {
Date date = new Date((new Date()).getCurrentDate());
this.setAttribute(dte_update, date);
//Delete Operation
else if (operation == DML_DELETE) {
//To DO
super.doDML(operation, transactionEvent);I Suggest you set its Attribute on EOImpl, override doDML, and before call super.doDML set your Attribute. There is a special reason to set Attribute on beforeCommit?
Best Regards
Maybe you are looking for
-
Delete music from the cloud with ipod touch
how do I delete songs from the cloud with ipod touch
-
Hyperlink character options in InDesign
I am creating hyperlinks in InDesign and do not have any options available under the "character options" box. It just lists [none] with no options in the drop down menu. My hyperlinks WORK but do not appear in either preview mode or .pdf output with
-
Hi, I have some problems with the report for my VI... therefore I have attached the important part of my VI. To explain in short what it does : The "4.2 Avi Analyse.vi" plays an AVI file and does some measurements which should be reported. The report
-
How do I get my Belkin USB switch (F1U201) to work with OSX Lion? It worked with Snow Leopard, but not Lion.
-
Modifications in standard personnel no search help using FM RH_OBJID_REQUES
Hi Experts , I am using the FM RH_OBJID_REQUEST for providing seacrh help of personnel No in ABAP HR. The Standard Tabs which are displayed when pressing F4 helps are 1)Search Term 2)Structure Search 3)Organisation Assignment 4)Last name u2013 First