[JBoss-user] [Beginners Corner] - Re: Rank beginner trying to get anything working ...

2004-06-15 Thread sheepdog
"perty" wrote : Object ref = context.lookup("Fibo"); did.TriedTestSessionHome lHome = 
(TestSessionHome) lContext.lookup( "ejb/test/TestSession" );andTestSessionHome lHome = 
(TestSessionHome) lContext.lookup( "java:ejb/test/TestSession" );andTestSessionHome 
lHome = (TestSessionHome) lContext.lookup( "TestSession" );without success.  Same 
error each time, either saying ejb not found or TestSession not found.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838901#3838901

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838901


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Rank beginner trying to get anything working ...

2004-06-13 Thread sheepdog
"pumuckel" wrote : this file must be on the classpath when starting up the client
It was not in the classpath.  Seems strange to put a "properties" file in the 
classpath.  Anyway the standard JBoss template has this file in 2 places, /etc and 
/build/bin.  I put the one in /build/bin into the classpath since that one specified 
the port 1099, and ran the client.  The error was the same, no change.  I'm certain it 
was in the classpath since the classpath is printed out by the client.  Other ideas?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838594#3838594

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838594


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Rank beginner trying to get anything working ...

2004-06-12 Thread sheepdog
I am working through the JBoss 3.0 Quick Start Guide simply attempting to compile and 
run the JBoss provided template application.  After many adjustments it does compile 
without errors.  However, when I run the client I get the 
errorjavax.naming.NameNotFoundException: ejb not boundon the line TestSessionHome 
lHome = (TestSessionHome) lContext.lookup( "ejb/test/TestSession" );The generated 
TestSession seems correct:public interface TestSessionHome
  |extends javax.ejb.EJBHome
  | {
  |public static final String COMP_NAME="java:comp/env/ejb/test/TestSession";
  |public static final String JNDI_NAME="ejb/test/TestSession";
  | 
  |public test.interfaces.TestSession create()
  |   throws javax.ejb.CreateException,java.rmi.RemoteException;
  | 
  | }and here is the jboss-web.xml file:   
  |   ejb/webtest/TestSession
  |   ejb/test/TestSession
  |
  | If I do a  NamingEnumeration ne = lContext.listBindings("");just after 
initializing the context and list out each item I don't see any "ejb" anywhere.

I'm out of ideas and about to try Websphere instead.  Anyone have any suggestions I 
might try first?  Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838576#3838576

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838576


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user