[JBoss jBPM] - ClassNotFoundException JbpmContextFilter on Glassfish
by lucky_luuk
I am trying to install jBPM on a glassfish server and followed the instructions as found on http://blogs.sun.com/chengfang/entry/how_to_run_jbpm_on.
I get a the following error however, and cannot find a lead:
org.jbpm.web.JbpmContextFilter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1511) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1292) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:333) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:89) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4104) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4765) at com.sun.enterprise.web.WebModule.start(WebModule.java:292) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095) at org.apache.catalina.core.StandardHost.start(StandardHost.java:924) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1095) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520) at org.apache.catalina.startup.Embedded.start(Embedded.java:920) at com.sun.enterprise.web.WebContainer.start(WebContainer.java:794) at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722) at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:72) at com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceGroup.java:266) at com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebServiceGroup.java:210) at com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:60) at com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180) at java.security.AccessController.doPrivileged(Native Method) at com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177) at com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45) at com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72) at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62) at com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generateAppLoaderEntryContext(ServerEntryHelper.java:47) at com.sun.enterprise.server.AbstractLoader.generateEntryContext(AbstractLoader.java:831) at com.sun.enterprise.server.AbstractLoader.notifyAppEvent(AbstractLoader.java:837) at com.sun.enterprise.server.DummyWebModuleLoader.load(DummyWebModuleLoader.java:62) at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:206) at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:201) at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:326) at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112) at com.sun.enterprise.server.PEMain.run(PEMain.java:326) at com.sun.enterprise.server.PEMain.main(PEMain.java:260) 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:585) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
I have myfaces loading as well as jsf (which I use in my applications running on the glassfish app server).
Any body any idea?
Thanks in advance,
Luuk
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988235#3988235
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988235
19Â years, 5Â months
[JCA/JBoss] - Re: Oracle 10g Fast Connection Failover
by bocio
"weston.price(a)jboss.com" wrote :
| I am sorry you have had this experience. What we generally try to impart to people is warning that if you are using an API in an unintended manner or purposely try to thrwart an API then you should not be surprised when unforseen consequences occur.
|
As I said before, I completely agree with you, but in my experience, Sometime we are forced to integrate our AS with an existing legacy system and I have to stick with vendor specific data. If I have to call dozen of functions full of Oracle datatypes, should I kill the customer db architect with a JDBC book? :-)
Furthermore, being Oracle a db market leader, sometimes tramples on standards...
"weston.price(a)jboss.com" wrote :
| Now, you could very well call close on the underlying connection, but that would fall squarely in the realm of *not recommended* abuses of an API. I am not sure why you would ever want to completely destroy the underlying connection anyway. Could you explain why you would want to do this?
|
I could need to work with a specific vendor type. I could do this with the underlying connection but... if something goes wrong I need a way to notify the ManagedConnection of the error.
Would be very useful for solving particular problems in some cases and still write robust code.
I've been working for years with Sybase and their datasource is nearly 100% jdbc compliant: you can also retrieve multiple resultset from store procs through jdbc.
Bye
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988234#3988234
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988234
19Â years, 5Â months
[JBoss Seam] - Possible to test Passivation from Embedded EJB3?
by lowecg2004
Hello,
I'm seeing quite a few of the following exceptions in my application:
Could not activate; failed to restore state
|
| at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:306)
|
| at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:265)
|
| ...
| Caused by: java.lang.ClassCastException: org.jboss.serial.io.MarshalledObject
|
| at org.jboss.ejb3.stateful.StatefulBeanContext.readExternal(StatefulBeanContext.java:416)
|
| at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72)
|
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
|
| at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
|
| at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
|
| at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
|
| at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
|
| at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:292)
|
| ... 100 more
I am aware that there is a difference between timeouts of SFSB and HTTP session, the values of which I have aligned as per the discussion at the following:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93589
Still no joy.
The next problem that could causes passivation errors is the fact that my stateful beans are not serializable either directly or indirectly due to a class member. Trying to recreate this outside of the application server is proving tricky since my beans naturally use the injection mechanisms of Seam. Therefore if I'm to test serialization properly, then I need to prepare the SFSBs in a SeamTest.
This is where I'm stuck due to the generated beans that I get back from the mock context being proxies rather than instances of the beans. How can I test if my SFSBs are serializable? Am I able to instruct the embedded EJB3 container to passivate my bean and then reawaken it? Or is there a way to get at the underlying beans to serialize them myself? Or am I on the wrong track entirely? Basically, I need to track down the cause of the above exception and somehow try and prevent further problems from cropping up. Any suggestions?
Best Regards,
Chris.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988223#3988223
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988223
19Â years, 5Â months