2014年1月23日木曜日

JDeveloper error ( ERROR Launch:No such file or directory)

While installing jdeveloper(jdev_suite_121200_win64.exe), I had problem & couldn't install it will give me error:
-----------------------------------------------------------------
ERROR Launch:No such file or directory
Jdev install error launch:No such file or directory
-----------------------------------------------------------------









Workaround:
Jdeveloper need to access the registry files, so you need to run the Setup(jdev_suite_121200_win64.exe) as an administrator in order to work.

Prerequisite Check Error on Redhat Linux 6.3 or 6.4(IAM 11.1.2.2)

Problem Description:
OS:Oracle Linux Server release 6.3 or Red Hat Enterprise Linux Server release 6.4 (Santiago)
Software: Oracle Identity and Access Management Installation 11.1.2.2

Error:
1.Checking recommended operating system packages
2.Checking kernel parameters



































Rootcause:
Lack of redhat-lsb package(This is a known issue).                    
Workaround:
1.yum install redhat-lsb*x86_64" and re-install.
2.Use patch 16963926,and didn't need to install any additional package.Using this workaround, the pre-requisite check altogether is skipped.


2014年1月10日金曜日

How to change the port of tomcat

1.The default port is 8080.
2.You can find following Server.xml file, Go to conf folder in tomcat installation directory.
path-->../apache-tomcat-7.0.47/conf
3.Change the port=8080 value to port=9080.
 <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />

 <Connector port="9080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    <!-- A "Connector" using the shared thread pool-->
    <!--
    <Connector executor="tomcatThreadPool"
               port="9080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
5.Save file and Verify result.
  Access URL: http://XXXX:9080

2014年1月2日木曜日

Oracle WebLogic Server 10.3.6: weblogic.management.ManagementException

Error:
There are 1 nested errors:
weblogic.management.ManagementException: Unable to obtain lock on /export/home/oracle/mdw4/user_projects/domains/base_domain/servers/AdminServer/tmp/AdminServer.lok. Server may already be running at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:206)
at weblogic.management.internal.ServerLocks.getServerLock(ServerLocks.java:67)
at weblogic.management.internal.DomainDirectoryService.start(DomainDirectoryService.java:74)
at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesManager.java:461)
at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServicesManager.java:166)
at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
at weblogic.Server.main(Server.java:71)

<Jan 2, 2014 4:20:35 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 
<Jan 2, 2014 4:20:35 PM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 
<Jan 2, 2014 4:20:35 PM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 

Solution:
1.Delete file:
/export/home/oracle/mdw4/user_projects/domains/base_domain/servers/AdminServer/tmp/AdminServer.lok, and re-start weblogic.
2.Restart test machine(reboot) and re-start weblogic.

http://unixadminschool.com/blog/manpages/solaris-file-etcnologin/

Error:
Caused By: javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User weblogic weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090295]caught unexpected exception

Solution:
1: remove the boot.properties file completely from the managed server directory.
2:remove ManagedServerDir(user_projects/domains/base_domain/servers/...)/data/ldap directory completely.
3: Always keep backup of files before removing it.
4: Now try to start the server from the command prompt and provide the username/password used to login to the Admin Console