BeanAlreadyExistsException: Bean already exists when run weblogic.appc

We use weblogic.appc to generate the ejb jar file. It works fine on my Windows XP, but failed on another Windows XP. Below is the stack trace of the error message:
<Mar 17, 2009 8:49:27 AM PDT> <Error> <J2EE> <BEA-160197> <Unable to load descri
ptor D:\VSS\Client_Manager\bin\std-web-matrixejb.jar/META-INF/ejb-jar.xml of module std-web-matrixejb.jar. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:292)
at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:260)
at weblogic.application.descriptor.AbstractDescriptorLoader2.
getDescriptorBeanFromReaderAbstractDescriptorLoader2.java:774)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:395)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:745)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:754)
at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXM
LWithSchema(EjbDescriptorReaderImpl.java:671)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:220)
at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyD
escriptorFromJarFile(EjbDescriptorReaderImpl.java:185)
at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)
at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1430)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:467)
at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:298)
at weblogic.application.compiler.EJBModule.compile(EJBModule.java:83)
at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:16)
at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:31)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:25
at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:118)
at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36
at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
at weblogic.application.compiler.Appc.runBody(Appc.java:172)
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:183)
at weblogic.appc.main(appc.java:14)
Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsExcept
ion: Bean already exists: "weblogic.j2ee.descriptor.SessionBeanBeanImpl@3eb8f669
(//Sessions[<!DOCTYPE ejb-jar PUBLIC '-..Sun Microsystems, Inc...DTD Enterprise
JavaBeans 2.0..EN' 'http:..java.sun.com.dtd.ejb-jar_2_0.dtd'> <ejb-jar> <enterpr
ise-beans> <session> <ejb-name>com.matrix.clientmanager.ejb.LoginDocHome<.ejb-na
me> <home>com.matrix.clientmanager.ejb.LoginEjbHome<.home> <remote>com.matrix.cl
ientmanager.ejb.LoginEjbRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ej
b.LoginEjb<.ejb-class> <session-type>Stateless<.session-type> <transaction-type>
Bean<.transaction-type> <.session> <session> <ejb-name>com.matrix.clientmanager.
ejb.GroupMaintenanceDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.GroupM
aintenanceEjbHome<.home> <remote>com.matrix.clientmanager.ejb.GroupMaintenanceEj
bRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ejb.GroupMaintenanceEjb<.
ejb-class> <session-type>Stateless<.session-type> <transaction-type>Bean<.transa
ction-type> <.session> <session> <ejb-name>com.matrix.clientmanager.ejb.StatusTr
eeDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.StatusTreeEjbHome<.home>
<remote>com.matrix.clientmanager.ejb.StatusTreeEjbRemoteIf<.remote> <ejb-class>
com.matrix.clientmanager.ejb.StatusTreeEjb<.ejb-class> <session-type>Stateless<.
session-type> <transaction-type>Bean<.transaction-type> <.session> <session> <ej
b-name>com.matrix.clientmanager.ejb.ChangeStatusDocHome<.ejb-name> <home>com.mat
rix.clientmanager.ejb.ChangeStatusEjbHome<.home> <remote>com.matrix.clientmanage
r.ejb.ChangeStatusEjbRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ejb.C
hangeStatusEjb<.ejb-class> <session-type>Stateless<.session-type> <transaction-t
ype>Bean<.transaction-type> <.session> <session> <ejb-name>com.matrix.clientmana
ger.ejb.EmployeeDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.EmployeeEj
bHome<.home> <remote>com.matrix.clientmanager.ejb.EmployeeEjbRemoteIf<.remote> <
ejb-class>com.matrix.clientmanager.ejb.EmployeeEjb<.ejb-class> <session-type>Sta
teless<.session-type> <transaction-type>Bean<.transaction-type> <.session> <sess
ion> <ejb-name>com.matrix.clientmanager.ejb.RoleScreenMappingDocHome<.ejb-name>
<home>com.matrix.clientmanager.ejb.RoleScreenMappingEjbHome<.home> <remote>com.m
atrix.clientmanager.ejb.RoleScreenMappingEjbRemoteIf<.remote> <ejb-class>com.mat
rix.clientmanager.ejb.RoleScreenMappingEjb<.ejb-class> <session-type>Stateless<.
session-type> <transaction-type>Bean<.transaction-type> <.session> <session> <ej
b-name>com.matrix.clientmanager.ejb.StatusLibraryDocHome<.ejb-name> <home>com.ma
trix.clientmanager.ejb.StatusLibraryEjbHome<.home> <remote>com.matrix.clientmana
ger.ejb.StatusLibraryEjbRemoteIf<.remote> <ejb-class>com.matrix.clientmanager.ej
b.StatusLibraryEjb<.ejb-class> <session-type>Stateless<.session-type> <transacti
on-type>Bean<.transaction-type> <.session> <session> <ejb-name>com.matrix.client
manager.ejb.LetterGroupDocHome<.ejb-name> <home>com.matrix.clientmanager.ejb.Let
terGroupEjbHome<.home> <remote>com.matrix.clientmanager.ejb.LetterGroupEjbRemote
If<.remote> <ejb-class>com.matrix.clientmanager.ejb.LetterGroupEjb<.ejb-class> <
session-type>Stateless<.session-type> <transaction-type>Bean<.transaction-type>
<.session> <session> <ejb-name>com.matrix.clientmanage])"
at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty
.setValue(RuntimeBindingType.java:483)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRunti
meProperty.fillCollection(AttributeRuntimeBindingType.java:385)
at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalOb
jectFromIntermediary(AttributeRuntimeBindingType.java:145)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElemen
tProperty(LiteralUnmarshalResult.java:159)
at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillE
lementProp(LiteralUnmarshalResult.java:130)
at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents
(ByNameUnmarshaller.java:51)
at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoInt
ermediary(AttributeUnmarshaller.java:47)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(U
nmarshalResult.java:184)
at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:154)
at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
... 33 more
Edited by: [email protected] on Mar 17, 2009 10:25 AM

This exception is caused due to duplicate entries of the bean (TaskServiceBean) in CompositeServices\OrderApprovalHumanTask\public_html\WEB-INF\weblogic.xml file in WebLogicFusionOrderDemo project. Replace this file with the original one in the downloaded project zip and the application deploys successfully.

Similar Messages

  • Error when running weblogic.appc

    We have been running weblogic.appc for quite some time for precompiling our war-files. A few days ago we have been getting errors when precompiling one of our applications (it worked fine just a week ago). We build the war files using the same build setup.
    We run the precompilation using the following command:
    MW_HOME=/opt/lf/weblogic/wls1035_dev
    java -classpath $MW_HOME/wlserver/server/lib/weblogic.jar:$MW_HOME/wlserver/server/lib/wlclient.jar weblogic.appc -verbose -verboseJavac -nowarn -k -maxfiles $2 -output $OUTPUT_HOME/$WAR_FILE-$WAR_END $WAR_HOME/$WAR_FILE*
    The error we are getting is:
    java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:127)
         at java.util.zip.ZipFile.<init>(ZipFile.java:144)
         at weblogic.jsp.internal.Jar.<init>(Jar.java:24)
         at weblogic.jsp.internal.Application.createJavelinFile(Application.java:185)
         at weblogic.jsp.internal.CPL.initializeBinaryPaths(CPL.java:234)
         at weblogic.servlet.jsp.JspCLLManager.initPaths(JspCLLManager.java:437)
         at weblogic.servlet.jsp.JspCLLManager.initialize(JspCLLManager.java:237)
         at weblogic.servlet.jsp.JspCLLManager.<init>(JspCLLManager.java:228)
         at weblogic.servlet.jsp.JspCLLManager.<init>(JspCLLManager.java:221)
         at weblogic.servlet.jsp.JspCLLManager.compileJsps(JspCLLManager.java:126)
         at weblogic.servlet.jsp.jspc20.runBodyInternal(jspc20.java:454)
         at weblogic.servlet.jsp.jspc20.runJspc(jspc20.java:227)
         at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:236)
         at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
         at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
         at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
         at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
         at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
         at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         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:262)
         at weblogic.appc.main(appc.java:14)
    And then for every jsp in the war file we are getting this error:
    Exception encountered while compiling /tmp/appcgen_1316596871973_application.war/jspview/view.jsp
    java.lang.NullPointerException
         at weblogic.jsp.internal.jsp.JspParser.jspParse(JspParser.java:1092)
         at weblogic.jsp.internal.jsp.JspParser._parse(JspParser.java:604)
         at weblogic.jsp.internal.jsp.JspParser.parse(JspParser.java:597)
         at weblogic.jsp.internal.jsp.JspAnalyzer.parseFile(JspAnalyzer.java:104)
         at weblogic.jsp.internal.jsp.JspAnalyzer.parse(JspAnalyzer.java:92)
         at weblogic.jsp.internal.ProxySourceFile.parse(ProxySourceFile.java:106)
         at weblogic.jsp.internal.SourceFile.getAst(SourceFile.java:559)
         at weblogic.jsp.internal.SourceFile.getAst(SourceFile.java:533)
         at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
         at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
         at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
         at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
         at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
         at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
    At the end we are also getting the following output (I have checked the ownership and permissions and they are the same as for the applications that we get successful compilations).
    There are 1 nested errors:
    java.lang.RuntimeException: Error enumerating directory "/tmp/.jspcgen_1316596885663/war"; please check its ownership and permissions.
         at weblogic.utils.FileUtils.remove(FileUtils.java:299)
         at weblogic.utils.FileUtils.remove(FileUtils.java:316)
         at weblogic.application.io.ExplodedJar.remove(ExplodedJar.java:262)
         at weblogic.servlet.internal.War.remove(War.java:278)
         at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:249)
         at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
         at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
         at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
         at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
         at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
         at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
         at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
         at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
         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:262)
         at weblogic.appc.main(appc.java:14)

    We solved this by increasing the number of open files, by adding the following in the /etc/security/limits.conf
    * soft nofile 50000
    * hard nofile 50000

  • Bean already exists

    hi when i run my application am geting below error,i don't have any duplicate bean in C:\Users\Tshifhiwa\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\CascadingSOC\META-INF i only have two file=application,weblogic-application,am i jdeveloper 11.1.1.6
    <10 Nov 2012 8:45:43 PM> <Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\Users\Tshifhiwa\AppData\Roaming\JDeveloper\system11.1.1.6.38.61.92\o.j2ee\drs\CascadingSOC/META-INF/weblogic-application.xml of module CascadingSOC. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:161)
         at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
         at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
         at weblogic.application.ApplicationDescriptor.getWeblogicApplicationDescriptor(ApplicationDescriptor.java:324)
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:181)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationForAppDeployment(MBeanConverter.java:67)
         at weblogic.management.deploy.internal.MBeanConverter.setupNew81MBean(MBeanConverter.java:315)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.compatibilityProcessor(ActivateOperation.java:81)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:97)
         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:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.bea.xml.XmlException: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86974b6a(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:54)
         at com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.setValue(RuntimeBindingType.java:539)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.fillCollection(AttributeRuntimeBindingType.java:381)
         at com.bea.staxb.runtime.internal.MultiIntermediary.getFinalValue(MultiIntermediary.java:52)
         at com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.getFinalObjectFromIntermediary(AttributeRuntimeBindingType.java:140)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:200)
         at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:169)
         at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
         at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:150)
         ... 27 more
    Caused by: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86974b6a(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.staxb.runtime.internal.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:48)
         ... 35 more
    .>
    <10 Nov 2012 8:45:43 PM> <Error> <Deployer> <BEA-149605> <Failed to create App/Comp mbeans for AppDeploymentMBean CascadingSOC. Error - weblogic.management.DeploymentException: Unmarshaller failed.
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86974b6a(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    <10 Nov 2012 8:45:43 PM> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1352573142571' for task '0'. Error is: 'weblogic.management.DeploymentException: Unmarshaller failed'
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86974b6a(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    <10 Nov 2012 8:45:43 PM> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'CascadingSOC'.>
    <10 Nov 2012 8:45:43 PM> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: Unmarshaller failed
         at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
         at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
         at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
         at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
         at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:89)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.descriptor.BeanAlreadyExistsException: Bean already exists: "weblogic.j2ee.descriptor.wl.LibraryRefBeanImpl@86974b6a(/LibraryRefs[[CompoundKey: adf.oracle.domain]])"
         at weblogic.descriptor.internal.ReferenceManager.registerBean(ReferenceManager.java:231)
         at weblogic.j2ee.descriptor.wl.WeblogicApplicationBeanImpl.setLibraryRefs(WeblogicApplicationBeanImpl.java:1440)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         Truncated. see log file for complete stacktrace
    >
    [08:45:43 PM] #### Deployment incomplete. ####
    [08:45:43 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application CascadingSOC due to error deploying to IntegratedWebLogicServer.
    [Application CascadingSOC stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Edited by: adf0994 on 2012/11/10 9:52 PM

    Check your weblogic-application.xml if there is a duplicate library-ref
      <library-ref>
        <library-name>adf.oracle.domain</library-name>
      </library-ref>Timo

  • ExceptionInInitializer when running weblogic.jspc

    I am getting the following error when running weblogic.jspc:
              I am using 4.5.1 and am trying to pre-compile a jsp file.
              Any ideas?
              I am using the following command line:
              java -classpath $CLASSPATH:$WEBLOGICCLASSPATH
              -Dweblogic.class.path=$WEBLOGICCLASSPATH weblogic.jspc 100-Welcome.jsp
              I have also tried the above command w/ -classpath $CLASSPATH
              Thanks,
              Richard
              java.lang.ExceptionInInitializerError
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Error.<init>(Compiled Code)
              at java.lang.LinkageError.<init>(Compiled Code)
              at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
              at java.beans.Beans.instantiate(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.processBeanTag(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(Compiled
              Code)
              at weblogic.servlet.jsp.JspLexer.mXML_THING(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)
              at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)
              at weblogic.servlet.jsp.JspParser.doit(Compiled Code)
              at weblogic.servlet.jsp.JspParser.parse(Compiled Code)
              at
              weblogic.servlet.jhtmlc.Jhtml2Java$Output.setSourceFile(Compiled Code)
              at weblogic.servlet.jhtmlc.Jhtml2Java.outputs(Compiled Code)
              at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code)
              at weblogic.jhtmlc.runBody(Compiled Code)
              at weblogic.jspc.runBody(Compiled Code)
              at weblogic.utils.compiler.Tool.run(Compiled Code)
              at weblogic.jspc.main(Compiled Code)
              

    Hi again,
    it turns out that the application outputs the above error if I run it from anywhere except EditPlus (what I use to code my applications - not an IDE), i.e. if I run the main class file from the command line, the same thing happens.
    AAAAAHHHHH!!!!!

  • Pop up saying File already exists when saving an excel file while running exe

    I have an excel file which I read and write in my application.
    When I run the application in development system, it works fine. However when I run the application as an exe and try to save the excel file, it says that 'The file already exists and Do you want to replace?'.
    Why does this question asked for exe?
    PFA my write excel VI
    Thanks in advance.
    Attachments:
    Write to Excel.vi ‏25 KB

    Hi Princess_swa,
    The problem may be that when you build an exe, it adds another folder called 'builds' into the filepath.
    A good way to fix this is to create a case structure, putting extra strip paths into your filepath if running an exe.
    I have attached a screenshot of my code doing exactly this for you to look at. The code creates a 'base path' which is then used to reference all of my file paths in my code - and therefore, they will always have the right number of strip paths when it is run. (Note: in my code I have 2 extra strip paths, due to where I've placed the folder, but one should be sufficient.)
    Also there is a 'Check if folder exists' VI which you can again link to a case structure, and change the filename if it already exists. Again, I have provided a screenshot of my code which does this.
    Hope this helps,
    Lou
    Attachments:
    runtime strip paths.png ‏9 KB
    check folder exists.png ‏5 KB

  • How to deal with "Error 1001. The specified service already exists" when install a service using installer package?

    Hi everybody,
    I wrote a "Class Library" project which is a service using Visual Stodio 2008 recently, then tried to use a Visual Studio 2008
    Setup Project to install it.
    Here is what I did for the "Class Library":
    1. Finish the program.cs, Service.cs
    2. Add Installer
    3. Change the serviceInstaller so that "StartType" to be Aotumatic
    4. Change the ServiceProcessInstaller2 so that "Account" to be LocalSystem
    5.
    6. Click in F5 (Start Debugging)
    Here is what I did for the Setup Project:
    1. Add the exe file built from the "Class Library" project to the Application Folder
    2. On the Custom Action Editor, add the exe file from 1 to Install and Commit
    3. Change the property of the project so that "RemovePreviousVersion" to be true
    4. Click on F6(Build Solution)
    Then I tried to run the msi file from the built of the Setup Project. Because I modified the two projects serveral times, I uninstalled the Class Library using "Control Panel->Add or Remove Programs" before I reinstall. Two things I notived:
    1. After unstall, the registry was not cleaned up about the installed program
    2. After several rounds install/uninstall, I got "Error 1001. The specified service already exists"
    My questions are:
    1. How to cleanup the registry when uninstall a program?
    2. How to deal with the "Error 1001. The specified service already exists"?
    3. Did I do anytbing wrong with the "Class Library" or the "Setup Project"?
    Thanks a lot!
    Helen

    Hi Simon, not a problem!
    I spent some more time on this and here are few more notes:
    it is called Major Upgrade, when you are installing new version of the product upon a previous one and
    MSI supports 2 strategies:
    Strategy 1. Install a new version and uninstall previous one. (Install a new version right upon previously installed version (file merging is performed based on dll version number) and the delete previously
    installed files)
    Strategy 2. Uninstall previous version and install a new one (Delete all previous files and install from scratch new files.)
    From the first look it seems that 1st strategy is weird and buggy. But, remember, MSI is great because it's transactional!!! That means that if once some of the phases (Installation, Uninstallation, Rollback, Comit) fails, your machine
    will be reverted to the previous state and it'll be still functional. 
    Let's consider both strategies:
    Consider you have installed product_v1.msi and you want to install product_v2.msi.
    Strategy 1
    1. MSI engine copies files from Product_v1 directory to TEMP directory
    2. MSI engine merges files based on the assembly version (between v1 and v2)
    3. Once merging is completed successfully it removes files in TEMP (RemoveExistingProducts  action triggers it) and you got product_v2 installed, otherwise if it fails MSI engine revert machine to V1 and copies previous files from TEMP.
    Strategy 2
    1. MSI engine tottaly removes all files from v1.
    2. MSI engine installs v2 files and if something goes wrong you cannot revert back, because RemoveExistingProducts  allready worked out and MSI doesn't have files to revert machine back
    I recommend to everybody to use Strategy 1 and leverage MSI transaction functionality. And you can set this strategies by defining sequence of RemoveExistingProducts action. See more info
    here.  So, I think it's not even a bug in VS as I said in the upper post it is default recommened behaviour.
    AND, you got "Error 1001. The specified service already exists"
    because if we follow Strategy 1 MSI engine tries to install Windows Service on top of the existing service and OF COURSE it fails MSI engine (StopServices, DeleteServices actions are executed before actual
    installation and  they look at ServiceControl table). In order to stop service first and delete them you have to fill ServiceContol table of the MSI (and then StopServices, DeleteServices actions will recognize what to they have to stop
    and delete), like this:
    *clip*clip*clip*
    ' see http://msdn.microsoft.com/en-us/library/windows/desktop/aa371634(v=vs.85).aspx for more info
    ' Update the Service Entry to stop and delete service while uninstalling
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD_Service', 'Service name', '160', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    ' Update the Service Entry to stop and delete service while installing
    query = "INSERT INTO ServiceControl (ServiceControl, Name, Event, Arguments, Wait, Component_) VALUES ('MAD2_Service', 'Service name', '10', '', '1', '"
    + componentName + "')"
    Set view = database.OpenView(query)
    : CheckError
    view.Execute : CheckError
    *clip*clip*clip*
    We can uninstall service first by following Strategy 2, but then we lose transactional support.
    So, Simon did I encourage you to change your code a bit?:)
    And, btw, if you don't want to change the strategy, please don't rely on SequenceID in MSI table, it can be change, you have to get the at the runtime.
    Hope it will help to everybody!
    See also more advanced explanation of how MSI works
    here.
    Truly yours, Marat

  • Files Already Exist when Reconnecting Presumably Missing Files

    I am struggling to clean-up several hundred files in my PSE organizer database.
    Whenever I run the reconnect all command (or any other command that requires reconnecting first), PSE locates a large group of presumably missing files. PSE's "Reconnect Missing Files" dialogue shows me the former location of the files. I browse to that location and find the files still there. I then select the file and press reconnect. Unfortunately, I then get an error that says "The file already exists in the catalog." This clears the missing file problem for the moment. However, when I run another missing file check, it will again find these same files. I have attempted to reconnect them several times but PSE continues to tell me that they need to be reconnected but still knows where the files are.
    I have already run a database repair (no errors were found).
    I also ran a database optimization without issue.
    Some system information:
    Win7 Home Premium Service Pack 1
    Dell XPS i7 Computer
    6gb RAM. >350gb of free hard disk space
    PSE 12....but also had the same problem on PSE 11. I upgraded hoping that the problem would be solved. It wasn't.
    Thanks for any assistance in clearing this problem for me.
    -Bruce

    I solved my own problem...although I do not know what caused it nor why Adobe's program didn't fix it for me.
    The "missing" entries that were being highlighted were all duplicate entries. Adobe won't allow for a duplicate entry to the same physical file. I deleted all the offending entries and this cleared my problem. I hope this solution helps others.
    -Bruce

  • SG300, FW 1.2.7.76, "Entry already exists" when changing ACL's

    Hello,
    I am getting very frustrated trying to modify/create ACL's on my SG300-20 switch.
    I have the switch in L3 mode. I have created several VLAN's and ACL's for each VLAN controlling their access to each other. After the initial setup, I have started trying to create more VLAN ACL rules to allow more access between the VLAN's. The problem I keep running in to is that when I go to modify the ACE's in the ACL, I keep getting the error message "Entry already exists". For example, I go to modify the port ranges to tighten them up, and try to save the ACE after modifying it, and I get that error message.
    I have gotten frustrated and deleted ACE's, and then tried recreating them, and I get the same error message! I noticed that if I wait long enough (many minutes, hours?) I can go in and create the ACE again. The ACE definitely doesn't exist but the web interface won't let me create it. I've even tried using a completely different Priority value which isn't used in any of the ACL's, that didn't work either.
    Why is this happening? At this point I am finding it next to impossible to configure this thing. Frustrating...

    Here is a screenshot of one of my ACL's. This ACL is being applied to every port which is in the VLAN with the IP range 10.0.0.0/24
    http://imgur.com/C6iQk
    I just tried to add a new rule which failed with the same error:
    Priority 89
    Action: Permit
    Source IP Address: 10.0.0.21
    Source IP Mask: 0.0.0.0
    Destination IP Address: 10.1.0.0
    Destination IP Mask: 0.0.0.255
    Source Port Range: 8080
    Destination Port Range: 49152-65535
    So I am trying to allow anything from the 10.1.0.0/24 network to talk to port 8080 on 10.0.0.21. This failed with the "Entry already exists" error.

  • This entry already exist when adding an alert

    Hi,
    I still have this error every time I send an alert to a group of recipient.
    It seems that for some reason,  some users receiving messages that aren't loging in for some times I have this error poping up when sending alerts :
    "This entry already exists in the following table (ODBC - 2035)"
    What do I have to know about sending alerts ?
    Here's the code used to send alert.
    SAPbobsCOM.CompanyService oCmpSrv = null;
    MessagesService oMessageService = null;
    SAPbobsCOM.Message oMessage = null;
    MessageDataColumns pMessageDataColumns = null;
    MessageDataColumn pMessageDataColumn = null;
    MessageDataLines oLines = null;
    MessageDataLine oLine = null;
    RecipientCollection oRecipientCollection = null;
    try
        oCmpSrv = oCompany.GetCompanyService();
        oMessageService = ((SAPbobsCOM.MessagesService)(oCmpSrv.GetBusinessService(ServiceTypes.MessagesService)));
        oMessage = ((SAPbobsCOM.Message)(oMessageService.GetDataInterface(MessagesServiceDataInterfaces.msdiMessage)));
        oMessage.Subject = Subject;
        oMessage.Text = Body;
        oRecipientCollection = oMessage.RecipientCollection;
        foreach (string RecipientName in Recipients)
            oRecipientCollection.Add();
            oRecipientCollection.Item(oRecipientCollection.Count - 1).SendInternal = BoYesNoEnum.tYES;
            oRecipientCollection.Item(oRecipientCollection.Count - 1).UserCode = GetUserCode(RecipientName, oCompany);
        // Don't add a document link if we pass -1 as parameter.
        if (ObjectType != -1)
            // get columns data
            pMessageDataColumns = oMessage.MessageDataColumns;
            // get column
            pMessageDataColumn = pMessageDataColumns.Add();
            // set column name
            pMessageDataColumn.ColumnName = ColumnName;
            // set link to a real object in the application
            pMessageDataColumn.Link = (ObjectType != -1 ? BoYesNoEnum.tYES : BoYesNoEnum.tNO);
            // get lines
            oLines = pMessageDataColumn.MessageDataLines;
            // add new line
            oLine = oLines.Add();
            // set the line value
            oLine.Value = ObjectKey;
            // set the link to BusinessPartner (the object type for Bp is 2)
            oLine.Object = ObjectType.ToString();
            // set the Bp code
            oLine.ObjectKey = ObjectKey;
        // send the message
        oMessageService.SendMessage(oMessage);
        return "";
    catch (Exception ex)
        return ex.Message;
    if I send message only to the current user there's no problem.  but since the recipient list have 3 users, the 2 other users are rarely opening SAP
    It can be the way I'm filling the recipients but I'm not sure.

    Hi,
    It's in C# but enjoy this :
    /// <summary>
                    /// Send an alert to a recipient
                    /// </summary>
                    /// <param name="RecipientName">The name of the recipient</param>
                    /// <param name="Subject">The subject of the message</param>
                    /// <param name="Body">The message</param>
                    /// <param name="ColumnName">The name of the column shown on for the document sent</param>
                    /// <param name="ObjectType">The object type : for instence (int)BoObjectTypes.oOrders</param>
                    /// <param name="ObjectKey">The DocEntry of the document to be linked to this alert</param>
                    private static string _SendAlert(string Subject, string Body, string ColumnName, int ObjectType, string ObjectKey, SAPbobsCOM.Company oCompany, System.Collections.Generic.List<string> Recipients)
                        SAPbobsCOM.CompanyService oCmpSrv = null;
                        MessagesService oMessageService = null;
                        SAPbobsCOM.Message oMessage = null;
                        MessageDataColumns pMessageDataColumns = null;
                        MessageDataColumn pMessageDataColumn = null;
                        MessageDataLines oLines = null;
                        MessageDataLine oLine = null;
                        RecipientCollection oRecipientCollection = null;
                        Recipient oRecipient = null;
                        try
                            oCmpSrv = oCompany.GetCompanyService();
                            oMessageService = ((SAPbobsCOM.MessagesService)(oCmpSrv.GetBusinessService(ServiceTypes.MessagesService)));
                            oMessage = ((SAPbobsCOM.Message)(oMessageService.GetDataInterface(MessagesServiceDataInterfaces.msdiMessage)));
                            oMessage.Subject = Subject;
                            oMessage.Text = Body;
                            oRecipientCollection = oMessage.RecipientCollection;
                            foreach (string UserCode in Recipients)
                                oRecipient = oRecipientCollection.Add();
                                oRecipient.SendInternal = BoYesNoEnum.tYES;
                                oRecipient.UserCode = UserCode;
                            // Don't add a document link if we pass -1 as parameter.
                            if (ObjectType != -1)
                                // get columns data
                                pMessageDataColumns = oMessage.MessageDataColumns;
                                // get column
                                pMessageDataColumn = pMessageDataColumns.Add();
                                // set column name
                                pMessageDataColumn.ColumnName = ColumnName;
                                // set link to a real object in the application
                                pMessageDataColumn.Link = (ObjectType != -1 ? BoYesNoEnum.tYES : BoYesNoEnum.tNO);
                                // get lines
                                oLines = pMessageDataColumn.MessageDataLines;
                                // add new line
                                oLine = oLines.Add();
                                // set the line value
                                oLine.Value = ObjectKey;
                                // set the link to BusinessPartner (the object type for Bp is 2)
                                oLine.Object = ObjectType.ToString();
                                // set the Bp code
                                oLine.ObjectKey = ObjectKey;
                            // send the message
                            oMessageService.SendMessage(oMessage);
                            return "";
                        catch (Exception ex)
                            return ex.Message;
    And make sure tou send only ONE recipient in the collection like {Recepient ONE} because sending more then one wasn't working for me and I never knew why !
    WHY WHEN EDITING THIS MESSAGE EVERYTHING IS FINE BUT WHEN LOOKING AT IT ALL THE SPACES ARE GONE ?
    Edited by: Marc Roussel on Aug 26, 2009 12:19 PM

  • Memory maxed out when running weblogic 4.5

    I am the tech support guy for my office, but I am WebLogic illiterate. I have a user who is running WebLogic, but when he runs it, his RAM and virtual memory max out. Are there any settings in WebLogic for memory allocation? Or is there a known problem with memory?

    Please see my reply in misc.
    Michael Girdley
    Product Manager, WebLogic Server
    BEA Systems Inc.
    Jay A. Fulks <[email protected]> wrote in message
    news:89gt0e$91a$[email protected]..
    Hi.
    I am running WebLogic 4.5.1.5 under Solaris 2.6. I am using JDK 1.2.2
    with HotSpot. When we shutdown our server, it essentially crashes with
    the following error:
    # HotSpot Virtual Machine Error, Unexpected Signal 11
    # Error happened during: mark sweep
    # Error ID: 4F533F534F4C415249530E4350500BC2 01
    After looking into the problem, we found that it is easily recreatable,
    simply
    by (1) starting the server, (2) hitting any web page (which causes
    FileServlet
    to be loaded), and (3) shutting down the server.
    I have attached a tail of my log file as evidence.
    Anybody else seen this problem? Is it a Weblogic/HotSpot compatibility
    problem?
    Thanks.

  • File already exist when calling tcp listen

    i was using some modified versions of tcp/ip vi's at
    http://www.sheldoninst.com/support.html
    but everytime i start the server, it gives me an error 2 "file already exist" message. has anyone tried their vi's at sheldoninst?

    i was using some modified versions of tcp/ip vi's at
    http://www.sheldoninst.com/support.html
    but everytime i start the server, it gives me an error 2 "file already exist" message. has anyone tried their vi's at sheldoninst?

  • "Product is not installed" message when running weblogic upgrade installer

    Hi,
    I have successfully installed WLS 10.3.5 and JDeveloper Studio using jdevstudio11116install.jar installer on my local machine running Windows 7 64-bit Enterprise Edition . Now when I try upgrading WLS to version *10.3.6*, using wls1036_upgrade_generic.jar, I run into "*Product is not installed*" message. I tried even running wls1036_upgrade_win32.exe and the results are the same.
    Appreciate if someone could tell me what I am doing wrong. I only followed the WLS install/upgrade documentation but looks like something is amiss.
    Thanks.

    Hi,
    Appreciate if anybody out there can help me with the problem. I am wondering if the message cropped up due to the fact that I am trying to run a product upgrade specifically targeted at WebLogic Server instead of running a upgrade installer for jdeveloper since WLS 10.3.5 came with JDev installer in the first place. I am not aware if upgrade installlers are available for jdevstudio. Another way to put this is, I should have run WLS 10.3.5 installer first(instead of jdev) and the 10.3.6 upgrade installer next. That probably might have worked. Then again I am not sure this is correct.
    Appreciate any help on this.
    Thanks

  • Error when running weblogic 10 in cluster

    I am testing out weblogic 10 and when I run it with a single managed server and an admin server then everything works fine. When I run it in a cluster with a valid test cluster license, I get the following error. Does anyone know what the cause of this error is and how to fix it? Thanks for the help.
              <Sep 14, 2007 7:06:03 PM UTC> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.rmi.internal.dgc.DGCServerImpl.renewLease([I)
              java.lang.ClassCastException: weblogic.rjvm.ImmutableServiceContext.
              java.lang.ClassCastException: weblogic.rjvm.ImmutableServiceContext
              at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:369)
              at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.readClassDescriptor(ChunkedObjectInputStream.java:265)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1534)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
              at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1591)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
              at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
              at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
              at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
              at weblogic.rmi.internal.dgc.DGCServerImpl_WLSkel.invoke(Unknown Source)
              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
              at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
              at weblogic.security.service.SecurityManager.runAs(Unknown Source)
              at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
              at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
              at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
              at weblogic.work.SelfTuningWorkManagerImpl.schedule(SelfTuningWorkManagerImpl.java:126)
              at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:321)
              at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:918)
              at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1084)
              at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1001)
              at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:230)
              at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:877)
              at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:446)
              at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
              at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:383)
              at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:872)
              at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:818)
              at weblogic.socket.EPollSocketMuxer.dataReceived(EPollSocketMuxer.java:192)
              at weblogic.socket.EPollSocketMuxer.processSockets(EPollSocketMuxer.java:174)
              at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
              at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
              >

    We solved this by increasing the number of open files, by adding the following in the /etc/security/limits.conf
    * soft nofile 50000
    * hard nofile 50000

  • Java.lang.NullPointerException when running weblogic on linux

    Hi,
    I installed the generic release of the Oracle WebLogic (wls1033_generic.jar) on my server (Ubuntu 64bit). When starting the application I am getting the following java exception. Is this a bug?
    <Jun 22, 2010 9:29:51 AM EDT> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: java.lang.NullPointerException
    java.lang.NullPointerException
    at weblogic.deploy.internal.adminserver.DeploymentManager.getPendingDeploymentsForEditLockOwner(DeploymentManager.java:360)
    at weblogic.management.provider.internal.EditAccessImpl.removePendingUpdateTasks(EditAccessImpl.java:560)
    at weblogic.management.provider.internal.EditAccessImpl.undoUnsavedChanges(EditAccessImpl.java:555)
    at weblogic.management.provider.internal.EditAccessImpl.acquireLock(EditAccessImpl.java:264)
    at weblogic.management.provider.internal.EditAccessImpl.startEdit(EditAccessImpl.java:289)
    Truncated. see log file for complete stacktrace
    >
    <Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jun 22, 2010 9:29:51 AM EDT> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jun 22, 2010 9:29:51 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

    Are you running the process as the user that installed WebLogic and have write permissions in the domain directory?
    How did you create the domain?

  • Error received when running weblogic in cluster

    I am trying out clusters to see what the benefit would be to our application but I keep getting an error in the background. I have obtained a test cluster license and it is loading it up on startup. Does anyone know what this error is or how to fix it? Thanks for the help.
    <Sep 14, 2007 7:06:03 PM UTC> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.rmi.internal.dgc.DGCServerImpl.renewLease([I)
    java.lang.ClassCastException: weblogic.rjvm.ImmutableServiceContext.
    java.lang.ClassCastException: weblogic.rjvm.ImmutableServiceContext
    at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:369)
    at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.readClassDescriptor(ChunkedObjectInputStream.java:265)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1534)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1591)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.dgc.DGCServerImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.SelfTuningWorkManagerImpl.schedule(SelfTuningWorkManagerImpl.java:126)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:321)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:918)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1084)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1001)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:230)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:877)
    at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:446)
    at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
    at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:383)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:872)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:818)
    at weblogic.socket.EPollSocketMuxer.dataReceived(EPollSocketMuxer.java:192)
    at weblogic.socket.EPollSocketMuxer.processSockets(EPollSocketMuxer.java:174)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    >

    I am trying out clusters to see what the benefit would be to our application but I keep getting an error in the background. I have obtained a test cluster license and it is loading it up on startup. Does anyone know what this error is or how to fix it? Thanks for the help.
    <Sep 14, 2007 7:06:03 PM UTC> <Warning> <RMI> <BEA-080003> <RuntimeException thrown by rmi server: weblogic.rmi.internal.dgc.DGCServerImpl.renewLease([I)
    java.lang.ClassCastException: weblogic.rjvm.ImmutableServiceContext.
    java.lang.ClassCastException: weblogic.rjvm.ImmutableServiceContext
    at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInputStream.java:369)
    at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.readClassDescriptor(ChunkedObjectInputStream.java:265)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1534)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
    at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1591)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
    at weblogic.rmi.internal.dgc.DGCServerImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.SelfTuningWorkManagerImpl.schedule(SelfTuningWorkManagerImpl.java:126)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:321)
    at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:918)
    at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1084)
    at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1001)
    at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:230)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:877)
    at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:446)
    at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
    at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:383)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:872)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:818)
    at weblogic.socket.EPollSocketMuxer.dataReceived(EPollSocketMuxer.java:192)
    at weblogic.socket.EPollSocketMuxer.processSockets(EPollSocketMuxer.java:174)
    at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    >

Maybe you are looking for

  • My ipod isnt showing the music videos i purchased

    i recently purchased some music videos from itunes and they were on my ipod last night. Now i was looking through my playlist and noticed there both gone. I was wondering how do i get them back. Tried going to the support but couldnt find anything li

  • How do I add a second email address in my email account with Shaw cable

    How do I add a second email address in my email account with Shaw cable. It is already set up with Shaw but how do I add it to my incoming email

  • Lost Bluetooth Hardware?

    Have a (white) MacBook which came with Bluetooth installed. I subsequently purchased a bluetooth mouse and keyboard from Apple. Then, I had a hard drive crash and had to replace HD. About the same time I updated OS to 10.5.7. Not sure which, but I fi

  • Running CMD command in PS

    In PS2, I always use cmd.exe /C to run DOS commands. However, I ran into this scenario: The first try, using cmd.exe /C, failed with the above error. The second try, running the command directly, was successful. Anyone can explain why? Thanks.

  • Cs4 crashed and now wont open

    before i get my head bit off for being in wrong forum...i feel i am lucky to get this far... whilst running batch from within cs4, my computer hung and i was forced to hold the power button as i could not force quit nor close any open programme...aft