im using the jboss 3.03 / tomcat bundle.  i have no testsuite directory.  Is this a separate download? thanks again.   also, when you say that i need to configure my ejbs to use rmi/http do you mean :

 

    <container-configurations>
            <container-configuration extends="Standard Stateless SessionBean">
            <container-name>HTTP Stateless SessionBean</container-name>
            <home-invoker>jboss:service=invoker,type=http</home-invoker>
            <bean-invoker>jboss:service=invoker,type=http</bean-invoker>
            </container-configuration>
    </container-configurations>

    <session>
      <ejb-name>SaxReportConverterEJB</ejb-name>
      <configuration-name>HTTP Stateless SessionBean</configuration-name>
      <jndi-name>ejb/SaxReportConverterRemoteHome</jndi-name>
      <local-jndi-name>ejb/SaxReportConverterLocalHome</local-jndi-name>
    </session>    

 

because i have that and it doesnt work.

 

>From: "Scott M Stark" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: <[EMAIL PROTECTED]>
>Subject: Re: [JBoss-user] (no subject)
>Date: Wed, 9 Oct 2002 11:32:38 -0700
>
>Yes, all you have enabled is the lookup of JNDI over HTTP. You still need to
>configure your EJBs to use RMI/HTTP. See the testsuite/src/resources/hello
>descriptors for an example.
>
>xxxxxxxxxxxxxxxxxxxxxxxx
>Scott Stark
>Chief Technology Officer
>JBoss Group, LLC
>xxxxxxxxxxxxxxxxxxxxxxxx
>
> ----- Original Message -----
> From: Vincent Wong
> To: [EMAIL PROTECTED]
> Sent: Wednesday, October 09, 2002 11:23 AM
> Subject: [JBoss-user] (no subject)
>
>
>
> Im trying to get a remote client to connect thru a firewall. so far i have the firewall opening port 8080 and forwarding to an internal host.
>
> heres what im doing.
>
> public static Context getHTTPClientInitialContext()
> throws javax.naming.NamingException {
>
> Properties p = new Properties();
> p.put(javax.naming.Context.PROVIDER_URL, "http://www.somesite.com:8080/invoker/JNDIFactory");
> p.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory");
> return new javax.naming.InitialContext(p);
> }
>
>
> try {
> System.out.println("3");
> Context ctx = EJBHelper.getHTTPClientInitialContext();
> Object obj = ctx.lookup("ejb/RemoteHome");
> System.out.println("4");
> RemoteHome sHome =
> (RemoteHome)PortableRemoteObject.narrow(obj, RemoteHome.class);
> System.out.println("5");
>
> RemoteRemote remoteconv = sHome.create(); <--------------freezes here
> System.out.println("6");
> } catch (catch exceptions) .........
>
> The server is running behind a firewall. The firewall opens/forwards port 80 80. Everything is logged up to "6" where it just drops/hangs. Nothing is thrown. no messages. nothing is logged in server.log. stack trace is empty. Am i missing something? Thanks in advance.
>
>
>
>
>------------------------------------------------------------------------------
> Join the world's largest e-mail service with MSN Hotmail. Click Here
> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user


MSN Photos is the easiest way to share and print your photos: Click Here
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to