Directory Structure of Apache
I wanted to know why the directory structure of Apache in 11i is like that?
Apache/Apache/..
Please let me know if anyone is having any idea about it.
Thanks.
user13574008 wrote:
I wanted to know why the directory structure of Apache in 11i is like that?
Apache/Apache/..
Please let me know if anyone is having any idea about it.Oracle Apache (HTTP) Server documentation can be found at:
Oracle9i Application Server Archive Documentation
http://www.oracle.com/technology/documentation/ias_arch_9i.html
Oracle® HTTP Server Administrator's Guide 10g Release 2 (10.1.2)
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14007/title.htm
Note: 216079.1 - What Are the Relevant Apache Configuration Files and Some of Their Key Settings for OIE Second Generation
Note: 334763.1 - How Apache Works
Thanks,
Hussein
Similar Messages
-
Directory structure question...
I've been w/ three different companies doing Java development now, and each time I've come in once the project is already in progress and the directory structure is set up. What I see is a similarity:
com.<company name>.<project>.<sub-units>
examples:com.delta.kiosk.server
com.delphi.shipping.guiIs this a common way of laying out directories and if so, what is the benefit (other than standardization)?I always figures that it was primarily a namespace issue.
org.apache.ecs.Attributes
org.xml.sax.Attributes
are examples of class names that would have resulted in a collision without the prefixes. A full class name has the package name before it so
String
java.lang.String
are the same thing, String is just shorthand for the latter. But if there are two of the same class then the prefix will help the compiler know where the class is supposed to come from. com.<company name>.<project>.<class> is a good way to ensure that you will not encounter a collision. -
Package and Directory Structure
Hello --
I work in a group that supports 3 web sites. (b2b, b2c, b2e)
We're just beginning to develop Java in-house and
currently using Solaris and JDK 1.2.x.
I need to propose a package and directory structure strategy.
The "reverse the domain name" guideline makes sense to me.
My first thoughts are: ("classes" dir could be created anywhere)
classes/com/ppco/b2X/ <--- for .java and .class files (development)
lib/ <--- for b2X JAR files (ready for test or production)
util/ <--- for our utility classes like DBAccessor
lib/ <--- for our JAR files
sun/ <--- for classes like com.sun.mail pkg
lib/ <--- for JAR files like mail.jar
org/ <--- for classes in org.omg.CORBA pkg
lib/ <--- for JAR files
We need to handle 3rd party classes.
Development would be done in the b2X tree and JAR files would
be installed the lib/ dir for testing and release to production.
Does anyone have recommendations or experiences to share ?
Are there some things to avoid ?
Thanks !
AlHello Al,
you are on the right track. A typical convention I follow is:
<project>
bin - for startup scripts, etc. to run your application
build - for build scripts (not necessary if you build using your IDE. See below.)
classes - for my compiled classes
lib - for my 3rd party libraries
src - for my source code
test - for my test code (see http://junit.org/ )
That's the project hierarchy. The src (i.e. the package heirarchy) structure is another story.
As you say, you start with the reverse domain name. This is to give your packages a unique namespace. After that, your best guide is practice. Packages can be larger or smaller, depending on your coding practices. Usually you would have these (exact names may differ), plus others:
com/ppco/client
com/ppco/server
com/ppco/common
com/ppco/db
I think your break down of sun, org, etc. is a bit too much. If you would like to do so, however, I recommend you do the separation under /lib. This way, the top level project directory is not polluted by the different types of libraries in use.
Regards,
Manuel Amago.
From build above: I would suggest you always build your release distribution directly with the JDK, not using any IDE compiler. This is because Sun's JDK is the reference implementation, thus, any compatibility issues are not yours.
An easy way to achieve this is by using ANT (see http://jakarta.apache.ort/ant/ ). -
OVM 3.0.1 - directory structure & adding resources
Afternoon everyone,
I've got OVM 3.0.1 up and running, so far so good.
I had a question about the repository directory structure. If this has been addressed already, my apologies.
In OVM 2.x, it was possible to copy over a variety of data (.iso's, .img's, templates, etc.) directly into the seed, iso and running pools on OVS and then register them through OVM. Is there a way to do this in OVM/OVS 3.0.1? Is it a matter of getting the correct syntax in the 'download location' dialog box that refers to the OVS 3.0.1 box? Or do you need a remote staging resource set up in order to import data?
Best regards,
J.861743 wrote:
In OVM 2.x, it was possible to copy over a variety of data (.iso's, .img's, templates, etc.) directly into the seed, iso and running pools on OVS and then register them through OVM. Is there a way to do this in OVM/OVS 3.0.1? Is it a matter of getting the correct syntax in the 'download location' dialog box that refers to the OVS 3.0.1 box? Or do you need a remote staging resource set up in order to import data?You need a remote server to import data. This can be the Oracle VM Manager machine itself, as long as you can access it via http/https from the Oracle VM Servers (as the import happens on the Oracle VM Server machines). Just install Apache on your VM Manager machine and stash your templates/assemblies in /var/www/html. -
Correct Directory Structure for Serving a Web Application from Arch?
At the moment I have an Apache web server hosting PHP based web pages out of /srv/http. This works for what I am doing at the moment, but i was wondering if there was a more professional\correct way to host a web application on Arch.
When would someone host a page in /srv/http vs /var/www ? ( is /www even widely used on archlinux) ?
Or is their a better way all together ( I read something about symbolic linking the 2 directories)?
Can anyone provide a sample of how they decided to set up their basic web directories ?
Any help is very much appreciated !It mainly depends on the webserver you're using. There's nothing about the difference between /srv/http versus /var/www. As far as the web user is concerned they don't even know what directory structure you're using.
-
Directory Structure for Discoverer
Hi,
I have couple of queries...
1. What is the directory structure for discoverer on Unix in Application Server?
2. Is there any extention for the woekbook saved in the database like .dis?
I am working on discoverer 10g with Oracle Apps.
Thanks...1. On a Solaris machine where I have Discoverer 10g (9.0.4.3) installed the directory structure for the Oracle home looks like this:
$ cd h9043
$ pwd
$ /home2/h9043
$ ls
Apache install.platform opmn srvm
BC4J inventory oracore sso
JRE j2ee ord syndication
OPatch javacache otrace sysman
assistants javavm oui tk
bibeans jdbc owm tools
bin jdk perl uat
browser jinit plsql uddi
cfgtoollogs jis portal uix
chgip jlib precomp ultrasearch
config jpi procbuilder90 upgrade
dbs jre rdbms ut
dcm jsp relnotes vbroker4
diagnostics lbs reports wcs
discoverer ldap root.sh webcache
error.txt lib root.sh.old webservices
forms90 mesg slax wireless
guicommon9 mp soap xdk
iaspt network sqlj zrc
install ocommon sqlplus
2. The ability to save workbooks to a file system is available only on Discoverer Dekstop, which runs on Windows.
Thanks
Abhinav
Oracle Business Intelligence Product Management
BI on Oracle: http://www.oracle.com/bi/
BI on OTN: http://www.oracle.com/technology/products/bi/
Documentation: http://docs.oracle.com/
Discoverer: http://www.oracle.com/technology/products/discoverer/
BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
BI Samples: http://www.oracle.com/technology/products/bi/samples/
Blog: http://oraclebi.blogspot.com/ -
Looking for Directory structure
Hi i am new bie to Tomcat .
i was wondering if some explain me the directory structure for a web Application.
like where to put the HTML files and where to put the Java classes and where to keep the JSP
and what is the Importance of WEB-INF dir
Thanks in Advance.You should create a directory under the webapps and name any name, for example, name it projects and under the projects there should a WEB-INF directory which has a classes directory, under which you keep the .class files, may it be servlets or beans which are used in jsp's. And the normal html, pages from which you call either a servlet or a jsp on clicking a button or something will directly under the projects directory in our example.
for example a LoginServlet will be in classes directory, the path will be
C:\progra~1\apache~1.0\webapps\projects\WEB-INF\classes\LoginServlet.java
and you can access the LoginServlet by giving this url
http://localhost:8080/projects/servlet/LoginServlet
hope this helps
</ksenji> -
Import statement and directory structure
First of all, sorry for such a long post, I believe part of it is because I am unsure of the concept of importing in Java. Secondly, Thanks to anyone who can ultimately enlighten me to the concept of import. I did ask this question before in the "erorr and error handling" forum, and the people who have helped me there did a great job. But, I believe I require a little more clarification and thus have decided to post here.
Anyhow, my question..
Could someone explain to me the concept of the import statement, or direct me to a webpage with sort of explanation for newbies? For some reason, I am having a hard time grasping the concept.
As I understand it, the import statement in Java, is very similar to the namespace keyword in C. That is to say, import doesn't actually "import" any source code, the way that the #include statement does in C.
So I suppose what my question is, say I have a java class file like below:
//filename: sentence.java
//located: c:\school\csc365
package csc365;
class sentence
//some variables here..
//some constructor here..
//some methods here..
And some sample program like the one below which implements the above..
//filename: test.java
//located: c:\school\csc365
import csc365.*;
import java.io.*;
class test.java
//creates some sentence object
//uses the object's methods
//some other things.
As I understand it, the test.java file should not compile because the csc365 package is not in the correct directory. (assuming of course, the classpath is like c:\school\csc365;c:\school )
But, ... where then should the sentence.java be located? In a subdirectory of c:\school called csc365 (i.e c:\school\csc365\) ?
And thus that would mean the test.java file could be located anywhere on the hard drive?
I suppose, I just need a little clarification on the correlation between a package's "name" (i.e package csc365; ) and its corresponding directory's name, and also how the javac compiler searches the classpath for java classes.
..So, theoretically if I were to set the classpath to look in every conceivable directory(provided the directory names were all unique) of the harddrive, then I could compile a test.java anywhere?
As a note: I have been able to get the test.java file to compile, by leaving out the import statement in the test.java file, and also leaving out the package statement for the sentence class, but I assume this is because the files are defaulted to the same package?Hi Mary,
No, import isn't analogous to C++ namespace - Java package is closer to the namespace mark.
import is just a convenience for the programmer. You can go your whole Java career without ever writing an import statement if you wish. All that means is that you'll have to type out the fully-resolved class name every time you want to use a class that's in a package other than java.lang. Example:
// NOTE: No import statements
public class Family
// NOTE: fully-resolved class names
private java.util.List children = new java.util.ArrayList();
}If you use the import statement, you can save yourself from typing:
import java.util.ArrayList;
import java.util.List;
public class Family
// NOTE: fully-resolved class names
private List children = new ArrayList();
}import isn't the same as class loader. It does not bring in any source code at all.
import comes into play when you're compiling or running your code. Java will check to make sure that any "shorthand" class names you give it live in one of the packages you've imported. If it can't find a matching fully-resolved class name, it'll give you a message like "Symbol not found" or something like that.
I arrange Java source in a directory structure that matches the package structure in the .class files.
If I've got a Java source file like this:
package foo.bar;
public class Baz
public static void main(String [] args)
Baz baz = new Baz();
System.out.println(baz);
public String toString()
return "I am a Baz";
}I'll store it in a directory structure like this:
root
+---classes
+---src
+---foo
+---bar
+---Baz.javaWhen I compile, I go to root and compile by typing this:
javac -d classes foo/bar/*.javaI can run the code from root by typing:
java -classpath classes foo.bar.BazI hope this wasn't patronizing or beneath you. I don't mean to be insulting. - MOD -
Organize iTunes file list by Directory Structure instead of artist/album?
Hello, I have searched for different audio players for os x which might have this feature but so far have had no luck. What I'm looking for is a feature similar to that of foobar2000 for win32 where I can organize my music by directory structure without the iTunes automatic organization by artist/album. Is there a way I can accomplish this in iTunes with some sort of xml config or hidden options? Thanks.
You don't have to have iTunes move music around on your hard drive (Preferences>Advanced>General, uncheck Keep iTunes Music folder organized and Copy files to iTunes Music folder when adding to library) but I suspect that's not what you're asking. You can't automatically view music from within iTunes by directory structure. iTunes organizes by ID3 tags ("mp3 tags"). You could, I suppose, spend a lot of time replicating your directory structure by using folders and playlists within iTunes but you'd probably have to do it all by hand.
You could check out Doug's Scripts to see if there are some scripts that might help.
http://dougscripts.com/itunes/index.php -
How to create a tree based on directory structure
I want to create a hierarchical tree in Forms 6i based upon a file system directory structure (similar to Windows Explorer). How can I populate a tree with this information, is there something that I can call or write that would return the file system structure in a format that I can populate my tree?
Any advice would be greatly appreciated.
Thanks
RichardYour link does not seem to work.They're re-jigging all the links to accomodate the hot poop on Oracle's latest and greatest, 10G. So at least the website is on schedule even if the actual software delivery dates have slipped :P
We can still get D2KWUTIL from here: http://te chnet.oracle.com/software/products/forms/content.html
Cheers, APC -
Directory Structure for multiple applications at one host
Can I have multiple (more than one) WEB-INF directory structures in the public_html directory for different web applications? If I do this, how do setup the url-pattern in the Servlet Mapping tag in the web.xml file? How do I setup the URL that calls the servlet from the HTML that has been send to the user�s browser?
If I understand your question, you want multiple contexts. All App Servers/Web Servers allow you to setup multiple contexts. Normally if your root context is in /home/myhome/app_server/
then you would setup multiple contexts by creating a folder for each context:
/home/myhome/app_server/context1/
/home/myhome/app_server/context2/
Each would have their own full application/website. And the way to reference these would be as such:
if the domain, www.mydomain.com, is mapped to /home/myhome/app_server/
www.mydomain.com/context1/
www.mydomain.com/context2/
I think that is what you were asking. Hope it helps -
I migrated from WebLogic 5.1 to 7.0.2 Something I used to have set-up in 5.1 no
longer
works.
I am using the weblogic.servlet.FileServlet and have the URL "/cxedocs/" mapped
to this
servlet. So whenever the URL http://localhost:7001/cxedocs/en_US/index.html
is used it would use the docHome associated with the /cxedocs/ URL and then append
the "en_US/index.html" on to it. So let's say d:\temp\en_US\index.html
But now for WL 7.0.2 it appears that the URL also needs to be in the directory
structure.
So it now takes the docHome "d:\temp" adds the URL "/cxedocs/" and then appends
the
rest - so d:\temp\cxedocs\en_US\index.html.
I can't require that the "cxedocs" directory be there. Is there anyway to map
a certain URL
without requiring it in the directory structure. I looked at virtual directory
mapping too but
it still seemed to require this.
Any help would be appreciated!
Thanks!
-Lori
I opened up a case with support on this. After some research they came back with
that
NO there is no way to do this. In 6.0 it was changed to follow the spec which
restricts this.
The URL must be part of the directory path.
-Lori
"Lori Ronning" <[email protected]> wrote:
>
>I migrated from WebLogic 5.1 to 7.0.2 Something I used to have set-up
>in 5.1 no
>longer
>works.
>
>I am using the weblogic.servlet.FileServlet and have the URL "/cxedocs/"
>mapped
>to this
>servlet. So whenever the URL http://localhost:7001/cxedocs/en_US/index.html
>is used it would use the docHome associated with the /cxedocs/ URL and
>then append
>the "en_US/index.html" on to it. So let's say d:\temp\en_US\index.html
>
>But now for WL 7.0.2 it appears that the URL also needs to be in the
>directory
>structure.
>So it now takes the docHome "d:\temp" adds the URL "/cxedocs/" and then
>appends
>the
>rest - so d:\temp\cxedocs\en_US\index.html.
>
>I can't require that the "cxedocs" directory be there. Is there anyway
>to map
>a certain URL
>without requiring it in the directory structure. I looked at virtual
>directory
>mapping too but
>it still seemed to require this.
>Any help would be appreciated!
>Thanks!
>-Lori
-
I have copied many photo's from another laptop to my Mac. The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto. I want to use directories for storing and iPhoto for viewing. Is this possible or do I need to have all my photo's in iPhoto??
MitchiPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
How to, and some comments on why you shouldn't, are in this thread
https://discussions.apple.com/thread/3062728?tstart=0
Regards
TD -
Export images to a directory structure based on a collection tree?
A question:
Will lightroom have the capability to export images to a directory structure which mirrors a collections logical structure?
The reason I ask this is that when I create websites using third party tools (eg, Jalbum) I typically generate a flash or HTML based site with an menu structure for navigating the images.
So, the image interface is not simply a "flat-file" display as per the templates in Lightroom beta.
To do this, with previous image management tools (eg, iMatch) I create a hierarchy of images based on the categories (or collections) that the images are assigned to, export the images in a folder tree reflecting their categories (or collection), then use, say, Jalbum, to generate the website with the menu tree reflecting the folders/images.
This is extremely useful for more complicated image websites with categories and a large no of images.
If this function was built into Lightroom I guess it would be in the export function such that the "write to folder" box could take an argument {collection name} which would create a folder tree reflecting the collections logical tree which is being exported.
Apologies if this topic has been raised previously. But this function is extremely useful if you are using third party html tools or simply building websites by hand.
Regards
AlistairI started simmilar thread in Lightroom Feature Requests few months ago, but can't find it anymore since new forum version...
What I can suggest as a new feature is export to directory structure from collections or second option from keywords. Probably more usable and easier to implement would be from collections.
What I need it to export many photos to different directories pretty often, and this would be great help since I could arrange them in collections and collection sets. Then select collection set and export it in a manner that collection set would be main export directory, and each collection within the set would be exported to its own folder within main collection set export folder.
This would be much appreciated feature in near future
Thank you for great product by the way -
Creating a Standby Database with the Same Directory Structure
Hello gurus,
I am self-learning the feature Oracle Data Guard, so I am testing it on Oracle 10g R2.
At Oracle documentation there is a section F.4.: Creating a Standby Database with the Same Directory Structure*, that explains how to create a standby database with RMAN but there is something that I don´t understand:
In the standby server, I created a database with the SID equal to production database* with the objetive to have the same directory structure, but when I try to startup nomount the standby database with pfile appear this expected error:
ORA-16187: LOG_ARCHIVE_CONFIG contains duplicate, conflicting or invalid attributes
So my question is: Is possible have the Same Directory Structure on both: Production and StandBy server?
Thanks in advanced.Uwe and mseberg: thanks for your quick answers
I have a doubt: How can you have the same directory structure if you have differents SIDs?, for example if you follow the OFA suggestions you would must have:
On Production server: */u01/app/oracle/oradata/PRIMARY/system.dbf*
On StandBy server: */u01/app/oracle/oradata/STANDBY/system.dbf*
Or you created the directory structure manually on StandBy server? For example replacing the string STANDBY* to PRIMARY* before create the database using dbca.
Do you understand my doubt? Excuse me for my english.
Thanks.
Maybe you are looking for
-
Opening and Closing Output Files
I have a simple question. After opening a file for output by doing: PrintStream out = new PrintStream( new BufferedOutputStream( new FileOutputStream( ("filename"))); and then closing by: out.close(); How do I go open it back up again later? What I'm
-
Optimizing RAID: stripe/chunk size
I'm trying to figure out how to optimize the RAID chunk/stripe size for our Oracle 8i server. For example, let's say that we have: - 4 drives in the RAID stripe set - 16 KB Oracle block size - MULTIBLOCK_READ_COUNT=16 Now the big question is what the
-
Update Photoshop CS3 Extended 10.0 to 10.0.1
I try update 10.0 to 10.0.1 I uploaded http://www.adobe.com/support/downloads/detail.jsp?ftpID=3794 When I run PatcherApplication I have info that INSTALLATION WAS UNSUCCESSFUL THE UPDATER IS UNABLE TO LOCATE THE PRODUCT TO BE UPDATED why ? Could any
-
Need 2 Know CUCO component- awardpoint
I need 2 Know component for CL_ICCMP_CUCOBT_IMPL class. Plz award points asap
-
App store App install problem.
Just downloaded Intensify from app store. It says it installed but when I click on the dock icon it brings up an application list where most apps including Intensify are grayed out. Now what?