blob: f58dc8dee9f801690bba86ae35586871a0e641fb [file] [log] [blame]
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 2.0.0 from src/site/xdoc/howto/jboss-howto.xml at 10 Sep 2025
| Rendered using Apache Maven Fluido Skin 2.1.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="generator" content="Apache Maven Doxia Site Renderer 2.0.0" />
<title>JBoss Howto – Apache Turbine</title>
<link rel="stylesheet" href="../css/apache-maven-fluido-2.1.0.min.css" />
<link rel="stylesheet" href="../css/site.css" />
<link rel="stylesheet" href="../css/print.css" media="print" />
<script src="../js/apache-maven-fluido-2.1.0.min.js"></script>
<link rel="icon" type="image/png" sizes="48x48" href="https://apache.org/favicons/favicon.ico">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<style>.github-fork-ribbon:before { background-color: orange; }</style>
</head>
<body>
<a class="github-fork-ribbon right-top" href="https://github.com/apache/turbine-build" data-ribbon="Fork me on GitHub">Fork me on GitHub</a>
<div class="container-fluid container-fluid-top">
<header>
<div id="banner">
<div class="pull-left"><div id="bannerLeft"><h1><a href="https://turbine.apache.org/"><img src="https://www.apache.org/img/feather_glyph_notm.png" style="width: 50px;" /> The Apache Turbine project</a></h1></div></div>
<div class="pull-right"><div id="bannerRight"><h1><a href="https://turbine.apache.org/"><img src="https://turbine.apache.org/images/logo.gif" alt="Apache Turbine" /></a></h1></div></div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate">Last Published: 01 Apr 2025<span class="divider">|</span>
</li>
<li id="projectVersion">Version: 7.1-SNAPSHOT</li>
<li class="pull-right"><span class="divider">|</span>
<a href="https://turbine.apache.org/fulcrum/">Fulcrum</a></li>
<li class="pull-right"><span class="divider">|</span>
<a href="https://turbine.apache.org/">Turbine</a></li>
<li class="pull-right"><a href="https://www.apache.org">Apache</a></li>
</ul>
</div>
</header>
<div class="row-fluid">
<header id="leftColumn" class="span2">
<nav class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">General Information</li>
<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="../getting-started.html">Getting Started</a></li>
<li><a href="../how-to-build.html">Howto Build Turbine</a></li>
<li><a href="../changes-report.html">Changes</a></li>
<li class="nav-header">Documentation</li>
<li><a href="../services/index.html"><span class="icon-chevron-right"></span>Services</a></li>
<li><a href="../howto/index.html"><span class="icon-chevron-right"></span>Howtos</a></li>
<li><a href="https://cwiki.apache.org/confluence/display/TURBINE">Wiki</a></li>
<li><a href="../apidocs/index.html">JavaDocs</a></li>
<li class="nav-header">Development</li>
<li><a href="../proposals.html">Proposals</a></li>
<li><a href="../how-to-help.html">How To Help</a></li>
<li><a href="../todo.html">Todo</a></li>
<li class="nav-header">Project Documentation</li>
<li><a href="../project-info.html"><span class="icon-chevron-right"></span>Project Information</a></li>
<li><a href="../project-reports.html"><span class="icon-chevron-right"></span>Project Reports</a></li>
<li class="nav-header">Apache</li>
<li><a href="https://www.apache.org/">Apache Website</a></li>
<li><a href="https://www.apache.org/licenses/">License</a></li>
<li><a href="https://www.apache.org/foundation/how-it-works.html">How the ASF works</a></li>
<li><a href="https://www.apache.org/foundation/sponsorship.html">Sponsorship</a></li>
<li><a href="https://www.apache.org/foundation/thanks.html">Thanks</a></li>
<li><a href="https://www.apache.org/security/">Security</a></li>
</ul>
</nav>
<div class="well sidebar-nav">
<form id="search-form" action="https://www.google.com/search" method="get" >
<input value="http://turbine.apache.org/turbine/turbine-7-0" name="sitesearch" type="hidden" />
<input class="search-query" name="q" id="query" type="text" placeholder="Search with Google..." />
</form>
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<a href="https://maven.apache.org/" class="builtBy" target="_blank"><img class="builtBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /></a>
</div>
</div>
</header>
<main id="bodyColumn" class="span10">
<section><a id="a3_Steps_to_get_the_Catalina_included_with_TDK_to_work_with_JBoss2.2.1"></a>
<h1>3 Steps to get the Catalina included with TDK to work with JBoss2.2.1</h1>
<p>
Comment 2006-06-20: This is so unbelievably old (we no longer produce the TDK
and JBoss is now at version 4.0.x).
</p>
<p>
By: <a href="mailto:john NOSPAM murphyfutures.com" class="externalLink">John Menke</a><br />
</p>
<p>
</p>
<ol style="list-style-type: decimal;">
<li>Edit the startup.sh:
<p>
$BASEDIR/catalina.sh run -nonaming &quot;$@&quot; (-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>
I probably have extra jars in the WEB-INF/lib at the moment, but IT WORKS!
</p>
<pre class="prettyprint"><code>
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
</code></pre>
<p>
THIS EXAMPLE JNDI CODE NOW RUNS: (servlet from within TDK)
</p>
<pre class="prettyprint"><code>
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);
}
</code></pre>
</section>
</main>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p>© 2000–2025
<a href="https://www.apache.org/">The Apache Software Foundation</a>
</p>
</div>
</div>
</footer>
</body>
</html>