Jboss 6.1 deployment+Jpa 2.0
sharma.vijay16 Oct 14, 2011 11:48 AMHi,
Im trying to deploy the ear file on jboss default folder, here what i did:
1) Create oracle-ds.xml and put inside default folder.
2) I put ear file on default folder.
Note: We are using JPA2.0 and hibernate 3.5. All 3rd party jars are bundled inside ear>lib folder.
When I start the application then it throws exception of our custom filter which we have in our web-inf/web.xml
11:03:40,341 ERROR [[/]] Exception starting filter RequestAuthenticationBypassFilter: java.lang.ClassCastException: com.workbrain.server.servlet.filter.BypassFilter cannot be cast to javax.servlet.Filter
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:441) [:6.1.0.Final]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3246) [:6.1.0.Final]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3843) [:6.1.0.Final]
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:294) [:6.1.0.Final]
at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) [:6.1.0.Final]
at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:476) [:6.1.0.Final]
at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) [:6.1.0.Final]
at org.jboss.web.deployers.WebModule.start(WebModule.java:95) [:6.1.0.Final]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_18]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_18]
------------------------------------
Im wondering what configuration required for deploy the JAP2.0 app on jboss 6.1.
It is quite urgent for us because it is one key things which is stopping us to moving forward with jboss.
Our app properly deploy with Weblogic 10.3, Websphere 7.0 and Glassfish 3.X
Im a key decision maker for this app deployment.
If you think any configuration is missing then please adivse me ASAP.
-
oracle-ds.xml 4.4 KB