jlaskowski 2004/07/08 08:07:10
Modified: modules/webadmin/src/webapp ejbclasses.html ejbref.html
enc-help.html howitworks.html index.jsp
invokeobj.jsp re-help.html testejb.jsp testhome.jsp
testint.jsp testsuite.jsp viewclass.jsp viewejb.jsp
viewjndi.jsp
Log:
change links to index.jsp once index.html renamed to it
Revision Changes Path
1.3 +1 -1 openejb1/modules/webadmin/src/webapp/ejbclasses.html
Index: ejbclasses.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/ejbclasses.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ejbclasses.html 8 Jul 2004 11:55:26 -0000 1.2
+++ ejbclasses.html 8 Jul 2004 12:07:09 -0000 1.3
@@ -16,7 +16,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.3 +1 -1 openejb1/modules/webadmin/src/webapp/ejbref.html
Index: ejbref.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/ejbref.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ejbref.html 8 Jul 2004 11:55:26 -0000 1.2
+++ ejbref.html 8 Jul 2004 12:07:09 -0000 1.3
@@ -16,7 +16,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.3 +1 -1 openejb1/modules/webadmin/src/webapp/enc-help.html
Index: enc-help.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/enc-help.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- enc-help.html 8 Jul 2004 11:55:26 -0000 1.2
+++ enc-help.html 8 Jul 2004 12:07:09 -0000 1.3
@@ -16,7 +16,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.3 +1 -1 openejb1/modules/webadmin/src/webapp/howitworks.html
Index: howitworks.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/howitworks.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- howitworks.html 8 Jul 2004 11:55:26 -0000 1.2
+++ howitworks.html 8 Jul 2004 12:07:09 -0000 1.3
@@ -16,7 +16,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="500"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="500"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.3 +2 -2 openejb1/modules/webadmin/src/webapp/index.jsp
Index: index.jsp
===================================================================
RCS file: /home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/index.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.jsp 8 Jul 2004 11:55:26 -0000 1.2
+++ index.jsp 8 Jul 2004 12:07:09 -0000 1.3
@@ -18,7 +18,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.3 +2 -2 openejb1/modules/webadmin/src/webapp/invokeobj.jsp
Index: invokeobj.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/invokeobj.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- invokeobj.jsp 8 Jul 2004 11:55:26 -0000 1.2
+++ invokeobj.jsp 8 Jul 2004 12:07:09 -0000 1.3
@@ -38,7 +38,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.2 +93 -93 openejb1/modules/webadmin/src/webapp/re-help.html
Index: re-help.html
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/re-help.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- re-help.html 25 May 2004 21:28:02 -0000 1.1
+++ re-help.html 8 Jul 2004 12:07:09 -0000 1.2
@@ -1,93 +1,93 @@
-<html>
-<head>
- <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>OpenEJB Tomcat Integration/1.0</title>
- <link href="default.css" rel="stylesheet">
-</head>
- <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
- <a name="top"></a>
- <table width="712" cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
- <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
- <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
- </tr>
- <tr>
- <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
- <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
- <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
- <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
- <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
- </tr>
- <tr>
- <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
- <td align="left" valign="top" width="40"> </td>
- <td valign="top" width="430" rowspan="4">
- <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
- <tr>
- <td align="left" valign="top"><br>
- <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
- <span class="pageTitle">
- OpenEJB and EJB Help
- </span>
- <br>
- <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
- </tr>
- </table>
- <p>
-<font size='2'>
- The java.rmi.RemoteException is thrown whenever something unexcpected
happens while invoking the requested method
- on your enterprise bean instance. Usually, these are runtime
exceptions that your bean didn't catch,
- java.lang.NullPointerException being the most common.<BR><BR>
- The java.rmi.RemoteException itself is just a wrapper for the real
exception. It may have a useful message
- associated with it, but it's stack trace is usually worthless to you.
To get the most useful output from a
- RemoteException, use the error handling code bellow.<BR><BR>
-</FONT>
-<PRE>
-try {
- myEjb.businessMethod();
-} catch (java.rmi.RemoteException re){
- System.out.println(re.getMessage());
- Throwable realException = re.detail;
- realException.printStackTrace();
-}
-</PRE>
-<font size='2'>
- Sometimes, the exception nested inside the java.rmi.RemoteException
caught is actually another
- java.rmi.RemoteException. A clever strategy to unwrap all the nested
RemoteExceptions is to
- cycle through them in a while loop as follows. This is the approach
the OpenEJB Object Invoker
- takes, so if you like the error messages you see here, just copy the
this code:
-
-</FONT>
-<PRE>
-try {
- myEjb.businessMethod();
-} catch (java.rmi.RemoteException re){
- System.out.println(re.getMessage());
- Throwable t = re;
- while (t instanceof java.rmi.RemoteException) {
- t = ((java.rmi.RemoteException)t).detail;
- }
- t.printStackTrace();
-}
-</PRE>
-</P>
-
- </td>
- <td align="left" valign="top" height="5" width="120">
-
-
- </td>
- </tr>
- </table>
- </body>
-</html>
-
+<html>
+<head>
+ <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <title>OpenEJB Tomcat Integration/1.0</title>
+ <link href="default.css" rel="stylesheet">
+</head>
+ <body marginwidth="0" marginheight="0" leftmargin="0" bottommargin="0"
topmargin="0" vlink="#6763a9" link="#6763a9" bgcolor="#ffffff">
+ <a name="top"></a>
+ <table width="712" cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="7"><img
height="9" width="1" border="0" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" width="40"><img
border="0" height="6" width="40" src="images/dotTrans.gif"></td>
+ <td bgcolor="#5A5CB8" align="left" valign="top" height="2"
width="430"><img border="0" height="6" width="430" src="images/top_2.gif"></td>
+ <td bgcolor="#E24717" align="left" valign="top" height="2"
width="120"><img src="images/top_3.gif" width="120" height="6" border="0"></td>
+ </tr>
+ <tr>
+ <td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"><img
border="0" height="3" width="7" src="images/line_sm.gif"></td>
+ <td align="left" valign="top" height="3" width="40"><img border="0"
height="3" width="40" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="430"><img border="0"
height="3" width="430" src="images/line_light.gif"></td>
+ <td align="left" valign="top" height="3" width="120"><img height="1"
width="1" border="0" src="images/dotTrans.gif"></td>
+ </tr>
+ <tr>
+ <td align="left" valign="top" bgcolor="#a9a5de" width="7"> </td>
+ <td align="left" valign="top" width="40"> </td>
+ <td valign="top" width="430" rowspan="4">
+ <table width="430" cellspacing="0" cellpadding="0" border="0"
rows="2" cols="1">
+ <tr>
+ <td align="left" valign="top"><br>
+ <img width="200" vspace="0"
src="./images/logo_ejb2.gif" hspace="0" height="55" border="0">
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="7"
border="0"><br>
+ <span class="pageTitle">
+ OpenEJB and EJB Help
+ </span>
+ <br>
+ <img src="images/dotTrans.gif" hspace="0" height="1"
border="0"></td>
+ </tr>
+ </table>
+ <p>
+<font size='2'>
+ The java.rmi.RemoteException is thrown whenever something unexcpected
happens while invoking the requested method
+ on your enterprise bean instance. Usually, these are runtime
exceptions that your bean didn't catch,
+ java.lang.NullPointerException being the most common.<BR><BR>
+ The java.rmi.RemoteException itself is just a wrapper for the real
exception. It may have a useful message
+ associated with it, but it's stack trace is usually worthless to you.
To get the most useful output from a
+ RemoteException, use the error handling code bellow.<BR><BR>
+</FONT>
+<PRE>
+try {
+ myEjb.businessMethod();
+} catch (java.rmi.RemoteException re){
+ System.out.println(re.getMessage());
+ Throwable realException = re.detail;
+ realException.printStackTrace();
+}
+</PRE>
+<font size='2'>
+ Sometimes, the exception nested inside the java.rmi.RemoteException
caught is actually another
+ java.rmi.RemoteException. A clever strategy to unwrap all the nested
RemoteExceptions is to
+ cycle through them in a while loop as follows. This is the approach
the OpenEJB Object Invoker
+ takes, so if you like the error messages you see here, just copy the
this code:
+
+</FONT>
+<PRE>
+try {
+ myEjb.businessMethod();
+} catch (java.rmi.RemoteException re){
+ System.out.println(re.getMessage());
+ Throwable t = re;
+ while (t instanceof java.rmi.RemoteException) {
+ t = ((java.rmi.RemoteException)t).detail;
+ }
+ t.printStackTrace();
+}
+</PRE>
+</P>
+
+ </td>
+ <td align="left" valign="top" height="5" width="120">
+
+
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+
1.3 +2 -2 openejb1/modules/webadmin/src/webapp/testejb.jsp
Index: testejb.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/testejb.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testejb.jsp 7 Jul 2004 23:29:36 -0000 1.2
+++ testejb.jsp 8 Jul 2004 12:07:09 -0000 1.3
@@ -38,7 +38,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="530"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.3 +2 -2 openejb1/modules/webadmin/src/webapp/testhome.jsp
Index: testhome.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/testhome.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testhome.jsp 7 Jul 2004 23:29:36 -0000 1.2
+++ testhome.jsp 8 Jul 2004 12:07:09 -0000 1.3
@@ -39,7 +39,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="530"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.3 +2 -2 openejb1/modules/webadmin/src/webapp/testint.jsp
Index: testint.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/testint.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- testint.jsp 7 Jul 2004 23:29:36 -0000 1.2
+++ testint.jsp 8 Jul 2004 12:07:09 -0000 1.3
@@ -38,7 +38,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="530"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.2 +2 -2 openejb1/modules/webadmin/src/webapp/testsuite.jsp
Index: testsuite.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/testsuite.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- testsuite.jsp 25 May 2004 21:28:02 -0000 1.1
+++ testsuite.jsp 8 Jul 2004 12:07:09 -0000 1.2
@@ -40,7 +40,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="530"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.2 +2 -2 openejb1/modules/webadmin/src/webapp/viewclass.jsp
Index: viewclass.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/viewclass.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- viewclass.jsp 25 May 2004 21:28:02 -0000 1.1
+++ viewclass.jsp 8 Jul 2004 12:07:09 -0000 1.2
@@ -35,7 +35,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="530"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="530"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.2 +2 -2 openejb1/modules/webadmin/src/webapp/viewejb.jsp
Index: viewejb.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/viewejb.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- viewejb.jsp 25 May 2004 21:28:02 -0000 1.1
+++ viewejb.jsp 8 Jul 2004 12:07:09 -0000 1.2
@@ -39,7 +39,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>
1.2 +1 -1 openejb1/modules/webadmin/src/webapp/viewjndi.jsp
Index: viewjndi.jsp
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/webadmin/src/webapp/viewjndi.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- viewjndi.jsp 25 May 2004 21:28:02 -0000 1.1
+++ viewjndi.jsp 8 Jul 2004 12:07:09 -0000 1.2
@@ -32,7 +32,7 @@
<tr>
<td bgcolor="#5A5CB8" align="left" valign="top" bgcolor="#ffffff"
width="13"><img border="0" height="15" width="13" src="images/dotTrans.gif"></td>
<td align="left" valign="top" width="40"><img border="0" height="1"
width="1" src="images/dotTrans.gif"></td>
- <td align="left" valign="middle" width="430"><a
href="http://openejb.sourceforge.net"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.html"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
+ <td align="left" valign="middle" width="430"><a
href="http://www.openejb.org"><span class="menuTopOff">OpenEJB</span></a><img
border="0" height="2" width="20" src="images/dotTrans.gif"><a href="index.jsp"><span
class="menuTopOff">Index</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewjndi.jsp"><span
class="menuTopOff">JNDI</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewejb.jsp"><span
class="menuTopOff">EJB</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="viewclass.jsp"><span
class="menuTopOff">Class</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"><a href="invokeobj.jsp"><span
class="menuTopOff">Invoke</span></a><img border="0" height="2" width="20"
src="images/dotTrans.gif"></td>
<td align="left" valign="top" height="20" width="120"><img border="0"
height="2" width="10" src="images/dotTrans.gif"></td>
</tr>
<tr>