Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12686

SOLRJ 7.x library fails ejb deployment with weblogic

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Invalid
    • Affects Version/s: 7.4
    • Fix Version/s: None
    • Component/s: clients - java, SolrJ
    • Labels:
      None
    • Environment:

      Weblogic Cluster with sorj 7.x library

      Description

      Hi Team,

                   We have an ejb application and deployment in weblogic cluster where the application uses SOLRJ java client to communicate with SOLR.

                   Previously we were using solrj 5.4 and it was working fine. Recently we enabled kerberos in our cluster so we forced to upgrade our solrj library to 7.x. since the authentication stuff classes are available only in solrj version 7.x

                    ours is maven project so are using "weblogic-maven-plugin" to compile all our jsp files before deployment and build fails due to below error trace

                     And also also we runs the build by removing that "weblogic-maven-plugin" in pom. But this time build is success and deployment fails.

       

      [jspc] -webapp specified, searching . for JSPs
      [jspc] No jsp files found, nothing to do
      java.lang.ArrayIndexOutOfBoundsException: 22091
      at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
      at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
      at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:51)
      at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos
      at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.j
      at weblogic.application.utils.annotation.ClassfinderClassInfos.<init>(ClassfinderClassInfos.java:35)
      at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443)
      at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373)
      at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionCont
      at weblogic.ejb.container.deployer.BaseModuleExtensionFactory.hasAnnotatedEJBs(BaseModuleExtensionFactory
      at weblogic.ejb.tools.EJBToolsModuleExtensionFactory.create(EJBToolsModuleExtensionFactory.java:22)
      at weblogic.application.compiler.ModuleState.initExtensions(ModuleState.java:206)
      at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:148)
      at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:69)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
      at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:53)
      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:101)
      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:35)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
      at weblogic.application.compiler.Appc.runBody(Appc.java:203)
      at weblogic.utils.compiler.Tool.run(Tool.java:158)
      at weblogic.utils.compiler.Tool.run(Tool.java:115)
      at weblogic.application.compiler.Appc.main(Appc.java:263)
      at weblogic.appc.main(appc.java:14)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:301)
      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:261)
      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:164)
      at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:191)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecu
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      [ERROR] Exception encountered during APPC processing
      weblogic.utils.compiler.ToolFailureException: 22091
      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:310)
      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:261)
      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:164)
      at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:191)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecu
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: weblogic.utils.compiler.ToolFailureException: 22091
      at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:54)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:38)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
      at weblogic.application.compiler.Appc.runBody(Appc.java:203)
      at weblogic.utils.compiler.Tool.run(Tool.java:158)
      at weblogic.utils.compiler.Tool.run(Tool.java:115)
      at weblogic.application.compiler.Appc.main(Appc.java:263)
      at weblogic.appc.main(appc.java:14)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:301)
      ... 22 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 22091
      at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
      at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
      at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:51)
      at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos
      at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.j
      at weblogic.application.utils.annotation.ClassfinderClassInfos.<init>(ClassfinderClassInfos.java:35)
      at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443)
      at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373)
      at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionCont
      at weblogic.ejb.container.deployer.BaseModuleExtensionFactory.hasAnnotatedEJBs(BaseModuleExtensionFactory
      at weblogic.ejb.tools.EJBToolsModuleExtensionFactory.create(EJBToolsModuleExtensionFactory.java:22)
      at weblogic.application.compiler.ModuleState.initExtensions(ModuleState.java:206)
      at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:148)
      at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:69)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
      at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:53)
      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:101)
      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:35)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
      ... 33 more
      — Nested Exception —
      weblogic.utils.compiler.ToolFailureException: 22091
      at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:54)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:38)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
      at weblogic.application.compiler.Appc.runBody(Appc.java:203)
      at weblogic.utils.compiler.Tool.run(Tool.java:158)
      at weblogic.utils.compiler.Tool.run(Tool.java:115)
      at weblogic.application.compiler.Appc.main(Appc.java:263)
      at weblogic.appc.main(appc.java:14)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at weblogic.ant.taskdefs.j2ee.CompilerTask.invokeMain(CompilerTask.java:301)
      at weblogic.ant.taskdefs.j2ee.Appc.privateExecute(Appc.java:261)
      at weblogic.ant.taskdefs.j2ee.Appc.execute(Appc.java:164)
      at org.codehaus.mojo.weblogic.AppcMojo.execute(AppcMojo.java:191)
      at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecu
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:
      at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 22091
      at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
      at com.bea.objectweb.asm.ClassReader.<init>(Unknown Source)
      at weblogic.application.utils.annotation.ClassInfoImpl.<init>(ClassInfoImpl.java:51)
      at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos
      at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.j
      at weblogic.application.utils.annotation.ClassfinderClassInfos.<init>(ClassfinderClassInfos.java:35)
      at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443)
      at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373)
      at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionCont
      at weblogic.ejb.container.deployer.BaseModuleExtensionFactory.hasAnnotatedEJBs(BaseModuleExtensionFactory
      at weblogic.ejb.tools.EJBToolsModuleExtensionFactory.create(EJBToolsModuleExtensionFactory.java:22)
      at weblogic.application.compiler.ModuleState.initExtensions(ModuleState.java:206)
      at weblogic.application.compiler.flow.CompileModuleFlow.compileModules(CompileModuleFlow.java:148)
      at weblogic.application.compiler.flow.CompileModuleFlow.compile(CompileModuleFlow.java:69)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:27)
      at weblogic.application.compiler.EARCompiler.compile(EARCompiler.java:53)
      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:101)
      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:35)
      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:70)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)

       

       

      Please help us to solve this problem.

       

       

      Thanks & Regrads,

      J.Ganesh Kumar.

       

       

       

                      

        Attachments

        1. Capture.PNG
          13 kB
          ganesh

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ganeshkumarjbanca ganesh
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: