NTRealm
I set up ntrealm according to the document in managing the security. I am running through weblogic start command script. When I try to run wlserver 6.1 it crashes giving an error
<Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.lang.SecurityException:
Unable to assert all required priviledges -- bad domain name
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to
assert all required priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:265)
at weblogic.security.SecurityService.initialize(SecurityService.java:123)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
'>
Also I needed the clarification of primary domain name while defining ntrealm. What is the host and port number stand for.
I have 2 servers one is windowsnt and other one is for weblogic server.
If I have to start weblogic as windows nt service should I re install weblogic server?
Any help will be appreciated.
Thanks
Madhu
Hi Madhu
Make sure that in the domain, you are specifying the DNS name of your Primary Domain Controller, and not the "Windows NT" name of your workstation.
I am pretty sure that WebLogic defaults to the "correct" port for this sort of thing, so you don't have to specify the port at all. Just the DNS name.
If I have to start weblogic as windows nt service should I re install weblogic server?no. check out the installNtService.cmd script in the /config/mydomain or /config/examples directories -- (I cant remember which directory it is in)
Hope this helps.
Joe Jerry
Similar Messages
-
What port number to use with NTRealm
When I configured the NTRealm in the WLS console, the documentation mentioned that for NT Domain, I was supposed to provide the "name" and "port" values for the PDC machine. I gave the name of the machine on that field, but did not know what to specifiy as the "port" value. Now, when I run the "java weblogic.security.ntrealm.NTRealm..." command, I get an "Unable to adjust token privileges" exception, below which there is another exception with the words "bad domain name" in it.
That leads me to believe that its not liking the DNS name of the PDC server that I entered earlier. Can someone tell me what is this "port" value that is referred to in the docs?
Thanks.You shouldn't have to enter a port number for the PDC. Could you point out
in the documentation where you saw this.
It should only be:
java weblogic.security.ntrealm.NTRealm user password your_PDC
Are you sure you are logged into your domain? Is that user part of the
domain? If you use an admin account for the PDC does it work?
Patrick
"Nadeem" <[email protected]> wrote in message
news:3cd96658$[email protected]..
When I configured the NTRealm in the WLS console, the documentationmentioned that for NT Domain, I was supposed to provide the "name" and
"port" values for the PDC machine. I gave the name of the machine on that
field, but did not know what to specifiy as the "port" value. Now, when I
run the "java weblogic.security.ntrealm.NTRealm..." command, I get an
"Unable to adjust token privileges" exception, below which there is another
exception with the words "bad domain name" in it.
>
That leads me to believe that its not liking the DNS name of the PDCserver that I entered earlier. Can someone tell me what is this "port"
value that is referred to in the docs?
>
Thanks. -
Any setting example in congig.xml to create a NTRealm?
Hi,
Is there any setting example(in config.xml) for NTRealm since I am not able
to create one from the admin console?
Thanks!Hi,
Is there any setting example(in config.xml) for NTRealm since I am not able
to create one from the admin console?
Thanks! -
NTRealm failed when updating to SP8
I tried to update NTRealm from SP4 to SP8. I followed all the instructions from
document. When I restart weblogic the following error message comes up:
Unable to initialize server: java.lang.RuntimeException: OS error=53: T
fatal initialization exception
java.lang.RuntimeException: OS error=53: T
at weblogic.security.ntrealm.NTResumeEnum.populate0(Native Method)
at weblogic.security.ntrealm.NTResumeEnum.populate(NTDelegate.java, Comp
iled Code)
at weblogic.security.ntrealm.NTResumeEnum.<init>(NTDelegate.java, Compil
ed Code)
at weblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:16
7)
at weblogic.security.ntrealm.NTRealm.getGroup(NTRealm.java, Compiled Cod
e)
at weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1435)
at weblogic.security.acl.CachingRealm.getPrincipal(CachingRealm.java:102
0)
at weblogic.security.acl.CachingRealm.addPermission(CachingRealm.java,
C
ompiled Code)
at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java, Compi
led Code)
at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1759)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Thank you very much.Sorry, this is a follow-up to the following posting from April:
Subject: NTRealm failed when updating to SP8
Date: Thu Apr 19 11:54:03 PDT 2001
From: "Bill" <[email protected]>
Organization: BEA SYSTEMS Inc
Newsgroups: [weblogic.developer.interest.security]
I tried to update NTRealm from SP4 to SP8. I followed all the instructions
from
document. When I restart weblogic the following error message comes up:
Unable to initialize server: java.lang.RuntimeException: OS error=53: T
fatal initialization exception
java.lang.RuntimeException: OS error=53: T
at weblogic.security.ntrealm.NTResumeEnum.populate0(Native Method)
at weblogic.security.ntrealm.NTResumeEnum.populate(NTDelegate.java,
Comp
iled Code)
at weblogic.security.ntrealm.NTResumeEnum.<init>(NTDelegate.java,
Compil
ed Code)
at
weblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:16
7)
at weblogic.security.ntrealm.NTRealm.getGroup(NTRealm.java, Compiled
Cod
e)
at
weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1435)
at
weblogic.security.acl.CachingRealm.getPrincipal(CachingRealm.java:102
0)
at
weblogic.security.acl.CachingRealm.addPermission(CachingRealm.java,
C
ompiled Code)
at weblogic.security.acl.CachingRealm.setupAcls(CachingRealm.java,
Compi
led Code)
at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:706)
at weblogic.security.acl.CachingRealm.<init>(CachingRealm.java:564)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1759)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Thank you very much. -
OS error=53 authenticating to NTRealm
WL 5.1.0 SP9
Windows NT
NTRealm Authentication
Regularly (about once a week) we have an instance of a WL-powered app
failing to authenticate users. The log logs the following exception 3-4
times. The server otherwise starts up fine. Server run as an NT service.
It looks like the server can't reach the NT domain controller(s) to
enumerate the Groups.
Any ideas?
## START
Mon Sep 10 15:37:43 EDT 2001:<E> <Adapter> Exception thrown by rmi server:
[4499837770978297456S3.104.140.52:[7001,7001,7002,7002,7001,-1]/259]
java.lang.RuntimeException: OS error=53: T
at weblogic.security.ntrealm.NTResumeEnum.populate0(Native Method)
at weblogic.security.ntrealm.NTResumeEnum.populate(NTDelegate.java:410)
at weblogic.security.ntrealm.NTResumeEnum.<init>(NTDelegate.java:327)
at weblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:169)
at weblogic.security.ntrealm.NTRealm.getGroup(NTRealm.java:76)
at weblogic.security.ntrealm.NTRealmEx.getGroup(NTRealmEx.java:107)
at
mks.frame.security.server.MKSRealmAuthentication.getGroup(MKSRealmAuthentica
tion.java:296)
at java.lang.reflect.Method.invoke(Native Method)
at
mks.frame.security.server.DelegatingRealm$Proxy.invoke(DelegatingRealm.java:
648)
at
mks.frame.security.server.DelegatingRealm.callProxyEx(DelegatingRealm.java:6
03)
at
mks.frame.security.server.DelegatingRealm.callProxy(DelegatingRealm.java:568
at
mks.frame.security.server.DelegatingRealm.callProxy(DelegatingRealm.java:556
at
mks.frame.security.server.DelegatingRealm.getGroup(DelegatingRealm.java:397)
at weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1507)
at
weblogic.ejb.internal.SecurityRoleMapping.lookupPrincipal(SecurityRoleMappin
g.java:242)
at
weblogic.ejb.internal.SecurityRoleMapping.getSecurityRolePrincipals(Security
RoleMapping.java:85)
at
weblogic.ejb.internal.SecurityRoleMapping.isPrincipalInRole(SecurityRoleMapp
ing.java:159)
at weblogic.ejb.internal.EJBHomeImpl.checkAccess(EJBHomeImpl.java:724)
at
mks.frame.security.server.RealmDataManagerBeanHomeImpl.create(RealmDataManag
erBeanHomeImpl.java:22)
at
mks.frame.security.server.RealmDataManagerBeanHomeImpl_WLSkel.invoke(RealmDa
taManagerBeanHomeImpl_WLSkel.java:91)
at
weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerObjectAda
pter.java:347)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicRequestHandle
r.java:86)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
## ENDdavid possinger wrote:
> 2008-08-27 14:32:53 1 12885 MEMORY 2500 Pages allocated for I/O buffer cache
> 2008-08-27 14:32:53 1 12886 TASKING Maximum task stack size 1024KB
> 2008-08-27 14:32:53 1 12886 TASKING Task stack at system choosen address
> 2008-08-27 14:32:53 1 ERR 8 RTEMem No more system pages for 236855296 bytes available,BYTE_SIZE=4096,DESCRIPTION=valloc,ERRORTEXT=ENOMEM ? out of memo
> 2008-08-27 14:32:53 1 ERR 8 RTEMem ry
> 2008-08-27 14:32:53 1 ERR 11 RTEMem + Used 24141824 bytes from system heap with a limit of system imposed limitation bytes,ALLOC_COUNT=15,FREE_COUNT
> 2008-08-27 14:32:53 1 ERR 11 RTEMem + =0,ERROR_COUNT=0,BYTES_MAX_USED=260997120
> 2008-08-27 14:32:53 1 12886 TASKING Allocating task stack chunk for 225 tasks
> 2008-08-27 14:32:53 1 12886 TASKING Maximum single aligned task stack size 1024KB
> 2008-08-27 14:32:53 1 12886 TASKING Size of single task guard area 4KB
> 2008-08-27 14:32:53 1 ERR 11903 MEMORY FATAL: Allocate of task stack chunk failed
> 2008-08-27 14:32:53 1 ERR 11903 MEMORY Reduce number of tasks or task stack size to solve this problem
Hi David,
see above. Did you try to reduce the number of tasks?
What about free memory on OS level? What about free swap space on OS level? Are there any kernel parameters to be set in AIX? I'm not very familiar with AIX as I come from Solaris. But on Solaris you can configure different parameters for max files open etc. using kernel parameters. Is there something similiar in AIX?
Regards
André -
Hello all,
I am running Weblogic 6.0 sp2 on a Win2000 Server installation as a Service.
I have an NTRealm configured to use our PDC. If this is left running for a
while I get the following error and the application I have deployed using
the NTRealm for security does not allow any clients to access it. This
happens a few times a week, and 3 times yesterday. What can cause this
error, configuration, setup, our network admin? Please help, as it is a
showstopper.
Thanks in advance, Frank
####<Aug 1, 2001 12:47:53 PM EDT> <Error> <Kernel> <raider> <myserver>
<ExecuteThread: '9' for queue: 'default'> <testuser> <> <000000>
<ExecuteRequest failed>
java.lang.RuntimeException: the specified hostname for the Primary Domain
Controller is invalid: Invalid Name
at weblogic.security.ntrealm.NTResumeEnum.populate0(Native Method)
at weblogic.security.ntrealm.NTResumeEnum.populate(NTDelegate.java:423)
at weblogic.security.ntrealm.NTResumeEnum.<init>(NTDelegate.java:338)
at weblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:169)
at weblogic.security.ntrealm.NTRealm.getGroup(NTRealm.java:85)
at weblogic.security.acl.CachingRealm.getGroup(CachingRealm.java:1120)
at
weblogic.servlet.security.internal.WebAppSecurity.isPrincipalInRole(WebAppSe
curity.java:265)
at
weblogic.servlet.security.internal.WebAppSecurity.hasPermission(WebAppSecuri
ty.java:179)
at
weblogic.servlet.security.internal.SecurityModule.checkPerm(SecurityModule.j
ava:92)
at
weblogic.servlet.security.internal.FormSecurityModule.checkUserPerm(FormSecu
rityModule.java:320)
at
weblogic.servlet.security.internal.SecurityModule.beginCheck(SecurityModule.
java:149)
at
weblogic.servlet.security.internal.FormSecurityModule.checkA(FormSecurityMod
ule.java:160)
at
weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(Servle
tSecurityManager.java:150)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:1250)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1631)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)Hello,
Does this problem only occur on the system that does not have VISA properly installed? What LabVIEW version is this? This is important to see if anyone else has had similiar problem. Thanks.
National Instruments
RIO Embedded Hardware PSE
CompactRIO Developers Guide -
Hi All,
I posted the stuff below in the 'install' newsgroup as I thought it
might be a problem with SP6. Apparently this isn't the case and I've
been advised to post it here.
For interest , we've always run WLS from the command line with NTRealm
and it works fine (I tried it after seeing a comment to that effect
somewhere in one of the newsgroups). The problem is that when I run it
using SP2 it works fine, but I hit this problem with SP6 and the new
wlntrealm.dll file.
My NT priviliges haven't changed between SP2 and SP6.
< Original post below:>
I've just installed SP6 on WLS 5.1.0 (NT 4.0) and hit an NTRealm
problem. I
installed the new wlntrealm.dll file and removed the ntrealm.properties
file
as per the SP6 release notes. Note that I didn't install SP6 to fix any
NTRealm problems but had to install the new wlntrealm.dll file as I'm
using
NTRealm. If I don't use the new wlntrealm.dll I get a
java.lang.NoSuchFieldError when starting WLS. So, with the new
wlntrealm.dll, when starting WLS, I hit the following:
U n a b l e t o a d j u s t t o k e n p r i v i l e g e
s
java.lang.SecurityException: Unable to assert all required
priviledges
at weblogic.security.ntrealm.NTDelegate.initFields(Native
Method)
at
weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:162)
at
weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.SecurityException: Unable to assert all required priviledges
bad do
main name
at
weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:168)
at
weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException:
java.lang.IllegalAccessError:
java.
lang.SecurityException: Unable to assert all required priviledges -- bad
domain
name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to
assert
all
required priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
WebLogic Server terminated with an abnormal condition of 1
Hit return to continue...>>>>>>>>>Regards, Garry Baird.Was this ever satisfactorily resolved? We're having a similar problem. NTRealm worked (in a limited way) on WLS 5.1 up through service pack 5. With service pack 6 installed, we cannot start WLS either as a service or from the command line. We always get the token privilege error, even though the privilege is explicitly assigned to the user starting the WLS Service.
-Horst
"Paul Patrick" <[email protected]> wrote:
The message indicates that the account under which you are executing the
NTRealm does not
have the privilege to adjust a process token. This is a right that the
account under which you
execute the realm must be granted.
Check the account's rights in the Windows NT UserManager.
Paul Patrick
"Garry Baird" <[email protected]> wrote in message
news:[email protected]...
Hi All,
I posted the stuff below in the 'install' newsgroup as I thought it
might be a problem with SP6. Apparently this isn't the case and I've
been advised to post it here.
For interest , we've always run WLS from the command line with NTRealm
and it works fine (I tried it after seeing a comment to that effect
somewhere in one of the newsgroups). The problem is that when I run it
using SP2 it works fine, but I hit this problem with SP6 and the new
wlntrealm.dll file.
My NT priviliges haven't changed between SP2 and SP6.
< Original post below:>
I've just installed SP6 on WLS 5.1.0 (NT 4.0) and hit an NTRealm
problem. I
installed the new wlntrealm.dll file and removed the ntrealm.properties
file
as per the SP6 release notes. Note that I didn't install SP6 to fix any
NTRealm problems but had to install the new wlntrealm.dll file as I'm
using
NTRealm. If I don't use the new wlntrealm.dll I get a
java.lang.NoSuchFieldError when starting WLS. So, with the new
wlntrealm.dll, when starting WLS, I hit the following:
U n a b l e t o a d j u s t t o k e n p r i v i l e g e
s
java.lang.SecurityException: Unable to assert all required
priviledges
at weblogic.security.ntrealm.NTDelegate.initFields(Native
Method)
at
weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:162)
at
weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.SecurityException: Unable to assert all required priviledges
bad do
main name
at
weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:168)
at
weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException:
java.lang.IllegalAccessError:
java.
lang.SecurityException: Unable to assert all required priviledges -- bad
domain
name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to
assert
all
required priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
WebLogic Server terminated with an abnormal condition of 1
Hit return to continue...>>>>>>>>>Regards, Garry Baird. -
Hi All,
I've just installed SP6 on WLS 5.1.0 (NT 4.0) and hit an NTRealm problem. I
installed the new wlntrealm.dll file and removed the ntrealm.properties file
as per the SP6 release notes. Note that I didn't install SP6 to fix any
NTRealm problems but had to install the new wlntrealm.dll file as I'm using
NTRealm. If I don't use the new wlntrealm.dll I get a
java.lang.NoSuchFieldError when starting WLS. So, with the new
wlntrealm.dll, when starting WLS, I hit the following:
U n a b l e t o a d j u s t t o k e n p r i v i l e g e s
java.lang.SecurityException: Unable to assert all required
priviledges
at weblogic.security.ntrealm.NTDelegate.initFields(Native Method)
at weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:162)
at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.SecurityException: Unable to assert all required priviledges --
bad do
main name
at weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:168)
at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError:
java.
lang.SecurityException: Unable to assert all required priviledges -- bad
domain
name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert
all
required priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
WebLogic Server terminated with an abnormal condition of 1
Hit return to continue...>>>>>>>>>Regards, Garry Baird.No idea. i couldn't reproduce it here.
Post it in security newsgroup.
Kumar
Garry Baird wrote:
Hi Kumar,
Thanks for the reply. We've always run WLS from the command line with
NTRealm and it works fine (I tried it after seeing a comment to that
effect somewhere in one of the newsgroups). The problem is that when I
run it using SP2 it works fine, but I hit this problem with SP6 and the
new wlntrealm.dll file.
My NT priviliges haven't changed between SP2 and SP6.
Any ideas?
Thanks, Garry.
Kumar Allamraju wrote:
Our security expert says
"""" As you read through the stack trace, you notice that the person running WLS
does not have the
correct privileges on NT to run NTRealm. This should be doc'd better, Yes, but
it's not an error
or bug.""""
Also the doc is not correct. You can run it on the command line. You just have to
give yourself the
correct privileges in the NT System.
Kumar
Kumar Allamraju wrote:
Are you sure that you are running WLS as an NT Service?
The docs clearly states
"""" To use NTRealm , you must run WLS as an NT service on a computer in the
Windows NT domain.
If you run WLS from the command line, NTRealm authentication will not
succeed""""
Kumar
Garry Baird wrote:
Hi All,
I've just installed SP6 on WLS 5.1.0 (NT 4.0) and hit an NTRealm problem. I
installed the new wlntrealm.dll file and removed the ntrealm.properties file
as per the SP6 release notes. Note that I didn't install SP6 to fix any
NTRealm problems but had to install the new wlntrealm.dll file as I'm using
NTRealm. If I don't use the new wlntrealm.dll I get a
java.lang.NoSuchFieldError when starting WLS. So, with the new
wlntrealm.dll, when starting WLS, I hit the following:
U n a b l e t o a d j u s t t o k e n p r i v i l e g e s
java.lang.SecurityException: Unable to assert all required
priviledges
at weblogic.security.ntrealm.NTDelegate.initFields(Native Method)
at weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:162)
at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.SecurityException: Unable to assert all required priviledges --
bad do
main name
at weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:168)
at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:62)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError:
java.
lang.SecurityException: Unable to assert all required priviledges -- bad
domain
name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert
all
required priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:86)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1747)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:479)
WebLogic Server terminated with an abnormal condition of 1
Hit return to continue...>>>>>>>>>Regards, Garry Baird. -
I want to use a NTRealm but when I start the service I've got the following error:
####<9 janv. 03 16:56:04 GMT> <Emergency> <Server> <dev-cresus-30> <testNT> <main>
<> <> <000000> <Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.lang.SecurityException: Unable to
open process token -- bad domain name
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to open process
token -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:259)
at weblogic.security.SecurityService.initialize(SecurityService.java:116)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:400)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
at weblogic.Server.main(Server.java:35)
'>
Any ideahttps://support.mozilla.com/en-US/kb/Bookmark+folders
-
NTRealm with no token privileges but already set up
Hi,
Does anybody know whats happening if my wls net realm with this message ?
####<May 16, 2002 3:14:36 PM BRT> <Emergency> <Server> <dctm> <myserver> <main> <>
<> <000000> <Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert
all required priviledges -- bad domain name
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert all required
priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'>
####<May 16, 2002 3:36:51 PM BRT> <Info> <Logging> <dctm> <myserver> <main> <> <>
<000000> <FileLogger Opened.>
####<May 16, 2002 3:37:05 PM BRT> <Emergency> <Server> <dctm> <myserver> <main> <>
<> <000000> <Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert
all required priviledges -- bad domain name
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert all required
priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'>
####<May 16, 2002 3:38:18 PM BRT> <Info> <Logging> <dctm> <myserver> <main> <> <>
<000000> <FileLogger Opened.>
I saw at newsgroups several tips and I've configured as indicated at edocs. Also,
I installed as nt service but failed.
The user that weblogic is using, has rights for create a token object, act as part
of system and replace for process level token and he is member of Administrators.
Questions:
Does the user must be member of other admin groups ?
Are more steps to do ?
Regards
Marco RighettiOkay. Something is wrong with me today.
Will try again.
Check out http://www.weblogic.com/docs51/admindocs/ntrealm.html
Search for "Testing and Errors"
There is some information on utilities to run ...
This information is on the WL 5.1 docs page but the information applies to all versions of WLS
with NTRealm
You also might want to investigate using Active Directory -- there should be some posts on this
on this newsgroup
That way you can interface with your security store using LDAP instead of the native libraries
that NTrealm uses.
Cheers,
Joe Jerry
Jerry wrote:
Hi Marco
Is it possible you specified the "NT" computer name as the host, instead of the DNS name of
your computer? Sometimes they're different.
Also, if you aren't running WL as a service, NTRealm will not work because the process does
not have the access priviledges to make security calls on the OS. So the first step is
probably to disable NTRealm, and make sure that you can start WebLogic as a service. Then
enable NTRealm and see if WebLogic will start.
Does the user must be member of other admin groups ?No
Hope this helps.
Joe Jerry
Marco Righetti wrote:
Hi,
Does anybody know whats happening if my wls net realm with this message ?
####<May 16, 2002 3:14:36 PM BRT> <Emergency> <Server> <dctm> <myserver> <main> <>
<> <000000> <Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert
all required priviledges -- bad domain name
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert all required
priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'>
####<May 16, 2002 3:36:51 PM BRT> <Info> <Logging> <dctm> <myserver> <main> <> <>
<000000> <FileLogger Opened.>
####<May 16, 2002 3:37:05 PM BRT> <Emergency> <Server> <dctm> <myserver> <main> <>
<> <000000> <Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert
all required priviledges -- bad domain name
java.lang.IllegalAccessError: java.lang.SecurityException: Unable to assert all required
priviledges -- bad domain name
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.java:258)
at weblogic.security.SecurityService.initialize(SecurityService.java:115)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:402)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
'>
####<May 16, 2002 3:38:18 PM BRT> <Info> <Logging> <dctm> <myserver> <main> <> <>
<000000> <FileLogger Opened.>
I saw at newsgroups several tips and I've configured as indicated at edocs. Also,
I installed as nt service but failed.
The user that weblogic is using, has rights for create a token object, act as part
of system and replace for process level token and he is member of Administrators.
Questions:
Does the user must be member of other admin groups ?
Are more steps to do ?
Regards
Marco Righetti -
Hello,
Does anyone have experience using NTRealm in an environment that has multiple
NT domains, with different kinds of trust relationships? I'd like some idea on
what's the best way to set up WL in this environment.
Thanks,
Dave SunIt's probably a path problem. Can you build the webservice example? I'd
suggest comparing your bean to the example.
-- Rob
ravi r wrote:
i get the following err when using ant to buid the webservice
Buildfile: build.xml
wsgen:
[wsgen] Ejbjar 'test.jar' not found. Skipping.
java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
at
weblogic.ant.taskdefs.ejb.WSGenHelper.ejb_modules(WSGenHelper.java:15
73)
at
weblogic.ant.taskdefs.ejb.WSGenHelper.getEJBDescriptor(WSGenHelper.ja
va:423)
at
weblogic.ant.taskdefs.ejb.WSGenHelper.updateWAR(WSGenHelper.java:518)
at weblogic.ant.taskdefs.ejb.WSGenHelper.init(WSGenHelper.java:378)
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1517)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:93)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
[wsgen] Can't find module: [module: test.jar
path: test.jar
uri: /RPCuri
BUILD SUCCESSFUL
Total time: 17 seconds
where test.jar is the ejb which is avaliable but is not being picked up
somehow
ravi -
Hi! ALL
Any 1 has configured NTRealm on WIN2k
1. Does it support?
2. If so whats the configuration to be done.
I have done it on NT 4.0 it worked .. but its not working on WIN2K.
Regards
SrinivasDoes this only occur when you run as a Service?
Paul Patrick
"Peter Cheung" <[email protected]> wrote in message
news:[email protected]..
>
I was running WLS 5.1 sp8 with JDK 1.3 on Win 2000 sp1, and I was
trying to set up NTRealm, but I got the following message when
I brought WLS up as NT service:
The WebLogic Server did not start up properly.
Exception raised: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException: java.lang.LinkageError:
NTDelegate
only works on Windows NT, not on Windows 2000
atweblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:124)
at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:56)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.security.acl.Realm.getRealm(Realm.java:79)
at weblogic.security.acl.Realm.getRealm(Realm.java:57)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1744)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1084)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)
at java.lang.Thread.run(Thread.java:484)
Is that mean it does not support Win 2000 or I did not set it up
properly ? Please advice. Thx in advance.
"Paul Patrick" <[email protected]> wrote:
Don't know what version of WLS you are using, but the
latest Service Pack
for WLS 5.1
should allow an NTrealm to work on Windows 2000.
Paul Patrick
"srinurao" <[email protected]> wrote in message
news:[email protected]..
Hi! ALL
Any 1 has configured NTRealm on WIN2k
1. Does it support?
2. If so whats the configuration to be done.
I have done it on NT 4.0 it worked .. but its not workingon WIN2K.
Regards
Srinivas -
NTRealm (WLS5.1 w SP7 ) doesn't work on Windows 2000, Please Help !
OS: Windows 2000
WLS: 5.1 with sp 7
I run java weblogic.security.ntrealm.NTRealm username password and I got exception
like:
----->NTDelegate.useAltDomain is NULL!
Exception in thread "main" java.lang.NoSuchFieldError: useAltDomain
at weblogic.security.ntrealm.NTDelegate.initFields(Native Method)
at weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:132)
at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:56)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at weblogic.security.ntrealm.NTRealm.main(NTRealm.java, Compiled Code)
Does any one know what's wrong with it? Thanks.
YPIt is working properly now. it was a problem with classpath
settings. Ensured that the classpath is according to what is
there in the install docs + sp11 readme. It is all fine.
Regards,
Bala
"Suresh" <[email protected]> wrote in message news:<3cc54106$[email protected]>...
Make sure that u have the latest service pack jar file ( for example weblogic510sp11.jar
for service pack 11 - use service pack 8 or later for better NTREALM configuration
) ahead of the weblogicaux.jar in your classpath. This should solve the problem.
Suresh.
"YP Wang" <[email protected]> wrote:
OS: Windows 2000
WLS: 5.1 with sp 7
I run java weblogic.security.ntrealm.NTRealm username password and I got
exception
like:
----->NTDelegate.useAltDomain is NULL!
Exception in thread "main" java.lang.NoSuchFieldError: useAltDomain
at weblogic.security.ntrealm.NTDelegate.initFields(Native Method)
at weblogic.security.ntrealm.NTDelegate.loadlib(NTDelegate.java:132)
at weblogic.security.ntrealm.NTDelegate.<init>(NTDelegate.java:56)
at weblogic.security.ntrealm.NTRealm.<init>(NTRealm.java:39)
at weblogic.security.ntrealm.NTRealm.main(NTRealm.java, Compiled
Code)
Does any one know what's wrong with it? Thanks.
YP -
i've configured the weblogtic 5.1 to work to ntrealm
but after installing sp6 an exception appeared when i try to start the
server
"no such field :domain"
when i remove the realm properties from weblogic.properties the server
starts.
does anybody knows where is the problemmake certain the service pack updated your wlntrealm.dll in the
\weblogic\bin\
directory as well as contained new weblogic.security.ntrealm.* classes.
failing that, contact support for a patch for this. NTRealm has been going
through some fairly nice growing pains lately, but the end result is much
better than the original:
- no longer needs to be on the PDC
- may have a list of alternate, trusted domains
- info is in weblogic.properties and no longer ntrealm.properties
- smells better
.paul
Gasser wrote:
i've configured the weblogtic 5.1 to work to ntrealm
but after installing sp6 an exception appeared when i try to start the
server
"no such field :domain"
when i remove the realm properties from weblogic.properties the server
starts.
does anybody knows where is the problem -
Hi,
I have configured the BEA Weblogic Server 6.1 SP2 to work with our network
domain for authentication. I have followed the exact steps mentioned in the
administration document. I have also configured a caching realm for the
NTAuthRealm as mentioned in the document.
We do have Win. 2K server acting as a PDC, so it goes to Active Server
Directory for authentication.
When I run the command
java weblogic.security.ntrealm.NTRealm username passwordto verify the installation I get the following exception:
enum groups:
Exception in thread "main" java.lang.RuntimeException: OS error=6: T
at weblogic.security.ntrealm.NTResumeEnum.populate0(Native Method)
at
weblogic.security.ntrealm.NTResumeEnum.populate(NTDelegate.java:473)
at
weblogic.security.ntrealm.NTResumeEnum.<init>(NTDelegate.java:373)
at
weblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:20
6)
at weblogic.security.ntrealm.NTRealm$2.getGroups(NTRealm.java:134)
at
weblogic.security.ntrealm.NTRealm$2.hasMoreElements(NTRealm.java:139)
at weblogic.security.ntrealm.NTRealm.main(NTRealm.java:277)
What went wrong here? If any of you have faced this problem and have solved
it or can suggest any way of addressing this problem kindly advise.
- SanjayYou need to give appropriate permissions to the SYSTEM user to be able to authenticate
against a PDC(NT) or a AD(Win 2K). In win 2K unfortunately, the service cannot
run as a domain user and authenticate against a AD. So one way out is to run the
service as the domain administrator and it will work. I am still working on a
better solution. Will let you know what I discover.
Sanjay Sankolli
Leverent
4343 Commerce Ct. Suite 302
Lisle IL 60532
emailTo: [email protected]
phoneTo:(630)955-9555 (X-2247)
"Sanjay" <[email protected]> wrote:
Hi,
I have configured the BEA Weblogic Server 6.1 SP2 to work with our network
domain for authentication. I have followed the exact steps mentioned
in the
administration document. I have also configured a caching realm for the
NTAuthRealm as mentioned in the document.
We do have Win. 2K server acting as a PDC, so it goes to Active Server
Directory for authentication.
When I run the command
java weblogic.security.ntrealm.NTRealm username passwordto verify the installation I get the following exception:
enum groups:
Exception in thread "main" java.lang.RuntimeException: OS error=6: T
at weblogic.security.ntrealm.NTResumeEnum.populate0(Native Method)
at
weblogic.security.ntrealm.NTResumeEnum.populate(NTDelegate.java:473)
at
weblogic.security.ntrealm.NTResumeEnum.<init>(NTDelegate.java:373)
at
weblogic.security.ntrealm.NTDelegate.getGroupNames(NTDelegate.java:20
6)
at weblogic.security.ntrealm.NTRealm$2.getGroups(NTRealm.java:134)
at
weblogic.security.ntrealm.NTRealm$2.hasMoreElements(NTRealm.java:139)
at weblogic.security.ntrealm.NTRealm.main(NTRealm.java:277)
What went wrong here? If any of you have faced this problem and have
solved
it or can suggest any way of addressing this problem kindly advise.
- Sanjay
Maybe you are looking for
-
Itunes no longer play or import music CD's, on my PC - MS Media Plyr does
Help, my PC was able to import music before to itunes but no-longer does. When I start-up my PC with Music CDs in both CD drives - computer asks what I want as default music player and I select itunes. CD DIAGNOSTICS: Microsoft Windows XP Professiona
-
Recently when i turned my Creative Zen Vision M, the screen showed the display message rebuilding with a time bar beneath it!? This time bar gets stuck everytime at around the 30% mark and nothing further happens. It is not possible to access any fun
-
I made a bar chart and the labels are longer. I would like to have them be diagonal instead of horizontal, which is the auto setting. Numbers seems to make every other one disappear, because otherwise they would write over each other. If they are at
-
Dynamic if statement evaluation
Hello, My problem is this. i want to evaluate dynamic if statement like the e.g below int a=2; String condition="a==2"; if(condition) execute something else execute something How i can do this... Please let me know.. Thanks in advance
-
Broadband connection keeps dropping, often without...
Equipment: I have an ancient hub (curious- do we get updates to these or do we just have to make do for years on end?), the first black one which is curved and it has been fine since I got it from a friend some years ago to replace the dinosaur whi