Notes on Weblogic server
------------------------
1. jdbc
2. kodo integration - using startup class
d) in the classname field, enter the fully qualified startup class, e.g., com.fluencyfinancial.newFactory.persist.WeblogicKodoStarter
e) the startup class must implement the interface T3StartupDef and have access to weblogic.common.T3ServicesDef (and obviously weblogic.common.T3StartupDef. i've extract these from "weblogic.jar" into a single (small) jar called "wl-startup.jar"
iii. add any required classes as a jar that the startup class required (e.g., log4j or whatever). iv. add the kodo jars required for runtime into the wl classpath. these are: jakarta-commons-collections-2.1.jar jakarta-commons-lang-1.0.1.jar jakarta-commons-logging-1.0.2.jar jakarta-regexp-1.1.jar jdo1_0.jar kodo-jdo-runtime.jar kodo-jdo.ja
the simplest way to do this is to add the jars to the weblogic server lib directory which is
$WL_HOME/bea/weblogic81/server/lib
and then modify the weblogic startup script to include these jars in the classpath. the startup script is in
$WL_HOME/bea/user_projects/platformDomain/startWebLogic.sh
iii. restart weblogic
3. kodo integration - using JCA.
i. remove any startup classes (if previously using #2).
ii. ensure that the ra.xml (which is in the META-INF/
directory of kodo.rar contains properties for
javax.jdo.option.ConnectionDriverName=oracle.jdbc.driver.OracleDriver
this (and other) entries go in the
<config-property-value> </config-property-value> tags which are found
within 2 parent tags: <config-property> with <config-property-name>'s
of ConnectionFactoryName and ConnectionFactory2Name
iii. deploy new connector from weblogic, under
platformDomain->Deployments->Connector Modules
iv. locate the kodo.rar which comes with kodo dist. the
kodo.rar registers the persistence manager under the
jndi name of "kodo" and select "target/deploy" and that's
it.
4. Weblogic Managed Servers
To start a weblogic managed server, add the following JVM arg to the
Weblogic startup script:
-Dweblogic.management.server=https://host:admin_port
In this argument, host refers to the address of the Administration Server and
admin_port is the administration port that the Administration Server uses.
Note that you must specify the https:// prefix, rather than http://.
Note that the "node manager" must be running. It's startup script is
usually BEA_HOME/weblogic81/server/bin/startNodeManager.sh and it
requires 2 arguments i) a hostname to listen at and ii) a port number
to listen on.
See section A.StartupScripts, which is shar of the weblogic startup
scripts used for the managed cluster development environment at cu
5. EJBGen
A. J2SE 5.0 Generics cause incorrect code with <any> in declaration
In some cases, EJBGen generates a method signature with "<any>"
such as "public <any> myfoo(int arg)".
Even in the best case, it appears that EJBGen does not correctly
generate code with java 5 generics; it simply leaves them out. E.g.,
if a bean has a signature "public Set<Foo> myfoo(int arg)", then
the generated code will have "public Set myfoo(int arg)".
This latter case is not so much of a problem. The "<any>" scenario
however is more of a problem, see comment in dev2dev forum:
http://forums.bea.com/bea/message.jspa?messageID=400001932&tstart=5
B. Online doco
Online doco for WL 9.2 ejbgen can be found at:
http://edocs.beasys.com/wls/docs92/ejb/EJBGen_reference.html
6. Streamline Deployment - Weblogic
Requires a template file contents, something like (between the dashes)
#------------------------------------------------------
# THIS IS TEMPLATE FILE WITH PROPERTIES USED BY ANT
# TO REPLACE VARIABLES NAMES IN JCA DESCRIPTOR FILES
# DURING EAR FILE BUILD PROCESS
#------------------------------------------------------
#------ Newfactory JCA connector descriptor ----------
jca.newFactory.ConnectionURL=jdbc:oracle:thin:@transmission:1521:novelty
jca.newFactory.DefaultSchemaName=foo
jca.newFactory.Schemas=foo
#------ CLAS JCA connector descriptor ---------------
jca.clas.Schemas=LEGACY
jca.clas.DefaultSchemaName=LEGACY
jca.clas.ConnectionURL=jdbc:oracle:thin:@transmission:1521:novelty
#--------
Then run ant "j2ee-weblogic-ear", like this (assume token file
is in current directory, called "jcatokens")
ant -Ddeploy.dependency=no j2ee-weblogic-ear -Djca.replacement.properties=jcatokens
A.StartupScripts
Cut the text between "STARTUP SCRIPTS" and "END STARTUP SCRIPTS" into
a plain text file (e.g., foo.shar) and run: sh foo.shar. This will
create several files: startStreamlineWL_Admin.sh, startWebLogic.sh
weblogic.properties and startWebLogic_jprofiler.sh. The last one
startWebLogic_jprofiler.sh is an example script for running jprofiler
on the jvm running in the container. The other 3 (startStreamlineWL_Admin.sh,
startWebLogic.sh and weblogic.properties) are part of a group and
configure the weblogic admin server and start it up. The admin
-->%-- -->%-- -->%-- -->%-- STARTUP SCRIPTS -->%-- -->%-- -->%-- -->%--
#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.6.1).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `#!/bin/sh' line above, then type `sh FILE'.
#
lock_dir=_sh15390
# Made on 2006-05-17 14:45 CEST by <foo@locknut.cu.com.pl>.
# Source directory was `/home/foo/doc/linux/test/wl_startup_scripts'.
#
# Existing files will *not* be overwritten, unless `-c' is specified.
#
# This shar contains:
# length mode name
# ------ ---------- ------------------------------------------
# 931 -rwxr-xr-x startStreamlineWL_Admin.sh
# 3320 -rwxr-xr-x startWebLogic_jprofiler.sh
# 3446 -rwxr-xr-x startWebLogic.sh
# 677 -rw-r--r-- weblogic.properties
#
MD5SUM=${MD5SUM-md5sum}
f=`${MD5SUM} --version | egrep '^md5sum .*(core|text)utils'`
test -n "${f}" && md5check=true || md5check=false
${md5check} || \
echo 'Note: not verifying md5sums. Consider installing GNU coreutils.'
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
if test "$gettext_dir" = FAILED && test -f $dir/gettext \
&& ($dir/gettext --version >/dev/null 2>&1)
then
case `$dir/gettext --version 2>&1 | sed 1q` in
*GNU*) gettext_dir=$dir ;;
esac
fi
if test "$locale_dir" = FAILED && test -f $dir/shar \
&& ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
then
locale_dir=`$dir/shar --print-text-domain-dir`
fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
echo=echo
else
TEXTDOMAINDIR=$locale_dir
export TEXTDOMAINDIR
TEXTDOMAIN=sharutils
export TEXTDOMAIN
echo="$gettext_dir/gettext -s"
fi
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null
then if (echo -n test; echo 1,2,3) | grep n >/dev/null
then shar_n= shar_c='
'
else shar_n=-n shar_c= ; fi
else shar_n= shar_c='\c' ; fi
f=shar-touch.$$
st1=200112312359.59
st2=123123592001.59
st2tr=123123592001.5 # old SysV 14-char limit
st3=1231235901
if touch -am -t ${st1} ${f} >/dev/null 2>&1 && \
test ! -f ${st1} && test -f ${f}; then
shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am ${st2} ${f} >/dev/null 2>&1 && \
test ! -f ${st2} && test ! -f ${st2tr} && test -f ${f}; then
shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am ${st3} ${f} >/dev/null 2>&1 && \
test ! -f ${st3} && test -f ${f}; then
shar_touch='touch -am $3$4$5$6$2 "$8"'
else
shar_touch=:
echo
${echo} 'WARNING: not restoring timestamps. Consider getting and'
${echo} 'installing GNU `touch'\'', distributed in GNU File Utilities...'
echo
fi
rm -f ${st1} ${st2} ${st2tr} ${st3} ${f}
#
if test ! -d ${lock_dir}
then : ; else ${echo} 'lock directory '${lock_dir}' exists'
exit 1
fi
if mkdir ${lock_dir}
then ${echo} 'x - created lock directory `'${lock_dir}\''.'
else ${echo} 'x - failed to create lock directory `'${lock_dir}\''.'
exit 1
fi
# ============= startStreamlineWL_Admin.sh ==============
if test -f 'startStreamlineWL_Admin.sh' && test "$first_param" != -c; then
${echo} 'x -SKIPPING startStreamlineWL_Admin.sh (file already exists)'
else
${echo} 'x - extracting startStreamlineWL_Admin.sh (text)'
sed 's/^X//' << 'SHAR_EOF' > 'startStreamlineWL_Admin.sh' &&
#!/bin/bash
X
cd `dirname $0`
X
X. weblogic.properties
X
# Application level settings (any -D settings required for your app)
confdir=$PWD/streamline
nfmandatory=${confdir}/nf.system.properties
nfoptional=${confdir}/nf.optional.properties
commonslogger=${JAKARTA_COMMONS_LOGGER:-org.apache.commons.logging.impl.Log4JLogger}
X
export JAVA_OPTIONS="$DEBUG_REMOTE_SETTINGS -Dnf.system.properties=${nfmandatory} -Dfn.optional.properties=${nfoptional} -Dorg.apache.commons.logging.Log=${commonslogger}"
X
# Note, the "real" weblogic startup script "startWebLogic.sh" resets CLASSPATH to
# some other value, with the original value (i.e., the value set here) retained
# at the end.
X
export CLASSPATH=${confdir}
X
#
# Start the node manager on the node manager port (e.g., localhost 5555)
printf "NOTE: Be sure to startup the Node Manager. E.g.,\n\t/usr/local/bea/weblogic81/server/bin/startNodeManager.sh localhost 5556"
X
$PWD/startWebLogic.sh
SHAR_EOF
(set 20 06 05 16 03 34 49 'startStreamlineWL_Admin.sh'; eval "$shar_touch") &&
chmod 0755 'startStreamlineWL_Admin.sh'
if test $? -ne 0
then ${echo} 'restore of startStreamlineWL_Admin.sh failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'startStreamlineWL_Admin.sh: MD5 check failed'
) << SHAR_EOF
7599ef0b27e9681f5ff0e96055cbc064 startStreamlineWL_Admin.sh
SHAR_EOF
else
test `LC_ALL=C wc -c < 'startStreamlineWL_Admin.sh'` -ne 931 && \
${echo} 'restoration warning: size of startStreamlineWL_Admin.sh is not 931'
fi
fi
# ============= startWebLogic_jprofiler.sh ==============
if test -f 'startWebLogic_jprofiler.sh' && test "$first_param" != -c; then
${echo} 'x -SKIPPING startWebLogic_jprofiler.sh (file already exists)'
else
${echo} 'x - extracting startWebLogic_jprofiler.sh (binary)'
sed 's/^X//' << 'SHAR_EOF' | uudecode &&
begin 600 startWebLogic_jprofiler.sh
M(R$O8FEN+W-H"@HC(%=!4DY)3D<Z(%1H:7,@9FEL92!I<R!C<F5A=&5D(&)Y
M('1H92!#;VYF:6=U<F%T:6]N(%=I>F%R9"X*(R!!;GD@8VAA;F=E<R!T;R!T
M:&ES('-C<FEP="!M87D@8F4@;&]S="!W:&5N(&%D9&EN9R!E>'1E;G-I;VYS
M('1O('1H:7,@8V]N9FEG=7)A=&EO;BX*"B,@*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
M*BHJ*BHJ*BHJ*@HC(%1H:7,@<V-R:7!T(&ES('5S960@=&\@<W1A<G0@5V5B
M3&]G:6,@4V5R=F5R(&9O<B!T:&4@9&]M86EN(&EN('1H90HC(&-U<G)E;G0@
M=V]R:VEN9R!D:7)E8W1O<GDN("!4:&ES('-C<FEP="!S:6UP;'D@<V5T<R!T
M:&4@4T525D527TY!344*(R!V87)I86)L92!A;F0@<W1A<G1S('-E<G9E<BX*
M(R`*(R!4;R!C<F5A=&4@>6]U<B!O=VX@<W1A<G0@<V-R:7!T(&9O<B!Y;W5R
M(&1O;6%I;BP@86QL('EO=2!N965D('1O('-E="!I<PHC(%-%4E9%4E].04U%
M+"!T:&5N('-T87)T<R!T:&4@<V5R=F5R+@HC(`HC($]T:&5R('9A<FEA8FQE
M<R!T:&%T('-T87)T5TQ3('1A:V5S(&%R93H*(R`*(R!73%-?55-%4B`@("`@
M+2!C;&5A<G1E>'0@=7-E<B!F;W(@<V5R=F5R('-T87)T=7`*(R!73%-?4%<@
M("`@("`@+2!C;&5A<G1E>'0@<&%S<W=O<F0@9F]R('-E<G9E<B!S=&%R='5P
M"B,@4%)/1%5#5$E/3E]-3T1%("`@("T@=')U92!F;W(@<')O9'5C=&EO;B!M
M;V1E('-E<G9E<G,L(&9A;'-E(&9O<@HC("`@("`@("`@("`@("`@(&1E=F5L
M;W!M96YT(&UO9&4*(R!*059!7T]05$E/3E,@+2!*879A(&-O;6UA;F0M;&EN
M92!O<'1I;VYS(&9O<B!R=6YN:6YG('1H92!S97)V97(N("A4:&5S90HC("`@
M("`@("`@("`@("`@('=I;&P@8F4@=&%G9V5D(&]N('1O('1H92!E;F0@;V8@
M=&AE($I!5D%?5DT@86YD($U%35]!4D=3*0HC($I!5D%?5DT@("`@("`M(%1H
M92!J879A(&%R9R!S<&5C:69Y:6YG('1H92!632!T;R!R=6XN("`H:2YE+B`M
M<V5R=F5R+`HC("`@("`@("`@("`@("`@("UH;W1S<&]T+"!E=&,N*0HC($U%
M35]!4D=3("`@("`M(%1H92!V87)I86)L92!T;R!O=F5R<FED92!T:&4@<W1A
M;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HJ*BHJ*BHJ
M*BHJ*B(*"B`*(R!4:&4@9F]L;&]W:6YG(&QI;F5S(&AA=F4@8F5E;B!A9&1E
M9"!B>2!T:&4*(R!A<'!L:6-A=&EO;B!S97)V97(@:6YT96=R871I;VX@=VEZ
M87)D(&]F($I0<F]F:6QE<@H@"DI!5D%?5DT]"F5X<&]R="!*059!7U9-"DQ$
M7TQ)0E)!4EE?4$%42#TB+W5S<B]L;V-A;"]J<')O9FEL97(T+V)I;B]L:6YU
M>"UX.#8Z)$Q$7TQ)0E)!4EE?4$%42"(*97AP;W)T($Q$7TQ)0E)!4EE?4$%4
M2`I*4%)/1DE,15)?3U!424].4STB+5AJ=FUP:3IE;G1R>65X:70];V9F("U8
M<G5N:G!R;V9I;&5R.G!O<G0].#@T.2`@+5AB;V]T8VQA<W-P871H+V$Z+W5S
M<B]L;V-A;"]J<')O9FEL97(T+V)I;B]A9V5N="YJ87(@)$I04D]&24Q%4E]/
M4%1)3TY3(@IE>'!O<G0@2E!23T9)3$527T]05$E/3E,*(`HC(&5N9"!O9B!M
M;V1I9FEC871I;VYS"B`*(B1*059!7TA/344O8FEN+VIA=F$B("1[2E!23T9)
M3$527T]05$E/3E-]("1[2D%605]637T@)'M-14U?05)'4WT@)'M*059!7T]0
M5$E/3E-]("U$=V5B;&]G:6,N3F%M93TD>U-%4E9%4E].04U%?2`M1'=E8FQO
M9VEC+E!R;V1U8W1I;VY-;V1E16YA8FQE9#TD>U!23T150U1)3TY?34]$17T@
M+41J879A+G-E8W5R:71Y+G!O;&EC>3TB)'M73%](3TU%?2]S97)V97(O;&EB
C+W=E8FQO9VEC+G!O;&EC>2(@=V5B;&]G:6,N4V5R=F5R"@IS
`
end
SHAR_EOF
(set 20 06 05 16 02 48 02 'startWebLogic_jprofiler.sh'; eval "$shar_touch") &&
chmod 0755 'startWebLogic_jprofiler.sh'
if test $? -ne 0
then ${echo} 'restore of startWebLogic_jprofiler.sh failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'startWebLogic_jprofiler.sh: MD5 check failed'
) << SHAR_EOF
6fc6fb2f1701757d32afcacaeb07e463 startWebLogic_jprofiler.sh
SHAR_EOF
else
test `LC_ALL=C wc -c < 'startWebLogic_jprofiler.sh'` -ne 3320 && \
${echo} 'restoration warning: size of startWebLogic_jprofiler.sh is not 3320'
fi
fi
# ============= startWebLogic.sh ==============
if test -f 'startWebLogic.sh' && test "$first_param" != -c; then
${echo} 'x -SKIPPING startWebLogic.sh (file already exists)'
else
${echo} 'x - extracting startWebLogic.sh (binary)'
sed 's/^X//' << 'SHAR_EOF' | uudecode &&
begin 600 startWebLogic.sh
M(R$O=7-R+V)I;B]E;G8@8F%S:`H*(R!705).24Y'.B!4:&ES(&9I;&4@:7,@
M8W)E871E9"!B>2!T:&4@0V]N9FEG=7)A=&EO;B!7:7IA<F0N"B,@06YY(&-H
M86YG97,@=&\@=&AI<R!S8W)I<'0@;6%Y(&)E(&QO<W0@=VAE;B!A9&1I;F<@
M97AT96YS:6]N<R!T;R!T:&ES(&-O;F9I9W5R871I;VXN"@HC("HJ*BHJ*BHJ
M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BH*(R!4:&ES('-C<FEP="!I<R!U<V5D('1O
M('-T87)T(%=E8DQO9VEC(%-E<G9E<B!F;W(@=&AE(&1O;6%I;B!I;B!T:&4*
M(R!C=7)R96YT('=O<FMI;F<@9&ER96-T;W)Y+B`@5&AI<R!S8W)I<'0@<VEM
M<&QY('-E=',@=&AE(%-%4E9%4E].04U%"B,@=F%R:6%B;&4@86YD('-T87)T
M<R!S97)V97(N"B,@"B,@5&\@8W)E871E('EO=7(@;W=N('-T87)T('-C<FEP
M="!F;W(@>6]U<B!D;VUA:6XL(&%L;"!Y;W4@;F5E9"!T;R!S970@:7,*(R!3
M15)615)?3D%-12P@=&A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"BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ
M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*@H*)'M*059!7TA/345]+V)I;B]J879A
M("1[2D%605]637T@)'M-14U?05)'4WT@)'M*059!7T]05$E/3E-]("U$=V5B
M;&]G:6,N3F%M93TD>U-%4E9%4E].04U%?2`M1'=E8FQO9VEC+E!R;V1U8W1I
M;VY-;V1E16YA8FQE9#TD>U!23T150U1)3TY?34]$17T@+41J879A+G-E8W5R
M:71Y+G!O;&EC>3TB)'M73%](3TU%?2]S97)V97(O;&EB+W=E8FQO9VEC+G!O
M;&EC>2(@=V5B;&]G:6,N4V5R=F5R"D5/1@H*)'M*059!7TA/345]+V)I;B]J
M879A("1[2D%605]637T@)'M-14U?05)'4WT@)'M*059!7T]05$E/3E-]("U$
M=V5B;&]G:6,N3F%M93TD>U-%4E9%4E].04U%?2`M1'=E8FQO9VEC+E!R;V1U
M8W1I;VY-;V1E16YA8FQE9#TD>U!23T150U1)3TY?34]$17T@+41J879A+G-E
M8W5R:71Y+G!O;&EC>3TB)'M73%](3TU%?2]S97)V97(O;&EB+W=E8FQO9VEC
:+G!O;&EC>2(@=V5B;&]G:6,N4V5R=F5R"@IS
`
end
SHAR_EOF
(set 20 06 05 16 03 34 52 'startWebLogic.sh'; eval "$shar_touch") &&
chmod 0755 'startWebLogic.sh'
if test $? -ne 0
then ${echo} 'restore of startWebLogic.sh failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'startWebLogic.sh: MD5 check failed'
) << SHAR_EOF
3976d5fc8275f3589915d4a03d4ec65a startWebLogic.sh
SHAR_EOF
else
test `LC_ALL=C wc -c < 'startWebLogic.sh'` -ne 3446 && \
${echo} 'restoration warning: size of startWebLogic.sh is not 3446'
fi
fi
# ============= weblogic.properties ==============
if test -f 'weblogic.properties' && test "$first_param" != -c; then
${echo} 'x -SKIPPING weblogic.properties (file already exists)'
else
${echo} 'x - extracting weblogic.properties (text)'
sed 's/^X//' << 'SHAR_EOF' > 'weblogic.properties' &&
export SERVER_NAME=ServerManager
export JAVA_HOME=/usr/local/bea/jdk142_08
export JAKARTA_COMMONS_LOGGER=org.apache.commons.logging.impl.Log4JLogger
export JAVA_VM=-server
#
# Debug settings: Note, these settings only affect the
# Admin SEver (see SERVER_NAME above, so it's pretty
# unlikely that you'd want to set debug options here.
# They're provided as an example, e.g., for use within
# managed server JVM properties
#
#export DEBUG_REMOTE_PORT=8882
#export DEBUG_TRANSPORT=-Xrunjdwp:transport=dt_socket,server=y,address=${DEBUG_PORT},suspend=n
#export DEBUG_AGENT=-Xnoagent
#export DEBUG_REMOTE_SETTINGS="-Xdebug ${DEBUG_AGENT} -Djava.compiler=NONE ${DEBUG_TRANSPORT}"
X
SHAR_EOF
(set 20 06 05 16 03 34 56 'weblogic.properties'; eval "$shar_touch") &&
chmod 0644 'weblogic.properties'
if test $? -ne 0
then ${echo} 'restore of weblogic.properties failed'
fi
if ${md5check}
then (
${MD5SUM} -c >/dev/null 2>&1 || ${echo} 'weblogic.properties: MD5 check failed'
) << SHAR_EOF
46cdea2720effd627f39b64d1ed15b18 weblogic.properties
SHAR_EOF
else
test `LC_ALL=C wc -c < 'weblogic.properties'` -ne 677 && \
${echo} 'restoration warning: size of weblogic.properties is not 677'
fi
fi
if rm -fr ${lock_dir}
then ${echo} 'x - removed lock directory `'${lock_dir}\''.'
else ${echo} 'x - failed to remove lock directory `'${lock_dir}\''.'
exit 1
fi
exit 0
-->%-- -->%-- -->%-- -->%-- END STARTUP SCRIPTS -->%-- -->%-- -->%-- -->%--