Announcement Announcement Module
Collapse
No announcement yet.
Can Not deploy to BEA WEB Logic 10 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can Not deploy to BEA WEB Logic 10

    We have a simple spring application developed using eclipse. We ha ve been able to deploy the application to TOMCAT 6 on a local PC ising a war file that was generated by ANT script. The deployment to TOMCAT had no issues. When deploying the war file to an instance of BEA Weblogic 10 running on a unix box we get the following error.

    The Deployment has not been installed

    java.llang.StringIndexOutOfBoundsException: String index out of range: -42


    Any help will be appreciated

  • #2
    Can u post the complete stacktrace?

    Comment


    • #3
      Isyak

      There was no stack trace

      Comment


      • #4
        Hi Kenpe,

        i'm really confuse with your issue

        what bea weblogic version you use? i mean the minor 10.1 / 10.2 / 10.3
        try to upgrade or downgrade the version.
        for 10.3 it's still on tech preview, better don't use it first.

        Comment


        • #5
          Isyak
          we are not using 10.3. we are using 10.1.


          They have been able to deploy it. We now have another issue.
          The application executes properly in tomcat. In we logic it generates the following exception.

          ####<Feb 8, 2008 2:42:26 PM EST> <Warning> <HTTP> <asr0100578> <ivsdevelopment10> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1202499746476> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListe ner failed: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExc eptionTranslationPostProcessor#0' defined in ServletContext resource [/WEB-INF/ivoice-data.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/ivoice-data.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateExcep tion; nested PropertyAccessExceptions (1) are:
          PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [java.lang.Class[]] for property 'annotatedClasses'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.vzbi.ivoice.domain.Code]. Root cause: java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.vzbi.ivoice.domain.Code'.
          org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExc eptionTranslationPostProcessor#0' defined in ServletContext resource [/WEB-INF/ivoice-data.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/ivoice-data.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateExcep tion; nested PropertyAccessExceptions (1) are:
          PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to required type [java.lang.Class[]] for property 'annotatedClasses'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.vzbi.ivoice.domain.Code]. Root cause: java.lang.ClassNotFoundException: Class bytes found but defineClass()failed for: 'com.vzbi.ivoice.domain.Code'
          at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:445)
          at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:383)
          at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:353)
          at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 45)
          at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:169)
          at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:242)
          at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:164)
          at org.springframework.context.support.AbstractApplic ationContext.getBean(AbstractApplicationContext.ja va:888)
          at org.springframework.context.support.AbstractApplic ationContext.registerBeanPostProcessors(AbstractAp plicationContext.java:585)
          at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:351)
          at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:261)
          at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:199)
          at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 45)
          at weblogic.servlet.internal.EventsManager$FireContex tListenerAction.run(EventsManager.java:458)
          at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
          at weblogic.security.service.SecurityManager.runAs(Un known Source)
          at weblogic.servlet.internal.EventsManager.notifyCont extCreatedEvent(EventsManager.java:168)
          at weblogic.servlet.internal.WebAppServletContext.pre loadResources(WebAppServletContext.java:1744)
          at weblogic.servlet.internal.WebAppServletContext.sta rt(WebAppServletContext.java:2909)
          at weblogic.servlet.internal.WebAppModule.startContex ts(WebAppModule.java:973)
          at weblogic.servlet.internal.WebAppModule.start(WebAp pModule.java:361)
          at weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.ScopedModuleDri ver.start(ScopedModuleDriver.java:200)
          at weblogic.application.internal.flow.ModuleListenerI nvoker.start(ModuleListenerInvoker.java:117)
          at weblogic.application.internal.flow.ModuleStateDriv er$3.next(ModuleStateDriver.java:204)
          at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:26)
          at weblogic.application.internal.flow.ModuleStateDriv er.start(ModuleStateDriver.java:60)
          at weblogic.application.internal.flow.StartModulesFlo w.activate(StartModulesFlow.java:26)
          at weblogic.application.internal.BaseDeployment$2.nex t(BaseDeployment.java:635)
          at weblogic.application.utils.StateMachineDriver.next State(StateMachineDriver.java:26)
          at weblogic.application.internal.BaseDeployment.activ ate(BaseDeployment.java:212)
          at weblogic.application.internal.DeploymentStateCheck er.activate(DeploymentStateChecker.java:154)
          at weblogic.deploy.internal.targetserver.AppContainer Invoker.activate(AppContainerInvoker.java:80)
          at weblogic.deploy.internal.targetserver.operations.A bstractOperation.activate(AbstractOperation.java:5 66)
          at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.activateDeployment(ActivateOperat ion.java:136)
          at weblogic.deploy.internal.targetserver.operations.A ctivateOperation.doCommit(ActivateOperation.java:1 04)
          at weblogic.deploy.internal.targetserver.operations.S tartOperation.doCommit(StartOperation.java:139)
          at weblogic.deploy.internal.targetserver.operations.A bstractOperation.commit(AbstractOperation.java:320 )
          at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleDeploymentCommit(DeploymentManager.jav a:816)
          at weblogic.deploy.internal.targetserver.DeploymentMa nager.activateDeploymentList(DeploymentManager.jav a:1223)
          at weblogic.deploy.internal.targetserver.DeploymentMa nager.handleCommit(DeploymentManager.java:434)
          at weblogic.deploy.internal.targetserver.DeploymentSe rviceDispatcher.commit(DeploymentServiceDispatcher .java:161)
          at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.doCommitCallback(D eploymentReceiverCallbackDeliverer.java:181)
          at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer.access$100(Deploym entReceiverCallbackDeliverer.java:12)
          at weblogic.deploy.service.internal.targetserver.Depl oymentReceiverCallbackDeliverer$2.run(DeploymentRe ceiverCallbackDeliverer.java:67)
          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapte rImpl.run(SelfTuningWorkManagerImpl.java:464)
          at weblogic.work.ExecuteThread.execute(ExecuteThread. java:200)
          at weblogic.work.ExecuteThread.run(ExecuteThread.java :172)

          Comment


          • #6
            Hi kenpe,

            i search in forum and find out there is a similar stacktrace ini this thread

            Code:
            http://forum.springframework.org/archive/index.php/t-36587.html
            hope this can help u.

            Comment


            • #7
              Hi,

              I am having this error message when i am trying to deploy my project using weblogic server10


              When processing WebService module 'MessageTransferServiceUtility.war'. Failed t
              o load servlet Class: utility.message.serviceimpl.MessageReceiverer
              Ignoring: unable to load class:java.lang.ClassNotFoundException: Class bytes fou
              nd but defineClass()failed for: 'utility.message.serviceimpl.MessageReceiverer'
              at: weblogic.xml.schema.binding.util.ClassUtil.loadCla ss(ClassUtil.java:76)
              When processing WebService module 'MessageTransferServiceUtility.war'. Failed t
              o load servlet Class: utility.message.serviceimpl.MessageReceiverer
              Ignoring: unable to load class:java.lang.ClassNotFoundException: Class bytes fou
              nd but defineClass()failed for: 'utility.message.serviceimpl.MessageReceiverer'
              at: weblogic.xml.schema.binding.util.ClassUtil.loadCla ss(ClassUtil.java:76)
              <Jul 15, 2013 2:35:01 PM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@47405
              127[app:MessageTransferServiceUtilityEAR module:MessageTransferServiceUtility pa
              th:/MessageTransferServiceUtility spec-version:2.5]] Root cause of ServletExcept
              ion.
              java.lang.ClassFormatError: javax/xml/messaging/Endpoint : Missing Code attribut
              e
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClassCond(ClassLoader. java:632)
              at java.lang.ClassLoader.defineClass(ClassLoader.java :616)
              at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:14
              1)
              at java.net.URLClassLoader.defineClass(URLClassLoader .java:283)
              Truncated. see log file for complete stacktrace
              >

              Comment

              Working...
              X