[JBoss Cache: Core Edition] - Re: how to configure and use jboss cache?
by thilkumar82
Hi,
When i deploy cache-configuration.xml in jboss 3.2.3 Application Server,
it gives following error,
I copied jbosscache-core.jar and jgroups.jar into lib of "all" configuration in jboss AS
and cache-configuration.xml contains sample sonfiguration content in Jboss cache user guide...
Can u help me how to solve this?
s-3.2.3/server/all/deploy/cache-configuration.xml
12:34:59,454 INFO [MainDeployer] Deployment of package: file:/C:/jboss-3.2.3/se
rver/all/deploy/cache-configuration.xml is waiting for an appropriate deployer.
12:34:59,454 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
[org.jboss.deployment.DeploymentInfo@175d65cf { url=file:/C:/jboss-3.2.3/server/
all/deploy/cache-configuration.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-3.2.3/server/all/deploy/cache-configuration.xml
lastDeployed: 1222239899454
lastModified: 1222239899454
mbeans:
]Incompletely deployed packages:
[org.jboss.deployment.DeploymentInfo@175d65cf { url=file:/C:/jboss-3.2.3/server/
all/deploy/cache-configuration.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-3.2.3/server/all/deploy/cache-configuration.xml
lastDeployed: 1222239899454
lastModified: 1222239899454
mbeans:
]MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB
state: NOTYETINSTALLED
I Depend On: jboss:service=DefaultPartition
jboss:service=invoker,type=jrmp
Depends On Me: jboss:service=ClusteredHttpSession
, ObjectName: jboss:service=ClusteredHttpSession
state: CONFIGURED
I Depend On: jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB
Depends On Me: , ObjectName: jboss.mq:service=HAILSharedState
state: CONFIGURED
I Depend On: jboss:service=DefaultPartition
Depends On Me: jboss.mq:service=InvocationLayer,type=HAIL
, ObjectName: jboss.mq:service=InvocationLayer,type=HAIL
state: CONFIGURED
I Depend On: jboss.mq:service=InvocationLayer,type=UIL2
jboss.mq:service=HAILSharedState
Depends On Me: jboss.mq:service=HAILSingletonController
, ObjectName: jboss.mq:service=HAILSingletonController
state: CONFIGURED
I Depend On: jboss:service=DefaultPartition
jboss.mq:service=InvocationLayer,type=HAIL
Depends On Me: , ObjectName: jboss:service=DefaultPartition
state: FAILED
I Depend On:
Depends On Me: jboss.j2ee:jndiName=clustering/HTTPSession,service=EJB
jboss.mq:service=HAILSharedState
jboss.mq:service=HAILSingletonController
jboss:service=HASessionState
jboss:service=HAJNDI
jboss.cache:service=InvalidationBridge,type=JavaGroups
jboss:service=FarmMember,partition=DefaultPartition
java.lang.NoClassDefFoundError: org/jgroups/JChannel, ObjectName: jboss:service=
HASessionState
state: CONFIGURED
I Depend On: jboss:service=DefaultPartition
Depends On Me: , ObjectName: jboss:service=HAJNDI
state: CONFIGURED
I Depend On: jboss:service=DefaultPartition
Depends On Me: , ObjectName: jboss.cache:service=InvalidationBridge,type=JavaGr
oups
state: CONFIGURED
I Depend On: jboss:service=DefaultPartition
jboss.cache:service=InvalidationManager
Depends On Me: , ObjectName: jboss:service=FarmMember,partition=DefaultPartitio
n
state: CONFIGURED
I Depend On: jboss:service=DefaultPartition
jboss.web:service=WebServer
jboss.system:service=MainDeployer
Depends On Me: ]
12:34:59,470 INFO [URLDeploymentScanner] Started jboss.deployment:type=Deployme
ntScanner,flavor=URL
12:34:59,501 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/
all/conf/jboss-service.xml
12:34:59,501 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3
_2_3 date=200311301445)] Started in 15s:407ms
Regards,
Thilkumar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178468#4178468
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178468
17 years, 7 months
[Installation, Configuration & DEPLOYMENT] - JBoss Automatically restart
by zwind
Dear all, here is my situation:
I am using the JBoss AS to run a web-based system. However , due to unknown reason, the JBoss always restarts itself. Does anyone know any method that I could use to check the reason behind?
Each time when the JBoss restarts itself , the following log occurs:
[CODE] 01:01:06,010 INFO [DataManager] (AppScheduler_Worker-4) Replace tag number from S8486 -> S83
[CODE]01:01:06,010 INFO [DataManager] (AppScheduler_Worker-4) Replace group tag number from null ->
[CODE]01:01:06,010 INFO [DataManager] (AppScheduler_Worker-4) <<< updateAppointmentTagNum returns successfully.
[CODE]01:01:06,010 INFO [DataManager] (AppScheduler_Worker-4) >>> updateAppointmentTagNum(452727, S84, )
[CODE]01:01:06,025 INFO [DataManager] (AppScheduler_Worker-4) Replace tag number from S8484 -> S84
[CODE]01:01:06,025 INFO [DataManager] (AppScheduler_Worker-4) Replace group tag number from null ->
[CODE]01:01:06,025 INFO [DataManager] (AppScheduler_Worker-4) <<< updateAppointmentTagNum returns successfully.
[CODE]02:00:00,233 INFO [RootDAO] (AppScheduler_Worker-1) Initializing hibernate configuration: hibernate.cfg.xml
[CODE]02:00:00,233 INFO [RootDAO] (AppScheduler_Worker-1) loading configuration: hibernate.cfg.xml
[CODE]02:00:00,249 INFO [RootDAO] (AppScheduler_Worker-1) load_mapping_from_package=es.data.hbm1, es.data.hbm2
[CODE]02:00:00,249 INFO [RootDAO] (AppScheduler_Worker-1) Loading more hbm files from package: es.data.hbm1
You may notice that the time changes from 01:01:06 to 02:00:00 , which indicates that the JBoss restarted itself.
Thank you if anyone can provide me with a solution. And is there any method to prevent the JBoss from automatically restart ? any reason that causes the restart mechanism to run ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178466#4178466
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178466
17 years, 7 months
[JBoss Portal] - How to set the theme programatically
by m.paranjape
Hi All,
I need to display a user defined portlet on my portal page which will let the user select a theme from the dropdown and then the selected theme will be applied to the whole portal. Actually I am trying to set the default theme for portal. I am using the following code in my process action.
//Get the Theme Service from the portlet context. Theme service is injected and saved in the context at start up.
| ThemeService themeService = (ThemeService) context.getAttribute("ThemeService");
|
| //themeName is a string which is the actual name of the theme. Will be the one that the user selects from the dropdown.
| PortalTheme themeToSet = themeService.getTheme(themeName, false);
| themeService.setDefault(themeToSet.getThemeInfo().getRegistrationId());
The above code does not work and it does not set the default theme to the one I select from the dropdown. It does not throw any exception on the consone either. If I put a S.O.P after setting the default theme it still shows the earlier default name i.e anonymous wrote : renaissance .
I am missing something somewhere. Could anyone help as I need to get this done as soon as possible.
Any help is highly appreciated.
Thanks and Regards,
Milind Paranjape.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178465#4178465
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178465
17 years, 7 months