<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
@font-face
        {font-family:"Courier New CYR";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=RU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Hi all.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>i&#8217;m some new to jboss. I am considering
examples from <a href="http://www.jbossatwork.com/downloads.html">http://www.jbossatwork.com/downloads.html</a>,
with Have jboss-4.0.1. But now stopped on 5<sup>th</sup> example, because of hibernate.
On forum <a
href="http://forum.java.sun.com/thread.jspa?threadID=5198182&amp;start=0">http://forum.java.sun.com/thread.jspa?threadID=5198182&amp;start=0</a>
I got no exact answer unfortunately, but I guess the error comes because of the
JNDI which it cannot find. Say please, what should I try to change to solve my
problem, or how you think what am I doing wrong? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>--------------------------This code is from
jboss-web.xml<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&lt;resource-ref&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-ref-name&gt;hibernate/SessionFactory&lt;/res-ref-name&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;jndi-name&gt;java:/hibernate/SessionFactory&lt;/jndi-name&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp; </span></font><font size=2
face="Courier New CYR"><span style='font-size:10.0pt;font-family:"Courier New CYR"'>&lt;/resource-ref&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>--------------------------and this from web.xml<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&lt;resource-ref&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;res-ref-name&gt;hibernate/SessionFactory&lt;/res-ref-name&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;jndi-name&gt;java:/hibernate/SessionFactory&lt;/jndi-name&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp; </span></font><font size=2
face="Courier New CYR"><span style='font-size:10.0pt;font-family:"Courier New CYR"'>&lt;/resource-ref&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>&#8230;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>-----------------------------</span></font><span
lang=EN-US>MBean service configuration file for Hibernate hibernate-service.xml<o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&lt;server&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp; &lt;mbean
code=&quot;org.jboss.hibernate.jmx.Hibernate&quot; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
name=&quot;jboss.har:service=Hibernate&quot;&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute
name=&quot;DatasourceName&quot;&gt;java:/JBossAtWorkDS&lt;/attribute&gt; <o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute name=&quot;Dialect&quot;&gt;</span></font><font
size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New"'>org</span></font><font size=2 face="Courier New CYR"><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New CYR"'>.hibernate.dialect.HSQLDialect&lt;/attribute&gt;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute
name=&quot;SessionFactoryName&quot;&gt;java:/hibernate/SessionFactory&lt;/attribute&gt;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;attribute
name=&quot;CacheProviderClass&quot;&gt;</span></font><font size=2
face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>org</span></font><font
size=2 face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New CYR"'>.hibernate.cache.HashtableCacheProvider&lt;/attribute&gt;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>&nbsp;&nbsp;&nbsp; </span></font><font size=2
face="Courier New CYR"><span style='font-size:10.0pt;font-family:"Courier New CYR"'>&lt;/mbean&gt;
<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span style='font-size:10.0pt;font-family:"Courier New CYR"'>&lt;/server&gt;
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'>-------------------------------------here
is the Exception message<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>14:14:42,843 INFO&nbsp; [STDOUT]
com.jbossatwork.util.ServiceLocatorException: com.jb<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>ossatwork.util.ServiceLocatorException:
javax.naming.NamingException: Could not<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New CYR"'>dereference object [Root exception is
javax.naming.NameNotFoundException: hibern<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-autospace:none'><font size=2
face="Courier New CYR"><span style='font-size:10.0pt;font-family:"Courier New CYR"'>ate
not bound]<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=gray face="Book Antiqua"><span
lang=EN-US style='font-size:10.0pt;font-family:"Book Antiqua";color:gray'>Thanks
for attention.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=gray face="Book Antiqua"><span
lang=EN-US style='font-size:10.0pt;font-family:"Book Antiqua";color:gray'>lema<o:p></o:p></span></font></p>

</div>

<br>****************************************************************************************<br>
This e-mail and any files transmitted with it are confidential and<br>
intended solely for the use of the individual or entity to whom they are<br>
addressed. If you are not the intended recipient you are hereby notified<br>
that any dissemination, forwarding, copying or use of any of the<br>
information is strictly prohibited, and the e-mail should immediately be<br>
deleted.<br>
KCELL makes no warranty as to the accuracy or completeness of any<br>
information contained in this message and hereby excludes any liability<br>
of any kind for the information contained therein or for the information<br>
transmission, reception, storage or use of such in any way<br>
whatsoever.The opinions expressed in this message belong to sender alone<br>
and may not necessarily reflect the opinions of KCELL.<br>
This e-mail has been scanned for all known computer viruses.<br>
****************************************************************************************<br>
---MAGIC-KEY-01C39F93.6D81728E---</body>

</html>