Advertisements

Tuesday, October 27, 2015

Maven problem - NoHttpResponseException and I/O exception

This issue is related with the internet protocol version 6 of the network I'm working so it will be fixed adding the java arg to the command.

i.e.

mvn clean package -Djava.net.preferIPv4Stack=true

Monday, October 26, 2015

Eclipse/JdevStudio - Unable to connect to updates repositories

I'm getting an error every time I try to install something with Eclipse:

Error:



This can be fixed using this java arg variable:

-Djava.net.preferIPv4Stack=true

We have to put this argument at the end of the file "eclipse.ini" and restart the IDE. (for Jdevstudio is jbdevstudio.ini)


Now I'm able to see whats under the repository.




I think the reason why is not working is because the current network I'm using doesn't support the newer network protocol IPv6(which is the most recent version), so we have to tell eclipse to go back to IPv4.


Thursday, April 23, 2015

OER 12c - how to unlock admin user

Before starting the default credentials for admin user is:
admin/weblogic1

Now if you got this locked, you  need to do the following.

1.- Stop the oer instance.

2.- Login into the OER databse schema and perform the following commands


update OER1_OER.ENTSECUSERS set ACTIVESTATUS=0 where USERNAME='admin';


select * from OER1_OER.ENTSECUSERS where username='admin';


select * from OER1_OER.CMEEUSERS where ENTSECUSERID='99';


update OER1_OER.CMEEUSERS set ACTIVESTATUS=0 where ENTSECUSERID='99';


commit;


3.- Start oer instance again.



Tuesday, February 17, 2015

When oracle db password expires

Use this instructions to unlock the user account when the password is expired:

--check user status
select username, expiry_date, account_status from dba_users where username = 'USERACC';


--To unlock an user:

alter user USERACC ACCOUNT UNLOCK;


--To reset the password:

alter user USERACC identified by ARISBP01;


--But we'd like to use the existing password so we proceed with:

--To Keep same Password:



select 'alter user "'||d.username||'" identified by values '''||u.password||''';'

from dba_users d, sys.user$ u

where d.username = upper('USERACC ')

and u.user# = d.user_id; 



alter user "USERACC " identified by values '4301288F751F9615';





--On a production system, has to change this limit to unlimited to solve this and to avoid this in future.

ALTER PROFILE DEFAULT LIMIT password_life_time UNLIMITED;

Don't forget to commit;

SOA Error - "Failed to compile bpel generated classes"

When trying to compile an AIA composite project I'm getting the following error:


Error(13,63): Instantiation exception for implementation type "implementation.bpel", validating component "CreateCustomerPartyLAProvABCSImplProcess". Exception is "Failed to compile bpel generated classes.
failure to compile the generated BPEL classes for BPEL process "CreateCustomerPartyLAProvABCSImplProcess" of composite "default/CreateCustomerPartyLAProvABCSImpl!1.0"
The class path setting is incorrect.
Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version."

This is because I'm missing a library:

Go to project preference/Library classpath

Add the library aia.jar:


Solved!