Kayıtlar

how to secure a composite with ssl that running on soa suite

first of all you have to got a keystore in order to store you certificates. to create it, just have to type this line keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048 then create a CSRequest to get a private key from a CA keytool -certreq -alias mydomain -keystore keystore.jks -file mydomain.csr when it comes then type this command keytool -import -trustcacerts -alias mydomain -file mydomain.crt -keystore keystore.jks or you can create your own but this time you can use this private key only known systems or systems that knows you. keytool -genkey -keyalg RSA -alias selfsigned -keystore keystore.jks -storepass password -validity 360 -keysize 2048 in order to define this keystore to your weblogic login and get the lock the goto Servers->your-server-> configuration->keystores screen change the keystore type to (Custom Identity and java trust store) at the sametime copy the keystore.jks file that just have prepared previous step under th...

how to secure a composite in soa suite

security is an up level topic for developers that writing codes for fulfill the daily needs. also proportion to project life, designing and defining security is take very short time. for so, security issues are being learned several time because developer forgets the key points of it. hence, the blogs helps us in order to remember the key points. we can start defining security policies in composite. we can do it with to ways. both ways are using same names. like "oracle/wss_*******" in first way we can define with jdeveloper that code will be hard-coded for the project. right click the service element in composite.xml and select the option configure ws-policies. oracle picks up some useful policies together and give those simple and rememberable names like mentioned before. select the policy you want to apply from the list after the click secure segment. and deploy it to server and Bob's your uncle. the other way defining policies is more declarative then th...

Global Type declaration/definition of name '{http://xmlns.oracle.com/pcbpel/adapter/db/top/XDSLResponseRecord}XdslResponse' are duplicated at the foll

If get an error message like "Global Type declaration/definition of name '{http://xmlns.oracle.com/pcbpel/adapter/db/top/XDSLResponseRecord}XdslResponse' are duplicated at the following locations:" then one of the reason is, redundant namespace definitions exists in your import tag in one of the wsdl file. in my wsdl file, I have an import tag like <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.ttnet.com.tr" xmlns:ns1="http://xmlns.ttnet.com.tr/CDM/EBM/Order" xmlns:xdslresponse="http://xmlns.oracle.com/pcbpel/adapter/db/top/XDSLResponseRecord" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:pns1="http://xmlns.ttnet.com.tr/Service/ProcessOrderToXDSLProvABCS/ProcessOrderToXDSLProvABCS/correlationset" xmlns:client="http://xmlns.ttnet.com.tr/Service/ProcessOrderToXDSLProvABCS/ProcessOrderToXDSLPro...

setting java plugin on ubuntu 10.10

you can call these commands respectively to enable java plugin on ubuntu 10.10 both firefox and especially chrome sudo apt-get remove --purge icedtea6-plugin openjdk-6-jre gcj sudo apt-get remove --purge openjdk-6-* sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner" sudo apt-get update sudo apt-get install --reinstall sun-java6-jre sun-java6-fonts sun-java6-plugin

Unable to set the activation state to true for the application

A strange exception that occurs sometime while restarting servers that working perfectly since longtime. I spend my hours for resolving this exception last night until reading this post ( post link ) It works for me too, but I haven't an answer why it appears and how it is resolved. weblogic.application.ModuleException: at weblogic.jdbc.module.JDBCModule.activate(JDBCModule.java:349) at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107) at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74) Truncated. see log file for complete stacktrace weblogic.common.ResourceException: is already bound at weblogic.jdbc.common.internal.RmiDataSource.start(RmiDataSource.java:387) at weblogic.jdbc.common.interna...

local beans in ejb3.0 with weblogic

don't waste your time while looking for public jndi that belong to your sessinbean while calling it locally in weblogic environment. weblogic don't support jndi with local beans even if you type mappped name in that class like package tr.gov.ibb.core.model.session; import java.util.List; import javax.ejb.Remove; import javax.ejb.Stateful; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.PersistenceContextType; import javax.persistence.Query; import tr.gov.ibb.core.model.entity.Musteri; @Stateful(name = "TestBean", mappedName = "ejb/TestBean") @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) public class TestBean implements TestRemote,TestLocal { @PersistenceContext(unitName = "CoreContextWithoutEUS", type = PersistenceContextType.EXTENDED) private EntityManager em; public List getMusteriList...

ws-adressing schema import in bpel deployment

While deploying bpel process to bpel server, you could get the error below even if xmllib folder contains ws-adressing.xsd file. to pass the error, you can set the xsd location in wsdl location. simply,project folder contains asd.bpel asd.wsdl files, in asd.wsdl file you can type or then you could pass the error. if you are developing behind a proxy server , some times (I faced to this problem ) you can't reach directly, this time you can set you production servers xmllib, like that Error while loading process. The process domain encountered the following errors while loading the process "Gsmrd_04_DosyaHavale" (revision "1.1"): BPEL validation failed. BPEL source validation failed, the errors are: [Error ORABPEL-10902]: compilation failed [Description]: in "bpel.xml", XML parsing failed because "undefined part element. In WSDL at "file:/oracle/products/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_Gsmrd_04_DosyaHavale_1.1_f90805a5b72...

jdeveloper 10.1.3.5 bpel deploy error

if you compile bpel proccess with jdeveloper environment , you could get the following error. To pass this error , you can decrease your jdeveloper version, or you can compile your source with ant build file. Process "SimpleTest" (revision "1.0") successfully compiled. java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:372) at java.lang.Long.parseLong(Long.java:461) at com.collaxa.cube.rm.suitcase.SuitcaseDescriptor.getTimestamp(SuitcaseDescriptor.java:117) at com.collaxa.cube.engine.deployment.CubeProcessFactory.loadProcess(CubeProcessFactory.java:154) at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:67) at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:174) at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:943) at com.collaxa.cube.engine.deployment.Deploymen...