-
1. Re: SAP Adaptor Deployment Exception
davidjencks Dec 4, 2002 9:47 AM (in response to albupp)I don't see the attachment.... the forums are often flaky about them.
Can you show the exact structure of your .rar file? I suspect the RARDeployer can't find META-INF/ra.xml
thanks -
2. Re: SAP Adaptor Deployment Exception
albupp Dec 4, 2002 3:03 PM (in response to albupp)Greetings David,
Thanks for your reply. I figured the problem out, at least in part. Due to my misunderstanding the way JBoss's config deployment descriptors work, I had simply edited sapr3-service.xml w/ my adapter's specifics, then placed this into the deploy dir.
I'm still not entirely clear on the right way to do deploy a RAR, but trying different things, I eventually pasted the modified mbean element from sapr3-service.xml into jboss-service.xml right before the close of the server element. This approach apparently deploys successfully.
I don't think there's anything wrong w/ the RAR, but to answer your question, here's the output from jar -tf SAPAdapter.rar:
ra.jar
btalk_rt.jar
META-INF/ra.xml
I say the adapter's apparently deployed successfully because although it deploys w/o error, I have yet to actually invoke the adapter. I'm porting a little demo app which I originally created to run on another J2EE app server that makes the invocation from w/in a servlet via an EJB. So now I'm working on figuring out why I get the dreaded "javax.deployment.NamingException: no ejb-link match" when deploying the app.
My existing deployment descriptors put the ejb releated elements into the web.xml file, but from searching the forums on this error I gather that this information's supposed to go into either the ejb-jar.xml or jboss-web.xml files.
I just bought the Admin docs this morning, so I've got the example in Chapter 7 as a reference. I'll holler if I need more help.
Thanks again, Albert -
3. Re: SAP Adaptor Deployment Exception
albupp Dec 4, 2002 3:25 PM (in response to albupp)Greetings David,
Thanks for your reply. I figured the problem out, at least in part. Due to my misunderstanding the way JBoss's config deployment descriptors work, I had simply edited sapr3-service.xml w/ my adapter's specifics, then placed this into the deploy dir.
I'm still not entirely clear on the right way to do deploy a RAR, but trying different things, I eventually pasted the modified mbean element from sapr3-service.xml into jboss-service.xml right before the close of the server element. This approach apparently deploys successfully.
I don't think there's anything wrong w/ the RAR, but to answer your question, here's the output from jar -tf SAPAdapter.rar:
ra.jar
btalk_rt.jar
META-INF/ra.xml
I say the adapter's apparently deployed successfully because although it deploys w/o error, I have yet to actually invoke the adapter. I'm porting a little demo app which I originally created to run on another J2EE app server that makes the invocation from w/in a servlet via an EJB. So now I'm working on figuring out why I get the dreaded "javax.deployment.NamingException: no ejb-link match" when deploying the app.
My existing deployment descriptors put the ejb releated elements into the web.xml file, but from searching the forums on this error I gather that this information's supposed to go into either the ejb-jar.xml or jboss-web.xml files.
I just bought the Admin docs this morning, so I've got the example in Chapter 7 as a reference. I'll holler if I need more help.
Thanks again, Albert -
4. Re: SAP Adaptor Deployment Exception
albupp Dec 4, 2002 3:26 PM (in response to albupp)Greetings David,
Thanks for your reply. I figured the problem out, at least in part. Due to my misunderstanding the way JBoss's config deployment descriptors work, I had simply edited sapr3-service.xml w/ my adapter's specifics, then placed this into the deploy dir.
I'm still not entirely clear on the right way to do deploy a RAR, but trying different things, I eventually pasted the modified mbean element from sapr3-service.xml into jboss-service.xml right before the close of the server element. This approach apparently deploys successfully.
I don't think there's anything wrong w/ the RAR, but to answer your question, here's the output from jar -tf SAPAdapter.rar:
ra.jar
btalk_rt.jar
META-INF/ra.xml
I say the adapter's apparently deployed successfully because although it deploys w/o error, I have yet to actually invoke the adapter. I'm porting a little demo app which I originally created to run on another J2EE app server that makes the invocation from w/in a servlet via an EJB. So now I'm working on figuring out why I get the dreaded "javax.deployment.NamingException: no ejb-link match" when deploying the app.
My existing deployment descriptors put the ejb releated elements into the web.xml file, but from searching the forums on this error I gather that this information's supposed to go into either the ejb-jar.xml or jboss-web.xml files.
I just bought the Admin docs this morning, so I've got the example in Chapter 7 as a reference. I'll holler if I need more help.
Thanks again, Albert -
5. Re: SAP Adaptor Deployment Exception
albupp Dec 4, 2002 3:31 PM (in response to albupp)Greetings David,
Thanks for your reply. I figured the problem out, at least in part. Due to my misunderstanding the way JBoss's config deployment descriptors work, I had simply edited sapr3-service.xml w/ my adapter's specifics, then placed this into the deploy dir.
I'm still not entirely clear on the right way to do deploy a RAR, but trying different things, I eventually pasted the modified mbean element from sapr3-service.xml into jboss-service.xml right before the close of the server element. This approach apparently deploys successfully.
I don't think there's anything wrong w/ the RAR, but to answer your question, here's the output from jar -tf SAPAdapter.rar:
ra.jar
btalk_rt.jar
META-INF/ra.xml
I say the adapter's apparently deployed successfully because although it deploys w/o error, I have yet to actually invoke the adapter. I'm porting a little demo app which I originally created to run on another J2EE app server that makes the invocation from w/in a servlet via an EJB. So now I'm working on figuring out why I get the dreaded "javax.deployment.NamingException: no ejb-link match" when deploying the app.
My existing deployment descriptors put the ejb releated elements into the web.xml file, but from searching the forums on this error I gather that this information's supposed to go into either the ejb-jar.xml or jboss-web.xml files.
I just bought the Admin docs this morning, so I've got the example in Chapter 7 as a reference. I'll holler if I need more help.
Thanks again, Albert -
6. Re: SAP Adaptor Deployment Exception
albupp Dec 4, 2002 4:22 PM (in response to albupp)OK, now I know, there's a lag between posting a reply, and it actually showing up in the topic thread...