[Installation, Configuration & DEPLOYMENT] - Deploying applications programmatically
by gav_on_rails
I am currently working on a j2ee application which will essentially act as a container for other sub-applications. The main application will provide an admin front end which allows an administrator to manage the lifecycle of each sub-application, and also provide a set of services the sub-application can utilise. A sub-application defines a set of handlers that are used by a remote client, so for each new remote-client that is created a new sub-application jar is required to be built and deployed through the main application.
What I am looking to be able to do is manage the deployment lifecycle for each of these sub-application jars programmatically and currently investigating how this might be achieved through jboss. I have found some information on the Jboss deployer architecture but this seems to be quite sparse. Any pointers on how one might go about doing this or any links to relevant information would be greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132185#4132185
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132185
18 years, 1 month
[JBoss jBPM] - Action + Classcastexception
by cornhoolio22
Hello @all,
i'm trying to get the jbpm-console to work and have the problem, that when i signal a process instance and an action is somewhere in the processpath, a classcastexception is thrown.
Some different scenarios:
1. I deploy it not with the jbpm console, leave the action.jar in the deploy path of jboss and signal it with the jbpm console -->classcastexception
2. same as 1. but remove the action.jar -->classnotfoundexception
3. same as 1. but deploy it with the jbpm console (with the actions in the par and the action.jar in the deployfolder) --> classcastexception
4. same as 3. without the action.jar in the deploy folder --> it works
5. same as 1 but signal it from a class, thats in the action.jar --> it works
My System is a Jboss4.2.2 JbossEsb4.2.GA and JBPM3.2.2
Is this a probelm with the classLoaders? Or a problem that sometimes the classes are saved in the database or a problem with the jbpm-console?
i doesn't have the action.class two times deployed...
any hints?
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132164#4132164
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132164
18 years, 1 month
[JBossCache] - Re: How do I configure JBossCache in JBoss-4.0.2?
by yrk.kaushik
I am using Jboss cache 2.0.0 GA. I've used the configuration file- local-eviction-cacheloader-service.xml, available under JBossCache-all-2.0.0.GA\etc\META-INF and place it in Jboss\server\default\deploy folder. But while starting the server, I am getting incomplete deployment error as shown below. Could any of you please help me out in resolving this?
12:01:43,095 INFO [ServiceConfigurator] Problem configuring service jboss.cache:service=TreeCache
org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@110195c on mbean jboss.cache:service=TreeCache; - nested throwable: (java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
Caused by: java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function
at org.jboss.cache.jmx.CacheJmxWrapper.getConfiguration(CacheJmxWrapper.java:124)
at org.jboss.cache.jmx.CacheJmxWrapper.setTransactionManagerLookupClass(CacheJmxWrapper.java:545)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--- MBeans waiting for other MBeans ---
ObjectName: jboss.cache:service=TreeCache
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@110195c on mbean jboss.cache:service=TreeCache; - nested throwable: (java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function)
I Depend On:
jboss:service=Naming
jboss:service=TransactionManager
I've placed the configuration file. Could any one of you please let me know whether I am missing any thing because of which I am getting this error.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132158#4132158
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132158
18 years, 1 month