[Installation, Configuration & Deployment] - Re: JBoss DataSources Down
by stanley1610
I double checked the username and the password. All are correct.
I deleted the jboss-ds.xml and manually created the Datasource in JBoss Web Admin Console. It is UP~.
It sounded great but the nightmare hasn't ended. When I deployed the WAR file, it showed the context DukeBankWeb DOWN.
The log:
java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** DEPLOYMENTS IN ERROR: Name -> Error
|
| vfszip:/C:/jboss/server/default/deploy/DukeBankWeb.war/ -> org.jboss.deployers.spi.DeploymentException: Error deploying: persistence.unit:unitName=#DukeBankEjbPU
|
|
| DEPLOYMENTS IN ERROR:
| Deployment "vfszip:/C:/jboss/server/default/deploy/DukeBankWeb.war/" is in error due to the following reason(s): java.lang.IllegalStateException: persistence.unit:unitName=#DukeBankEjbPU is already installed.
|
| at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)
| at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
| at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
| at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
| at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
| at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
| at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
| at java.util.concurrent.FutureTask.run(FutureTask.java:138)
| at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
| at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** DEPLOYMENTS IN ERROR: Name -> Error
|
| vfszip:/C:/jboss/server/default/deploy/DukeBankWeb.war/ -> org.jboss.deployers.spi.DeploymentException: Error deploying: persistence.unit:unitName=#DukeBankEjbPU
|
|
| DEPLOYMENTS IN ERROR:
| Deployment "vfszip:/C:/jboss/server/default/deploy/DukeBankWeb.war/" is in error due to the following reason(s): java.lang.IllegalStateException: persistence.unit:unitName=#DukeBankEjbPU is already installed.
|
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
| at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
| at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
| at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
| at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
| at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
| at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
| at org.jboss.remoting.Client.invoke(Client.java:1724)
| at org.jboss.remoting.Client.invoke(Client.java:629)
| at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
| ... 15 more
|
What is my problem? How can I solve it?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251135#4251135
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251135
16 years, 8 months
[JBoss Portal Users] - VFSZIP problem ?
by blopes
Hi,
I have this situation, using jersey with restful webservices.
My web.xml has among others things these lines:
...
<context-param>
<param-name>org.restlet.application</param-name>
<param-value>
com.movensis.cisl.ncarUsers.presentation.rrh.FirstStepsApplication
</param-value>
</context-param>
<servlet-name>JerseyAPI</servlet-name>
com.sun.jersey.spi.container.servlet.ServletContainer
</servlet-class>
<init-param>
<param-name>
com.sun.jersey.config.property.packages</param-name>
com.movensis.cisl.ncarUsers.presentation.rrh
</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
...
During deploying the exception is:
18:38:07,720 INFO [TomcatDeployment] undeploy, ctxPath=/jersey
18:38:07,724 INFO [[/jersey]] Closing Spring root WebApplicationContext
18:38:07,725 INFO [XmlWebApplicationContext] Closing org.springframework.web.context.support.XmlWebApplicationContext@162eb9a: display name
[Root WebApplicationContext]; startup date [Fri Aug 21 18:36:53 BST 2009]; root of context hierarchy
18:38:07,728 INFO [DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactor
y@12a2956: defining beans [org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTransactio
nAdvisor,dataSource,transactionManager,userManager,labManager,divisionManager,userDao,labDao,divisionDao]; root of factory hierarchy
18:38:17,534 INFO [TomcatDeployment] deploy, ctxPath=/jersey
18:38:17,766 INFO [[/jersey]] Initializing Spring root WebApplicationContext
18:38:17,767 INFO [ContextLoader] Root WebApplicationContext: initialization started
18:38:17,807 INFO [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@45325f: display na
me [Root WebApplicationContext]; startup date [Fri Aug 21 18:38:17 BST 2009]; root of context hierarchy
18:38:17,880 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from class path resource [applicationContext.xml]
18:38:18,402 INFO [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicatio
nContext@45325f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@181191f
18:38:18,519 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBea
nFactory@181191f: defining beans [org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.config.internalTra
nsactionAdvisor,dataSource,transactionManager,userManager,labManager,divisionManager,userDao,labDao,divisionDao]; root of factory hierarchy
18:38:18,600 INFO [DriverManagerDataSource] Loaded JDBC driver: com.mysql.jdbc.Driver
18:38:18,804 INFO [ContextLoader] Root WebApplicationContext: initialization completed in 1036 ms
18:38:18,827 INFO [PackagesResourceConfig] Scanning for root resource and provider classes in the packages:
com.movensis.cisl.ncarUsers.presentation.rrh
18:38:18,840 WARNING [AnnotatedClassScanner] URL, vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/WSSandBox.war/WEB-INF/classes/com/movensis
/cisl/ncarUsers/presentation/rrh/, is ignored, it not a file or a jar file URL
18:38:18,954 WARNING [WebApplicationImpl] The class, class com.sun.jersey.server.impl.container.servlet.JSPTemplateProcessor, registered as
a provider class of the ResourceConfig is not annotationed with interface javax.ws.rs.ext.Provider. This class will be ignored
18:38:18,956 ERROR [[/jersey]] StandardWrapper.Throwable
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection$1.remove(Unknown Source)
at com.sun.jersey.impl.application.WebApplicationImpl.verifyResourceConfig(WebApplicationImpl.java:705)
at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:506)
at com.sun.jersey.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:472)
at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377)
at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:455)
at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:178)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251124#4251124
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251124
16 years, 8 months
[JBoss Cache Users] - JBoss Cache and Hibernate
by Milesy1871
Hi,
I have set up an application using
hibernate jboss cache - 3.3.2
jboss cache core - 3.1.0
hibernate core 3.3.2
deployed to Glassfish 2.1
and using the following hibernate properties
I can execute queries fine on my local machine.
How can I be check if data is coming from the cache and not directly from persistant storage. When I turn on hibernate's show_sql property SQL is generated and printed everytime I perform an action on the database, so there is no way to know if it is coming from the cache or not.
Secondly, how do I join a second machine to the cluster. Do I just deploy the application on another machine in the local network? Will the default JGroups configuration be ok for this? Or will I need to configure my own?
Best Regards,
Chris
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251117#4251117
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251117
16 years, 8 months
[jBPM Users] - Query on remaining task
by freak182
Hello,
I have to display the next possible task aside from the current task in the task instance.
here is the scenario:
I have a process definition compose of 5 task: A, B, C, D, E
Now, I started the process then the current task is A and it is in taskinstance table. Now when the user process task A, A now is in completed stated while task B is in on_progress state. both task A and B now in taskinstance table for specified process instance.
Now problem is how can I display the next possible not completed task. In this case B (still on on_progress state), C, D, E.
version used: jbpm 3.2.5
Thanks a lot.
Cheers.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251116#4251116
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251116
16 years, 8 months