Sample of weblogic.policy for WLS6.0
Dear all,
I had installed WLS6.0 on Solaris 2.6 and try to turn on
java security manager with this option
-Djava.security.policy==/usr/home/bea/wlserver6.0/lib/
weblogic.policy -Djava.security.manager
This make me unable to boot WLS. Here is contents of my weblogic.policy
grant {
// Permission "enableSubstitution" needed to run the WebLogic console
permission java.io.SerializablePermission "enableSubstitution";
// Permission "modifyThreadGroup" required to run the WebLogic Server
permission java.lang.RuntimePermission "modifyThreadGroup";
permission java.lang.RuntimePermission "setContextClassLoader";
// Permission "setIO" needed to start a server from the WebLogic console
permission java.lang.RuntimePermission "setIO";
// Permission "getClassLoader" needed for many EJB clients
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.RuntimePermission "stopThread";
permission java.net.SocketPermission "localhost:1024-", "listen";
permission java.util.PropertyPermission "*", "read,write";
permission java.io.FilePermission "${/}usr${/}home${/}bea${/}wlserver6.0${/}-",
"read,write,delete,execute";
And here is the error occurs
java.security.AccessControlException: access denied (java.io.FilePermission /usr/home/bea/wlserver6.0
read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
at java.security.AccessController.checkPermission(AccessController.java:399)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
at java.io.File.exists(File.java:535)
at weblogic.utils.classloaders.ClasspathClassFinder.<init>(ClasspathClassFinder.java:61)
at weblogic.Home.getFileSource(Home.java:64)
at weblogic.Home.<init>(Home.java:29)
at weblogic.Home.getInstance(Home.java:82)
at weblogic.Home.getPath(Home.java:90)
at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate.java:76)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:167)
at weblogic.Server.main(Server.java:35)
Could anyone give me what goes wrong. If you have a working version of weblogic.policy,
please share with me.
Regards,
Khemchart
Here's a snippet from upcoming release notes about the Java
security manager and the example weblogic.policy file.
Using the Java Security Manager with WebLogic Server
When you run WebLogic Server under Java 2 (JDK 1.2 or 1.3), WebLogic
Server can use the Java Security Manager in Java 2 to provide
additional access control for WebLogic Server resources. The Java
Virtual Machine (JVM) has security mechanisms built into it which can
be managed via a security policy file. The Java Security Manager can
enforce a set of permissions granted to CodeSource or SignedBy
classes. The permissions allow certain classes running in that
instance of the JVM to do or not do certain runtime operations. In
many cases, where the threat model does not include malicious code
being run on the JVM, the Java Security Manager is unnecessary. In
cases such as when an Application Service Provider uses WebLogic
Server and unknown classes are being run, the Java Security Manager is
necessary. To use the Java Security Manager with WebLogic Server,
specify the -Djava.security.manager property when starting WebLogic
Server.
Note: In past releases of WebLogic Server, the Java Security Manager
was enabled by using the -Dweblogic.security.manager property when
starting WebLogic Server. Please note the change in the property for
WebLogic Server version 6.0 and greater.
The Java Security Manager uses a security policy file that defines
permissions. The full pathname of security policy is specified in the
-Djava.security.policy property when starting WebLogic Server. If you
enable the Java Security Manager but do not specify a security policy
file, the Java Security Manager uses the default security policies
defined in the java.security and java.policy files in the
$JAVA_HOME/lib/security directory.
WebLogic Server includes an example security policy file named
weblogic.policy. This file contains a set of default permissions.
You need to make the following edits to the file in order to use the
file with your WebLogic Server deployment.
1. Edit the following lines in the weblogic.policy file, replacing the
specified location with the location of your WebLogic Server
installation:
grant codebase "file://BEA/-"{
permission java.io.FilePermission "D:${/}BEA${/}=", ...
Note: This change assumes your installation directory structure is the
same as the one described in the BEA Home Directory topic in the BEA
WebLogic Server Installation Guide.
2. If you want to run the Administration Console, add the following
grant block and permissions to the weblogic.policy file:
grant {
permission java.io.FilePermission
"D:{/}BEA${/}wlserver600${/}weblogic${/}management${/}console${/}-",
"read";
permission java.io.FilePermission
"D:{/}BEA${/}wlserver600${/}config${/}mydomain${/}applications${/}.wl_te\
mp_do_not_delete${/}weblogic${/}management${/}console${/}-", "read";
permission java.util.PropertyPermission "user.*", "read";
3. If you have extra directories in your CLASSPATH or if you are
deploying applications in extra directories, you need to add specific
permissions for those directories to your weblogic.policy file.
BEA also recommends taking the following precautions:
? Make a backup copy of the weblogic.policy file and put the backup
copy in a secure location.
? Set the permissions on the weblogic.policy file such that the
adminstrator of the WebLogic Server deployment has write and read
privileges and no other users
To use the Java Security Manager and the weblogic.policy file with
your WebLogic Server deployment, use the following properties when
starting WebLogic Server:
$java... -Djava.security.manager \
-Djava.security.policy==D:/BEA/wlserver600/lib/weblogic.policy
For more information about the Java Security Manager, see the Javadoc
shipped with Java 2.
The RecordingSecurityManager utility can be used to detect permission
problems that occur when starting and running WebLogic Server. The
utility outputs permissions that can be added to your security policy
file to resolve the permission problems that the utility finds. The
RecordingSecurityManager is available at the BEA Developer's Center.
Similar Messages
-
Weblogic Portal 10.3 : Password Expiry Policy for DefaultAuthenticator
Hi,
I wan to create a Password Expiry Policy for Default Authenticator in Weblogic Portal can somebody explain me the steps.
Password: Should be minimum 8 characters and One Capital letter and One Number minimum
Password: Should be expired after 90 days
Thanks in Advance,
Viswanath KYou cannot directly do this as far as I know.
a. Either write your own custom authentication provider that implements these rules, or use an off the shelf LDAP that lets you specify these rules
b. Implement this outside the authenticator (i.e. when the user specifies the password , validate these rules). When the user changes his password , record the date, when the user logs in , check the date for expiry etc,
regards
deepak -
Problems Starting Weblogic Server for Tutorials (Fresh install)...
Hi guys, need a little help here.
I'm trying to startup Weblogic Server for Java Control Tutorial application and I get all sorts of errors, mostly seeming to deal with JMS/JNDI network stuff. Here's the error dump I get:
* 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.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
Starting WLS with line:
C:\bea\JDK142~1\bin\java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket
,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms256m -Xmx256m -XX:Com
pileThreshold=8000 -XX:PermSize=32m -XX:MaxPermSize=128m -Xverify:none -ea -da
:com.bea... -da:javelin... -da:weblogic... -Dplatform.home=C:\bea\WEBLOG~1 -Dwls
.home=C:\bea\WEBLOG~1\server -Dwli.home=C:\bea\WEBLOG~1\integration -Dlog4j.con
figuration=file:C:\bea\WEBLOG~1\common\lib\workshopLogCfg.xml -Dweblogic.managem
ent.discover=true -Dweblogic.ProductionModeEnabled= -Dweblogic.security.SSL.ign
oreHostnameVerify=false -Dwlw.iterativeDev=true -Dwlw.testConsole=true -Dwlw.log
ErrorsToConsole=true -Dweblogic.Name=cgServer -Djava.security.policy=C:\bea\WEBL
OG~1\server\lib\weblogic.policy weblogic.Server
<Oct 30, 2005 2:33:31 PM PST> <Info> <WebLogicServer> <BEA-000377> <Starting Web
Logic Server with Java HotSpot(TM) Client VM Version 1.4.2_05-b04 from Sun Micro
systems Inc.>
<Oct 30, 2005 2:33:31 PM PST> <Info> <Configuration Management> <BEA-150016> <Th
is server is being started as the administration server.>
<Oct 30, 2005 2:33:31 PM PST> <Info> <Management> <BEA-141107> <Version: WebLogi
c Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
WebLogic XMLX Module 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
WebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
WebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
WebLogic Integration 8.1 SP4 Tue Nov 30 10:34:16 PST 2004 471877>
<Oct 30, 2005 2:33:32 PM PST> <Notice> <Management> <BEA-140005> <Loading domain
configuration from configuration repository at C:\bea\WEBLOG~1\samples\domains\
workshop\.\config.xml.>
<Oct 30, 2005 2:33:33 PM PST> <Notice> <Log Management> <BEA-170019> <The server
log file C:\bea\weblogic81\samples\domains\workshop\cgServer\cgServer.log is op
ened. All server side log events will be written to this file.>
<Oct 30, 2005 2:33:34 PM PST> <Notice> <Security> <BEA-090082> <Security initial
izing using security realm myrealm.>
<Oct 30, 2005 2:33:34 PM PST> <Notice> <WebLogicServer> <BEA-000327> <Starting W
ebLogic Admin Server "cgServer" for domain "workshop">
<Oct 30, 2005 2:33:38 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgJMSPool-nonXA": SQL-server rejected establ
ishment of SQL-connection. Pointbase Server may not be running on localhost at p
ort 9093.>
<Oct 30, 2005 2:33:40 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgJMSPool-nonXA": SQL-server rejected establ
ishment of SQL-connection. Pointbase Server may not be running on localhost at p
ort 9093.>
<Oct 30, 2005 2:33:42 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgJMSPool-nonXA": SQL-server rejected establ
ishment of SQL-connection. Pointbase Server may not be running on localhost at p
ort 9093.>
<Oct 30, 2005 2:33:44 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgJMSPool-nonXA": SQL-server rejected establ
ishment of SQL-connection. Pointbase Server may not be running on localhost at p
ort 9093.>
<Oct 30, 2005 2:33:46 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgJMSPool-nonXA": SQL-server rejected establ
ishment of SQL-connection. Pointbase Server may not be running on localhost at p
ort 9093.>
<Oct 30, 2005 2:33:47 PM PST> <Error> <JDBC> <BEA-001150> <Connection Pool "cgJM
SPool-nonXA" deployment failed with the following error: 0:Could not create pool
connection. The DBMS driver exception was: SQL-server rejected establishment of
SQL-connection. Pointbase Server may not be running on localhost at port 9093..
>
<Oct 30, 2005 2:33:48 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgPool": SQL-server rejected establishment o
f SQL-connection. Pointbase Server may not be running on localhost at port 9093.
>
<Oct 30, 2005 2:33:50 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgPool": SQL-server rejected establishment o
f SQL-connection. Pointbase Server may not be running on localhost at port 9093.
>
<Oct 30, 2005 2:33:52 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgPool": SQL-server rejected establishment o
f SQL-connection. Pointbase Server may not be running on localhost at port 9093.
>
<Oct 30, 2005 2:33:54 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgPool": SQL-server rejected establishment o
f SQL-connection. Pointbase Server may not be running on localhost at port 9093.
>
<Oct 30, 2005 2:33:56 PM PST> <Warning> <JDBC> <BEA-001129> <Received exception
while creating connection for pool "cgPool": SQL-server rejected establishment o
f SQL-connection. Pointbase Server may not be running on localhost at port 9093.
>
<Oct 30, 2005 2:33:57 PM PST> <Error> <JDBC> <BEA-001150> <Connection Pool "cgPo
ol" deployment failed with the following error: 0:Could not create pool connecti
on. The DBMS driver exception was: SQL-server rejected establishment of SQL-conn
ection. Pointbase Server may not be running on localhost at port 9093..>
<Oct 30, 2005 2:33:57 PM PST> <Error> <JDBC> <BEA-001151> <Data Source "cgDataSo
urce" deployment failed with the following error: DataSource(cgDataSource;cgSamp
leDataSource) can't be created with non-existent Pool (connection or multi) (cgP
ool).>
<Oct 30, 2005 2:33:57 PM PST> <Error> <JDBC> <BEA-001151> <Data Source "cgDataSo
urce-nonXA" deployment failed with the following error: DataSource(cgDataSource-
nonXA;weblogic.jdbc.jts.ebusinessPool) can't be created with non-existent Pool (
connection or multi) (cgJMSPool-nonXA).>
<Oct 30, 2005 2:33:57 PM PST> <Alert> <JMS> <BEA-040052> <JMSServer "cgJMSServer
" store failed to open java.io.IOException: JMS JDBC store, connection pool = <c
gJMSPool-nonXA>, prefix = <weblogic>: connection pool does not exist.
java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-nonXA>, prefix
= <weblogic>: connection pool does not exist
at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:48
8)
at weblogic.jms.store.JDBCIOStream.checkPool(JDBCIOStream.java:1599)
at weblogic.jms.store.JDBCIOStream.open(JDBCIOStream.java:548)
at weblogic.jms.store.JMSStore.open(JMSStore.java:224)
at weblogic.jms.backend.BEStore.open(BEStore.java:262)
at weblogic.jms.backend.BEStore.start(BEStore.java:151)
at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1290)
at weblogic.jms.JMSService.addJMSServer(JMSService.java:2260)
at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:337)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:597)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:575)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:754)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:733)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:509)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
60)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
28)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Rem
oteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
ServerImpl.java:946)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
xy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
ServerMBean_Stub.java:7691)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
s(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
>
<Oct 30, 2005 2:33:57 PM PST> <Error> <JMS> <BEA-040123> <Failed to start JMS Se
rver "cgJMSServer" due to weblogic.jms.common.JMSException: JMS can not open sto
re cgJMSStore.
weblogic.jms.common.JMSException: JMS can not open store cgJMSStore
at weblogic.jms.backend.BEStore.start(BEStore.java:163)
at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1290)
at weblogic.jms.JMSService.addJMSServer(JMSService.java:2260)
at weblogic.jms.JMSService.addDeployment(JMSService.java:2031)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:337)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Dep
loymentTarget.java:597)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeploy
ments(DeploymentTarget.java:575)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(
DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:754)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:733)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:509)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
60)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
28)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(Rem
oteMBeanServerImpl.java:988)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBean
ServerImpl.java:946)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:954)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanPro
xy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(
ServerMBean_Stub.java:7691)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployment
s(SlaveDeployer.java:1304)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.j
ava:347)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resum
e(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
Caused by: java.io.IOException: JMS JDBC store, connection pool = <cgJMSPool-non
XA>, prefix = <weblogic>: connection pool does not exist
at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:48
8)
at weblogic.jms.store.JDBCIOStream.checkPool(JDBCIOStream.java:1599)
at weblogic.jms.store.JDBCIOStream.open(JDBCIOStream.java:548)
at weblogic.jms.store.JMSStore.open(JMSStore.java:224)
at weblogic.jms.backend.BEStore.open(BEStore.java:262)
at weblogic.jms.backend.BEStore.start(BEStore.java:151)
... 29 more
>
<Oct 30, 2005 2:33:57 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: CreditScoreTutorial is unable to connect to the JMS destination: tutorial.cr
edit.request.topic. The Error was:
[EJB:011010]The JMS destination with the JNDI name: tutorial.credit.request.topi
c could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.x
ml is correct, and the JMS destination has been deployed.>
<Oct 30, 2005 2:33:58 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: KNEX.bean.QueueTransport is unable to connect to the JMS destination: jws.qu
eue. The Error was:
[EJB:011010]The JMS destination with the JNDI name: jws.queue could not be found
. Please ensure that the JNDI name in the weblogic-ejb-jar.xml is correct, and t
he JMS destination has been deployed.>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <Security> <BEA-090170> <Loading the priv
ate key stored under the alias DemoIdentity from the jks keystore file C:\bea\we
blogic81\server\lib\DemoIdentity.jks.>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <Security> <BEA-090171> <Loading the iden
tity certificate stored under the alias DemoIdentity from the jks keystore file
C:\bea\weblogic81\server\lib\DemoIdentity.jks.>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <Security> <BEA-090169> <Loading trusted
certificates from the jks keystore file C:\bea\weblogic81\server\lib\DemoTrust.j
ks.>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <Security> <BEA-090169> <Loading trusted
certificates from the jks keystore file C:\bea\JDK142~1\jre\lib\security\cacerts
.>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <WebLogicServer> <BEA-000331> <Started We
bLogic Admin Server "cgServer" for domain "workshop" running in Development Mode
>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <WebLogicServer> <BEA-000360> <Server sta
rted in RUNNING mode>
<Oct 30, 2005 2:33:58 PM PST> <Warning> <WebLogicServer> <BEA-000372> <HostName:
0.0.0.0, maps to multiple IP addresses:192.168.0.1,70.34.104.139>
<Oct 30, 2005 2:33:58 PM PST> <Warning> <WebLogicServer> <BEA-000372> <HostName:
0.0.0.0, maps to multiple IP addresses:192.168.0.1,70.34.104.139>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <WebLogicServer> <BEA-000355> <Thread "Li
stenThread.Default" listening on port 7001, ip address *.*>
<Oct 30, 2005 2:33:58 PM PST> <Notice> <WebLogicServer> <BEA-000355> <Thread "SS
LListenThread.Default" listening on port 7002, ip address *.*>
<Oct 30, 2005 2:34:07 PM PST> <Warning> <EJB> <BEA-010096> <The Message-Driven E
JB: CreditScoreTutorial is unable to connect to the JMS destination: tutorial.cr
edit.request.topic. Connection failed after 2 attempts. The MDB will attempt to
reconnect every 10 seconds. This log message will repeat every 600 seconds until
the condition clears.>
<Oct 30, 2005 2:34:07 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: CreditScoreTutorial is unable to connect to the JMS destination: tutorial.cr
edit.request.topic. The Error was:
[EJB:011010]The JMS destination with the JNDI name: tutorial.credit.request.topi
c could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.x
ml is correct, and the JMS destination has been deployed.>
<Oct 30, 2005 2:34:08 PM PST> <Warning> <EJB> <BEA-010096> <The Message-Driven E
JB: KNEX.bean.QueueTransport is unable to connect to the JMS destination: jws.qu
eue. Connection failed after 2 attempts. The MDB will attempt to reconnect every
10 seconds. This log message will repeat every 600 seconds until the condition
clears.>
<Oct 30, 2005 2:34:08 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: KNEX.bean.QueueTransport is unable to connect to the JMS destination: jws.qu
eue. The Error was:
[EJB:011010]The JMS destination with the JNDI name: jws.queue could not be found
. Please ensure that the JNDI name in the weblogic-ejb-jar.xml is correct, and t
he JMS destination has been deployed.>
<Oct 30, 2005 2:44:08 PM PST> <Warning> <EJB> <BEA-010096> <The Message-Driven E
JB: KNEX.bean.QueueTransport is unable to connect to the JMS destination: jws.qu
eue. Connection failed after 62 attempts. The MDB will attempt to reconnect ever
y 10 seconds. This log message will repeat every 600 seconds until the condition
clears.>
<Oct 30, 2005 2:44:08 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: KNEX.bean.QueueTransport is unable to connect to the JMS destination: jws.qu
eue. The Error was:
[EJB:011010]The JMS destination with the JNDI name: jws.queue could not be found
. Please ensure that the JNDI name in the weblogic-ejb-jar.xml is correct, and t
he JMS destination has been deployed.>
<Oct 30, 2005 2:44:17 PM PST> <Warning> <EJB> <BEA-010096> <The Message-Driven E
JB: CreditScoreTutorial is unable to connect to the JMS destination: tutorial.cr
edit.request.topic. Connection failed after 63 attempts. The MDB will attempt to
reconnect every 10 seconds. This log message will repeat every 600 seconds unti
l the condition clears.>
<Oct 30, 2005 2:44:17 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: CreditScoreTutorial is unable to connect to the JMS destination: tutorial.cr
edit.request.topic. The Error was:
[EJB:011010]The JMS destination with the JNDI name: tutorial.credit.request.topi
c could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.x
ml is correct, and the JMS destination has been deployed.>
<Oct 30, 2005 2:54:08 PM PST> <Warning> <EJB> <BEA-010096> <The Message-Driven E
JB: KNEX.bean.QueueTransport is unable to connect to the JMS destination: jws.qu
eue. Connection failed after 122 attempts. The MDB will attempt to reconnect eve
ry 10 seconds. This log message will repeat every 600 seconds until the conditio
n clears.>
<Oct 30, 2005 2:54:08 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: KNEX.bean.QueueTransport is unable to connect to the JMS destination: jws.qu
eue. The Error was:
[EJB:011010]The JMS destination with the JNDI name: jws.queue could not be found
. Please ensure that the JNDI name in the weblogic-ejb-jar.xml is correct, and t
he JMS destination has been deployed.>
<Oct 30, 2005 2:54:17 PM PST> <Warning> <EJB> <BEA-010096> <The Message-Driven E
JB: CreditScoreTutorial is unable to connect to the JMS destination: tutorial.cr
edit.request.topic. Connection failed after 123 attempts. The MDB will attempt t
o reconnect every 10 seconds. This log message will repeat every 600 seconds unt
il the condition clears.>
<Oct 30, 2005 2:54:17 PM PST> <Warning> <EJB> <BEA-010061> <The Message-Driven E
JB: CreditScoreTutorial is unable to connect to the JMS destination: tutorial.cr
edit.request.topic. The Error was:
[EJB:011010]The JMS destination with the JNDI name: tutorial.credit.request.topi
c could not be found. Please ensure that the JNDI name in the weblogic-ejb-jar.x
ml is correct, and the JMS destination has been deployed.>
THANK YOU for any help you can provide!These are errors/warning because of incorrect connection pool settings.Either the database parameters were not configured correctly or there were some issues with the configuration itself.
Your server did start up correctly though.
"<Server started in RUNNING mode>" -
Hi
My situation :
I have 2 managed weblogic portal 10.3.0 managed servers in a cluster and 1 admin server. All are running as a service.
Deployments of new versions of applications are submitted by an automated script.
The steps in the script are :
- stop the services of the managed servers
- undeploy the previous version by using ant task
<target name="undeploy_old" description="undeploy old application" depends="downloadFiles">
<java classname="weblogic.Deployer" output="./temp/${buildProject}_${deployEnv}/${buildVersion}/undeploy.txt" fork="yes">
<arg value="-adminurl" /> <arg value="${adminurl}" />
<arg value="-username" /> <arg value="${weblogic_user}" />
<arg value="-password" /> <arg value="${weblogic_pwd}" />
<arg value="-undeploy" />
<arg value="-name" />
<arg value="${buildProject}" />
<arg value="-verbose" />
<classpath refid="project.class.path"/>
</java> - deploy the new version by using ant task
<java classname="weblogic.Deployer"
output="./temp/${buildProject}_${deployEnv}/${buildVersion}/deploy.txt"
fork="yes"
maxmemory="512m"
inputstring="" >
<arg value="-adminurl" /> <arg value="${adminurl}" />
<arg value="-username" /> <arg value="${weblogic_user}" />
<arg value="-password" /> <arg value="${weblogic_pwd}" />
<arg value="-stage" />
<arg value="-verbose" />
<arg value="-upload" />
<arg value="-deploy" />
<arg value="-name" /> <arg value="${buildProject}" />
<arg value="-source" /> <arg value="./temp/${buildProject}_${deployEnv}/${buildVersion}/${buildProject}.ear" />
<arg value="-targets" /> <arg value="${deploytargetinstances}" />
<classpath refid="project.class.path"/>
</java>- start the services of the managed servers
Problem:
When the managed servers are restarting and the new version is going to prepared status, an error occurs for the new version of the application :
####<27-dec-2011 13.42 u. CET> <Info> <Deployer> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758076> <BEA-149059> <Module MySecurexEarAdmin of application MySecurex is transitioning from STATE_NEW to STATE_PREPARED on server s40beaportacc1p9106.>
####<27-dec-2011 13.42 u. CET> <Error> <Security> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-090064> <The DeployableAuthorizer "myrealm_weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl" returned an error: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource.>
####<27-dec-2011 13.42 u. CET> <Error> <HTTP> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-101199> <Could not deploy policy for resource: type=<url>, application=MySecurex, contextPath=/MySecurexEarAdmin, uri=/campaigns/emails/*.
weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:173)
at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(Unknown Source)
at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(Unknown Source)
at weblogic.security.service.AuthorizationManager.deployPolicy(Unknown Source)
at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1189)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1121)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:119)
at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:162)
at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
weblogic.management.utils.CreateException:
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:241)
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:112)
com.bea.security.xacml.PolicyStoreException: <openjpa-1.1.0-r422266:657916 fatal store error> kodo.jdo.FatalDataStoreException: The transaction has been rolled back. See the nested exceptions for details on the errors that occurred.
at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:684)
at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:576)
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
<openjpa-1.1.0-r422266:657916 nonfatal store error> kodo.jdo.ObjectNotFoundException: The instance "netscape.ldap.LDAPException: error result (32)" does not exist in the data store.
FailedObject: netscape.ldap.LDAPException: error result (32)
at com.bea.common.ldap.LDAPStoreManager.flush(LDAPStoreManager.java:370)
at org.apache.openjpa.abstractstore.AbstractStoreManager.flush(AbstractStoreManager.java:277)
at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
at org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:554)
at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2007)
....>
My workaround:
Delete the <domain>\servers\s40beaportacc1p9106\data\ldap directory on the managed servers and restart
Does anyone knows what causes the error and how to solve it?
The goal is to be able to deploy our application by automation.You must use not the original bean that you coded. You must use the bean generated by axis-wsdl2java.
The bean generated by axis-wsdl2java is:
- in the first beanMapping: MSPCSService.SMSMO
- in the second beanMapping: MSPCSService.SMSMOResponse
As you can see, the bean the axis-wsdl2java will generate is build with the namespace + "." + qname. If you use an domain like java.sun.com in namespace, then the package name you will use is inverted (in the sample, com.sun.java). Look at the code generated.
You client must use this beans, not the original coded by you.
This must work, worked for me :) -
WebLogic 9.2 and weblogic.policy file
Hello,
I'm using weblogic.policy file while starting weblogic.
After adding it to JAVA_OPTIONS in startWebLogic.cmd I've got AccessControlException, and I'have to grant this persmision to all:
permission java.util.PropertyPermission "debug.properties", "read";
permission java.util.PropertyPermission "netuix.logger.implementation", "read";
permission java.util.PropertyPermission "netuix.formatter.implementation", "read";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.RuntimePermission "weblogic.kernelPermission";
permission java.lang.RuntimePermission "setContextClassLoader";
This is not all permissions which I have to grant.
While I'm tring to run my deployed application I've got
java.security.AccessControlException: access denied (java.io.FilePermission D:\serwery\bea\jrockit90_150_04\jre\lib\managementapi.jar read).
So which permission I have to give (I don't want to add this permissions to all, so the question is where this permissions have to be added).
I think that this permissions should be granted to Servlets, as it is written on page
http://e-docs.bea.com/wls/docs92/security/server_prot.html#wp1032298
but resource path "file:/weblogic/application/defaults/Web" seems strange to me - there is nothing like this in Weblogic 9.2"
I also add this grant:
grant codeBase "file:${user.domain}/servers/${weblogic.Name}/tmp/-" {
permission java.security.AllPermission;
to weblogic.policy to run all deployed applications.
Thanks in advice,
Marcin DabrowskiHi
According to
http://e-docs.bea.com/wls/docs90/webserv/annotations.html#1050414
If you are going to publish the policy file in the Web Service archive, the policy XML file must be located in either the META-INF/policies or WEB-INF/policies directory of the EJB JAR file (for EJB implemented Web Services) or WAR file (for Java class implemented Web Services), respectively.
Can you make sure the policy file is in there?
Also there is a sample from the developer at http://dev2dev.bea.com/blog/jlee/archive/2005/09/how_to_use_anno.html
Vimala- -
Problem getting started weblogic server (for BI Publisher)
Hello,
I am trying to run services BI publisher
But I can't because I have the following error:
SVR_GRP =
JAVA Memory arguments: -Xms256m -Xmx1024m
WLS Start Mode=Production
CLASSPATH=C:\BI11\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\BI11\Oracle_BI1\bifoundation\jdbc\jdk16\bijdbc.jar;;C:\BI11\patch_wls1035\profiles\defaul
t\sys_manifest_classpath\weblogic_patch.jar;C:\BI11\JROCKI~1.2-4\lib\tools.jar;C:\BI11\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\BI11\WLSERV~1.3\server\lib\weblo
gic.jar;C:\BI11\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\BI11\WLSERV~1.3\server\lib\webservices.jar;C:\BI11\modules\ORGAPA~1.1/lib/ant-all.jar;C
:\BI11\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\BI11\wlserver_10.3\server\lib\weblogic.jar;C:\BI11\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\BI11\or
acle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\BI11\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\BI11\oracle_common\modules\oracle.odl_11.1.
1\ojdl.jar;C:\BI11\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\BI11\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\BI11\ORACLE~1\modules\orac
le.jrf_11.1.1\jrf.jar;C:\BI11\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\BI11\WLSERV~1.3\server\lib\xqrl.jar
PATH=C:\BI11\patch_wls1035\profiles\default\native;C:\BI11\WLSERV~1.3\server\native\win\32;C:\BI11\WLSERV~1.3\server\bin;C:\BI11\modules\ORGAPA~1.1\bin;C:\BI11\
JROCKI~1.2-4\jre\bin;C:\BI11\JROCKI~1.2-4\bin;C:\oracle11g\dbhome\bin;C:\;C:;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\VAIO;C:\Program Files\Ja
va\jre6\bin;;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\E900\system\bin32;C:\E900\DEMO\bin32;C:\BI11\Oracle_BI1\products\Essbase\EssbaseServer\bin;
C:\BI11\Oracle_BI1\bin;C:\BI11\Oracle_BI1\opmn\bin;C:\BI11\Oracle_BI1\opmn\lib;C:\BI11\Oracle_BI1\perl\bin;C:\BI11\WLSERV~1.3\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_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Oracle JRockit(R) (build R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32,
compiled mode)
Starting WLS with line:
C:\BI11\JROCKI~1.2-4\bin\java -jrockit -Xms256m -Xmx1024m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\BI11\WLSERV~1.3\server\lib\weblogic.policy -D
weblogic.ProductionModeEnabled=true -Doracle.home=C:\BI11\Oracle_BI1 -da -Dplatform.home=C:\BI11\WLSERV~1.3 -Dwls.home=C:\BI11\WLSERV~1.3\server -Dweblogic.hom
e=C:\BI11\WLSERV~1.3\server -Dcommon.components.home=C:\BI11\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk
14Logger -Ddomain.home=C:\BI11\USER_P~1\domains\BIFOUN~1 -Djrockit.optfile=C:\BI11\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config
.dir=C:\BI11\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\BI11\USER_P~1\domains\BIFOUN~1\config\FMWCON~1 -Digf.a
risidbeans.carmlloc=C:\BI11\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\BI11\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\arisidprov
ider -Doracle.security.jps.config=C:\BI11\USER_P~1\domains\BIFOUN~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\BI11\USER_P~1\domains\BIFOUN~1\
servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=C:\BI11\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\BI11\ORACLE~1
\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dbi.oracle.home=C:\BI11\Oracle_BI1
-DEPM_ORACLE_HOME=C:\BI11\Oracle_BI1 -Dweblogic.MaxMessageSize=50000000 -DEPM_ORACLE_HOME=C:\BI11\Oracle_BI1 -DHYPERION_HOME=C:\BI11\Oracle_BI1 -DEPM_ORACLE_IN
STANCE=novalue -Dhyperion.home=C:\BI11\Oracle_BI1 -DEPM_REG_PROPERTIES_PATH=C:\BI11\USER_P~1\domains\BIFOUN~1\config\fmwconfig -Depm.useApplicationContextId=fal
se -Doracle.biee.search.bisearchproperties=C:\BI11\Oracle_BI1\bifoundation\jee\BISearchConfig.properties -Dweblogic.management.clearTextCredentialAccessEnabled=
true -Doracle.notification.filewatching.interval=2000 -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.SSL.enableJSSE=true -Dfile.enc
oding=utf-8 -Doracle.ecsf.security.service=oracle.biee.search.security.BISearchSecurityService -Doracle.ecsf.configuration.class=oracle.biee.search.services.BIS
earchServiceConfiguration -Dxdo.server.config.dir=C:\BI11\user_projects\domains\bifoundation_domain\config\bipublisher -DXDO_FONT_DIR=C:\BI11\Oracle_BI1\common\
fonts -Dem.oracle.home=C:\BI11\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dw
lw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\BI11\patch_wls1035\profiles\default\sysext_manifest_classpath weblogic.Server
[WARN ] Use of -Djrockit.optfile is deprecated and discouraged.
<Apr 10, 2012 3:07:11 PM CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable thi
s check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Apr 10, 2012 3:07:11 PM CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disabl
e this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true><Apr 10, 2012 3:07:12 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting We
bLogic Server with Oracle JRockit(R) Version R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32 from Oracle Corporation>
<Apr 10, 2012 3:07:12 PM CEST> <Info> <Management> <BEA-141107> <Version: Weblogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
<Apr 10, 2012 3:07:14 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Apr 10, 2012 3:07:14 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Apr 10, 2012 3:07:15 PM CEST> <Notice> <Log Management> <BEA-170019> <The server log file C:\BI11\user_projects\domains\bifoundation_domain\servers\AdminServer
\logs\AdminServer.log is opened. All server side log events will be written to this file.>
Apr 10, 2012 3:07:23 PM oracle.security.jps.internal.igf.ovd.OvdIGFServiceProvider pushLdapNamesTolibOvd
SEVERE: JPS-02592
<Apr 10, 2012 3:07:23 PM CEST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception sta
ck trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Er
ror message: JPS-02592: Failed to push ldap config data to libOvd for service instance "idstore.ldap" in JPS context "default", cause: org.xml.sax.SAXParseExcep
tion: <Line 2, Column 1>: XML-20108: (Fatal Error) Start of root element expected.>
<Apr 10, 2012 3:07:23 PM CEST> <Critical> <WebLogicServer> <BEA-000386> <Serversubsystem failed. Reason: weblogic.security.SecurityInitializationException: The
loading of OPSS java security policy provider failed due to exception, see theexception stack trace or the server log file for root cause. If still see no obv
ious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-02592: Failed to push ldap config data to libOvd f
or service instance "idstore.ldap" in JPS context "default", cause: org.xml.sax.
SAXParseException: <Line 2, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
weblogic.security.SecurityInitializationException: The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message:JPS-02592: Failed to push ldap config data to libOvd for service instance "idsto
re.ldap" in JPS context "default", cause: org.xml.sax.SAXParseException: <Line 2, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1398)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.JpsRuntimeException: JPS-02592: Failed to push ldap config data to libOvd for service instance "idstore.ldap" in JPS context "def
ault", cause: org.xml.sax.SAXParseException: <Line 2, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:167)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
Truncated. see log file for complete stacktraceCaused By: oracle.security.jps.JpsException: JPS-02592: Failed to push ldap conf
ig data to libOvd for service instance "idstore.ldap" in JPS context "default",cause: org.xml.sax.SAXParseException: <Line 2, Column 1>: XML-20108: (Fatal Erro
r) Start of root element expected.
at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2855)
at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3099)
at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:164)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-02592: Failed to push ldap config data to libOvd for service instance "idstore.ldap"
in JPS context "default", cause: org.xml.sax.SAXParseException: <Line 2, Column1>: XML-20108: (Fatal Error) Start of root element expected.
at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider$NoLibOvd.getInstance(LdapIdentityStoreProvider.java:341)
at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:118)
at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:74)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.service.igf.IGFException: JPS-02592: Failed to push ldap config data to libOvd for service instance "idstore.ldap" in JPS context
"default", cause: org.xml.sax.SAXParseException: <Line 2, Column 1>: XML-20108: (Fatal Error) Start of root element expected.
at oracle.security.jps.internal.igf.ovd.OvdIGFServiceProvider.pushLdapNamesTolibOvd(OvdIGFServiceProvider.java:321)
at oracle.security.jps.internal.igf.ovd.OvdIGFServiceProvider.prepareDataPush2libOvd(OvdIGFServiceProvider.java:370)
at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider$NoLibOvd.getInstance(LdapIdentityStoreProvider.java:339)
at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:118)
at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getInstance(LdapIdentityStoreProvider.java:74)
Truncated. see log file for complete stacktrace
Caused By: org.xml.sax.SAXParseException: <Line 2, Column 1>: XML-20108: (FatalError) Start of root element expected.
at oracle.ods.virtualization.engine.config.parsers.ConfigErrorHandler.fatalError(ConfigErrorHandler.java:101)
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:432)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:414)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:356)
Truncated. see log file for complete stacktrace
Caused By: org.xml.sax.SAXParseException: <Line 2, Column 1>: XML-20108: (FatalError) Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:414)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:355)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:226)
Truncated. see log file for complete stacktrace
>
<Apr 10, 2012 3:07:23 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Apr 10, 2012 3:07:23 PM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Apr 10, 2012 3:07:23 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
help me please
Thanks.
Edited by: 842284 on 10 avr. 2012 07:41Hi,
Please navigate to the fmwconfig folder and check the adapters.os_xml file.
$DOMAIN_HOME/config/fmwconfig/ovd/default/adapters.os_xml
There are chances the adapters.os_xml file could be corrupted due to which the Weblogic server fails to start.
Please verify if the adapters.os_xml file is valid.
In case the file is corrupted, please perform the following steps :
1) Take a backup of $DOMAIN_HOME/config/fmwconfig/ovd/default/adapters.os_xml
2) Delete $DOMAIN_HOME/config/fmwconfig/ovd/default/adapters.os_xml
3) copy adapters.os_xml from $MW_HOME/oracle_common/modules/oracle.ovd_11.1.1/templates/ to $DOMAIN_HOME/config/fmwconfig/ovd/default/
4) Restart the server.
Regards,
Kal -
Weblogic.policy doesn't work
I always get the below exception output, when starting WebLogic Server with
the weblogic.policy file. It seems to me, that I forgot something, but I
don't know what. What am I doing wrong here?
I did the following:
1. I added the folling property into weblogic.properties:
'weblogic.security.URLAclFile=weblogic.policy'
2. I adjusted the weblogic.policy file:
grant codeBase "file:/d:/program files/-" {
permission java.io.FilePermission "d:${/}program files${/}weblogic${/}-",
"read,write,delete,execute";
Also, I tried to replace 'codeBase' in weblogic.policy with 'Principal' but
it didn't work.
Thank you in advance,
Andreas
WebLogic Server Output:
=================
Unable to initialize server: weblogic.utils.security.ParsingException: line
30:
only Principal-based grant entries permitted
fatal initialization exception
weblogic.utils.security.ParsingException: line 30: only Principal-based
grant en
tries permitted
at
weblogic.utils.security.PolicyParser.parseGrantEntry(PolicyParser.jav
a, Compiled Code)
at weblogic.utils.security.PolicyParser.read(PolicyParser.java,
Compiled
Code)
at
weblogic.security.acl.internal.WLPropertyRealm.loadURLAcls(WLProperty
Realm.java:402)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1759)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)[email protected] (Andreas Guenther) wrote in
<[email protected]>:
I always get the below exception output, when starting WebLogic Server
with the weblogic.policy file. It seems to me, that I forgot something,
but I don't know what. What am I doing wrong here?
I did the following:
1. I added the folling property into weblogic.properties:
'weblogic.security.URLAclFile=weblogic.policy'
2. I adjusted the weblogic.policy file:
grant codeBase "file:/d:/program files/-" {
permission java.io.FilePermission "d:${/}program
files${/}weblogic${/}-",
"read,write,delete,execute";
Also, I tried to replace 'codeBase' in weblogic.policy with 'Principal'
but it didn't work.
Thank you in advance,
Andreas
WebLogic Server Output:
=================
Unable to initialize server: weblogic.utils.security.ParsingException:
line 30:
only Principal-based grant entries permitted
fatal initialization exception
weblogic.utils.security.ParsingException: line 30: only Principal-based
grant en
tries permitted
at
weblogic.utils.security.PolicyParser.parseGrantEntry(PolicyParser.jav
a, Compiled Code)
at weblogic.utils.security.PolicyParser.read(PolicyParser.java,
Compiled
Code)
at
weblogic.security.acl.internal.WLPropertyRealm.loadURLAcls(WLProperty
Realm.java:402)
at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1759)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:825)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:99)
at weblogic.Server.main(Server.java:65)
at weblogic.Server.main(Server.java:55)
Obvious question/answer time:
I am unaware of problems with spaces, but they may need to be escaped. i
could not find any reference to special characters in the Sun
documentation.
Are you using only this policy file? The WebLogic documentation expects
you to specify this file as the security policy file to the JVM (ie on the
java.exe command-line). It must also be specified with ==, not = (e.g. -
Djava.security.policy==c:/weblogic/weblogic.policy) so the default policy
is overridden, not appended.
Finally, in the top of the weblogic.policy file, it is stated:
// If WebLogic is not installed in a root directory, you must only
// list the first component of the path in the "file:" URL. This is
// because of a bug in JavaSoft JDK 1.2.1. For example, if you
// install WebLogic in the "c:/test/weblogic" directory, the first
// two lines below must be:
// grant codeBase "file:/c:/test/-" {
// permission java.io.FilePermission "c:${/}test${/}weblogic${/}-",
"read,write,delete,execute";
This may apply to you since you're not in a root directory.
Jesse -
How to define JMX policy for the operation ALSBConfigurationMBean.getRefs
Hello,
I'm trying to configure the JMX policies of my Weblogic Server.
I have followed the recommandations from the http://docs.oracle.com/cd/E13222_01/wls/docs100/ConsoleHelp/taskhelp/security/DefinePoliciesforMBeans.html link.
I try to run the following code on a client side :
ALSBConfigurationMBean lConfigMBean = (ALSBConfigurationMBean) lDomainMBean.findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE, null);
lConfigMBean.getRefs-BusinessServiceQuery);
I got the exception :
Caused by: weblogic.management.NoAccessRuntimeException: Access not allowed for subject: principals=[], on Resource com.bea.wli.sb.management.configuration.DelegatedALSBConfigurationMBean Operation: invoke , Target: getRefs
at weblogic.management.mbeanservers.internal.SecurityInterceptor.isAccessAllowedInvoke(SecurityInterceptor.java:1173)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.checkInvokeSecurity(SecurityInterceptor.java:813)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:443)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544)
at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380)
at $Proxy154.getRefs(Unknown Source)
at com.csg.cs.services.tech.TECH_RegistryService_1_RegistryPortImpl.getServiceRef(TECH_RegistryService_1_RegistryPortImpl.java:224)
at com.csg.cs.services.tech.TECH_RegistryService_1_RegistryPortImpl.lookup(TECH_RegistryService_1_RegistryPortImpl.java:117)
... 63 more
And so I want to setup the JMX policy to give the rights to my client. But in the JMX Editor the ALSBConfigurationMBean doesn't exist, and I don't know which bean I have to set up.
Anyone do know where I can find how to define policy for the Operation "getRefs" of the "ALSBConfigurationMBean" ?
thanks and regardsOEG provides several filters for encryption (XML, S/MIME and PGP). It's also possible to accept client certificates via 2-way SSL or route to a destination over 2-way SSL. For further information check out the OEG docs.
-
Help! Unable to Start - weblogic.policy - (Linux) and WLS 5.1
Does this hold true for NT as well? The comments in the weblogic.policy file read:
// If WebLogic is not installed in a root directory, you must only
// list the first component of the path in the "file:" URL. This is
// because of a bug in JavaSoft JDK 1.2.1. For example, if you
// install WebLogic in the "c:/test/weblogic" directory, the first
// two lines below must be:
// grant codeBase "file:/c:/test/-" {
// permission java.io.FilePermission "c:${/}test${/}weblogic${/}-", "read,write,delete,execute";
However, when I use the similar file structure:
grant codeBase "file:/c:/bea/-" {
permission java.io.FilePermission "c:${/}bea${/}wlserver6.0sp1${/}lib${/}-",
"read,write,delete,execute";
I receive the same error and WebLogic Server will not start up.
Thanks for your help.
Tawnya
Mark Griffith <[email protected]> wrote:
If you have a directory :
/usr/local/releases/451/weblogic
in that dir lives:
weblogic.policy
that policy file should say:
grant codeBase "file://weblogic/-" {
NOT
grant codeBase "file://usr/local/releases/451/weblogic/-" {
mbg
In article <[email protected]>, [email protected]
says...
ENV:
Redhat Linux 6.2 (Current Kernel)
Weblogic Server 5.1
Sun JDK for Linux version 1.2.2
It seems like I am having a weblogic.policy problem. I have read the
documenattion over and over and still cannot figure out this problem.
I have weblogic installed on /usr/local/weblogic directory
I Start with the command line:from the startWebLogic.sh Script
$JAVA $JAVA_OPTIONS -ms64m -mx64m -classpath $JAVACLASSPATH
-Dweblogic.class.path=$WEBLOGICCLASSPATH -Djava.security.manager
-Djava.security.policy=='pwd'/weblogic.policy
-Dweblogic.home=. weblogic.Server
I followed all the instrcutions on modifying the weblogic.policy
file.
example:
grant codeBase "file:/usr/local/weblogic/-" {
permission java.io.FilePermission "${/}usr${/}local${/}weblogic${/}-",
"read,write,delete,execute";
I still get the following :
Exception in thread "main" java.security.AccessControlException:access
denied (java.lang.RuntimePermission createSecurityManager )
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java
:191)
at
java.security.AccessController.checkPermission(AccessController.java:399)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at java.lang.SecurityManager.<init>(SecurityManager.java:303)
at
weblogic.boot.ServerSecurityManager.<init>(ServerSecurityManager.java:11)
at weblogic.Server.main(Server.java:59)
at weblogic.Server.main(Server.java:55)
Can anyboby Help me out here?
Tony McClay
Mr. BigMAN--
==================================================
NewsGroup Rant
==================================================
Rant 1.
The less info you provide about your problem means
the less we can help you. Try to look at the
problem from an external perspective and provide
all the data necessary to put your problem in
perspective. -
Hi Everyone,
I have installed Weblogic Policy Agent in OpenAM. Followed the URL “http://openam.forgerock.org/openam-documentation/openam-doc-source/doc/agent-install-guide/index/chap-weblogic.html” to install the policy Agent.
I am using Oracle Weblogic server 10.3.5.0 to use deploy the .war file. Same Weblogic server used for Oracle Identity Manager 11.1.1.5.0.
In Weblogic Policy Agent post-installation steps need to select Agent Authenticator for the security Realm.
I have doubt here. Whether i want to create the *"new realm"* or i can use the existing realm *"myrealm"*? But , "myrealm" is consists the details of OIM.
I am thinking to create the new realm for openAM Weblogic policy Agent, if so what are the things i need to do create new realm for OpenAM.
Please suggest me on this.
Thanks & Regards,
KarthickHi Aaron;
I am trying to see if I can force the policy agent to be invoked on non-protected resources. The agent is in J2EE mode. The scenario that I have is the whole site is open and nothing is protected so I have to make the policy agent recognize requests for both protected and non protected resources. The other issue I have is that even if I create a cookie the policy agent doesn't maintain the session state since the requests are for unprotected resources. It (PA) doesn't "touch" the cookie since the requests didn't go through it.
Thanks, -
JDriver and weblogic.jar for the wlserver 6.1 sp2
Hi all,
After I download the jDriver for Ms sql 2000 server, I set the classpath as
document told, I test
it using the utils.dbping it works fine. But when I try to use it with the weblogic
server 6.1
I have the problem as following:
I included the jDriver classes in the classpath of the startWeblogic.cmd as
set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;C:\weblogic\mssqlserver4v70\classes
saved the startWeblogic.cmd file
Then I start the wls with startWeblogic.cmd(the new classpath). It starts fine
Then I setup the connection sql pool using the weblogic.jdbc.mssqlserver4.Driver
It says "No suitable driver"
I found that in the weblogic.jar(shipped with the weblogic 6.1) and in the jDriver
classes, there are two files which have the same name is weblogic.jdbc.mssqlserver4.Driver.
Because in the classpath
.\lib\weblogic.jar comes first so weblogic server takes weblogic.jdbc.mssqlserver4.Driver
of the weblogic.jar rather than in the jDriver classes directory. So I thought
the matter of changing the order in the classpath (.\lib\weblogic_sp.jar;C:\weblogic\mssqlserver4v70\classes;.\lib\weblogic.jar")
will solve the problem, but when I changed the oder in the classpath the weblogic
server did not start AT ALL with the following errror.
------------------Begin error----------------------------
C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m -classpath
;.\lib\weblogic_sp.jar;C:\weblogic\mssqlserver4v70\classes;.\lib\weblogic.jar"
-Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Dbea.home="C:\\bea" -Dweblogic.management.password=
-Dweblogic.ProductionModeEnabled=true -Djava.security.policy="C:\bea\wlserver6.
1/lib/weblogic.policy" weblogic.Server
The WebLogic Server did not start up properly.
Exception raised:
java.lang.NoSuchMethodError
at weblogic.Home.getFileSource(Home.java:66)
at weblogic.Home.<init>(Home.java:29)
at weblogic.Home.getInstance(Home.java:81)
at weblogic.Home.getPath(Home.java:89)
at weblogic.security.internal.ServerAuthenticate.main(ServerAuthenticate
.java:77)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:200)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
C:\bea\wlserver6.1>goto finish
------------------End error----------------------------
I wonder how can I use the jDriver with weblogic server?
Do you have any idea what I have done wrong or how to get around with this problem?
Please help
Thanks in advanceIt works now.
Thanks Laurent.
Tom
Laurent Goldsztejn <[email protected]> wrote:
Hi Tom,
Can you please make sure that the driver is defined as
weblogic.jdbc.mssqlserver4.Driver
and that the url starts with jdbc:weblogic:mssqlserver4
Thank you,
Laurent Goldsztejn
Developer Relations Engineer
BEA Support -
Q <WWSD-10> Is the generated WSDL file by Weblogic use for UDDI registration?
A <WWSD-10> WLS6.1 does not provide UDDI services and it has no automatic way to
register your web service with a service broker or repository. If you were to do
it yourself one of the things you would have to supply would be the WSDL file that
describes your web service.Q <WWSD-10> Is the generated WSDL file by Weblogic use for UDDI registration?
A <WWSD-10> WLS6.1 does not provide UDDI services and it has no automatic way to
register your web service with a service broker or repository. If you were to do
it yourself one of the things you would have to supply would be the WSDL file that
describes your web service. -
No Authentication Policy for ABCS composites
Hi All,
Whenever I am invoking WSDL of ABCS Impl from other SOA composites, it checks for No Authentication Policy. Everytime I do some changes and redeploy in ABCS composites in Enterprise Manager, I need to attach "No Authentication Policy" for all the end points of it.
As I do not want these WS policy, kindly guide me how to get rid of this issue. I will appreciate a quick response on this.
Thanks,
Dhiraj MishraHi Dhiraj,
We also faced this issue with AIA flows in 11.1.1.4. Below is how we disabled policies
1. Login to em console
2. WebLogic Domain --> right click on xyz_domain --> Web Services --> Policies
3. Select “All” in Applies To and type Name as “oracle/aia_wss10_saml_token_client_policy_OPT_ON”
4. Select “oracle/aia_wss10_saml_token_client_policy_OPT_ON” and click Edit
5. Uncheck “Enabled”
6. Applies To “All”
7. WSSecurity SAML Token --> Uncheck Advertised and Enforced
8. Click Save
9. Similarly we disabled below policy : oracle/aia_wss_saml_or_username_or_http_token_service_policy_OPT_ON
10. Restart managed server(mandatory)
Hope this helps
Thanks,
Hema -
Documentation bug- -Djava.security.policy==weblogic.policy?
All,
According to the documentation, an example of invoking weblogic server
from the command line for JDK1.2 is as follows:
JDK 1.2 (Java 2) example
$ java -ms64m -mx64m -classpath c:/weblogic/classes/boot
-Dweblogic.class.path=c:/weblogic/classes;
c:/weblogic/license;c:/weblogic/lib/weblogicaux.jar;
c:/weblogic/myserver/serverclasses
-Djava.security.manager
-Djava.security.policy==c:/weblogic/weblogic.policy
weblogic.Server
Is the property
-Djava.security.policy==C:/weblogic/weblogic.policy
correct in that there are 2 equals signs? Should this be rather:
-Djava.security.policy=C:/weblogic/weblogic.policy?
It seems as if either works, I just wanted to clarify, as I've noticed
our startup scripts use the former and not the latter.
Thanks,
BenHi Ben,
the doc is correct, there is a semantic difference between '==' and '=',
check
http://java.sun.com/j2se/1.3/docs/guide/security/spec/security-spec.doc3
.html for details.
Daniel
-----Ursprüngliche Nachricht-----
Von: Benjamin D. Engelsma [mailto:bengelsm@NO_SPAM.gfs.com]
Bereitgestellt: Mittwoch, 4. April 2001 16:30
Bereitgestellt in: environment
Unterhaltung: Documentation bug->
-Djava.security.policy==weblogic.policy?
Betreff: Documentation bug-> -Djava.security.policy==weblogic.policy?
All,
According to the documentation, an example of invoking weblogic server
from the command line for JDK1.2 is as follows:
JDK 1.2 (Java 2) example
$ java -ms64m -mx64m -classpath c:/weblogic/classes/boot
-Dweblogic.class.path=c:/weblogic/classes;
c:/weblogic/license;c:/weblogic/lib/weblogicaux.jar;
c:/weblogic/myserver/serverclasses
-Djava.security.manager
-Djava.security.policy==c:/weblogic/weblogic.policy
weblogic.Server
Is the property
-Djava.security.policy==C:/weblogic/weblogic.policy
correct in that there are 2 equals signs? Should this be rather:
-Djava.security.policy=C:/weblogic/weblogic.policy?
It seems as if either works, I just wanted to clarify, as I've noticed
our startup scripts use the former and not the latter.
Thanks,
Ben -
Weblogic.policy and class.forname
Hi,
my company develops an application for an external customer (bea 6.1). In
our cutomers eyes the application is a security risk because our customer is
afraid that we are using the class.forname command to create manually
connections to other databases.
I would like to know, is it possible to disable this command for our
application with the help of the weblogic.policy file?
Regards
Michaelyes.. i think it returns Class object. But, isthere
any other way to instantiate a class other thanusing
the new operatorOthers
- JNI, similar but not exactly new
- Serialization which by passes the normal processCloning
Class.newInstance has been mentioned, but Constructor.newInstance has not
Maybe you are looking for
-
Invalid parameter value Error while Extending PoReqDistributionsVO
Hi, My Requirement is to restrict user from enetring certain values in a field in iProcurement Page based on some condition. The attribute on which I have to place the validation is CodeCombinationId and the VO name is PoReqDistributionsVO. So, I ext
-
How do i create a local account in mac mail?
I have lost the account "On My Mac" How do I get it back or create a new local account
-
How to get payload as body iin the Mail receiver
Hi, i am using M2M scenario and getting the output data as am email attahment. But i need that data as the body of the mail in the receiver. please help me. Regards, Sree.
-
I can not use my serial numer to install Lightroom on my new computer?
I bought Lightroom 5 not even a year ago, and I have an official serial number, that is also confirmed with my profile. Still, when I got my new computer today and try to install Lightroom, it won't let me use the serial number. Why???? I don't even
-
Desktop app for Creative Cloud won't download from server.
Can't down load the creative cloud desktop app. get error sign from the installer i.e."we've encountered the following issues: the server is not responding currently. Please try after some time (Error code: 207) This error has come up for over a d