Lajos Moczar wrote:
> 
> Good evening:
> 
> I have been trying for a few weeks to get Jonas (2-2-4) with Tomcat
> (3.2.1 - no Apache involved) on Window 98. I have created and
> successfully deployed one bean which has a single method. When I run
> jndinames or listbeans in JonasAdmin I can see the bean sitting there. I
> also created a simple servlet to access the bean and call the one
> method.
> 
> I had to make a few modifications to tomcat.bat so it would work. I
> added the following params to the startup command for tomcat:
> -Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory
> -Djava.naming.provider.url=rmi://localhost:1099
> -Djava.naming.factory.url.pkgs=org.objectweb.jonas.naming
> 
> Then I had to make sure that the class files for my EJB where in the
> CLASSPATH used when started Tomcat.
> 
> When I access my servlet, it returns one error message (see below). When
> I access it any time thereafter, it returns a different error message
> about PortableRemoteObject not being found (also see below). But
> j2ee.jar, which contains that class, is in the classpath for Tomcat,
> rmiregisty and EJBServer. Any ideas? Pointers?
> 
> Thanks in advance ...
> 
> Lajos
> 
you must use the PortableRemoteObject implementation that is in the
jonas.jar
instead of this one that is in the j2ee.jar.
This may be the problem,

regards,

-- 
        Philippe

Philippe Coq  Evidian   Phone: (33) 04 76 29 78 49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to