Related Annotations

http://docs.oracle.com/cloud/CSJSU/feat_implement.htm
says - Applications using Servlet 2.5, JavaServer Pages (JSP) 2.1, Java Server Faces (JSF) release 1.2 and release 2.0. Use of web.xml, weblogic.xml deployment descriptors and related annotations is supported.
Does "related annotations" here mean that I can use annotations for my Servlets, Filters, Listeners...?
Or is declaring them in the web.xml my only option?
Could you please provide details of the annotations support on the Java Cloud?
Thanks!

Harshad,
I am in the process of vetting all injection support for Java EE 6 on the cloud managed version of WebLogic 12.1.1.0
So far I have been able to use @ManagedBean (no faces-config.xml tags required)
I have not been able to use @Singleton, @Stateless or inject an @EJB on my @ManagedBean
The use of the new EJB 3.1 @Schedule timer bean is not kicking in after cloud deployment either.
EJB 3.1 Timer @Singleton does not start on Oracle Cloud - works locally
Also the @PersistenceUnit EMF injection in the SDK example only works because the JPA2 entity .class files are statically weaved (do a diff between your complilation and the distributed .class file to see the instrumentation).
I am having difficulties using standard ejb container proxy injection that works fine on a local WebLogic server.
I will repost to this forum when I get non-JNDI and non-XML injected EJB's working.
thank you
/michael

Similar Messages

  • Deploy sip servlet to Occas5.0(weblogic) occurs exception: com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException

    hi,
    I install Occas on OS win7 64bit, jdk 1.6.0.45.
    I got the following error message while I start Occas server:
    because error occurs when parsing sip related annotations of "testservicecomplexobject-application"
    WLST-WLS-1396579151484: com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init><SipAnnotationData.java:155>
    Also, when I deploy a sip servlet package(sar) to the Occas server, after deploy finish, at the deployment manager page,
    health term is none.
    and also I found many error info in AdminServer/logs/domain.log as below blue font:
    ####<Apr 4, 2014 11:09:21 AM CST> <Error> <WLSS.Setup> <E76C3BE51B4188> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1396580961513> <BEA-331210> <Skip SIP related logic, because error occurs when parsing sip related annotations of "b2bua-sip-servlet-1.0.0-SNAPSHOT"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
        at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnotationData.java:155)
        at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(DeploymentUtil.java:74)
        at com.bea.wcp.sip.util.DeploymentUtil.getAnnotationData(DeploymentUtil.java:89)
        at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:129)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.initialize(SipServerTailModule.java:137)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.prepare(SipServerTailModule.java:69)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.LinkageError: loader constraint violation: when resolving overridden method "antlr.debug.LLkDebuggingParser.removeMessageListener(Lantlr/debug/MessageListener;)V" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, antlr/debug/LLkDebuggingParser, and its superclass loader (instance of sun/misc/Launcher$AppClassLoader), have different Class objects for the type antlr/debug/MessageListener used in the signature
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2436)
        at java.lang.Class.privateGetPublicMethods(Class.java:2556)
        at java.lang.Class.getMethods(Class.java:1412)
        at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.classAnnotationParsing(SipAnnotationData.java:344)
        at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.jarAnnotationParsing(SipAnnotationData.java:288)
        at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.annotationParsing(SipAnnotationData.java:223)
        at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnotationData.java:144)
        at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(DeploymentUtil.java:74)
        at com.bea.wcp.sip.util.DeploymentUtil.getAnnotationData(DeploymentUtil.java:89)
        at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:129)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.initialize(SipServerTailModule.java:137)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.prepare(SipServerTailModule.java:69)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Apr 4, 2014 11:09:21 AM CST> <Error> <WLSS.Engine> <E76C3BE51B4188> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1396580961523> <BEA-330004> <Failed to deploy SIP application "b2bua-sip-servlet-1.0.0-SNAPSHOT"
    java.lang.NullPointerException
        at com.bea.wcp.sip.engine.server.setup.SipDeploymentDescriptor.<init>(SipDeploymentDescriptor.java:285)
        at com.bea.wcp.sip.engine.server.setup.SipDeploymentDescriptor.parse(SipDeploymentDescriptor.java:148)
        at com.bea.wcp.sip.engine.server.CanaryContext.initContext(CanaryContext.java:396)
        at com.bea.wcp.sip.engine.server.CanaryContext.<init>(CanaryContext.java:334)
        at com.bea.wcp.sip.engine.server.CanaryServer.installContext(CanaryServer.java:1001)
        at com.bea.wcp.sip.engine.server.SipService.setupSipServletContext(SipService.java:126)
        at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTailModule.java:130)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(SipServerTailModule.java:112)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.initialize(SipServerTailModule.java:137)
        at com.bea.wcp.sip.engine.server.SipServerTailModule.prepare(SipServerTailModule.java:69)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:507)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:149)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
        at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
        at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)
        at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
        at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Can anyone give some suggession?
    Thanks in advance!
    BR//Margin

    Hi,
    I changed my jvm from sun jdk to latest jrockit and the issue was solved :)

  • [EJB:015001] error while deploying an ejb on weblogic app server

    Hi,
    I'm trying to deploy an ear which has lot of modules and it is failing for one of the ejb module. The exception is as follows:
    <Mar 22, 2011 7:47:01 PM GMT+05:30> <Error> <Deployer> <WL-149265> <Failure occurred in the execution of deployment request with ID '1300803398704' for task '0'. Error is: 'weblogic.application.ModuleException: Exception preparing module: EJBModule(triv.product.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    Error processing annotations: .'
    weblogic.application.ModuleException: Exception preparing module: EJBModule(triv.product.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    Error processing annotations: .
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.utils.ErrorCollectionException:
    There are 1 nested errors:
    weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015001]Unable to link class trivnet.product.services.svams.ProjSVAMServiceBean in Jar D:\ccm_wa\TICP-yogesh_3.4.0\TICP\product\classes : java.lang.NoClassDefFoundError: trivnet/service/svams/SVAMService
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1323)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
         at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1245)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:397)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1322)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         Truncated. see log file for complete stacktrace
    >
    <Mar 22, 2011 7:47:01 PM GMT+05:30> <Warning> <Deployer> <WL-149004> <Failures were detected while initiating deploy task for application 'ear'.>
    <Mar 22, 2011 7:47:01 PM GMT+05:30> <Warning> <Deployer> <WL-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception preparing module: EJBModule(triv.product.jar)
    [EJB:011023]An error occurred while reading the deployment descriptor. The error was:
    Error processing annotations: .
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:469)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.utils.ErrorCollectionException:
    There are 1 nested errors:
    weblogic.j2ee.dd.xml.AnnotationProcessException: [EJB:015001]Unable to link class trivnet.product.services.svams.ProjSVAMServiceBean in Jar D:\ccm_wa\TICP-yogesh_3.4.0\TICP\product\classes : java.lang.NoClassDefFoundError: trivnet/service/svams/SVAMService
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1323)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
         at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1245)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:397)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1322)
         at weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1328)
         at weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:161)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processStandardAnnotations(EjbDescriptorReaderImpl.java:344)
         at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:204)
         Truncated. see log file for complete stacktrace
    >
    There are two scenarios one of which is working and the other is not. The details are below:
    Scenario 1: (Working)
    There is an ejb module in the ear (say ModA) which has two session beans (SessionA and SessionB having Remote interfcaes RemoteIntA and RemoteIntB).
    There is another ejb module in the ear (say ModB) which has few more session beans.
    Now I want to add an ejb which will extend from SessionA.
    So, I did following changes:
    i. added a remote interface in ModB - RemoteIntPA implements RemoteIntA
    ii. added session bean SessionPA extends SessionA implements RemoteIntPA
    iii. added ejb related annotations in SessionPA and removed the annotations from SessionA (i.e., SessionA is just a normal class by itself)
    Now in the application.xml I declare both modules (ModA and ModB) as ejb modules.
    I deploy the application everything works fine.
    Scenario 2: (Not Working)
    For some reason, I didn't required SessionB in ModA (which was the only ejb bean left in that module as SessionA was converted to normal java class). So I removed SessionB and RemoteIntB.
    Now as there are no ejb beans in ModA, I cannot define this as ejb module in application.xml and hence I defined it as java module.
    Now if I deploy the same application, I get the exception mentioned above.
    I think it has to do with the classpath issue. But how is that the classpath issue is arising when I declaring a module as java and not when I declare it as ejb. I have this module in classpath of ModB. So it doesn't matter what type of module it is.
    Am I missing something?
    Please help me in this regards.

    java.lang.NoClassDefFoundError: trivnet/service/svams/SVAMService
    The JAR with the class trivnet/service/svams/SVAMService is not in the classpath.

  • Permgen error while launching the weblogic server in windows

    Hi,
    While starting the weblogic server from the windows, I am getting the below error 'Permgen space error' for Sip Server. Please let me know how can I avoid running the sip server while starting the weblogic server or how can I avoid the permgen error.
    <21 Apr, 2012 7:33:33 AM IST> <Warning> <J2EE> <BEA-160195> <The application ver
    sion lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLif
    ecycleListener is ignored because the application em is not versioned.>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <SipServer.Resource> <BEA-332401> <Initia
    lizing SipServer Resource with configuration com.bea.wcp.sip.management.descript
    or.beans.SipServerBeanImpl>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <SipServer.Resource> <BEA-332404> <Engine
    AdminServer is in NON-REPLICATED mode>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Engine> <BEA-330071> <WebLogic Sip
    Server "AdminServer" patch version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06
    PDT 2011 1398638
    Javax Server Pages Client Capable 1.2 Tue Jul 13 02:43:41 EDT 2010
    Expression Language 2.1 for JSP 1.0 Sun Jul 18 23:17:34 PDT 2010
    Javax Enterprise Servlets Client Capable 1.0 Thu Aug 2 12:41:25 EDT 2007
    Eclipse Java Development Tools 3.5.2 Thu Sep 2 09:47:11 EDT 2010
    WebLogic java compiler utils package Client Capable 1.2 Thu Feb 11 03:38:50 EST
    2010
    WebLogic WebApp Container Public API Client Capable 1.4 Fri Oct 1 20:01:15 PDT 2
    010
    Oracle WebLogic Server Module Dependencies 10.3 Thu Mar 3 14:37:52 PST 2011
    Oracle WebLogic Server on JRockit Virtual Edition Module Dependencies 10.3 Thu F
    eb 3 16:30:47 EST 2011
    ANTLR Java based compiler generator Client 2.7 Mon Jun 11 12:19:48 EDT 2007
    WebLogic Descriptors for J2EE 1.5 Wed May 5 14:32:58 EDT 2010
    WebLogic Descriptors for J2EE 1.5 Binding Bundle
    WebLogic Specific Descriptors 1.3 Tue Sep 14 18:48:42 PDT 2010
    WebLogic Specific Descriptors 1.3 Binding Bundle
    WebLogic Datasource 1.9 Tue Oct 26 13:50:26 PDT 2010
    WebLogic Datasource 1.9 Binding Bundle
    WebLogic Beangen Client Capable 1.7 Wed Feb 24 16:02:48 PST 2010
    WebLogic Beangen 1.7 Binding Bundle
    WLDF Accessor Client Capable 1.5 Fri Sep 3 17:10:52 EDT 2010
    WLDF Accessor 1.5 Binding Bundle
    WebLogic Management Core Interfaces Client Capable 2.8 Thu Mar 3 12:10:10 EST 20
    11
    WebLogic Management Core Interfaces 2.8 Binding Bundle
    WebLogic EJBGen Client Capable 1.1 Thu Jun 3 13:17:07 EDT 2010
    Apache Byte Code Engineering Library (BCEL) extracted from 5.2.zip from http://j
    akarta.apache.org/site/downloads/downloads_bcel.cgi with packages renamed from o
    rg.apache.bcel to com.bea.core.repackaged.apache.bcel Client 5.2 Tue May 15 09:5
    2:37 EDT 2007
    Apache commons collections package 3.2 Tue Mar 20 15:48:25 MDT 2007
    Apache commons lang package 2.1 Tue Mar 20 15:48:30 MDT 2007
    Apache commons pool package 1.3 Tue Mar 20 15:48:36 MDT 2007
    Apache commons io 1.4 package 1.0 Wed Jun 2 17:36:36 EDT 2010
    Apache commons fileupload 1.2.1 package 1.0 Wed Jun 2 17:36:36 EDT 2010
    Apache DOM implementation 1.0 Tue Mar 20 15:36:46 MDT 2007
    Apache Logging Support 1.0 Tue Mar 20 15:36:50 MDT 2007
    Apache OpenJPA classes 1.2 Thu Jul 22 05:16:07 EDT 2010
    XMLBeans - Apache SVN rev 962560 2.1 Thu Jul 15 09:52:54 EDT 2010
    BEA Logging Runtime Support Client Capable 1.8 Mon Jun 7 12:07:02 PDT 2010
    BEA Common Security Open SAML 1.0 Fri May 14 20:18:10 PDT 2010
    BEA OpenSAML 2.0 1.0 Wed Mar 24 13:18:27 PDT 2010
    bea-harvester-api2.0 Client Capable 2.3 Mon Feb 15 14:41:06 EST 2010
    bea-harvester-jmx2.0 Client Capable 2.3 Wed Feb 3 11:54:03 PST 2010
    bea-harvester-utils Client Capable 1.4 Mon Feb 15 14:41:06 EST 2010
    bea-mbean-typing-util 1.4 Wed Feb 24 19:15:33 EST 2010
    Javolution 3.7.19 3.7 Tue Aug 28 17:32:21 PDT 2007
    Joda-time 1.2.1 1.2 Tue Aug 28 17:32:27 PDT 2007
    BEA STAX Build Time Support 1.5 Tue May 4 07:32:25 PDT 2010
    BEA STAX Runtime Time Support Client Capable 1.7 Wed Aug 4 19:40:47 EDT 2010
    BEA Generic Annotations Client Capable 1.3 Sat Jul 11 00:30:54 EDT 2009
    BEA Kodo 1.4 Mon Feb 7 16:22:04 PST 2011
    BEA Kodo Integration Client Capable 1.6 Sun Nov 22 16:29:06 PST 2009
    BEA Kodo Integration 1.6 Binding Bundle
    BEA Kodo Integration Tools 1.4 Thu Feb 3 16:07:53 EST 2011
    XML Beans Marshalling (package renamed com.bea) SVN 962560 2.3 Thu Mar 3 12:10:1
    0 EST 2011
    WebLogic Utils Client Capable 1.9 Thu Mar 3 12:10:10 EST 2011
    Aspect 5.3 Fri Jun 4 14:55:18 PDT 2010
    BEA Apache Commons Logging Repackaged 1.2 Mon Jun 11 12:47:12 EDT 2007
    Spring Framework 1.1 Thu Dec 3 12:21:08 EST 2009
    Pitchfork 1.3 Thu Jun 3 13:17:07 EDT 2010
    ${description} 1.2 Fri Jun 25 16:25:26 EDT 2010
    CSS i18n 1.0 Fri Oct 8 10:32:52 EDT 2010
    CSS xacml 1.0 Fri Oct 8 10:32:52 EDT 2010
    SAML2 Utils 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security Engine Implementation 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security Engine Interfaces 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security API 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security Implementation 1.0 Fri Oct 8 10:32:52 EDT 2010
    BEA Common Security JDK Utilities 1.0 Fri Oct 8 10:32:52 EDT 2010
    Security Utilities 1.0 Fri Oct 8 10:32:52 EDT 2010
    Common Security SAML 2.0 1.0 Fri Oct 8 10:32:52 EDT 2010
    Common Security SAML 2.0 Management JavaBeans 1.0 Fri Oct 8 10:32:52 EDT 2010
    Security Provider Utilities 1.0 Fri Oct 8 10:32:52 EDT 2010
    SAML Utils 1.0 Fri Oct 8 10:32:52 EDT 2010
    XACML Utils 1.0 Fri Oct 8 10:32:52 EDT 2010
    Security Provider Environment 1.0 Fri Oct 8 10:32:52 EDT 2010
    RSA certj 3.1 Wed May 5 15:11:55 PDT 2010
    Netscape LDAP JDK 1.2 Mon Jun 7 15:56:47 EDT 2010
    Commons Networking Utilty classes 1.0 Wed Feb 6 15:01:03 PST 2008
    WebLogic SAAJ 1.6 Wed Jun 16 22:02:31 EDT 2010
    WebLogic STAX Client Capable 1.9 Thu Feb 10 18:00:52 PST 2011
    jaxb-impl.jar taken from Glassfish JAXB 2.1.9 1.0 Fri Aug 20 14:37:07 EDT 2010
    jaxb-impl.jar taken from Glassfish JAXB 2.1.12 1.0 Thu May 6 16:10:04 PDT 2010
    resolver.jar taken from Glassfish JAXWS 2.1.5 1.0 Thu Dec 3 11:46:24 EST 2009
    Fastinfoset.jar taken from Glassfish JAXWS 2.1.5 1.0 Thu Dec 3 11:46:27 EST 2009
    jaxws-rt.jar taken from Glassfish JAXWS 2.1.5 1.2 Mon Feb 28 17:53:01 PST 2011
    Java.net implementation of MimePull.jar taken from Glassfish JAXWS 2.1.5 1.0 Thu
    Dec 3 11:46:33 EST 2009
    Codehaus STaX Interfaces 3.0.1 1.0 Mon Mar 8 20:49:50 PST 2010
    Woodstox STaX Parser 4.0.5 1.0 Thu Dec 3 11:35:43 EST 2009
    jaxws-tools.jar taken from Glassfish JAXWS 2.1.5 1.1 Fri Sep 24 17:55:05 PDT 201
    0
    Java.net Stax Extensions 1.0 Tue Jun 3 07:12:06 PDT 2008
    Java.net xml stream buffer 1.0 Tue Mar 17 05:24:12 PDT 2009
    Jakarta ORO 1.0 Wed Feb 6 15:01:03 PST 2008
    Javax Enterprise Activation 1.1 Tue Apr 8 09:31:17 PDT 2008
    Javax Annotation 1.0 Fri Dec 25 09:02:47 PST 2009
    Javax Interceptor 1.0 Tue Mar 20 15:37:16 MDT 2007
    Javax Enterprise Beans 3.0 Mon Jun 11 12:21:01 EDT 2007
    Java Data Objects 2.0 Mon Jun 11 12:20:56 EDT 2007
    Java Enterprise Deployment APIs 1.2 Tue Mar 20 15:37:28 MDT 2007
    Java Enterprise Messaging 1.1 Mon Jun 11 12:21:11 EDT 2007
    Java Web Services 2.0 Tue Mar 20 15:37:37 MDT 2007
    Javax Enterprise Mail 1.1 Mon Jul 6 10:41:09 MDT 2009
    Java Enterprise Management APIs 1.0 Tue Mar 20 15:37:49 MDT 2007
    Java Persistence Client Capable 1.0 Tue Oct 7 12:18:34 PDT 2008
    Java Connector 1.5 Mon Jun 11 12:22:07 EDT 2007
    Java Authorization Contract for Containers 1.0 Wed Feb 6 15:01:03 PST 2008
    Javax Transaction APIs Client Capable 1.0 Thu Aug 2 12:42:14 EDT 2007
    JAXB 2.1 Mon Jun 11 12:22:53 EDT 2007
    Java XML Registry 1.0 Wed Feb 6 15:01:03 PST 2008
    Java XML Soap Extensions 1.3 Mon Jun 11 12:22:59 EDT 2007
    Java Stream XML Extensions 1.1 Mon Jun 11 12:23:05 EDT 2007
    JAX-WS APIs 2.1 Mon Jun 11 12:23:16 EDT 2007
    Java API for XML-based RPC 1.2 Mon Jun 11 12:23:10 EDT 2007
    Monfox Dynamic SNMP Agent 1.1 Fri Mar 19 05:46:27 MDT 2010
    Serp bytecode manipulation framework 1.14.3 Fri Jun 11 12:06:08 PDT 2010
    WebLogic Apache Classes Client Capable 1.2 Thu Feb 18 22:06:19 PST 2010
    WebLogic BeanInfo Caching and Discovery Client Capable 2.4 Sat Oct 25 20:46:29 P
    DT 2008
    WebLogic Descriptor Client Capable 1.9 Tue Jul 20 16:03:09 EDT 2010
    Repackaged ASM-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Repackaged asm-commons-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Repackaged asm-tree-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Repackaged asm-util-3.2 1.0 Fri Jul 31 19:30:27 MDT 2009
    Oracle JFR 1.0 Thu Feb 18 19:06:33 PST 2010
    WebLogic Diagnostics Core Interfaces Client Capable 2.5 Thu Jun 3 05:20:41 PDT 2
    010
    WebLogic Diagnostics Logging Client Capable 1.2 Fri Dec 12 11:37:59 MST 2008
    WebLogic Diagnostics Query Module Client Capable 1.2 Tue Oct 27 02:48:36 PDT 200
    9
    WebLogic Diagnostics Instrumentor Tool 1.7 Tue May 18 03:51:46 PDT 2010
    WebLogic Diagnostics Instrumentor Config Tool 1.7 Tue Jun 29 16:41:19 EDT 2010
    WebLogic Diagnostics JRockit Flight Recorder Interfaces Client Capable 1.1 Fri O
    ct 29 16:32:05 EDT 2010
    Diagnostics Notifications Module Client Capable 1.4 Sun Nov 22 16:03:32 PST 2009
    BEA Logging Runtime Support Client Capable 1.5 Thu Apr 29 20:43:42 EDT 2010
    WebLogic i18n Runtime Support Client Capable 1.8 Fri Sep 10 08:12:34 EDT 2010
    WebLogic i18n Build Support Client Capable 1.5 Fri Feb 19 15:03:15 EST 2010
    WebLogic I18N tools Client Capable 1.3 Sun Nov 22 16:03:32 PST 2009
    WebLogic Management JMX Interfaces 1.4 Thu Aug 12 11:16:22 PDT 2010
    WebLogic Security Provider Generation Tool 1.5 Wed Oct 14 16:39:28 MDT 2009
    WebLogic Security Provider Generation Tool Client Capable 1.5 Wed Oct 14 16:39:2
    8 MDT 2009
    WebLogic Messaging Kernel Client Capable 1.8 Mon Aug 23 21:42:11 EDT 2010
    WebLogic Resource Pool Client Capable 1.7 Mon Sep 27 12:00:08 EDT 2010
    WebLogic Socket Muxer API Client Capable 1.2 Thu Apr 1 21:16:27 EDT 2010
    WebLogic RMI Client Capable 1.10 Tue Mar 22 16:56:32 PDT 2011
    Common Security WebLogic Server Integration Support 1.0 Fri Oct 8 10:32:52 EDT
    2010
    Server Lifecycle Interfaces Client Capable 1.4 Fri Feb 19 15:03:15 EST 2010
    WebLogic Store Client Capable 1.7 Fri Dec 17 16:52:31 EST 2010
    WebLogic STORE GXA Client Capable 1.6 Mon Aug 23 21:16:10 EDT 2010
    WebLogic Store Admin Tool Client Capable 1.2 Thu Jan 21 10:24:18 PST 2010
    WebLogic JDBC Store Client Capable 1.3 Mon May 17 10:46:33 PDT 2010
    WebLogic JTA implementation Client Capable 2.7 Fri Sep 17 12:19:45 PDT 2010
    WebLogic Utils 1.9 Thu Mar 3 12:10:10 EST 2011
    Agent Utililities 1.1 Tue Feb 16 00:16:03 EST 2010
    WebLogic Utility Classloader implementations Client Capable 1.9 Wed Mar 2 14:10:
    04 PST 2011
    WebLogic Utils for working with Expressions Client Capable 1.4 Tue Sep 29 14:45:
    53 EDT 2009
    WebLogic Utils for Dynamically Generated Class Wrappers Client Capable 1.4 Fri F
    eb 13 14:44:23 MST 2009
    WebLogic Timers Client Capable 1.7 Thu Feb 18 13:08:44 EST 2010
    WebLogic Work Manager Client Capable 1.10 Thu Feb 17 10:25:54 PST 2011
    WebLogic Workarea Client Capable 1.7 Wed Feb 24 17:18:56 PST 2010
    WebLogic XML XPath Implementation Client Capable 1.4 Mon Feb 22 15:07:14 PST 201
    0
    Weblogic Tuxedo Connector Core Client Capable 1.5 Sat Jul 3 19:05:38 EDT 2010
    WebLogic Security 1.0 Fri Oct 8 10:32:52 EDT 2010
    Weblogic Server Java Authentication Helper Classes Client Capable 1.1 Mon Jul 5
    20:42:35 EDT 2010
    Weblogic Server Message Digest Utilities Client Capable 1.0 Thu Aug 2 12:51:30 E
    DT 2007
    Weblogic Server Authenticated Subject Client Capable 1.1 Thu Oct 28 05:46:37 PDT
    2010
    Weblogic Server Authenticated Subject Client Capable 1.5 Thu Sep 9 10:23:21 MDT
    2010
    PrintingSecurityManager - PSM 1.1 Tue Feb 16 05:30:08 PST 2010
    WebLogic security ssl classes 1.0 Tue Jun 15 17:39:53 EDT 2010
    WebLogic Nodemanager Plugin Client Capable 1.3 Tue Nov 18 18:23:10 EST 2008
    nodemanager module for managed processes 1.0 Thu Apr 8 15:14:38 PDT 2010
    WebLogic JMS Pool Client Capable 1.8 Thu Mar 3 14:11:40 PST 2011
    Contains compiled schema type from WLS 9.0 for WLP compatibility 1.3 Wed Feb 24
    19:15:33 EST 2010
    WebLogic Http Pub/Sub Module Client Capable 1.6 Mon Jul 12 02:31:07 EDT 2010
    Class Redefinition Project 1.5 Mon May 10 19:48:21 EDT 2010
    Class Redefinition Project Client Capable 1.5 Mon Apr 5 17:00:52 PDT 2010
    Class Redefinition Project 1.5 Binding Bundle
    Commonj SDO 1.0 Wed Sep 24 19:11:23 PDT 2008
    WebLogic Coherence Descriptor 1.1 Wed May 5 15:17:47 EDT 2010
    WebLogic Coherence Descriptor 1.1 Binding Bundle
    This module contains all message catalogs 1.1 Fri Dec 17 08:04:35 PST 2010
    WebLogic WebService Public API's 1.1 Tue Sep 21 22:15:05 EDT 2010
    WebLogic EclipseLink Integration 1.0 Thu Feb 25 14:56:43 PST 2010
    WebLogic SCA Client 1.0 Thu Feb 25 00:27:10 EST 2010
    WebLogic RAC Module UCP Client Capable 1.0 Mon Sep 13 09:03:00 PDT 2010
    BEA Patches of apache ant Client Capable 1.2 Wed Jan 13 08:48:17 PST 2010
    Oracle WebLogic Server 10.3.4.0 at 710154 built on: 2010/09/30
    Oracle WebLogic Server 10.3.4.0 at 710154 built on: 2010/09/30
    Oracle WebLogic Server Datatier 10.3.4.0 at 710154 built on: 2010/09/30
    Oracle WebLogic Server 10.3.4.0 at 710154 built on: 2010/09/30
    WebLogic SIPServer Extension API 10.3.4.0 at 709997 built on 2010/09/27
    WebLogic SIPServer Extension API 10.3.4 at 709997 built on 2010/09/27
    WebLogic SIPServer CallState 10.3.4 at 709997 built on 2010/09/27
    Oracle WebLogic Communications SCTP 10.3.1 at 688160 built on 2009/03/11
    ALSB Client 1.3 Mon Apr 12 19:21:38 PDT 2010
    WebLogic WebService Databinding 1.2 Fri Oct 15 06:35:13 PDT 2010
    WebLogic WebService Databinding Plugins 1.2 Fri Oct 15 07:38:46 PDT 2010
    WebLogic SCA Engine 1.2 Mon Aug 16 20:42:39 EDT 2010
    WebLogic WebService Databinding Plugins 1.2 Fri Oct 15 07:38:46 PDT 2010
    WebLogic WebService Databinding 1.2 Fri Oct 15 06:35:13 PDT 2010
    WebLogic SIP Activator 10.3.4 at 710163 built on 2010/09/30
    >
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Engine> <BEA-330065> <SIP server re
    plication is DISABLED>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Engine> <BEA-330000> <WebLogic SIP
    Server "sipserver" has started.>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Transport> <BEA-330687> <Thread "SI
    P Message processor (Transport TCP)" is listening on port 5060>
    <21 Apr, 2012 7:33:36 AM IST> <Notice> <WLSS.Transport> <BEA-330687> <Thread "SI
    P Message processor (Transport TCP)" is listening on port 5061>
    <21 Apr, 2012 7:34:40 AM IST> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
    d logic, because error occurs when parsing sip related annotations of "em"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
    ationData.java:146)
    at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
    entUtil.java:70)
    at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
    6)
    at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
    ilModule.java:127)
    at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
    pServerTailModule.java:112)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    1)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
    ssLoader.java:343)
    Truncated. see log file for complete stacktrace
    >
    <21 Apr, 2012 7:35:05 AM IST> <Warning> <J2EE> <BEA-160181> <An error was encoun
    tered and ignored during undeployment. The error was: weblogic.utils.ErrorCollec
    tionException:
    There are 2 nested errors:
    java.lang.OutOfMemoryError: PermGen space
    and
    java.lang.OutOfMemoryError: PermGen space
    weblogic.utils.ErrorCollectionException:
    There are 2 nested errors:
    java.lang.OutOfMemoryError: PermGen space
    and
    java.lang.OutOfMemoryError: PermGen space
    at weblogic.application.utils.StateMachineDriver.previousState(StateMach
    ineDriver.java:227)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:63)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
    java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.ja
    va:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
    entStateChecker.java:161)
    Truncated. see log file for complete stacktrace
    >

    What options have you selected when you set-up WebLogic?
    You can increase the PermSize and MaxPermSize parameters of the JVM to avoid java.lang.OutOfMemoryError: PermGen space.
    These parameters can be set in the setDomainEnv file.

  • Unable to Start the SOA Domain (11g v 11.1.1.5.0, Windows 7 64-bit)

    Hi Folks,
    I have installed the SOA 11g (11.1.1.5.0) along with other required softwares but when I am trying to start the weblogic server <domain>\bin\startWebLogic.cmd from with domain, it is throwing the out-of-memory exceptions as,
    <May 21, 2011 3:04:51 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
    d logic, because error occurs when parsing sip related annotations of "integrati
    on/worklistapp"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
    ationData.java:146)
    at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
    entUtil.java:70)
    at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
    6)
    at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
    ilModule.java:127)
    at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
    pServerTailModule.java:112)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    1)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
    ssLoader.java:343)
    Truncated. see log file for complete stacktrace
    >
    Warning: Starting ADF Library jar post-deployment on WebLogic Server. Is "provid
    er-lazy-inited" init-param missing from LibraryFilter? Ignore this warning if th
    e ADFJspResourceProvider is not being used.
    Started: ADF Library non-ADFJspResourceProvider post-deployment
    Finished: ADF Library non-ADFJspResourceProvider post-deployment (millis): 78
    <May 21, 2011 3:05:06 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
    d logic, because error occurs when parsing sip related annotations of "workflow/
    DefaultToDoTaskFlow"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
    ationData.java:146)
    at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
    entUtil.java:70)
    at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
    6)
    at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
    ilModule.java:127)
    at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
    pServerTailModule.java:112)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
    at java.lang.Class.getMethods(Class.java:1410)
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.classAnnotation
    Parsing(SipAnnotationData.java:335)
    Truncated. see log file for complete stacktrace
    >
    <May 21, 2011 3:05:24 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
    er com.sun.faces.config.ConfigureListener failed: java.lang.OutOfMemoryError: Pe
    rmGen space.
    java.lang.OutOfMemoryError: PermGen space
    >
    I tried to manipulate the JVM memory setting in the setSOADomainEnv.cmd file but no luck. Currently, the setting are:
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    set DEFAULT_MEM_ARGS=-Xms256m -Xmx512m
    set PORT_MEM_ARGS=-Xms128m -Xmx256m -XX:CompileThreshold=8000
    if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
    set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
    set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=256m
    Again, I am not sure what are the right setting for running SOA on weblogic in Windows 7 64 bit O/S.
    Any help is really appreciated.
    -NJ

    Hi All,
    In continuation to my last post, I modified the memory setting as under,
    set JAVA_OPTIONS=%JAVA_OPTIONS%
    set DEFAULT_MEM_ARGS=-Xms256m -Xmx512m
    set PORT_MEM_ARGS=-Xms512m -Xmx768m  -XX:CompileThreshold=8000
    if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
    set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
    set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m
    This allowed the server starting process to move a little further but again encountered with an error as under,
    Loading Preference Migrators...Ok
    ********* WorkSpace was initialized successfully *********
    Warning: Starting ADF Library jar post-deployment on WebLogic Server. Is "provid
    er-lazy-inited" init-param missing from LibraryFilter? Ignore this warning if th
    e ADFJspResourceProvider is not being used.
    Started: ADF Library non-ADFJspResourceProvider post-deployment
    Finished: ADF Library non-ADFJspResourceProvider post-deployment (millis): 124
    <May 21, 2011 3:55:30 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
    d logic, because error occurs when parsing sip related annotations of "bpm/compo
    ser"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
    ationData.java:146)
    at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
    entUtil.java:70)
    at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
    6)
    at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
    ilModule.java:127)
    at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
    pServerTailModule.java:112)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    1)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
    ssLoader.java:343)
    Truncated. see log file for complete stacktrace
    >
    <May 21, 2011 3:55:33 PM CDT> <Warning> <oracle.adf.share.ADFContext> <BEA-00000
    0> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initializati
    on is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent
    To see the stack trace for thread that is initializing this, set the logging lev
    el of oracle.adf.share.ADFContext to FINEST>
    Thread[[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tun
    ing)',5,Pooled Threads]: CompressionFilter: Using debug = (0)
    <May 21, 2011 3:55:52 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
    d logic, because error occurs when parsing sip related annotations of "SimpleApp
    rovalTaskFlow"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
    ationData.java:146)
    at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
    entUtil.java:70)
    at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
    6)
    at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
    ilModule.java:127)
    at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
    pServerTailModule.java:112)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    1)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
    ssLoader.java:343)
    Truncated. see log file for complete stacktrace
    >
    <May 21, 2011 3:55:58 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
    er com.sun.faces.config.ConfigureListener failed: java.lang.OutOfMemoryError: Pe
    rmGen space.
    java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    1)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericCla
    ssLoader.java:343)
    Truncated. see log file for complete stacktrace
    >
    <May 21, 2011 3:56:48 PM CDT> <Warning> <J2EE> <BEA-160181> <An error was encoun
    tered and ignored during undeployment. The error was: weblogic.utils.ErrorCollec
    tionException:
    There are 2 nested errors:
    java.lang.OutOfMemoryError: PermGen space
    and
    java.lang.OutOfMemoryError: PermGen space
    weblogic.utils.ErrorCollectionException:
    There are 2 nested errors:
    java.lang.OutOfMemoryError: PermGen space
    and
    java.lang.OutOfMemoryError: PermGen space
    at weblogic.application.utils.StateMachineDriver.previousState(StateMach
    ineDriver.java:227)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:63)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.
    java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.ja
    va:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(Deploym
    entStateChecker.java:161)
    Truncated. see log file for complete stacktrace
    >
    <May 21, 2011 3:57:09 PM CDT> <Error> <WLSS.Setup> <BEA-331210> <Skip SIP relate
    d logic, because error occurs when parsing sip related annotations of "em"
    com.bea.wcp.sip.engine.server.setup.SipAnnotationParsingException:
    at com.bea.wcp.sip.engine.server.setup.SipAnnotationData.<init>(SipAnnot
    ationData.java:146)
    at com.bea.wcp.sip.util.DeploymentUtil.getOrCreateAnnotationData(Deploym
    entUtil.java:70)
    at com.bea.wcp.sip.util.DeploymentUtil.isSipModule(DeploymentUtil.java:9
    6)
    at com.bea.wcp.sip.engine.server.SipServerTailModule$1.visit(SipServerTa
    ilModule.java:127)
    at com.bea.wcp.sip.engine.server.SipServerTailModule.visitAllContexts(Si
    pServerTailModule.java:112)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    >
    <May 21, 2011 3:57:30 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
    er org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl failed: java.
    lang.OutOfMemoryError: PermGen space.
    java.lang.OutOfMemoryError: PermGen space
    >
    <May 21, 2011 3:57:35 PM CDT> <Warning> <HTTP> <BEA-101162> <User defined listen
    er com.sun.faces.config.ConfigureListener failed: java.lang.NullPointerException
    java.lang.NullPointerException
    at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureList
    ener.java:241)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run
    (EventsManager.java:482)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(E
    ventsManager.java:200)
    Truncated. see log file for complete stacktrace
    >
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6da442db, pid=6876, tid=5792
    [thread 6508 also had an error]
    # JRE version: 6.0_24-b50
    # Java VM: Java HotSpot(TM) Client VM (19.1-b02 mixed mode windows-x86 )
    # Problematic frame:
    # V [jvm.dll+0x1a42db]
    # An error report file with more information is saved as:
    # D:\Oracle\ofmw11gv5\mw\user_projects\domains\ofmw_domain1\hs_err_pid6876.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    Thanks in advance!
    NJ

  • Enterprise Manager - Setup -   Add Weblogic Domain is gone

    Sometime between the middle of July and today - the Setup -> Add Weblogic Domain is gone from Enterprise Manager. How do I add a domain?
    I have EMASGC_PT.MAINAS11_GENERIC_090907
    - mike

    Take a look at the logs carefully:PREPARED TO ADMIN and then ADMIN TO PREPARED. Something is not being deployed successfully to the servers while starting. What all components you have selected for this domain?
    ####<Sep 4, 2013 2:44:59 PM BST> <Info> <Deployer> <bmlinux182.temenos.com> <AdminServer> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000K3dDttpE4Uc5pjH7iY1I9n^v000002> <1378302299431> <BEA-149060> <Module /em of application em successfully transitioned from STATE_PREPARED to STATE_ADMIN on server AdminServer.>
    ####<Sep 4, 2013 2:44:59 PM BST> <Info> <WLSS.Setup> <bmlinux182.temenos.com> <AdminServer> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000K3dDttpE4Uc5pjH7iY1I9n^v000002> <1378302299433> <BEA-331208> <Start parsing sip related annotations of "em">
    ####<Sep 4, 2013 2:49:01 PM BST> <Info> <Deployer> <bmlinux182.temenos.com> <AdminServer> <[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000K3dDttpE4Uc5pjH7iY1I9n^v000002> <1378302541291> <BEA-149059> <Module /em of application em is transitioning from STATE_ADMIN to STATE_PREPARED on server AdminServer.>

  • Named parameters in Native SQL

    A little background first:
    Our website uses Hibernate as it's JPA provider, but we've run into several issues with it, one of which they actively refuse to fix out of pure arrogance, even when we gave them a good patch for it. The other one is a performance issue that can be greatly improved by passing arrays as parameters, which I've read rumours is supported in EclipseLink. I first tried implementing a Hibernate UserType as they've specified and it turns out they never read them into the Map that looks-up parameter types during binding, even though it's loaded from their hibernate.cfg.xml. In other words, they're only pretending to support custom user types, but unless you're writing-out the full manual loading of their configuration, there's no way to do it.
    After a day of trying to fix all the relation annotations that EclipseLink finds unacceptable in our project (which only uses native SQL and EntityManager.find for selects) I finally got it running and came to discover you don't support named parameters in native SQL. That was really disappointing, because a few months ago we migrated all our queries to named parameters, because positioning ones were too difficult to track and caused more bugs when we had to add more criterias.
    My questions are these:
    Are named parameters for native SQL not supported by JPA specifications or because they are considered low priority?
    Would you accept a patch that supports them?
    Can we really use arrays and/or lists as parameters in queries like this "SELECT * FROM some_table WHERE my_column_a IN ? AND my_column_b NOT IN ?"
    If yes to above, would it still work if the first one is an array of integers and the second is an array of strings?
    Would it work if it's in native SQL and the column types cannot be resolved due to query complexity?

    A little background first:
    Our website uses Hibernate as it's JPA provider, but we've run into several issues with it, one of which they actively refuse to fix out of pure arrogance, even when we gave them a good patch for it. The other one is a performance issue that can be greatly improved by passing arrays as parameters, which I've read rumours is supported in EclipseLink. I first tried implementing a Hibernate UserType as they've specified and it turns out they never read them into the Map that looks-up parameter types during binding, even though it's loaded from their hibernate.cfg.xml. In other words, they're only pretending to support custom user types, but unless you're writing-out the full manual loading of their configuration, there's no way to do it.
    After a day of trying to fix all the relation annotations that EclipseLink finds unacceptable in our project (which only uses native SQL and EntityManager.find for selects) I finally got it running and came to discover you don't support named parameters in native SQL. That was really disappointing, because a few months ago we migrated all our queries to named parameters, because positioning ones were too difficult to track and caused more bugs when we had to add more criterias.
    My questions are these:
    Are named parameters for native SQL not supported by JPA specifications or because they are considered low priority?
    Would you accept a patch that supports them?
    Can we really use arrays and/or lists as parameters in queries like this "SELECT * FROM some_table WHERE my_column_a IN ? AND my_column_b NOT IN ?"
    If yes to above, would it still work if the first one is an array of integers and the second is an array of strings?
    Would it work if it's in native SQL and the column types cannot be resolved due to query complexity?

  • EJB3 Specification details

    Hello,
    I would have some details about EJB3 specifications :
    What is the real JNDI name of an EJB? (must we use the absolue name of the business interface? or must we use EARName/BeanClassName/local or remote ?)
    What is the real package of EJB Annotation ? (in glassfish it's javax.ejb and in jboss it's javax.annotations)
    Thanks !

    Hello,
    I would have some details about EJB3 specifications :
    What is the real JNDI name of an EJB? (must we use
    the absolue name of the business interface? or must
    we use EARName/BeanClassName/local or remote ?)This is not covered by the spec. Most vendors have a
    vendor-specific configuration file that allows you to map
    Remote EJBs to global JNDI names. Many vendors
    also have a default that can be applied. In SUN's Java EE 5
    implementation, the default global JNDI name is the
    fully-qualified name of the ejb's Remote Business interface
    or Home interface. I believe JBoss uses the same default.
    You can find more information on how global JNDI names
    are set for EJBs in SUN's implementation at :
    https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#SessionBeanGlobalJNDINameAssignment
    >
    What is the real package of EJB Annotation ? (in
    glassfish it's javax.ejb and in jboss it's
    javax.annotations)Are you specifically referring to @EJB? That has always
    been defined in the javax.ejb package. Some of the
    ejb-related annotations were moved out of the javax.ejb
    package at different points in the spec development process.
    javax.ejb.PostConstruct and javax.ejb.PreDestroy were
    moved to javax.annotation and all the interceptor related
    annotations/classes were moved to javax.interceptor.
    --ken
    >
    Thanks !

  • @EJB annotation for injection and lazy relations

    Hi,
    I develop a ejb3/jsf application.
    I have lazy relations in my entity beans.
    I remark that in my managed bean of my JSF, if I use @EJB annotation to inject session bean, I have no problem on lazy on entity beans returned by this session bean.
    Example
    JsfManageBean{
    @EJB
    Bean sessionBean ...
    public void doSomething(){
    Department d = sessionBean.findDepartmentBy...
    // relation lazy
    d.getEmployees()
    -> Load of employees -> NO LAZY PROBLEM !
    Someone can explain me why it works ?
    For me, after the find method, my session is closed !
    If I do a lookup to find my session bean (and so no injection @EJB here) -> I HAVE THE LAZY PROBLEM !
    public void doSomething(){
    SessionBean = ... context.lookup("blablabla")
    Department d = sessionBean.findDepartmentBy...
    // relation lazy
    d.getEmployee()
    -> LAZY EXCEPTION
    thanks for help !

    Nobody please ?

  • XML Annotation related to schema attribute processContents="skip".

    Hello all,
    I have a XML schema (.xsd) having one element like:
    <xs:element name="XMLTest" minOccurs="1" maxOccurs="1">
       <xs:complexType>
          <xs:sequence>
             <xs:any minOccurs="0" maxOccurs="1" processContents="skip"></xs:any>
          </xs:sequence>
       </xs:complexType>
    </xs:element>I have specified attribute processContent="skip" for element, because I don't want any kind of process on this element.
    now, when I create classes from this schema file using "XJC" tool It don't add any annotation related to processContent="skip" attribute in my class.
    Because of this whenever any operation performed on instance of schema class it's content will be processed (when I don't want them to be processed). It means this class is processed like any other normal class.
    Can any one please suggest me
    - how can I get same effect as processContent="skip" attribute, using javax.xml.bind.
    - or any other suggestions or way for doing same.
    Thanks a lot in advance,
    typurohit

    Release 9.2.0.3 under Linux.
    No imports, just the xml:lang attribute as indicated in the above XPATH. XMLSpy thinks the schema is fine, but Oracle has the problem with that attribute.
    http://www.w3.org/XML/1998/namespace has some suggestions dealing with the xml:lang attribute, but it seems like this should work as is.
    Thanks for your speedy review and continued input.
    Dave

  • OCR rotates markups relative to annotation and rest of page

    Using Adobe Acrobat X Pro 10.1.13.
    I have read may posts about similar content, but not one that seems to address my issue in such a way that it fixes the problem for me.  That's probably because i am a novice user.  Any help is greatly appreciated.
    I have scanned a printout of an automated report into PDF.  I added Drawing Markups - Text Boxes as well as Annotations - Sticky Notes.
    To do a search for an error ("HIGH" condition), i used CTRL+F, and allowed the text recognition to proceed.  I then saved the doc before closing.  When i re-opened, the Comments i made are now rotated.
    Is there a way to get them to rotate back?  I would require step by step direction since i know little about this.  When i read about user spaces, java script, etc. I am over my head.
    See attached reference pictures.  I note that the Comments are rotated as if the coordinate system has shifted/rotated 90 degrees from bottom right to bottom left.
    Thanks anyone who can help!

    I really don't think Adobe ever imagined people would first add comments, then OCR. If OCR is to be done it would normally follow import/scanning immediately.

  • Problem while inserting into a table which has ManyToOne relation

    Problem while inserting into a table *(Files)* which has ManyToOne relation with another table *(Folder)* involving a attribute both in primary key as well as in foreign key in JPA 1.0.
    Relevent Code
    Entities:
    public class Files implements Serializable {
    @EmbeddedId
    protected FilesPK filesPK;
    private String filename;
    @JoinColumns({
    @JoinColumn(name = "folder_id", referencedColumnName = "folder_id"),
    @JoinColumn(name = "uid", referencedColumnName = "uid", insertable = false, updatable = false)})
    @ManyToOne(optional = false)
    private Folders folders;
    public class FilesPK implements Serializable {
    private int fileId;
    private int uid;
    public class Folders implements Serializable {
    @EmbeddedId
    protected FoldersPK foldersPK;
    private String folderName;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "folders")
    private Collection<Files> filesCollection;
    @JoinColumn(name = "uid", referencedColumnName = "uid", insertable = false, updatable = false)
    @ManyToOne(optional = false)
    private Users users;
    public class FoldersPK implements Serializable {
    private int folderId;
    private int uid;
    public class Users implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer uid;
    private String username;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "users")
    private Collection<Folders> foldersCollection;
    I left out @Basic & @Column annotations for sake of less code.
    EJB method
    public void insertFile(String fileName, int folderID, int uid){
    FilesPK pk = new FilesPK();
    pk.setUid(uid);
    Files file = new Files();
    file.setFilename(fileName);
    file.setFilesPK(pk);
    FoldersPK folderPk = new FoldersPK(folderID, uid);
         // My understanding that it should automatically handle folderId in files table,
    // but it is not…
    file.setFolders(em.find(Folders.class, folderPk));
    em.persist(file);
    It is giving error:
    Internal Exception: java.sql.SQLException: Field 'folderid' doesn't have a default value_
    Error Code: 1364
    Call: INSERT INTO files (filename, uid, fileid) VALUES (?, ?, ?)_
    _       bind => [hello.txt, 1, 0]_
    It is not even considering folderId while inserting into db.
    However it works fine when I add folderId variable in Files entity and changed insertFile like this:
    public void insertFile(String fileName, int folderID, int uid){
    FilesPK pk = new FilesPK();
    pk.setUid(uid);
    Files file = new Files();
    file.setFilename(fileName);
    file.setFilesPK(pk);
    file.setFolderId(folderId) // added line
    FoldersPK folderPk = new FoldersPK(folderID, uid);
    file.setFolders(em.find(Folders.class, folderPk));
    em.persist(file);
    My question is that is this behavior expected or it is a bug.
    Is it required to add "column_name" variable separately even when an entity has reference to ManyToOne mapping foreign Entity ?
    I used Mysql 5.1 for database, then generate entities using toplink, JPA 1.0, glassfish v2.1.
    I've also tested this using eclipselink and got same error.
    Please provide some pointers.
    Thanks

    Hello,
    What version of EclipseLink did you try? This looks like bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=280436 that was fixed in EclipseLink 2.0, so please try a later version.
    You can also try working around the problem by making both fields writable through the reference mapping.
    Best Regards,
    Chris

  • How do you make superscripts and mathematics in Preview's text annotation?

    When adding text annotations that include scientific notations, how do you make superscripts, e.g. "3.2 × 10^{-23}"?
    Searching Help for 'superscript' turns up nothing, suggesting the command does not exist, as it does under Baseline etc. in iWork. Please tell me this is not the case! If it is, has the situation been improved in the new operating system?
    A related issue: I wish to include other mathematics -- is there a way to include mathematics similar to LaTeX? Might Preview incorporate using latex code in the future, so I can easily type "\exp{-\lambda t}" etc and have the math appear?
    I'm adding text annotations to PDF lecture notes in Preview, basically filling in blanks the instructor has left so students will pay attention in class, and these annotations include superscripts; I wish to format properly.
    Thank you!

    Once you have the circle shape displayed, long press on the border of the circle. Once it is highlighted, drag horizontally or vertically. This should allow you to distort the circle into an ellipse (or the square into a rectangle).
    Hope that helps,
    Frank
    Sketch Engineering

  • How can I get the working directory of a project from an Annotation Processor in Java

    I am writing an annotation processor in Java and in this annotation processor I want to be able to find a file in the Project hierarchy of the project on which I am using this annotation processor. Through the annotation I can pass in the path of the file I am searching for relative to the project root but i cannot retrieve the project's working directory.
    Let's say that the processor is MyCustomProcessor and I am using it on the project MyProject. I want to be able to access(read) a file (a properties file) from the project structure of MyProject from the "process" method of MyCustomProcessor.
    I have read this link Eclipse - Annotation processor, get project path but when I use their solution I get a null returned from the StandardJavaFileManager.getLocation(StandardLocation.SOURCE_PATH) call.
    Some more details regarding the implementation:
    MyAnnotationProcessor:
    @SupportedAnnotationTypes(value = {"MyAnnotation" })
    @SupportedSourceVersion(RELEASE_6)
    public class MyCustomProcessor extends AbstractProcessor {
    @Override public boolean process(final Set<? extends TypeElement> annotations, final RoundEnvironment roundEnv) {
    for (final Element element : roundEnv.getElementsAnnotatedWith(MyAnnotation.class)) {
    <!-- Here is where I would like to get the working directory !-->
    More details about the testing and development environment: Eclipse Kepler, JRE 1.7.
    If you need more details just ask.

    There is an identical post with an answer located at this link.

  • Acrobat 9 PDFMAKER for Word - Relative Hyperlink problem

    In the past I have successfully use Acrobat Standard 6 PDFMAKER with Word 2003 to preate PDF files with relative hyperlinks. I have a large massively hyperlinked PDF document collection which I distribute on DVD and hence need relative hyperlinks because people's DVD drives have different drive letters. The PDF links produced by Acrobat 6 PDFMAKER have only a single "F" entry in the CosDict and that entry is the desired relative path. The PDF files I make are PDF 1.4. These work with Adobe reader.
    Acrobat 9's PDFMAKER for Word 2007 appears to be unable to produce PDF 1.4 files with relative hyperlinks that work in Adobe Reader. I get PDF files with Annot entries containing a correct "F" entry with a relative path, BUT there is also a UF entry with an absolute path. I have reported this as a bug because it appears to me that the PDF spec says the UF field is a PDF 1.7 feature. I'm speculating that the presence of this undesired absolute path in the UF field of the Annot object is why Adobe Reader (and Foxit Reader) won't follow the hyperlinks as relative paths. Foxit complains about not finding the absolute path.
    Is there a way to coerce Acrobat 9's PDFMAKER to produce truly relative hyperlinks from Word 2007? Am I wrong is diagnosing the problem? I am using Acrobat 9.4.2. Is there a newer version that has fix this problem?
    Any suggestions for how to produce PDF files with functional relative hyperlinks from Word 2007 would be appreciated. Since my document collection is very large (1000,'s of files in a directory tree) I'd like to be able to automate this. I have successfully written VB script code to automate running PDFMAKER but the relative vs absolute hyperlink problem persists whether I make the files one at a time from Word or in a batch from VB.

    I don't believe Word 2000 is supported by Acrobat 9
    Mike

Maybe you are looking for

  • Follow-up material being assigned to another follow-up material

    Hi, I am trying to assign a follow-up material A to material B but get the following message: Material B is already a follow-up material in plant X. This is not a warning or an error message but I still can't save the changes. I have tried to search

  • How do I block a website so I can not go there by accident?

    I want to block a retail website do to bad service. Is this possible?

  • How do I reset master password in OS X 10.7 Lion?

    I have recently found out that my master password is not what I thought it was! I am currently running OS X 10.7 Lion and would like to reset my master password. There are two user accounts on the Mac - one being mine (administrator) and the other my

  • Forms 6i run_report_object performance

    Hi, I am running a report using the run_report_object built-in in Forms 6i. Does anyone have any idea why a report would take 3 three times as long to run via the form connected as an application user? If I run the same report connecting to the datab

  • Servlet not set in classpath

    I'm having the same problem with the servlet package not being accessable. I've tried to add the Creator/jwsdp/common/lib/servlet-api.jar to the classpath for all the compilers (external/internal/jikes etc.) but that does not seem to work. I've also