Realm weblogic does not accept the submitted credential for user guest
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   satish_kommera
Posted On:   Friday, December 14, 2001 11:45 AM

Hi All, I have been testing the example given in ..weblogicexamplesejb asiccontainerManaged. In Weblogic documentation I read about disabling of guest access, by adding a line.. weblogic.security.disableGuest = true in weblogic.properties. But when I add that line and try to run the containerManaged example it throws the following exception. Beginning containerManaged.Client... Starting Part A of the example... Creating account 10020 with a balance of 3000.0 account type Savings... Error creating account: Unexpected exception in examples.ejb.basic.containerMana ged.AccountBean.create(): java.sql.SQLException: Pool connect failed: Realm    More>>

Hi All,

I have been testing the example given in ..weblogicexamplesejb asiccontainerManaged.

In Weblogic documentation I read about disabling of guest access,

by adding a line..

weblogic.security.disableGuest = true in weblogic.properties. But when I add that line and try to run the containerManaged example it throws the following exception.

			
Beginning containerManaged.Client...

Starting Part A of the example...

Creating account 10020 with a balance of 3000.0 account type Savings...
Error creating account: Unexpected exception in examples.ejb.basic.containerMana
ged.AccountBean.create():
java.sql.SQLException: Pool connect failed: Realm weblogic does not accept the s
ubmitted credential for user guest
at weblogic.jdbcbase.pool.Driver.connect(Driver.java:182)
at weblogic.jdbcbase.jts.Driver.connect(Driver.java:223)
at weblogic.cmp.rdbms.PSRdbms_Base.getConnection(PSRdbms_Base.java:89)
at examples.ejb.basic.containerManaged.AccountPSWebLogic_CMP_RDBMS.creat
e(AccountPSWebLogic_CMP_RDBMS.java:142)
at examples.ejb.basic.containerManaged.AccountPSWebLogic_CMP_RDBMS.creat
e(AccountPSWebLogic_CMP_RDBMS.java:126)
at weblogic.ejb.internal.EntityEJBContext.create(EntityEJBContext.java:1
18)
at weblogic.ejb.internal.StatefulEJBObject.postCreate(StatefulEJBObject.
java:266)
at examples.ejb.basic.containerManaged.AccountBeanEOImpl.create(AccountB
eanEOImpl.java:61)
at examples.ejb.basic.containerManaged.AccountBeanHomeImpl.create(Accoun
tBeanHomeImpl.java:32)
at examples.ejb.basic.containerManaged.AccountBeanHomeImpl_WLSkel.invoke
(AccountBeanHomeImpl_WLSkel.java:70)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(BasicServerOb
jectAdapter.java, Compiled Code)
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(BasicReques
tHandler.java:69)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:15)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
; nested exception is:
java.sql.SQLException: Pool connect failed: Realm weblogic does not acce
pt the submitted credential for user guest




What I was wondering is why it's trying to access using user guest?

What should I do if I want to replace guest and put my own user?


If I comment the line
weblogic.security.disableGuest = true
it's working fine.


Any help is grately appreciated.

Thank You

Satish.
   <<Less
About | Sitemap | Contact