Swati Save

Greenhorn
+ Follow
since Mar 06, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Swati Save

Hi,

I have JAAS config file as below,

dpJndi {
com.hp.ov.cwc.security.jaas.JndiLoginModule required
user.provider.url="ldap://swatsaveltd.com:389/cn=users,dc=swatsaveltd,dc=com"
security.principal="anonymous logon"
security.credentials=""
group.provider.url="ldap://swatsaveltd.com:389/ou=SECURITY GROUPS,ou=GROUPS,dc=swatsaveltd,dc=com"
security.authentication="simple"
group.search.objectClass="group"
use.samAccount.name="true"
user.search.scope=subtree_scope
group.search.scope=subtree_scope;
}

This is allowing user from a perticular OU to login. I want user from all the OUs can log in to the application (People, Group etc.). Please suggest me on what kind of changes I need to do in the file.

Also is it neccessry to put below statement in the cofiguration?
group.search.objectClass="group"


14 years ago
Hi,

I have JAAS config file as below,

dpJndi {
com.hp.ov.cwc.security.jaas.JndiLoginModule required
user.provider.url="ldap://swatsaveltd.com:389/cn=users,dc=swatsaveltd,dc=com"
security.principal="anonymous logon"
security.credentials=""
group.provider.url="ldap://swatsaveltd.com:389/ou=SECURITY GROUPS,ou=GROUPS,dc=swatsaveltd,dc=com"
security.authentication="simple"
group.search.objectClass="group"
use.samAccount.name="true"
user.search.scope=subtree_scope
group.search.scope=subtree_scope;
}

This is allowing user from a perticular OU to login. I want user from all the OUs can log in to the application (People, Group etc.). Please suggest me on what kind of changes I need to do in the file.

Also is it neccessry to put below statement in the cofiguration?
group.search.objectClass="group"


14 years ago
Hey hi,

you must save your program with the same name as your class name.
if you are taking your class name as Test and while saving your writing test.java
program will compile without any error but while execution it will give such exception.

Cheers!
14 years ago
Thanks man,

i did try that. their was no process like that.

i am happy that i now i can work on my project ay my place.

class Machine Room Sucks !

Swati Save
14 years ago
Keywords are reserved words like(static,public......) which has a special meaning for compilers.

Identifier can be name of any variable or any name used to identify an object or entity .hence keywords cannot be used as an identifier



14 years ago
Hey you guys thank you very much

Because of your guidance problem is solved

that run thing worked

the Exception was

java.net.BindException: Address already in use: JVM_Bind:8080

i just change the port from

Tomcat_install/conf/server.xml

file

now it is working fine

thank you very much
14 years ago
sir,

second dos window must appear showing tomcat is started

thats not happening

it appears and quickly disaperars

i am trying with new versions anyways

Thanks
14 years ago
Sorry for earlier

I will again try with earlier versions

Thanks
14 years ago
hello

start>run>cmd

on cmd

C:\>cd "Tomcat 4.1"
C:\Tomcat 4.1>cd bin
C:\Tomcat 4.1\bin>startup.bat
Using CATALINA_BASE: ..
Using CATALINA_HOME: ..
Using CATALINA_TMPDIR: ..\temp
Using JAVA_HOME: C:\jdk1.3
C:\Tomcat 4.1\bin>

another dos window must appear
it appears and quickly disaperars

i did't chk the Tomcat log file
from where can i chk that?

thanks,
Swati

14 years ago
i m tryin to start Tomcat 4 from cmd,
it automatically stoped

it is not givin anything on cmd

when i view my event viewer i get

"The Java Virtual Machine has exited with a code of 1, the service is being stopped."

I dont have IIS installed.
& only one jdk installed.

Thanks
Swati

14 years ago
ya i know it is outdated

but what can be the solution to the problem

i mean if i m putting jdk 6 & Tomcat 6

still it is ginving same stuff

i m so fustrated, need solution

my final project is pending 'couse of this

thaks nayways

14 years ago
Hi,

I installed JDK1.3, I set the environment variable as JAVA_HOME set the jdk path,
then I installed Tomcat 4 on my machine,

i m tryin to start it from cmd,
it automatically stoped

when i view my event viewer i get

"The Java Virtual Machine has exited with a code of 1, the service is being stopped."

Please help me




14 years ago