Hi all,
I want to add a JBoss shutdown hook, so that when the JBoss shutdown is activated I want to do some pre steps, which is implemented as a method in a SessionBean.
But the problem is that the session bean gets unbound before the method and hence the lookup and creation bean itself fails.
Currently I am using a Runtime hook to do this.
Any ideas would be of great help....
Can we use any JMX mechanisms to achieve this?
regards
Arun
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096458#4096458
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096458
Hi,
With the last designer sp1, the transition button is generated
like this :
<tf:transitionButton to="Deny" value="Refuse"/>
In the past version, the transition button was generated like
this :
<tf:transitionButton transition="Deny" value="Refuse"/>
It doesnot work with the new version( "to" attribute ). The same transition
is always taken. But if i replace with "to" by "transition", it works again.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096456#4096456
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096456
I want to run JBoss AS as a window service. I am using JBossNative and it worked fine on my own machine (MS Windows XP Professional 2002). However I have problems stopping the service in our test environment (MS Windows Server 2003 Enterprise Edition). When stopping the service I get the error (I have renamed the service name from JBAS42SVC to JBossAS404SVC):
C:\jboss-4.0.4.GA\bin>net stop JBossAS404SVC
| The service is not responding to the control function.
|
| More help is available by typing NET HELPMSG 2186.
Rerunning the stop command returns the message:
C:\jboss-4.0.4.GA\bin>net stop JBossAS404SVC
| The JBoss Application Server 4.0.4 service is not started.
|
| More help is available by typing NET HELPMSG 3521.
Looking at the task manager I can see that the jbosssvc.exe is gone but the java.exe is still running and my web site is still up and running. The only way out is to kill the java.exe (not nice).
Did anyone have similar problems and how can I fix it? I am using:
- JBoss AS 4.0.4
- JBoss Native 2.0.1 Windows 32 package
- jdk1.5.0_11
Or is there an alternative to JBossNative if I want to run JBoss AS as a windows service? Alternatives known to me are:
JavaService (http://javaservice.objectweb.org): I am not fond of it as I never got it to run.
Java Service Wrapper (http://wrapper.tanukisoftware.org): which I was using so far. However I need to change the default Sun Memory allocation settings and there actually seems to be a bug with this (http://wiki.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows). So it is not an option for me.
Thanks,
Anette
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096455#4096455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096455
Hi,
We have two cache instances one running on a shared cluster, one on Weblogic Server and other on Sun One Web Server. Weblogic cache instance is configured with Cache loader while Sun One Web Server Cache instance cannot access Database. If we start Sun One Web Server Cache first and if Weblogic cache starts up later, the data that is getting loaded from table in Weblogic Cache is not available for Sun One's Cache, even though they are in a same cluster. If we provision new data / modify already existing data in Weblogic cache..we are able to access only the newly added/ modified data in Sun One's Cache.
Please tell me a way to make Sun One Server cache gets all the data available in Weblogic Cache....
Regards
Nandhini
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096454#4096454
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096454
"liujw2001" wrote : Hello:
| There is a question puzles me for a long time:
|
| Now that the ConnectionManager should be implemented by application server in Managed Environment, Why the Resource Adapter in some examples implements it again?
| The implement of this ConnectionManager usually is very simple, only includes an allocateManagedConnection function.
|
Where did you see this happening ?
CM should be implemented by the Appserver in case of the ManagedEnvironment and by the ResourceAdapter for non Managed Environment .
Go and read the JCA specs , most of your questions will be answered after that .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096449#4096449
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096449
Hi
We are moving to 4.2.1 GA and are having issues setting tomcat so that clients can access the server remotley.
I have tried to set
valve className="org.apache.catalina.valves.RemoteAddrValve" allow="192.168.*.*" deny="" /> (If I put a < before valve it doesn't show)
under my section in the server.xml file in the jboss-web.deployer module but all that happens then is blank pages come up, not even the default jboss page.
All the documentation I can find still refer to the jbossweb-tomcat55.sar module which is not there anymore.
I am problably just being stupid but any help or a pointer to up to date documentation will be greatly appreciated.
At least I can start the server with the -b 0.0.0.0 flag in the mean time.
Thanks a lot
Marius
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096447#4096447
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096447