Well, there isn't much to post. :-) I tested this scenario with a simple 1-annotation session bean, that loads a customer from its jar file. There is no ejb-jar.xml, just a jboss.xml to configure the scoping and the parent delegation:
| <jboss>
| <loader-repository>loaderrep:loader=Apploader
| <loader-repository-config>java2ParentDelegation=true</loader-repository-config>
| </loader-repository>
| </jboss>
|
I placed a second version of the customer in server/default/lib. Both customers simply log a version number to the console to distinguish them...
Thats all...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267812#4267812
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267812
I don't understand well but I'll try gto give some hints.
It seems that you do not want to run whole JBoss AS just to use Cache. You do not have to, the Cache can be used standalone - it's a shame that there is almost no documentation for this, but there is some example config in the demo application.
I do not see any advantage in moving it to separate JVM on the same machine - there won't be more memory. Cache can be set to overflow to disk. If you want to move it to separate machine, you have to consider additional the overhead (at least increased latence) - for this I do not know what to use, I've heard about project Cajo, mayby you can give it a try.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267809#4267809
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267809
anonymous wrote : what i need is:
| 10:41:51,472 INFO [EARDeployer] ...
| 10:41:51,472 INFO [EARDeployer] ...
| 10:41:45,831 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 52s:764ms
This is how it would be by default. Unless you deploy the applications after the server is started. Maybe your applications are being copied to the deploy folder of the AS, after the server has started.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267802#4267802
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267802
Hello all,
Is there any way do display the server startup time only after all EARs are loaded?
instead of:
10:41:45,831 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 32s:764ms
10:41:51,472 INFO [EARDeployer] ...
10:41:51,472 INFO [EARDeployer] ...
what i need is:
10:41:51,472 INFO [EARDeployer] ...
10:41:51,472 INFO [EARDeployer] ...
10:41:45,831 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 52s:764ms
i looked over jboss-service.xml and other configuration files but i really cant figure out how to do this. Is it possible? thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267798#4267798
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267798
Hi
We have developed an EJB module in which the main tasks are performed by MDBs. An onMessage() call can be a long time task up to 2 minutes. I tried to find a mechanism to be informed some how that the container is being to undeploy the EJB module, so that the application can release all resources properly.
At the moment, container stops the database resources before the EJBs are stopped.
We look for way to be informed before the container stops the EJB module and the resources.
We are using JBoss 5.1.
Thanks a lot for any help.
Ralf
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267795#4267795
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267795