[jBPM] - Re: Problem in deploying Process from guvnor to JBPM Console
by Guido Zerbinati
Guido Zerbinati [https://community.jboss.org/people/gzer] created the discussion
"Re: Problem in deploying Process from guvnor to JBPM Console"
To view the discussion, visit: https://community.jboss.org/message/736831#736831
--------------------------------------------------------------
Yes, I've seen. I've downloaded (hopefully ;-)) all the newest release (JBPM, Guvnor, etc) and the newest jbpmistaller project from GITHUB; found all the libraries and reinstall everything. Now jpbm console is version 2.3.2 SNAPSHOT, Drools is 5.4 and so on... Seems that all is working well... designing flows on guvnor and packaging them make them appears on jbpm console... Have to say that it'has been a a little too much difficult but I think I'm getting through it. So by now I can start seeing JBPM in action. By the way if someone wants the full ZIP package to install the demo with the latest version of all this stuff I can provide it (it's huge so you have to give me some kind of FTP access or so on)...
Thanks for support... Hope that now I can start doing more interesting questions..... ;-)!!!!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/736831#736831]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[jBPM] - Re: Loading processInstance/session via JPA, workItem executes before able to register workItems
by Marcus Portmann
Marcus Portmann [https://community.jboss.org/people/marcusportmann] created the discussion
"Re: Loading processInstance/session via JPA, workItem executes before able to register workItems"
To view the discussion, visit: https://community.jboss.org/message/736669#736669
--------------------------------------------------------------
Hi Ryan,
I encountered the same problem but am still working on finding a solution.
I believe that the problem is a result of a race condition where when a persistent knowledge session is unmarshalled as part of the call-chain for *JPAKnowledgeService.loadStatefulKnowledgeSession(...)* the "timer job" infrastructure is initialised and any pending "timer jobs" are immediatelly executed before the knowledge session is completely initialised. In my case what happens is that a TimerJobInstance executes before the following line is executed in the *initKsession* method for the *SingleSessionCommandService* class so the CommandService for my *TimerJobFactoryManager* instance is still null.
((AcceptsTimerJobFactoryManager) ((InternalKnowledgeRuntime) ksession).getTimerService()).getTimerJobFactoryManager().setCommandService( this );
The issue seems to be that timer job instances should not executed until the knowledge session is completely initialised. This initialisation should include things like registering the work item handlers which should solve your problem.
I believe that the knowledge session itself needs some sort of "resume" method so that it can be instructed when to resume once it has been completely initialised. This "resume" method would kick-off any timer jobs. Unfortunately I am not familiar enough with the Drools/JBPM code-base to suggest how this should be implemented.
Regards,
Marcus
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/736669#736669]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[EJB3] - Runtime Exception while creating EJB Object
by Hushen Savani
Hushen Savani [https://community.jboss.org/people/hushen.savani] created the discussion
"Runtime Exception while creating EJB Object"
To view the discussion, visit: https://community.jboss.org/message/648806#648806
--------------------------------------------------------------
Hi Community,
I have developed an application with *Java 1.6*, *EJB-2.1*. The application is deployed on *JBossAS-5.1.0*. The application has been running very smooth for long a time. But for last two days, I found following sort of Runtime Exception while creating EJB Local Object/Local Home:
*Log Snippet-1*:
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
Caused by: java.lang.NullPointerException
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
at
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyF
actory.java:343)
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
at
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
2012-01-25 17:09:02,896 ERROR [STDERR] (WorkerThread#4[127.0.0.1:47153])
at $Proxy257.create(Unknown Source)
*Log Snippet-2*:
java.lang.NullPointerException
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:457)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy263.getDynamicLoopMessage_Generalized(Unknown Source)
*Log Snippet-3*:
2012-01-17 16:44:49,063 ERROR [org.jboss.ejb.plugins.LogInterceptor] (WorkerThread#5[192.168.1.76:19743]) RuntimeException in method: public abstract com.elitecore.billingengine.utils.BEResultObject com.elitecore.billingengine.ejb.billpreview.interfaces.IBillPreviewSessionLocal.doBasePriceCalculation(com.elitecore.billingengine.utils.BEHashMap):
java.lang.NullPointerException
at com.elitecore.billingengine.ejb.billpreview.sessionfacade.BillPreviewSessionFacade.doBasePriceCalculation(BillPreviewSessionFacade.java:357)
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)
Also, the whole server.log is attached with this thread. Pls. suggest some pointers on the same.
Thank you.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/648806#648806]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[jBPM] - Error deploying jbpm-gwt-console.war IN JBOSS 7.1 Thunder
by Sukumaran Raghavan
Sukumaran Raghavan [https://community.jboss.org/people/suku_1983] created the discussion
"Error deploying jbpm-gwt-console.war IN JBOSS 7.1 Thunder"
To view the discussion, visit: https://community.jboss.org/message/724805#724805
--------------------------------------------------------------
Hi,
I was trying to setup JBPM 5.2 in JBoss AS7 thunder with MySql.
I used part of the ant scripts and performed some of the steps manually. Everything runs well when i use JBoss 7.0.2.
However when i use 7.1 Thunder, the deployment of the console war fails. Error details below
18:10:07,929 INFO [org.jboss.web] (MSC service thread 1-7) JBAS018210: Registering web context: /jbpm-gwt-console-server
18:10:09,783 ERROR [org.reflections.Reflections] (MSC service thread 1-7) could not create Vfs.Dir from url. ignoring the exception and continuing: org.reflections.ReflectionsException: could not create Dir using org.jboss.errai.bus.server.service.metadata.VFSUrlType from url vfs:/content/jbpm-gwt-console.war/WEB-INF/classes/
at org.reflections.vfs.Vfs.fromURL(Vfs.java:99) [reflections-0.9.5-RC2_jboss-SP1.jar:]
at org.reflections.vfs.Vfs.fromURL(Vfs.java:89) [reflections-0.9.5-RC2_jboss-SP1.jar:]
at org.reflections.Reflections.scan(Reflections.java:136) [reflections-0.9.5-RC2_jboss-SP1.jar:]
at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.<init>(MetaDataScanner.java:83) [errai-bus-1.1-Final.jar:1.1-Final]
at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:95) [errai-bus-1.1-Final.jar:1.1-Final]
at org.jboss.errai.bus.server.service.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:87) [errai-bus-1.1-Final.jar:1.1-Final]
at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl.<init>(ErraiServiceConfiguratorImpl.java:58) [errai-bus-1.1-Final.jar:1.1-Final]
at org.jboss.errai.bus.server.service.ErraiServiceConfiguratorImpl$$FastClassByGuice$$b6139751.newInstance(<generated>)
at com.google.inject.internal.cglib.reflect.FastConstructor.newInstance(FastConstructor.java:40) [guice-2.0.jar:]
at com.google.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) [guice-2.0.jar:]
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:85) [guice-2.0.jar:]
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [guice-2.0.jar:]
at com.google.inject.SingleParameterInjector.inject(SingleParameterInjector.java:42) [guice-2.0.jar:]
at com.google.inject.SingleParameterInjector.getAll(SingleParameterInjector.java:66) [guice-2.0.jar:]
at com.google.inject.ConstructorInjector.construct(ConstructorInjector.java:84) [guice-2.0.jar:]
at com.google.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:111) [guice-2.0.jar:]
at com.google.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45) [guice-2.0.jar:]
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:811) [guice-2.0.jar:]
at com.google.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42) [guice-2.0.jar:]
at com.google.inject.Scopes$1$1.get(Scopes.java:54) [guice-2.0.jar:]
at com.google.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:48) [guice-2.0.jar:]
at com.google.inject.FactoryProxy.get(FactoryProxy.java:56) [guice-2.0.jar:]
at com.google.inject.InjectorImpl$4$1.call(InjectorImpl.java:758) [guice-2.0.jar:]
at com.google.inject.InjectorImpl.callInContext(InjectorImpl.java:804) [guice-2.0.jar:]
at com.google.inject.InjectorImpl$4.get(InjectorImpl.java:754) [guice-2.0.jar:]
at com.google.inject.InjectorImpl.getInstance(InjectorImpl.java:793) [guice-2.0.jar:]
at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.buildService(AbstractErraiServlet.java:133) [errai-bus-1.1-Final.jar:1.1-Final]
at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.init(AbstractErraiServlet.java:104) [errai-bus-1.1-Final.jar:1.1-Final]
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.10.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_26]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_26]
at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_26]
Anyone facing the same issue? Any clues would save a lot of time for me :)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/724805#724805]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[jBPM] - jbpm5.2 guvnor/designer/console not deploying
by alain1106
alain1106 [https://community.jboss.org/people/alain1106] created the discussion
"jbpm5.2 guvnor/designer/console not deploying"
To view the discussion, visit: https://community.jboss.org/message/719690#719690
--------------------------------------------------------------
Hello
I am facing the following issue with the Jboss7 / JBPM5.2.0 installer (jbpm-5.2.0.final-installer-full) :
the server installs (ant install.demo) and starts (ant start.demo) all right but the guvnor, designer and console war files do not deploy correctly, resulting in http 404 errors.
Accessing the Jboss admin console on port 8080 works perfectly.
I have checked the forum for similar issues and tried a number of things as suggested there (offsetting port numbers, clean.demo and reinstall) with no results
The server log points to classpath errors , I guess that is where the problem is ?
I have checked 4 or 5 similar posts on the forum but none seems to be exactly the same issue ... :-(
thanks in advance for any hint !
alain
15:27:40,591 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
15:27:40,822 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
15:27:41,773 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem
15:27:41,933 INFO [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
15:27:41,963 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem
15:27:42,184 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
15:27:42,464 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 3.2.0.Beta2
15:27:42,784 INFO [org.xnio] (MSC service thread 1-2) XNIO Version 3.0.0.Beta3
15:27:42,945 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.0.0.Beta3
15:27:46,400 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_27\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.6.0_27\bin;C:\Program Files\Apache Software Foundation\apache-maven-3.0.3\bin;E:\ApachePHP\PHP\;C:\Program Files\Common Files\Avaya Modular Messaging;C:\Program Files\ThinkPad\Utilities;C:\oracle\ora81\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ThinkPad\ConnectUtilities;C:\WINDOWS\Downloaded Program Files;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Avaya Modular Messaging\Common;C:\Program Files\Avaya Modular Messaging\Common;C:\Program Files\Windows Imaging\;C:\GWT\gwt-windows-1.5.3\;C:\Program Files\Java\jdk1.6.0_27\bin\;C:\ant-182\bin;c:\Program Files\Enterprise Vault\EVClient\;C:\Program Files\Apache Software Foundation\apache-maven-3.0.3\bin;C:\Program Files\Apache Software Foundation\apache-maven-3.0.3;;.
15:27:46,870 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
15:27:47,692 INFO [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:9999
15:27:48,493 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Démarrage de Coyote HTTP/1.1 sur http-localhost-127.0.0.1-8080
15:27:48,563 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-2) Starting remote JMX connector
15:27:54,291 INFO [org.jboss.as.connector] (MSC service thread 1-2) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)
15:27:55,613 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:jboss/datasources/ExampleDS]
15:27:55,623 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) Bound data source [java:jboss/datasources/jbpmDS]
15:28:00,700 INFO [org.jboss.as.deployment] (MSC service thread 1-1) Started FileSystemDeploymentService for directory C:\jbpm520\jbpm-installer\jboss-as-7.0.2.Final\standalone\deployments
15:28:01,091 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final "Arc" started in 47428ms - Started 97 of 152 services (55 services are passive or on-demand)
15:28:01,592 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "designer.war"
15:28:01,592 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "drools-guvnor.war"
15:28:01,642 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "jbpm-gwt-console-server.war"
15:28:01,642 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "jbpm-gwt-console.war"
15:38:01,444 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Did not receive a response to the deployment operation within the allowed timeout period [600 seconds]. Check the server configurationfile and the server logs to find more about the status of the deployment.
15:38:01,474 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Did not receive a response to the deployment operation within the allowed timeout period [600 seconds]. Check the server configurationfile and the server logs to find more about the status of the deployment.
15:38:01,544 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "jbpm-gwt-console.war" was rolled back with failure message Operation cancelled
15:38:01,544 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "jbpm-gwt-console-server.war" was rolled back with no failure message
15:38:01,554 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "drools-guvnor.war" was rolled back with no failure message
15:38:01,554 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "designer.war" was rolled back with no failure message
15:38:01,564 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Did not receive a response to the deployment operation within the allowed timeout period [600 seconds]. Check the server configurationfile and the server logs to find more about the status of the deployment.
15:38:01,624 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Did not receive a response to the deployment operation within the allowed timeout period [600 seconds]. Check the server configurationfile and the server logs to find more about the status of the deployment.
15:38:15,654 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_cs.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,654 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_de_DE.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_es.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_fr.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_hu.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_it.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_ja_JP.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_ko_KR.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_pl.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_pt_BR.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_ru.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_zh_CN.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry derbyLocale_zh_TW.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/derby.jar" does not point to a valid jar for a Class-Path reference.
15:38:15,755 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/jbpm520/jbpm-installer/content/jbpm-gwt-console-server.war/WEB-INF/lib/mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
15:38:19,300 WARN [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-1) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"
15:38:19,310 WARN [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-1) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"
15:38:20,001 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry avalon-framework-4.2.0.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,001 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry batik-all-1.7.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,001 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-io-1.3.1.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-logging-1.0.4.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry serializer-2.7.0.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry servlet-2.2.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xalan-2.7.0.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xercesImpl-2.7.1.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xml-apis-1.3.04.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xml-apis-ext-1.3.04.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,071 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xmlgraphics-commons-1.3.1.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry fop-hyph.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jai_codec.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jai_core.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jai_imageio.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jimi-1.0.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xmlunit1.0.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/fop-0.95.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb-api.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jsr173_1.0_api.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry jaxb1-impl.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jaxb-impl-2.2.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xalan-2.7.1.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry serializer-2.7.1.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xercesImpl-2.9.1.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry xml-apis-1.0.b2.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-lang-2.6.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry commons-io-2.1.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry log4j-1.2.16.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/jbpmmigration-0.10-SNAPSHOT.jar" does not point to a valid jar for a Class-Path reference.
15:38:20,081 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) Class Path entry activation.jar in "/C:/jbpm520/jbpm-installer/content/designer.war/WEB-INF/lib/mail-1.4.1.jar" does not point to a valid jar for a Class-Path reference.
15:39:23,893 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment jbpm-gwt-console-server.war in 63892ms
15:39:23,893 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment jbpm-gwt-console.war in 63893ms
15:39:23,893 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment designer.war in 63893ms
15:40:03,369 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_cs.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,369 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_de_DE.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_es.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_fr.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_hu.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_it.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_ja_JP.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_ko_KR.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_pl.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_pt_BR.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_ru.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_zh_CN.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry derbyLocale_zh_TW.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/derby-10.5.3.0_1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox-2.1.2.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry bcmail-jdk14-138.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry bcprov-jdk14-138.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/itext-2.1.2.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb-api.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/jaxb-impl-2.2.1.1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/jaxb-impl-2.2.1.1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jsr173_1.0_api.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/jaxb-impl-2.2.1.1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry jaxb1-impl.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/jaxb-impl-2.2.1.1.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,379 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry activation.jar in "/C:/jbpm520/jbpm-installer/content/drools-guvnor.war/WEB-INF/lib/mail-1.4.jar" does not point to a valid jar for a Class-Path reference.
15:40:03,590 WARN [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-2) Encountered invalid class name "org.springframework.context.ApplicationContext,org.springframework.beans.BeansException" for service type "org.apache.cxf.bus.factory"
15:40:03,590 WARN [org.jboss.as.server.deployment.service-loader] (MSC service thread 1-2) Encountered invalid class name "org.xmlpull.mxp1.MXParser,org.xmlpull.mxp1_serializer.MXSerializer" for service type "org.xmlpull.v1.XmlPullParserFactory"
15:40:12,783 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment drools-guvnor.war in 112785ms
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/719690#719690]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[Snowdrop] - CGLIB errors
by Eric Manuguerra
Eric Manuguerra [https://community.jboss.org/people/michel.strogoff] created the discussion
"CGLIB errors"
To view the discussion, visit: https://community.jboss.org/message/733834#733834
--------------------------------------------------------------
Hi,
I am trying to deploy a subset of a Spring 2.5.6 application on JBoss AS 7.1.1 (this application is currently running on JBoss 5.1.0 GA).
I have installed Snowdrop on JBoss as explained in the http://docs.redhat.com/docs/en-US/JBoss_Web_Framework_Kit/1.1/html-single... manual.
The application is an EAR having the following structure :
app-root
/lib
...
cglib-2.1_3.jar
...
/META-INF
application.xml
jboss-deployment-structure.xml
module1.jar
The module1.jar contains the Spring application context definition files which are loaded by org.jboss.spring.vfs.context.VFSClassPathXmlApplicationContext.
After startup, Spring complains about a missing cglib library and raises an AopConfigException :
Caused by: org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
at org.springframework.aop.framework.DefaultAopProxyFactory.createAopProxy(DefaultAopProxyFactory.java:67) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.ProxyCreatorSupport.createAopProxy(ProxyCreatorSupport.java:106) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:110) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:490) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:365) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:325) [spring-aop.jar:2.5.6.SEC02]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361) [spring-beans.jar:2.5.6.SEC02]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1344) [spring-beans.jar:2.5.6.SEC02]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) [spring-beans.jar:2.5.6.SEC02]
If I add the cglib library as a dependency of the org.springframework.spring:snowdrop module, then I get an IllegalArgumentException :
java.lang.IllegalArgumentException: class com.itesoft.share.persistence.iod.multitenant.TenantInterceptor$$EnhancerByCGLIB$$398b4762_3 is not an enhanced class
at net.sf.cglib.proxy.Enhancer.setCallbacksHelper(Enhancer.java:618) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.setThreadCallbacks(Enhancer.java:609) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.createUsingReflection(Enhancer.java:631) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.firstInstance(Enhancer.java:538) [cglib-2.1_3.jar:]
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:225) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377) [cglib-2.1_3.jar:]
at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:285) [cglib-2.1_3.jar:]
at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:201) [spring-aop.jar:2.5.6.SEC02]
... 189 more
I don't understand why this is happening and I can't find much information about tyhe "not an enhanced class" exception.
I don't encounter these errors on JBoss 5.1.0 with the same Spring and CGLIB versions.
Any help would be much appreciated.
Best regards,
Eric
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/733834#733834]
Start a new discussion in Snowdrop at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months