[JBoss JIRA] Created: (JBRULES-2384) Unable to process deployment descriptor for context'/drools-server'
by Megha Shetty (JIRA)
Unable to process deployment descriptor for context'/drools-server'
-------------------------------------------------------------------
Key: JBRULES-2384
URL: https://jira.jboss.org/jira/browse/JBRULES-2384
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: All
Environment: windows
Reporter: Megha Shetty
Assignee: Mark Proctor
I am getting the following error when i am trying to deploy drools-server.war through jboss.
Unable to process deployment descriptor for context'/drools-server'
Following is the complete log when i am starting the jboss server
JAVA_HOME is not set. Unexpected results may occur.
Set JAVA_HOME to the directory of your local JDK to avoid this message.
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: E:\Eclipse Europa\jboss-4.2.3.GA
JAVA: java
JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn
terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: E:\Eclipse Europa\jboss-4.2.3.GA\bin\run.jar
===============================================================================
14:35:43,295 INFO [Server] Starting JBoss (MX MicroKernel)...
14:35:43,295 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=
JBoss_4_2_3_GA date=200807181417)
14:35:43,295 INFO [Server] Home Dir: E:\Eclipse Europa\jboss-4.2.3.GA
14:35:43,295 INFO [Server] Home URL: file:/E:/Eclipse Europa/jboss-4.2.3.GA/
14:35:43,295 INFO [Server] Patch URL: null
14:35:43,295 INFO [Server] Server Name: default
14:35:43,295 INFO [Server] Server Home Dir: E:\Eclipse Europa\jboss-4.2.3.GA\se
rver\default
14:35:43,311 INFO [Server] Server Home URL: file:/E:/Eclipse Europa/jboss-4.2.3
.GA/server/default/
14:35:43,311 INFO [Server] Server Log Dir: E:\Eclipse Europa\jboss-4.2.3.GA\ser
ver\default\log
14:35:43,311 INFO [Server] Server Temp Dir: E:\Eclipse Europa\jboss-4.2.3.GA\se
rver\default\tmp
14:35:43,311 INFO [Server] Root Deployment Filename: jboss-service.xml
14:35:43,482 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
14:35:43,482 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-b105,S
un Microsystems Inc.
14:35:43,498 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
14:35:43,857 INFO [Server] Core system initialized
14:35:45,670 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083
/
14:35:45,670 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:jboss-log4j.xml
14:35:46,513 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
version) - JBoss Inc.
14:35:46,513 INFO [TransactionManagerService] Setting up property manager MBean
and JMX layer
14:35:46,701 INFO [TransactionManagerService] Starting recovery manager
14:35:46,748 INFO [TransactionManagerService] Recovery manager started
14:35:46,748 INFO [TransactionManagerService] Binding TransactionManager JNDI R
eference
14:35:50,263 INFO [EJB3Deployer] Starting java:comp multiplexer
14:35:51,607 INFO [NativeServerConfig] JBoss Web Services - Native
14:35:51,622 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200
803312044)
14:35:52,466 INFO [Embedded] Catalina naming disabled
14:35:52,575 INFO [AprLifecycleListener] The Apache Tomcat Native library which
allows optimal performance in production environments was not found on the java
.library.path: C:\WINDOWS\system32;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32
;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
14:35:52,607 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0
.1-8080
14:35:52,607 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-80
09
14:35:52,607 INFO [Catalina] Initialization processed in 147 ms
14:35:52,607 INFO [StandardService] Starting service jboss.web
14:35:52,607 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
14:35:52,638 INFO [Catalina] Server startup in 24 ms
14:35:52,794 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
eb.deployer/ROOT.war/
14:35:53,560 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
14:35:53,669 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
jbossws.sar/jbossws-context.war/
14:35:53,732 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
14:35:54,153 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
14:35:54,513 INFO [MailService] Mail Service bound to java:/Mail
14:35:54,669 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
14:35:54,763 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
14:35:54,856 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
14:35:54,935 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
14:35:55,544 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
14:35:55,716 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
14:35:55,903 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/quartz-ra.rar
14:35:55,903 INFO [QuartzResourceAdapter] start quartz!!!
14:35:55,950 INFO [SimpleThreadPool] Job execution threads will use class loade
r of thread: main
14:35:55,950 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
14:35:55,966 INFO [RAMJobStore] RAMJobStore initialized.
14:35:55,966 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule
r' initialized from default resource file in Quartz package: 'quartz.properties'
14:35:55,966 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
14:35:55,966 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
TERED started.
14:35:56,966 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
14:35:57,200 INFO [A] Bound to JNDI name: queue/A
14:35:57,200 INFO [B] Bound to JNDI name: queue/B
14:35:57,200 INFO [C] Bound to JNDI name: queue/C
14:35:57,200 INFO [D] Bound to JNDI name: queue/D
14:35:57,200 INFO [ex] Bound to JNDI name: queue/ex
14:35:57,216 INFO [testTopic] Bound to JNDI name: topic/testTopic
14:35:57,216 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
14:35:57,216 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
14:35:57,216 INFO [testQueue] Bound to JNDI name: queue/testQueue
14:35:57,231 INFO [UILServerILService] JBossMQ UIL service available at : /127.
0.0.1:8093
14:35:57,263 INFO [DLQ] Bound to JNDI name: queue/DLQ
14:35:57,341 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
14:35:57,794 INFO [TomcatDeployer] deploy, ctxPath=/drools-guvnor, warUrl=.../d
eploy/drools-guvnor.war/
14:36:08,965 INFO [TomcatDeployer] deploy, ctxPath=/drools-server, warUrl=.../d
eploy/drools-server.war/
14:36:09,012 WARN [config] Unable to process deployment descriptor for context
'/drools-server'
14:36:09,371 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
loy/jmx-console.war/
14:36:09,496 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
080
14:36:09,512 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:36:09,512 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos
s_4_2_3_GA date=200807181417)] Started in 26s:201ms
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (JBRULES-3335) mvn eclipse:eclipse broken for drools-persistence-jpa
by Adar Dembo (Created) (JIRA)
mvn eclipse:eclipse broken for drools-persistence-jpa
-----------------------------------------------------
Key: JBRULES-3335
URL: https://issues.jboss.org/browse/JBRULES-3335
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.3.1.Final
Reporter: Adar Dembo
Assignee: Mark Proctor
>From a clean repository, I'm seeing a maven error when I run "mvn eclipse:eclipse":
{noformat}
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Drools multiproject
[INFO] Drools :: Core
[INFO] Drools :: Compiler
[INFO] Drools :: Templates
[INFO] Drools :: Decision Tables
[INFO] Drools :: JSR-94 API Module
[INFO] Drools :: Clips
[INFO] Drools :: Verifier
[INFO] Drools :: Persistence :: JPA
[INFO] Drools examples
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools multiproject 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-multiproject >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-multiproject ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-multiproject <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-multiproject ---
[INFO] Not running eclipse plugin goal for pom project
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Core 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-core >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-core ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-core <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-core ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/adar/Source/drools/drools-core/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "drools-core" to /home/adar/Source/drools/drools-core.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Compiler 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-compiler >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-compiler ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-compiler <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-compiler ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/adar/Source/drools/drools-compiler/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "drools-compiler" to /home/adar/Source/drools/drools-compiler.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Templates 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-templates >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-templates ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-templates <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-templates ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/adar/Source/drools/drools-templates/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "drools-templates" to /home/adar/Source/drools/drools-templates.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Decision Tables 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-decisiontables >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-decisiontables ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-decisiontables <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-decisiontables ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/adar/Source/drools/drools-decisiontables/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "drools-decisiontables" to /home/adar/Source/drools/drools-decisiontables.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: JSR-94 API Module 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-jsr94 >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-jsr94 ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-jsr94 <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-jsr94 ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/adar/Source/drools/drools-jsr94/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "drools-jsr94" to /home/adar/Source/drools/drools-jsr94.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Clips 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-clips >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-clips ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-clips <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-clips ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/adar/Source/drools/drools-clips/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "drools-clips" to /home/adar/Source/drools/drools-clips.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Verifier 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-verifier >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-verifier ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-verifier <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-verifier ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Wrote settings to /home/adar/Source/drools/drools-verifier/.settings/org.eclipse.jdt.core.prefs
[INFO] Wrote Eclipse project for "drools-verifier" to /home/adar/Source/drools/drools-verifier.
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Drools :: Persistence :: JPA 5.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-persistence-jpa >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (default) @ drools-persistence-jpa ---
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-persistence-jpa <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ drools-persistence-jpa ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] Resource directory's path matches an existing source directory. Resources will be merged with the source directory src/test/resources
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Drools multiproject ............................... SUCCESS [0.873s]
[INFO] Drools :: Core .................................... SUCCESS [1.087s]
[INFO] Drools :: Compiler ................................ SUCCESS [0.758s]
[INFO] Drools :: Templates ............................... SUCCESS [0.374s]
[INFO] Drools :: Decision Tables ......................... SUCCESS [0.341s]
[INFO] Drools :: JSR-94 API Module ....................... SUCCESS [0.219s]
[INFO] Drools :: Clips ................................... SUCCESS [0.073s]
[INFO] Drools :: Verifier ................................ SUCCESS [0.102s]
[INFO] Drools :: Persistence :: JPA ...................... FAILURE [0.225s]
[INFO] Drools examples ................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.294s
[INFO] Finished at: Thu Jan 05 15:30:50 PST 2012
[INFO] Final Memory: 27M/618M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8:eclipse (default-cli) on project drools-persistence-jpa: Request to merge when 'filtering' is not identical. Original=resource src/test/resources: output=target/test-classes, include=[], exclude=[**/*.h2.db|**/*.java], test=true, filtering=true, merging with=resource src/test/resources: output=target/test-classes, include=[**/*.h2.db], exclude=[**/*.java], test=true, filtering=false -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :drools-persistence-jpa
{noformat}
Here's my maven version:
{noformat}
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /home/adar/Source/apache-maven-3.0.3
Java version: 1.6.0_26, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.0.0-14-generic", arch: "amd64", family: "unix"
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] (JBRULES-3404) In drools-camel-server-5.3.x.Final.war, there seems to be duplicate JPA persistence units
by Nicholas DiPiazza (JIRA)
Nicholas DiPiazza created JBRULES-3404:
------------------------------------------
Summary: In drools-camel-server-5.3.x.Final.war, there seems to be duplicate JPA persistence units
Key: JBRULES-3404
URL: https://issues.jboss.org/browse/JBRULES-3404
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-camel
Affects Versions: 5.3.1.Final, 5.3.0.Final
Environment: Causes deployment problem in WebLogic 10.x, but not Tomcat.
Reporter: Nicholas DiPiazza
Assignee: Mark Proctor
There seems to be duplicate persistence units for persistence unit "org.drools.grid"
One in: WEB-INF\classes\META-INF\persistence.xml
Another in: WEB-INF\lib\drools-grid-impl-5.3.0.Final.jar\META-INF\persistence.xml
In Tomcat, it doesn't seem to care and let's you deploy nicely.
In WebLogic 10.x, it will throw an error: "Duplicate persistence unit" and won't let you deploy until you either rename one of them or remove it.
Renaming the WEB-INF\classes\META-INF\persistence.xml's persistence unit another name causes this error:
<Feb 25, 2012 9:07:39 PM GMT-07:00> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request w
ith ID '1330229237884' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'drools-camel-ser
ver-5.3.1.Final.war''
weblogic.application.ModuleException: Failed to load webapp: 'drools-camel-server-5.3.1.Final.war'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:404)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:508)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
Truncated. see log file for complete stacktrace
Caused By: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:371)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)
Truncated. see log file for complete stacktrace
>
The only way to get it to even deploy is to remove one of the duplicates.
Which one can we remove? Why does this only happen in WebLogic and not in Tomcat? You'd figure the duplicate persistence unit should be complained about in all app server environments???
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months
[JBoss JIRA] Created: (JBRULES-2683) DroolsSession's initWorkItemManagerFactory method can not work in a OSGi context
by Antoine Toulme (JIRA)
DroolsSession's initWorkItemManagerFactory method can not work in a OSGi context
--------------------------------------------------------------------------------
Key: JBRULES-2683
URL: https://jira.jboss.org/browse/JBRULES-2683
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.2.0.M1
Reporter: Antoine Toulme
Assignee: Mark Proctor
Fix For: FUTURE
This affects the current trunk.
The code in the method does this:
String className = this.chainedProperties.getProperty( "drools.workItemManagerFactory",
"org.drools.process.instance.impl.DefaultWorkItemManagerFactory" );
[..]
clazz = (Class<WorkItemManagerFactory>) Thread.currentThread().getContextClassLoader().loadClass( className );
[..]
clazz = (Class<WorkItemManagerFactory>) SessionConfiguration.class.getClassLoader().loadClass( className );
None of this can work for the default factory since drools-core does not depend on drools-flow-core (and creating a dependency would create a cycle). Actually, this won't work for customer code as well, since drools-core won't depend on their bundle.
I suggest to use a declarative service to work around this problem, while keeping this type of instantiation around when OSGi is not on.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 3 months