Skip to main content

Weblogic 10.0 Classpath

The classpath in Weblogic 10.0 has changed comparing to 9.2 version. Here is what I have in my build.xml now. It works for a simple web service and Weblogic tools such as jwsc, clientgen, wldeploy.

<path id="wl.class.path">
<pathelement location="${wl.home}/jrockit_150_08/lib/tools.jar" />
<pathelement location="${wl.home}/patch_wls1000/profiles/default/sys_manifest_classpath/weblogic_patch.jar" />
<fileset dir="${wl.home}/wlserver_10.0/server/lib">
<include name="weblogic_sp.jar" />
<include name="weblogic.jar" />
<include name="webservices.jar" />
<include name="xqrl.jar" />
<fileset dir="${wl.home}/modules/features">
<include name="features/weblogic.server.modules_10.2.0.0.jar" />
<include name="features/com.bea.cie.common-plugin.launch_2.2.0.0.jar" />
<include name="org.apache.ant_1.6.5/lib/ant-all.jar" />
<include name="net.sf.antcontrib_1.0b2.0/lib/ant-contrib.jar" />

The wl.home is set to d:/bea10 in my case. It is a pointer to a folder where Weblogic is installed.


Popular posts from this blog

cucumber-jvm and Android Studio

During this Winter holidays, I've been exploring a Behavior Driven Development and experimented with a couple of testing frameworks: Calabash and cucumber-jvm.

In this post, I would like to describe setting up cucumber-jvm for Android Studio projects.

I've extended cucumber-jvm examples with a version for Android Studio. Here is a copy in my github branch:

In addition to the example code, here is some details on how it was created.

The cucumber-jvm requires several libraries to be added to a project:

I've found it's easier to add those dependencies with the Android Studio project setup dialog because it takes care of the jar versions for you.

File > Project Structure > Modules > app > Dependencies > + > Library dependency
  > type "cucumber" in the s…

Using FlexUnit for Stress Testing

I saw quite a few questions in the forums on how to stress
test a Flex application. I thought about it and came up with an idea
that I want to share here.

I think FlexUnit can be used for stress testing. It is not
that difficult. I simply add multiple test runners for each client
application and run all of them asynchronously. Here is the example of
the FlexUnit runner:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="" xmlns="*"

import flexunit.framework.TestSuite;
import test.TemperatureConverterTest;
import test.ArrayUtilTest;
import mx.collections.ArrayCollection;
import flexunit.flexui.TestRunnerBase;

public var testClients:ArrayCollection;

public var NUMBER_OF_TESTS:int = 100;

private function onCreationComplete():void
var cli…

Flash on Google Sites

This is a brief how-to add a Flash on a Google Site.

Google Sites allows adding Flash embedded into a Google Gadget. I uploaded a swf file to my Google Site - FlexWebTools and found a gadget that allows displaying any SWF on a Google Site page. It is called AnyFlash. It is pretty easy to use and it worked fine in my Firefox 3.5.5 on Mac OS X 10.5.8. Then I send a link to my site to my friends and they discovered that the SWF was not displayed properly on IE6 and in Firefox on Linux. I reviewed AnyFlash source code and eventually found that there is a bug 939 in the Google Gadget API. Therefore, I created a new gadget that does not use the gadgets.flash.embedFlash() method and works well with Firefox, Safari and IE6 browsers on Mac, Windows and Linux.

While working on the gadget, I found a few different ways of embedding Flash into a gadget. Some of them are pretty straightforward like simply pointing to a swf in the context tag. Some are more sophisticated. For instance, they would …