Sedurity exception starting a server
I am getting the following security exception when trying to start a server. Can
anyone help me understand what could be causing this? We have this server working
in other environments but it doesn't work in this one case and we can't see what
the difference might be. We have reimaged this environment to be (we think) exactly
like all the others.
Thanks in advance, Sue
<Feb 17, 2004 9:42:23 AM EST> <Notice> <Security> <BEA-090169> <Loading trusted
certificates from the jks keystore file /home/bea/weblogic81/server/lib/DemoTrust.jks.>
<Feb 17, 2004 9:42:23 AM EST> <Notice> <Security> <BEA-090169> <Loading trusted
certificates from the jks keystore file /home/bea/jdk141_05/jre/lib/security/cacerts.>
***************************************************************************<Feb
17, 2004 9:42:25 AM EST> <Critical> <WebLogicServer> <BEA-000364> <Server failed
during initialization. Exception:weblogic.security.spi.ProviderInitializationException:
[Security:090314]Entitlement Engine unable to connect to the embedded LDAP server
netscape.ldap.LDAPException: error result (49) weblogic.security.spi.ProviderInitializationException:
[Security:090314]Entitlement Engine unable to connect to the embedded LDAP server
netscape.ldap.LDAPException: error result (49) at weblogic.security.providers.authorization.DefaultAuthorizationUtils.getEngine(DefaultAuthorizationUtils.java:130)
at weblogic.security.providers.authorization.DefaultRoleMapperProviderImpl.initialize(DefaultRoleMapperProviderImpl.java:104)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:241)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:929)
The WebLogic Server did not start up properly. at weblogic.security.service.RoleManager.initialize(RoleManager.java:152)
weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement
Engine unable to connect to the embedded LDAP server at weblogic.security.service.RoleManager.<init>(RoleManager.java:98)
netscape.ldap.LDAPException: error result (49) at weblogic.security.service.SecurityServiceManagerDelegateImpl.doRole(SecurityServiceManagerDelegateImpl.java:512)
at weblogic.security.providers.authorization.DefaultAuthorizationUtils.getEngine(DefaultAuthorizationUtils.java:130)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:408)
at weblogic.security.providers.authorization.DefaultRoleMapperProviderImpl.initialize(DefaultRoleMapperProviderImpl.java:104)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:697)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:241)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:730)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:929)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:873)
at weblogic.security.service.RoleManager.initialize(RoleManager.java:152) at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:719)
at weblogic.security.service.RoleManager.<init>(RoleManager.java:98) at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:820)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doRole(SecurityServiceManagerDelegateImpl.java:512)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:408)
at weblogic.Server.main(Server.java:32) at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:697)>
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:730)
<Feb 17, 2004 9:42:25 AM EST> <Emergency> <WebLogicServer> <BEA-000342> <Unable
to initialize the server: weblogic.security.spi.ProviderInitializationException:
[Security:090314]Entitlement Engine unable to connect to the embedded LDAP server
netscape.ldap.LDAPException: error result (49)> at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:873)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:719)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:820) at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342) at weblogic.Server.main(Server.java:32)
Reason: weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement
Engine unable to connect to the embedded LDAP server netscape.ldap.LDAPException:
error result (49)
The default authorization provider was not able to connect to the embedded ldap
server. LDAPException result code 49 indicates invalid credentials. Are you running
a cluster of servers? Are you using default embedded ldap configuration?
Pavel.
"Sue Shanabrook" <[email protected]> wrote:
>
I am getting the following security exception when trying to start a
server. Can
anyone help me understand what could be causing this? We have this server
working
in other environments but it doesn't work in this one case and we can't
see what
the difference might be. We have reimaged this environment to be (we
think) exactly
like all the others.
Thanks in advance, Sue
<Feb 17, 2004 9:42:23 AM EST> <Notice> <Security> <BEA-090169> <Loading
trusted
certificates from the jks keystore file /home/bea/weblogic81/server/lib/DemoTrust.jks.>
<Feb 17, 2004 9:42:23 AM EST> <Notice> <Security> <BEA-090169> <Loading
trusted
certificates from the jks keystore file /home/bea/jdk141_05/jre/lib/security/cacerts.>
***************************************************************************<Feb
17, 2004 9:42:25 AM EST> <Critical> <WebLogicServer> <BEA-000364> <Server
failed
during initialization. Exception:weblogic.security.spi.ProviderInitializationException:
[Security:090314]Entitlement Engine unable to connect to the embedded
LDAP server
netscape.ldap.LDAPException: error result (49) weblogic.security.spi.ProviderInitializationException:
[Security:090314]Entitlement Engine unable to connect to the embedded
LDAP server
netscape.ldap.LDAPException: error result (49) at weblogic.security.providers.authorization.DefaultAuthorizationUtils.getEngine(DefaultAuthorizationUtils.java:130)
at weblogic.security.providers.authorization.DefaultRoleMapperProviderImpl.initialize(DefaultRoleMapperProviderImpl.java:104)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:241)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:929)
The WebLogic Server did not start up properly. at weblogic.security.service.RoleManager.initialize(RoleManager.java:152)
weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement
Engine unable to connect to the embedded LDAP server at weblogic.security.service.RoleManager.<init>(RoleManager.java:98)
netscape.ldap.LDAPException: error result (49) at weblogic.security.service.SecurityServiceManagerDelegateImpl.doRole(SecurityServiceManagerDelegateImpl.java:512)
at weblogic.security.providers.authorization.DefaultAuthorizationUtils.getEngine(DefaultAuthorizationUtils.java:130)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:408)
at weblogic.security.providers.authorization.DefaultRoleMapperProviderImpl.initialize(DefaultRoleMapperProviderImpl.java:104)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:697)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.createSecurityProvider(SecurityServiceManagerDelegateImpl.java:241)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:730)
at weblogic.security.service.SecurityServiceManager.createSecurityProvider(SecurityServiceManager.java:929)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:873)
at weblogic.security.service.RoleManager.initialize(RoleManager.java:152)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:719)
at weblogic.security.service.RoleManager.<init>(RoleManager.java:98)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:820)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.doRole(SecurityServiceManagerDelegateImpl.java:512)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342)
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealm(SecurityServiceManagerDelegateImpl.java:408)
at weblogic.Server.main(Server.java:32) at weblogic.security.service.SecurityServiceManagerDelegateImpl.loadRealm(SecurityServiceManagerDelegateImpl.java:697)>
at weblogic.security.service.SecurityServiceManagerDelegateImpl.initializeRealms(SecurityServiceManagerDelegateImpl.java:730)
<Feb 17, 2004 9:42:25 AM EST> <Emergency> <WebLogicServer> <BEA-000342>
<Unable
to initialize the server: weblogic.security.spi.ProviderInitializationException:
[Security:090314]Entitlement Engine unable to connect to the embedded
LDAP server
netscape.ldap.LDAPException: error result (49)> at weblogic.security.service.SecurityServiceManagerDelegateImpl.initialize(SecurityServiceManagerDelegateImpl.java:873)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:719)
at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:820) at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:664)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:342) at weblogic.Server.main(Server.java:32)
Reason: weblogic.security.spi.ProviderInitializationException: [Security:090314]Entitlement
Engine unable to connect to the embedded LDAP server netscape.ldap.LDAPException:
error result (49)
Similar Messages
-
Exception starting managed server
Hi All,
I installed and configured WLS 8.1. I also configured nodemanager and everything
was working fine. Then I added some classpath parameters and now I had to restart
the managed server so that the classpath changes will be applied. Here I started
getting the following exception and the managed server is not starting at all.
[The request to start the server myServer of domain mydomain failed because the
node manager did not hear from the managed server in the configured timeout period.
Despite this, if the managed server has not failed, it will come up and the node
manager will start monitoring it. To adjust this timeout so that the task does
not fail prematurely, please refer to the node manager property ScavangerDelaySeconds
(Default value : 180 seconds. Current value : 180 seconds).]
I also verified that nodemanager is working fine.
Thanks
WDHi All,
I installed and configured WLS 8.1. I also configured nodemanager and everything
was working fine. Then I added some classpath parameters and now I had to restart
the managed server so that the classpath changes will be applied. Here I started
getting the following exception and the managed server is not starting at all.
[The request to start the server myServer of domain mydomain failed because the
node manager did not hear from the managed server in the configured timeout period.
Despite this, if the managed server has not failed, it will come up and the node
manager will start monitoring it. To adjust this timeout so that the task does
not fail prematurely, please refer to the node manager property ScavangerDelaySeconds
(Default value : 180 seconds. Current value : 180 seconds).]
I also verified that nodemanager is working fine.
Thanks
WD -
Error when starting Mobile Server
Hi All I installed OLite mobile server onto my laptop with my Oracle 10g install also on the same laptop.
Initially everything worked fine and I built the win 32 disconnected app and it ran.
Now when I start the OLite mobile server on my laptop I get an exception, (below) can anyone help me with what might be the problem?
2008-02-08 09:35:25.640 ERROR Failed to set the internal configuration of the OC
4J JMS Server with: XMLJMSServerConfig[file:/D:/Oracle/product/10.2.0/db_1/mobil
e_oc4j/j2ee/mobileserver/config/jms.xml]
08/02/08 09:35:25 *** (SEVERE) Failed to set the internal configuration of the O
C4J JMS Server with: XMLJMSServerConfig[file:/D:/Oracle/product/10.2.0/db_1/mobi
le_oc4j/j2ee/mobileserver/config/jms.xml]
2008-02-08 09:35:25.640 ERROR J2EE OJR0011 Exception starting JMS server: Failed
to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
ig[file:/D:/Oracle/product/10.2.0/db_1/mobile_oc4j/j2ee/mobileserver/config/jms.
xml]
2008-02-08 09:35:27.859 WARNING J2EE JNDI0001 Resource Environment reference jms
/store not found. Allowing J2EEContext creation to continue anyway.
2008-02-08 09:35:27.859 WARNING J2EE JNDI0001 Resource Environment reference jms
/eventQueue not found. Allowing J2EEContext creation to continue anyway.
2008-02-08 09:35:27.859 WARNING J2EE JNDI0001 Resource Environment reference jms
/notificationQueue not found. Allowing J2EEContext creation to continue anyway.
2008-02-08 09:35:27.906 WARNING J2EE JNDI0001 Resource Environment reference jms
/eventQueue not found. Allowing J2EEContext creation to continue anyway.
2008-02-08 09:35:27.906 WARNING J2EE JNDI0001 Resource Environment reference jms
/notificationQueue not found. Allowing J2EEContext creation to continue anyway.
2008-02-08 09:35:27.906 ERROR J2EE EJB3027 [default] An error occured deploying
EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
r MessageDrivenBean event during endpoint activation: failure looking up Connect
ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
NotFoundException: jms/XAQueueConnectionFactory not found
08/02/08 09:35:27 WARNING: Application.setConfig Application: default is in fail
ed state as initialization failedjava.lang.InstantiationException: Error initial
izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
eueConnectionFactory not found
Feb 8, 2008 9:35:27 AM com.evermind.server.Application setConfig
WARNING: Application: default is in failed state as initialization failedjava.la
ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
.ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
2008-02-08 09:35:27.953 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
flow.MessageEndpointFactoryImpl@11fcdde.
08/02/08 09:35:28 Error initializing server: Error initializing ejb-modules: Res
ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
ot found
2008-02-08 09:35:28.578 WARNING J2EE JTA RecoveryManager is null during shut
down
08/02/08 09:35:28 Fatal error: server exiting
Press any key to continue . . .Standalone.
I'm removing and then reinstalling with auto-update turned off the error seemed to happen after I did an update.
Anyway to gracefully shutdown the Mobile Server? This is on windows I'm wondering if "crashing" out of it may have caused the issue also. -
Error starting ORMI server, when run oc4j.cmd -start
hello oracle guru,
i just finish installing the Oracle Business Intelligence Publisher Standalone 10.1.3.4 in Window XP Home Edition SP3 platform..
but when i want to start the BI Publisher, by running the oc4j, i get this errors
Starting OC4J from E:\OraInstall\OraBIP\oc4j_bi\j2ee\home ...
2010-10-13 17:33:17.453 ERROR ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]:persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
10/10/13 17:33:17 *** (SEVERE) ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
2010-10-13 17:33:17.484 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
10/10/13 17:33:17 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
2010-10-13 17:33:17.484 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with:XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
2010-10-13 17:33:17.593 ERROR J2EE RMI-00002 Error starting ORMI server TOSHIBA port 23,791:Address already in use: JVM_Bind
2010-10-13 17:33:17.609 ERROR java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:433)
at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:347)
at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2378)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:966)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
10/10/13 17:33:17 Error starting ORMI server TOSHIBA port 23,791: Address already in use: JVM_Bind
10/10/13 17:33:17 Shutting down OC4J...
Can somebody who have been facing this error before this can guide me on how to solve the problem?http://kr.forums.oracle.com/forums/thread.jspa?threadID=640696
Please check this link... it helped me in Solaris environment..it works for me.
All the best..
Thanks
Deependra -
Critical: Unable to start HTTP-Server
Hi,
When I try o run my ADF-BC application in JDeveloper 10.1.3.4 I get the following error,
Jul 16, 2009 2:04:58 PM oracle.j2ee.util.LoggingUtils logAndReturnMessage
SEVERE: Exception starting HTTP server: Internal error raised trying to instantiate the default web-application for site: file:/C:/MISC/Softwares/jdevhome/jdev/system/oracle.j2ee.10.1.3.42.70/embedded-oc4j/config/default-web-site.xml
*09/07/16 14:04:58 Error initializing server: Unable to start HTTP-Server. default-web-site configuartion may not be valid.*
*09/07/16 14:05:00 Fatal error: server exiting*
Process exited with exit code 1.
This problem is coming becaus of embedded-oc4j.
Has anybody ever faced thie problem.
Please help, it is critical.
Thanks & Regards,
RakshaHi Arun,
Here are the contents of my default-web-site.xml file;
*<?xml version = '1.0' standalone = 'yes'?>*
*<!DOCTYPE web-site PUBLIC "Oracle9iAS XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">*
*<web-site xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/web-site-10_0.xsd" protocol="http" port="8989" display-name="OC4J 10g (10.1.3) Default Web Site" schema-major-version="10" schema-minor-version="0">*
*<default-web-app application="default" name="defaultWebApp"/>*
*<web-app application="system" name="dms0" root="/dmsoc4j" access-log="false"/>*
*<web-app application="system" name="dms0" root="/dms0" access-log="false"/>*
*<!--*
*<web-app application="system" name="admin_web" root="/adminoc4j" />*
*<web-app application="system" name="JMXSoapAdapter-web" root="/JMXSoapAdapter" />*
*<web-app application="default" name="jmsrouter_web" root="/jmsrouter" load-on-startup="true" />*
*<web-app application="javasso" name="javasso-web" root="/jsso" load-on-startup="false" />*
*<web-app application="ascontrol" name="ascontrol" root="/em" load-on-startup="true" ohs-routing="false" />*
-->
*<web-app application="datatags" name="webapp" root="/webapp" load-on-startup="false"/>*
*<web-app application="ITS" name="ITSWelcome" root="/its" load-on-startup="false"/>*
*<web-app application="current-workspace-app" name="ChakDeAdmin-ViewController-webapp" root="/ChakDeAdmin-ViewController-context-root" load-on-startup="false"/>*
*<!-- Access Log, where requests are logged to -->*
*<access-log path="../log/default-web-access.log" split="day"/>*
*<!-- Uncomment this if you want to use ODL logging capabilities*
*<odl-access-log path="../log/default-web-access" max-file-size="1000" max-directory-size="10000"/>*
-->
*<web-app application="datatags" name="webapp" root="/webapp" load-on-startup="true"/>*
*</web-site>*
thanks,
Raksha -
Exception in Weblogic Server Starting
Hi all,
While starting weblogic server, I can see some exception as follows but server is started. Because of this I can't able to deploy OSM cartridges.
java.sql.SQLSyntaxErrorException: ORA-04092: cannot COMMIT in a trigger
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
va:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
33)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:206)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableSta
tement.java:950)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1223)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:3386)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStat
ement.java:3487)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStat
ement.java:3858)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePrepa
redStatementWrapper.java:1374)
at oracle.jdbc.oracore.OracleTypeADT.initMetadata(OracleTypeADT.java:535
at oracle.jdbc.oracore.OracleTypeADT.init(OracleTypeADT.java:462)
at oracle.sql.ArrayDescriptor.initPickler(ArrayDescriptor.java:1678)
at oracle.sql.ArrayDescriptor.<init>(ArrayDescriptor.java:291)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:206)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:175)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:158)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:125)
at oracle.jdbc.driver.NamedTypeAccessor.otypeFromName(NamedTypeAccessor.
java:84)
at oracle.jdbc.driver.TypeAccessor.initMetadata(TypeAccessor.java:89)
at oracle.jdbc.driver.T4CCallableStatement.allocateAccessor(T4CCallableS
tatement.java:629)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterIntern
al(OracleCallableStatement.java:167)
at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(Oracl
eCallableStatement.java:208)
at oracle.jdbc.driver.OracleCallableStatementWrapper.registerOutParamete
r(OracleCallableStatementWrapper.java:1584)
at weblogic.jdbc.wrapper.CallableStatement_oracle_jdbc_driver_OracleCall
ableStatementWrapper.registerOutParameter(Unknown Source)
at com.mslv.oms.handler.util.j.prepareStatement(Unknown Source)
at com.mslv.oms.dataaccesslayer.CallableProxy.prepareStatement(Unknown S
ource)
at com.mslv.oms.dataaccesslayer.a.execute(Unknown Source)
at com.mslv.oms.dataaccesslayer.CallableProxy.execute(Unknown Source)
at com.mslv.oms.handler.util.e.a(Unknown Source)
at com.mslv.oms.eventengine.EventDispatcherEJB.processTimeout(Unknown So
urce)
at com.mslv.oms.eventengine.EventDispatcher_86q3j1_EOImpl.processTimeout
(EventDispatcher_86q3j1_EOImpl.java:73)
at com.mslv.oms.poller.a.handleNotification(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper
.handleNotification(DefaultMBeanServerInterceptor.java:1732)
at javax.management.NotificationBroadcasterSupport.handleNotification(No
tificationBroadcasterSupport.java:257)
at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(Noti
ficationBroadcasterSupport.java:322)
at javax.management.NotificationBroadcasterSupport$1.execute(Notificatio
nBroadcasterSupport.java:307)
at javax.management.NotificationBroadcasterSupport.sendNotification(Noti
ficationBroadcasterSupport.java:229)
at javax.management.timer.Timer.sendNotification(Timer.java:1237)
at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1206)
at javax.management.timer.TimerAlarmClock.run(Timer.java:1289)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
<Nov 22, 2011 3:26:33 PM GMT+05:30> <Error> <oms> <BEA-000000> <util.e: Failed t
o execute GetOrderTransitionProxy
com.mslv.oms.dataaccesslayer.ProxyException: ORA-04092: cannot COMMIT in a trigg
er
Nested Exception: ORA-04092: cannot COMMIT in a trigger
Can anybody pls help me to resolve this issue asap...
Thanks in advance
BharathiBharathi;
The error indicates that a trigger is being executed. OSM DB schema does not make use of triggers at all. Has anyone added triggers to the OSM DB schema? If so this should not be done - modification or direct access of the OSM DB schema is not supported.
Brian. -
Exception starting server when using wlserver Ant task
Hello All:
When attempting to start my server using the wlserver Ant task, i receive the following error:
[wlserver] java.lang.NoClassDefFoundError: weblogic/Server
[wlserver] Exception in thread "main"
[wlserver] Error in server execution
my snippet is as follows:
<target name="start-server">
<wlserver beahome="C:\bea" weblogichome="c:\bea\weblogic81" host="localhost"
port="7001" username="weblogic" domainname="mydomain" password="weblogic"
servername="myserver" action="start"/>
</target>
It seems as if it should work fine. Anybody have any solutions? Thanks in advance.
RickyRicky,
You have to add the weblogic JARs to the classpath of the wlserver task.
add something similar to the following (bold text are additions):
<path id="classpath.weblogic">
<fileset dir="c:/bea/weblogic81/server/lib">
<include name="weblogic_sp.jar" />
<include name="weblogic.jar" />
<include name="webserviceclient.jar" />
</fileset>
</path>
<target name="start-server">
<wlserver beahome="C:\bea" weblogichome="c:\bea\weblogic81" host="localhost"
port="7001" username="weblogic" domainname="mydomain" password="weblogic"
servername="myserver" action="start" classpathref="classpath.weblogic"/>
</target>
--Peter -
Fatal initialization exception occurs when starting Managed Server
Hi all,
First I configured a Adminisistration server and started it. After that I added
a another server as ManagedServer.These two points to the same Weblogic server.
When I try to start Managed server by running the script, it gave me following
error. _______________________________
<Jun 25, 2001 5:25:11 PM GMT+06:00> <Emergency> <Server> <Unable to initialize
the server: 'Fatal initialization exception Throwable: java.lang.IllegalAccessError:
java.security.acl.NotOwnerException java.lang.IllegalAccessError: java.security.acl.NotOwnerException
at weblogic.security.acl.Realm.getRealm(Realm.java:91) at weblogic.security.acl.Realm.getRealm(Realm.java:36)
at weblogic.security.acl.Realm.authenticate(Realm.java:183) at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
at weblogic.security.acl.internal.Security.authenticate(Security.java:116) at
weblogic.jndi.WLInitialContextFactoryDelegate.pushUser(WLInitialContextFactoryDelegate.java:444)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:287)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:259)
at weblogic.jndi.Environment.getContext(Environment.java:135) at weblogic.jndi.Environment.getInitialContext(Environment.java:118)
at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:891) at weblogic.management.Admin.start(Admin.java:305)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:331) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35) ______________________________________________
I suspect reason for this might be weblogic.policy file. There you need to edit
some lines replacing the location of the directory in which you installed WebLogic
Server. I did this but still error occurs.
Do u have any idea why above error occurs and if it is due to the weblogic.policy
file entry please tell me how it correctly done.
I am using WL60(sp2)in Win NT,
My installed dir: E:\bea\wlserver6.0\
Thanks NalikaHi
(It was me and Berit that sent the original question).
After some experimentation we saw that the managed server did get
some configuration from the admin server, so the problem was in
there somewhere.
I had added an (empty) cluster and machine to the admin server, just
to test adding. When I removed them everything worked fine afterward.
So it was some kind of configuration error from our side, but we never
did find out what it was.
I guess the lesson is to only define things when you really need them :-)
Regards
Mikael
Timothy Fry wrote:
We're getting the same problem, but on Solaris 2.7.
Did you get a solution from bea yet?
Tim
"Berit Bylund" <[email protected]> wrote in message
news:[email protected]..
Hello
We are trying to start a managed server (under the examples
domain, NT 4.0, WLS 6.0 Beta 2)
We start the managed server with the parameter
-Dweblogic.management.server=http://127.0.0.1:7001 -
Algorithm 'AES' has expired exception while starting UCM server
Hi,
I am using Oracle UCM11g. While starting UCM server i am getting following exception.
Error encountered encrypting the field 'JdbcPassword' with scope 'system'. The decryption key for category 'db' and encoding type 'AES' is missing. [ Details ]
An error has occurred. The stack trace below shows more information.
!csEncryptPasswordError,JdbcPassword,system!csDecryptKeyMissing,db,AES
intradoc.data.DataException: !csDecryptKeyMissing,db,AES
at intradoc.conversion.SecurityObjects.decryptWithFlags(SecurityObjects.java:350)
at intradoc.conversion.SecurityObjects.decrypt(SecurityObjects.java:292)
at intradoc.conversion.SecurityObjects.updatePassword(SecurityObjects.java:1132)
at intradoc.conversion.SecurityObjects.updateExpiredPasswords(SecurityObjects.java:1036)
at intradoc.conversion.CryptoPasswordUtils.updateExpiredPasswords(CryptoPasswordUtils.java:275)
at intradoc.server.IdcSystemLoader.managePasswords(IdcSystemLoader.java:3125)
at intradoc.server.IdcSystemLoader.finishInit(IdcSystemLoader.java:397)
at intradoc.server.IdcSystemLoader.init(IdcSystemLoader.java:336)
at intradoc.server.IdcServerManager.init(IdcServerManager.java:120)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:624)
at intradoc.idcwls.IdcServletRequestUtils.initializeServer(IdcServletRequestUtils.java:455)
at intradoc.idcwls.IdcIntegrateWrapper.initializeServer(IdcIntegrateWrapper.java:102)
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 idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.initializeContentServer(ServletUtils.java:1242)
at idcservlet.ServletUtils.startAndConfigureServer(ServletUtils.java:542)
at idcservlet.ServletUtils.initializeAllServers(ServletUtils.java:455)
at idcservlet.IdcFilter.initContentServer(IdcFilter.java:132)
at idcservlet.IdcFilter.init(IdcFilter.java:124)
at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:332)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:98)
at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:59)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1876)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Can anybody please tell me how to resole this problem.
Thanks and regards,
Nitin AnandeHi,
Please find the following entries of config.cfg and intradoc.cfg.
Config.cfg
+<?cfg jcharset="Cp1252"?>+
+#Server System Properties+
IDC_Name=N60906016200
IdcProductName=idccs
InstanceMenuLabel=N60906016200
InstanceDescription=Instance N60906016200
SocketHostAddressSecurityFilter=127.0.0.1|0:0:0:0:0:0:0:1
+#Database Variables+
DatabaseType=other
JdbcDriver=
JdbcUser=
JdbcPassword=managed
JdbcPasswordEncoding=managed
DatabasePreserveCase=0
SystemDatabase:DataSource=CSDS
SystemDatabase:UseDataSource=true
+#Internet Variables+
HttpServerAddress=N609060:16200
MailServer=mail
SysAdminAddress=[email protected]
HttpRelativeWebRoot=/cs/
UseSSL=No
+#General Option Variables+
IsAutoNumber=Yes
AutoNumberPrefix=N6090601620
+#Additional Variables+
registerStartMenuActions=1
FileEncoding=UTF8
WebServer=javaAppServer
IntradocServerPort=4444
intradoc.cfg
+<?cfg jcharset="Cp1252"?>+
+#Server System Properties+
IDC_Id=UCM_server1
+#Server Directory Variables+
IdcHomeDir=C:/APPS/oracle/MIDDLE~1/Oracle_ECM1/ucm/idc/
AppServerHome=C:/APPS/oracle/MIDDLE~1/WLSERV~1.3/
DomainHome=C:/APPS/oracle/MIDDLE~1/USER_P~1/domains/ecm_domain/
FmwDomainConfigDir=C:/APPS/oracle/MIDDLE~1/USER_P~1/domains/ecm_domain/config/fmwconfig/
AppServerJavaHome=C:/APPS/oracle/MIDDLE~1/JDK160~1/jre/
AppServerJavaUse64Bit=false
IntradocDir=C:/APPS/oracle/MIDDLE~1/USER_P~1/domains/ecm_domain/ucm/cs/
VaultDir=C:/APPS/oracle/MIDDLE~1/USER_P~1/domains/ecm_domain/ucm/cs/vault/
WeblayoutDir=C:/APPS/oracle/MIDDLE~1/USER_P~1/domains/ecm_domain/ucm/cs/weblayout/
Thanks a lot. -
Security exception when trying to start Managed Server
Hi all,
First I configured a Adminisistration server and started it. After that I added
a another server as ManagedServer.These two points to the same Weblogic server.
When I try to start Managed server by running the script, it gave me following
error.
<Jun 25, 2001 5:25:11 PM GMT+06:00> <Emergency> <Server> <Unable to initialize
the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.security.acl.NotOwnerException
java.lang.IllegalAccessError: java.security.acl.NotOwnerException
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:36)
at weblogic.security.acl.Realm.authenticate(Realm.java:183)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
at weblogic.security.acl.internal.Security.authenticate(Security.java:116)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushUser(WLInitialContextFactoryDelegate.java:444)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:287)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:259)
at weblogic.jndi.Environment.getContext(Environment.java:135)
at weblogic.jndi.Environment.getInitialContext(Environment.java:118)
at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:891)
at weblogic.management.Admin.start(Admin.java:305)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:331)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
I suspect reason for this might be weblogic.policy file. There you need to edit
some lines replacing the location of the directory in which you installed WebLogic
Server. I did this but still error occurs.
Do u have any idea why above error occurs and if it is due to the weblogic.policy
file entry please tell me how it correctly done.
I am using WL60(sp2)in Win NT,
My installed dir: E:\bea\wlserver6.0\
Thanks
NalikaI don't believe that you can use the same server definitions for both an admin server and a managed server. So, you'll need to create a second server that is your managed server with a different name or
just run with the admin server.
Paul
On 25 Jun 2001 04:43:22 -0800, "Nalika" <[email protected]> wrote:
>
Hi all,
First I configured a Adminisistration server and started it. After that I added
a another server as ManagedServer.These two points to the same Weblogic server.
When I try to start Managed server by running the script, it gave me following
error.
<Jun 25, 2001 5:25:11 PM GMT+06:00> <Emergency> <Server> <Unable to initialize
the server: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: java.security.acl.NotOwnerException
java.lang.IllegalAccessError: java.security.acl.NotOwnerException
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:36)
at weblogic.security.acl.Realm.authenticate(Realm.java:183)
at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
at weblogic.security.acl.internal.Security.authenticate(Security.java:116)
at weblogic.jndi.WLInitialContextFactoryDelegate.pushUser(WLInitialContextFactoryDelegate.java:444)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:287)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:259)
at weblogic.jndi.Environment.getContext(Environment.java:135)
at weblogic.jndi.Environment.getInitialContext(Environment.java:118)
at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:891)
at weblogic.management.Admin.start(Admin.java:305)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:331)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
I suspect reason for this might be weblogic.policy file. There you need to edit
some lines replacing the location of the directory in which you installed WebLogic
Server. I did this but still error occurs.
Do u have any idea why above error occurs and if it is due to the weblogic.policy
file entry please tell me how it correctly done.
I am using WL60(sp2)in Win NT,
My installed dir: E:\bea\wlserver6.0\
Thanks
Nalika -
Com.sap.mw.jco.JCO$Exception starting the J2EE server 620
We are using J2EE 620 pl26, with the latest JCO, but often trying to acces the J2EE services like Mobile Engine Webconsole 21 or the WebEnabled Sapconsole 640 we recive the message:
'Dispatche runningbut no server connected'.
The J2EE dispatcher and server are started at Sap startup. Just after that time the J2EE is working fine, but after some time the J2EE server get down.
We found this message into the J2EE console_logs:
"RFCEngine: Server startup error, stopping "SAPProfile:F:\usr\sap\CAM\SYS\profile\CAM_DVEBMGS00_itmif089" :
com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Fri Oct 15 09:58:20 CEST 2004.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 2 seconds.
Could not establish the lcom accepted connection: lcomListenCreate failed with rc 9"
We do not find any Oss notes for that.
Any advise is wellcome.
RegardsHi Mauro,
normally when you apply a new SAP Kernel a frfclib.sar file is delivered. This frfclib file need to be copied to the J2EE directory /os_libs and need to be extracted there. This frfclib version must always match to the SAP Kernel version.
Ciao
tc -
JDK6 And ClassNotFound Exception during RMI server start
Hello,
I have been write a simple Hello World RMI, but I'm unable to start the server always get this exeception:
Server exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: rmi.Hello
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: rmi.Hello
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:396)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:250)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:359)
at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
at rmi.HelloMain.main(HelloMain.java:21)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)The sources are these:
package rmi;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface Hello extends Remote {
public void sayHello() throws RemoteException;
package rmi;
import java.rmi.RemoteException;
public class HelloServer implements Hello{
public HelloServer() {
super();
public void sayHello() throws RemoteException {
System.out.println("Ciau!");
package rmi;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.rmi.server.UnicastRemoteObject;
public class HelloMain {
public static void main(String[] args) {
try {
Hello obj = new HelloServer();
Hello stub = (Hello) UnicastRemoteObject.exportObject(obj, 0);
// Bind the remote object's stub in the registry
Registry registry = LocateRegistry.getRegistry();
registry.bind("Hello", stub);
System.err.println("Server ready");
} catch (Exception e) {
System.err.println("Server exception: " + e.toString());
e.printStackTrace();
}May be I'm wrong with start command, but I tried differents syntax without result.
Can you help me?
Thanks to all.
PS:Sorry for my spaghetti-english :DI had similar issue and i got rid of it by doing the following:
i. Start rmiregistry from the server code (so that the JVM remains the same) like this
// Server.java
Process pro = Runtime.getRuntime().exec("rmiregistry 1099 &");
// ... ii. Use java.rmi.server.codebase property while starting the server
D:\rmiEx\bin>java -Djava.rmi.server.codebase=file:/D:\rmiEx\bin example.hello.Server -
Exception while trying to start weblogic server using workshop
Hi all,
Here am getting the trace given below when i try to start workshop.Any
clues.
=====================================
Starting WebLogic Server...
<Feb 2, 2002 4:09:18 PM EST> <Notice> <Management> <140005> <Loading
configuration .\..\workshop\config.xml>
<Feb 2, 2002 4:09:41 PM EST> <Notice> <WebLogicServer> <000327> <Starting
WebLogic Admin Server "cgServer" for domain
"workshop">
<Feb 2, 2002 4:10:15 PM EST> <Alert> <JMS> <040052> <JMSServer
"cgJMSServer", store failed to open, java.io.IOExcepti
on: JMS JDBC store, connection pool = <cgPool>, prefix = <null>: JMS JDBC
SQL Error
java.sql.SQLException: Invalid transaction state -- active SQL-transaction.
state: 2.
at
com.pointbase.net.netJDBCPrimitives.handleResponse([DashO-OE-V2.2-121500.112
15B000919])
at
com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse([DashO-OE-V2.2-
121500.11215B000919])
at
com.pointbase.net.netJDBCDatabaseMetaData.getTables([DashO-OE-V2.2-121500.11
215B000919])
at
weblogic.jdbc.pool.DatabaseMetaData.getTables(DatabaseMetaData.java:1006)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.tablesExist(JDBCStoreUpgradeHelper
.java:1076)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.oldStore(JDBCStoreUpgradeHelper.ja
va:1261)
at weblogic.jms.store.JDBCIOStream.recover(JDBCIOStream.java:840)
at weblogic.jms.store.JMSStore.recover(JMSStore.java:121)
at weblogic.jms.backend.BEStore.open(BEStore.java:234)
at weblogic.jms.backend.BEStore.start(BEStore.java:147)
Thanks
VPls post it to the workshop newsgroup:
weblogic.developer.interest.70beta.workshop
regards,
-manoj
"Veena" <[email protected]> wrote in message news:[email protected]..
Hi all,
Here am getting the trace given below when i try to start workshop.Any
clues.
=====================================
Starting WebLogic Server...
<Feb 2, 2002 4:09:18 PM EST> <Notice> <Management> <140005> <Loading
configuration .\..\workshop\config.xml>
<Feb 2, 2002 4:09:41 PM EST> <Notice> <WebLogicServer> <000327> <Starting
WebLogic Admin Server "cgServer" for domain
"workshop">
<Feb 2, 2002 4:10:15 PM EST> <Alert> <JMS> <040052> <JMSServer
"cgJMSServer", store failed to open, java.io.IOExcepti
on: JMS JDBC store, connection pool = <cgPool>, prefix = <null>: JMS JDBC
SQL Error
java.sql.SQLException: Invalid transaction state -- active SQL-transaction.
state: 2.
at
com.pointbase.net.netJDBCPrimitives.handleResponse([DashO-OE-V2.2-121500.112
15B000919])
at
com.pointbase.net.netJDBCPrimitives.handleJDBCObjectResponse([DashO-OE-V2.2-
121500.11215B000919])
at
com.pointbase.net.netJDBCDatabaseMetaData.getTables([DashO-OE-V2.2-121500.11
215B000919])
at
weblogic.jdbc.pool.DatabaseMetaData.getTables(DatabaseMetaData.java:1006)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.tablesExist(JDBCStoreUpgradeHelper
.java:1076)
at
weblogic.jms.store.JDBCStoreUpgradeHelper.oldStore(JDBCStoreUpgradeHelper.ja
va:1261)
at weblogic.jms.store.JDBCIOStream.recover(JDBCIOStream.java:840)
at weblogic.jms.store.JMSStore.recover(JMSStore.java:121)
at weblogic.jms.backend.BEStore.open(BEStore.java:234)
at weblogic.jms.backend.BEStore.start(BEStore.java:147)
Thanks
V
[att1.html] -
Starting SOA server using proxy fails with exception
Hi,
The problem is as mentioned in the subjet.
In console-servers-soa server - server start - arguments , I have entered
-Dhttp.proxyHost=XX.XX.140.2 -Dhttp.proxyPort=80
When i try to start the server, I get this in the log:
Listen Address server1:8001
Public Address N/A
Http Enabled true
Tunneling Enabled false
Outbound Enabled false
Admin Traffic Enabled true>
<Jan 19, 2011 1:10:23 PM CST> <Info> <Server> <BEA-002609> <Channel Service initialized.>
<Jan 19, 2011 1:10:24 PM CST> <Info> <Socket> <BEA-000436> <Allocating 2 reader threads.>
<Jan 19, 2011 1:10:24 PM CST> <Info> <Socket> <BEA-000446> <Native IO Enabled.>
<Jan 19, 2011 1:10:24 PM CST> <Info> <IIOP> <BEA-002014> <IIOP subsystem enabled.>
<Jan 19, 2011 1:10:53 PM CST> <Error> <Net> <BEA-000903> <Failed to communicate with proxy: XX.XX.140.2/80. Will try connection admin/7001 now.
java.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 Forbidden'
at weblogic.socket.utils.ProxyUtils.getProxySocket(ProxyUtils.java:206)
at weblogic.socket.utils.ProxyUtils.getClientProxy(ProxyUtils.java:221)
at weblogic.socket.SocketMuxer.newClientSocket(SocketMuxer.java:345)
at weblogic.socket.ChannelSocketFactory.createSocket(ChannelSocketFactory.java:79)
When i tried the below cmd from my soa server console,
wget www.yahoo.com
I get proper response.
oracle@server:/data/oracle/domains/soau_domain/servers/soa_server01_01/logs> wget www.yahoo.com
--2011-01-19 13:50:33-- http://www.yahoo.com/
Resolving proxy.sample.local... XX.XX.140.2
Connecting to proxy.sample.local|XX.XX.140.2|:80... connected.
Proxy request sent, awaiting response... 302 Found
Location: http://au.yahoo.com/?p=us [following]
--2011-01-19 13:50:34-- http://au.yahoo.com/?p=us
Connecting to proxy.sample.local|XX.XX.140.2|:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
So looks like proxy server is reachable from soa server.
Can anyone help me with where this could be getting wrong?
Thanks
Ganeshjava.net.ProtocolException: unrecognized response from proxy: 'HTTP/1.1 403 ForbiddenThis looks like that the proxy is expecting an username from soa server for authentication and you have not configured soa server to send the username/password to authenticate at the proxy server. I am not sure if soa server has a way to specify username/password for proxy authentication, but a workaround we used to do in an earlier version of OSB ( ALSB 2.5, where there was no provision to specify proxy authentication crdentials) was to add the URL's you want to access via proxy, to the 'proxy-free-list' of the proxy server. A proxy wont prompt for username/password for accessing an URL which is in its 'proxy-free-list'.
-
Unable to lookup the ServerLifeCycleRunTimemBean exception when try to start managed server
I have two domains, FRDomain and NewServer2. I can startup all servers on FRDomain, including newly created non-default servers. For xyzDomain, I can start up the admin server, but none of my other managed servers. When I try, I get
weblogic.management.scripting.ScriptException: Error occured while performing start : Unable to lookup the ServerLifeCycleRuntimeMBean for server NewServer2
Syntax:
nmConnect(.....)
nmStart('AdminServer')
connect(...)
start ('NewServer2','Server')
FYI: This is WIndows 2008 ServerHi, the topology of th network ist the next:
ISP (DATACENTER) -> SRV1 (phisical) + SRV2 &SRV3 (virtual)
Every one of them have 2 NIC ( for server 2 and 3 - virtual too)
NIC1 - operates on private level - 192.168.1.1 dns, gate,dc (srv1)
NIC2 - real ip address, gate - gateway of ISP dns - 192.168.1.1
When set up NIC1 - everything is ok .
NIC2 - action is : set ip and mask - enable without gate - then it is in unidentified status and go in public state.
disable nic2, set up gateway - and dns - 192.168.1.1 and again enable - everything is ok
But after restart - nic2 - goes again in Domainauthenticated mode. :(
Additional:
On srv2 - i put RRAs role and smthing stange is that after enable rras service - all ports are shutted and machine pretendet to be invisible.
Maybe you are looking for
-
Hi, I have a Macbook and would like to output Front Row and video from the Macbook to an older style TV which has those yellow, red and white round input sockets (the type you can plug a camcorder into). To get the video to the TV I assume I need a m
-
How to send email attachments in body not as file
i use btyahoo but i can change this. Im trying to send marketing emails to clients from ipad, i have made my flyer in pages and want that to show up in my email body and not as a file to download. How can i do this? Thank u!
-
How to do enable my ipod touch when passcode is unknown?
My 4yo son had figured out how to set a passcode and disabled his ipod touch since he doesn't know it. How do I get his ipod to enable and unlock without a passcode.I want to set it up so he cannot do this again. I read the ipod manual online that I
-
HP Imaging Device Functions causing errors on LAN
I have 4 computers on my LAN. For months now, I have been seeing errors on the Ethernet interfaces of 2 computers (netstat -e). The errors occured at regular intervals and seemed to be asscociated with the HP Printer SW associated with the Photosm
-
I have an error message in dreamweaver that doesn't permit me to preview in firefox.
Unable to launch Macintosh HD:System:Library:Automator:LaunchApplication.action:Contents:Resources:no.lproj.:main.ni b. Please be sure that this application exists and that there is enough memory to run it.