geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Aresti Gonzalez" <kaare...@hotmail.com>
Subject Re: Geronimo and JMS
Date Fri, 29 Apr 2005 16:24:58 GMT
<html><div style='background-color:'><DIV class=RTE>
<P>hi bruce!!</P>
<P>the classptah is now ok! the problem now is that the JNDI does not connect properly
to the resources. </P>
<P>This is the error I get now:</P>
<P><BR>D:\jms&gt;set classpath=c:\gero\repository\openejb\jars\openejb-core-2.0-SNAPSHOT.j<BR>ar;c:\gero\lib\cglib-full-2.0.2.jar;c:\gero\lib\geronimo-kernel-1.0-SNAPSHOT.jar<BR>;c:\gero\repository\geronimo\jars\geronimo-security-1.0-SNAPSHOT.jar;c:\gero\rep<BR>ository\geronimo-spec\jars\geronimo-spec-j2ee-jacc-1.0-rc4.jar;c:\gero\repositor<BR>y\geronimo\jars\geronimo-kernel-1.0-SNAPSHOT.jar;D:\cmp\build\classes;C:\j2sdkee<BR>1.3.1\lib\j2ee.jar;d:\jms;d:\jms\jstl-1.1.1.jar;d:\jms\standard-1.1.1.jar;C:\ger<BR>o\repository\activemq\jars\activemq-core-3.0-SNAPSHOT.jar;C:\gero\repository\act<BR>ivemq\jars\activemq-gbean-3.0-SNAPSHOT.jar;C:\gero\repository\activeio\jars\acti<BR>veio-1.0-SNAPSHOT.jar;d:\jms\concurrent-1.3.4.jar;d:\jms\geronimo-spec-j2ee-1.4-<BR>rc4.jar;d:\jms\commons-logging-1.0.4.jar;c:\gero\repository/activemq/rars/active<BR>mq-ra-1.2-20041105.rar</P>
<P>D:\jms&gt;java EnviaPS<BR>javax.naming.NameNotFoundException: No object
bound for java:comp/env/jms/Connec<BR>tionFactoryLocalTx<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.j<BR>ava:116)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at javax.naming.InitialContext.lookup(InitialContext.java:347)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at EnviaPS.main(EnviaPs.java:16)</P>
<P>D:\jms&gt;pause<BR>Presione una tecla para continuar . . .</P>
<P>I dont know what more i need. thank you!!!</P>
<P>Katia<BR><BR></P></DIV>
<DIV></DIV>&gt;From: Bruce Snyder &lt;bruce.snyder@gmail.com&gt;
<DIV></DIV>&gt;Reply-To: Bruce Snyder &lt;bruce.snyder@gmail.com&gt;
<DIV></DIV>&gt;To: user@geronimo.apache.org
<DIV></DIV>&gt;Subject: Re: Geronimo and JMS
<DIV></DIV>&gt;Date: Fri, 29 Apr 2005 09:32:30 -0600
<DIV></DIV>&gt;
<DIV></DIV>&gt;On 4/29/05, Katia Aresti Gonzalez &lt;kaaresti@hotmail.com&gt;
wrote:
<DIV></DIV>&gt;
<DIV></DIV>&gt; &gt; Im still trying to make this work. I have added to
the classes the following
<DIV></DIV>&gt; &gt; method:
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt;&nbsp;&nbsp;public static Context getInitialContext()
throws
<DIV></DIV>&gt; &gt; javax.naming.NamingException
<DIV></DIV>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; {
<DIV></DIV>&gt; &gt;&nbsp;&nbsp; Properties props = new Properties();
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.activemq.jndi.ActiveMQInitialContextFactory");
<DIV></DIV>&gt; &gt;&nbsp;&nbsp; props.setProperty(Context.PROVIDER_URL,"tcp://hostname:61616");
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt;&nbsp;&nbsp; return new InitialContext(props);
<DIV></DIV>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; }
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; So now i get the initialContext with this. The Error
I get when running is
<DIV></DIV>&gt; &gt; this one:
<DIV></DIV>&gt; &gt;
<DIV></DIV>&gt; &gt; D:\jms&gt;java EnviaPS
<DIV></DIV>&gt; &gt; Exception in thread "main" java.lang.NoClassDefFoundError:
<DIV></DIV>&gt; &gt; EDU/oswego/cs/dl/util
<DIV></DIV>&gt; &gt; /concurrent/ConcurrentHashMap
<DIV></DIV>&gt;
<DIV></DIV>&gt;According to the error above, the oswego concurrent jar is
missing.
<DIV></DIV>&gt;This jar should should already be in the Geronimo repository.
When
<DIV></DIV>&gt;building Geronimo from source, the concurrent jar should be
located
<DIV></DIV>&gt;here:
<DIV></DIV>&gt;
<DIV></DIV>&gt;./modules/assembly/target/geronimo-1.0-SNAPSHOT/repository/concurrent/jars/concurrent-1.3.4.jar
<DIV></DIV>&gt;
<DIV></DIV>&gt;According to the execution of EnviaPS above, the CLASSPATH
is not
<DIV></DIV>&gt;being set there, so it must be set in your environment. What
is
<DIV></DIV>&gt;included in&nbsp;&nbsp;the CLASSPATH?
<DIV></DIV>&gt;
<DIV></DIV>&gt;Bruce
<DIV></DIV>&gt;--
<DIV></DIV>&gt;perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&amp;5R\"F)R=6-E+G-N&gt;61E&lt;D\!G;6%I;\"YC;VT*"
<DIV></DIV>&gt;);'
<DIV></DIV>&gt;
<DIV></DIV>&gt;The Castor Project
<DIV></DIV>&gt;http://www.castor.org/
<DIV></DIV>&gt;
<DIV></DIV>&gt;Apache Geronimo
<DIV></DIV>&gt;http://geronimo.apache.org/
<DIV></DIV></div><br clear=all><hr>Encuentra una aventura, un
romance o al amor de tu vida.  <a href="http://g.msn.com/8HMAESES/2737??PS=47575" target="_top">Date
de alta gratis.</a> </html>


Mime
View raw message