Alternative to s4.recentchanges class
Hi Friends,
I want to use css to hide the "Recent" section but unfortunately I couldn't find the alternative to s4.recentchanges class for SharePoint 2013
I don't want to hide the entire quick launch using #sideNavBox or use jQuery to hide it.
I want to hide only "Recent" section
Any suggestions?
Hi,
For your issue, you can create a Group that has no members in it.
Then simply set Target Audience on the Recent folder to the Group you just created.
Reference:
https://social.technet.microsoft.com/Forums/office/en-US/b0b126fb-298b-469a-9a35-fb7abd50b997/sharepoint-2013-remove-recent-from-left-menu?forum=sharepointadmin
Best Regards,
Eric
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Similar Messages
-
What is the alternative of Transfer Support class in java 1.5
I have Drag And Drop Application built in java 1.6.
My application supports Drag-Drop between Swing Components (Tree,Table) and Native file system to Swing Component.
I have requirement to implement Drag And Drop in java 1.5.
May i know the alternative of Transfer support class?
Implementing Drag And Drop using java 1.6 was easy. Will It require to put additional efforts to implement Drag And Drop in java 1.5. ?There is no Transfer class in Java 6. There are a number of classes with 'transfer' in the name, but none of them is 'Transfer'. So what class are you referring to?
One thing you might do while you mull that over, is check the since tag for the class. If it does not have one listed, try the since tag for the package. Yes, that requires RTFM. -
How do I get one to one classes at a store other than where I purchased it?
I purchased my macbook pro in Cerritos. I live in Fresno. Their schedule for classes so far, is not convenienet. I was told I could take the classes at any store. But when I try to check alternatives I get a short list of stores all in the L.A. area. How do I find other alternative stores for these classes? I'd like to check schedules in San Jose, or the S.F.bay area, or the central valley. How do I do that?
If you go to the Apple site & at the bottom right of the page on the right under support choose workshops & do the state & select your area & the info pops up.
-
Adding a class to a project in sunone studio that already has a main method
i have a frame class and it contains a main method, I can't figure out how to add a class that makes use of the JDialog and call it from the main class. When i try to add a JDialog, it creates its own main method.
If abc.class is my main method class and dcf.class is my class that makes the dialog GUI, I want abc.class to be able to call it, i can't figure out how to do this in Sun One Studio 5Having a main() in the JDialog doesn't hurt. It lets you run the JDialog as a standalone - make sure that it looks good, etc. When you run your other class, the main() won't get called. (And you can delete it when you're all debugged.
Alternatively, create a new class, then start it by saying
class MyDialog extends JDialog {
}S1S will be completely happy if you do it that way. -
Writing console output from numerous classes to JTextArea?
I have written a GUI for several classs and I was wondering if it is possible to have the output from these classes written to something like a JTextArea or equivalent.
I know I could store the output (instead of System.out.print) and then setup a JTextArea and set the text equal to the stored output. I was hoping there was another way to do this that'd be more aesthetic.
Thanks in advance.
Se�nI have written a GUI for several classs and I was
wondering if it is possible to have the output from
these classes written to something like a JTextArea
or equivalent.
I know I could store the output (instead of
System.out.print) and then setup a JTextArea and set
the text equal to the stored output. I was hoping
there was another way to do this that'd be more
aesthetic.
java.util.logging?Alternatively, create a TextAreaPrintStream class, overriding the appropriate methods and then call
System.setOut(someTextAreaPrintStream);Jim S. -
Importing other package java classes
I am doing a webapp using Tomcat .I have some classes which i want to use in another webapp.I did set the PATH variable to point to the my first webapp classes directory .But it is still not bale to locate the classes.
Does anyone have any idea.Learn how the Tomcat class loaders work and how to deploy Web apps properly.
PATH doesn't affect Java at all. That's an OS environment variable. If you meant CLASSPATH, that'll do you no good, either, because Tomcat ignores any CLASSPATH environment variable.
Read up on the Tomcat CLASSPATH. It's important.
If you want both apps to use those .class files you have a few alternatives:
(1) Put those classes in a JAR file and put that in the TOMCAT_HOME/common/lib directory.
(2) Put those classes in a JAR file and put copies in the WEB-INF/lib directory for both apps.
(3) Copy those .class files into the WEB-INF/classes directory for both apps.
I'd prefer (2) myself. -
Local class incompatible: different serialVersionUID
Hi!
I wrote an Object of type X to a file (in the server) and am sending the file to a client. This is done using:
FileOutputStream fo = new FileOutputStream (filename);
ObjectOutputStream so = new ObjectOutputStream (fo);
so.writeObject(x); //x is of Object type X
so.flush();
so.close();
fo.close();
The file 'filename' is sent to the client and I read it as follows:
FileInputStream in = new FileInputStream(filename);
ObjectInputStream s = new ObjectInputStream(in);
xobject = (X) x.readObject(); //xobject is of Object type X
This is throwing an error as follows:
java.util.Vector; local class incompatible:stream classdesc serialVersionUID = -2804478835259887871, local class serialVersionUID = -2767605614048989439
Can anyone tell me what to do to be able to type cast the object and use it? I did go thro' some @serial documentation, but, couldn't understand it.
Please help,
Thanks,
x86...or, alternatively, maintain the X class in one package, the one where your server-side classes are compiled, say, and import it into the second, client side source code, which presumably lives in a separate package or this problem probably wouldn't have come up. The goal is never to have more than one copy of the compiled class file.
You may have to modify your classpath.
Hi!
I wrote an Object of type X to a file (in theserver)
and am sending the file to a client. This is done
using:
<snip>
>
This is throwing an error as follows:
java.util.Vector; local class incompatible:stream
classdesc serialVersionUID = -2804478835259887871,
local class serialVersionUID = -2767605614048989439Hi
try using one copy of the compiled class for the
server
and the client, I had this happen many times until I
figured out
the server compiled its version of the serialiable
class and the client compiled its version of the
serialiable class,
then got class incompatable exceptions..among others
easy way around this is to compile the code of botht
he client and server, then copy the class code across
to the client side
Boris -
Character array type conversion problem
Hi, I'm using BlazeDS (v3.0.0.544) to remotely call Java code on the server from my Flex client. I'm having trouble when converting a character array type from Java to ActionScript and vice-versa. In my Flex code, if the ActionScript class uses a String type to map to the char[] then the char[] is successfully converted from Java to ActionScript, but not from ActionScript to Java.
// Extract from ActionScript code
private var m_charArray:String;
public function get charArray():String
return m_charArray;
public function set charArray(value1:String):void
m_charArray = value1;
Alternatively, if my ActionScript class uses an Array type then I can successfully send data from the client and populate a char[] field on the server, but can't send an updated char[] back to my ActionScript class.
In fact the Flex console reports:
TypeError: Error #1034: Type Coercion failed: cannot convert "myString" to Array.
The code this time:
// Extract from ActionScript code
private var m_charArray:Array;
public function get charArray():Array
return m_charArray;
public function set charArray(value1:Array):void
m_charArray = value1;
All the other types I have tried work successfully, it's only with char arrays that I've hit a problem.
Any help would be appreciated, thanks.Hi Graeme,
It is how it works. I can see the inconsistency. You can find an example how of echo char[] in blazeds\trunk\qa\apps\qa-regress\testsuites\mxunit\tests\remotingService\dataTypes\CharTy pesTest.mxml. It echos a char[] in return of a string. You can get the char in a string easily string.charAt() and get its length using length(). I think it may be the reason remoting decided to use a string to represent a char[] instead of a generic objects array. It should be more memory efficient. However, I can see that it can turn into problem as what you descibed. When the data has to send back to server, it has to convert back to array. If the char[] type is used inside an object, it is impossible to do the conversion unless the getter and setter are generic
public function get charArray():Object
return m_charArray;
public function set charArray(value1:Object):void
if (value1 is String)
m_charArray = new Array();
//copy the string elements to it
else
m_charArray = value1;
I know it is ugly, but it the only work around I can think of. I think it needs to log a bug to correct this conversion behavior
William -
Problem : Application run out of memory while processing image I/O.
Hi,
I have coded an application (utility) for creating scaled (JPEG) images (thumb nails) and writing (saving) them to files. I tried this with both imageio package of jdk1.4 and com.sun.image.codec.jpeg.* classes of earlier version. Application works with both versions but when I execute it for more (say more than 10 images) images, system becomes very slow and application starts throwing a memory related (OutOfMemoryError) error. Is it that objects of java image related classes consume too much memory ? How to solve this problem ? (My system run P4 processor with 256 MB RAM).
Awaiting solution,
Thanx and regards,
IBSo I am not alone in this...
I wrote the jpeg thumbnail generating code over a year ago and now when I am ready to use it in the finished app. I noticed that each process (as monitored using Forte 3's execution window) that instantiates a new ImageIcon object is never killed by the JVM. As more and more processes are started for distinct tasks they build up endlessly. Here's the method which is almost identical to the test code provided in sun's tutorial for generating thumbnails from jpeg and gif image files (http://developer.java.sun.com/developer/TechTips/1999/tt1021.html) :
public boolean createThumbImage(int maxDim) throws EntegraEntityException {
* Reads an image in a file and creates
* a thumbnail in another file.
* @param this.getImagePath() The name of image file.
* @param thumb The name of thumbnail file.
* Will be created if necessary.
* @param maxDim The width and height of
* the thumbnail must
* be maxDim pixels or less.
String thumbsource = this.path + this.filename;
String thumbdest = this.path + "thumbs_" + maxDim + File.separator/*"\\"*/ + Utilities.replaceString(Utilities.replaceString(this.filename," ","_","ALL").trim(),"[.][a-zA-Z]*",".jpg","ALL");
// System.out.println("thumbsource in createthumbimage(): " + thumbsource + "\n");
// System.out.println("thumbdest in createthumbimage(): " + thumbdest + "\n");
try {
// Get the image from a file.
java.awt.Image inImage = new ImageIcon (thumbsource).getImage();
// Determine the scale.
double scale = (double)maxDim/(double)inImage.getHeight(null);
if (inImage.getWidth(null) > inImage.getHeight(null)) {
scale = (double)maxDim/(double)inImage.getWidth(null);
// Determine size of new image.
//One of them
// should equal maxDim.
int scaledW = (int)(scale*inImage.getWidth(null));
int scaledH = (int)(scale*inImage.getHeight(null));
// Create an image buffer in
//which to paint on.
BufferedImage outImage =
new BufferedImage(scaledW, scaledH,
BufferedImage.TYPE_INT_RGB);
// Set the scale.
AffineTransform tx =
new AffineTransform();
// If the image is smaller than
//the desired image size,
// don't bother scaling.
if (scale < 1.0d) {
tx.scale(scale, scale);
// Paint image.
Graphics2D g2d =
outImage.createGraphics();
g2d.drawImage(inImage, tx, null);
g2d.dispose();
// JPEG-encode the image
//and write to file.
Utilities.fileMakeDirs(this.path + "thumbs_" + maxDim + File.separator/*"\\"*/);
Utilities.fileMakeFile(thumbdest);
OutputStream os =
new FileOutputStream(thumbdest);
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(os);
encoder.encode(outImage);
os.close();
return true;
} catch (IOException e) {
throw new EntegraEntityException("IO exception creating thumbnail for Image object ID: " + this.getId() + " ::",e);
} catch (EntegraFileIOException fi) {
throw new EntegraEntityException("File IO exception creating thumbnail for Image object ID: " + this.getId() + " ::",fi);
// return false; //Never reached. Since it doesn't live in the "try" block but must be here to ensure method body gets a return value.
}:During my troubleshooting of the method execution yesterday I discovered that the stuck process only occurs as a consequence of the line shown in bold below :
java.awt.Image inImage = new ImageIcon (thumbsource).getImage();
:this indicates to me that there is something wrong with how either the Image object or the ImageIcon file resources are allocated. At first I tried using the "flush()" method of the java.awt.Image class to release the resources to no avail, later I was able to confirm that the error does not occur for the default constructor of ImageIcon only for the one that specifies the source path (as shown in the line above) this indicates that a fileIO stream is being created and probably not being released inside ImageIcon or Image, but since that stream is probably private to those core classes we can't access it to close() it properly. I sure hope I am wrong on this or there is an alternative to using these classes..
Please let me know if any of you have other ideas on how to quash this bug or can otherwise find flaws in my logic for it's occurance.
Regards,
Sent2null -
Hello all. I am building a small app that requires a persistence manager to save objects in an xml repository file.
I am trying to use generics to see if I can avoid casting objects from a general super class to concrete class. Lets say Entity and Person.
For a store method. I wrote this:
public <E extends Entity> void store(E entity);Lets say that inside store method I delegate the translation from the entity Person or whatever to a Node element. Somewhere you would have to cast the E type (from generics) to Person. right? like:
persistence manager code:
private void save(Person person){
..transform the object to xml and save it
public <E extends Entity> void store(E entity){
this.save((Person)entity);
} client code:
Person person = new Person("Jon", "Stewart");
myStorage.store(person);May be the GET statement would be easier to understand. My get looks something like this:
persistence manager code:
public <E extends Entity> E getEntity(int id) {
return null;
} client side code:
Person person = myStorage.get(32);I avoid casting from the client side by using generics here.
How can I best avoid casting?
You see, I am trying to avoid Casting as much as I can.
I have to translate an entity to an xml node, then append the node to a parent node, thus persisting it to the original document.
I created some XmlTranslators. and a subclass for each different type of entity. I don't think this is such a good aproach. But I didn't had any better Idea at the time (would be great to hear sugestions).
I have a Switch statement that evaluates the entity.entityType (an enumerator type) and as I showed before in the example I cast to the subclass type (Person).
Am I doing this the right way? or just the complicated way.
My goal is to reduce code in store methods and avoid as much casting as I can.
May be by trying to do it all I got a little lost. If some one could share his/her views on the matter and maybe show me a better practice, I would appreciate it very much.To make use of generics, you must have knowledge about the types at compile time. If the instance you call getEntity on does not have this information, there is no real use to provide a method implicitly casting to your type (as this may fail any time). If the instance knows about it, you can implement something like follows:public interface EntityProvider<E extends Entity> {
public E getEntity(int id);
public void store(int id, E entity);
public class PersonProvider implements EntityProvider<Person> {
public Person getEntity(int id) { ... }
public void store(int id, Person person) { ... }
}Alternatively a generic Provider class, operating on E that will be instantiated with the concrete Entity-type as generic parameter. -
Services for object for a custom document
Hi everyone,
We have a custom transaction to create a custom document called enquiry. Upon saving, the document number will be generated and stored in a table. I would like to add the functionality of Services for Object in the transaction to be able to attach documents to the enquiry. I would like to ask if it is possible to create a business object for this custom document to be able to utilize the Services for Object functionality.
Thanks!
Ericyou can choose to create BO for this or simply have a another identifier for this object and youc an use class OT to upload documents to BDS.
all you need is call of this FM whicih will automatically put the icon for GOS
SWU_OBJECT_PUBLISH
alternatively you can use class cl_gos_manager
Raja -
Applet that archieve jar file fail to load picture
hello...
i already can display my applet , but the ploblem is the applet canot display the picture...
the class that i include in the jar file is can run and will display the picture...
wat is the ploblem?
thanks...This is my full code
package dir.yew;
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import java.applet.*;
import javax.swing.*;
import javax.swing.tree.*;
import javax.swing.event.*;
public class DirTree
extends JPanel {
public static final String APP_NAME = "Directories Tree";
public static final ImageIcon ICON_COMPUTER =
new ImageIcon("computer.gif");
public static final ImageIcon ICON_DISK =
new ImageIcon("disk.gif");
public static final ImageIcon ICON_FOLDER =
new ImageIcon("folder.gif");
public static final ImageIcon ICON_EXPANDEDFOLDER =
new ImageIcon("expandedfolder.gif");
protected JTree m_tree;
protected DefaultTreeModel m_model;
protected JTextField m_display;
public DirTree() {
DefaultMutableTreeNode top = new DefaultMutableTreeNode(
new IconData(ICON_COMPUTER, null, "My Computer"));
DefaultMutableTreeNode node;
File[] roots = File.listRoots();
for (int k=0; k<roots.length; k++) {
node = new DefaultMutableTreeNode(new IconData(ICON_DISK,
null, new FileNode(roots[k])));
top.add(node);
node.add( new DefaultMutableTreeNode(new Boolean(true)));
m_model = new DefaultTreeModel(top);
m_tree = new JTree(m_model);
m_tree.putClientProperty("JTree.lineStyle", "Angled");
IconCellRenderer renderer = new
IconCellRenderer();
m_tree.setCellRenderer(renderer);
m_tree.addTreeExpansionListener(new
DirExpansionListener());
m_tree.addTreeSelectionListener(new
DirSelectionListener());
m_tree.getSelectionModel().setSelectionMode(
TreeSelectionModel.SINGLE_TREE_SELECTION);
m_tree.setShowsRootHandles(true);
m_tree.setEditable(false);
JScrollPane splitPane = new JScrollPane(
new JScrollPane(m_tree)
setLayout( new BorderLayout() );
add( splitPane );
DefaultMutableTreeNode getTreeNode(TreePath path) {
return (DefaultMutableTreeNode)(path.getLastPathComponent());
FileNode getFileNode(DefaultMutableTreeNode node) {
if (node == null)
return null;
Object obj = node.getUserObject();
if (obj instanceof IconData)
obj = ((IconData)obj).getObject();
if (obj instanceof FileNode)
return (FileNode)obj;
else
return null;
class DirExpansionListener implements TreeExpansionListener {
public void treeExpanded(TreeExpansionEvent event) {
final DefaultMutableTreeNode node = getTreeNode(
event.getPath());
final FileNode fnode = getFileNode(node);
Thread runner = new Thread() {
public void run() {
if (fnode != null && fnode.expand(node)) {
Runnable runnable = new Runnable() {
public void run() {
m_model.reload(node);
SwingUtilities.invokeLater(runnable);
runner.start();
public void treeCollapsed(TreeExpansionEvent event) {}
class DirSelectionListener
implements TreeSelectionListener {
public void valueChanged(TreeSelectionEvent event) {
DefaultMutableTreeNode node = getTreeNode(
event.getPath());
FileNode fnode = getFileNode(node);
if (fnode != null)
m_display.setText(fnode.getFile().
getAbsolutePath());
else
m_display.setText("");
public static void main(String argv[]) {
JFrame frame= new JFrame( "FileSystem Viewer");
DirTree dir = new DirTree();
frame.getContentPane().add(dir);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(true);
class IconCellRenderer
extends DefaultTreeCellRenderer {
public IconCellRenderer() {
setLeafIcon(null);
setOpenIcon(null);
public Component getTreeCellRendererComponent(JTree tree,
Object value, boolean sel, boolean expanded, boolean leaf,
int row, boolean hasFocus) {
// Invoke default implementation
Component result = super.getTreeCellRendererComponent(tree,
value, sel, expanded, leaf, row, hasFocus);
DefaultMutableTreeNode node =
(DefaultMutableTreeNode)value;
Object obj = node.getUserObject();
setText(obj.toString());
if (obj instanceof Boolean)
setText("Retrieving data...");
if (obj instanceof IconData) {
IconData idata = (IconData)obj;
if (expanded)
setIcon(idata.getExpandedIcon());
else
setIcon(idata.getIcon());
else
setIcon(null);
return result;
class IconData {
protected Icon m_icon;
protected Icon m_expandedIcon;
protected Object m_data;
public IconData(Icon icon, Object data) {
m_icon = icon;
m_expandedIcon = null;
m_data = data;
public IconData(Icon icon, Icon expandedIcon, Object data) {
m_icon = icon;
m_expandedIcon = expandedIcon;
m_data = data;
public Icon getIcon() {
return m_icon;
public Icon getExpandedIcon() {
return m_expandedIcon!=null ? m_expandedIcon : m_icon;
public Object getObject() {
return m_data;
public String toString() {
return m_data.toString();
class FileNode {
protected File m_file;
public FileNode(File file) {
m_file = file;
public File getFile() {
return m_file;
public String toString() {
return m_file.getName().length() > 0 ? m_file.getName() :
m_file.getPath();
// Alternatively we copud sub-class TreeNode
public boolean expand(DefaultMutableTreeNode parent) {
DefaultMutableTreeNode flag =
(DefaultMutableTreeNode)parent.getFirstChild();
if (flag==null) // No flag
return false;
Object obj = flag.getUserObject();
if (!(obj instanceof Boolean))
return false; // Already expanded
parent.removeAllChildren(); // Remove Flag
File[] files = listFiles();
if (files == null)
return true;
Vector v = new Vector();
for (int k=0; k<files.length; k++) {
File f = files[k];
if (!(f.isDirectory()))
continue;
FileNode newNode = new FileNode(f);
boolean isAdded = false;
for (int i=0; i<v.size(); i++) {
FileNode nd = (FileNode)v.elementAt(i);
if (newNode.compareTo(nd) < 0) {
v.insertElementAt(newNode, i);
isAdded = true;
break;
if (!isAdded)
v.addElement(newNode);
for (int i=0; i<v.size(); i++) {
FileNode nd = (FileNode)v.elementAt(i);
IconData idata = new IconData(DirTree.ICON_FOLDER,
DirTree.ICON_EXPANDEDFOLDER, nd);
DefaultMutableTreeNode node = new
DefaultMutableTreeNode(idata);
parent.add(node);
if (nd.hasSubDirs())
node.add(new DefaultMutableTreeNode(
new Boolean(true) ));
return true;
public boolean hasSubDirs() {
File[] files = listFiles();
if (files == null)
return false;
for (int k=0; k<files.length; k++) {
if (files[k].isDirectory())
return true;
return false;
public int compareTo(FileNode toCompare) {
return m_file.getName().compareToIgnoreCase(
toCompare.m_file.getName() );
protected File[] listFiles() {
if (!m_file.isDirectory())
return null;
try {
return m_file.listFiles();
catch (Exception ex) {
JOptionPane.showMessageDialog(null,
"Error reading directory "+m_file.getAbsolutePath(),
DirTree.APP_NAME, JOptionPane.WARNING_MESSAGE);
return null;
} -
Hi
I need to use the struts framework with oracle (10g express edition), I am using eclipse IDE. anyone please help me. I dont know how to set these up for use..Struts doesn't define anything for the data access layer.
It helps you write MVC applications, and provides a translator between your view (jsp pages) and your model (action forms/actions), but once you get to that point its all standard java code.
You have a few alternatives
1 - write java classes to handle the data access layer: Data Access Objects (or DAOs) using standard java/jdbc.
2 - Use a tool like hibernate to do your data layer handling.
Struts itself though won't help at all with this. -
Redhat 6.2 / Oracle 8.1.6
I'm making a clean install of Oracle 8.1.6 (no previous Oracle, no ora* files in /etc) and having a problem I can't get around whenever I execute /mnt/cdrom/install/linux/runIstaller, I get the error message:
"The Java RunTime Environment was not found at /bin/jre. Hence the Oracle Universal Installer cannot be run."
I've installed jre118_v1 from Blackdown at /usr/local, and crteated the links /usr/local/jre and /bin/jre that point back to the install. I have the following environmental variables in oracle8i's .bash_profile (excuse the poor formatting) and they appear correctly from the "env" command. What am I doing wrong? Thanks for any help or advice.
# Oracle 8.1.6
export ORACLE_HOME=/u01/oracle/8i/app/oracle/product/8.1.6
export ORACLE_BASE=/u01/oracle/8i/app/oracle
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export ORACLE_TERM=vt100
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$PATH:$ORACLE_HOME/bin
# Java JRE
export JAVA_HOME=/usr/local/jre
export PATH=$JAVA_HOME/bin:$PATHI get a Linux + Oracle 8i howto here.
Hope it helps!!!
=====================
1) runInstaller script spins
On some systems (notabley Red Hat 6.0 systems), the installer will briefly flash
up a window and then just hang.
This can be resolved in two ways:
i) There is a bug in the Enlightenment package used with the GNOME window
system on Red Hat 6.0. You can download the upgrade for the Enlightenment
package from Red Hat at
http://www.redhat.com/corp/support/errata/rh60-errata-general.html
ii)There is a problem with the Java Runtime Environment (JRE) used by the Oracle
Universal Installer (OUI). The solution is to download and use the Version
1.1.7_v3 JRE/JDK from http://www.blackdown.org/ rather than the 1.1.6_v5
version suggested in the Install guide.
2) Database Assistant fails to run
During the installation you will be prompted as to whether you wish to craete
a database at the end of the install. It is recommended that you select NOT to
run dbassist (Database Assistant) at this stage. You should apply patchset 81501
before attempting to create a database.
However the database assistant tool, dbassist may fail with the following:
Unable to initialize threads: cannot find the class /java/lang/Thread
Could not create Java VM
You need to ensure that the symbolic link /usr/local/jre does point to
/usr/local/jre116_v5.
ALTERNATIVELY, you can symlink classes.zip to rt.jar in the jre/lib directory.
3) SQLPLUS can not by run users other than Oracle
A multitude of errors can be reported here, from missing libraries to file
permissions.
This can either be a problem in that root.sh was never run during installation.
If this is the case, see the development FAQ below.
More likely is that you ran root.sh, but SQLPLUS will still not work. The
problem is fixed by applying the 81501 patch set.
I. Installation Issues
1. Which JRE version is required for running the Oracle Universal Installer
(OUI) and where is this available ?
Use JRE 1.1.6 v5 from http://www.blackdown.org.
The JRE 1.1.7 v3 (green threads) also should work, though not tested,
which is also availble from this site.
Download and install the above mentioned JRE in any location where there
is enough disk space and create a symbolic link from /usr/local/jre
to the location where JRE was installed.
2. On what window managers was OUI tested ?
OUI runs on fvwm and KDE.
There is a bug in the Enlightenment package used with GNOME on Red Hat 6.0
that causes the Oracle Universal Installer (OUI) to fail. You may download
the RPM upgrade for the Enlightenment package,
enlightenment-0.15.5-36.i386.rpm from the Red hat Errata site at
http://www.redhat.com/corp/support/errata/rh60-errata-general.html.
3. OUI couldn't determine the free disk space though there is enough space
and instead displayed some warnings.
It's a bug in the installer. Please ignore the warnings and
continue the installation.
4. When OUI reached installing protocol support, an empty list box
is displayed where the network protocols should have been listed.
Unable to select any protocol.
Only the TCP/IP adapter is supported which is default and built-in, and
so the screen is blank.
5. Just before the DB Assistant is launched, a dialog is displayed with
the warning:
"JNLS Exception: oracle.ntp.jnls.JNLSException Unable to find any
National Character Sets. Please check your Oracle installation."
This is a known problem (884001). Ignore the warning
6. Which one do we install to launch dbassist - JDK or JRE ?
Download and install JRE 1.1.6 v5 as mentioned above, before launching
the dbassist.
7. While adding PL/SQL support, the DB Assistant complained that
dbmssml.sql script was missing.
Apply patch 8.1.5.0.1 or above and launch dbassist.
8. While testing the database creation using the dbassist, we have
observed that, on a 4-way SMP system, it took more than 4 hours to
create the database, if all the options are enabled. This may affect
the performance of the machine during this time.
You could either select the option to create scripts and run them OR
use the scripts provided in $ORACLE_HOME/rdbms/install/create to create
the database. The scripts in $ORACLE_HOME/rdbms/install/create
take ORACLE_SID as the parameter. Before running these scripts copy the
init.ora available in this directory as $ORACLE_HOME/dbs/init<sid>.ora
and modify any parameters in this to suit your requirements, at a minimum
change the db_name, instance_name and service_name parameters.
To enable the 8i features set the compatible parameter to "8.1.5" in the
init<sid>.ora file.
The order in which to run these scripts is
crdb1.sh |
crdb2.sh |-- To create database files, data dictionary views
crdb3.sh | and add PL/SQL support
replicate.sh --- Advanced replication option
ordinst.sh |__ Oracle Intermedia
imedia.sh |
drsys.sh |__ Oracle interMedia Text
context.sh |
java.sh --- Oracle Jserver
spatial.sh --- Oracel Spatial
timeseries.sh --- Oracle TimeSeries
virage.sh --- Oracle Visual Information Retrieval
sqlplus1.sh |
sqlplus2.sh |-- Demos and SQL*Plus help tables
sqlplus3.sh |
You need not have to run all these scripts to create the database.
The first three scripts (crdb1.sh, crdb2.sh and crdb3.sh) would create a
database and the scripts sqlplus1.sh, sqlplus2.sh and sqlplus.sh would
create some demo tables. Once the database is created, you could run other
scripts mentioned above to use the respective 8i feature, e.g., for Jserver,
run the java.sh script. To enable Oracle Intermedia Text, run the scripts -
drsys.sh and context.sh, in this order only. Similarly, for
Oracle Intermedia, run ordinst.sh followed by imedia.sh.
Spatial, time series and visual information retrieval options are not
supported on Oracle 8i Standard Edition.
9. OUI doesn't seem to get installed anywhere even if the "installed
products" shows the OUI.
If the specified ORACLE_HOME is say, /usr/local/8i/oracle, and didnot
select the location for OUI installation, it gets installed in
/usr/local/8i.
10. After installation, executable permissions are wrong for sqlplus, tnslsnr,
lsnrctl and a couple of others (644 not 755) and oracle is 751
instead of 6751
Important: After Server component is installed, root.sh should have been
run to set the proper permissions, when prompted by the installer.
If another component is installed before running the root.sh script,
the script root.sh will be overwritten by the subsequent install.
If this happens,
you have to either re-install the server component again
OR
instantiate root.sh from $ORACLE_HOME/install/utl/root.sbs by updating
the lines [60-62] with your ORACLE_SID, ORACLE_HOME path and
ORACLE_OWNER id and run the script.
11. Oracle Intelligent Agent Executables are not present in $ORACLE_HOME/bin
after installation. These executables neither get installed or relinked.
Please refer to the release note for instructions to link the
Oracle Intelligent Agent executables - dbsnmp, oemevent.
12. Names server is not getting installed.
Apply the patch.8.1.5.0.1 or above.
II. General Issues
1. On which Linux distributions is Oracle 8i for Intel-Linux certified ?
This release is certified with Red Hat 6.0. Certification for other
distributions is currently in progress.
2. DBassist (Database Configuration Assistant) alerts with many missing files
when run on a typical installation.
Please do not use the "Typical" install option when installing Oracle 8i
Emterprise Edition, since yo u will be unable to use the Intermedia Audio
and Intermedia Video options. This is a known problem. The work around to
this problem is to re-install using the "Custom" install option.
3. When running the netasst script to launch the Net8 Assistant, it complains
that, it could not locate the shared library libnjni8.so.
Apply patch 8.1.5.0.1 or above.
4. The shell script gensyslib fails with the following error:
awk: cmd. line:2: fatal: cannot open file `tmpXXXX' for reading (No such
file or directory)
Apply patch 8.1.5.0.1 or above.
5. Most shell scripts when run fail with the following error:
bash: <script-name>: No such file or directory.
Apply patch 8.1.5.0.1 or above
OR
Create a symbolic link to /bin/sh as follows:
ln -s /bin/sh /bin/ksh
6. Can't get sqlplus to work for any user on a Linux box other than "oracle",
which installed it.
Apply patch 8.1.5.0.1 or above.
7. Sqlplus cannot connect to remote database.
Apply patch 8.1.5.0.1 or above.
8. Unable to link the Oracle Intelligent Executables.
Apply patch 8.1.5.0.1 or above.
9. Which JDK version is required for the JDBC drivers ?
Use the JDK 1.1.6 v5 from http://www.blackdown.org.
10. The jdbc thin driver errors when connecting from an NT box. OCI driver
works fine, but thin driver returns the "No more data to read from socket"
error.
This is a known problem in the client-side Java libraries (910741)
This is fixed in the current Oracle 8i for Intel-Linux distribution and
gets installed in $ORACLE_HOME/jdbc/lib. Copy this version of
classes111.zip to appropriate directory on the client-side.
11. The supplied "relink" shell script fails to relink the executables.
Apply patch 8.1.5.0.1 or above.
12. libclntsh.so.8.0 is not present in the installed ORACLE_HOME.
It should have been generated at install time. In any case, it can be
generated by invoking the script genclntsh located in $ORACLE_HOME/bin.
null -
Upload LSMW for Grant Master and Business Partner
Hi,
Does anyone have LSMW' for uploading business partners and Grants
A basic one can be shared. I will build up on that in terms of adding fields etc...
Regards
AnishHi,
As both the Grant master and the business partner have tables in several screens, using LSMW is not recommended.
For the grant master record I'd use BAPI_0035_CREATE - Works better and faster.
LSMW cannot support complicated scenarios, such as adding an alternating number of sponsored classes per grant (for example - one grant has 3 classes and another has 4 classes). The BAPI can solve such problems.
Best regards,
Shahaf Yaari
Maybe you are looking for
-
Hi All, I want to include ALV object in web dynpro ABAP, instead of a table in a window. I have SAP Version 4.6 as backend. Pl help.
-
Hi all, In ST02 for Screen buffer and export/import Free directory entries and % are showing '0' , what does it mean ... Hit ratio for all buffers is 99.96 nearly for export/import it's showing 85% and swaps also rising . Please suggest... Thanks
-
Hi, I have a Forms5.0 and Reports3.0 and Developer/2000 Reports server3.0 in a Client-Server Articture. My Question is: when I print a report(1 page), the reports server taking too much time to print and it is sitting for the long time9 sometime 12 h
-
Checking single quotation mark
Hallo I have a probelm I want to check in a if block the value of single quotation mark ' how can I do it in sap regards
-
Adding items to AutoFill in Safari
Is there any way to add web sites to AutoFill in Safari 7.0 with Mavericks?