[Installation, Configuration & Deployment] - Re: JEMS Installer 1.2.0.CR1: Errors when starting JBoss
by cjindahouse
>From looking at my logs, it appeared that the EJB3Deployer was just not working. So I had a look through the config files for something related to the EJB3Deployer.
I found one reference to the EJB3Deployer within my fresh jboss installation. The following code was commented out in ./server/default/deploy/jbossws14.sar/META-INF/jboss-service.xml
By uncommenting it, the EJB3Deployer picked up the EJBs in my EAR and I was able to deploy the EJB3 module and view the EJB3's in the JMX console. Please note this code was commented out as part of the installer for ejb3 support.
| <mbean name="jboss.ws:service=DeployerInterceptorEJB3" code="org.jboss.ws.integration.jboss.DeployerInterceptorEJB3">
| <depends-list optional-attribute-name="Interceptables">
| <depends-list-element>jboss.ejb3:service=EJB3Deployer</depends-list-element>
| </depends-list>
| </mbean>
|
Is this supposed to have been commented out?
However, the next issue is that I'm not able to lookup my EJB3 beans from the web app within the EAR using local interfaces.
Possibly another configuration issue?
Thanks for your quick responses.
Cheers.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989115#3989115
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989115
19Â years, 5Â months
[JBoss Seam] - Re: Where is the database?
by norman.richardsï¼ jboss.com
I don't normally run outside JBoss, so I can only give you a few pointers for hsql.
Hsql CAN accept tcp connections. Try setting the URL to something like jdbc:hsqldb:hsql://localhost:1701. You may need to add another component to physically start the hsql server, but it shouldn't be that hard to figure out.
On the other hand, you can also use a URL like jdbc:hsqldb:/path/to/mydb/property .Then your db will be stored in that file. Another process like the db manager can examine that file, but you want to be careful with two active processes reading the file.
A third option is to launch the DB manager from WITHIN your application. Yeah, it sounds silly to write launch a swing app from a web app, but the jboss admin console does just that. It's ugly, but it works.
Finally, another option is to look at this: http://members.capmac.org/~orb/blog.cgi/tech/java/A_quick_and_dirty_E.html . It is very simple query tool that you can use to type ejbql from a web page. You can add it to your app and examine your application freely. I haven't used it in a while, but I'm sure it shouldn't take more than 5 minutes to get set up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989106#3989106
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989106
19Â years, 5Â months