Immediate reply needed
HOW TO DISPLAY THE SAME TABLE IN TWO DATABLOCKS.
ONE FOR VIEW MODE
AND ANOTHER FOR INSERTING.
AND BASED ON A CONDITION THE DATA FROM THE INSERT BLOCK HAS TO BE GO TO DATABLOCK IN VIEW MODE
Hi...Francois was right...Ethics is very important when you want to ask something.There's a lot of people here who shares their knowledge...
Regarding your question, you can achieve it by creating 2 datablocks then set the Insert/Update/Delete Allowed Property to False of ur 2nd block(View Mode).
In Post-Insert Trigger of your inserting block:
DECLARE
timer_id TIMER;
BEGIN
timer_id:=CREATE_TIMER('DISPLAY_IT',10,NO_REPEAT);
END;
When Timer Expire Trigger
DECLARE
TM_NAME VARCHAR2(120):=GET_APPLICATION_PROPERTY(TIMER_NAME);
BEGIN
IF(TM_NAME='DISPLAY_IT')THEN
GO_BLOCK('VIEW_MODE_BLOCK');
EXECUTE_QUERY;
END IF;
END;
Similar Messages
-
Image persistence on New 24" LED Cinema Display - Quick Reply needed please
Hi
I have a new 24" LED Cinema display - delivered 14 days ago today (hence needing a quick reply!).
Yesterday I noticed image persistence down the entire left hand-side of the screen - should this happen on such a new display?
Should I return it / take it back?
Thanks for any advice.
For what it is worth the image persistence is the left-hand column of the iTunes window - I can read the entire column from the top where it says "Music" down to the "Selected item" that appears above the album artwork window.
I do use iTunes a lot but certainly nothing out of the ordinary and often in reduced size mode or behind other windows. (i.e it does not sit in the same place all the time).
Since I took the screen out of the box the screen-saver has been set to turn on after 15 mins and the Energy Saver is set to turn the screen off after 20 mins (i.e I have taken screen saving measures).
Finally, I have done the "display an all-white image on the entire display" as per here http://support.apple.com/kb/HT2807) and after six hours of this the problem has improved, but certainly not gone away.
So, to return, or not to return, that is the question.
Many thanks.
Rob
PS - I bought this online at Apple Store - if I do return it, could I do this in person at physical Apple Store, or do I have to do it online?I've had this same problem on my 24" iMac for some time (it's still under my AppleCare warranty, but it began doing this long ago). I searched these forums a year ago and never found anything about this, so I'm glad I found these posts here today.
I guess it's time to haul mine back into the store. Also I note that my screen has developed some dark areas, as if the fluorescent backlight has become irregular. -
Please - immediate help needed parsing csv values into multiple rows
Hello, we have a very immediate need to be able to parse out a field of comma separated values into individual rows. The following is an example written in SQL Server syntax which does not work in Oracle.
The tricky part is that each ROUTES can be a different length, and each CSV can have a different number of routes in it.
Here is an example of the table ("Quotes") of CSV values I want to normalize:
TPNUMBER ROUTES
1001 1, 56W, 18
1002 2, 16, 186, 28
Here is an example of what I need it to look like:
TPNUMBER ROUTES
1001 1
1001 56W
1001 18
1002 2
1002 16
1002 186
1002 28
Here is the "Tally" table for the query below:
ID
1
2
3
4
5
6
7
And finally, here is the query which parses CSV values into multiple rows but which does not work in Oralce:
SELECT TPNUMBER,
NullIf(SubString(',' + ROUTES + ',' , ID , CharIndex(',' , ',' + ROUTES + ',' , ID) - ID) , '') AS ONEROUTE
FROM Tally, Quotes
WHERE ID <= Len(',' + ROUTES + ',') AND SubString(',' + Phrase + ',' , ID - 1, 1) = ','
AND CharIndex(',' , ',' + ROUTES + ',' , ID) - ID > 0
It may be necessary to use a cursor to loop through the CSV table and process each row (a loop within another loop...) but this is beyond my comprehesion of PL/SQL.
Many thanks in advance for your advice/help.
apkNot sure what you are trying to do with the last step, but this should work for the first part. I assume you would use sqlldr but I just did inserts instead. You might need more than 5 "routes" in the csv. You could put some reasonable max on that number of columns:
SQL>create table t_csv
2 (TPNUMBER varchar2(20),
3 ROUTE_1 VARCHAR2(5),
4 ROUTE_2 VARCHAR2(5),
5 ROUTE_3 VARCHAR2(5),
6 ROUTE_4 VARCHAR2(5),
7 ROUTE_5 VARCHAR2(5),
8 ROUTE_6 VARCHAR2(5) );
Table created.
SQL>INSERT INTO t_csv (TPNUMBER,ROUTE_1,ROUTE_2) values( '1001 1', '56W', '18' );
1 row created.
SQL>INSERT INTO t_csv (TPNUMBER,ROUTE_1,ROUTE_2,ROUTE_3) values( '1002 2', '16', '186', '28');
1 row created.
SQL>create table t_quotes(
2 tpnumber NUMBER,
3 routes VARCHAR2(5));
Table created.
SQL>DECLARE
2 L_tpnumber NUMBER;
3 L_route VARCHAR2(5);
4 begin
5 for rec in (select * from t_csv) loop
6 L_tpnumber := SUBSTR(rec.tpnumber,1,INSTR(rec.tpnumber,' ')-1);
7 L_route := SUBSTR(rec.tpnumber,INSTR(rec.tpnumber,' ')+1);
8 insert into t_quotes values( L_tpnumber, l_route );
9 if rec.route_1 is not null then
10 insert into t_quotes values( L_tpnumber, rec.route_1 );
11 end if;
12 if rec.route_2 is not null then
13 insert into t_quotes values( L_tpnumber, rec.route_2 );
14 end if;
15 if rec.route_3 is not null then
16 insert into t_quotes values( L_tpnumber, rec.route_3 );
17 end if;
18 if rec.route_4 is not null then
19 insert into t_quotes values( L_tpnumber, rec.route_4 );
20 end if;
21 if rec.route_5 is not null then
22 insert into t_quotes values( L_tpnumber, rec.route_5 );
23 end if;
24 end loop;
25 end;
26 /
PL/SQL procedure successfully completed.
SQL> select tpnumber, routes from t_quotes;
TPNUMBER ROUTE
1001 1
1001 56W
1001 18
1002 2
1002 16
1002 186
1002 28
7 rows selected. -
Hi, We are using Weblogic 6.1. We are currently using JDBC Oracle Thin Driver (ClassName
: oracle.jdbc.driver.OracleDriver) that is built into Weblogic 6.1 (weblogic.jar).
Our database is Oracle 8.1.7.4. We want to upgrade to Oracle 9i (Oracle version
9.2.0.4). I would like to know the compatibility of this built-in Driver for Weblogic
6.1 with Oracle 9i (9.2.0.4) and can I continue to use the same JDBC driver. Also
we have plans to upgrade our Weblogics to 8.1 version. Can we continue to use
the same Oracle Thin driver that comes as part of WLS 8.1, for Oracle 9.2.0.4.
I need this reply ASAP. I appreciate any help in this regard.
Thanks, Venkatesan.Thank you very much for your reply.
Joe Weinstein <[email protected]> wrote:
Hi. The driver we shipped will still work with the later DBMS, but there
have been many improvements and fixes to Oracle's dirver since then,
so I highly recommend that you download Oracle's latest appropriate
thin driver, and make sure it gets into the -classpath argument that
the weblogic startup script creates for the server.
Every release of weblogic will tend to include the latest oracle
thin driver available at the time, so the 8.1 will contain a newer one
than
the 6.1.
Joe
Venkatesan wrote:
Hi, We are using Weblogic 6.1. We are currently using JDBC Oracle ThinDriver (ClassName
: oracle.jdbc.driver.OracleDriver) that is built into Weblogic 6.1(weblogic.jar).
Our database is Oracle 8.1.7.4. We want to upgrade to Oracle 9i (Oracleversion
9.2.0.4). I would like to know the compatibility of this built-in Driverfor Weblogic
6.1 with Oracle 9i (9.2.0.4) and can I continue to use the same JDBCdriver. Also
we have plans to upgrade our Weblogics to 8.1 version. Can we continueto use
the same Oracle Thin driver that comes as part of WLS 8.1, for Oracle9.2.0.4.
I need this reply ASAP. I appreciate any help in this regard.
Thanks, Venkatesan. -
[IN] and [OUT] log messages coding [ URGENT REPLY NEEDED ]
currently doing struts project in eclipse by generated code by hibernate
and i want every method having facility for log
IN and OUT log facility
so could u please give me code that thing
like : log.debug("[IN] MyClass::myMethod() );
log.debug("[OUT] MyClass::myMethod() );
so is it right or wrong, please anyone know quick reply me i need URGENTDon't double post.
http://forum.java.sun.com/thread.jspa?threadID=712601&tstart=0 -
Runtime Error in File Preview of RH7 - Immediate help needed!
Dear all,
we're working on a RoboHelp 7 project under version control.
Today we encountered a major issue with ur project/database. When opening files in the preview window, they are displayed without error. As soon you click on a link within this file that leads to another HTML file, you get a pop-up with a runtime error message. You're asked either to debug or not. Selecting no displays a second runtime error with the same question. After also declining, you get to the selected HTML file.
We have two major sorts of files: Chapter overview pages and topic files. Both are based on the same Style Sheet (CSS) and template. For the overview files the layout is just changed a bit when you create the file. Further there are some extra files don't use the template.
Now I recognized some kind of logic:
- When you open an overview-file, the two pop-ups always refer to runtime errors in line 46 and 49.
- When you open a topic file, the two pop-ups always refer to runtime errors in line 50 and 53.
- When you open a file that is blank and not based on the template, there's no error.
Until now, the error never occured. But since today (or maybe last week und we didn't recognize), this error comes up even for files that were created months ago and never had an error before. They were changed today automatically when a renamed a chapter. Even within our "clean and working" backups we now encounter this error.
Questions:
- Can anyone explain, what a runtime error is at all?
- My assumption is, that it has something to do with the CSS or template, but I'm not sure. What can be wrong there?
- To what lines do the specifications in the pop-up refer to? Where can I find those lines?
As we are in a very critical project phase, I really need your assistance for a quick and effective solution. Please help me as soon as possible!! Thanks!!Hi Tom
Here is my own educated guess.
When you have links of any type in a HTML document, a calculation has to occur at the time they are created. The application has to calculate where the linked item is in relation to the existing page. Then HTML shorthand is created to navigate. Up a folder level is ../ and up two folder levels is ../../. Stuff like that.
Popups are a different story. While you are still creating links, these beasties are actually handled using JavaScript. So the path is supplied in the call to the JavaScript.
As if that weren't complex enough, we now toss Headers and Footers into the mix. Headers and Footers are tied to the Master Page. The Master Page is always in the root level of the project. Links in a Header and Footers often break because of the assorted locations of HTML pages if you are using folders to organize your project. So when you create the link initially as part of the Master Page, things are dandy and as long as the topic is in the project root folder (same as the Master Page) things would likely work fine. But if that Master Page is associated with a topic inside a folder level or two down, things can go to pot in a hurry! (Where are we all headed? And what's with the handbasket?)
Hopefully this helps shed some possible explanation... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Immediate help needed with XML Parser
I am currently running Oracle 8i and trying to use the XML utilities. Just to make sure things are working, I tried a very simple program. I followed the xslsample.sql code that was supplied by Oracle. Code is as follows:
declare
p xmlparser.parser;
begin
p := xmlparser.newparser;
end;
When the code executes, I get a PLS-00201: identifier 'XMLPARSER.PARSER' must be declared. Anyone have any ideas on what is going on and how to fix it? Any assistance would be greatly appreciated. You can email directly if you wish since I am really under a tight timeline to get these utilities to work correctly.Michael,
Seems to be some problem with privileges. XMLPARSER is owned by SYS. You will need to grant execute access from SYS to the user under which you are trying to compile the procedure. It might be useful to create a public synonym and then grant access.
Hope this helps. -
URGENT Reply Needed: 9iAS Rel2 and Database
I have been asked about the 9i Database installation usuage with the 9iAS. We run Forms/Reports with the application server.
1) Does the database need to be up and running while the mid-tier is running and to be used?
2) Does the database need to be archived/logging?Do you refer to the 9i AS Metadata Repository / iasdb?
then,
1) yes, if mid-tier components (like Reports) metadata is stored there
2) do you consider your apps important?
Also note that Infra. and Mid-tier installs should be backed up sync'd (both at same time). There is a paper on OTN about this. -
I'm trying to test the running test cases available in the Oracle Internet Directory Connector for OIM but I'm failing because it seems that the current release of this connector doesn't have the java class tcUtilTestOID as described in the documentation. This class should be at test\troubleshoot\scripts directory, but there there are only the batch files with the test cases.
while running the testcreate.bat file.....a window prompting user id and password appears for tcUtilTestOID
troubleshoot directory contains two folders named config (config.properties,log.properties) and scripts (testcreate.bat,testmodify.bat and testdelete.bat files)
where do i need to add the code provided in a similar case below
This is the code. Include this in your custom jar file with the same name. You will be done I suppose:
import com.thortech.util.logging.Logger;
import com.thortech.xl.integration.OID.util.tcUtilLDAPOperations;
import java.io.*;
import java.util.Properties;
import javax.naming.directory.BasicAttribute;
import javax.naming.directory.BasicAttributes;
public class tcUtilTestOID
private static String CONFIG_FILEPATH = "global.properties";
public tcUtilTestOID()
public static void main(String args[])
tcUtilLDAPOperations ldapOp = null;
Logger logger = Logger.getLogger("TEST_USER_PROVISION");
logger.info("**********************************");
logger.info("**********************************" + args[0]);
try
FileInputStream configfile = null;
try
configfile = new FileInputStream(CONFIG_FILEPATH);
catch(FileNotFoundException fe)
logger.error("Unable to find configfile(" + CONFIG_FILEPATH + ")");
fe.printStackTrace();
Properties prp = new Properties();
try
prp.load(configfile);
catch(IOException ie)
logger.error("Unable to load configfile(" + CONFIG_FILEPATH + ")");
ie.printStackTrace();
String serverName = prp.getProperty("serverName");
String portNo = prp.getProperty("portNo");
String rootContext = prp.getProperty("rootContext");
String principalDN = prp.getProperty("principalDN");
String principalPass = prp.getProperty("principalPassword");
boolean sslFlag = "true".equalsIgnoreCase(prp.getProperty("sslFlag"));
logger.info("serverName = " + serverName);
logger.info("portNo = " + portNo);
logger.info("rootContext = " + rootContext);
logger.info("principalDN = " + principalDN);
logger.info("sslFlag = " + sslFlag);
logger.info("===================================\n");
ldapOp = new tcUtilLDAPOperations(serverName, portNo, rootContext, principalDN, principalPass, sslFlag);
String ldapUserDNPrefix = "cn";
String ldapObjectClass = "objectclass";
String ldapUserObjectClass = "inetOrgPerson";
String ldapFirstName = "givenName";
String ldapLastName = "sn";
String ldapCommonName = "cn";
String ldapPassword = "userPassword";
String containerDN = prp.getProperty("containerDN");
logger.info("containerDN = " + containerDN);
logger.info("UserOperation selected = " + args[0]);
if(args[0].equalsIgnoreCase("createUser"))
logger.info(" CREATE USER CALLED");
String createUserFName = prp.getProperty("createUser.firstName");
String createUserLName = prp.getProperty("createUser.lastName");
String createUserUserDN = prp.getProperty("createUser.userDN");
String createUserUserPass = prp.getProperty("createUser.userPassword");
logger.info("createUser.firstName = " + createUserFName);
logger.info("createUser.lastName = " + createUserLName);
logger.info("createUser.userDN = " + createUserUserDN);
logger.info("createUser.userPassword = " + createUserUserPass + "\n\n");
BasicAttributes basicattributes = new BasicAttributes(true);
basicattributes.put(new BasicAttribute(ldapObjectClass, ldapUserObjectClass));
basicattributes.put(new BasicAttribute(ldapFirstName, createUserFName));
basicattributes.put(new BasicAttribute(ldapLastName, createUserLName));
basicattributes.put(new BasicAttribute(ldapCommonName, createUserFName + " " + createUserLName));
basicattributes.put(new BasicAttribute(ldapPassword, createUserUserPass));
ldapOp.connectToLDAP();
boolean userCreated = ldapOp.createObject(ldapUserDNPrefix + "=" + createUserUserDN + "," + containerDN, basicattributes);
ldapOp.disconnectFromLDAP();
if(userCreated)
logger.info("\t>> " + createUserUserDN + " - USER_CREATION_SUCCESSFUL");
} else
logger.info("\t>> " + createUserUserDN + " - USER_CREATION_FAILED");
} else
if(args[0].equals("modifyUser"))
logger.info(" MODIFY USER CALLED");
String modifyUserUserDN = prp.getProperty("modifyUser.userDN");
String modifyUserParamName = prp.getProperty("modifyUser.paramName");
String modifyUserParamValue = prp.getProperty("modifyUser.paramValue");
logger.info("modifyUser.userDN = " + modifyUserUserDN);
logger.info("modifyUser.paramName = " + modifyUserParamName);
logger.info("modifyUser.paramValue = " + modifyUserParamValue);
ldapOp.connectToLDAP();
BasicAttributes basicattributes = new BasicAttributes(true);
basicattributes.put(new BasicAttribute(modifyUserParamName, modifyUserParamValue));
boolean isUserModified = ldapOp.modifyAttributesReplace(ldapUserDNPrefix + "=" + modifyUserUserDN + "," + containerDN, basicattributes);
ldapOp.disconnectFromLDAP();
if(isUserModified)
logger.info("\t>> " + modifyUserUserDN + " - USER_UPDATE_SUCCESSFUL");
} else
logger.info("\t>> " + modifyUserUserDN + " - USER_UPDATE_FAILED");
} else
if(args[0].equals("deleteUser"))
logger.info(" DELETE USER CALLED");
String deleteUserUserDN = prp.getProperty("deleteUser.userDN");
logger.info("deleteUser.userDN = " + deleteUserUserDN);
ldapOp.connectToLDAP();
boolean isUserDeleted = ldapOp.deleteObject(ldapUserDNPrefix + "=" + deleteUserUserDN + "," + containerDN);
ldapOp.disconnectFromLDAP();
if(isUserDeleted)
logger.info("\t>> " + deleteUserUserDN + " - USER_DELETION_SUCCESSFUL");
} else
logger.info("\t>> " + deleteUserUserDN + " - USER_DELETION_FAILED");
catch(Exception e1)
e1.printStackTrace();
return;
}hi,
I created a class file in the Jave Task folder mentioned by you,then also I am facing with the same exception.
While prompted to give userid and password by tcUtilTestOID popup screen,which id and pwd should I provide ?
I get the following error while running the testcreate.bat file
C:\oim\xellerate\test\troubleshoot\scripts>testcreate.bat 1
log4j:ERROR Could not find value for key log4j.appender.INFO
log4j:ERROR Could not instantiate appender named "INFO".
user name in Main===
INFO,11 Jan 2010 12:50:25,337,[TEST_USER_PROVISION],***************************
INFO,11 Jan 2010 12:50:25,337,[TEST_USER_PROVISION],***************************
*******createUser
DEBUG,11 Jan 2010 12:50:25,368,[org.jboss.security.SecurityAssociation],Using Th
readLocal: false
ERROR,11 Jan 2010 12:50:25,368,[XELLERATE.JBOSSLOGINHANDLER],Error in creating l
ogin context
javax.security.auth.login.LoginException: java.lang.NoSuchFieldError: TRACE
at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.
java:85)
at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
at org.jboss.security.ClientLoginModule.initialize(ClientLoginModule.jav
a:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
86)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:6
80)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.jbossLoginHandler.login(Unknown Source
at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.loginToXellerate(U
nknown Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.TestUtility(Unknow
n Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.actionPerformed(Un
known Source)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
at javax.swing.JTextField.postActionEvent(JTextField.java:705)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:8
20)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2884)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
at java.awt.Component.processEvent(Component.java:5818)
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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
FocusManager.java:697)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
ardFocusManager.java:962)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:834)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:661)
at java.awt.Component.dispatchEventImpl(Component.java:4285)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
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(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
86)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:6
80)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at Thor.API.Security.LoginHandler.jbossLoginHandler.login(Unknown Source
at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.loginToXellerate(U
nknown Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.TestUtility(Unknow
n Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.actionPerformed(Un
known Source)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
at javax.swing.JTextField.postActionEvent(JTextField.java:705)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:8
20)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2884)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
at java.awt.Component.processEvent(Component.java:5818)
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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
FocusManager.java:697)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
ardFocusManager.java:962)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:834)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:661)
at java.awt.Component.dispatchEventImpl(Component.java:4285)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
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(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchFieldError: TRACE
at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.
java:85)
at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:660)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.lookup
Home(Unknown Source)
at com.thortech.xl.ejb.interfaces.tcUnauthenticatedOperationsUtil.getHom
e(Unknown Source)
at Thor.API.Security.ClientLoginUtility.getUnauthenticatedOperations(Unk
nown Source)
at Thor.API.Security.ClientLoginUtility.login(Unknown Source)
at Thor.API.tcUtilityFactory.<init>(Unknown Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.loginToXellerate(U
nknown Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.TestUtility(Unknow
n Source)
at com.thortech.xl.integration.OID.test.tcUtilTestOID.actionPerformed(Un
known Source)
at javax.swing.JTextField.fireActionPerformed(JTextField.java:492)
at javax.swing.JTextField.postActionEvent(JTextField.java:705)
at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:8
20)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2884)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
at java.awt.Component.processEvent(Component.java:5818)
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.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.ja
va:1848)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboard
FocusManager.java:697)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeybo
ardFocusManager.java:962)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeybo
ardFocusManager.java:834)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFoc
usManager.java:661)
at java.awt.Component.dispatchEventImpl(Component.java:4285)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
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(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
C:\oim\xellerate\test\troubleshoot\scripts> -
Congiguring jsps with oracle8i,urgent reply needed
Beginner for oracle8i ---need ur help
I have installed oracle8i database server8.1.5 on winNT workstation which has Jserver to run java components.
Please tell me how to run jsps with oracle8i.
Ihave written certain jsp files but don't know where to put them and how to start the server to test them.This is an urgent requirement for my client,if anybody can help.
A great thanks in advance.
nullDo you refer to the 9i AS Metadata Repository / iasdb?
then,
1) yes, if mid-tier components (like Reports) metadata is stored there
2) do you consider your apps important?
Also note that Infra. and Mid-tier installs should be backed up sync'd (both at same time). There is a paper on OTN about this. -
Immediate help needed for Forms on Citrix
All Gurus
Form works perfect on desktop but when I put in on citrix then it didn't work. problem is when we click on any push button that is not executing a code behind it. so push button in forms are not working. we installed forms 6i runtime software on citrix. is there anything do I need to do to make buttons work.
Thank you so much
NitinI compiled my form on desktop and its working fine then I moved .fmx file to citrix and there button is not working. other thing using forms default menu if I use execute query it works but when I click on button (when-button pressed trigger and code is go_block, execute_query) then it doesn't execute. so I added just message for testing and message also not populating. so what would be the issue?
where you are saying I have to compile form on citrix and how we can compile on citrix? pl. help.
do you have forms installed on citrix?
pl.help
Thanks
Nitin -
Immediate help needed - passing parameters from jnlp to standard java app
hello guys,
i am new to the java world. i need some help from you immediately please.
i want to pass information stored in the session varibles to the standard java application through jnlp.
for example i want to pass customerid having customer information through the jnlp file to the standard java application. how to do it.
i am creating the jnlp file dynamically and saving the session variables of a client as arguments in it(such as customerid described above). i generated the jnlp something like this...
<application-desc>
<argument>21</argument>
<argument>cltds21.txt</argument>
</application-desc>
is this the way i am supposed to pass arguments through the jnlp file to the standard java application . if yes how to get these arguments from the jnlp file in standard java application using code. please help me.
your help will be appreciated,
thanks.Yes - you can pass args in this way,.
with these settings, the args will be available to the programs main:
public static main(String [] arg) {
then arg[0] will be "21", arg[1] will be "cltds21.txt".
/Dietz (aka Andy) -
ORA-0 1033 Error- Immediate Help Needed!
Hello I am a student have little knowledge abt oracle. My Oracle failed to startup showing ORA-0 1033 error. and its just 3 days before my project submission. Please Help immediately. Here is what I tried ---
C:\>sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Dec 18 11:23:47 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> shu immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup force mount;
ORACLE instance started.
Total System Global Area 293601280 bytes
Fixed Size 1248600 bytes
Variable Size 109052584 bytes
Database Buffers 176160768 bytes
Redo Buffers 7139328 bytes
Database mounted.
SQL> recover database;
ORA-00283: recovery session canceled due to errors
ORA-01122: database file 3 failed verification check
ORA-01110: data file 3: 'K:\ORACLE\PRODUCT\10.2.0\ORADATA\INDRA\SYSAUX01.DBF'
ORA-01207: file is more recent than control file - old control file
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01122: database file 3 failed verification check
ORA-01110: data file 3: 'K:\ORACLE\PRODUCT\10.2.0\ORADATA\INDRA\SYSAUX01.DBF'
ORA-01207: file is more recent than control file - old control file
If it can be restored anyhow do help. I dont have a backup of the database!as i said i hv little knowledge abt oracle. I dont know if it was in archive log mode. how to find that out ! ... i think my oracle stopped working after an abnormal shutdown of the computer.
and, the file as you can see have the error --
ORA-01122: database file 3 failed verification check
ORA-01110: data file 3: 'K:\ORACLE\PRODUCT\10.2.0\ORADATA\INDRA\SYSAUX01.DBF'
any way to get this file restored?? -
Once again I appeal to the great and good of this community for assistance...
So I have just completed a big project on iMovie (1 Hour 38Mintues in length).. This project is actually for a relative so now I need to put it in a playable format for them to watch. Ideally I need it to be in the best possible resolution (720 or 1080) although it is a slide show rather than video footage. So I have completed the project and need to give the final version to my relative. My first question is HOW???? I have saved it to a Flash Drive but when I place this into a PC/Smart TV there is nothing there. When I plug it into my Mac though it shows that the file is there (.mp4 format).
In short all I want to be able to do is put my final project onto a Flash drive to give to my relative who can then in turn plug it into a smart tv/Xbox/DVD player USB port and watch the project. Is this even possible? if not then why? and what are my alternatives? If anyone out there can help me out then a speedy response would be greatly appreciated.
Come on folks, you havent let me down yet!
MarkMvDarby wrote:
... There must be a simple way to do to otherwise I would argue that this is a major downfall to iMovie which is a shame. Any other suggestions?..
um, well, the limitations of an Xbox (not reading an Microsoft-format as exFat!) are not really iMovie nor Apple related, are they?
1) narrow failure: check with a different stick - I'm surprised, two diff. devices, PS3 and Xbox don't recognize the stick at all ....
2) 16GBs??? In what format do you export? Settings for e.g. AppleTV don't create files beyond 2-3GBs/h ... Again, follow advice mentioned in the User Tipp I linked to above...
3) split export. If you cannot reduce the file to a Sony or Windows reasonable size, you have to split your project into 'parts' to keep chunks <4GBs. But, check #1 and #2 first ... -
WriteToFile(doc DOMDocument,File varchar2) error-Urgent reply needed
The problem description in our environment:-
A xmldom package in the oracle 8.1.7 is trying to create an xml file from a DOMdocument. We are creating this DOMdocument by using an xmlparser. The input to the xmlparser is a file on the unix space.We are able to read the values ,display them. The error happens when the writeToFile method is used to update the xml file after changing the node values in the dom document. The environment seems to be okay or is there any problem with it.
To check our logic, a sample code from the web page http://www.akadia.com/services/ora_gen_xml.html was run.It gave the same error description(ORA-20000).It had also used the same function and the error occured at the same line number.The code from the web page reads as:-
DECLARE
doc sys.xmldom.DOMDocument;
main_node sys.xmldom.DOMNode;
root_node sys.xmldom.DOMNode;
user_node sys.xmldom.DOMNode;
item_node sys.xmldom.DOMNode;
root_elmt sys.xmldom.DOMElement;
item_elmt sys.xmldom.DOMElement;
item_text sys.xmldom.DOMText;
CURSOR get_users(p_deptno NUMBER) IS
SELECT empno
, ename
, deptno
, rownum
FROM emp
WHERE deptno = p_deptno;
BEGIN
doc := sys.xmldom.newDOMDocument;
main_node := sys.xmldom.makeNode(doc);
root_elmt := sys.xmldom.createElement(
doc
, 'EMPSET'
root_node := sys.xmldom.appendChild(
main_node
, sys.xmldom.makeNode(root_elmt)
FOR get_users_rec IN get_users(10) LOOP
item_elmt := sys.xmldom.createElement(
doc
, 'EMP'
sys.xmldom.setAttribute(
item_elmt
, 'num'
, get_users_rec.rownum
user_node := sys.xmldom.appendChild(
root_node
, sys.xmldom.makeNode(item_elmt)
item_elmt := sys.xmldom.createElement(
doc
, 'EMP_NO'
item_node := sys.xmldom.appendChild(
user_node
, sys.xmldom.makeNode(item_elmt)
item_text := sys.xmldom.createTextNode(
doc
, get_users_rec.empno
item_node := sys.xmldom.appendChild(
item_node
, sys.xmldom.makeNode(item_text)
END LOOP;
sys.xmldom.writeToFile(doc , '/user/sb8066\docSample.xml');
sys.xmldom.freeDocument(doc);
END;
The table emp was created with values in it.
Oracle error code:-
ORA-20000: An internal error has occurred: Permission denied
ORA-06512: at "SYS.XMLDOM", line 37
ORA-06512: at "SYS.XMLDOM", line 1784
ORA-06512: at line 61
The priveleges that were required for the above code were:-
GRANT javauserpriv to scott;
GRANT javasyspriv to scott;
GRANT EXECUTE ON xmldom TO scott;
These were also existing for our code and database user.NO clue is there about any possible environmental setting errors.
This code was trying to do the same job that we did but created a document object and not used an existing document object(from a parsing operation).Please advice about possible solutions.It is urgent.
with Regards
gopalHai kevin
I tried both of what you have said .I had also some suggestions from an oracle dba.Can you please help me any idea you have about it.It's regarding the encoding of the xml file.The suggestion was:-I have enclosed the my try for the first solution he suggested.
"ora-2000 is a very generic error ( mostly with intermedia/text/context/apps)
but may occur in regular stuff tooo..
in MOST OF CASES, it does not have any INDIVIDUAL IMPORTANCE at all.
its is resultant of ANOTHER ERROR.
in your case it is
ORA-06512 which is numeric or value error.
somedata is not GOOOD or unwanted character in unwanted place.
so these would be my LOOKOUTS (though, it may not relevent, as my knowledge on XML is very less.
I DONT DO ANY DEVELOPMENT at all. But just support lots n lots n lotsa developers).
1. as per your posting,
> > > sys.xmldom.writeToFile(doc ,
--->-- > > > '/user/temp\docSample.xml');
> > > sys.xmldom.freeDocument(doc);
in general terms, this would be wierd naming(line 2).
for unix '/user/temp/docsample' should do
(beware of file system permissions and case sensitivity in UNIX)
for windows '\usr\temp\docsample' should be used.
except IF U ARE USING UNC / MAPPED DRIVES ( THERE IS A SPECIAL CONSIDERATION
TO USE directory/direcotry\filname..THAT IS DIFFERENT CASE).
check this ( this may lead to error PERMISSION DENIED ( the clasical words from UNIX)
2. to deal with ora-6512, this may posssibly be th reason.
The default character set for XML is UTF8 - special characters indicated would
have an ASCII value > 127. Any character with an ASCII value > 128 is
interpreted as being the leading byte of a multi-byte character in UTF8.
To get around this you need to explicitly specify the character set you are
using. For example:
<?xml version="1.0" encoding="ISO-8859-1" ?>
This tells the XML parser to read the file as ISO-8859-1. If you are using
another character set, substitute the ISO name of the character set in this
line."
Kamal , i tried giving the '/' slash instead of '\' .The oracle reported a error,description as follows.
63 sys.xmldom.writeToFile(doc , '/user/temp/docSample.xml',sys.xmldom.getCharset(doc));
64 sys.xmldom.freeDocument(doc);
65 END;
66 /
UTF8
DECLARE
ERROR at line 1:
ORA-20000: An internal error has occurred: No such file or directory
ORA-06512: at "SYS.XMLDOM", line 37
ORA-06512: at "SYS.XMLDOM", line 1826
ORA-06512: at line 63
It reported error and when i revert back to the previously used slash,it had the old error.You must have read the dba's suggestions.Do you know about how to go about this.Anyway thaks for the help.Will be waiting for your advice.
The UTF8 ouput you must be seeing is the document's charset after me setting it,previously i tried to get the default value after parsing ,it had the same report.
regards
gopal
Maybe you are looking for
-
Problems with RowSelection in adf table
I have problems with selection of a row in a adf table. Even though I have set the property : rowSelection="single" , when i select a row, the two other rows that follow, get selected too. For example I have 10 records an when i select the 7th row, t
-
REGORDING SMARTFORMS AND SCRIPTS
14. What is the main diff. b/w smartform and sap script A smartforms r user-friendly scripts r not B smartforms r client independent scripts r client dependent C smartforms do not have a separate driver program-scripts need to hav
-
ASN Creation Status Error!!
System Config: System Version: SRM 5.00 <b>Problem.</b> ASN is uploaded thorugh a excel file from SRM Portal. When the ASN is created successfully vendor gets the ASN Number from the portal. In the system there are three status for successfully creat
-
No sound after using headphones to watch a netflix movie
I am looking for help to resolve my no sound issue. I can hear sound with headphones but not from computer speakers. Help????? I have tried going into itunes and using the headphones and unplugging them. I have gone to system preferences and I am
-
Photoshop Elements 11 (music)
Hi, I recently purchased a copy of Photoshop Elemnts 11, the download was fine however I find that there are a number of wlndows that have a variety of tunes (music) on the Organise WINDOW is this a normal part of the download.???? HELP Fisherman