Error starting new domain in weblogic 6.0
I created a new domain in WLS 6 using the and a server for this domain
through the console. I copied the .pem files and the fileRealm.properties
file from the domain mydomain in the new domain directory. When I tried to
start this domain a default web application was created for this domain.
However there is a error starting up this domain. A security exception is
thrown:
<Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user system
denied in realm weblogic
java.lang.SecurityException: Authentication for user system denied in realm
weblogic
at weblogic.security.acl.Realm.authenticate(Realm.java:209)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
at weblogic.security.acl.internal.Security.authenticate(Security.java:113)
at
weblogic.security.SecurityService.initializeSuid(SecurityService.java:293)
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)
How can I successfully create and start a new domain?
Hello Maury,
I have the same problem as described by Gauri. I created a new directory
under the config directory and copied the mydomain directory files to it. I can
run the startWebLogic script sucessfully as long as I don't change the domain or
server name. If I change the domain or server name, I also change them in the
config.xml. When I change these fields I get exactly the same errors/exceptions
as Gauri. Exactly how do you copy the files?
Thanks You,
Gary
Maury Mills wrote:
We have found that the easiest, and most successful, way to create a new
domain is to manually copy an existing domain's directory in 'config' and
change the files to reference the new domain. Also, the port numbers need
updated for the servers if you want to have multiple domains active at once.
HTH
Maury
"Gauri Tamboli" <[email protected]> wrote in message
news:[email protected]...
I created a new domain in WLS 6 using the and a server for this domain
through the console. I copied the .pem files and the fileRealm.properties
file from the domain mydomain in the new domain directory. When I tried to
start this domain a default web application was created for this domain.
However there is a error starting up this domain. A security exception is
thrown:
<Unable to initialize the server: 'Fatal initialization exception
Throwable: java.lang.SecurityException: Authentication for user system
denied in realm weblogic
java.lang.SecurityException: Authentication for user system denied inrealm
weblogic
at weblogic.security.acl.Realm.authenticate(Realm.java:209)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:229)
atweblogic.security.acl.internal.Security.authenticate(Security.java:113)
at
weblogic.security.SecurityService.initializeSuid(SecurityService.java:293)
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)
How can I successfully create and start a new domain?
Similar Messages
-
Creation of new domains in weblogic
Hi All,
I need to create two new domain in weblogic.
It should be start & stop from the admin console.
How to do that. What is node manager?
Just assigning the managed server with machine will do the start and stop from admin console. ?creation of new domain in weblogic
-
Creation of new domain in weblogic
Hi All,
I need to create two new domain in weblogic.
It should be start & stop from the admin console.
How to do that. What is node manager?
Just assigning the managed server with machine will do the start and stop from admin console. ?Hi,
Your query is being addressed in
https://community.oracle.com/thread/3530328
Thanks,
Sharmela -
Creating new domain using weblogic app server V 7.0
Hi,
I've installed Weblogic Server V7 (beta) and facing a problem. Here is it:
What I want to do
=================
I want to create a new domain parallel to mydomain in weblogic application server
V 7.0 beta.
What are the steps taken
========================
(1) Started "myserver". (2)Opened browser and go to localhost:7001/console. (3)
logged in into the server using default username and password "installadministrator".
(4) Right click on mydomain in the left pane and click on "Create or edit other
domains". (5) entered new domain name and new console contex path, accept other
default values. (6) Apply it.
Problem
=======
(1) The new domain is not being shown in the left pane. (2) If I restart myserver,
it is not started and giving error :
<Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000349> <Not all the
ListenPort(s) started properly.>
<Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initialization exception>
The WebLogic Server did not start up properly. Reason: Fatal initialization exception
(3) No directory structure is being created parallel to myserver, and moreover
it is rewriting bea\user_domains\mydomain\config.xml file.
Please help.
Thanks and regards,
SarmilaHi,
I've installed Weblogic Server V7 (beta) and facing a problem. Here is it:
What I want to do
=================
I want to create a new domain parallel to mydomain in weblogic application server
V 7.0 beta.
What are the steps taken
========================
(1) Started "myserver". (2)Opened browser and go to localhost:7001/console. (3)
logged in into the server using default username and password "installadministrator".
(4) Right click on mydomain in the left pane and click on "Create or edit other
domains". (5) entered new domain name and new console contex path, accept other
default values. (6) Apply it.
Problem
=======
(1) The new domain is not being shown in the left pane. (2) If I restart myserver,
it is not started and giving error :
<Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000349> <Not all the
ListenPort(s) started properly.>
<Mar 21, 2002 5:35:12 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initialization exception>
The WebLogic Server did not start up properly. Reason: Fatal initialization exception
(3) No directory structure is being created parallel to myserver, and moreover
it is rewriting bea\user_domains\mydomain\config.xml file.
Please help.
Thanks and regards,
Sarmila -
Error creating new domain (probably because of incomplete install)
Hi!
I've installed BPEL PM without problems on a server where AS already runs. I only had some problems with Step 2: Run the Integration Repository Creation Assistant on the Database. Since I couldn't run the bat files, I manually created shchema and a orabpel user.
Postinstallation Verification Tasks for Oracle BPEL Process Manager in BPEL Process Manager Installation Guide went through OK, so I thought everything is OK.
Then I tried creating new BPEL domain (trying to follow GoogleFlow tutorial but can't deploy because I don't have any domains) and got this error:
Exception
Operation failed because:
Error updating domain index.
An exception occurred while writing the domain index (id"GoogleDomain", ref "1") to the datastore; the exception reported is: ORA-00942: table or view does not exist.
Please check that:
+ the machine hosting the datasource is physically connected to the network.
+ the connection pool properties as defined in the application server startup properties are valid.
+ the database schema for the OraBPEL server has been installed in the datasource.
So I found a similar thread (Strange message when logged in to bpel console where one user had similar problems and solved them by manually running the domain_oracle.ddl script. I did the same, but still can't create a new domain.
One more thing bothers me: if I try to create new domain with the same name I get:
Exception
Operation failed because:
Domain already exists.
A domain with identifier "GoogleFlowDomain" already exists at "C:\OracleAS\10.1.3.1\OracleAS_1\bpel\domains\GoogleFlowDomain". Please specify another domain identifier.
But deployed domains list is empty.
I'd really like to solve this. Maybe a new BPEL PM install would help but I can't execute step 2 of preinstallation tasks. If I execute the line from irca file
java -classpath %CLASSPATH% -DORACLE_HOME=%ORACLE_HOME% oracle.tip.install.tasks.IRCA %*
I get
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre1/5/0_06\lib\ext\QTJava/zip
Any kind of further instructions would be much appreciated.
Regards!
BBHi!
It was the Step 2 (preinstallation steps): Run the Integration Repository Creation Assistant on the Database step that was causing all of my problems. I figured out why I couldn't run irca.bat file.
The problem was in java home that was in C:/Program Files/Java... Looks like java or oracle (I don't know which) still have problems with spaces in directories names. When I installed Java to C:/Java/..., I could run IRCA and after reinstallation of BPEL PM everything is working as it should.
Maybe this will help someone else.
Bye -
When I try to create a new domain with this command:
./commadmin domain create -X posta.softfobia.it -p 88 -D admin -w xxxxx -d testaccio.it
it fails:
FAIL
Unable to create service config for service : iPlanetAMAuthService
what does it mean?
thank youI can't see errors on Directory Server's access logs,
i found only rows like:
[30/Mar/2006:20:45:28 +0200] conn=128 op=2039 msgId=2622 - RESULT err=0 tag=101 nentries=1 etime=0
[30/Mar/2006:20:45:28 +0200] conn=128 op=2040 msgId=2623 - MOD dn="o=merdamerda.it,dc=softfobia,dc=it" authzid="dn:uid=admin,ou=People,o=softfobia.it,dc=softfobia,dc=it"
[30/Mar/2006:20:45:28 +0200] conn=128 op=2040 msgId=2623 - RESULT err=0 tag=103 nentries=0 etime=0
[30/Mar/2006:20:45:28 +0200] conn=128 op=2041 msgId=2624 - SRCH base="ou=1.0,ou=iplanetamauthservice,ou=services,dc=softfobia,dc=it" scope=0 filter="(|(objectClass=*)(objectClass=ldapsubentry))" attrs="ou sunserviceschema sunpluginschema sunkeyvalue sunxmlkeyvalue objectClass sunsmspriority sunserviceid labeledUri modifyTimestamp" authzid="dn:uid=admin,ou=People,o=softfobia.it,dc=softfobia,dc=it"
[30/Mar/2006:20:45:28 +0200] conn=128 op=2041 msgId=2624 - RESULT err=0 tag=101 nentries=1 etime=0 -
When I try to create a new domain with this command:
./commadmin domain create -X posta.softfobia.it -p 88 -D admin -w xxxxx -d testaccio.it
it fails:
FAIL
Unable to create service config for service : iPlanetAMAuthService
what does it mean?
thank youanswered in your earlier thread
-
Error starting studio domain - set JAVA_OPTIONS
I am trying to install studio on weblogic server by going through the StudioInstallGuide.pdf. The step to update the setDomainEnv script file with the set JAVA_OPTIONS is somewhat problematic. I have removed the linebreaks as indicated but getting following error:
JAVA Memory arguments: -Xms256m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize
=128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar;C:\Java\JDK16~2.0_4\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSER
V~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblog
ic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.6.0.jar;
C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modu
les\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-c
ontrib.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Ora
cle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
PATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\native;C:\Oracle\MIDDLE~1
\WLSERV~1.3\server\native\win\x64;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Or
acle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Java\JDK16~2.0_4\jre\bin;C:\Java\JDK16~2
.0_4\bin;C:\Oracle\Database\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\W
indows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\P
rogram Files\Java\jdk1.6.0_25\bin;C:\Program Files\Java\jre6\bin;C:\Endeca\Platf
ormServices\6.1.3\perl;C:\Endeca\PlatformServices\6.1.3\perl\5.8.3\bin;C:\Endeca
\PlatformServices\6.1.3\bin;C:\Endeca\PlatformServices\6.1.3\utilities;C:\Progra
m Files (x86)\Lexalytics\salience\bin;C:\Oracle\Middleware\user_projects\domains
\endeca_integrator_server_domain\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native
\win\x64\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)
Starting WLS with line:
C:\Java\JDK16~2.0_4\bin\java -client -Xms256m -Xmx1024m -XX:CompileThreshold=8
000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.s
ecurity.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -DUseSun
HttpHandler=true -Djavax.xml.transform.TransformerFactory =com.sun.org.apache.xa
lan.internal.xsltc.trax.TransformerFactoryImpl -Djavax.xml.parsers.DocumentBuild
erFactory =com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -D
javax.xml.parsers.SAXParserFactory =com.sun.org.apache.xerces.internal.jaxp.SAXP
arserFactoryImpl -Dfile.encoding=UTF8 -Xverify:none -da -Dplatform.home=C:\Orac
le\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogi
c.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.management.discover=tru
e -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.e
xt.dirs=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sysext_manifest_classp
ath weblogic.Server
Exception in thread "main" java.lang.NoClassDefFoundError: =com/sun/org/apache/x
alan/internal/xsltc/trax/TransformerFactoryImpl
Caused by: java.lang.ClassNotFoundException: =com.sun.org.apache.xalan.internal.
xsltc.trax.TransformerFactoryImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: =com.sun.org.apache.xalan.internal.xsltc.trax.Tra
nsformerFactoryImpl. Program will exit.
C:\Oracle\Middleware\user_projects\domains\endeca_studio_domain>
Skipping this step seems to be my only option. Has anyone come across this before? Is this step necessary?
Thanks for your help!Can you double-check to make sure that you have no new lines or breaks in the added content? Especially around the = sign for the item that's causing the error?
Otherwise, I believe that particular item is not absolutely required - it's mostly for performance. You do, however, need the file encoding parameter. -
Error starting managed server in weblogic
am having this error wne starting managed server
C:\mydomain\base_domain\bin>startManagedWebLogic.cmd madimad-b533821
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
128m -XX:MaxPermSize=512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C
:\PROGRA~1\Java\JDK16~1.0_2\lib\tools.jar;C:\mywls\wlserver\server\lib\weblogic_
sp.jar;C:\mywls\wlserver\server\lib\weblogic.jar;C:\mywls\modules\features\weblo
gic.server.modules_10.3.4.0.jar;C:\mywls\wlserver\server\lib\webservices.jar;C:\
mywls\modules\ORGAPA~1.1/lib/ant-all.jar;C:\mywls\modules\NETSFA~1.0_1/lib/ant-c
ontrib.jar;C:\oracle\Middleware\wlserver_10.3\sip\server\lib\weblogic_sip.jar;C:
\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\mywls\wlserver\co
mmon\derby\lib\derbyclient.jar;C:\mywls\wlserver\server\lib\xqrl.jar
PATH=;C:\mywls\wlserver\server\native\win\32;C:\mywls\wlserver\server\bin;C:\myw
ls\modules\ORGAPA~1.1\bin;C:\PROGRA~1\Java\JDK16~1.0_2\jre\bin;C:\PROGRA~1\Java\
JDK16~1.0_2\bin;C:\Program Files\PC Connectivity Solution\;C:\product\11.2.0\dbh
ome_1\bin;C:\product\11.2.0\dbhome_1;C:\forms;C:\DevSuiteHome_1\jlib;C:\Program
Files\PHP;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Fil
es\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Share
d\DLLShared;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared;C:\Program
Files\Common Files\DivX Shared;c:\Program Files\Java\jdk1.6.0_21\bin;C:\Program
Files\Common Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Rox
io Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:
\mywls;C:\mydomain\base_domain\bin;C:\Program Files\Java\jre6\bin\client;C:\Prog
ram Files\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\jre\bin;C:\Program Fil
es\Java\jdk1.6.0_21\bin;C:\Program Files\Java\jdk1.6.0_21;C:\Program Files\Java\
jre6;C:\DevSuiteHome_1\forms;C:\DevSuiteHome_1\cgenf61\admin;C:\DevSuiteHome_1\f
orms;C:\forms\sms_code.pll;C:\mywls\wlserver;C:\Java\jdk1.6.0_21;C:\mywls\wlserv
er\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
Starting WLS with line:
C:\PROGRA~1\Java\JDK16~1.0_2\bin\java -client -Xms256m -Xmx512m -XX:CompileThr
eshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=madimad-b533
821 -Djava.security.policy=C:\mywls\wlserver\server\lib\weblogic.policy -Dweblog
ic.security.SSL.trustedCAKeyStore="C:\mywls\wlserver\server\lib\cacerts" -Xveri
fy:none -ea:com.bea.wcp... -da -Dplatform.home=C:\mywls\wlserver -Dwls.home=C:
\mywls\wlserver\server -Dweblogic.home=C:\mywls\wlserver\server -Dcommon.compon
ents.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.
logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\mydomai
n\BASE_D~1 -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1
.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\mydomain\BASE_D~1\config\FM
WCON~1\servers\madimad-b533821 -Doracle.domain.config.dir=C:\mydomain\BASE_D~1\c
onfig\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\mydomain\BASE_D~1\config\FMWCON~1\
carml -Digf.arisidstack.home=C:\mydomain\BASE_D~1\config\FMWCON~1\arisidprovide
r -Doracle.security.jps.config=C:\mydomain\BASE_D~1\config\fmwconfig\jps-config.
xml -Doracle.deployed.app.dir=C:\mydomain\BASE_D~1\servers\madimad-b533821\tmp\_
WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\Oracl
e\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\mo
dules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.prot
ocol -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=false
-Dweblogic.management.server=http://madimad-b533821:7001 -Dwlw.iterativeDev=fal
se -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false weblogic.Server
<24 Jan 2014 12:52:41 PM> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE
Provider self-integrity check for better startup performance. To enable this che
ck, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<24 Jan 2014 12:52:42 PM> <Info> <Security> <BEA-090906> <Changing the default R
andom Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable thi
s change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<24 Jan 2014 12:52:42 PM> <Notice> <WebLogicServer> <BEA-000395> <Following exte
nsions directory contents added to the end of the classpath:
C:\mydomain\base_domain\lib\sipactivator.jar>
<24 Jan 2014 12:52:42 PM> <Info> <Server> <BEA-002647> <The service plugin, com.
oracle.core.sip.activator, was added from C:\mydomain\base_domain\lib\sipactivat
or.jar.>
<24 Jan 2014 12:52:42 PM> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogi
c Server with Java HotSpot(TM) Client VM Version 17.0-b17 from Sun Microsystems
Inc.>
<24 Jan 2014 12:52:45 PM> <Info> <Security> <BEA-090065> <Getting boot identity
from user.>
Enter username to boot WebLogic server:tshifhiwa
Enter password to boot WebLogic server:
<24 Jan 2014 12:52:57 PM> <Info> <Management> <BEA-141107> <Version: WebLogic Se
rver 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 >
<24 Jan 2014 12:53:01 PM> <Error> <Management> <BEA-141252> <The domain version,
10.3.5.0, is greater than the release version, 10.3.4.0, of this server.>
<24 Jan 2014 12:53:01 PM> <Error> <Configuration Management> <BEA-150001> <An er
ror occurred while connecting to the admin server to bootstrap through URL: http
://madimad-b533821:7001/bea_wls_management_internal2/Bootstrap, user: tshifhiwa
weblogic.management.configuration.ConfigurationException: [Management:141252]The
domain version, 10.3.5.0, is greater than the release version, 10.3.4.0, of thi
s server.
at weblogic.management.provider.internal.BootStrapHelper.getBootStrapStr
uct(BootStrapHelper.java:147)
at weblogic.management.provider.internal.RuntimeAccessImpl.initialize(Ru
ntimeAccessImpl.java:432)
at weblogic.management.provider.internal.RuntimeAccessService.start(Runt
imeAccessService.java:49)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
ager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
icesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:879)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:566)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:467)
at weblogic.Server.main(Server.java:71)
>
<24 Jan 2014 12:53:01 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state c
hanged to STARTING>
<24 Jan 2014 12:53:01 PM> <Info> <WorkManager> <BEA-002900> <Initializing self-t
uning thread pool>
<24 Jan 2014 12:53:02 PM> <Notice> <LoggingService> <BEA-320400> <The log file C
:\mydomain\base_domain\servers\madimad-b533821\logs\madimad-b533821.log will be
rotated. Reopen the log file if tailing has stopped. This can happen on some pla
tforms like Windows.>
<24 Jan 2014 12:53:02 PM> <Notice> <LoggingService> <BEA-320401> <The log file h
as been rotated to C:\mydomain\base_domain\servers\madimad-b533821\logs\madimad-
b533821.log00007. Log messages will continue to be logged in C:\mydomain\base_do
main\servers\madimad-b533821\logs\madimad-b533821.log.>
<24 Jan 2014 12:53:02 PM> <Notice> <Log Management> <BEA-170019> <The server log
file C:\mydomain\base_domain\servers\madimad-b533821\logs\madimad-b533821.log i
s opened. All server side log events will be written to this file.>
<24 Jan 2014 12:54:25 PM> <Critical> <WebLogicServer> <BEA-000386> <Server subsy
stem failed. Reason: java.lang.AssertionError: Assertion violated
java.lang.AssertionError: Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.server.channels.ChannelService.getServerChannel(ChannelServi
ce.java:2060)
at weblogic.server.channels.ChannelService.getServerChannel(ChannelServi
ce.java:1998)
at weblogic.protocol.ServerChannelManager.findServerChannel(ServerChanne
lManager.java:76)
at weblogic.ldap.EmbeddedLDAP.findLdapURL(EmbeddedLDAP.java:1482)
Truncated. see log file for complete stacktrace
>
<24 Jan 2014 12:54:26 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state c
hanged to FAILED>
<24 Jan 2014 12:54:26 PM> <Error> <WebLogicServer> <BEA-000383> <A critical serv
ice failed. The server will shut itself down>
<24 Jan 2014 12:54:26 PM> <Notice> <WebLogicServer> <BEA-000365> <Server state c
hanged to FORCE_SHUTTING_DOWN>Hi,
there are two thing in this issue.
first
It looks like the upgrade which you done is not happen correctly.
Revert the back the upgrade and restart the the server again.
Second
rename the Ldap folder of you managed server and restart the server again.
Regards,
Kal -
Error starting Enterprise Manager in WebLogic 10.3.2 - library conflict?
I've just installed WebLogic 11g (10.3.2) and the Application Developer Runtime (11.1.1.2.0). I then used the domain 'Configuration Wizard' to extend my domain (base_domain) and add:
- Oracle JRF - 11.1.1.0 \[oracle_common]
- Oracle Enterprise Manager - 11.1.1.0 \[oracle_common]
Now when I start the server, I get the following error in the log
<Jan 21, 2010 11:48:21 AM GMT> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.sysman.eml.app.ContextInitializer failed: java.lang.NoSuchFieldError: level.
java.lang.NoSuchFieldError: level
at org.apache.log4j.spi.RootLogger.setLevel(RootLogger.java:65)
at org.apache.log4j.spi.RootLogger.<init>(RootLogger.java:44)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:78)
at org.apache.log4j.Logger.getLogger(Logger.java:117)
at oracle.sysman.core.intg.RfbIntegration.<clinit>(RfbIntegration.java:44)
Truncated. see log file for complete stacktrace
<Jan 21, 2010 11:48:21 AM GMT> <Warning> <HTTP> <BEA-101162> <User defined listener oracle.sysman.eml.app.ContextInitializer failed: java.lang.NullPointerException.
java.lang.NullPointerException
at oracle.sysman.emdrep.repoless.RepolessTargetManager.stop(RepolessTargetManager.java:713)
at oracle.sysman.eml.app.ContextInitializer.contextDestroyed(ContextInitializer.java:1229)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
Truncated. see log file for complete stacktrace
<Jan 21, 2010 11:48:21 AM GMT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'em'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1399)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoSuchFieldError: level
at org.apache.log4j.spi.RootLogger.setLevel(RootLogger.java:65)
at org.apache.log4j.spi.RootLogger.<init>(RootLogger.java:44)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:78)
at org.apache.log4j.Logger.getLogger(Logger.java:117)
at oracle.sysman.core.intg.RfbIntegration.<clinit>(RfbIntegration.java:44)
Truncated. see log file for complete stacktraceIt appears that there's a logging library conflict somewhere. I haven't installed any of my own applications at all, only extended the domain with the two features described above. Can anyone help?Just completely uninstalled everything and tried again. The problem seems to have disappeared.
I can't be sure, but suspect one of the following fixed it:
- I had JDeveloper 11.1.1.2.0 installed to the same Oracle Middleware home. This could have been where the conflicting library was coming from. Second time around I didn't install JDeveloper.
- When I reinstalled WebLogic, I unchecked 'Oracle Enterprise Pack for Eclipse'
- When I reinstalled WebLogic, I didn't install the Oracle JRockit JDK -
OSB11 64bit windows7 - error starting a domain
Hi all,
I gathered useful info from other two posts how to install OSB11 on windows7 64 bit (messageID 9395937 and 9461593)
I've downloaded:
- jdk-6u24-windows-x64
- wls1034_generic
- oepe-helios-all-in-one-11.1.1.6.1.201010012100-win32-x86_64 (I found that version is compatible with OSB11, 11.1.1.7.1 instead doesn't work)
- ofm_osb_generic_11.1.1.4.0_disk1_1of1
and I installed OSB11.
I created also an OSB domain using the usual config wizard.
One note while using the usual config wizard: I selected to create the two proposed db schema with derby db but I got an error, how could I do that as while using the wizard the domain is not still created (so there is no running derby db) ?
So I skipped the creation of those two proposed db schema and I completed the domain wizard creation...
But when I run "startWebLogic.cmd" I got the below error:
The input line is too long.
The syntax of the command is incorrect.
Has anyone created and run successfully an OSB domain in Windows 7 64 bit ?
Thanks in advance
ferpHi Pierluigi,
I didn't change the defaults.
The domain path is the following: c:\software\developing\wls1034_64\domains\base
I enabled ECHO in
- base/startWebLogic
- base/bin/startWebLogic
- base/bin/setOSBDomainEnv
Below the startWebLogic output, but it is very very very long ... (I'm sorry for that)
Regards
ferp
c:\software\developing\wls1034_64\domains\base>startWebLogic.cmd
c:\software\developing\wls1034_64\domains\base>SETLOCAL
c:\software\developing\wls1034_64\domains\base>set DOMAIN_HOME=C:\software\developing\wls1034_64\domains\base
c:\software\developing\wls1034_64\domains\base>call "C:\software\developing\wls1034_64\domains\base\bin\startWebLogic.cmd"
c:\software\developing\wls1034_64\domains\base>SETLOCAL
c:\software\developing\wls1034_64\domains\base>GOTO :ENDFUNCTIONS
c:\software\developing\wls1034_64\domains\base>set DOMAIN_HOME=C:\software\developing\wls1034_64\domains\base
c:\software\developing\wls1034_64\domains\base>for %i in ("C:\software\developing\wls1034_64\domains\base") do set DOMAIN_HOME=%~fsi
c:\software\developing\wls1034_64\domains\base>set DOMAIN_HOME=C:\software\DEVELO~1\WLS103~1\domains\base
c:\software\developing\wls1034_64\domains\base>call "C:\software\DEVELO~1\WLS103~1\domains\base\bin\setDomainEnv.cmd"
c:\software\developing\wls1034_64\domains\base>set PLATFORM_TYPE=win
c:\software\developing\wls1034_64\domains\base>set WLS_HOME=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server
c:\software\developing\wls1034_64\domains\base>set XMS_SUN_64BIT=256
c:\software\developing\wls1034_64\domains\base>set XMS_SUN_32BIT=256
c:\software\developing\wls1034_64\domains\base>set XMX_SUN_64BIT=512
c:\software\developing\wls1034_64\domains\base>set XMX_SUN_32BIT=512
c:\software\developing\wls1034_64\domains\base>set XMS_JROCKIT_64BIT=256
c:\software\developing\wls1034_64\domains\base>set XMS_JROCKIT_32BIT=256
c:\software\developing\wls1034_64\domains\base>set XMX_JROCKIT_64BIT=512
c:\software\developing\wls1034_64\domains\base>set XMX_JROCKIT_32BIT=512
c:\software\developing\wls1034_64\domains\base>if "Sun" == "Sun" (
set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
) else (
set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m
set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
c:\software\developing\wls1034_64\domains\base>if "Sun" == "Oracle" (
set CUSTOM_MEM_ARGS_64BIT=-Xms256m -Xmx512m
set CUSTOM_MEM_ARGS_32BIT=-Xms256m -Xmx512m
) else (
set CUSTOM_MEM_ARGS_64BIT=-Xms256m -Xmx512m
set CUSTOM_MEM_ARGS_32BIT=-Xms256m -Xmx512m
c:\software\developing\wls1034_64\domains\base>set MEM_ARGS_64BIT=-Xms256m -Xmx512m
c:\software\developing\wls1034_64\domains\base>set MEM_ARGS_32BIT=-Xms256m -Xmx512m
c:\software\developing\wls1034_64\domains\base>if "true" == "true" (set MEM_ARGS=-Xms256m -Xmx512m ) else (set MEM_ARGS=-Xms256m -Xmx512m )
c:\software\developing\wls1034_64\domains\base>set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m
c:\software\developing\wls1034_64\domains\base>set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m
c:\software\developing\wls1034_64\domains\base>if "true" == "true" (set MEM_PERM_SIZE=-XX:PermSize=128m ) else (set MEM_PERM_SIZE=-XX:PermSize=128m )
c:\software\developing\wls1034_64\domains\base>set MEM_MAX_PERM_SIZE_64BIT=-XX:MaxPermSize=512m
c:\software\developing\wls1034_64\domains\base>set MEM_MAX_PERM_SIZE_32BIT=-XX:MaxPermSize=512m
c:\software\developing\wls1034_64\domains\base>if "true" == "true" (set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=512m ) else (set MEM_MAX_PERM_SIZE=-XX:MaxPermSize=512m )
c:\software\developing\wls1034_64\domains\base>if "Sun" == "Sun" (if "" == "" (set MEM_DEV_ARGS=-XX:CompileThreshold=8000 -XX:PermSize=128m ) )
c:\software\developing\wls1034_64\domains\base>if "Sun" == "Sun" (set MEM_ARGS=-Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m )
c:\software\developing\wls1034_64\domains\base>if "Sun" == "HP" (set MEM_ARGS=-Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -XX:MaxPermSize=512m )
c:\software\developing\wls1034_64\domains\base>if "Sun" == "Apple" (set MEM_ARGS=-Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m -XX:MaxPermSize=512m )
c:\software\developing\wls1034_64\domains\base>if NOT "" == "" (set MEM_ARGS= )
c:\software\developing\wls1034_64\domains\base>set ORACLE_DOMAIN_CONFIG_DIR=C:\software\DEVELO~1\WLS103~1\domains\base\config\fmwconfig
c:\software\developing\wls1034_64\domains\base>for %i in ("C:\software\DEVELO~1\WLS103~1\domains\base\config\fmwconfig") do set ORACLE_DOMAIN_CONFIG_DIR=%~fsi
c:\software\developing\wls1034_64\domains\base>set ORACLE_DOMAIN_CONFIG_DIR=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1
c:\software\developing\wls1034_64\domains\base>set WLS_JDBC_REMOTE_ENABLED=-Dweblogic.jdbc.remoteEnabled=false
c:\software\developing\wls1034_64\domains\base>set JAVA_PROPERTIES=-Dplatform.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3 -Dwls.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dweblogic.home=C
:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server
c:\software\developing\wls1034_64\domains\base>set ALT_TYPES_DIR=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_
11.1.1
c:\software\developing\wls1034_64\domains\base>set PROTOCOL_HANDLERS=oracle.mds.net.protocol
c:\software\developing\wls1034_64\domains\base>set PROTOCOL_HANDLERS=oracle.mds.net.protocol
c:\software\developing\wls1034_64\domains\base>set ARDIR=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server\lib
c:\software\developing\wls1034_64\domains\base>pushd C:\software\developing\wls1034_64\domains\base
c:\software\developing\wls1034_64\domains\base>if "" == "" (
set CLUSTER_PROPERTIES=-Dweblogic.management.discover=true
) else (set CLUSTER_PROPERTIES=-Dweblogic.management.discover=false -Dweblogic.management.server= )
c:\software\developing\wls1034_64\domains\base>set JAVA_PROPERTIES=-Dplatform.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3 -Dwls.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dweblogic.home=C
:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dcommon.components.home=C:\software\DEVELO~1\WLS103~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jd
k14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\
software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\softwar
e\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\software\DEVELO
~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.a
lternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle
.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=C:\software\DEVELO~1\WLS103~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.
impl.Jdk14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.
dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\
software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\software
\DEVELO~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweb
logic.alternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs
=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=C:\software\DEVELO~1\WLS103~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.l
ogging.impl.Jdk14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.
config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carml
loc=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\s
oftware\DEVELO~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\
- -Dweblogic.alternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handl
er.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dem.oracle.home=C:\software\developing\wls1034_64\oracle_common -Djava.awt.headless=true -Dem.oracle.home=C:\software\developing\
wls1034_64\oracle_common -Djava.awt.headless=true -Dem.oracle.home=C:\software\developing\wls1034_64\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true
c:\software\developing\wls1034_64\domains\base>set PRE_CLASSPATH=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.j
dbc_11.1.1\ojdbc6dms.jar;;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar
c:\software\developing\wls1034_64\domains\base>set PRE_CLASSPATH=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.j
dbc_11.1.1\ojdbc6dms.jar;;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar;C:\software\DEVELO~1\WLS103~1\
OSB_11~1.0\lib\osb-server-modules-ref.jar
c:\software\developing\wls1034_64\domains\base>set JAVA_DEBUG=
) else (set JAVA_OPTIONS= -Xverify:none -da:org.apache.xmlbeans... -ea:com.bea.wcp... -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconso
le... -Dplatform.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3 -Dwls.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dweblogic.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dcommon.comp
onents.home=C:\software\DEVELO~1\WLS103~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains
\base -Djrockit.optfile=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\serve
rs\AdminServer -Doracle.domain.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf
.arisidstack.home=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\software\DEVELO~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Dor
acle.deployed.app.dir=C:\software\DEVELO~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1
\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dem.
oracle.home=C:\software\developing\wls1034_64\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ex
t.dirs=C:\software\DEVELO~1\WLS103~1\patch_wls1034\profiles\default\sysext_manifest_classpath;C:\software\DEVELO~1\WLS103~1\patch_ocp360\profiles\default\sysext_manifest_classpath -Xverify:none -da:or
g.apache.xmlbeans... -ea:com.bea.wcp... -ea -da:com.bea... -da:javelin... -da:weblogic... -ea:com.bea.wli... -ea:com.bea.broker... -ea:com.bea.sbconsole... -Dplatform.home=C:\software\DEVELO~1\WLS1
03~1\WLSERV~1.3 -Dwls.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dweblogic.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dcommon.components.home=C:\software\DEVELO~1\WLS103~1\ORACL
E~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVELO~1\WL
S103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\so
ftware\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\WLS103~1
\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\software\DEVELO~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO~1\WLS1
03~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVE
LO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=C:\software\DEVELO~1\WLS103~
1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVE
LO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.di
r=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\W
LS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\software\DEVELO~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO
~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\softwa
re\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dem.oracle.home=C:\software\developing\wls10
34_64\oracle_common -Djava.awt.headless=true -Dem.oracle.home=C:\software\developing\wls1034_64\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.te
stConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\software\DEVELO~1\WLS103~1\patch_wls1034\profiles\default\sysext_manifest_classpath;C:\software\DEVELO~1\WLS103~1\patch_ocp360\profiles\defa
ult\sysext_manifest_classpath -Xverify:none -da:org.apache.xmlbeans... -ea:com.bea.wcp... -da )
c:\software\developing\wls1034_64\domains\base>if NOT exist C:\software\DEVELO~1\JDK16~1.0_2\lib (
echo The JRE was not found in directory C:\software\DEVELO~1\JDK16~1.0_2. (JAVA_HOME)
echo Please edit your environment and set the JAVA_HOME
echo variable to point to the root directory of your Java installation.
popd
pause
GOTO :EOF
c:\software\developing\wls1034_64\domains\base>if "false" == "true" (set DATABASE_CLASSPATH=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\common\derby\lib\derbynet.jar;C:\software\DEVELO~1\WLS103~1\WLSERV~
1.3\common\derby\lib\derbyclient.jar ) else (set DATABASE_CLASSPATH=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\common\derby\lib\derbyclient.jar )
c:\software\developing\wls1034_64\domains\base>if NOT "C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc_11.1.1
\ojdbc6dms.jar;;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0
\lib\osb-server-modules-ref.jar" == "" (set PRE_CLASSPATH=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc_11.
1.1\ojdbc6dms.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar;C:\software\DEVELO~1\WLS103~1
\OSB_11~1.0\lib\osb-server-modules-ref.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\osb-server-modules-ref.jar ) else (set PRE_CLASSPATH=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jdbc
_11.1.1\ojdbc6dms.jar )
c:\software\developing\wls1034_64\domains\base>set POST_CLASSPATH=C:\software\DEVELO~1\WLS103~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\soa\modules\oracle.soa.m
gmt_11.1.1\soa-infra-mgmt.jar;C:\software\developing\wls1034_64\osb_11.1.1.4.0\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modul
es\oracle.jrf_11.1.1\jrf.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\soft
ware\developing\wls1034_64\osb_11.1.1.4.0\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\softw
are\DEVELO~1\WLS103~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\software\developing\wls1034_64\osb_11.1.1
.4.0\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\
version.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\alsb.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-ant.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-common
.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-core.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-dameon.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\class
es;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\external\log4j_1.2.8.jar;C:\software\DEVELO~1\WLS103~1\domains\base\config\osb;C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\common\derby\lib\derbyclient.jar
;C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server\lib\xqrl.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\version.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\alsb.jar;C:\software\DEVELO~1\WLS103
~1\OSB_11~1.0\3rdparty\lib\j2ssh-ant.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-common.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-core.jar;C:\software\DEVELO~
1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-dameon.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\classes;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\external\log4j_1.2.8.jar;C:\software\DEVELO~1
\WLS103~1\domains\base\config\osb;C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server\lib\xqrl.jar;C:\software\DEVELO~1\WLS103~1\O
SB_11~1.0\lib\version.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\alsb.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-ant.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\li
b\j2ssh-common.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-core.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\3rdparty\lib\j2ssh-dameon.jar;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\
3rdparty\classes;C:\software\DEVELO~1\WLS103~1\OSB_11~1.0\lib\external\log4j_1.2.8.jar;C:\software\DEVELO~1\WLS103~1\domains\base\config\osb
c:\software\developing\wls1034_64\domains\base>set JAVA_PROFILE=
c:\software\developing\wls1034_64\domains\base>set SERVER_CLASS=weblogic.Server
c:\software\developing\wls1034_64\domains\base>set JAVA_PROPERTIES=-Dplatform.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3 -Dwls.home=C:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dweblogic.home=C
:\software\DEVELO~1\WLS103~1\WLSERV~1.3\server -Dcommon.components.home=C:\software\DEVELO~1\WLS103~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jd
k14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\
software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\softwar
e\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\software\DEVELO
~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.a
lternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle
.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=C:\software\DEVELO~1\WLS103~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.
impl.Jdk14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.
dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carmlloc=C:\
software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\software
\DEVELO~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweb
logic.alternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs
=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dcommon.components.home=C:\software\DEVELO~1\WLS103~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.l
ogging.impl.Jdk14Logger -Ddomain.home=C:\software\DEVELO~1\WLS103~1\domains\base -Djrockit.optfile=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.
config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1 -Digf.arisidbeans.carml
loc=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\carml -Digf.arisidstack.home=C:\software\DEVELO~1\WLS103~1\domains\base\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\s
oftware\DEVELO~1\WLS103~1\domains\base\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\software\DEVELO~1\WLS103~1\domains\base\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\
- -Dweblogic.alternateTypesDirectory=C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\software\DEVELO~1\WLS103~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handl
er.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dem.oracle.home=C:\software\developing\wls1034_64\oracle_common -Djava.awt.headless=true -Dem.oracle.home=C:\software\developing\
wls1034_64\oracle_common -Djava.awt.headless=true -Dem.oracle.home=C:\software\developing\wls1034_64\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true
The input line is too long.
The syntax of the command is incorrect. -
Error creating new user in Weblogic console using RDBMSAuthentication
Hi,
I have tried to configure RDBMSAuthenticator in Weblogic 8. I created related tables in the schema i.e. user_security, etc. But its still not working with my WebApp.
Can someone please help me to configure my application with this Oracle DBMS authentication provider to login to this application...?
1. When I am trying to use these userid/password to login to my application its not able to login getting error as:
####<Nov 21, 2009 11:27:52 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Provider: getLoginModuleConfiguration()>
####<Nov 21, 2009 11:27:53 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Authentication Failed: User "null" denied>
####<Nov 21, 2009 11:27:53 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <PDC2A-01-096> <cgServer> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <000000> <Authentication Failed: User "null">
I am trying to use this DBMS Authentication mechanism in my WebApp i.e. in web.xml I configured the <security-constraint> <login-config> and <security-role> i.e.
<security-constraint>
<display-name>ABCD web security</display-name>
<web-resource-collection>
<web-resource-name>portal file</web-resource-name>
<description>Protects the ABCD enterpise portal web resources</description>
<url-pattern>/*</url-pattern>
<url-pattern>/index.jsp</url-pattern>
<url-pattern>/*.do</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>ABCD Users</description>
<role-name>abcduser</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>pages/login.jsp</form-login-page>
<form-error-page>pages/error.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<description>ABCD User</description>
<role-name>abcduser</role-name>
</security-role>
Also I have made necessary change in Weblogic.xml
I can see the users in this table in my Weblogic console. But I cannot modify them I cant delete any user from Weblogic console, neither can i assign any gropu to them getting error as below while doing this...
1. When trying to delete any uset getting error as:
####<Nov 21, 2009 11:41:50 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <List of currently-available cursors: {RDBMSNameCursor201305690=[email protected]32b09}>
####<Nov 21, 2009 11:41:50 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <delegate.close("RDBMSNameCursor201305690")>
####<Nov 21, 2009 11:41:56 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Removing user becuser1234>
####<Nov 21, 2009 11:41:57 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Caught SQLException from delegate, removing from pool and retrying
java.sql.SQLException: Fail to convert to internal representation
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.CharCommonAccessor.getLong(CharCommonAccessor.java:239)
at oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.java:514)
at com.bea.p13n.security.providers.authentication.RDBMSAtnDelegate.removeUser(RDBMSAtnDelegate.java:474)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl$2.run(RDBMSAuthenticatorImpl.java:414)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.retry(RDBMSAuthenticatorImpl.java:982)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.removeUser(RDBMSAuthenticatorImpl.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1304)
at weblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:640)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
at weblogic.management.console.utils.Security.deleteUser(Security.java:1564)
at weblogic.management.console.actions.security.DoDeleteUserAction.perform(DoDeleteUserAction.java:153)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:182)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
####<Nov 21, 2009 11:42:00 AM GMT+05:30> <Debug> <RDBMSAuthenticator> <localhost> <cgServer> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP'> <weblogic> <> <000000> <Caught SQLException from delegate, removing from pool and retrying
java.sql.SQLException: Fail to convert to internal representation
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at oracle.jdbc.driver.CharCommonAccessor.getLong(CharCommonAccessor.java:239)
at oracle.jdbc.driver.OracleResultSetImpl.getLong(OracleResultSetImpl.java:514)
at com.bea.p13n.security.providers.authentication.RDBMSAtnDelegate.removeUser(RDBMSAtnDelegate.java:474)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl$2.run(RDBMSAuthenticatorImpl.java:414)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.retry(RDBMSAuthenticatorImpl.java:982)
at com.bea.p13n.security.providers.authentication.RDBMSAuthenticatorImpl.removeUser(RDBMSAuthenticatorImpl.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1304)
at weblogic.management.commo.CommoModelMBean.invoke(CommoModelMBean.java:640)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
at weblogic.management.console.utils.Security.deleteUser(Security.java:1564)
at weblogic.management.console.actions.security.DoDeleteUserAction.perform(DoDeleteUserAction.java:153)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:182)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Edited by: user12209056 on Nov 20, 2009 10:38 PMI could resolve the issue...The main points that needed to be done were
1. Keep the 'DefaultAuthentication' to 'Optional/SUFFICIENT' from 'Required'.
2. Create a 'Sequencer' table, if your jar is using it. -
Urgent Error Starting SOA domain Admin Server
ep 29, 2011 5:37:56 PM IST> <Warning> <oracle.jps.idmgmt> <JPS-01520> <Cannot initialize identity store.>
ep 29, 2011 5:37:56 PM IST> <Error> <oracle.bpm.services.organization> <BEA-000000> <Exception
ception.70692.type: error
ception.70692.severity: 2
ception.70692.name: Error while granting BPMOrganizationAdmin role to SOAOperator.
ception.70692.description: Error occured while granting the application role BPMOrganizationAdmin to application role SOAOperator.
ception.70692.fix: In the policy store, please add SOAOperator role as a member of BPMOrganizationAdmin role, if it is not already present.
ABPEL-10585
rvice error.
ternal Error; Service error occurs in JpsProvider in method getIdentityStore().
fer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:379)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy292.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
used By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
at oracle.security.jps.internal.idstore.util.IdentityStoreUtil.getIdentityStoreFactory(IdentityStoreUtil.java:168)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmFactory(AbstractIdmIdentityStore.java:174)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initStore(AbstractIdmIdentityStore.java:124)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmStore(AbstractIdmIdentityStore.java:110)
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:377)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy292.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
ep 29, 2011 5:37:56 PM IST> <Error> <oracle.bpm.common> <BEA-000000> <Exception
M-70692
ception
ception.70692.type: error
ception.70692.severity: 2
ception.70692.name: Error while granting BPMOrganizationAdmin role to SOAOperator.
ception.70692.description: Error occured while granting the application role BPMOrganizationAdmin to application role SOAOperator.
ception.70692.fix: In the policy store, please add SOAOperator role as a member of BPMOrganizationAdmin role, if it is not already present.
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:324)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy292.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
used By: ORABPEL-10585
rvice error.
ternal Error; Service error occurs in JpsProvider in method getIdentityStore().
fer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:379)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy292.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
used By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store.
at oracle.security.jps.internal.idstore.util.IdentityStoreUtil.getIdentityStoreFactory(IdentityStoreUtil.java:168)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmFactory(AbstractIdmIdentityStore.java:174)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.initStore(AbstractIdmIdentityStore.java:124)
at oracle.security.jps.internal.idstore.AbstractIdmIdentityStore.getIdmStore(AbstractIdmIdentityStore.java:110)
at oracle.tip.pc.services.identity.jps.JpsProvider.getIdentityStore(JpsProvider.java:377)
at oracle.tip.pc.services.identity.jps.JpsProvider.init(JpsProvider.java:352)
at oracle.tip.pc.services.identity.jps.JpsProvider.<init>(JpsProvider.java:316)
at oracle.tip.pc.services.identity.jps.JpsProvider.getInstance(JpsProvider.java:328)
at oracle.bpm.bpmn.engine.runtime.DeploymentDescriptorUtil.grantBPMOrganizationAdminRoleToSOAOperator(DeploymentDescriptorUtil.java:292)
at oracle.bpm.bpmn.engine.service.BPMNServiceEngine.stateChanged(BPMNServiceEngine.java:578)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.notifyListeners(FabricLifecycle.java:46)
at oracle.integration.platform.blocks.mesh.FabricLifecycle.setState(FabricLifecycle.java:29)
at oracle.integration.platform.blocks.mesh.MeshImpl.postDeployInit(MeshImpl.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy292.postDeployInit(Unknown Source)
at oracle.integration.platform.kernel.FabricKernelInitializerServlet$1.run(FabricKernelInitializerServlet.java:555)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
A Platform is running and accepting requestsAM using the Sun JDK...and I am manipulating around the below settings in the setDomainEnv file
set XMS_SUN_64BIT=256
set XMS_SUN_32BIT=256
set XMX_SUN_64BIT=512
set XMX_SUN_32BIT=512
set XMS_JROCKIT_64BIT=256
set XMS_JROCKIT_32BIT=256
set XMX_JROCKIT_64BIT=512
set XMX_JROCKIT_32BIT=512
if "%JAVA_VENDOR%"=="Sun" (
set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m
set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m
) else (
set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m
set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m
) -
Wlst offline - create a new domain in weblogic portal 10.2
Hi,
Any one have automation script to create weblogic portal domain, create portlet data base ( not point base).and Domain resources: Machines,Servers, Clusters and data sources. I tried the one which comes with installation ( wlst offlie domain creation script), but it is just configuring weblogic server but not portal.
Thanks.
Krishna.#=======================================================================================
# WLST Common Script Library Functions (these functions support both WLS 8.1.x and 9.x)
#=======================================================================================
__all__ = []
import os
from java.io import FileInputStream
from java.util import Properties
from java.lang import String
import jarray
#=======================================================================================
# RAVI enable library functions to see and use WLST functions
#=======================================================================================
def initialise(topLevelNamespace):
for f in ("addTemplate", "closeDomain", "closeTemplate", "exit", "readDomain",
"readTemplate", "updateDomain", "writeDomain", "cd", "assign",
"assignAll", "create", "delete", "get", "loadDB", "set", "setOption",
"unassign", "unassignAll", "dumpStack", "dumpVariables", "help", "ls",
"prompt", "pwd", "startRecording", "stopRecording", ):
globals()[f] = topLevelNamespace[f]
__all__.append(f)
#=======================================================================================
# Load Properties
#=======================================================================================
def loadPropertiesFromFile(filename):
props = addPropertiesFromFile(filename, {})
return props
#=======================================================================================
# Load Properties
#=======================================================================================
def addPropertiesFromFile(filename, props):
properties = Properties()
input = FileInputStream(filename)
properties.load(input)
input.close()
for entry in properties.entrySet(): props[entry.key.strip()] = entry.value.strip()
return props
#=======================================================================================
# Get WebLogic Version (eg. returns '8.1.5.0', '9.1.0.0', '9.2.0.0')
#=======================================================================================
def getWebLogicVersion():
return cd('/').getConfigurationVersion()
#=======================================================================================
# Get Machine Create Type (returns 'UnixMachine' or 'Machine')
#=======================================================================================
def getMachineCreateType():
# On Unix, machine type is 'UnixMachine' on Windows it is 'Machine'
if os.pathsep == ':':
return 'UnixMachine'
else:
return 'Machine'
#=======================================================================================
# Get Machine Directory Type (returns 'UnixMachine' or 'Machine')
#=======================================================================================
def getMachineDirectoryType():
# On Unix, machine type is 'UnixMachine' on Windows it is 'Machine'
if os.pathsep == ':':
# When moving from WLS 9.1 to WLS 9.2, WLS changed name of unix machines from
# 'UnixMachine' to just 'Machine'
wlsVersion = getWebLogicVersion()
if wlsVersion.startswith('8') or wlsVersion.startswith('9.0') or wlsVersion.startswith('9.1'):
return 'UnixMachine'
else:
return 'Machine'
else:
return 'Machine'
#=======================================================================================
# Set Domain Options
#=======================================================================================
def setDomainOptions(prodMode, javaHome):
setOption('OverwriteDomain', 'true')
setOption('ServerStartMode', prodMode)
setOption('JavaHome', javaHome)
setOption('CreateStartMenu', 'false')
#=======================================================================================
# Set System User
#=======================================================================================
def setSystemUser(domainname, username, password):
sysUser = cd('/Security/%s/User/weblogic' % domainname)
sysUser.setName(username)
sysUser.setPassword(password)
#=======================================================================================
# Create WLS81 Oracle Database Pool
#=======================================================================================
def createWLS81OracleDatabasePool(dbName, dbUsername, dbPassword, dbDriver, dbUrl):
newPool = create(dbName, 'JDBCConnectionPool')
newPool.setDriverName(dbDriver)
newPool.setURL(dbUrl)
newPool.setPassword(dbPassword)
newPool.setInitialCapacity(5)
newPool.setTestFrequencySeconds(60)
newPool.setTestConnectionsOnRelease(1)
newPool.setTestConnectionsOnReserve(1)
newPool.setConnectionReserveTimeoutSeconds(60)
newPool.setUserName(dbUsername)
return newPool
#=======================================================================================
# Create WLS81 Data Source
#=======================================================================================
def createWLS81DataSource(dsType, dsName, jndiName, poolName):
ds = create(dsName, dsType)
ds.setJNDIName(jndiName)
ds.setPoolName(poolName)
return ds
#=======================================================================================
# Configure WLS9 Oracle Database
#=======================================================================================
def configureWLS9OracleDatabase(dsName, jndiNames, driver, host, port, sid, username, password, targets):
cd('/')
dataSource = create(dsName, 'JDBCSystemResource')
cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
dbParam = create('dbParams','JDBCDriverParams')
cd('JDBCDriverParams/NO_NAME_0')
dbParam.setDriverName(driver)
set('URL', 'jdbc:oracle:thin:@' + host + ':' + port + ':' + sid)
dbParam.setPasswordEncrypted(password)
dbProps = create('props','Properties')
cd('Properties/NO_NAME_0')
dbUser = create('user', 'Property')
dbUser.setValue(username)
cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
create('jdbcDataSourceParams','JDBCDataSourceParams')
cd('JDBCDataSourceParams/NO_NAME_0')
set("JNDINames", jndiNames)
cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
create('jdbcConnectionPoolParams','JDBCConnectionPoolParams')
cd('JDBCConnectionPoolParams/NO_NAME_0')
set('TestTableName','SQL SELECT 1 FROM DUAL')
set('TestConnectionsOnReserve','true')
assign('JDBCSystemResource', dsName, 'Target', targets)
return dataSource
#=======================================================================================
# Configure WLS102 DB2
#=======================================================================================
def configureWLS102DB2(dsName, jndiNames, driver, host, port, sid, username, password, targets, trans, url, testquery):
print 'datasource('+dsName+','+ jndiNames+','+ driver+','+ host+','+ port+','+ sid+','+ username+','+ password+','+targets+','+ trans+','+url+',' + testquery +'):'
cd('/')
dataSource = create(dsName, 'JDBCSystemResource')
cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
dbParam = create('dbParams','JDBCDriverParams')
cd('JDBCDriverParams/NO_NAME_0')
dbParam.setDriverName(driver)
#set('URL', 'jdbc:bea:db2://' + host + ':' + port)
set('URL', url)
dbParam.setPasswordEncrypted(password)
#dbParam.setPassword(password)
dbProps = create('props','Properties')
cd('Properties/NO_NAME_0')
dbUser = create('user', 'Property')
dbUser.setValue(username)
dbPortNumber = create('portNumber', 'Property')
dbPortNumber.setValue(port)
dbDbName = create('databaseName', 'Property')
dbDbName.setValue(sid)
dbHost = create('serverName', 'Property')
dbHost.setValue(host)
dbBatch = create('batchPerformanceWorkaround', 'Property')
dbBatch.setValue('true')
cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
create('jdbcDataSourceParams','JDBCDataSourceParams')
cd('JDBCDataSourceParams/NO_NAME_0')
jndiNamesAray=jndiNames.split(',')
set('JNDINames', jndiNamesAray)
set('GlobalTransactionsProtocol', trans)
#cd('/JDBCSystemResources/ttttt/JDBCResource/ttttt/JDBCDataSourceParams/ttttt')
#cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
#cd('JDBCDataSourceParams/NO_NAME_0')
#dbDatasource = cmo
#dbDatasource.setGlobalTransactionsProtocol(trans)
cd('/JDBCSystemResource/' + dsName + '/JdbcResource/' + dsName)
create('jdbcConnectionPoolParams','JDBCConnectionPoolParams')
cd('JDBCConnectionPoolParams/NO_NAME_0')
#set('TestTableName','SQL SELECT COUNT(*) FROM SYSIBM.SYSTABLES')
set('TestTableName',testquery)
set('TestConnectionsOnReserve','true')
assign('JDBCSystemResource', dsName, 'Target', targets)
cd('/JDBCSystemResources/'+dsName)
#targetsAray=[targets]
#set('Targets',targetsAray)
return dataSource
#=======================================================================================
# Set Common Server Settings
#=======================================================================================
def setCommonServerSettings(server):
server.setNativeIOEnabled(1)
server.setWeblogicPluginEnabled(1)
#=======================================================================================
# Set Server Logging
#=======================================================================================
def setServerLogging(server, logpath, level):
cd('/Server/' + server.getName())
log = create(server.getName(), 'Log')
log.setFileName(logpath + '/' + server.getName() + '.log')
log.setRotationType('byTime')
log.setRotationTime('02:00')
log.setFileTimeSpan(24)
log.setFileCount(7)
log.setLogFileSeverity(level)
#=======================================================================================
# Set Web Server
#=======================================================================================
def setWebServer(server, logpath, frontEndHost, frontEndPort, frontEndSSLPort):
cd('/Server/' + server.getName())
webServer = create(server.getName(), 'WebServer')
webServer.setFrontendHost(frontEndHost)
webServer.setFrontendHTTPPort(frontEndPort)
webServer.setFrontendHTTPSPort(frontEndSSLPort)
wlsVersion = getWebLogicVersion()
if wlsVersion.startswith('9') or wlsVersion.startswith('10'):
cd('/Server/' + server.getName() + '/WebServer/' + server.getName())
webServerLog = create(server.getName(),'WebServerLog')
webServerLog.setFileName(logpath + '/' + server.getName() + '_access.log')
webServerLog.setRotationType('byTime')
webServerLog.setRotationTime('02:00')
webServerLog.setFileTimeSpan(24)
webServerLog.setFileCount(7)
else:
webServer.setLogFileName(logpath + '/' + server.getName() + '_access.log')
webServer.setLogRotationType('date')
webServer.setLogRotationTimeBegin('01-01-2006-2:00:00')
webServer.setLogRotationPeriodMins(1440)
webServer.setLogFileCount(7)
#=======================================================================================
# Create Boot Properties File
#=======================================================================================
def createBootPropertiesFile(directoryPath, username, password):
file = open (directoryPath + '/boot.properties', 'w')
file.write('username=%s\n' % username)
file.write('password=%s\n' % password)
file.flush()
file.close()
Hopefully this will work for you -
Unable to create new domain for ORM in Weblogic 8.1
Hi,
I have installed Oracle Role Manager(ORM) 10.1.4 and to run ORM in weblogic i have to create a new domain for ORM.
I tried to create a new domain in weblogic 8.1 in configuration wizard by selecting the orm_createdomain_template_103.jar but i m getting an error
"There is a problem with the template".
This template is to create new domain for ORM in weblogic 10.3
Kindly help me to resolve this issue.
Regards,
ManjuI have installed ORM 10.1.4.1 on weblogic 10.3
I have also created a new domain for ORM in weblogic.
When i start the Managed server using startManagedWebLogic.cmd i m getting the following
errort
t3://localhost:7004/jndi/weblogic.management.mbeanservers.domainruntime.
java.io.IOException: Unable to resolve 'weblogic.management.mbeanservers.domainr
untime'. Resolved 'weblogic.management.mbeanservers'
at weblogic.management.remote.common.ClientProviderBase.makeConnection(C
lientProviderBase.java:156)
at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(
ClientProviderBase.java:79)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnec
torFactory.java:338)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
ry.java:247)
at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainR
untimeService.getDomainMBeanServerConnection(RegisterWithDomainRuntimeService.ja
va:199)
Truncated. see log file for complete stacktrace
javax.naming.NameNotFoundException: Unable to resolve 'weblogic.management.mbean
servers.domainruntime'. Resolved 'weblogic.management.mbeanservers'; remaining n
ame 'domainruntime'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
NamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
a:252)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
ava:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:20
6)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:21
4)
Truncated. see log file for complete stacktrace
>
<Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000365> <Serv
er state changed to RUNNING>
<Jul 3, 2009 10:08:52 AM GMT+05:30> <Notice> <WebLogicServer> <BEA-000360> <Serv
er started in RUNNING mode>
Please help me to resolve this issue.
Regards,
Manju
Maybe you are looking for
-
ITunes won't recognize my iPod Touch 2G
I bought a used iPod Touch 2G. Everthing seems to be working with the iPod but my iTunes V11.1.5.5 won't recognize it when I plug it in. I am using a laptop with Windows 8. In File Explorer it shows 'Apple iPod' under 'This PC'. I have gone to Servic
-
I'm running Mavericks 10.9.2 and my Font Book application seems to randomly disable fonts. When I open the application to enable certain fonts, it disables them again anywhere from 5 minutes to a week later. There is no preference to keep all fonts e
-
Help for Realplayer Streaming over wifi Timecapsul...
I was successfully streaming radio and video (BBC) to the E71 over my home network - Mac Timecapsule being used as wireless router WPA2, password protected. All of a sudden it stops "unable to connect" message when the Realplayer app tries to open a
-
Every time Firefox 4.6.4 build 3 open, Norton Confidential (part of Norton Internet Security 4( cannot load it;s toolbar as before (last version of 3.6.4 work fine). So Norton Confidential ask to load. If click yes, Norton Confidential fail to load a
-
Finding a Windows 7 shared folder on OS X
Just wondering if I can get some help. Has anyone been able to find a Windows 7 (RC) shared folder on their Mac? I know the HomeShare feature on Windows 7 needs to be turned off. And if I log in using Microsoft's Remote Desktop Connection software fi