-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathweblogic.html
80 lines (68 loc) · 2.47 KB
/
weblogic.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>BeanShell - BeanShell with Weblogic</title>
<LINK REL="SHORTCUT ICON" HREF="http://www.beanshell.org/favicon.ico">
</head>
<body>
<aside>
<nav>
<ul class="menu">
<li><a href="home.html">Home</a>
</li>
<li><a href="intro.html">Intro</a>
</li>
<li> <a href="docs.html">Docs</a>
</li>
<li> <a href="download.html">Download</a>
</li>
<li> <a href="contact.html">Contact</a>
</li>
<li> <a href="https://github.com./beanshell/beanshell/wiki">
Community Wiki</a>
</li>
<li> <a href="developer.html">Developer</a>
</li>
<li> <a href="license.html">License</a>
</li>
<li> <a href="beany.html">Beany</a>
</li>
<li> <a href="http://www.amazon.com/exec/obidos/ASIN/0596002858">
<img alt="Learning Java" src="images/lj2.png" width="100"> <br>
<span class="small"> Check out my book:<br>
Learning Java,<br>
O'Reilly & Associates </span>
</a>
</li>
</ul>
</nav>
</aside>
<article>
<title>BeanShell with Weblogic</title>
<section>
<h1>Upgrading BeanShell in Weblogic 6.x</h1>
<p>Weblogic's app server 6.1+ comes bundled with version 1.01 of BeanShell.
This causes two problems - first, it is seriously out of date and second it interferes with the ability
to use BeanShell in your own apps.</p>
<a>If you wish to upgrade your Weblogic 6.1 to use the latest BeanShell and use it in your apps,
grab a newer version of BeanShell (at least bsh-1.2b4.jar or greater) and place it in the server
classpath prior to the weblogic.jar file. Note that including a newer BeanShell JAR inside your WAR or
EAR file will not work,
as the classpath gives priority to the system classpath.
On a Unix system you can do this in the <em>startWeblogic.sh</em> command under the appropriate domain
directory.</p>
For example, in the default configuration the file would be:
<pre>
<p><em>[weblogic home]</em>/wlserver6.1/config/mydomain/startWeblogic.sh</p>
</pre>
<p>You can add the JAR to the path like this:</p>
<pre>
BSH=/home/niemeyp/lib/bsh-1.2b4.jar
#CLASSPATH=$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/weblogic.jar
CLASSPATH=$BSH:$WL_HOME:$WL_HOME/lib/weblogic_sp.jar:$WL_HOME/lib/weblogic.jar
</pre>
</section>
</article>
</body>
</html>