Re: At wits end with jboss-struts new build system!

maxxam-cuDQgYkrLFxfAa1EqD/[email protected] Thu, 5 Aug 2004 12:43:06 +0200 (SAST)
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
Hi Mike,

I've found an additional problem in the new build system for jboss-struts:

The ejb-jar.xml and jboss.xml configuration files are not created in the
build process. I copied them into my deployment manually, but the keel
server still does not start. I've got a breakpoint in the ejbCreate()
funtion in comm-jbossmq KeelServerBean class but it is never called.

Can you direct me to where/how this ejb is instantiated.

Thanks,
Max

PS: My below message may have been swallowed by the mail list server.




Mike,

So far I've found the following errors in the build process (the example
app still does not run though - it hangs on loading the navigate page):

1) Location of server directory is wrong. The build process creates the
server directory in example-projects\jboss-struts\server instead of
example-projects\jboss-struts\webapps\keel\server.

2) The web.xml file fails on deploy because the following section appears
at the end of the file instead of the beginning:

  <context-param>
       <param-name>jms-client</param-name>
       <param-value>org.keel.comm.jbossmq.clients.KeelJmsClientJbossMQ</param-value>
  </context-param>

3) The following section does not exist in the new buidl system web.xml.
I'm not sure if it is no longer required. I've tried to copy it from my
old Keel 2.0 web.xml but it generates errors on deploy.

  <resource-ref>
  	<description>JMS Queue For Keel Requests</description>
  	<res-ref-name>jms/Requests</res-ref-name>
  	<res-type>javax.jms.Queue</res-type>
  	<res-auth>Container</res-auth>
  </resource-ref>

 <resource-ref>
  	<description>JMS Queue Factory</description>
  	<res-ref-name>jms/QueueFactory</res-ref-name>
  	<res-type>javax.jms.QueueConnectionFactory</res-type>
  	<res-auth>Container</res-auth>
  </resource-ref>

Hope this helps.
Max