2 override problems
Hi,
I've written my simple 'preFree' override and it works, but now I have difficulties to make it invoked when an object is deleted via web interface. Does somebody knows what the problem is?
Second question is how to write more advanced override to store a copy of deleting document in my 'Archive' folder. I cannot find method to access the arichive folder from the server side if I know its path. Besides how to create a copy of the deleting document and put it to the folder?
In the documentation there is S_Folder method addItem(S_PublicObject, S_LibraryObjectDefinition) but I cannot understand why it has 2 params and what the meaning of each of them is? If S_PublicObject is my copy which I want to add to the folder, what the second one is for and how to crate the copy? And if the S_LibraryObjectDefinition is a definition to create my document copy, what the first param is for?
Has anybody managed to create archiving mechanism in iFS and can give me some clues because I'm really lost at this moment?
Thanks in advance for any help.
null
mtt
null
Similar Messages
-
Well it's me again, having inheritance problems..
I'm trying to override from one of the flexlib classes
(ColoredScheduleEntry) and I notice that it's got two methods...
override public function copy() : IScheduleEntry
and
override public function copyFrom(entry : IScheduleEntry) :
void
Now, I'm extending this class, and implementing
IScheduleEntry but when I try to override the above functions, I
get...
"Method marked override must override another method" for
both methods...which is kinda obvious, but there is a method that
it's overriding from, and it's public too...
Any ideas?
ThanksHi mac,
did you mean this
class
ColoredScheduleEntry?
The documentation and the code didn´t note any function
copy or copyfrom. Are sure you that this is the right class ?
kcell -
I am new to Java programming and this is likely a trivial problem, but I have been unable to find an answer after a few hours in books and on the Web.
I have created two subclasses of a class, and overridden a public method (the same method) in each of the subclasses. At runtime however, all calls to this method from an instance of the superclass or either subclass results in the same method; i.e. the override in one subclass is overriding the other subclass and the superclass. Why is the scope of this override so large, and how do I fix this?
Thanks,
~Jon HurstI think there must be something wrong in the way the instance is being created. Anyway try running the sample below and you will see that it works the way it is expected to.
Hope this helps.
regards
manalar
<code>
public class SuperClass{
public void display(){
System.out.println("display in super class");
import SuperClass;
public class AnotherClass{
public AnotherClass(){
SuperClass sc = new SuperClass();
sc.display();
SubClass1 sb1 = new SubClass1();
sb1.display();
SubClass2 sb2 = new SubClass2();
sb2.display();
public void display(){
System.out.println("display in AnotherClass");
private class SubClass1 extends SuperClass{
public void display(){
System.out.println("display in SubClass1");
private class SubClass2 extends SuperClass{
public void display(){
System.out.println("display in SubClass2");
public static void main(String args[]){
AnotherClass ac = new AnotherClass();
ac.display();
</code> -
works function WLAN Override in controller WLC6?, we have tried it and it does not work, is a software problem?
Professorguy,
Does having to match profile name to SSID name result in not being able to have multiple authentication methods per SSID? That was supposed to be a feature of 4.0.206.
Thanks, -
Dear All,
I have an annoying problem with my N95 since fw version 20. I know, that almost nobody is using this functionality, but as I work on the operator side, sometimes I'd like to use this for testing. My problem is as follows:
When the CLIP (Calling Line indentity presentation) is set to "OVERRIDE" in the HLR, whenever an incoming call arrives with ative CLIR, on the screen the calling party's number supposed to be displayed between #-s in Nokia implementation. It was working fine until fw version 12.
From fw 20 (21 also has this bug), in the ringing phase I can see only "CALL" on my display, without any number displayed. Later, in the call history (missed calls or received calls, depending if I answered or not) I can see the number as it supposed to be i.e. #12345678#, so the problem is not with the service in the network side...
As I know, that most of the people here has no chance to test it, I am waiting for someone's response how to reach the developers with this issue, as the local Nokia customer care sent me to the hell on a polite way with this issue, when I opened a ticket there.
Of course, if you have other ideas regarding this topic, I would appreciate that as well.Thanks for the responses, I hope the developers really monitoring this thread, as on my operator has nobody, who testing these features (bcz my phone is running with generic Euro 3 sw and no with cust. spec. sw, and the marketing has no such service active to test it...)
About this SMSC address: for me, it is also annoying, but it is not new issue. I am using Symbian phones since 7650, and NONE of them could show me the SMSC address unlike series 40 phones. I tried to contact at that time when I realized it on my 7650 to the local Nokia Mobile Phones representative and he replied me, that this is not a fault, but it is a feature. At that point I gave up making development proposals, as I knew: I am too small point in the universe to take care about my ideas at such a big company, like Nokia. -
i've a hashmap Map<int [][] , Integer> and i want to get the corresponding value for int a[][] from the map.
if i use , map.containsKey(a)
it doesn't compare as required( it doesn't consider order )
so i thought of using class key implementing comparable like this,
class key implements Comparable
int a[][];
public key(int p[][])
{ a=p; }
public int compareTo(Object o)
key k = (key)o;
for(int i = 0 ; i < 3 ; i++)
for(int j = 0 ;j < 3 ; j++)
if(a[i][j]!=k.a[i][j]) return 1;
return 0;
}now when i create a key ,
key KK = new key(a) // a is int[][]
map.containsKey(KK) doesn't invoke compareTo method itself ..
don't what the problem is.
but when i try . TreeMap it invokes compareTo method
but don't know why , it acts as before when Map<int [][] , Integer> was used.. any idea
Thanxmanishmulani@nitk wrote:
wil the following way of overriding hashcode work??
class key
int a[][];
public key(int p[][])
{ a=p; }
public boolean equals(Object o)
key k = (key)o;
for(int i = 0 ; i < 3 ; i++)
for(int j = 0 ; j < 3 ; j++)
if(a[i][j]!=k.a[i][j]) return false;
return true;
public int hashCode()
return a.hashCode();
NO! When doing that, you will get undesirable results. Execute the following lines of code and examine the output:
System.out.println(new int[][]{{1,2},{3,4}}.hashCode());
System.out.println(new int[][]{{1,2},{3,4}}.hashCode());This is better:
public int hashCode() {
int hash = 1, mutliplier = 1;
for(int[] row: array) {
for(int val: row) {
hash ^= (val * mutliplier);
mutliplier *= 10;
return hash;
}(Untested!!!)
ok this will be same if i use TreeMap and implement Comparable<key> and override compareTo() right??Err, yes, more or less. Of course, a HashMap and TreeMap are not the same. -
Abstract Method Overriding Problem
I have an abstract class called "Employee" with an abstract method called "ReturnBasicInfo()" defined.
I have two subclasses, SalariedEmployee and HourlyEmployee, and each has their own version of ReturnBasicInfo(). The compiler is not letting me do this, however, and I have no idea why.
I keep getting this error:
SalariedEmployee.java:6: SalariedEmployee is not abstract and does not override
abstract method returnBasicInfo() in Employee.The abstract method signature is this:
public abstract String returnBasicInfo(Employee e);Any idea why this might be happening? I have another abstract method called toVector() that's overriden in the subclasses and that one works fine, so I'm stumped on this. The only difference between the two is that this method takes arguments and the other doesn't. Is that why it can't be overriden?
Thanks in advance for any help!"...In the instructor's example code, he actually
overrode toString with this method. I thought I might
be using the real toString(), though, so that's why I
changed the name to returnBasicInfo(). I didn't end up
using toString(), though. Maybe I ought to go back to
calling it toString()..."
Yes, this SHOULD be overridden in toString(). Do go
back to it.
The "real" toString()? Do you mean the default
version in java.lang.Object, the one that just prints
out the object reference when it's called?
Hmm, I guess. I got confused because I'm swapping between String and double values a lot. Taking in an entered number as a String and converting it to a double.
I think I originally confused toString() with String.valueOf().
I wouldn't have getYearlySalary() for SalariedEmployee
and getHourlySalary() for HourlyEmployee. That
defeats the purpose of polymorphism and dynamic
typing. Yes, but I do have one polymorphic method --pay(). Each Employee is paid a different way. The one method we were supposed to be able to call on all Employees is just pay(). There is one version of pay() for HourlyEmployees that uses gethourly_rate() and gethours_worked() to get hourly rate and hours worked. The other version of pay() in SalariedEmployees takes in their yearly salary and number of pay periods worked.
Better to have a getSalary() method in your
Employee interface and let each subclass implement it
the way they want to. SalariedEmployee will return
their yearly salary, HourlyEmployee will return
hourlySalary*hoursWorkedOK, that's one idea.
But darnit, I would still like to know how to get my original design to work. So I should change returnBasicInfo() to toString(), you think? -
Overriding problem -- please help
class Phone {
static String device = "Phone.device";
void showDevice() {
System.out.print("Phone.showDevice," + device + " ");
Phone() {
showDevice();
class Test2 extends Phone {
String device = "Mobile.device";
void showDevice() {
System.out.print("Mobile.showDevice," + device + " ");
Test2() {
showDevice();
public static void main(String[] args) {
Phone n = new Test2();
n.showDevice();
output got is -
Mobile.showDevice,null Mobile.showDevice,Mobile.device
Mobile.showDevice,Mobile.device
1) Why do I get a null in the above output ??
2) Since variables cannot be overriden , shouldnt the output be
Mobile.showDevice,Phone.device Mobile.showDevice,Phone.device
Mobile.showDevice,Phone.device
Please help me .. am confused....Static variables are not over ridden.No member variables are overridden. The onlythings
that are overridden are instance methods.
very true. Actually, Only public(protected,
default access) (static)
un-final methods can be overridden.You mean non-static (i.e. instance) methods. Class (static) methods cannot be overridden. Hidden or shadowed (I keep forgetting which is which), but not overridden.
I'm not actually sure about package-private though. If they can be overridden, the child class that does the overriding would have to be in the same package. I would guess that they'd be overridden in that situation, but it's possible that they'd be hidden/shadowed. I haven't bothered to look it up or try it.
But otherwise, yes, your statement is more precise than what I said. :-) -
Hi Team
I am a SD consultant posting my technical problem below, pl address this.
Scenario:
We have orders getting creating with message type ORDERS with basic type ORDERS02 as an Inbound IDoc.Suppose if an Idoc failed it triggers corresponding user an workflow (Reasons for failure might be wrong customer or inputvalues are worng) then these users create Idoc in foregorund.
Problem:
Whenever Idoc created in back ground ie without any problems Item text is set to langauge DE ( Segment for this used E1EDPT1).
Whenver if we re process the error Idoc in foregorund its language set for one of the text ids is always EN.
Why this is happening?
Analysis:
I did two scenarios:
1. Using my default log on language EN.
When i re process error IDOC in foreground Item text language set was EN.
2.Changed my log on langauge to DE.
When i re process Error Idoc in foregorund this time Text language set was DE.
Hence we thought that langauge E1EDPT1-TSPRAS comes from the userid language from table USRS03 or from log on language.
Uid used :100998
Table USRS03 Language:EN.
But for the same user id if all data is correct created in background successfully langauge set was DE. So its not coming from USRS03 table or from log on langauge.
Can any one give me hints for this typical issue? Its impacting a lot for many Idocs and causing a big crook for my German users.
FYI:
I just got to see this field E1EDPT1-TSSPRASISO = your text ISO code if different form your language, generally they are the same.
What is this and where to see this ?
Pl advise
Reg
Shan124Hi Shan
You have solved the problem almost.
In background mode, you have the option to define even the language in which the job has to run. So in bgrd mode, always it gets executed in DE.
However in foreground mode, only teh user ids logon will be taken into account. Hence based on ur logon language, the IDOCS will be triggered.
This is a universal problem in any IDOCS, output types.
To solve this, we have done some coding in the output types to reset the user logon language based on certain parameters maintained in a ztable.
Also another factor which can come to picture is not the user language, but the system language (SYLANG). This should also be taken into account when you are analysing this issue.
Based on the analysis, you should either always process IDOCS in background mode with DE as language maintained in transaction code SM36(when u r configuring the background job), or if you want to trigger this IDOC in foreground mode, then you have to somehow manipulate either the user language or the SYLANG or both based on your scenarios.
Reward point if it helps. -
class Node implements Comparable
public int id;
public int weight;
public int pred;
public int ds;
public Node(int id, int weight, int ds, int pred)
this.id = id;
this.weight = weight;
this.ds = ds;
this.pred = pred;
public String toString()
return "" + ds;
public int compareTo(Object obj)
return this.ds.compareTo(((Node)obj).ds); // <---error here }
my error is:
int cannot be dereferenced:
return this.ds.compareTo(((Node)obj).ds);
Can anyone help me here. Thanksclass Node implements Comparable
public int id;
public int weight;
public int pred;
public int ds;Ever heard of encapsulation? Why are these public? Bad design, IMO.
return this.ds.compareTo(((Node)obj).ds); // <---error here
int cannot be dereferenced:
return this.ds.compareTo(((Node)obj).ds);It's pretty easy to see, with that hint from the compiler: this.ds is an int, which is a primitive. You can't call compareTo on a primitive. You can, however, write it like this:
Node other = (Node)obj;
if (this.ds < other.ds)
return -1;
else if (this.ds > other.ds)
return 1;
else
return 0;% -
Bridge memory issues causing everyone's problems? Maybe???
After opening files Camera Raw files in Photoshop CS3, through the Bridge 2.1.1.9 interface on a MacBook Pro with all the latest updates to Tiger, and editing them, then setting the star rating below the thumbnail, going into File Info and enter all my data, and return to the file thumbnail to click on it to create a dng file, it takes away my ratings... this is sign... I've found that when this happens the next thing is that the preview window shows an odd looking version of my photo and when I open it up and look at the raw settings sure enough, it's applied some setting from a previous session over the top of my work!
This has only been happening recently, so I upgraded my version of Camera Raw to the latest 4.5. Didn't solve anything.
So in reading all the other complaints about Bridge CS3, of which I've had none, I am wondering if there isn't an overriding problem that causes MOST of these, and it just manifests differently on different configurations.
Is there a way to increase memory allocation to Bridge? I've compacted the cache, and that didn't solve my issues. I have the cache set to the mid point... the language is very confusing on it...smaller cache equals better performance (define better). Could this setting solve my issue?
Is there a way to increase memory allocation to Bridge?
Thanks to anyone who can help.After opening files Camera Raw files in Photoshop CS3, through the Bridge 2.1.1.9 interface on a MacBook Pro with all the latest updates to Tiger, and editing them, then setting the star rating below the thumbnail, going into File Info and enter all my data, and return to the file thumbnail to click on it to create a dng file, it takes away my ratings... this is sign... I've found that when this happens the next thing is that the preview window shows an odd looking version of my photo and when I open it up and look at the raw settings sure enough, it's applied some setting from a previous session over the top of my work!
This has only been happening recently, so I upgraded my version of Camera Raw to the latest 4.5. Didn't solve anything.
So in reading all the other complaints about Bridge CS3, of which I've had none, I am wondering if there isn't an overriding problem that causes MOST of these, and it just manifests differently on different configurations.
Is there a way to increase memory allocation to Bridge? I've compacted the cache, and that didn't solve my issues. I have the cache set to the mid point... the language is very confusing on it...smaller cache equals better performance (define better). Could this setting solve my issue?
Is there a way to increase memory allocation to Bridge?
Thanks to anyone who can help. -
Permission problem while the install of printer's driver
Guys,
when i'm installing the driver (lpr and cupswrapper) of my brother, happening a thing.
Report the error:
[black@arch bin]$ sudo dpkg -i --force-all dcpj315wlpr-1.1.3-1.i386.debdpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 30 files and directories currently installed.)
Preparing to replace dcpj315wlpr 1.1.3-1 (using dcpj315wlpr-1.1.3-1.i386.deb) ...
Unpacking replacement dcpj315wlpr ...
Setting up dcpj315wlpr (1.1.3-1) ...
chown: invalid user: 'lp'
How can i fix this last string: chown: invalid user: 'lp' ?
I tried: sudo groupadd -f lp and also to edit with chown the permissions of file and of the folder.
With no results.
Some is able to help me, please?
Thanks.Hi,
Do
more /etc/group | grep `whoami`
If there's no line with 'lp' you have to add your user to the lp group, you can do
usermod -aG lp `whoami`
and you should have the answer on the wiki https://wiki.archlinux.org/index.php/Cups
Last edited by lekaf974 (2012-07-17 21:55:59) -
Here is a straight problem for my jsp:
This page include a tld file and 2 classes:
When i use the the tag with id ="item" it can normal generate the result
If I use other id tags, null will be returned
Here is my source code:
test.jsp
<html><head><title>An Iterator</title></head>
<%@ taglib uri='iterator.tld' prefix='it' %>
<body>
<% java.util.Vector vector = new java.util.Vector();
vector.addElement("one"); vector.addElement("two");
vector.addElement("three"); vector.addElement("four");
%>
Iterating over <%= vector %> ... </p>
<it:iterate id='anItem' collection='<%= vector %>'>
Item: <%= anItem %><br>
</it:iterate>
</p>
</body>
</html>
iterator.tld
package tags;
import java.util.Collection;
import java.util.Iterator;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.BodyTagSupport;
public class IteratorTag extends BodyTagSupport{
private Collection collection;
private Iterator iterator;
public void setCollection(Collection collection)
this.collection = collection;
public int doStartTag() throws JspException
return (collection.size() > 0 ? EVAL_BODY_TAG : SKIP_BODY);
public void doInitBody() throws JspException
iterator = collection.iterator();
pageContext.setAttribute("item", iterator.next());
public int doAfterBody() throws JspException
if(iterator.hasNext()) {
pageContext.setAttribute("item", iterator.next());
return EVAL_BODY_TAG;
else
try {
getBodyContent().writeOut(getPreviousOut());
catch(java.io.IOException e)
throw new JspException(e.getMessage());
return SKIP_BODY;
iteratorTagInfo
package tags;
import javax.servlet.jsp.tagext.TagData;
import javax.servlet.jsp.tagext.TagExtraInfo;
import javax.servlet.jsp.tagext.VariableInfo;
public class IteratorTagInfo extends TagExtraInfo{
public VariableInfo[] getVariableInfo(TagData datas)
return new VariableInfo[] {
new VariableInfo(datas.getId(), "java.lang.Object", true, VariableInfo.NESTED)};
Iterator.tld
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>Sun Microsystems Press Tag Library</shortname>
<info>Iterate over a collection</info>
<tag>
<name>iterate</name>
<tagclass>tags.IteratorTag</tagclass>
<teiclass>tags.IteratorTagInfo</teiclass>
<bodycontent>JSP</bodycontent>
<attribute>
<name>id</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>collection</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
Also, there is a overriding problem in the iterator class, can anyone explain and solve the problem, thanks a lot.The tag does not process the "id" parameter. There needs to be SetId() and getID(), then use whatever name was passed as the pageContext attribute name. Currently, the attribute name is hard-coded as "item".
-
Not able to install Oracle 10g Express on linux 64bit based on Dude's intr
I followed "https://forums.oracle.com/forums/thread.jspa?threadID=2200434" to install oracle 10g xe on Ubuntu 10.10 AMD 64-bit
but I ran into below error while I was trying to install 10g XE on linux 64bit
root@vdevluxcnhz0021:~# dpkg -i force-architecture libaio_0.3.104-1_i386.deb --------- this step is error
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
dpkg: regarding libaio_0.3.104-1_i386.deb containing libaio:
libaio1 conflicts with libaio
libaio (version 0.3.104-1) is to be installed.
dpkg: error processing libaio_0.3.104-1_i386.deb (--install):
conflicting packages - not installing libaio
Errors were encountered while processing:
libaio_0.3.104-1_i386.deb
Linux version
root@vdevluxcnhz0021:~# cat /etc/issue
Ubuntu 10.04.2 LTS \n \l
root@vdevluxcnhz0021:~# cat /proc/version
Linux version 2.6.32-28-server (buildd@allspice) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011
Can you please help on this?
Thanks
Edited by: user1997872 on Jan 4, 2012 7:07 AMIt looks like you will have to uninstall "libaio1", but I don't know for sure and don't have Ubuntu 10.4 available right now to play with.
Sorry but the instructions are for Ubuntu 10.10, not 10.4, which is different.
If you need to install XE on Ubuntu, I'd rather suggest 11gR2 XE:
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 how-to
Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto -
Installing Oracle - /etc/init.d/oracle-xe configure command missing?
I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.
1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb
2) Then I ran
sudo apt-get install bc (ran fine)
sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb (gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine)
Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.
I ran the following command-
Manually uninstalling Oracle 10g
sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client
Then I again ran the following command to install oracle-xe
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb
See below what I got as the output-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 184865 files and directories currently installed.)
Preparing to replace oracle-xe-universal:i386 10.2.0.1-1.1 (using oracle-xe-universal_10.2.0.1-1.1_i386.deb) ...
Unpacking replacement oracle-xe-universal:i386 ...
Setting up oracle-xe-universal:i386 (10.2.0.1-1.1) ...
Executing Post-install steps...
Processing triggers for ureadahead ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
rocky@ubuntu:~/git/mygit/edas2/libaio$
Now if I try to run the following command, it says command not found-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo /etc/init.d/oracle-xe configure
sudo: /etc/init.d/oracle-xe: command not found
rocky@ubuntu:~/git/mygit/edas2/libaio$
Even in applications menu I don't see the if oracle has been installed.
So i conclude first time installation was ok but somehow http client didn't worked.
After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.
Please help here.user1680826 wrote:
I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.Not surprising, given that Ubuntu is not a supported OS for Oracle products.
Any reason you are not using a supported OS?
And any reason you are running two threads on the same problem? /etc/init.d/oracle-xe is missing?
>
1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb
2) Then I ran
sudo apt-get install bc (ran fine)
sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb (gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine)
Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.
I ran the following command-
Manually uninstalling Oracle 10g
sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client
Then I again ran the following command to install oracle-xe
sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb
See below what I got as the output-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
dpkg: warning: overriding problem because --force enabled:
package architecture (i386) does not match system (amd64)
(Reading database ... 184865 files and directories currently installed.)
Preparing to replace oracle-xe-universal:i386 10.2.0.1-1.1 (using oracle-xe-universal_10.2.0.1-1.1_i386.deb) ...
Unpacking replacement oracle-xe-universal:i386 ...
Setting up oracle-xe-universal:i386 (10.2.0.1-1.1) ...
Executing Post-install steps...
Processing triggers for ureadahead ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for man-db ...
Processing triggers for python-support ...
rocky@ubuntu:~/git/mygit/edas2/libaio$
Now if I try to run the following command, it says command not found-
rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo /etc/init.d/oracle-xe configure
sudo: /etc/init.d/oracle-xe: command not found
rocky@ubuntu:~/git/mygit/edas2/libaio$
Even in applications menu I don't see the if oracle has been installed.
So i conclude first time installation was ok but somehow http client didn't worked.
After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.
Please help here.Edited by: EdStevens on Jul 24, 2011 4:56 PM
Maybe you are looking for
-
Sharepoint Foundation 2010 calendars not linking to Outlook 2013
We have been using linked calendars between SharePoint Foundation 2010 and Outlook 2010 for some time. I have upgraded a few users to Outlook 2013 and now cannot link the SharePoint calendars. are there any known compatibility issues?
-
I want to be able to download apps, but I am unable to. I have turned it off and on again, I have went out of the app store and then went back into it again, I have even waited a couple weeks before trying to download it again.
-
Oracle BI Answers: Illegal ORDER BY item
Hi, I made a basic report that is a client count; I want to know how many clients the company have. But, when I run this report, Oracle BI Answers returned error: "Query Status: Query Failed: [nQSError: 16001] ODBC error state: S1000 code: -1005018 m
-
Hi Friends, I want to create an application to retrieve customer data by use of a webservice and display it on the screen. But it has to be done over the Internet, I mean. A customer logs in from outside into my system, comes to an input form, enters
-
Off/online at the Start page?
Hello! One friend and I have buy for each of us one N97 and we are in discuss if it's so or not, a discuss as taking one week, and I have already contacted Nokia Technical support, but my friend is not agree the technical support, so by the way - it'