Instantiating LoginConfiguration0 for JAAS
Hello
I'm trying to distribute an application that needs a logon to an ejb server via webstart. Here is
some sample code on how I am setting the system properties to use a file, auth.conf, to tell
JAAS about the client's login configuration
public UserLogon (String username, String password) throws LoginException
Properties p = System.getProperties();
ClassLoader cl = this.getClass().getClassLoader();
p.setProperty ("java.security.auth.login.config",
cl.getResource ("images/auth.conf").toString() );
System.out.println (p.getProperty ("java.security.auth.login.config"));
.....This works perfectly well when running the client traditionally, but via Webstart it throws an exception saying that it cannot instantiate LoginConfiguration0. Anybody got a clue how I can get this to work?
You might move the the getResource() apart,
String s = cl.getResource ("images/auth.conf");
p.setProperty("java.security.auth.login.config", s);to be sure that it is not a class loading problem, although in that case it could be tricky, because you seem to set the class loader right.
On the other hand the culprit might be your JDK, read the post by David Harvey, August 14th
http://forum.java.sun.com/thread.jsp?forum=38&thread=139649
for details.
Regards,
Marc
Similar Messages
-
Revision: 3065
Author: [email protected]
Date: 2008-09-02 16:52:05 -0700 (Tue, 02 Sep 2008)
Log Message:
Initial checkin of the deferred instantiation feature for Gumbo.
ItemsComponent has a "creationPolicy" property that controls when the content items are created. Possible values are:
* "all" - content is created as soon as the ItemsComponent is created
* "auto" - content is created as soon as it is needed
* "none" - content is not automatically created. When this creationPolicy is set, you must call createDeferredContent().
The "contentCreationComplete" event is sent when the content has been created.
Added IDeferredContentOwner interface. ItemsComponent is the only Gumbo component that implements this interface.
Reviewers: Corey, Ryan, Chet
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/ItemsComponent.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/FlexEvent.as
flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml
flex/sdk/trunk/frameworks/tests/flex4/flex4test_testScript.mxml
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java
Added Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/IDeferredContentOwner.asI have restarted database. Now running adpatch, but still in starting phase:
====================================
Skipping...
Compile JSP files for Specified driver
since no such action is present for this driver file
or this APPL_TOP does not implement the "web" server type
Number of invalid objects: 942
Getting list of invalid objects in APPS schema.
Invalid object reports are recorded in
/u06_qa/oracle/apps/apps_st/appl/admin/QA/log/03356_preenv.*
Running SQL scripts and EXEC commands...
====================================
I shall update once I have more info.
br,
Anjum -
Beginner question: Configure Tomcat for JAAS?
Hi,
This is a beginner question :-(. I'm trying to get JAAS to work on my Tomcat (6.0.12) installation. I used code from a Javaworld article (http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas.html)
Of course I had to configure my Tomcat to work together with JAAS. The document I used is: http://tomcat.apache.org/tomcat-6.0-doc/printer/realm-howto.html
According to the Tomcat doc I have to do the following steps before I can use JAAS to authenticate a user:
1. Develop your code. Place the compiled classes in Tomcat's classpath
2. Setup a login.config file for Java, and tell Tomcat where to find it (set JAVA_OPTS)
3. Configure the JAASRealm in your server.xml
1 Develop code: I use the following classes:
PassiveCallbackHandler.java
RdbmsCredential.java
RdbmsLoginModule.java
RdbmsPrincipal.java
These classes I put in the package rdbmsjaas.
In the %CATALINA_HOME%/webapps/Javaworld_Jaas/WEB-INF/lib directory I created the rdbmsjaas.jar file.
The jsp is called jaas.jsp, and is stored in %CATALINA_HOME%/webapps/Javaworld_Jaas
2. Setup login.config
In %CATALINA_HOME%\conf I saved the file Javaworld_all_that_Jaas.config, containing:
Example {
RdbmsLoginModule required
debug="true"
url="jdbc:mysql://localhost/jaasdb?user=javauser&password=javadude"
driver="com.mysql.jdbc.Driver";
};I created an XP Environment Variable JAVA_OPTS with the value <-DJAVA_OPTS=-Djava.security.auth.login.config==C:/Program Files/Apache Software Foundation/Tomcat 6.0/conf/JavaWorld_All_That_Jaas.config> (excluding < and >)
I used the fully qualified address, instead of $CATALINA_HOME/conf/JavaWorld_All_That_Jaas.config. I think XP balks when it sees $CATALINA_HOME).
3 Configure JAASRealm in server.xml
In %CATALINA_HOME%\conf\ I changed web.xml. I added the following lines:
<Realm className="org.apache.catalina.realm.JAASRealm"
appName="jaas"
userClassName="rdbmsjaas.RdbmsPrincipal"
debug="99"
/>If I run the jsp from http://localhost:8080/JavaWorld_Jaas/jaas.jsp, I can enter my username/password, but when I click the Submit button, I get:
Caught Exception: java.lang.SecurityException: Unable to locate a login configurationWhere did my configuration go wrong?
AbelYou will need a JSP/servlet engine such as Tomcat - Apache alone won't do it.
I haven't seen any tutorials on set-up but the Tomcat documentation includes info on how to link to Apache. There are also books you can buy - check out the online book stores such as Amazon.
There's also a lot of info on this forum. -
Bogus user in the CertLoginModule for JAAS?
Hi
I am running into a problem with the CertLoginModule example in WebLogic
6.1, and have poured over the weblogic.developer.interest.security
newsgroup for an answer, to no avail. There is a section of code in
CertLoginModule.java that looks like:
// Note: This is needed to fulfill an internal WLS logic inconsistancy,
the
// value is not used or preserved within WLS
env.setSecurityPrincipal("bogus");
however, this line of code is causing the program to fail for me in the
following way:
Authentication Failed: Unexpected Exception,
javax.security.auth.login.LoginException: java.lang.SecurityException:
Authentication for user bogus denied in realm weblogic
Start server side stack trace:
java.lang.SecurityException: Authentication for user bogus denied in
realm weblogic
at
weblogic.security.acl.Realm.authenticate(Realm.java:212).............etc.
I have successfully implemented OpenLDAP and WebLogic together, that is
the security realm I am using. Do I need to add this bogus user to
OpenLDAP? I have also configured WebLogic to use two-way authentication
successfully. Everything seems to be setup correctly. Is there
anything else I can do to bypass this internal inconsistency, given that
WebLogic doesn't use or preserve the "bogus" value above? Do I need to
edit the Server.policy file as well to reflect my new LoginModules, or
is the sample.policy file provided with the example enough for that?
Thanks,
Colin Payne
Developer
NetThruPut Inc.
Calgary, Alberta, CanadaHi Colin,
I would suggest adding a user "bogus" or changing the code to one of your users/guest
user. If this does not resolve your issue I would recommend logging a case with
BEA Support.
Kind Regards,
Richard Wallace
Senior Developer Relations Engineer
BEA Support.
Colin Payne <[email protected]> wrote:
Hi
I am running into a problem with the CertLoginModule example in WebLogic
6.1, and have poured over the weblogic.developer.interest.security
newsgroup for an answer, to no avail. There is a section of code in
CertLoginModule.java that looks like:
// Note: This is needed to fulfill an internal WLS logic inconsistancy,
the
// value is not used or preserved within WLS
env.setSecurityPrincipal("bogus");
however, this line of code is causing the program to fail for me in the
following way:
Authentication Failed: Unexpected Exception,
javax.security.auth.login.LoginException: java.lang.SecurityException:
Authentication for user bogus denied in realm weblogic
Start server side stack trace:
java.lang.SecurityException: Authentication for user bogus denied in
realm weblogic
at
weblogic.security.acl.Realm.authenticate(Realm.java:212).............etc.
I have successfully implemented OpenLDAP and WebLogic together, that
is
the security realm I am using. Do I need to add this bogus user to
OpenLDAP? I have also configured WebLogic to use two-way authentication
successfully. Everything seems to be setup correctly. Is there
anything else I can do to bypass this internal inconsistency, given that
WebLogic doesn't use or preserve the "bogus" value above? Do I need
to
edit the Server.policy file as well to reflect my new LoginModules, or
is the sample.policy file provided with the example enough for that?
Thanks,
Colin Payne
Developer
NetThruPut Inc.
Calgary, Alberta, Canada -
Use of JAAS in WLS6 for sngle logon
We're in the design stage of a product, which will be based on Weblogic Server 6 and are hoping to use JAAS.
I'm quite new to WL in general and JAAS security and having read the documentation, I'm still not clear on a few points about how JAAS is used in WLS6.
We're intending to provide a single logon for the system and then to log users on to other services such as email etc. behind the scenes, when the user requests them.
Does JAAS in WLS6 support this and if so, how best could we achieve it?
One idea I've read on the Sun site is that you can instantiate multiple LoginContexts at different times during the user session, each using a different Configuration pointing to different LoginModules to achieve this.
A couple of other things I've come across which may be useful in this context are :-
the <run-as-specified-identity> tag in the deployment descriptor
LoginModules being able to share information
Any help much appreciated
DaveSorry for the delay in replying, I was on vacation
Dave <[email protected]> wrote in message
news:[email protected]...
>
Thanks for the reply Alex.
If we just have a single LoginContext with multiple LoginModules, wouldn'tthat mean that when a user logged-on, it would log them on to all of the
services at the same time ?
Yes, that is the sequence specified under JAAS
We were trying to make it so that after the initial logon to the system,the user would be logged on to other services only when they accessed them
explicitly. Does that mean that we need multiple LoginContexts still ?
Unfortunately yes, you will need multiple LoginContext instances to do that.
set configuration
new context
context.login
context.getSubject
Subject.doAs(subject, action)
>
I understand that WLS6 will only provide for JAAS Authentication, notAuthorisation. Does that mean I need to use it in conjunction with the
existing Weblogic Authorisation, such as ACLs and Realms ?
>
The WLS6 JAAS implementation wrappers the existing ACL implementation and is
independant of the realm being used. Internally the Subject.doAs method
checks the ACLs of the user associated with the specified Subject instance.
Can I also ask about the granularity of Resources that can be protected byaccess control. Would these be at the level of Servlets, beans etc.
I believe you can but I'm not sure, check in the documentation on Servlets &
beans or post a followup question in those groups
>
Is the Beta Refresh available for downloaded now ? If not, how soon doyou think it would be ?
>
The beta refresh should be available early the week of 11/13
As regards the <run-as-specified-identity> tag in the deploymentdescriptor. Could you briefly explain its use and whether it would help us
with our logon approach ?
Again I'm not sure, again please post this to the associated group Servlets,
Beans, etc.
>
Thanks very much for your help again.
Dave
"Alex McDonald" <[email protected]> wrote:
Dave,
The WLS 6 JAAS implementation will support what you intend. While there
were
several bugs in the initial WLS 6 Beta these have been fixed in the Beta
refresh, if you need the updated files sooner I can send you a zip.
I would suggest the following. Single LoginContext, multipleloginModules.
Set your first configured loginModule to prompt for theusername/password,
each of the following loginModules can than use that information behindthe
scenes or prompt as needed for additional user info. Configure the first
loginModule as REQUISITE so that it must succeed for the login process to
continue. The WLS 6 JAAS sample loginModule implementation contains theWLS
login information, additional email, etc services can be added to the
Subject container as needed.
Alex
Dave <[email protected]> wrote in message
news:[email protected]...
We're in the design stage of a product, which will be based on WeblogicServer 6 and are hoping to use JAAS.
I'm quite new to WL in general and JAAS security and having read thedocumentation, I'm still not clear on a few points about how JAAS is usedin
WLS6.
We're intending to provide a single logon for the system and then to
log
users on to other services such as email etc. behind the scenes, when the
user requests them.
Does JAAS in WLS6 support this and if so, how best could we achieve it?
One idea I've read on the Sun site is that you can instantiate multipleLoginContexts at different times during the user session, each using a
different Configuration pointing to different LoginModules to achievethis.
>>>
A couple of other things I've come across which may be useful in thiscontext are :-
the <run-as-specified-identity> tag in the deployment descriptor
LoginModules being able to share information
Any help much appreciated
Dave -
Looking for original Soucecode from JAAS - API (jaas.jar)
Hello,
have someone the original code PolicyFile.java and PolicyParser.java
from the JAAS?
The compiled class are in com.sun.security.auth , but I need the uncompiled
class in java source.
I would like to make my own MyPolicyFile-Class for the JAAS.
I need a custom Policy Class for the JAAS.
So, that I can set in java.security
auth.policy.provider=com.myfile.security.auth.MyPolicyFile
Where can I get the java PolicyFile Class for JAAS ?
Can someone send me the source, please ?
Can you help me ?
Greetings, jens
[email protected]I believe the original source code is available from the sun site (at least the 1.2.2 version was).....dont remember the URL - but start with Products & API link and look for JAAS
-
How to use JAAS/JAZN of 9iAS R2 for a typical Hierarchical Organization Structure
If any one has used the out of the box or has modified and used the JAAS/JAZN implementation of App Server R2 for Authentication and Authorization of a typical Hierarchical Org Structure?
Our Org Chart looks some thing like the one shown below;
Every one in this Org chart will access the Application that will be deployed in the Oracle App Server and this Org chart DIT is already exists in Novell's eDirectory.
We are planning to import this DIT structure to OID and make use of OID for JAAS/JAZN features of Oracle App Server; any clues on how to configure the default JAAS/JAZN of App server to make use of this DIT and control the access to the application?
How do we go about assigning the roles to these users in this org and how to configure the App Server R2 to use this structure??? :)
usa
|
| | | |
EastZone CentralZone MountainZone PacificZone
| | | |
| | | | | | | |
R1 R2 Region3 Region4 R5 R6 R7 R8
| |
| | | |
users computers users computers
| |
| | | | | |
cn=Smith cn=Ray cn=Molly cn=Mahone cn=Steve cn=Smith
Thank youI am trying to attach an html version of the org chart, the earlier one did not show up correctly!!
hope this one would show up better!!
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./usa_files/filelist.xml">
<title> usa</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Covansys</o:Author>
<o:LastAuthor>Covansys</o:LastAuthor>
<o:Revision>1</o:Revision>
<o:TotalTime>7</o:TotalTime>
<o:Created>2002-08-15T16:03:00Z</o:Created>
<o:LastSaved>2002-08-15T16:10:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Company>Covansys</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:Version>9.4402</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:0;
mso-generic-font-family:modern;
mso-font-format:other;
mso-font-pitch:fixed;
mso-font-signature:3 0 0 0 1 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes">
</span>usa<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes">
</span>|<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes">
</span>---------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
yes"> </span>|<span style="mso-spacerun: yes">
</span>|<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>EastZone<span
style="mso-spacerun: yes"> </span>CentralZone<span style="mso-spacerun:
yes"> </span>MountainZone<span style="mso-spacerun: yes">
</span>PacificZone<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
yes"> </span>|<span style="mso-spacerun: yes">
</span>|<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>-------<span
style="mso-spacerun: yes"> </span>--------<span style="mso-spacerun:
yes"> </span>-------<span style="mso-spacerun: yes">
</span>--------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span>|<span style="mso-spacerun: yes">
</span>|<span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span>|<span style="mso-spacerun: yes">
</span>|<span style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
yes"> </span>|<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>R1<span
style="mso-spacerun: yes"> </span>R2<span style="mso-spacerun: yes">
</span>Region3<span style="mso-spacerun: yes"> </span>Region4<span
style="mso-spacerun: yes"> </span>R5<span style="mso-spacerun: yes">
</span>R6<span style="mso-spacerun: yes"> </span>R7<span
style="mso-spacerun: yes"> </span>R8<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes">
</span>|<span style="mso-spacerun: yes"> </span><span
style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes">
</span>----------<span style="mso-spacerun: yes">
</span>----------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
yes"> </span>|<span style="mso-spacerun:
yes"> </span>|<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>users<span
style="mso-spacerun: yes"> </span>computers<span style="mso-spacerun:
yes"> </span>users<span style="mso-spacerun: yes">
</span>computers<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span><span style="mso-spacerun:
yes"> </span>|<span style="mso-spacerun:
yes"> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes">
</span>----------------------<span style="mso-spacerun: yes">
</span>----------------------<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span>|<span style="mso-spacerun:
yes"> </span>|<span style="mso-spacerun: yes">
</span>|<span style="mso-spacerun: yes"> </span>|<span
style="mso-spacerun: yes"> </span>|<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
font-family:Courier'><span style="mso-spacerun: yes"> </span>cn=Smith<span
style="mso-spacerun: yes"> </span>cn=Ray<span style="mso-spacerun: yes">
</span>cn=Molly<span style="mso-spacerun: yes"> </span>cn=Mahone<span
style="mso-spacerun: yes"> </span>cn=Steve<span style="mso-spacerun:
yes"> </span>cn=Smith<o:p></o:p></span></p>
</div>
</body>
</html>
If any one has used the out of the box or has modified and used the JAAS/JAZN implementation of App Server R2 for Authentication and Authorization of a typical Hierarchical Org Structure?
Our Org Chart looks some thing like the one shown below;
Every one in this Org chart will access the Application that will be deployed in the Oracle App Server and this Org chart DIT is already exists in Novell's eDirectory.
We are planning to import this DIT structure to OID and make use of OID for JAAS/JAZN features of Oracle App Server; any clues on how to configure the default JAAS/JAZN of App server to make use of this DIT and control the access to the application?
How do we go about assigning the roles to these users in this org and how to configure the App Server R2 to use this structure??? :) -
Cannot execute Install for database ORACLE_HOME
Dear ALl,
EBS 11.5.9 with Windows 2003, during multi-node installation error.
log file
Oracle Applications Rapid Install Wizard Install log
>> Using Rapid Wizard Version : 11.5.9.21
>> Install session started : Fri Jul 25 17:41:05 GST 2008
>> Rapid Wizard source location : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz
>> Command Line arguments for this execution :
=================================================================
Install Session Information
Host Name : sysd.apps.com
Host Operating System : Windows 2000
User running Install : applmgr
=================================================================
InstUpgPanel - User chooses to Install Oracle Applications
NumNodesPanel - Multi-node Selected
SIDSeedPanel - The PROD database is set to PROD fresh install database
ProductPanel - The following are the selected Product Groups for instance PROD
Basic
E-Business Intelligence
Marketing
TeleSales
Field Sales
Order Management
Inventory Management
Purchasing
Discrete Manufacturing
Process Manufacturing
TeleService
Service Contracts
Project Costing
Project Billing
Financials
Human Resources
ProductPanel - The following are the selected Product for instance PROD
0
160
190
265
601
174
175
690
874
709
454
452
450
558
451
530
517
520
549
670
691
882
521
676
880
696
697
660
522
544
869
676
279
697
660
702
401
665
673
401
665
201
202
250
401
702
703
704
705
706
712
550
551
552
553
554
555
556
557
514
511
542
862
696
872
170
866
518
515
510
870
524
542
275
275
101
140
200
222
240
260
600
8400
8401
8450
8901
231
673
800
804
8301
8302
TerritoryPanel - The following are the selected settings for instance PROD
LanguagePanel - The following are the selections from the Language Panel:
US - American_English
US - American_English
US7ASCII
US7ASCII
AMERICA
MultiNodePanel - Selected nodes:
[Ljava.lang.String;@eddac
[Ljava.lang.String;@7b7565
[[Z@583cf4
QuickPanel - Empty Fields were encountered. Number of empty Fields:1
QuickPanel - The following are the selected top directories for instance PROD
e:\oracle e:\oracle e:\oracle f:\oracle f:\oracle f:\oracle applmgr password apps.com
QuickPanel - The following are the selected top directories for instance PROD
e:\oracle e:\oracle e:\oracle f:\oracle f:\oracle f:\oracle applmgr password apps.com
MountsPanel - The following are the mount points selected by the user for instance PROD
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
US7ASCII
US-ASCII
e:\oracle\prodcomn
e:\oracle\proddb\9.2.0
e:\oracle\prodora\8.0.6
e:\oracle\prodora\iAS
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
e:\oracle\prodcomn\java
e:\oracle\prodcomn\portal
e:\oracle\prodcomn\util\jre\1.1.8
e:\oracle\prodcomn\temp
applmgr
password
apps.com
C:\mksnt
C:\VC98
C:\java\jdk1.3.1
c:\Program Files\Oracle\Inventory
MountsPanel - The following are the mount points selected by the user for instance PROD
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
US7ASCII
US-ASCII
e:\oracle\prodcomn
e:\oracle\proddb\9.2.0
e:\oracle\prodora\8.0.6
e:\oracle\prodora\iAS
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
e:\oracle\prodcomn\java
e:\oracle\prodcomn\portal
e:\oracle\prodcomn\util\jre\1.1.8
e:\oracle\prodcomn\temp
applmgr
password
apps.com
C:\mksnt
C:\VC98
C:\java\jdk1.3.1
c:\Program Files\Oracle\Inventory
MountsPanel - The following are the mount points selected by the user for instance PROD
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
US7ASCII
US-ASCII
e:\oracle\prodcomn
e:\oracle\proddb\9.2.0
e:\oracle\prodora\8.0.6
e:\oracle\prodora\iAS
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
e:\oracle\prodcomn\java
e:\oracle\prodcomn\portal
e:\oracle\prodcomn\util\jre\1.1.8
e:\oracle\prodcomn\temp
applmgr
password
apps.com
d:\MKS\mksnt
d:\VC98
C:\jdk1.3.1_06
c:\Program Files\Oracle\Inventory
MountsPanel - The following are the mount points selected by the user for instance PROD
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
US7ASCII
US-ASCII
e:\oracle\prodcomn
e:\oracle\proddb\9.2.0
e:\oracle\prodora\8.0.6
e:\oracle\prodora\iAS
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
e:\oracle\prodcomn\java
e:\oracle\prodcomn\portal
e:\oracle\prodcomn\util\jre\1.1.8
e:\oracle\prodcomn\temp
applmgr
password
apps.com
d:\MKS\mksnt
d:\VC98
C:\jdk1.3.1_06
c:\Program Files\Oracle\Inventory
SettingsPanel - The following are the selected settings for instance PROD
PROD
PROD
US7ASCII
AMERICA
1521
1626
7000
8000
8100
8200
8800
9000
9100
9200
9300
9800
10000
10100
10200
10300
16000-16009
17000-17009
18000-18019
19000-19009
AppsConfig temp dir set to: C:\DOCUME~1\applmgr\LOCALS~1\Temp
ConfigFilePanel - Setting temp directory to: C:\DOCUME~1\applmgr\LOCALS~1\Temp <-> C:\DOCUME~1\applmgr\LOCALS~1\Temp\
ConfigFilePanel - Writing configuration file to: C:\DOCUME~1\applmgr\LOCALS~1\Temp\config.txt
Port Availability Check :
Database Port Value = 1521...... Available
Operating System Check
command : cmd.exe /c D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\bin\checkOS.cmd
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>echo off
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\applmgr\Application Data
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SYSD
ComSpec=C:\WINDOWS\system32\cmd.exe
DISPLAY=:0.0
HOME=C:\Documents and Settings\applmgr
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\applmgr
include=D:\VC98\atl\include;D:\VC98\mfc\include;D:\VC98\include
lib=D:\VC98\mfc\lib;D:\VC98\lib
LOGONSERVER=\\SYSD
MSDevDir=D:\VC98\MSDev98
NUMBER_OF_PROCESSORS=16
NUTCROOT=D:\MKS
OS=Windows_NT
Path=C:\Perl\bin;D:\MKS\bin;D:\MKS\bin\x11;D:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\VC98\Tools\WinNT;D:\VC98\MSDev98\Bin;D:\VC98\Tools;D:\VC98\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0b
ProgramFiles=C:\Program Files
PROMPT=$P$G
ROOTDIR=D:\MKS
SESSIONNAME=Console
SHELL=D:\MKS\mksnt\sh.exe
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\applmgr\LOCALS~1\Temp
TERM=nutc
TERMCAP=D:\MKS\etc\termcap
TERMINFO=D:\MKS\usr\lib\terminfo
TMP=C:\DOCUME~1\applmgr\LOCALS~1\Temp
TMPDIR=C:\DOCUME~1\applmgr\LOCALS~1\Temp
USERDOMAIN=SYSD
USERNAME=applmgr
USERPROFILE=C:\Documents and Settings\applmgr
windir=C:\WINDOWS
Operating System patch/version test has suceeded
Port Uniqueness Check :
All ports are unique.
File System Check :
Database ORACLE_HOME created:
Mount Point = e:\oracle\proddb\9.2.0
Database ORACLE_HOME admin folder created:
Mount Point = e:\oracle\proddb\9.2.0\appsutil
Database ORACLE_HOME temp folder created:
Mount Point = e:\oracle\proddb\9.2.0\appsutil\temp
Database Install Log Directory created:
Mount Point = e:\oracle\proddb\9.2.0\appsutil\log\PROD_sysd
Database System File Directory created:
Mount Point = f:\oracle\proddata
Database Log File Directory available:
Mount Point = f:\oracle\proddata
Database Data File Directory available:
Mount Point = f:\oracle\proddata
Database Index File Directory available:
Mount Point = f:\oracle\proddata
File Space Check :
Disk space on system acceptable :
Database ORACLE_HOME = e:\oracle\proddb\9.2.0
required = 2381.0
actual = 102323.203125
Disk space on system acceptable :
Database System File Directory = f:\oracle\proddata
required = 9259.0
actual = 457021.93359375
Disk space on system acceptable :
Database Log File Directory = f:\oracle\proddata
required = 49.0
actual = 447762.93359375
Disk space on system acceptable :
Database Data File Directory = f:\oracle\proddata
required = 8175.0
actual = 447713.93359375
Disk space on system acceptable :
Database Index File Directory = f:\oracle\proddata
required = 6532.0
actual = 439538.93359375
Host/Domain Check :
command : ping -n 1 sysd
Pinging sysd [192.168.6.16] with 32 bytes of data:
Reply from 192.168.6.16: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.6.16:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
host ping has suceeded
command : ping -n 1 sysd.apps.com
Pinging sysd.apps.com [192.168.6.16] with 32 bytes of data:
Reply from 192.168.6.16: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.6.16:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
host.domain ping has suceeded
command : ping -n 1 sysm
Pinging sysm [192.168.6.17] with 32 bytes of data:
Reply from 192.168.6.17: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.6.17:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
host ping has suceeded
command : ping -n 1 sysm.apps.com
Ping request could not find host sysm.apps.com. Please check the name and try again.
Error - host.domain ping has returned an error: 1
System variable PATH set to:
C:\Perl\bin;D:\MKS\bin;D:\MKS\bin\x11;D:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\VC98\Tools\WinNT;D:\VC98\MSDev98\Bin;D:\VC98\Tools;D:\VC98\bin
System Utilities Check :
command : cmd.exe /c D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\bin\checkutil.cmd d:\MKS\mksnt d:\VC98
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>echo off
Setting environment for using Microsoft Visual C++ tools.
C:\WINDOWS\system32/cmd.exe
'which' command is available.
C:\WINDOWS\system32/gnumake.exe
'gnumake' is available.
d:\MKS\mksnt/cc.exe
'cc' is available.
D:\VC98\BIN/link.exe
'link' is available.
ERRORCODE = 0 ERRORCODE_END
System Utilities Availability test has suceeded
JDK Availability Check :
running command : CheckerClass.JDKCheck()
JDK Availability Test has succeeded , Version Detected is java version "1.3.1_06"
QuickPanel - The following are the selected top directories for instance PROD
e:\oracle e:\oracle e:\oracle f:\oracle f:\oracle f:\oracle applmgr password apps.com
QuickPanel - The following are the selected top directories for instance PROD
e:\oracle e:\oracle e:\oracle f:\oracle f:\oracle f:\oracle applmgr password appsa.com
MountsPanel - The following are the mount points selected by the user for instance PROD
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
US7ASCII
US-ASCII
e:\oracle\prodcomn
e:\oracle\proddb\9.2.0
e:\oracle\prodora\8.0.6
e:\oracle\prodora\iAS
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
e:\oracle\prodcomn\java
e:\oracle\prodcomn\portal
e:\oracle\prodcomn\util\jre\1.1.8
e:\oracle\prodcomn\temp
applmgr
password
apps.com
d:\MKS\mksnt
d:\VC98
C:\jdk1.3.1_06
c:\Program Files\Oracle\Inventory
MountsPanel - The following are the mount points selected by the user for instance PROD
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
e:\oracle\prodappl
US7ASCII
US-ASCII
e:\oracle\prodcomn
e:\oracle\proddb\9.2.0
e:\oracle\prodora\8.0.6
e:\oracle\prodora\iAS
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
f:\oracle\proddata
e:\oracle\prodcomn\java
e:\oracle\prodcomn\portal
e:\oracle\prodcomn\util\jre\1.1.8
e:\oracle\prodcomn\temp
applmgr
password
appsa.com
d:\MKS\mksnt
d:\VC98
C:\jdk1.3.1_06
c:\Program Files\Oracle\Inventory
SettingsPanel - The following are the selected settings for instance PROD
PROD
PROD
US7ASCII
AMERICA
1521
1626
7000
8000
8100
8200
8800
9000
9100
9200
9300
9800
10000
10100
10200
10300
16000-16009
17000-17009
18000-18019
19000-19009
AppsConfig temp dir set to: C:\DOCUME~1\applmgr\LOCALS~1\Temp
ConfigFilePanel - Setting temp directory to: C:\DOCUME~1\applmgr\LOCALS~1\Temp <-> C:\DOCUME~1\applmgr\LOCALS~1\Temp\
ConfigFilePanel - Writing configuration file to: C:\DOCUME~1\applmgr\LOCALS~1\Temp\config.txt
Port Availability Check :
Database Port Value = 1521...... Available
Operating System Check
command : cmd.exe /c D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\bin\checkOS.cmd
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>echo off
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\applmgr\Application Data
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SYSD
ComSpec=C:\WINDOWS\system32\cmd.exe
DISPLAY=:0.0
HOME=C:\Documents and Settings\applmgr
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\applmgr
include=D:\VC98\atl\include;D:\VC98\mfc\include;D:\VC98\include
lib=D:\VC98\mfc\lib;D:\VC98\lib
LOGONSERVER=\\SYSD
MSDevDir=D:\VC98\MSDev98
NUMBER_OF_PROCESSORS=16
NUTCROOT=D:\MKS
OS=Windows_NT
Path=C:\Perl\bin;D:\MKS\bin;D:\MKS\bin\x11;D:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\VC98\Tools\WinNT;D:\VC98\MSDev98\Bin;D:\VC98\Tools;D:\VC98\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f0b
ProgramFiles=C:\Program Files
PROMPT=$P$G
ROOTDIR=D:\MKS
SESSIONNAME=Console
SHELL=D:\MKS\mksnt\sh.exe
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\applmgr\LOCALS~1\Temp
TERM=nutc
TERMCAP=D:\MKS\etc\termcap
TERMINFO=D:\MKS\usr\lib\terminfo
TMP=C:\DOCUME~1\applmgr\LOCALS~1\Temp
TMPDIR=C:\DOCUME~1\applmgr\LOCALS~1\Temp
USERDOMAIN=SYSD
USERNAME=applmgr
USERPROFILE=C:\Documents and Settings\applmgr
windir=C:\WINDOWS
Operating System patch/version test has suceeded
Port Uniqueness Check :
All ports are unique.
File System Check :
Database ORACLE_HOME available:
Mount Point = e:\oracle\proddb\9.2.0
Database ORACLE_HOME admin folder available:
Mount Point = e:\oracle\proddb\9.2.0\appsutil
Database ORACLE_HOME temp folder available:
Mount Point = e:\oracle\proddb\9.2.0\appsutil\temp
Database Install Log Directory available:
Mount Point = e:\oracle\proddb\9.2.0\appsutil\log\PROD_sysd
Database System File Directory available:
Mount Point = f:\oracle\proddata
Database Log File Directory available:
Mount Point = f:\oracle\proddata
Database Data File Directory available:
Mount Point = f:\oracle\proddata
Database Index File Directory available:
Mount Point = f:\oracle\proddata
File Space Check :
Disk space on system acceptable :
Database ORACLE_HOME = e:\oracle\proddb\9.2.0
required = 2381.0
actual = 102323.203125
Disk space on system acceptable :
Database System File Directory = f:\oracle\proddata
required = 9259.0
actual = 457021.93359375
Disk space on system acceptable :
Database Log File Directory = f:\oracle\proddata
required = 49.0
actual = 447762.93359375
Disk space on system acceptable :
Database Data File Directory = f:\oracle\proddata
required = 8175.0
actual = 447713.93359375
Disk space on system acceptable :
Database Index File Directory = f:\oracle\proddata
required = 6532.0
actual = 439538.93359375
Host/Domain Check :
command : ping -n 1 sysd
Pinging sysd [192.168.6.16] with 32 bytes of data:
Reply from 192.168.6.16: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.6.16:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
host ping has suceeded
command : ping -n 1 sysd.apps.com
Pinging sysd.apps.com [192.168.6.16] with 32 bytes of data:
Reply from 192.168.6.16: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.6.16:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
host.domain ping has suceeded
command : ping -n 1 sysm
Pinging sysm [192.168.6.17] with 32 bytes of data:
Reply from 192.168.6.17: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.6.17:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
host ping has suceeded
command : ping -n 1 sysm.appsa.com
Pinging sysm.appsa.com [208.87.33.150] with 32 bytes of data:
Reply from 208.87.33.150: bytes=32 time=295ms TTL=48
Ping statistics for 208.87.33.150:
Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 295ms, Maximum = 295ms, Average = 295ms
host.domain ping has suceeded
System Utilities Check :
command : cmd.exe /c D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\bin\checkutil.cmd d:\MKS\mksnt d:\VC98
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>echo off
Setting environment for using Microsoft Visual C++ tools.
C:\WINDOWS\system32/cmd.exe
'which' command is available.
C:\WINDOWS\system32/gnumake.exe
'gnumake' is available.
d:\MKS\mksnt/cc.exe
'cc' is available.
D:\VC98\BIN/link.exe
'link' is available.
ERRORCODE = 0 ERRORCODE_END
System Utilities Availability test has suceeded
JDK Availability Check :
running command : CheckerClass.JDKCheck()
JDK Availability Test has succeeded , Version Detected is java version "1.3.1_06"
DoInstallPanel - Summary Text
The Rapid Install Wizard will now install the following:
Install Oracle 9i technology stack for PROD.
Install Oracle Applications Database Seed for PROD.
DoInstallPanel - User continued install at warning dialog.
DoInstallPanel - Beginning install for all users.
Starting from Rapid Install Full Stage area D:\Stage_area_11.5.9\oraDB\Disk1
RapidWiz location: D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz
Install Media location: D:\Stage_area_11.5.9\startCD\Disk1
APPL_TOP location: e:\oracle\prodappl
Database ORACLE_HOME: e:\oracle\proddb\9.2.0
Database SID: PROD
Database Context Name : PROD_sysd
Creating 9.2.0 DB Context from D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\etc\adxdbctx.tmp to e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
instantiate file:
source : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\etc\adxdbctx.tmp
dest : e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
instantiate file:
source : e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
dest : e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
instantiate file:
source : e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
dest : e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
Processing DriverFile = D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adridb.drv
Running Instantiation Drivers for D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adridb.drv
Total number of processes in Current Install 3
Processing DriverFile = D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adridb.drv
Running Instantiation Drivers for D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adridb.drv
Invalid target file name in driver file: <s_com>\admin\out
Creation of Directory - E:\oracle\proddb\9.2.0\temp\PROD_sysd Succeeded.
instantiate file:
source : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adrun8i.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd to C:\DOCUME~1\applmgr\LOCALS~1\Temp\templbac\adrun8i.cmd
instantiate file:
source : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adrun9i.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd to C:\DOCUME~1\applmgr\LOCALS~1\Temp\templbac\adrun9i.cmd
instantiate file:
source : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adrundb.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrundb.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrundb.cmd to C:\DOCUME~1\applmgr\LOCALS~1\Temp\templbac\adrundb.cmd
Step 0 of 3
Command: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd
Processing Step 1 of 3
Executing: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd APPS APPS
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM $Header: adrun8i.cmd 115.24 2003/07/17 00:44:02 psaddi ship $
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM ###############################################################
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM This file is automatically generated by AutoConfig. It will be read and overwritten.
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM If you were instructed to edit this file, or if you are not able to use the settings
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM created by AutoConfig, refer to Metalink document 165195.1 for assistance.
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM ###############################################################
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>FOR /F "delims==" %a IN ('DATE /T') DO (set date=%a )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>(set date=Fri 07/25/2008 )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>FOR /F "delims==" %a IN ('TIME /T') DO (set time=%a )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>(set time=05:49 PM )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM Print out the program name and start time
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>ECHO STARTED INSTALL PHASE : 8I RDBMS : Fri 07/25/2008 05:49 PM
STARTED INSTALL PHASE : 8I RDBMS : Fri 07/25/2008 05:49 PM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET JRE_PATH=D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\bin\java
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET JRE_CP=.;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\RapidWiz.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\rt.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\i18n.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\ewt-3_4_9.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\swingall-1_1_1.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\share-1_1_11.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\jnls.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\acc.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\help-3_1_8.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\oracle_ice-4_06_6.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\netcfg.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\xmlparserv2.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\adconfig.zip
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET ENV_FILE=e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET PATH=D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\unzip\NT;C:\Perl\bin;D:\MKS\bin;D:\MKS\bin\x11;D:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\VC98\Tools\WinNT;D:\VC98\MSDev98\Bin;D:\VC98\Tools;D:\VC98\bin
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET EC=ERRORCODE
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>IF "5" == "1" (SET THREADS=1 ) ELSE (SET THREADS=16 )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>CD /D C:\DOCUME~1\applmgr\LOCALS~1\Temp
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM Install 8i will only happen, if database is "db817"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if "db920" == "db817" goto :INSTALL_DB
C:\DOCUME~1\applmgr\LOCALS~1\Temp>goto :SCRIPTEND
C:\DOCUME~1\applmgr\LOCALS~1\Temp>FOR /F "delims==" %a IN ('DATE /T') DO (set date=%a )
C:\DOCUME~1\applmgr\LOCALS~1\Temp>(set date=Fri 07/25/2008 )
C:\DOCUME~1\applmgr\LOCALS~1\Temp>FOR /F "delims==" %a IN ('TIME /T') DO (set time=%a )
C:\DOCUME~1\applmgr\LOCALS~1\Temp>(set time=05:49 PM )
C:\DOCUME~1\applmgr\LOCALS~1\Temp>ECHO FINISHED INSTALL PHASE : 8I RDBMS : Fri 07/25/2008 05:49 PM
FINISHED INSTALL PHASE : 8I RDBMS : Fri 07/25/2008 05:49 PM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>echo "Database ORACLE_HOME installation succeeded"
"Database ORACLE_HOME installation succeeded"
e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd APPS APPS has suceeded
Step 1 of 3
Command: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd
Processing Step 2 of 3
Executing: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd APPS APPS
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM $Header: adrun9i.cmd 115.19 2003/07/17 00:44:06 psaddi ship $
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM ###############################################################
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM This file is automatically generated by AutoConfig. It will be read and overwritten.
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM If you were instructed to edit this file, or if you are not able to use the settings
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM created by AutoConfig, refer to Metalink document 165195.1 for assistance.
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM ###############################################################
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>FOR /F "delims==" %a IN ('DATE /T') DO (set date=%a )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>(set date=Fri 07/25/2008 )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>FOR /F "delims==" %a IN ('TIME /T') DO (set time=%a )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>(set time=05:49 PM )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>ECHO STARTED INSTALL PHASE : 9I RDBMS : Fri 07/25/2008 05:49 PM
STARTED INSTALL PHASE : 9I RDBMS : Fri 07/25/2008 05:49 PM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET JRE_PATH=D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\bin\java
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET JRE_CP=.;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\RapidWiz.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\rt.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\i18n.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\ewt-3_4_9.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\swingall-1_1_1.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\share-1_1_11.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\jnls.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\acc.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\help-3_1_8.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\oracle_ice-4_06_6.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\netcfg.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\xmlparserv2.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\adconfig.zip
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET ENV_FILE=e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET PATH=D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\unzip\NT;C:\Perl\bin;D:\MKS\bin;D:\MKS\bin\x11;D:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\VC98\Tools\WinNT;D:\VC98\MSDev98\Bin;D:\VC98\Tools;D:\VC98\bin
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET EC=ERRORCODE
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>IF "5" == "1" (SET THREADS=1 ) ELSE (SET THREADS=16 )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>CD /D C:\DOCUME~1\applmgr\LOCALS~1\Temp
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM Install 9i will only happen, if database is "db920"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if "db920" == "db920" goto :INSTALL_DB
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM Installing 9i RDBMS
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM Setting the driver file name
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>SET DRVNAME=gdb920.drv
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM install 9i
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>echo "Statusstring Installing 9i - D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\driver\db\driver\gdb920.drv"
"Statusstring Installing 9i - D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\driver\db\driver\gdb920.drv"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\bin\java -mx512M -classpath .;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\RapidWiz.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\rt.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\i18n.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\ewt-3_4_9.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\swingall-1_1_1.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\share-1_1_11.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\jnls.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\acc.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\help-3_1_8.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\oracle_ice-4_06_6.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\netcfg.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\xmlparserv2.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\adconfig.zip oracle.apps.ad.autoconfig.InstantiateFile -e e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml -d D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\driver\db\driver\gdb920.drv -pwd no_password_here -log e:\oracle\proddb\9.2.0\appsutil\log\PROD_sysd\dbInstall.log -nthreads 16 -verbose
Please specify valid number of threads. [1-12]
usage:
java oracle.apps.ad.autoconfig.InstantiateFile
-e ENV_FILE [[-d INST_DRV [-log LOGDIR -bacdir BACKDIR]] ||
[-d INST_DRV -tmpl TEMPLATE [-log LOGDIR -bacdir BACKDIR]] ||
[-tmpl TEMPLATE [-out OUTFILE]]] [-pwd PASSWORD] [-test] [-nthreads NUMBER]
java oracle.apps.ad.autoconfig.InstantiateFile
-name VAR_NAME -value VAR_VALUE [-tmpl TEMPLATE] -out OUTFILE [-pwd PASSWORD]
java oracle.apps.ad.autoconfig.InstantiateFile ENV_FILE INST_DRV
where:
ENV_FILE = Applications Context file to provide replacement vars
INST_DRV = Instantion File Driver to define templates to be instantiated
TEMPLATE = Template to be instantiated
LOGDIR = The log file directory (default=<APPL_TOP>/admin/<CONTEXTNAME>/log/timestamp)
BACKDIR = The directory for backing up previous templates
(default=<APPL_TOP>/admin/<CONTEXTNAME>/out/timestamp)
OUTFILE = Output file
PASSWORD = APPS password
VAR_NAME = A variable name to be replaced
VAR_VALUE = The value pair to VAR_NAME
NUMBER = Number of threads to be used in the zip action. Range [1-20]
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if 1 == 0 goto :DBINSTALL_OK
C:\DOCUME~1\applmgr\LOCALS~1\Temp>echo "Cannot execute Install for database ORACLE_HOME"
"Cannot execute Install for database ORACLE_HOME"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if "" == "TRUE" goto :DBINSTALL_OK
Error - script has returned an error: 1
Error Code received when running external process. Check log file for details.
Running Database Install Driver for PROD instance
Processing DriverFile = D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adridb.drv
Running Instantiation Drivers for D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adridb.drv
Invalid target file name in driver file: <s_com>\admin\out
instantiate file:
source : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adrun8i.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd to C:\DOCUME~1\applmgr\LOCALS~1\Temp\templbac\adrun8i.cmd
instantiate file:
source : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adrun9i.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd to C:\DOCUME~1\applmgr\LOCALS~1\Temp\templbac\adrun9i.cmd
instantiate file:
source : D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\template\adrundb.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrundb.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrundb.cmd to C:\DOCUME~1\applmgr\LOCALS~1\Temp\templbac\adrundb.cmd
Step 0 of 3
Command: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd
Processing Step 1 of 3
Step 1 of 3
Command: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd
Processing Step 2 of 3
Executing: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd APPS APPS
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM $Header: adrun9i.cmd 115.19 2003/07/17 00:44:06 psaddi ship $
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM ###############################################################
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM This file is automatically generated by AutoConfig. It will be read and overwritten.
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM If you were instructed to edit this file, or if you are not able to use the settings
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM created by AutoConfig, refer to Metalink document 165195.1 for assistance.
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM ###############################################################
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>REM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>FOR /F "delims==" %a IN ('DATE /T') DO (set date=%a )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>(set date=Fri 07/25/2008 )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>FOR /F "delims==" %a IN ('TIME /T') DO (set time=%a )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>(set time=05:49 PM )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>ECHO STARTED INSTALL PHASE : 9I RDBMS : Fri 07/25/2008 05:49 PM
STARTED INSTALL PHASE : 9I RDBMS : Fri 07/25/2008 05:49 PM
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET JRE_PATH=D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\bin\java
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET JRE_CP=.;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\RapidWiz.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\rt.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\i18n.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\ewt-3_4_9.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\swingall-1_1_1.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\share-1_1_11.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\jnls.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\acc.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\help-3_1_8.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\oracle_ice-4_06_6.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\netcfg.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\xmlparserv2.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\adconfig.zip
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET ENV_FILE=e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET PATH=D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\unzip\NT;C:\Perl\bin;D:\MKS\bin;D:\MKS\bin\x11;D:\MKS\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\VC98\Tools\WinNT;D:\VC98\MSDev98\Bin;D:\VC98\Tools;D:\VC98\bin
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>SET EC=ERRORCODE
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>IF "5" == "1" (SET THREADS=1 ) ELSE (SET THREADS=16 )
D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz>CD /D C:\DOCUME~1\applmgr\LOCALS~1\Temp
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM Install 9i will only happen, if database is "db920"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if "db920" == "db920" goto :INSTALL_DB
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM Installing 9i RDBMS
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM Setting the driver file name
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>SET DRVNAME=gdb920.drv
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM install 9i
C:\DOCUME~1\applmgr\LOCALS~1\Temp>REM
C:\DOCUME~1\applmgr\LOCALS~1\Temp>echo "Statusstring Installing 9i - D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\driver\db\driver\gdb920.drv"
"Statusstring Installing 9i - D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\driver\db\driver\gdb920.drv"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\bin\java -mx512M -classpath .;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\RapidWiz.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\rt.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jre\NT\1.3.1\lib\i18n.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\ewt-3_4_9.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\swingall-1_1_1.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\share-1_1_11.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\jnls.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\acc.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\help-3_1_8.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\oracle_ice-4_06_6.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\netcfg.jar;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\xmlparserv2.zip;D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\jlib\adconfig.zip oracle.apps.ad.autoconfig.InstantiateFile -e e:\oracle\proddb\9.2.0\appsutil\PROD_sysd.xml -d D:\Stage_area_11.5.9\startCD\Disk1\rapidwiz\driver\db\driver\gdb920.drv -pwd no_password_here -log e:\oracle\proddb\9.2.0\appsutil\log\PROD_sysd\dbInstall.log -nthreads 16 -verbose
Please specify valid number of threads. [1-12]
usage:
java oracle.apps.ad.autoconfig.InstantiateFile
-e ENV_FILE [[-d INST_DRV [-log LOGDIR -bacdir BACKDIR]] ||
[-d INST_DRV -tmpl TEMPLATE [-log LOGDIR -bacdir BACKDIR]] ||
[-tmpl TEMPLATE [-out OUTFILE]]] [-pwd PASSWORD] [-test] [-nthreads NUMBER]
java oracle.apps.ad.autoconfig.InstantiateFile
-name VAR_NAME -value VAR_VALUE [-tmpl TEMPLATE] -out OUTFILE [-pwd PASSWORD]
java oracle.apps.ad.autoconfig.InstantiateFile ENV_FILE INST_DRV
where:
ENV_FILE = Applications Context file to provide replacement vars
INST_DRV = Instantion File Driver to define templates to be instantiated
TEMPLATE = Template to be instantiated
LOGDIR = The log file directory (default=<APPL_TOP>/admin/<CONTEXTNAME>/log/timestamp)
BACKDIR = The directory for backing up previous templates
(default=<APPL_TOP>/admin/<CONTEXTNAME>/out/timestamp)
OUTFILE = Output file
PASSWORD = APPS password
VAR_NAME = A variable name to be replaced
VAR_VALUE = The value pair to VAR_NAME
NUMBER = Number of threads to be used in the zip action. Range [1-20]
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if 1 == 0 goto :DBINSTALL_OK
C:\DOCUME~1\applmgr\LOCALS~1\Temp>echo "Cannot execute Install for database ORACLE_HOME"
"Cannot execute Install for database ORACLE_HOME"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if "" == "TRUE" goto :DBINSTALL_OK
Error - script has returned an error: 1
Error Code received when running external process. Check log file for details.
Running Database Install Driver for PROD instance
Please guide.Hi,
Thank you for reply, i have changed the stage directory name but error is this one appearing, you can check above log file.
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if 1 == 0 goto :DBINSTALL_OK
C:\DOCUME~1\applmgr\LOCALS~1\Temp>echo "Cannot execute Install for database ORACLE_HOME"
"Cannot execute Install for database ORACLE_HOME"
C:\DOCUME~1\applmgr\LOCALS~1\Temp>if "" == "TRUE" goto :DBINSTALL_OK
Error - script has returned an error: 1
Error Code received when running external process. Check log file for details.
Running Database Install Driver for PROD instance
Processing DriverFile = D:\Stage11\startCD\Disk1\rapidwiz\template\adridb.drv
Running Instantiation Drivers for D:\Stage11\startCD\Disk1\rapidwiz\template\adridb.drv
Invalid target file name in driver file: <s_com>\admin\out
instantiate file:
source : D:\Stage11\startCD\Disk1\rapidwiz\template\adrun8i.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd to C:\Documents and Settings\applmgr\My Documents\templbac\adrun8i.cmd
instantiate file:
source : D:\Stage11\startCD\Disk1\rapidwiz\template\adrun9i.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd to C:\Documents and Settings\applmgr\My Documents\templbac\adrun9i.cmd
instantiate file:
source : D:\Stage11\startCD\Disk1\rapidwiz\template\adrundb.cmd
dest : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrundb.cmd
backup : e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrundb.cmd to C:\Documents and Settings\applmgr\My Documents\templbac\adrundb.cmd
Step 0 of 3
Command: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun8i.cmd
Processing Step 1 of 3
Step 1 of 3
Command: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd
Processing Step 2 of 3
Executing: e:\oracle\proddb\9.2.0\temp\PROD_sysd\adrun9i.cmd APPS APPS
------------------------------------------ -
Is it necessary to prepare objects if use dbms_apply_admin to instantiation
Metalink says instantiation of database objects for Oracle Streams involves the steps as:
1. Prepare the objects for instantiation at the source site.
2. Create a copy of the objects at the destination site (ifnecessary).
3. Set the instantiation SCN for the objects at the destination site.
My question is: if we didn't use exp/imp as we already has the objects in the destination database, do we still need the step one? Can't we execute the dbms_apply_admin directly?Hi,
Yes you can issue the apply directly. If the tables are the same (I like to insert-select) then you need to run the following steps:
1. Set up the q at the source (DBMS_STREAMS_ADM.SET_UP_QUEUE)
2. Set up the q at the target
3. Add the prop rules (DBMS_STREAMS_ADM.ADD_TABLE_PROPAGATION_RULES)
4. Add the capture rules at the source
5. Set the scn (from source) at the target (DBMS_APPLY_ADM.SET_SCHEMA_INSTANTIATION_SCN)
6. add the apply rules
7. start apply
8. start capture
You can skip the ones you have already done but I would stop what you have and start when everything is in place.
Mike -
JAAS in Java StoredProcedures: How to set up LoginModule
Hi,
has anyone tried to use JAAS in a Java StoredProcedure on Oracle9i?
I couldn't find out how to set up the JVM to find the login configuration. Here the error I get, whenn I run the StoredProcedure:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException: Unable to locate a login configuration
Here is what I did so far:
1. copy jaas.jar into the $JAVA_HOME/lib/ext directory
2. add to $JAVA_HOME/lib/security/java.security
login.config.url.1=file:C:/my_jaas.config
3. provide configuration file my_jaas.config
Test {
auth.MyLoginModule required debug=true;
4. loadjava for jaas.jar (TEST schema)
5. setup of the database security:
dbms_java.grant_policy_permission( 'JAVA_ADMIN', 'TEST', 'javax.security.auth.AuthPermission', '*' );
dbms_java.grant_permission( 'TEST', 'TEST:javax.security.auth.AuthPermission', 'createLoginContext', null );
dbms_java.grant_permission( 'TEST', 'TEST:javax.security.auth.AuthPermission', 'getLoginConfiguration', null );
dbms_java.grant_permission( 'TEST', 'SYS:java.security.SecurityPermission', '*', null );
6. loadjava for the StoredProcedure (TEST schema)
LoginContext lc = new LoginContext( "Test", new TestCallbackHandler() );
lc.login();
How can I tell the database where to look for the login configuration. Am I missing something here?
Thanks for any help
Regards,
ChristianHi,
has anyone tried to use JAAS in a Java StoredProcedure on Oracle9i?
I couldn't find out how to set up the JVM to find the login configuration. Here the error I get, whenn I run the StoredProcedure:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException: Unable to locate a login configuration
Here is what I did so far:
1. copy jaas.jar into the $JAVA_HOME/lib/ext directory
2. add to $JAVA_HOME/lib/security/java.security
login.config.url.1=file:C:/my_jaas.config
3. provide configuration file my_jaas.config
Test {
auth.MyLoginModule required debug=true;
4. loadjava for jaas.jar (TEST schema)
5. setup of the database security:
dbms_java.grant_policy_permission( 'JAVA_ADMIN', 'TEST', 'javax.security.auth.AuthPermission', '*' );
dbms_java.grant_permission( 'TEST', 'TEST:javax.security.auth.AuthPermission', 'createLoginContext', null );
dbms_java.grant_permission( 'TEST', 'TEST:javax.security.auth.AuthPermission', 'getLoginConfiguration', null );
dbms_java.grant_permission( 'TEST', 'SYS:java.security.SecurityPermission', '*', null );
6. loadjava for the StoredProcedure (TEST schema)
LoginContext lc = new LoginContext( "Test", new TestCallbackHandler() );
lc.login();
How can I tell the database where to look for the login configuration. Am I missing something here?
Thanks for any help
Regards,
Christian Hi, this is not supported yet - although some guys, on the forum, successfully implements JSSE but i am not allowed to disclose how they did it.
we hope to provide formal support for JAAS, JSSE and JCE in upcoming major database release
Kuassi -
Problem Accessing Instantiated Objects
I'm sorry for the long code that follows. Am hoping that someone can point out some ideas for how to structure this properly. Following my instructor's cookie requirements, the first panel two user inputed balances and an interest rate. Two objects are instantiated, one for each balance, in a seperate class. The results of 12 months of savings are then displayed in the 2nd panel. There is then the required option to change the interest rate. When modified, it should show the new interests and balances for the original balances instead.
I successfully got the first set of interests and new balances, and thought, "sweet! I'm home free now!"
Because God himself hates me, this is of course not the case. It's not recognizing the objects in the second event, which is modifying the interest rate.
I'm not sure how I can restructure this so that the objects which are instantiated using user input can be accessible by both events. If anybody can suffer through looking at all this junk and has some ideas (or even just some general advice on how to manipulate objects), I'd appreciate it.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.text.DecimalFormat;
public class SavingsTest extends JFrame
private JLabel balanceLabel, dollaSign, balanceLabel2, dollaSign2, percentSign, rateLabel;
private JTextField balanceField, balanceField2, rateField;
private JTextArea displayArea;
private JButton submitButton, modifyButton;
private String cBalance1S, cBalance2S, intRateS;
private double cBalance1, cBalance2, intRate, oldBalance1, oldBalance2;
// Constructor creates frame
public SavingsTest ()
super( "Savings Calculator" );
Container container = getContentPane();
JPanel mainPanel = new JPanel();
mainPanel.setLayout(new FlowLayout());
mainPanel.setBorder(BorderFactory.createEmptyBorder(5,5,5,5));
* INPUT PANEL *
JPanel inputPanel = new JPanel();
inputPanel.setLayout(null);
inputPanel.setPreferredSize(new Dimension(500,250));
// inputPanel.setBackground(Color.white);
inputPanel.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder("Enter Data"),
BorderFactory.createEmptyBorder(5,5,5,5)));
// Consumer 1 Balance Components
balanceLabel = new JLabel ("Enter Customer 1 balance:");
balanceLabel.setBounds(85,25,168,24);
inputPanel.add(balanceLabel);
dollaSign = new JLabel ("$ ");
dollaSign.setBounds(125,55,168,24);
inputPanel.add(dollaSign);
balanceField = new JTextField(10);
balanceField.setBounds(145,55,50,24);
inputPanel.add(balanceField);
// Consumer 2 Balance Components
balanceLabel2 = new JLabel ("Enter Customer 2 balance:");
balanceLabel2.setBounds(265,25,168,24);
inputPanel.add(balanceLabel2);
dollaSign2 = new JLabel ("$ ");
dollaSign2.setBounds(305,55,168,24);
inputPanel.add(dollaSign2);
balanceField2 = new JTextField(10);
balanceField2.setBounds(325,55,50,24);
inputPanel.add(balanceField2);
// Interest Rate Components
rateLabel = new JLabel ("Enter annual rate :");
rateLabel.setBounds(215,105,168,24);
inputPanel.add(rateLabel);
percentSign = new JLabel ("% ");
percentSign.setBounds(215,145,168,24);
inputPanel.add(percentSign);
rateField = new JTextField(10);
rateField.setBounds(235,145,50,24);
inputPanel.add(rateField);
// Submit Button Component
submitButton = new JButton("SUBMIT");
submitButton.setBounds(215, 185, 80, 30);
inputPanel.add(submitButton);
mainPanel.add(inputPanel);
* DISPLAY PANEL *
JPanel displayPanel = new JPanel();
displayPanel.setLayout(null);
displayPanel.setPreferredSize(new Dimension(500,375));
displayPanel.setBorder(BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder("Monthly Interest & Balances"),
BorderFactory.createEmptyBorder(5,5,5,5)));
// Modify Interest Rate Button Component
modifyButton = new JButton("Modify Rate");
modifyButton.setEnabled( false );
modifyButton.setBounds(215, 25, 80, 30);
displayPanel.add(modifyButton);
// Display Area Component
displayArea = new JTextArea();
displayArea.setEditable(false);
displayArea.setBounds(25,85,445,275);
displayPanel.add(displayArea);
mainPanel.add(displayPanel);
* MAIN PANEL *
container.add( mainPanel);
setSize(630, 700);
setVisible( true );
* SUBMIT BUTTON EVENT *
submitButton.addActionListener(
new ActionListener()
{ // Open ActionListener
public void actionPerformed (ActionEvent e)
getInput();
} // Close ActionListener
* MODIFY BUTTON EVENT *
modifyButton.addActionListener(
new ActionListener()
{ // Open ActionListener
public void actionPerformed (ActionEvent e)
modifyInput();
} // Close ActionListener
} // End Constructor
public static void main ( String args[] )
SavingsTest initiate = new SavingsTest();
initiate.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
private void getInput()
// Get values from fields and assign to Strings
cBalance1S = balanceField.getText();
balanceField.setText("");
cBalance2S = balanceField2.getText();
balanceField2.setText("");
intRateS = rateField.getText();
rateField.setText("");
// Parse Strings to doubles, etc
cBalance1 = Double.parseDouble(cBalance1S);
cBalance2 = Double.parseDouble(cBalance2S);
intRate = Double.parseDouble(intRateS);
intRate = intRate * .01;
oldBalance1 = cBalance1;
oldBalance2 = cBalance2;
submitButton.setEnabled( false );
modifyButton.setEnabled( true );
SavingsAccount account1 = new SavingsAccount(cBalance1, intRate);
SavingsAccount account2 = new SavingsAccount(cBalance2, intRate);
displayArea.append("\t Account 1\t\t Account 2\n");
displayArea.append("\tInterest\tBalance\tInterest\tBalance\n");
DecimalFormat twoDigits = new DecimalFormat( "0.00");
// Calculate Interests & Balances, then display
for (int i = 1; i <13; i++)
double interest1 = account1.calculateMonthlyInterest ();
double interest2 = account2.calculateMonthlyInterest ();
double newBalance1 = account1.calculateNewBalance(interest1);
double newBalance2 = account2.calculateNewBalance(interest2);
displayArea.append("Month " + i + ":\t" + twoDigits.format(interest1)
+ "\t" + twoDigits.format(newBalance1) + "\t" +
twoDigits.format(interest2) + "\t" + twoDigits.format(newBalance2)
+ "\n");
private void modifyInput()
intRateS = JOptionPane.showInputDialog(" Enter new annual rate: ");
intRate = Double.parseDouble(intRateS);
SavingsAccount.modifyInterestRate(intRate);
displayArea.setText("");
displayArea.append("\t Account 1\t\t Account 2\n");
displayArea.append("\tInterest\tBalance\tInterest\tBalance\n");
DecimalFormat twoDigits = new DecimalFormat( "0.00");
// Calculate Interests & Balances, then display
for (int i = 1; i <13; i++)
// ERROR IS HERE WHERE IT DOES NOT RECOGNIZE THE OBJECTS
double interest1 = account1.calculateMonthlyInterest ();
double interest2 = account2.calculateMonthlyInterest ();
double newBalance1 = account1.calculateNewBalance(interest1);
double newBalance2 = account2.calculateNewBalance(interest2);
displayArea.append("Month " + i + ":\t" + twoDigits.format(interest1)
+ "\t" + twoDigits.format(newBalance1) + "\t" +
twoDigits.format(interest2) + "\t" + twoDigits.format(newBalance2)
+ "\n");
I believe I did indeed state was not being recognized.I didn't see it. But then, I didn't read all your code either. That's not me (or paul) being an asshole--it's just too much code.
Besides in the content of my post, if I were a
gambling woman, I'd wager it's probably within that
code which you went through so much trouble to make
sure everybody knows you aren't reading. He wasn't doing that for anybody's benefit but your own. That is a lot of code to read. Pasting in the exact error message the compiler gave you would have made it a lot easier for someone to help you. Yawmark waas very kind, but in general, if you want help here, you should post details about what the problem is. "Not recognizing objects" means next to nothing, but the actual error message tells us a lot. In fact, you should take a stab at reading it yourself. Error messages are your friends. They tell you pretty precisely what was wrong and where.
It says
exactly where the objects are unrecognizable. It's
even in big, red, pretty letters.The compiler gave you a lot more detail than that. You didn't indicate which objects.
But why make posts which make coherent sense when you
could just make an ass of yourself without all that
silly reading.Paul's comments were intended to goad you into posting something that would make it easier for people to help you.
>
For example, complaining that there's too much code
(having seen only half the code at that), It doesn't matter if that was only 0.001% of your code. It's too much to post here for that problem. It's understandable that you wouldn't know that, as you're new here, but copping an attitude instead of accepting the constructive criticism doesn't really accomplish anything.
The only thing lending itself to the idea that God
hates me is the fact that he let some idiot such as
yourself wonder into this thread. There are some
brilliant, wonderful, kind, and very helpful people on
these forums to which I am eternally grateful. Then I
guess there's also you.Actually, paulcw helps a lot of people here. Like most of us, he gets annoyed sometimes at poorly constructed questions.
I hope that you won't take the above as a personal attack. It's not intended that way. It's intended to be constructive criticism. -
Hi all,
I am using Oracle Weblogic 10.3 and I want to use JAAS authentication. As a start, I checked the sample code given at
SAMPLES_HOME\server\examples\src\examples\security\jaas.
I have few questions:
1. In SampleClient.java:
-We're first retrieving the authenticated subject :
Subject subject = loginContext.getSubject();
-Then , we perform SampleAction
-Then we call the weblogic.security.Security.Security.runAs(subject, sampleAction);
I noticed that SampleAction and SampleClient are dependent on Weblogic. In SampleClient, we're calling the weblogic runAS method.
Theoretically, JAAS is independent of the application server. Is there a way to implement JAAS with Weblogic in a way that it is independent of Weblogic?
I have to run my application on multiple AS (Oracle weblogic 10.3, JBoss). I want to check if it is possible to write the code once for JAAS (e.g: one LoginModule) for both servers ?
2. In the sample given, they are using the UsernamePasswordLoginModule which is located in Weblogic.jar. And in the documentation it is said, that if you want to write your own LoginModule, you must have it call the weblogic.security.auth.Authenticate.authenticate() method to perform the login.
Can you explain please why?
In JAAS, it is said that my application-layer code deals primarily with a LoginContext. Underneath that LoginContext is a set of one or more dynamically configured LoginModules, which handle the actual authentication using the appropriate security infrastructure (JndiLoginModule, RdbmsLoginModule).
In fact, I need to be able to create the JAAS files once for all application servers (e.g: Weblogic, Jboss). As I noticed from the research I have done, this is not possible now because we must call the Weblogic authenticate in the login module.
This said, when using JAAS with Weblogic, I must write JAAS classes for Weblogic; and when using JAAS with JBoss, I must write JAAS classes for JBOSS.
Is this true? Is there another method to implement JAAS in a way that it will be totally independent of the Application Server?
Thank you in advance.Try asking your weblogic question in the... weblogic forums!
https://forums.oracle.com/forums/category.jspa?categoryID=193 -
How to do JAAS and J2EE Deployment Descriptor ACL : Please help
I am trying to develop a Single sign on application using EJB's, JAAS,
ACL, struts and JSP to Log in with a form authenticate (using
j_security_check to hook into the web.xml security) then pull a user
from a database and use the roles defined there for authorization in
the rest of the system?
The examples on the web are from java clients to RMI, they also sit
alone. They dont say how to hook them into weblogic. They say to use
JAAS but they have just JAAS examples! No hooking of it into an EJB,
servlet, etc! They also dont show how to hook that code into web
server to use it as your security module!
What Settings/configuration I need to make in the web server for JAAS
to work. How the logic proceeds to authorization after form is
submitted using j_security_check. and to further logic in the
application. How is it then integrated with the Struts action forms.
Help, I'm at a loss. They recommend using JAAS but their documentation
and examples do not explain how. We have a complex real world product
and need examples of
the same. Can somebody provide me a working real-life example which
really work and give me some pointers to proceeds that will be really
helpful.
Thanks in advance for the help.I am trying to develop a Single sign on application using EJB's, JAAS,
ACL, struts and JSP to Log in with a form authenticate (using
j_security_check to hook into the web.xml security) then pull a user
from a database and use the roles defined there for authorization in
the rest of the system?
The examples on the web are from java clients to RMI, they also sit
alone. They dont say how to hook them into weblogic. They say to use
JAAS but they have just JAAS examples! No hooking of it into an EJB,
servlet, etc! They also dont show how to hook that code into web
server to use it as your security module!
What Settings/configuration I need to make in the web server for JAAS
to work. How the logic proceeds to authorization after form is
submitted using j_security_check. and to further logic in the
application. How is it then integrated with the Struts action forms.
Help, I'm at a loss. They recommend using JAAS but their documentation
and examples do not explain how. We have a complex real world product
and need examples of
the same. Can somebody provide me a working real-life example which
really work and give me some pointers to proceeds that will be really
helpful.
Thanks in advance for the help. -
OC4J 9.0.3: JAAS Compliant LoginModule support !
Hi,
I have a requirement where I need to migrate my JAAS Compliant LoginModule(implements LoginModule interface) from Weblogic to OC4J. I want to use my Custom LoginModule to perform authentication at the Web Tier and Ejb Tier and let the containers handle the details. I only want to plug in my Login Module as needed. The Login Module works absolutely fine as it is on Weblogic and JBoss, but fails to work on OC4J. This is the error that I get :-
When I call a protected EJB function the following error is found in the server.log file:
The run-as user is not an instance of com.evermind.security.User
Why is it looking for a "User" of this instance? I am using all standard JAAS compliant
classes:
javax.security.auth.spi.LoginModule to implement my Login Module
java.security.Principal to implement my Principal
java.security.acl.Group to implement by Group/Role
As of OC4J version 9.0.3 does it have Support for JAAS Compliant custom login module??
These are the source files that I have
1) JAAS Compliant Login Module (implement LoginModule interface)
2) JAAS compliant Principal (implement Principal interface)
3) JAAS compliant Group (implement Principal interface and Group interface)
4) Allow Web Tier and EJB Tier to be authenticated and authorized
Now how do I go about deploying the same on OC4J.
Any help would be appreciated.
Thanks in Advance,
Easwar.Hello All,
As I was going through JAAS implementation using the iPlanet LDAP as our user/role data source found that its not just the LoginModule you have to write in addition to this you would end up wirting a whole new set of classes for manaing the users i.e UserManager :(
Here is the list of classes we have to implement to get the container managed declarative security model to work with the Web (web.xml) and EJB containers (ejb-jar.xml)
1 SampleAuthenticator.java
2 SampleLoginModule.java
3 SampleProvider.java
4 SampleRealm.java
5 SampleRealmManager.java
6 SampleRealmPrincipal.java
7 SampleRealmRole.java
8 SampleRealmUser.java
9 SampleRoleManager.java
10 SampleUserManager.java
I have still some doubt that after implementing this there could be some more catch and the implementation may still not work!!! :(
Have any one done such an implementation?
if some one has done this please let us know is it worth implementing them?
Thank you
Mallik -
How to create Jaas Login module !! Urgent
<b>Hi developers</b>
I want to make some changes in logon messages. Right now we are getting only error <b>user authentication failed </b> on the portal even if user is locked or some other reason is there for failed authentiaction. I want proper message should be displaying based on user input. For it I hope its good to <b>create Jaas logon module</b> so that i can modify it accordingly .
kindly if any one can give me way out , its urgent.
how to create it step by step. it would be highly appriciable.
any inputs are appriciated .
Thanks in advance
<b>Abhay</b>Hi Abhay,
1.) Every question is "urgent"... Please read https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement - section "Use a Good Subject Line"
2.) For JAAS Login Modules examples, see https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4d65ed90-0201-0010-3aba-9209836e8242
Hope it helps
Detlev
Maybe you are looking for
-
I have been scanning slides into Photo Shop Elements 10 and although I have backed them up on an external hard drive... They will suddenly disconnect in Photo Shop and I am unable to retrieve them. Has anyone any solutions? Also I have deleted scann
-
SMART DATA--A little High for my tastes
Hi I have a 5.5g ipod that is 80 gigabytes. I want to know if my smart values seem normal for having it for one month. I have 91 Retracts 36 reallocs 49 power on hours (I know that higher is better for this value) Start/Stops 2576 (seems very high fo
-
I need to install the SOLMAN, in my landscape or another server ??
Hi experts, My landscape is the typical landscape; Production Server, Test Server and development Server. I need to install the SAP Solution Manager; This installation would have to do it in some of my existing servers (Production, Test or Developmen
-
I'm trying to make <a href...>content</a> links in my XML to be read by my flash movie. I can get regular text read but never an actual link. Is this impossible? I've been searching the internet for hours on how to make href's in xml. Please, someone
-
Hi All, I am new to ABAP. as per our client requirement we need to call background job though a abap code. How can we retrive background jobs? where/in which tabl are names of backghround job saved?