0 Replies Latest reply on Dec 19, 2004 4:25 PM by kenroberts

    HttpInvoker setup.

    kenroberts

      Hi all.

      I've been using JBoss for a while, but I'm having what I think is a beginner issue. If someone could point out what I'm doing wrong, or where in the pay documentation to find it, I'm at a complete loss. How to figure out if it's working would also be good.

      I'm trying to run the RMI invocations through the HttpInvoker. I'm experimenting on JBoss 3.2.5 because that's what most of our customers are using. I'm interested in getting this to work on everything 3.0.6 and later, since our customer base operates in those ranges. If, however, an older solution must be sacrificed then it will be an upgrade point.

      In the default ("all") configuration in 3.2.5, the log shows some HttpInvokers starting up. At that point, I figured all I needed to do is specify in my jboss.xml file to use http. The app works, but I can't tell if it's going through http or not. There's nothing in the log saying which invoker except this line:
      2004-12-19 15:19:32,010 DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] No persistence-manager descriptor found, null persistence will be used

      Somehow I don't think that has anything to do with it.

      Here's my jboss.xml:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN" "http://www.jboss.org/j2ee/dtd/jboss.dtd">



      <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>

      <enterprise-beans>

      <ejb-name>HelloBean</ejb-name>
      <jndi-name>ejb/HelloBean-@version@</jndi-name>

      </enterprise-beans>

      <resource-managers>
      </resource-managers>