Hello guys,
A little help please.
I want to deploy guvnor on weblogic version 12.1.2.0.0. I downloaded
guvnor-distribution-wars-5.6.1-20140618.143413-14-weblogic-12c
from
http://snapshots.jboss.org/maven2/org/drools/guvnor-distribution-wars/5.6...
When I deploy it I get the following stack trace.
<Error> <Console> <Souvatzop-HP> <myserver> <[ACTIVE]
ExecuteThread: '1' for
queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <>
<>
<1403598617528> <BEA-240003> <Administration Console encountered the
following error: weblogic.application.ModuleException:
java.lang.UnsupportedOperationException: ERROR: GWT.create() is only usable
in client code! It cannot be called, for example, from server code. If you
are running a unit test, check that your test case extends GWTTestCase and
that GWT.create() is not called from within an initializer or constructor.
at
weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
at
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
at
weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
at
weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
at
weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)
at weblogic.work.ContextWrap.run(ContextWrap.java:40)
at
weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:550)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
Caused by: java.lang.UnsupportedOperationException: ERROR: GWT.create() is
only usable in client code! It cannot be called, for example, from server
code. If you are running a unit test, check that your test case extends
GWTTestCase and that GWT.create() is not called from within an initializer
or constructor.
at com.google.gwt.core.client.GWT.create(GWT.java:91)
at com.google.gwt.user.client.ui.UIObject.<clinit>(UIObject.java:187)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at
com.oracle.injection.integration.CDIModuleExtension.addClassToSet(CDIModuleExtension.java:439)
at
com.oracle.injection.integration.CDIModuleExtension.getWebInfClassesManagedBeanClasses(CDIModuleExtension.java:381)
at
com.oracle.injection.integration.CDIModuleExtension.loadManagedBeanClassesFromWebArchive(CDIModuleExtension.java:338)
at
com.oracle.injection.integration.CDIModuleExtension.createWebModuleInjectionArchive(CDIModuleExtension.java:191)
at
com.oracle.injection.integration.CDIModuleExtension.createInjectionArchive(CDIModuleExtension.java:179)
at
com.oracle.injection.integration.CDIModuleExtension.postPrepare(CDIModuleExtension.java:85)
at
weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:297)
at
weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:285)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
at
weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109)
After some research I think that the problem is that the beans.xml file in
WEB-INF folder is not read during deployment. It is not considered at all.
Is there any advice for me that could help me complete the deployment?
Thank you in advance.
--
View this message in context:
http://drools.46999.n3.nabble.com/Guvnor-on-weblogic-tp4030143.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.