jon         01/05/11 14:45:18

  Added:       docs     jboss-tdk.html
               xdocs    jboss-tdk.xml
  Log:
  added new files
  
  Revision  Changes    Path
  1.1                  jakarta-turbine/docs/jboss-tdk.html
  
  Index: jboss-tdk.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
  
  <!-- Content Stylesheet for Site -->
  
          
  <!-- start the processing -->
      <!-- ====================================================================== -->
      <!-- Main Page Section -->
      <!-- ====================================================================== -->
      <html>
          <head>
              <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  
                                                      <meta name="author" value="John 
Menke">
              <meta name="email" value="[EMAIL PROTECTED]">
              
              <title>Turbine - JBoss + TDK + Catalina</title>
          </head>
  
          <body bgcolor="#ffffff" text="#000000" link="#525D76">        
              <table border="0" width="100%" cellspacing="0">
                  <!-- TOP IMAGE -->
                  <tr>
                      <td align="left">
  <a href="http://jakarta.apache.org";><img 
src="http://jakarta.apache.org/images/jakarta-logo.gif"; border="0"/></a>
  </td>
  <td align="right">
  <a href="http://jakarta.apache.org/turbine/";><img src="./images/logo.gif" 
alt="Turbine" border="0"/></a>
  </td>
                  </tr>
              </table>
              <table border="0" width="100%" cellspacing="4">
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  
                  <tr>
                      <!-- LEFT SIDE NAVIGATION -->
                      <td valign="top" nowrap="true">
                                  <p><strong>Essentials</strong></p>
          <ul>
                      <li>    <a href="./index.html">Overview</a>
  </li>
                      <li>    <a href="./features.html">Features</a>
  </li>
                      <li>    <a href="./fsd.html">Specification</a>
  </li>
                      <li>    <a href="./project-map.html">Project map</a>
  </li>
                      <li>    <a href="./install.html">Installation</a>
  </li>
                      <li>    <a href="./getting-started.html">Getting Started</a>
  </li>
                      <li>    <a href="./changes.html">Changes</a>
  </li>
                      <li>    <a href="./other-docs.html">Misc Documentation</a>
  </li>
                  </ul>
              <p><strong>Models</strong></p>
          <ul>
                      <li>    <a href="./pullmodel.html">Pull MVC Model</a>
  </li>
                      <li>    <a href="./model2+1.html">Model 2+1</a>
  </li>
                      <li>    <a href="./j2ee-integration.html">J2EE Integration</a>
  </li>
                  </ul>
              <p><strong>Get Involved</strong></p>
          <ul>
                      <li>    <a href="./turbine-documentation-project.html">Turbine 
Documentation</a>
  </li>
                      <li>    <a href="./code-standards.html">Coding Spec</a>
  </li>
                      <li>    <a href="./deprecation.html">Deprecation Rules</a>
  </li>
                      <li>    <a href="./contributors.html">Contributors</a>
  </li>
                      <li>    <a href="./branches.html">CVS Branches</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/cvsindex.html";>CVS Repos</a>
  </li>
                      <li>    <a href="./faq.html">FAQ</a>
  </li>
                      <li>    <a href="./license.html">License</a>
  </li>
                      <li>    <a 
href="http://jakarta.apache.org/site/mail.html";>Mailing Lists</a>
  </li>
                      <li>    <a href="./powered.html">Powered by Turbine</a>
  </li>
                      <li>    <a href="./todo.html">Todo</a>
  </li>
                      <li>    <a href="./active-developers.html">Active Developers</a>
  </li>
                      <li>    <a href="./proposals.html">Proposals</a>
  </li>
                  </ul>
              <p><strong>Documentation</strong></p>
          <ul>
                      <li>    <a href="./action-event.html">Action Events</a>
  </li>
                      <li>    <a href="./services.html">Services</a>
  </li>
                      <li>    <a href="./security.html">Turbine and Security</a>
  </li>
                      <li>    <a href="./python.html">Turbine and Python</a>
  </li>
                      <li>    <a href="./jsp-configuration.html">Turbine and JSP</a>
  </li>
                      <li>    <a href="./velocity-site.html">Turbine and Velocity</a>
  </li>
                      <li>    <a href="./context-howto.html">Velocity Context</a>
  </li>
                      <li>    <a href="./webmacro-site.html">Turbine and Webmacro</a>
  </li>
                  </ul>
              <p><strong>Database</strong></p>
          <ul>
                      <li>    <a href="./peers.html">Peers</a>
  </li>
                      <li>    <a href="./advpeers.html">Advanced Peers</a>
  </li>
                      <li>    <a href="./classhierarchy.html">Class Hierarchy</a>
  </li>
                      <li>    <a href="./advcriteria.html">Advanced Criteria</a>
  </li>
                      <li>    <a href="./torque.html">Torque</a>
  </li>
                      <li>    <a href="./turbine-schema.html">Core Schema</a>
  </li>
                      <li>    <a href="./db-adapters.html">DB Adapters</a>
  </li>
                      <li>    <a href="./postgres-howto.html">Postgres Howto</a>
  </li>
                      <li>    <a href="./oracle-howto.html">Oracle 8i Howto</a>
  </li>
                      <li>    <a href="./sybase-howto.html">Sybase Howto</a>
  </li>
                  </ul>
              <p><strong>TDK</strong></p>
          <ul>
                      <li>    <a href="./getting-started-tdk.html">TDK Getting 
Started</a>
  </li>
                      <li>    <a href="./jboss-tdk.html">TDK and JBoss</a>
  </li>
                  </ul>
                          </td>
                      <td align="left" valign="top">
                                                                      <table 
border="0" cellspacing="0" cellpadding="2" width="100%">
        <tr><td bgcolor="#525D76">
          <font color="#ffffff" face="arial,helvetica,sanserif">
            <a name="3 Steps to get the Catalina included with TDK to work with 
JBoss2.2.1"><strong>3 Steps to get the Catalina included with TDK to work with 
JBoss2.2.1</strong></a>
          </font>
        </td></tr>
        <tr><td>
          <blockquote>
                                      <p>
   By: <a href="mailto:john NOSPAM murphyfutures.com">John Menke</a><br />
   $Id: jboss-tdk.html,v 1.1 2001/05/11 21:45:13 jon Exp $
   </p>
                                                  <p>
      <ol>
      <li>Edit the startup.sh: 
      <p>
      $BASEDIR/catalina.sh run -nonaming "$@"  (-nonaming does not work with start)
      </p>
      </li>
      <li>
      Move all the files from JBOSS_HOME/client directory to the /WEB-INF/lib
      directory.
      </li>
      <li>
      Delete the jndi.jar file (and the jndi-1.2.1.jar) from the /WEB-INF/lib
      directory.
      </li>
      </ol>
    </p>
                                                  <p>
    I probably have extra jars in the WEB-INF/lib at the moment, but IT WORKS!
    </p>
                                                      <div align="left">
      <table cellspacing="4" cellpadding="0" border="0">
      <tr>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#ffffff"><pre>
  WEB-INF/lib
        TestBeanClient.jar
        activation-1.01.jar
        connector.jar
        deploy.jar
        ecs-1.4.1.jar
        ejb.jar
        hsql.jar
        jaas.jar
        jakarta-regexp-1.3-dev.jar
        jboss-client.jar
        jbossmq-client.jar
        jbosssx-client.jar
        jdbc-se2.0.jar
        jdbc2_0-stdext.jar
        jnp-client.jar
        jta-spec1_0_1.jar
        jta1.0.1.jar
        junit-3.2.jar
        log4j-1.0.4.jar
        mail-1.2.jar
        mm.mysql-2.0.4.jar
        postgresql.jar
        stop.jar
        turbine-2.1-dev-unrealeased.jar
        velocity-1.0b2-dev.jar
        village-1.5.1-dev.jar
        xalan-1.2.1.jar
        xerces-1.3.0.jar
        xmlrpc.jar
  </pre></td>
        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      </table>
      </div>
                                                  <p>  
    THIS EXAMPLE JNDI CODE NOW RUNS: (servlet from within TDK)
    </p>
                                                      <div align="left">
      <table cellspacing="4" cellpadding="0" border="0">
      <tr>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#ffffff"><pre>
  try
  {
      // Set up the naming provider. This may not always be necessary,
      // depending on how your Java system is configured.
      System.setProperty(&quot;java.naming.factory.initial&quot;,
        &quot;org.jnp.interfaces.NamingContextFactory&quot;);
      System.setProperty(&quot;java.naming.provider.url&quot;,
        &quot;localhost:1099&quot;);
      // Get a naming context
      InitialContext jndiContext = new InitialContext();
  
      // Get a reference to the Interest Bean
      Object ref = jndiContext.lookup(&quot;interest/Interest&quot;);
  
      // Get a reference from this to the Bean's Home interface
      InterestHome home = (InterestHome)
          PortableRemoteObject.narrow (ref, InterestHome.class);
  
      // Create an Interest object from the Home interface
      m_interest = home.create();
  }
  catch(Exception e)
  {
      out.println(&quot;&lt;LI&gt;Context failed: &quot; + e);
  }  
  </pre></td>
        <td bgcolor="#023264" width="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" height="1"><img src="/images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#023264" width="1" height="1"><img src="/images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      </table>
      </div>
                              </blockquote>
        </td></tr>
      </table>
                                          </td>
                  </tr>
  
                  <!-- FOOTER -->
                  <tr><td colspan="2">
                      <hr noshade="" size="1"/>
                  </td></tr>
                  <tr><td colspan="2">
                      <div align="center"><font color="#525D76" size="-1"><em>
                      Copyright &#169; 1999-2001, Apache Software Foundation
                      </em></font></div>
                  </td></tr>
              </table>
          </body>
      </html>
  <!-- end the processing -->
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  1.1                  jakarta-turbine/xdocs/jboss-tdk.xml
  
  Index: jboss-tdk.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
  
   <properties>
     <title>JBoss + TDK + Catalina</title>
     <author email="[EMAIL PROTECTED]">John Menke</author>
   </properties>
  
   <body>
  
   <section name="3 Steps to get the Catalina included with TDK to work with 
JBoss2.2.1">
   <p>
   By: <a href="mailto:john NOSPAM murphyfutures.com">John Menke</a><br/>
   $Id: jboss-tdk.xml,v 1.1 2001/05/11 21:45:17 jon Exp $
   </p>
  
   <p>
      <ol>
      <li>Edit the startup.sh: 
      <p>
      $BASEDIR/catalina.sh run -nonaming "$@"  (-nonaming does not work with start)
      </p>
      </li>
      <li>
      Move all the files from JBOSS_HOME/client directory to the /WEB-INF/lib
      directory.
      </li>
      <li>
      Delete the jndi.jar file (and the jndi-1.2.1.jar) from the /WEB-INF/lib
      directory.
      </li>
      </ol>
    </p>
    <p>
    I probably have extra jars in the WEB-INF/lib at the moment, but IT WORKS!
    </p>
    
  <source>
  WEB-INF/lib
        TestBeanClient.jar
        activation-1.01.jar
        connector.jar
        deploy.jar
        ecs-1.4.1.jar
        ejb.jar
        hsql.jar
        jaas.jar
        jakarta-regexp-1.3-dev.jar
        jboss-client.jar
        jbossmq-client.jar
        jbosssx-client.jar
        jdbc-se2.0.jar
        jdbc2_0-stdext.jar
        jnp-client.jar
        jta-spec1_0_1.jar
        jta1.0.1.jar
        junit-3.2.jar
        log4j-1.0.4.jar
        mail-1.2.jar
        mm.mysql-2.0.4.jar
        postgresql.jar
        stop.jar
        turbine-2.1-dev-unrealeased.jar
        velocity-1.0b2-dev.jar
        village-1.5.1-dev.jar
        xalan-1.2.1.jar
        xerces-1.3.0.jar
        xmlrpc.jar
  </source>
  
    <p>  
    THIS EXAMPLE JNDI CODE NOW RUNS: (servlet from within TDK)
    </p>
    
  <source><![CDATA[
  try
  {
      // Set up the naming provider. This may not always be necessary,
      // depending on how your Java system is configured.
      System.setProperty("java.naming.factory.initial",
        "org.jnp.interfaces.NamingContextFactory");
      System.setProperty("java.naming.provider.url",
        "localhost:1099");
      // Get a naming context
      InitialContext jndiContext = new InitialContext();
  
      // Get a reference to the Interest Bean
      Object ref = jndiContext.lookup("interest/Interest");
  
      // Get a reference from this to the Bean's Home interface
      InterestHome home = (InterestHome)
          PortableRemoteObject.narrow (ref, InterestHome.class);
  
      // Create an Interest object from the Home interface
      m_interest = home.create();
  }
  catch(Exception e)
  {
      out.println("<LI>Context failed: " + e);
  }  
  ]]></source>
  </section>
  
   </body>
  </document>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to