Win a copy of The Career Toolkit this week in the Jobs Discussion forum!

Pravin Sumit

Greenhorn
+ Follow
since Sep 22, 2020
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pravin Sumit

[11/11/20 5:14:53:541 UTC] 000000e1 ExceptionHand E com.notify.jsf.util.ExceptionHandler handle NullPointerException: null
[11/11/20 5:14:53:541 UTC] 000000e1 ExceptionHand E com.notify.jsf.util.ExceptionHandler handle org.apache.myfaces.view.facelets.el.ContextAwareELException: javax.el.ELException: java.lang.NullPointerException
at org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:108)
at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
at javax.faces.component.UICommand.broadcast(UICommand.java:120)
at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1172)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:365)
at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1658)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:862)
at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:42)
at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:196)
at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:143)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
at com.notify.templates.web.servlets.NoCacheFilter.doFilter(NoCacheFilter.java:34)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:70)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.notify.templates.web.servlets.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:12)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.notify.templates.web.servlets.XssFilter.doFilter(XssFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.notify.templates.web.servlets.SecurityCheckFilter.doFilter(SecurityCheckFilter.java:37)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:82)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:963)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
Caused by: javax.el.ELException: java.lang.NullPointerException
at org.apache.el.parser.AstValue.invoke(AstValue.java:258)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)
at org.apache.myfaces.view.facelets.el.ContextAwareTagMethodExpression.invoke(ContextAwareTagMethodExpression.java:96)
... 50 more
Caused by: java.lang.NullPointerException
at com.ibm.jbatch.container.services.impl.MemoryPersistenceManagerImpl.getJobExecutionsRunning(MemoryPersistenceManagerImpl.java:443)
at com.ibm.jbatch.container.api.impl.JobOperatorImpl.getRunningExecutions(JobOperatorImpl.java:505)
at com.notify.templates.web.ui.ImportExportProgressHelper.verifyJobExecutions(ImportExportProgressHelper.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.apache.el.parser.AstValue.invoke(AstValue.java:245)
... 54 more
2 months ago
[exec]   [wsadmin] WebSphere:cell=Cell01,node=Node01,distribution=true,expansion=notprocessing
   [exec]   [wsadmin] ADMA5011I: The cleanup of the temp directory for application Notify is complete.
   [exec]   [wsadmin] ADMA5072I: Distribution status check completed for application Notify.
   [exec]   [wsadmin] [14/10/20 11:20:55] ==> Starting application Notify
   [exec]   [wsadmin] Traceback (most recent call last):
   [exec]   [wsadmin] [14/10/20 11:21:16] --> Failed to start application Notify
   [exec]
   [exec]   [wsadmin]   File "/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/scripts/WAS/scripts/was/steps/StartApplications.py", line 76, in setupConf
   [exec]   [wsadmin]     AdminControl.invoke(appManager, 'startApplication', [app.name])
   [exec]   [wsadmin] [14/10/20 11:21:16] ==> Done.
   [exec]   [wsadmin] WASX7017E: Exception received while running file "scripts/configureWAS.py"; exception information: javax.management.MBeanException
   [exec]   [wsadmin] com.ibm.ws.exception.RuntimeError
   [exec]   [wsadmin] com.ibm.ws.exception.RuntimeWarning
   [exec]   [wsadmin] javax.resource.ResourceException: javax.resource.ResourceException: Failed to lookup ActivationSpec.jms/amq/invalidateCachesSpec
   [exec]
   [exec]   [wsadmin] com.ibm.ws.scripting.ScriptingException: com.ibm.ws.scripting.ScriptingException: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation startApplication
   [exec]
   [exec] BUILD FAILED
   [exec] /tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/scripts/WAS/build.xml:84: Java returned: 105
   [exec]
   [exec] Total time: 2 minutes 24 seconds

BUILD FAILED
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/wizard.xml:256: The following error occurred while executing this line:
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/macrodefs.xml:1668: The following error occurred while executing this line:
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/macrodefs.xml:1627: The following error occurred while executing this line:
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/macrodefs.xml:1572: exec returned: 1
3 months ago
[exec]   [wsadmin] WebSphere:cell=Cell01,node=Node01,distribution=true,expansion=notprocessing
    [exec]   [wsadmin] ADMA5011I: The cleanup of the temp directory for application Notify is complete.
    [exec]   [wsadmin] ADMA5072I: Distribution status check completed for application Notify.
    [exec]   [wsadmin] [14/10/20 11:20:55] ==> Starting application Notify
    [exec]   [wsadmin] Traceback (most recent call last):
    [exec]   [wsadmin] [14/10/20 11:21:16] --> Failed to start application Notify
    [exec]
    [exec]   [wsadmin]   File "/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/scripts/WAS/scripts/was/steps/StartApplications.py", line 76, in setupConf
    [exec]   [wsadmin]     AdminControl.invoke(appManager, 'startApplication', [app.name])
    [exec]   [wsadmin] [14/10/20 11:21:16] ==> Done.
    [exec]   [wsadmin] WASX7017E: Exception received while running file "scripts/configureWAS.py"; exception information: javax.management.MBeanException
    [exec]   [wsadmin] com.ibm.ws.exception.RuntimeError
    [exec]   [wsadmin] com.ibm.ws.exception.RuntimeWarning
    [exec]   [wsadmin] javax.resource.ResourceException: javax.resource.ResourceException: Failed to lookup ActivationSpec.jms/amq/invalidateCachesSpec
    [exec]
    [exec]   [wsadmin] com.ibm.ws.scripting.ScriptingException: com.ibm.ws.scripting.ScriptingException: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation startApplication
    [exec]
    [exec] BUILD FAILED
    [exec] /tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/scripts/WAS/build.xml:84: Java returned: 105
    [exec]
    [exec] Total time: 2 minutes 24 seconds

BUILD FAILED
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/wizard.xml:256: The following error occurred while executing this line:
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/macrodefs.xml:1668: The following error occurred while executing this line:
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/macrodefs.xml:1627: The following error occurred while executing this line:
/tmp/Legacy/Notify/notify-application-server-distribution-4.1-SNAPSHOT/macrodefs.xml:1572: exec returned: 1
3 months ago
JSF
We are using below java versions

java version "1.8.0_151"
javac -version 1.8.0

same on websphere 9
3 months ago
JSF
JRE Version = JRE 1.8.0
Oracle JDBC driver = Driver ojdbc8.jar
3 months ago
JSF
[1/10/20 12:30:33:307 UTC] 00000092 J2CUtilityCla E   J2CA0036E: An exception occurred while invoking method setDataSourceProperties on com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/contentDatasource : java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=oracle/jdbc/pool/OracleConnectionPoolDataSource, offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:377)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:154)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:729)
at java.net.URLClassLoader.access$400(URLClassLoader.java:95)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1184)
at java.security.AccessController.doPrivileged(AccessController.java:730)
at java.net.URLClassLoader.findClass(URLClassLoader.java:604)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:244)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:924)
at java.lang.ClassLoader.loadClass(ClassLoader.java:869)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:135)
at java.lang.ClassLoader.loadClass(ClassLoader.java:852)
at com.ibm.ws.rsadapter.DSConfigHelper.loadClass(DSConfigHelper.java:1526)
at com.ibm.ws.rsadapter.DSConfigHelper.createDataSource(DSConfigHelper.java:745)
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.createNewDataSource(WSRdbDataSource.java:3029)
at com.ibm.ws.rsadapter.spi.WSRdbDataSource.<init>(WSRdbDataSource.java:1358)
at com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl.setDataSourceProperties(WSManagedConnectionFactoryImpl.java:2700)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
. Processing halted.
[1/10/20 12:30:33:312 UTC] 00000092 ConnectionFac E   J2CA0009E: An exception occurred while trying to instantiate the ManagedConnectionFactory class com.ibm.ws.rsadapter.spi.WSManagedConnectionFactoryImpl used by resource jdbc/contentDatasource : java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.ibm.ejs.j2c.J2CUtilityClass.createMCFEntry(J2CUtilityClass.java:532)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.createMCFandPM(ConnectionFactoryBuilderServerImpl.java:594)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderServerImpl.processObjectInstance(ConnectionFactoryBuilderServerImpl.java:1161)
at com.ibm.ejs.j2c.ServerFunction.processObjectInstance(ServerFunction.java:2026)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:664)
at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstanceUsingObjectFactoryBuilders(ObjectFactoryHelper.java:349)
at org.apache.aries.jndi.ObjectFactoryHelper.getObjectInstance(ObjectFactoryHelper.java:89)
at org.apache.aries.jndi.OSGiObjectFactoryBuilder.getObjectInstance(OSGiObjectFactoryBuilder.java:62)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:311)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:1122)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:925)
at com.ibm.ws.naming.jndicos.CNContextImpl.processBoundObjectForLookup(CNContextImpl.java:2877)
at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:3974)

3 months ago
JSF
If deploy the same code without Security.. its working...... getting below exception if the Security is ON


000000ba annotation    E com.ibm.ws.webcontainer.annotation.WASAnnotationHelper doInvokeSingle SRVE8061E: Unable to invoke method --> [init] on class --> [com.hhstechgroup.content.admin.bean.SearchBean].
                                java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.doInvokeSingle(WASAnnotationHelper.java:586)
at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.doInvokeChain(WASAnnotationHelper.java:492)
at com.ibm.ws.webcontainer.annotation.WASAnnotationHelper.doPostConstruct(WASAnnotationHelper.java:310)
at com.ibm.ws.jsf.config.annotation.WebSphereAnnotationLifecycleProvider.postConstruct(WebSphereAnnotationLifecycleProvider.java:97)
at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:224)
at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.createManagedBean(ManagedBeanResolver.java:329)
at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.getValue(ManagedBeanResolver.java:292)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:55)
at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:142)
at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:65)
at org.apache.myfaces.el.convert.VariableResolverToELResolver.getValue(VariableResolverToELResolver.java:116)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:55)
at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:142)
at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:71)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:283)
at org.apache.webbeans.el.WrappedValueExpression.getValue(WrappedValueExpression.java:68)
at org.apache.myfaces.view.facelets.el.TagValueExpression.getValue(TagValueExpression.java:85)
at javax.faces.component._ComponentAttributesMap.get(_ComponentAttributesMap.java:247)
at org.apache.myfaces.el.unified.resolver.CompositeComponentELResolver$CompositeComponentAttributesMapWrapper.get(CompositeComponentELResolver.java:319)
at javax.el.MapELResolver.getValue(MapELResolver.java:54)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:55)
at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:142)
at org.apache.el.parser.AstValue.getValue(AstValue.java:174)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:283)
at org.apache.webbeans.el.WrappedValueExpression.getValue(WrappedValueExpression.java:68)
at org.apache.myfaces.view.facelets.el.TagValueExpression.getValue(TagValueExpression.java:85)
at org.apache.myfaces.view.facelets.el.LocationValueExpression.getValue(LocationValueExpression.java:90)
at javax.faces.component._ComponentAttributesMap.get(_ComponentAttributesMap.java:247)
at org.apache.myfaces.el.unified.resolver.CompositeComponentELResolver$CompositeComponentAttributesMapWrapper.get(CompositeComponentELResolver.java:319)
3 months ago
JSF