[JBoss jBPM] - Task variables
by wytten
Hi,
I'm new to jBPM, and for better or worse I'm diving in at the jBPM 4.0.0 alpha1 end of the pool.
To begin with I've defined a trivial jpdl with start and end nodes, and one task in between. Then I wrote a bit of code to create process instances and complete the related tasks. I'm either doing something wrong or something isn't implemented yet, because the documentId is always null at the time when I mark the task complete.
I'm using alpha1 jars downloaded from http://repository.jboss.com/maven2, together with jbpm.cfg.xml and hibernate.properties copied from the examples/src folder of the jbpm-4.0.0-Alpha1 distribution zip.
I'm pleased with how smoothly this is all working, with the exception of the null documentId. I'd like to stick with jBPM v4 if possible, but would I be better off cutting my teeth on v3?
Thanks.
| public void run() {
| ProcessEngine processEngine = new Configuration().buildProcessEngine();
|
| // define the wf
| ProcessService processService = processEngine.getProcessService();
| processService.createDeployment().addResource("review.jpdl.xml")
| .deploy();
|
| // create 3 wf process instances
| ExecutionService executionService = processEngine.getExecutionService();
| for (int i=1; i<=3; i++) {
| Map<String,Object> variables = new HashMap<String,Object>();
| variables.put(DOCUMENT_ID, "doc"+i);
| Execution execution = executionService.startExecutionByKey("review", variables);
| LOG.debug("documentId: " + executionService.getVariable(execution.getId(), DOCUMENT_ID));
| }
|
| // retrieve tasks, and mark them complete
| TaskService taskService = processEngine.getTaskService();
|
| List<Task> tasks = taskService.getPersonalTaskList("operator", 0, 10);
| for (Task task : tasks) {
| LOG.debug("task name: " + task.getName());
|
| // TODO: Why aren't Variables in Task interface?
| Map<String,Object> variables = ((TaskImpl) task).getVariables();
| String documentId = (String) variables.get(DOCUMENT_ID);
|
| LOG.debug("I'm supposed to review documentId: " + documentId);
| // TODO: Why is documentId always null here?
|
| // mark task complete
| taskService.submitTask(task.getId());
| }
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205991#4205991
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205991
15 years, 11 months
[JNDI/Naming/Network] - Using JNDI data source to write objects
by venukb
I have configured a connection pool in JBoss to talk to MySQL DB (using a *-ds.xml in deploy directory)
The datasource is bound to JNDI and is used by applications running in a different VM
Basic query/update has always been fine :)
Recently I had to store a java object in MySQL DB
I used preparedstatement.readobject and writeobject(). This seems to be throwing JbossLazyUnmarshallingException
I used the same code in a normal Java program (using DriverManager rather than the JNDI to get the SQL connection)
This ran fine (both for reading and writing objects)
How to avoid the Unmarshallingexception? Do I need to use Streams to write and read data? Or is there is a config to disable Lazy Unmarshalling?:
Configuration:
----------------
Jboss 4.2.3 GA
Mysql 5.0.46 enterprise
Mysql connector : 5.1.7
thanks in advance :)
Venu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205989#4205989
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205989
15 years, 11 months
[JCA/JBoss] - RA failing to invoke MDB method (on 5.0.0, worked on 4.2.3)
by matterbury
I have my Resource Adapter (RA) in an rar and my MDB in a separate jar.
The MDB does not use JMS - I have defined a separate Listener interface.
The rar deploys successfully, and the MDB appears to as well, however when the RA invokes the MDB's method, "nothing" happens
(see below for the relevant trace). I believe the method isn't being called because it logs entry/exit/actions and none of
these things are logged.
It works fine using 4.2.3GA but does not work using 5.0.0GA.
Any suggestions on how to proceed? Thanks!
Trace:
The RA has created an instance/handle using the MessageEndpointFactory and is in the act of invoking the 'handles' method.
I believe the WARN's are a known JBoss problem (caused by a missing if-not-null condition).
2009-01-30 13:44:58,566 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InterceptorsFactory
2009-01-30 13:44:58,566 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (InboundConnection) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
2009-01-30 13:44:58,566 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InterceptorsFactory
2009-01-30 13:44:58,566 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (InboundConnection) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
2009-01-30 13:44:58,566 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,566 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,566 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
2009-01-30 13:44:58,566 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
2009-01-30 13:44:58,582 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,582 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
2009-01-30 13:44:58,582 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public java.lang.String com.example.xa.ExampleMessageBean.invoke(java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbCreate() throws javax.ejb.EJBException
2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.ejbRemove() throws javax.ejb.EJBException
2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public void com.example.xa.ExampleMessageBean.setMessageDrivenContext(javax.ejb.MessageDrivenContext) throws javax.ejb.EJBException
2009-01-30 13:44:58,597 DEBUG [org.jboss.aop.microcontainer.beans.GenericBeanAspectFactory] (InboundConnection) Creating advice InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) new InjectInterceptorsFactory
2009-01-30 13:44:58,597 DEBUG [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (InboundConnection) Create interceptor chain for org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@17297941 on public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
2009-01-30 13:44:58,597 WARN [org.jboss.ejb3.interceptors.registry.InterceptorRegistry] (InboundConnection) applicable interceptors is non-existent for public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String)
2009-01-30 13:44:58,613 DEBUG [org.jboss.ejb3.interceptors.aop.InterceptorSequencer] (InboundConnection) aroundInvoke [advisedMethod=public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String), unadvisedMethod=public boolean com.example.xa.ExampleMessageBean.handles(java.lang.String), metadata=null, targetObject=com.example.xa.ExampleMessageBean@32f533, arguments=[Ljava.lang.Object;@10a62e8]
2009-01-30 13:44:58,629 ERROR [STDERR] (InboundConnection) Jan 30, 2009 1:44:58 PM ExMessageEndpointManager get
WARNING: Class TelcoSession.CustomerHome is unhandled
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205986#4205986
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205986
15 years, 11 months
[Installation, Configuration & DEPLOYMENT] - jboss-4.2.3.GA works fine but jboss-5.0.0.GA does not on Fe
by brad.simonin@redhat.com
Hello.
I am getting errors when starting the run.sh with JBoss 5 on Fedora 10 Linux. Can someone please look at the output and give me a clue as to what I am doing wrong?
Thank you in advance.
[brad@Simonin-Linux ~]$ run.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/brad/jboss-5.0.0.GA
JAVA: /usr/lib/jvm/java-1.6.0-openjdk/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true
CLASSPATH: /home/brad/jboss-5.0.0.GA/bin/run.jar:/usr/lib/jvm/java-1.6.0-openjdk/lib/tools.jar
=========================================================================
11:48:58,934 INFO [ServerImpl] Starting JBoss (Microcontainer)...
11:48:58,935 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
11:48:58,935 INFO [ServerImpl] Bootstrap URL: null
11:48:58,935 INFO [ServerImpl] Home Dir: /home/brad/jboss-5.0.0.GA
11:48:58,935 INFO [ServerImpl] Home URL: file:/home/brad/jboss-5.0.0.GA/
11:48:58,935 INFO [ServerImpl] Library URL: file:/home/brad/jboss-5.0.0.GA/lib/
11:48:58,936 INFO [ServerImpl] Patch URL: null
11:48:58,936 INFO [ServerImpl] Common Base URL: file:/home/brad/jboss-5.0.0.GA/common/
11:48:58,936 INFO [ServerImpl] Common Library URL: file:/home/brad/jboss-5.0.0.GA/common/lib/
11:48:58,936 INFO [ServerImpl] Server Name: default
11:48:58,936 INFO [ServerImpl] Server Base Dir: /home/brad/jboss-5.0.0.GA/server
11:48:58,936 INFO [ServerImpl] Server Base URL: file:/home/brad/jboss-5.0.0.GA/server/
11:48:58,936 INFO [ServerImpl] Server Config URL: file:/home/brad/jboss-5.0.0.GA/server/default/conf/
11:48:58,936 INFO [ServerImpl] Server Home Dir: /home/brad/jboss-5.0.0.GA/server/default
11:48:58,936 INFO [ServerImpl] Server Home URL: file:/home/brad/jboss-5.0.0.GA/server/default/
11:48:58,937 INFO [ServerImpl] Server Data Dir: /home/brad/jboss-5.0.0.GA/server/default/data
11:48:58,937 INFO [ServerImpl] Server Library URL: file:/home/brad/jboss-5.0.0.GA/server/default/lib/
11:48:58,937 INFO [ServerImpl] Server Log Dir: /home/brad/jboss-5.0.0.GA/server/default/log
11:48:58,937 INFO [ServerImpl] Server Native Dir: /home/brad/jboss-5.0.0.GA/server/default/tmp/native
11:48:58,937 INFO [ServerImpl] Server Temp Dir: /home/brad/jboss-5.0.0.GA/server/default/tmp
11:48:58,937 INFO [ServerImpl] Server Temp Deploy Dir: /home/brad/jboss-5.0.0.GA/server/default/tmp/deploy
11:48:59,363 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/home/brad/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
11:48:59,702 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
11:48:59,708 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
11:48:59,910 INFO [CopyMechanism] VFS temp dir: /home/brad/jboss-5.0.0.GA/server/default/tmp
11:48:59,911 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
11:49:00,969 INFO [ServerInfo] Java version: 1.6.0_0,Sun Microsystems Inc.
11:49:00,970 INFO [ServerInfo] Java VM: OpenJDK Server VM 14.0-b08,Sun Microsystems Inc.
11:49:00,970 INFO [ServerInfo] OS-System: Linux 2.6.27.12-170.2.5.fc10.i686.PAE,i386
11:49:00,994 INFO [JMXKernel] Legacy JMX core initialized
11:49:03,054 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository(a)198a35d(root=/home/brad/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
11:49:03,055 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@198a35d(root=/home/brad/jboss-5.0.0.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
11:49:03,056 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@b280b1{key=org.jboss.profileservice.spi.ProfileKey(a)143b82c3[domain=default,server=default,name=default]}
11:49:04,661 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
11:49:08,824 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
11:49:08,824 INFO [NativeServerConfig] 3.0.4.SP1
11:49:15,397 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
11:49:15,600 INFO [MailService] Mail Service bound to java:/Mail
11:49:16,786 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
11:49:16,800 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
11:49:16,933 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
11:49:16,933 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
11:49:17,102 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_14] - Failed to create server socket on address 127.0.0.1 and port: 4,713
11:49:17,103 ERROR [AbstractKernelController] Error installing to Create: name=TransactionManager state=Configured
com.arjuna.ats.arjuna.exceptions.FatalError: [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_9] - Could not get unique port.
at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.start(TransactionStatusManager.java:185)
at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.(TransactionStatusManager.java:72)
at com.arjuna.ats.arjuna.coordinator.TxControl.(TxControl.java:355)
at com.arjuna.ats.jbossatx.jta.TransactionManagerService.create(TransactionManagerService.java:178)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:636)
11:49:17,548 ERROR [AbstractKernelController] Error installing to Start: name=jboss:database=localDB,service=Hypersonic state=Create mode=Manual requiredState=Installed
java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@4cbde00b[file =/home/brad/jboss-5.0.0.GA/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: /home/brad/jboss-5.0.0.GA/server/default/data/hypersonic/localDB.lck (Permission denied)
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:200)
at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:777)
at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:625)
at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:568)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:636)
11:49:17,556 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/home/brad/jboss-5.0.0.GA/server/default/deploy/hsqldb-ds.xml state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: jboss:service=Hypersonic,database=localDB
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:123)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@4cbde00b[file =/home/brad/jboss-5.0.0.GA/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: /home/brad/jboss-5.0.0.GA/server/default/data/hypersonic/localDB.lck (Permission denied)
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:620)
at java.sql.DriverManager.getConnection(DriverManager.java:200)
at org.jboss.jdbc.HypersonicDatabase.getConnection(HypersonicDatabase.java:777)
at org.jboss.jdbc.HypersonicDatabase.startStandaloneDatabase(HypersonicDatabase.java:625)
at org.jboss.jdbc.HypersonicDatabase.startService(HypersonicDatabase.java:568)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
at $Proxy36.start(Unknown Source)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
at org.jboss.system.ServiceController.start(ServiceController.java:460)
at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146)
at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104)
... 23 more
11:49:17,777 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
*** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
CachedConnectionManager
-> TransactionManager{Configured:**ERROR**}
DefaultUserTransactionprovider
-> <UNKNOWN DefaultUserTransactionprovider>{Described:** UNRESOLVED Demands 'TransactionManager' **}
RealTransactionManager
-> TransactionManager{Instantiated:**ERROR**}
UnifiedInvoker
-> TransactionManager{Create:**ERROR**}
WebServer
-> jboss.jca:service=CachedConnectionManager{Create:** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
WorkManager
-> TransactionManager{Configured:**ERROR**}
jboss.admin:service=PluginManager
-> jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor{Create:Configured}
jboss.ejb:persistencePolicy=database,service=EJBTimerService
-> jboss.jdbc:datasource=DefaultDS,service=metadata{Create:** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
jboss.ejb:service=EJB3TimerService
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.ejb:service=EJBTimerService
-> jboss.ejb:persistencePolicy=database,service=EJBTimerService{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment
-> jboss.jca:service=WorkManager{Configured:** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **}
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='jboss-xa-jdbc.rar',service=RARDeployment
-> jboss.jca:service=WorkManager{Configured:** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **}
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='jms-ra.rar',service=RARDeployment
-> jboss.jca:service=WorkManager{Configured:** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **}
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='mail-ra.rar',service=RARDeployment
-> jboss.jca:service=WorkManager{Configured:** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **}
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name='quartz-ra.rar',service=RARDeployment
-> jboss.jca:service=WorkManager{Configured:** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **}
-> jboss:service=TransactionManager{Configured:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jca:name=JmsXA,service=ConnectionFactoryBinding
-> jboss.jca:name=JmsXA,service=TxCM{Create:Configured}
jboss.jca:name=JmsXA,service=ManagedConnectionFactory
-> jboss.messaging:service=ServerPeer{Create:Configured}
-> jboss.jca:name='jms-ra.rar',service=RARDeployment{Create:Instantiated}
jboss.jca:name=JmsXA,service=ManagedConnectionPool
-> jboss.jca:name=JmsXA,service=ManagedConnectionFactory{Create:Configured}
jboss.jca:name=JmsXA,service=TxCM
-> jboss.jca:name=JmsXA,service=ManagedConnectionPool{Create:Configured}
-> jboss.jca:service=CachedConnectionManager{Create:** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor
-> jboss:service=invoker,type=jrmp{Create:Configured}
jboss.jmx:name=MBeanProxyRemote,protocol=jrmp,type=adaptor
-> jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor{Create:Configured}
jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory
-> jboss.messaging:service=ServerPeer{Create:Configured}
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.connectionfactory:service=ClusteredConnectionFactory
-> jboss.messaging:service=ServerPeer{Create:Configured}
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.connectionfactory:service=ConnectionFactory
-> jboss.messaging:service=ServerPeer{Create:Configured}
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.destination:name=DLQ,service=Queue
-> jboss.messaging:service=ServerPeer{Create:Configured}
-> jboss.messaging:service=PostOffice{Create:Configured}
jboss.messaging.destination:name=ExpiryQueue,service=Queue
-> jboss.messaging:service=PostOffice{Create:Configured}
-> jboss.messaging:service=ServerPeer{Create:Configured}
jboss.messaging:service=JMSUserManager
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
jboss.messaging:service=PersistenceManager
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
jboss.messaging:service=PostOffice
-> jboss.messaging:service=ServerPeer{Create:Configured}
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
jboss.messaging:service=ServerPeer
-> jboss.messaging:service=PersistenceManager{Create:Configured}
-> jboss.messaging:service=JMSUserManager{Create:Configured}
jboss.mq:service=DestinationManager
-> jboss.messaging:service=ServerPeer{Create:Configured}
jboss.web.deployment:war=/ROOT
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/invoker
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/jbossws
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/jmx-console
-> jboss.web:service=WebServer{Create:Configured}
jboss.web.deployment:war=/web-console
-> jboss.admin:service=PluginManager{Create:Configured}
-> jboss.web:service=WebServer{Create:Configured}
jboss:service=ClientUserTransaction
-> jboss:service=proxyFactory,target=ClientUserTransactionFactory{Create:Configured}
-> jboss:service=proxyFactory,target=ClientUserTransaction{Create:Configured}
jboss:service=KeyGeneratorFactory,type=HiLo
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
-> jboss.jca:name=DefaultDS,service=DataSourceBinding{Create:** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **}
jboss:service=invoker,type=jrmp
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=invoker,type=local
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=invoker,type=pooled
-> jboss:service=TransactionManager{Create:** NOT FOUND Depends on 'jboss:service=TransactionManager' **}
jboss:service=proxyFactory,target=ClientUserTransaction
-> jboss:service=invoker,type=unified{Create:Configured}
jboss:service=proxyFactory,target=ClientUserTransactionFactory
-> jboss:service=invoker,type=unified{Create:Configured}
*** CONTEXTS IN ERROR: Name -> Error
TransactionManager -> com.arjuna.ats.arjuna.exceptions.FatalError: [com.arjuna.ats.arjuna.recovery.TransactionStatusManager_9] - Could not get unique port. | **ERROR**
jboss.jdbc:datasource=DefaultDS,service=metadata -> ** NOT FOUND Depends on 'jboss.jdbc:datasource=DefaultDS,service=metadata' **
vfsfile:/home/brad/jboss-5.0.0.GA/server/default/deploy/hsqldb-ds.xml -> java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile@4cbde00b[file =/home/brad/jboss-5.0.0.GA/server/default/data/hypersonic/localDB.lck, exists=true, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: /home/brad/jboss-5.0.0.GA/server/default/data/hypersonic/localDB.lck (Permission denied)
<UNKNOWN DefaultUserTransactionprovider> -> ** UNRESOLVED Demands 'TransactionManager' **
jboss.jca:service=WorkManager -> ** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **
jboss:service=TransactionManager -> ** NOT FOUND Depends on 'jboss:service=TransactionManager' **
jboss.jca:name=DefaultDS,service=DataSourceBinding -> ** NOT FOUND Depends on 'jboss.jca:name=DefaultDS,service=DataSourceBinding' **
jboss:service=invoker,type=unified -> Configured
jboss.jca:service=CachedConnectionManager -> ** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **
jboss.web:service=WebServer -> Configured
11:49:17,778 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 18s:840ms
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205983#4205983
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205983
15 years, 11 months
[JBoss jBPM] - Deployment of jbm-console (jbpm -3.2.3) on Weblogic 10 and O
by vksystech
The jbpm-console.war was deployed successfully in Weblogic with no errors. I was able to get to the jbpm-console login screen, but then the authentication fails even though all the data has been populated correctly.
The following was done to achieve the above:
i) In the Weblogic console, created a new provider for SQLReadOnly Authentication Provider using the default tables for Group, Users, GroupMembers etc. The idea was not to change the SQL, and created the corresponding tables in Oracle to which the datasource configured in weblogic (JbpmDS1). Had also tried with using the JBPM provide user, group, member tables with SQLReadOnly which did not work.
ii) Modified the following files from the jbpm-console which comes with jbpm 3.2.3 and repackaged it in the new war file.
a) hibernate.cfg.xml to point to the datasource in Oracle which weblogic uses.
b) Web.xml to specify the security realm configured in weblogic and the datasource for Oracle.
c) Added weblogic.xml to the war file to specify the datasource JNDI name and security role.
Any help to get weblogic working with the jbpm-console would be great as the first part of deploying the console app and bringing the login screen works successfuly.
The other option would be to bypass the security altogether, not sure if this can be done via descriptors alone or the jbpm-console code uses the security check in each JSF screen.
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205971#4205971
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205971
15 years, 11 months