Mapping to subdirectory
We just migrated from Netware to Windows. We created a NEW Windows 2008R2 server and moved the data over.
We created all of the security by hand. All of our drive maps are working except one type.
Our directory structure is as follows;
Server D:
Dept$ also tried it as DEPT (non-hidden)
Acct
Manufacturing
Marketing
There are many more directories, but you get the idea. Some users cannot be mapped to the Dept$ share. We tried created Dept as a non-hidden DEPT share with the same results.At any directory that you do not have expressed
rights, you cannot see the subdirectories that you have expressed rights to.
Share rights are full to everyone and Domain users have the NTFS rights “Traverse folder / Execute file” and “List folder / read data” at the Dept$ share level.
If we give them “Read attributes” and Read extended attribute”, they end up with full rights to everything.
We spent about three and a half hours with Microsoft support last night with no solution.
I fully accept that I must have set something wrong by we cannot find it and neither did MS support.
Our only solution was to map a lot of extra directories.
Thanks for any help you can offer.
John
John Kenney The Haven Group
Hi,
It will be difficult to fix this as all subfolder permissions are already set before you trying to change the permission of your root folder.
Whether the "Read Only - This Folder only" permission is inherited to subfolders?
The solution of your current situation is a total reset of permission so that you can manually set Read Only permission on folders with disabling inheritance first.
Command Line may help in this situation but you need to test before applying.
isacls /inheritance:R could help you deleting all inherited permissions but again you need to test as it may cause big trouble if applied incorrectly.
If you have any feedback on our support, please send to [email protected]
Similar Messages
-
How to map directory not under "document root" directory?
In Weblogic (5.1.0), how do you map one URL "directory" to a filesystem
directory that is not a subdirectory of the regular document root
directory?
This is, I want some URL "http://xxx.com/some/subset" to map to local
directory "/x/y" instead of mapping to a subdirectory "some/subset"
under the document root directory (the directory to which
"http://xxx.com/" maps).
How do you do this in Weblogic (using Weblogic as the HTTP server,
not using it plugged in to some other HTTP server)?
(In Apache, this would be the "Alias" directive.)
Thanks,
Daniel
Daniel Barclay
Digital Focus
[email protected][REPLY TO NEWSGROUP ------- This followup was posted to
weblogic.support.install and a copy was sent to the cited author.]
Default registration for the file servlet is:
weblogic.httpd.register.file=weblogic.servlet.FileServlet
weblogic.httpd.initArgs.file=defaultFilename=index.html
So do this:
weblogic.httpd.register.some/subset=weblogic.servlet.FileServlet
weblogic.httpd.initArgs.some/subset=defaultFilename=index.html,docHome=d:
/foo/bar/baz
mbg
In article <[email protected]>,
[email protected] says...
>
In Weblogic (5.1.0), how do you map one URL "directory" to a filesystem
directory that is not a subdirectory of the regular document root
directory?
This is, I want some URL "http://xxx.com/some/subset" to map to local
directory "/x/y" instead of mapping to a subdirectory "some/subset"
under the document root directory (the directory to which
"http://xxx.com/" maps).
How do you do this in Weblogic (using Weblogic as the HTTP server,
not using it plugged in to some other HTTP server)?
(In Apache, this would be the "Alias" directive.)
Thanks,
Daniel
==================================================
NewsGroup Rant
==================================================
Rant 1.
The less info you provide about your problem means
the less we can help you. Try to look at the
problem from an external perspective and provide
all the data necessary to put your problem in
perspective. -
Yet another url mapping problem - wildcards
Hello
I have one servlet which I want to handle a range of urls. If I configure the web.xml with
<url-pattern>/servlet</url-pattern>
then /prjServ/servlet works in a browser but of course any other urls (eg /prjServ/servlet/fred) do not.
If I change the web.xml to be
<url-pattern>/servlet/*</url-pattern>
and try going to /prjServ/servlet, prjServ/servlet/ or prjServ/servlet/fred they all fail with requested resource is not available.
Any ideas what I am doing wrong? The servlet class is in a subdirectory of WEB-INF/classes and works fine for the url-pattern which does not use a wildcard.Does /servlet/* already have a global mapping perhaps? In Tomcat you can turn this off in the global web.xml (look for the "invoker" servlet), other servlet containers may have a similar option, or you could simply choose a different name for your mapping.
-
JSP mapping with Tomcat 5.0.27
With Jakarta-Tomcat 5.0.27 is it possible to put a JSP file in a sub-directory of a web application and be able to "servlet-mapping" it to only create one object? If so how do you write the web.xml entry? I only want to create one InitTest object, not two of them!
If I place InitTest.jsp in the following directory structure:
C:\tomcat\webapps\web-app\subDirectory\InitTest.jsp
This web.xml entry does not work:
<servlet>
<servlet-name>InitTest</servlet-name>
<jsp-file>/subDir/InitTest.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>InitTest</servlet-name>
<url-pattern>/InitTest.jsp</url-pattern>
</servlet-mapping>When I use this link:
http://localhost:8080/web-app/subDir/InitTest.jsp
I get "jsp" as the servlet name
and
When I use this link:
http://localhost:8080/web-app/servlet/InitTest
I get "InitTest" as the servlet name
How do I map InitTest.jsp correctly when it's placed in a sub-directory of the web application's directory?dear friend...y do you want to map your jsp page?? you can directly access your jsp from your location. You dont needd to map in the web.xml. You need to map only servlets not jsps
regards
shanu -
legacy-map false /legacy-map
In the BlazeDS dev guide there is the following statement (when talking about explicitly mapping between Java and ActionScript) :
http://livedocs.adobe.com/blazeds/1/blazeds_devguide/help.html?content=serialize_data_2.ht ml
Note: In Flex 1.5, java.util.Map was sent as an associative or ECMA Array. This is no longer a recommended practice. You can enable legacy Map support to associative Arrays, but Adobe recommends against doing this.
Why is this not recommended by Adobe?
Kind regards,
Fretzer.Thanks for your help Raff. We got it working after making a firewall change and correcting an issue with the hook URL, which should have gone to a subdirectory.
For anyone else using Spring 3, the aspect oriented setup works fine.
@RemotingDestination(channels={"amf"})
@Service("RTC")
public class RTCHOOKS {
Just make sure the class is contained in a package specified in
<context:component-scan base-package="..." /> -
How to map virtual path in oas 4.0.8.2?
I want to develope a Applet, it resides in OAS www-root directory of a machine(I call it 'A').I want it can mantipulate some image files resides in another machine(I call it 'B').So I map the directory which stores the image files of B machine as one network virtual directory of A machine.
But when I try to config the virtual path in OAS of A machine so as to make it can recognize that network dirver and look it as a subdirectory "\pic-images" of www-root.But the result is: OAS can't allow make the virtual path to this network dirver.
How should I do? copy all the image files from machine B to machines A,and let applet manipulate them,I think that's impossible.So how can I make applet read and write the files in other machine?
Thank you anyway.Hi,
A colleague of mine mentioned that one may encounter problems deploying to OAS 4.0.8.
I understand that OAS 4.0.8.1 has major bug fixes and may make deployment substantially easier. Having not attempted either, I cannot verify his statement.
Hope you have success!
G.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Subhadip:
I have created an application using Oracle Business Components and Oracle InfoSwing controls. Now I want to deploy the Business Components as EJB to OAS 4.0.8 and want to run the front end as an Applet which will connect to those EJB Session beans stored in OAS. Please let me know if its possible or not and any document detailing how to do it. To be more specific:
1) In the properties dialog for the Application Module, in the remote tab, there are options for Oracle8i EJB, CORBA and VISIBROKER, but nothing for OAS. So what to choose there?
2) If I run Deployment Wizard on the Business Components project with OAS option (selecting nothing in the Remote Tab), it fails (says nothing to parse in the source JAR file)
3) In the property pallette of the InfoProducer Session object, what to give in the remote proerties for OAS EJB.
4) It seems that no manual code change is required if they are deployed in Oracle8i or VisiBroker whether they are deployed in Local or EJB or CORBA(the deployment wizard takes care of it). Is it same for OAS EJB deployment also?
Please help. It's Very Very urgent.<HR></BLOCKQUOTE>
null -
Access servlets from subdirectory of classes folder
Hi,
This is my directory structure.
Tomcat home dir>webapps\lessons\WEB-INF \classes\examples\HelloClientServlet.class
and here is my web.xml
<servlet>
<servlet-name>HelloClientServlet</servlet-name>
<servlet-class>examples.HelloClientServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>HelloClientServlet</servlet-name>
<url-pattern>/servlet/examples.HelloClientServlet</url-pattern>
</servlet-mapping>
Now I run run Tomcat and try to access the URL
http://localhost:8083/lessons/servlet/examples.HelloClientServlet
It gives this ERROR:
javax.servlet.ServletException: Error allocating a servlet instance
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:534)
root cause
java.lang.NoClassDefFoundError: examples/HelloClientServlet (wrong name: HelloClientServlet)
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:539)
Now here is the problem. I tried putting HelloClientServlet.class in classes directory and made appropriate changes to web.xml and it works.
But not in the subdirectory classes. I find it very strange. I feel there is no problem with my web.xml file. Am I am missing some configuration here.
Please give you inputs.
Thanks,
Tick_TickWhen you put the HelloClientServlet class in the examples folder and reference it using examples.HelloClientServlet then the class needs to be compiled in the examples package.
Check out the Java tutorial on packages:
http://java.sun.com/docs/books/tutorial/java/interpack/index.html -
Hello, I have a problem with my Image Map. Here are my steps:
1.Create areas for the Image Map
2.Create the Image Map with areas
3.upload the image
4.create the OTH file
5.Enable rendering information option
6.Create KM navigation iView and its layout set mode as default
All references for directories and for my pic are OK but it doesn´t show any Image Map. I need help please!
Thank youHi,
You can follow this example:
In KM, image maps are used for a graphical depiction of folder contents. These objects are displayed using graphics instead of in their normal text form.
Step 1 Determine the image you want to use for navigating. This can be any JPG or GIF file. In this example I will reference the file world.gif.
Step 2 Configuring an image map. Take your image file world.gif and place it in the system. For our example place the file in the path: ../knowledgemanagement/etc/public/graphics. The subdirectory graphics was created within the public folder.
Step 3 In the documents folder, create the following folders:
World
Within the World folder, create the subfolders:
North America
South America
Europe
Asia
Note: you can create as many folders as you like. This structure will serve as the navigation structure for world.gif image map.
Step 4 Determine the navigation coordinates for the image world.gif. Any tool can be used, for this example the tool GeoHTML was used. It is a freeware tool that can be downloaded from http://www.fegi.ru/geohtml.
The following coordinates were determined for the folders:
North America: 253, 255, 303, 285
South America: 424, 171, 474,201
Europe: 368, 43, 418, 73
Asia: 276, 37, 326, 67
Step 5 Create new link-sensitive Areas for the image map. Menu path: Configuration -> Content Management -> User Interface -> Image Maps -> Areas
Please note, an area would need to be defined for each area on the image map that would be link-sensitive areas.
Step 6 Defining an Image Map. In this step the name of the image map will be defined as well as specifying the path of the image, the tooltip, and lastly assigning the areas.
Step 7 Configure an Object Type Handling (OTH) file for the image map. OTH files are located in the /oth subdirectory within the /etc repository. Copy an existing OTH file in this subdirectory and copy it to world.oth. In This OTH file, define the navigation path, collection renderer, layout controller, action and image map. The OTH file should look as follows:
<?xml version="1.0"?>
<ObjectTypeHandler Name="Image Map world"
Class="com.sapportals.wcm.service.objecttypehandler.GenericObjectTypeHandler">
<SelectionCriteria>
<Paths>
<Path>/documents/World</Path>
</Paths>
</SelectionCriteria>
<Properties>
<Property Key="rndCollectionRenderer" Value="ImageMapRenderer"/>
<Property Key="LayoutController" Value="DefaultLayoutController"/>
<Property Key="rndShowActions" Value="false"/>
<Property Key="rndMap" Value="MapOfWorld"/>
</Properties>
<Actions/>
</ObjectTypeHandler>
Step 8 Display the image map. For the navigation iView that is being used, ensure that the iView property Layout Set Mode is set to default.
Step 9 Reload the object type handler in order for the system to read the new oth file world.oth. This can be done by within the Rendering Information link in any navigation iView for a user that is specified in the Debugging Settings (this is done in the user interface configuration).
Another option to reloading the object type handler would be restarting the J2EE engine.
Step 10 In the navigation iView for this mage map, navigate to the image map. In this example, the menu path would be documents/World
Patricio.
ps: If you want I can send you complete example. -
Yahoo maps not working in air? pls help!!! someone!!!
Hi everyone,
I have created a partial air app and now i need a yahoo map.
The code which I have works in dreamweaver when i test it as a normal web html file but does not work then when I use it in aptana studios for air apps.
The code is :
<head>
<script type="text/javascript"
src="http://api.maps.yahoo.com/ajaxymap?v=3.8&appid=myappid"></script>
<style type="text/css">
#map{
height: 100%;
width: 100%;
</style>
</head>
<body>
<div id="map"></div>
<script type="text/javascript">
// Create a map object
alert('1');
var map = new YMap(document.getElementById('map'));
alert('2');
// Add map type control
map.addTypeControl();
// Set map type to either of: YAHOO_MAP_SAT, YAHOO_MAP_HYB, YAHOO_MAP_REG
map.setMapType(YAHOO_MAP_REG);
// Display the map centered on a geocoded location
map.drawZoomAndCenter("San Francisco", 3);
</script>
</body>
</html>
The error I am receiving is "ReferenceError: Can't find variable: YMap"
can anyone tell me why?
Thank you all so much in advance?
IrishAirMaxContent in the AIR application security sandbox (content installed with the application) cannot directly load JavaScript files from remote domains. This is a security feature to prevent application from executing scripts from potentially dangerous sources.
However, in an iframe or frame, you can load a file in the application directory into a non-application sandbox, such as a remote sandbox "http://api.maps.yahoo.com". For example, the following example maps content installed in the sandbox subdirectory of the application to run in the remote sandbox for the http://api.maps.yahoo.com domain:
<iframe
src="http://www.example.com/local/ui.html"
sandboxRoot="http://api.maps.yahoo.com/local/"
documentRoot="app:/sandbox/">
</iframe>
That local file (in the iframe) can now load a script file from http://api.maps.yahoo.com. And the parent page (of the iframe) can communicate with the child iframe using the AIR script bridge mechanism.
This is all described here:
http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7f08. html
And here's a "quick start" application that shows you how to use the sandbox mapping and script bridging features:
http://www.adobe.com/devnet/air/ajax/quickstart/sandbox_bridge.html -
Hello,
This is the first year we are using NSM wide spread. In the past I would just add a map command to the storage location for the half dozen or so classes using NSM. Now I have close to 80 classes using NSM.
All storage is loaded in the same area, "classroomstorage" each class has it's own subdirectory under this location; Enghish 8, Math 7, and so forth.
If I set a map command to the root directory "classroomstorage" I get and 8804 error. Because the students do not have rights to the root of the directory structure.
Is there anyway to set a single map command? Would appling a read/write trustee assignment and a IRF to the "classroomstorage" directory allow mapping yet not allow everyone to see all the other folders?
Any help is greatly appreciated.
thanks,
AllenYou need to give the teachers rights to the classroom storage via the
policy template and the -owner- methodology provided by NSM, in
conjunction with the owner attribute in eDirectory.
thanks,
NSM Development
On 9/8/2010 3:06 PM, allenmorris wrote:
>
> Sorry, my bad. I had the incorrect information.
>
> It's the teachers who are having an issue. I can map the students to
> the root "classroomstorage" location and they get everything correct.
>
> If I map a teacher to the same location and they "are not part of a
> virtual classroom" as of yet. They get a 8804 error. Is there anyway
> to map all my teachers or can I only map those teachers that are
> currently part of a virtual classroom?
>
> Thanks, sorry for the confusion.
>
> Allen
>
> -
Auto-creating tables with CMP Explicit Mapping
Hello.
I am trying to migrate a working CMP EJB Jar from Weblogic to OC4J, using the admin.jar deploy utility. I believe my orion-ejb-jar.xml deployment descriptor (shown at the bottom) is set up properly, but OC4J attempts to auto-create tables for my entity beans anyway. (see messages that follow).
Can anybody tell me why it tries to create these tables? Is something missing from my deployment descriptor?
Thanks,
David
Auto-creating table: create table User_passwords_Passwor__fqeml6 (User_SEC_USER.
SEC_USER_ID NUMBER not null, Password_SEC_USER_PASSWORD_ID NUMBER null)
Error creating table: ORA-01748: only simple column names allowed here
Auto-creating table: create table User_userRoles_UserRol__guatbv (User_SEC_USER.
SEC_USER_ID NUMBER not null, UserRole_SEC_USER_ROLE_ID NUMBER null)
Error creating table: ORA-01748: only simple column names allowed here
Auto-creating table: create table Permission_RolePermiss__768cc0 (Permission_SEC
FUNCTIONID NUMBER not null, RolePermission_SEC_ROLE_FUNCTION_ID NUMBER null)
Error creating table: ORA-00972: identifier is too long
Auto-creating table: create table Role_UserRole_role_User_39lzhp (Role_SEC_ROLE.
SEC_ROLE_ID NUMBER not null, UserRole_SEC_USER_ROLE_ID NUMBER null)
Error creating table: ORA-01748: only simple column names allowed here
Auto-creating table: create table Role_rolePermissions_Ro_4ocmz1 (Role_SEC_ROLE.
SEC_ROLE_ID NUMBER not null, RolePermission_SEC_ROLE_FUNCTION_ID NUMBER null)
Error creating table: ORA-01748: only simple column names allowed here
orion-ejb-jar.xml
<?xml version="1.0"?>
<!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
<orion-ejb-jar deployment-version="9.0.3.0.0" deployment-time="e6e55808e4">
<enterprise-beans>
<session-deployment name="SecurityComponent" >
</session-deployment>
<session-deployment name="ServerSecurityContext" >
</session-deployment>
<session-deployment name="SecurityComponentSecurityFilter" >
</session-deployment>
<entity-deployment name="User" table="SEC_USER" data-source="datasource-ecmsOraclePool">
<primkey-mapping>
<cmp-field-mapping name="userId" persistence-name="SEC_USER.SEC_USER_ID" />
</primkey-mapping>
<cmp-field-mapping name="partyId" persistence-name="PARTY_ID" />
<cmp-field-mapping name="officeLocation" persistence-name="OFFICE_LOCATION" />
<cmp-field-mapping name="defaultLocation" persistence-name="DEFAULT_LOCATION" />
<cmp-field-mapping name="districtVvid" persistence-name="DISTRICT_VVID" />
<cmp-field-mapping name="userName" persistence-name="SEC_USER.USER_NAME" />
<cmp-field-mapping name="accountActivationDate" persistence-name="SEC_USER.ACCOUNT_ACTIVATION_DATE" />
<cmp-field-mapping name="defaultBranchVvid" persistence-name="SEC_USER.DEFAULT_BRANCH_VVID" />
<cmp-field-mapping name="unitVvid" persistence-name="UNIT_VVID" />
<cmp-field-mapping name="sectionVvid" persistence-name="SEC_USER.SECTION_VVID" />
<cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
<cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
<cmp-field-mapping name="failedLoginAttempts" persistence-name="SEC_USER.LOGIN_ATTEMPTS_CNT" />
</entity-deployment>
<entity-deployment name="Permission" table="SEC_FUNCTION" data-source="datasource-ecmsOraclePool">
<primkey-mapping>
<cmp-field-mapping name="permisssionId" persistence-name="SEC_FUNCTION_ID" />
</primkey-mapping>
<cmp-field-mapping name="permission" persistence-name="FUNCTION_NAME" />
</entity-deployment>
<entity-deployment name="Role" table="SEC_ROLE" data-source="datasource-ecmsOraclePool">
<primkey-mapping>
<cmp-field-mapping name="roleId" persistence-name="SEC_ROLE.SEC_ROLE_ID" />
</primkey-mapping>
<cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
<cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
<cmp-field-mapping name="roleDescription" persistence-name="SEC_ROLE.ROLE_DESC" />
<cmp-field-mapping name="roleName" persistence-name="SEC_ROLE.ROLE_NAME" />
</entity-deployment>
<entity-deployment name="Password" table="SEC_USER_PASSWORD" data-source="datasource-ecmsOraclePool">
<primkey-mapping>
<cmp-field-mapping name="passwordId" persistence-name="SEC_USER_PASSWORD_ID" />
</primkey-mapping>
<cmp-field-mapping name="password" persistence-name="PASSWORD" />
<cmp-field-mapping name="activeInd" persistence-name="ACTIVE_IND" />
<cmp-field-mapping name="expirationDate" persistence-name="EXPIRATION_DATE" />
<cmp-field-mapping name="userId" persistence-name="SEC_USER_ID" />
<cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
<cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
</entity-deployment>
<entity-deployment name="UserRole" table="SEC_USER_ROLE" data-source="datasource-ecmsOraclePool">
<primkey-mapping>
<cmp-field-mapping name="userRoleId" persistence-name="SEC_USER_ROLE_ID" />
</primkey-mapping>
<cmp-field-mapping name="sequenceNum" persistence-name="SEQUENCE_NUM" />
<cmp-field-mapping name="userId" persistence-name="SEC_USER_ID" />
<cmp-field-mapping name="roleId" persistence-name="SEC_ROLE_ID" />
</entity-deployment>
<entity-deployment name="RolePermission" table="SEC_ROLE_FUNCTION" data-source="datasource-ecmsOraclePool">
<primkey-mapping>
<cmp-field-mapping name="roleFunctionId" persistence-name="SEC_ROLE_FUNCTION_ID" />
</primkey-mapping>
<cmp-field-mapping name="functionId" persistence-name="SEC_FUNCTION_ID" />
<cmp-field-mapping name="roleId" persistence-name="SEC_ROLE_ID" />
<cmp-field-mapping name="sequenceNum" persistence-name="SEQUENCE_NUM" />
</entity-deployment>
</enterprise-beans>
<assembly-descriptor>
</assembly-descriptor>
</orion-ejb-jar>Hi David,
The "autocreate-tables" attribute is defined in the DTD for the "orion-application.xml" file. This file is usually generated automatically by OC4J, from your application's "application.xml" file when you deploy your application. (Note that subsequent [re-]deployments of your application will not change the "orion-application.xml" file.)
The default value for this attribute is 'true', and the default is defined in the "application.xml" file that is located in the "j2ee/home/config" subdirectory of the OC4J installation.
Hope this answers your question.
Good Luck,
Avi. -
Re: mapping of a directory containing JSP files
Thanks for the quick response..
but i want some other root directory other than the DefaultWebApp where i
can put my jsp files...either under DefaultWebApp or preferably some where
else....
Is that possible ?
Pankaj
"Deepak Vohra" <[email protected]> wrote in message
news:[email protected]...
> JSPs do not require specific mappings as do HTTP servlets.
> Place your Jsps, for example configureJsp.jsp, in the
DefaultWebApp/presentation
> directory.
>
> In a web browser, request the JSP file using the following URL:
> http://localhost:7001/presentation/configureJsp.jsp
>
> Pankaj Bansal wrote:
>
> > Hi,
> > Iam using weblogic 6.1, SP2.
> >
> > I have created a web application with the DefaultWebApp directory
where
> > u can put ur jsp files for them to be available automatically..
> >
> > Can someone tell me is there a way to map jsp files to some other
directory
> > ?
> > Or can i make some subdirectory under DefaultWebApp like 'presentation'
and
> > keep my jsp files in that and not be required to write the directory
name
> > ( presentation) for accessing my files.
> >
> > In short is it possible in some way to map some directory where i put my
jsp
> > files and they are readily accessible, other than the DefaultWebApp
> > directory.
> >
> > thanks,
> > --
> >
> > Pankaj
>
how to To install a jsp under another Web Application in wls 7.0.1? and i just
don't want to deploy jar,ear,war... file.
It seems there are many differences between wls7 and wls7.0.1.
Deepak Vohra <[email protected]> wrote:
>Pankaj
>
>DefaultWebApp is the default Web application. To install a jsp under
>another Web
>
> Application,create a new Web Application, for example ConfigJspWebApp.
>Install
>the
>new Web Application. Place Jsp, for example configJsp.jsp in the
> ConfigJspWebApp/presentation directory.
>
>
>In a web browser, request the JSP file using the following URL:
>http://localhost:7001/ConfigJspWebApp/presentation/configJsp.jsp
>
>
>Pankaj Bansal wrote:
>
>> Thanks for the quick response..
>> but i want some other root directory other than the DefaultWebApp where
>i
>> can put my jsp files...either under DefaultWebApp or preferably some
>where
>> else....
>> Is that possible ?
>>
>> --
>>
>> Pankaj
>>
>> "Deepak Vohra" <[email protected]> wrote in message
>> news:[email protected]...
>> > JSPs do not require specific mappings as do HTTP servlets.
>> > Place your Jsps, for example configureJsp.jsp, in the
>> DefaultWebApp/presentation
>> > directory.
>> >
>> > In a web browser, request the JSP file using the following URL:
>> > http://localhost:7001/presentation/configureJsp.jsp
>> >
>> > Pankaj Bansal wrote:
>> >
>> > > Hi,
>> > > Iam using weblogic 6.1, SP2.
>> > >
>> > > I have created a web application with the DefaultWebApp directory
>> where
>> > > u can put ur jsp files for them to be available automatically..
>> > >
>> > > Can someone tell me is there a way to map jsp files to some other
>> directory
>> > > ?
>> > > Or can i make some subdirectory under DefaultWebApp like 'presentation'
>> and
>> > > keep my jsp files in that and not be required to write the directory
>> name
>> > > ( presentation) for accessing my files.
>> > >
>> > > In short is it possible in some way to map some directory where
>i put my
>> jsp
>> > > files and they are readily accessible, other than the DefaultWebApp
>> > > directory.
>> > >
>> > > thanks,
>> > > --
>> > >
>> > > Pankaj
>> >
>
-
Mapping of a directory containing JSP files
Hi,
Iam using weblogic 6.1, SP2.
I have created a web application with the DefaultWebApp directory where
u can put ur jsp files for them to be available automatically..
Can someone tell me is there a way to map jsp files to some other directory
Or can i make some subdirectory under DefaultWebApp like 'presentation' and
keep my jsp files in that and not be required to write the directory name
( presentation) for accessing my files.
In short is it possible in some way to map some directory where i put my jsp
files and they are readily accessible, other than the DefaultWebApp
directory.
thanks,
Pankaj
JSPs do not require specific mappings as do HTTP servlets.
Place your Jsps, for example configureJsp.jsp, in the DefaultWebApp/presentation
directory.
In a web browser, request the JSP file using the following URL:
http://localhost:7001/presentation/configureJsp.jsp
Pankaj Bansal wrote:
> Hi,
> Iam using weblogic 6.1, SP2.
>
> I have created a web application with the DefaultWebApp directory where
> u can put ur jsp files for them to be available automatically..
>
> Can someone tell me is there a way to map jsp files to some other directory
> ?
> Or can i make some subdirectory under DefaultWebApp like 'presentation' and
> keep my jsp files in that and not be required to write the directory name
> ( presentation) for accessing my files.
>
> In short is it possible in some way to map some directory where i put my jsp
> files and they are readily accessible, other than the DefaultWebApp
> directory.
>
> thanks,
> --
>
> Pankaj
-
Hi there,
When developing a cmp, I can map all attributes of a value object
in the cmp into its corresponding table, shown on A.
The problem is if I can map some specific fields, not all fields
of the value object into the table, show on B, since the
corresponding table has not enough columns, in the meantime, for
some reason, I can't kick out the "useless" attributes from the
value object class.
I have tried to do that, but after I edit manualy orion-ejb-
jar.xml, and restart OC4J, it automaticaly maps all of the
fields. How can I stop OC4J automaticaly do that again?
Any help is appreciated.
Frank
A.
<cmp-field-mapping name="address">
<properties>
<cmp-field-mapping name="address1"
persistence-name="address1" />
<cmp-field-mapping name="address2"
persistence-name="address2" />
<cmp-field-mapping name="city"
persistence-name="city" />
<cmp-field-mapping name="countryCode"
persistence-name="countrycode" />
<cmp-field-mapping name="state"
persistence-name="state" />
<cmp-field-mapping name="zipCode"
persistence-name="zipcode" />
</properties>
</cmp-field-mapping>
B.
<cmp-field-mapping name="address">
<properties>
<cmp-field-mapping name="address1"
persistence-name="address1" />
<cmp-field-mapping name="city"
persistence-name="city" />
<cmp-field-mapping name="state"
persistence-name="state" />
<cmp-field-mapping name="zipCode"
persistence-name="zipcode" />
</properties>
</cmp-field-mapping>Hi David,
The "autocreate-tables" attribute is defined in the DTD for the "orion-application.xml" file. This file is usually generated automatically by OC4J, from your application's "application.xml" file when you deploy your application. (Note that subsequent [re-]deployments of your application will not change the "orion-application.xml" file.)
The default value for this attribute is 'true', and the default is defined in the "application.xml" file that is located in the "j2ee/home/config" subdirectory of the OC4J installation.
Hope this answers your question.
Good Luck,
Avi. -
Remote System and Remote Key Mapping at a glance
Hi,
I want to discuss the concept of Remote System and Remote Key Mapping.
Remote System is a logical system which is defined in MDM Console for a MDM Repository.
We can define key mapping enabled at each table level.
The key mapping is used to distinguish records at Data Manager after running the Data Import.
Now 1 record can have 1 remote system with two different keys but two different records cannot have same remote system with same remote key. So, Remote key is an unique identifier for record for any remote system for each individual records.
Now whenever we import data from a Remote System, the remote system and remote key are mapped for each individual records. Usually all records have different remote keys.
Now, when syndicating back the record with default remote key is updated in the remote system that is sent by xml file format.
If same record is updated two times from a same remote system, the remote key will be different and the record which is latest contains highest remote key.
Now, I have to look at Data Syndication and Remote key.
I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back. But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
Regards
Kaushik BanerjeeYou are right Kaushik,
I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back.
Yes, but if they are duplicate, they needs to be merged.
But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
This is after merging. So whichever remote key has tick mark in key mapping option(default) , it will be syndicated back.
Pls refer to these links for better understanding.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/80eb6ea5-2a2f-2b10-f68e-bf735a45705f
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/7051c376-f939-2b10-7da1-c4f8f9eecc8c%0c
Hope this helps,
+ An
Maybe you are looking for
-
Urgent help needed - new to Macs, accidently cut and paste over top of photo folder and now no sign of folder or file, no auto back-up in place, how can I restore photos pls
-
How to delete the master data of a Customer created in a SALES AREA?
Hi All, I've deleted a Customer (master data) by t.code OBR2. But it exists again in its SALES AREA. Could anyone tell me how to delete it in the sales area too? Thanks
-
went to empty my trash on the IMac and it contains folders between 2010 and 2013 called Mackintosh HD. Eac folder shows lots of other folders. It stated there were 118 files but when I started to empty the trash it was going up to over 127,009 files
-
Hi , I want to know how the JAVAC and JAVA command works internally. And also the JVM and JDK architecture to understand the java compilation and execution process. Can anybody help me out . Thanks Raghav
-
Help - USB Host on the Z10 with 10.2.0.424
Hi, can you help me with USB Host on the Z10 (STL100-2) with software 10.2.0.424 I have been told USB Host will work on my device if I use a "Powered" USB adaptor. I can't figure out how to do it. Can you give me some help ?