weblogic

Server subsystem failed. Reason: java.lang.NumberFormatException: null

Our admin server of the osb development environment failed to restart because of a full disk. After cleaning up the admin server still wouldn't start resulting in the next stack. [code] [/code] Locate the file : [code] ORACLE_HOME/user_projects/domain/your_domaim_name/servers/AdminServer/data/ldap/conf/replicas.prop [/code] .. and remove it In our case the file got corrupted (0byte file). Removing the file, the file will get recreated with something like the next...

Weblogic, QBrowser and topics

Besides using the Weblogic Console to add subscribers (durable) to our topics we can also use QBrowser to browse queues and topics on your Weblogic Server. Download the tool here, configurate the .bat/.sh so all the correct versions of the jar are included or create the Weblogic Full Client (http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/t3.html). Connect to your Weblogic instance. You will get an overview of all your queues and topic, and also our MyTopic. Click on...

Weblogic, topics and (non)-durable subscribers

For one of my testcases i implemented a simple process in the Oracle Service Bus which stores messages on a Weblogic topic. This blog will not contain any rocket science, just a quick overview on how to deal with topics and subscribers in Weblogic. In case of storing messages on Weblogic queues you can just browse in the Weblogic Console and look into the messages To be able to look at the message available in a topic we need to first subscribe to the topic. Create a new JMS...

Oracle Weblogic, resetting datasources

In our OSB services we make a lot of use of jca database adapters calling stored procedures. After changing the package structure in the database (adding new procedures) we get the next stacktrace (partly in Dutch) [sourcecode language="xml"] Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException:...

Weblogic jdbc resource out of sync

For some development task we added a jdbc resource needed for one of our business services which was based on the database adapter. For a test we added environment settings for let's say development1, but later on we needed to switch this setup to development2. Easy task by just editting the jdbc resource setup in the console, change the settings and go (or restart the server and go). But in both cases the resource kept pointing to the development1 environment. The config for the jdbc...

Scheduling Oracle SOA Suite Composite Applications (or whatever you want) in Weblogic

After reading a nice article about TimerManager functionality in Weblogic, i wanted to see how easy it would be to schedule my test composite application. First deploy your composite and go to SOA > soa-infra > default > Test > WSDL. Copy/paste the wsdl, this one we will use to generate the web proxy. Back in JDeveloper create a new Application (or add it to an existing one), and create a new Web Project. Select the jsp option, we will use this page...

Weblogic, side-by-side deployment

Weblogic Server supports a nice feature called side-by-side deployment (or versioned deployment). This function is extremely usefull when you need to deploy a new version of an application and still keep the old one up and running. So the running instances will still use the current version and all new instances will be able to invoke the new deployed version of the application. As soon as all the sessions who're using the old version of the application are expired, Weblogic will recognize it...