Friday, 30 August 2013

OER(Oracle enterprise repository) conflicting ports

This may generally occur if you change the port in the admin console and use the same to access the oer.Try to correct it to the one that shows in the browser
When you try to access oer from url the following error may arise due to conflicting ports

This can be resolved by correcting port of the oer server(In admin console) . Check the below screen shot . The navigation is
Environment>Server>ClickOnit>In general tab


You can enlarge the image to see for any doubts.



Thursday, 29 August 2013

Default username and password for OER(Oracle Enterprise Repository) console

After a sucessful installation of oer(oracle enterprise repository). You have to login using the url\

http://host-name:port/ oer

If you run only with http://host-name:port you will get a 403 error.
The default username and password are


username:admin
password:admin


Though sounds silly would be useful for someone like me ;).

Authentication denied: Boot identity not valid

Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid.

This would probably arise if you start your managed server by running the .bat/.sh file and providing a wrong username or password.

The solution for this delete LDAP folder from the following path

${fmw.home}\user_projects\domains\${domain.name}\servers\${managedserver}\data


Now everything is good to go . Cheers :)

Problem while running all of the servers in the same machine i.e, adminserver ,osb ,oer

When you try to run all of the admin server and managed server in the same machine the following problem occur

starting weblogic with Java version:
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
ERROR: transport error 202: bind failed: Address already in use

You can solve this by just commenting a line in the file setDomainEnv.bat/.sh  which can be found at
${fmw.home}\user_projects\domains\${domain.name}\bin 

comment the line 
Before
 set debugFlag=true
After
 
REM set debugFlag=true


The reason is pretty simple first when you run the admin server it setups the java debugger listening on the port. When you try to start the managed server it too tries setup the debugger and fails.

Wednesday, 28 August 2013




java.sql.SQLSyntaxErrorException: ORA-00928: missing SELECT keyword while installing can be found in the log. The solution is you have missed configuring the database


You have to install the required schema before you can actually configure the database . You can search in the internet which has many blogs.

You can reopen the configuration in the following path ${oerhome}/common/bin/dbconfig.bat or dbconfig.sh based on the os.

http://oraclefusion1011.blogspot.in/2011/07/installing-oracle-enterprise-repository.html

Maven build error while using ant plugin when deploying soa composites

Using maven to deploy a soa composite using  ant plugin . If you just call an ant it throws the following error as  java.lang.IllegalAccessError: tried to access method org.apache.tools.ant.launch.Locator.decodeUri(Ljava/lang/String;)Ljava/lang/String; from class org.apache.tools.ant.AntClassLoader
 

You can solve this by set ANT dependency for "maven-antrun-plugin" explicitly .