Unable to deploy wssdk-supplier of Virgo development environment

I'm trying to deploy the sample project Java vsphere-wssdk-provider on the Virgo development environment, but I am running in a "Import-Package could not be resolved""" error is displayed at the bottom of this post. »


Currently, my Internet Client SDK and Web Services SDKS are 5.1 versions.  I was looking at post regarding the use of the web service sdk in Internet client sdk as a similar problem, but were not enough details so I don't know if this poster was having the same problem.  It seems to be the same sample that I was trying.

[12:15:46.321 2013-10-25] [INFO] 40 - 127.0.0.1 < DE0000I > TCP connection install the version of 'com.vmware.samples.wssdkprovider' bundle ' 1.0.0 '.

[12:15:46.400 2013-10-25] [INFO] Connection TCP Dump 40 - 127.0.0.1 < ME0003I > "serviceability\dump\2013-10-25-12-15-354" generated

[12:15:46.416 2013-10-25] [ERROR] The Installation of 40 - 127.0.0.1 < DE0002E > 'com.vmware.samples.wssdkprovider' in ' 1.0.0 version TCP connection failed. " "org.eclipse.virgo.kernel.osgi.framework.UnableToSatisfyBundleDependenciesException: unable to satisfy dependencies of the package 'com.vmware.samples.wssdkprovider' to release ' 1.0.0 ': could not resolve: com.vmware.samples.wssdkprovider

Report of resolver:

A Package Import could not be resolved. Caused by the constraint missing bundled < com.vmware.samples.wssdkprovider_1.0.0 >

constraint: Import-Package: com.vmware.vim25; version = "0.0.0" >

at org.eclipse.virgo.kernel.install.pipeline.stage.resolve.internal.QuasiResolveStage.process(QuasiResolveStage.java:45)

at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)

at org.eclipse.virgo.kernel.install.pipeline.internal.CompensatingPipeline.doProcessTree(CompensatingPipeline.java:72)

at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

at org.eclipse.virgo.kernel.install.pipeline.internal.StandardPipeline.doProcessTree(StandardPipeline.java:62)

at org.eclipse.virgo.kernel.install.pipeline.stage.AbstractPipelineStage.process(AbstractPipelineStage.java:41)

at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.driveInstallPipeline(PipelinedApplicationDeployer.java:285)

at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.doInstall(PipelinedApplicationDeployer.java:164)

at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.install(PipelinedApplicationDeployer.java:136)

at org.eclipse.virgo.kernel.deployer.core.internal.PipelinedApplicationDeployer.deploy(PipelinedApplicationDeployer.java:203)

at org.eclipse.virgo.kernel.deployer.management.StandardDeployer.deploy(StandardDeployer.java:52)

at sun.reflect.GeneratedMethodAccessor95.invoke (unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:167)

at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:96)

at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:33)

at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)

at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)

at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)

at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)

at $200 (RMIConnectionImpl.java:72) javax.management.remote.rmi.RMIConnectionImpl.access

to javax.management.remote.rmi.RMIConnectionImpl$ PrivilegedOperation.run (RMIConnectionImpl.java:1265)

at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)

at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)

at sun.reflect.GeneratedMethodAccessor94.invoke (unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)

to sun.rmi.transport.Transport$ 1.run(Transport.java:159)

at java.security.AccessController.doPrivileged (Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

to sun.rmi.transport.tcp.TCPTransport$ ConnectionHandler.run0 (TCPTransport.java:790)

to sun.rmi.transport.tcp.TCPTransport$ ConnectionHandler.run (TCPTransport.java:649)

to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

at java.lang.Thread.run(Thread.java:662)

[12:15:46.416 2013-10-25] [ERROR] 40 - 127.0.0.1 < DE0003E > TCP connection installation failed for 'com.vmware.samples.wssdkprovider' in version "1.0.0".

The text below is our documentation, vm25.jar/server/repository/usr directory you copied?

----------------------------------------------------------------------------------------------------------------------

vSphere-wssdk-ui and vsphere-wssdk-provider

Description

This example shows how to use the vSphere Web Services SDK (WSSDK) on the side server to access the data of vCenter that you might not be able to get with the models presented before data request. More generally the WSSDK API allows access to objects managed vSphere that can be used to manage, monitor and control the lifecycle of all the components of the virtual infrastructure operations (vms, data centers, data warehouses, networks, etc.). This example shows how to retrieve the properties of the object, but the same WSSDK could be used to implement the operations specific vCenter in your plugin.

Its use

This example uses WSSDK library vim25.jar of the VMware, located in/vsphereviews/vsphere-wssdk-provider/lib. For the blank server load this library during development, it must be copied to the/server/repository/usr directory, see first how to use libraries third 3rd for more details. (The other library, commons-logging - 1.1.1.jar is already part of the repository Virgo.)

Tags: VMware

Similar Questions

  • ODI 11 g - Multi user development environment configuration

    Hi all

    1. in a business environment, what is the correct way of installing ODI (like having ODI server in Unix machine where the FMW & WLS and Client are installed in the computer of each developer, which connects to the single master & repository for development work)? Could you please provide the exact steps to follow?

    2. is it possible to install just ODI with Designer on a Windows Server and the developers remote access ODI at the same time for their development activities? If so, could you please tell me some documents?

    3. I have a development environment with a master & repositories of work and a test environment with another master & repositories work (performance only). During work & master of initial deployment of repositories of the development environment is exported and imported into the environment of test and all the scenarios are exported from dev as solutions and imported in test. Now, I would like to know, if there are changes to existing objects or new components of ODI (as a model, interface, variable, packages, etc.) added, we have to synch - upward dev to test repositories?

    Please help me to get said.

    Thank you
    MT

    Perfect, since you have the same logical patterns that will work.

  • Unable to deploy device applications examples

    I'm unable to deploy any of the samples from samples waterfall waterfall on my device. I get the following error when I try

    There is no program file
    /Users/jeswinsimon/projects/bucktlist/sampleApps/starshipsettings/arm/o.Le-v7-g/starshipsettings not found
    /Users/jeswinsimon/projects/bucktlist/sampleApps/starshipsettings/arm/o.Le-v7-g/starshipsettings not found
    /Users/jeswinsimon/projects/bucktlist/sampleApps/starshipsettings/arm/o.Le-v7-g/starshipsettings not found

    Feature: Dev Alpha B OS Version: 10.1.0.1720

    QNX Momentics® IDE for BlackBerry® 10 native SDK

    Version: 10.2.0

    Build id: v201306031341

    You probably imported the project.  I just checked myself and starshipsettings working on my bbndk Dev Alpha C. last 10.2.

    File-> import-> General-> existing projects into workspace and you need to select the directory or the zip file.

    After that I just checked the build configuration - debugging the device, he built and ran it on the device.

    If you still have questions download the example directly from github: https://github.com/blackberry/Cascades-Samples - maybe you have the old version.

  • Unable to deploy adf 12 c app server glassfish 3.1.2

    Hi all

    I'm trying to deploy adf apps (.ear) application developed on 12 c in Server glassfish 3.1.2

    Here is the error that I got when I deployed.

    [#|2015-07-01T20:02:49.422+0800|SEVERE|glassfish3.1.2|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=86;_ThreadName=Thread-2;|Critical error during deployment: 
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.weld.jsf.WeldPhaseListener cannot be cast to javax.faces.event.PhaseListener
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:375)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225)
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)
      at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:498)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2019)
      at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1669)
      at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)
      at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
      at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
      at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:301)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
      at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
      at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
      at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:214)
      at org.glassfish.admin.rest.ResourceUtil.runCommand(ResourceUtil.java:207)
      at org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:148)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
      at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
      at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
      at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer._service(GrizzlyContainer.java:182)
      at com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer.service(GrizzlyContainer.java:147)
      at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:148)
      at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
      at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
      at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
      at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
      at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
      at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
      at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
      at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.ClassCastException: org.jboss.weld.jsf.WeldPhaseListener cannot be cast to javax.faces.event.PhaseListener
      at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:148)
      at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:111)
      at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:360)
      ... 66 more
    |#]
    

    I have found the WeldPhaseListener class in the weblogic.server.merged.jar class but this pot is not in my ear which I am deploying. Even I did grep for this class in the ear, and nothing is found.


    Can someone tell me what could be the reasons for this error and also guide me on how to fix this error, while deploying?


    Thank you

    Naveen dauby

    Shay,

    I couldn't find any reference to this class in all the projects that we have.

    Finally with small trial and error approach, I could find the file asking the questions.

    One of our projects is the file with the following content beans.xml.

    
    
    

    As you said, this file is not used by the adf and it became strong at the point of stem.

    The beans.xml is not longer used in our project and remove this file / filtering this file in the deployment of war profile helped me fix this problem.

    Thanks a lot for your help.

    Kind regards

    Naveen Dauby.

  • Unable to deploy model NSX 6.1.0

    Hello

    I'm trying to deploy VMware-NSX-Manager - 6.1.0 - 2107742.ova model via customer web and vSphere vCenter.

    But im unable to deploy while 80%, it shows the error message:

    "Impossible to deploy.

    "" Could not deploy OVF package: the request has been aborted: the request was canceled. ' " »

    I downloaded the file my NSX training portal OVF template.

    Kindly help me on this!

    Hello

    Your EGGS could be damaged during the download. Try to test it with 7 - Zip or another program zip (a .ova is actually a zip file), verify the signature of the downloaded file's md5 or just download it again.

  • jDeveloper, this isn't a good IDE development environment

    I tried another time, doing mostly simle EJB stateful session, and she even does not work. not even the tutorials of oracle, or also a few others on the internet.
    I know that shay is a very good fan to this, but I tell you, it isn't. you try to make things really easy, which complicate everything really really too. This is the error I got trying to deploy a very simple application.

    [Run application on Server Instance IntegratedWebLogicServer Application1...]
    [21: 03:49]-deployment began. ----
    [21: 03:49] the target platform's (Weblogic 10.3).
    [21: 03:51] recovery of the existing application information
    [21: 03:54] analysis of the dependence running...
    [21: 03:55] deployment of 3 profiles...
    [21: 03:55] wrote the Web application Module for /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/ViewWebApp.war
    [21: 03:56] wrote the EJB Module to /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar
    [21: 03:56] wrote the Module Enterprise Application to /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1
    [21: 03:56] Application deployment...
    < 4 June 2010 21 H 03' it IS > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1275678236987 'for task ' 0'. Error is: "weblogic.application.ModuleException: Exception preparation module: EJBModule (MyCartEJB.jar)"


    Unable to deploy EJB: MyCartEJB.jar /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar:

    Deploy the failure:

    '
    weblogic.application.ModuleException: Exception preparation module: EJBModule (MyCartEJB.jar)


    Unable to deploy EJB: MyCartEJB.jar /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar:

    Deploy the failure:


    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    Truncated. check the log file full stacktrace

    Caused by: deploy the failure: NestedException Message is: Remove remove() method is not a company in EJB SessionEJB anyway
    at weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl.initializeRemoveMethodInfos(Ejb3SessionBeanInfoImpl.java:245)
    to weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl. < init > (Ejb3SessionBeanInfoImpl.java:115)
    at weblogic.ejb.container.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:722)
    at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:574)
    to weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl. < init > (MBeanDeploymentInfoImpl.java:255)
    Truncated. check the log file full stacktrace
    >
    < 4 June 2010 21 H 03' it IS > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy task for application "Application1". >
    < 4 June 2010 21 H 03' it IS > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
    weblogic.application.ModuleException: Exception preparation module: EJBModule (MyCartEJB.jar)


    Unable to deploy EJB: MyCartEJB.jar /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar:

    Deploy the failure:


    at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
    to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:391)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
    Truncated. check the log file full stacktrace

    Caused by: deploy the failure: NestedException Message is: Remove remove() method is not a company in EJB SessionEJB anyway
    at weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl.initializeRemoveMethodInfos(Ejb3SessionBeanInfoImpl.java:245)
    to weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl. < init > (Ejb3SessionBeanInfoImpl.java:115)
    at weblogic.ejb.container.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:722)
    at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:574)
    to weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl. < init > (MBeanDeploymentInfoImpl.java:255)
    Truncated. check the log file full stacktrace
    >
    # Cannot run Application1 of application because of the deployment on IntegratedWebLogicServer error.
    [21: 03:58] # incomplete deployment. ####
    [21: 03:58] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    [Application Application1 interrupted and cancelled Server Instance IntegratedWebLogicServer]

    --------------------------------------------------------------------------------------------
    It's the bean class: you will see that it is a paper copy of a tutorial oracle:
    package com;
    
    import java.util.ArrayList;
    import java.util.Calendar;
    
    import java.util.Collection;
    import java.util.GregorianCalendar;
    
    import javax.annotation.PostConstruct;
    
    import javax.annotation.PreDestroy;
    
    import javax.ejb.Local;
    import javax.ejb.PostActivate;
    import javax.ejb.PrePassivate;
    import javax.ejb.Remote;
    import javax.ejb.Remove;
    import javax.ejb.Stateful;
    import javax.ejb.TransactionManagement;
    import javax.ejb.TransactionManagementType;
    
    @Stateful(name = "SessionEJB", mappedName = "Application1-MyCart-SessionEJB")
    @TransactionManagement(TransactionManagementType.CONTAINER)
    @Remote
    @Local
    public class SessionEJBBean implements SessionEJB, SessionEJBLocal 
    {
        
        protected Calendar _constructTime = new GregorianCalendar();
        
        private Calendar _passivateTime;
        private Calendar _activateTime;
        private Calendar _removeTime;
        
        private String logMessage = "";
        private String message = "";
        private ArrayList items;
        
        public SessionEJBBean() 
        {
        }
        
        @PostConstruct
        public void initialize() 
        {
            logMessage = "";
            _constructTime = new GregorianCalendar();
            _constructTime.setTimeInMillis(System.currentTimeMillis());
            this.setLogMessage(this.getLogMessage() +"\n"+"PostConstruct : "+_constructTime.getTime().toString());
            
            items = new ArrayList();
        }
        
        public void addItem(String item) 
        {
            this.setLogMessage(this.getLogMessage()+"\n"+"Add Item "+item);
            items.add(item);
        }
        
        public void removeItem(String item) 
        {
            this.setLogMessage(this.getLogMessage()+"\n"+"Remove Item "+item);
            items.remove(item);
        }
        
        public Collection getItems() 
        {
            return items;
        }
        
        public void setItems(ArrayList items) 
        {
            this.items = items;
        }
        
        @PreDestroy
        public void destroy() 
        {
            this.setLogMessage(this.getLogMessage()+"\n"+"@PreDestroy ");
            
        }
        
        @PrePassivate
        public void prePassivate() 
        {
            _passivateTime = new GregorianCalendar();
            _passivateTime.setTimeInMillis(System.currentTimeMillis());
            this.setLogMessage(this.getLogMessage() +"\n"+"PrePassivate : " + _passivateTime.getTime().toString());
        }
    
        @PostActivate
        public void postActivate() 
        {
            _activateTime = new GregorianCalendar();
            _activateTime.setTimeInMillis(System.currentTimeMillis());
            this.setLogMessage(this.getLogMessage() +"\n"+"PostActivate : " + _activateTime.getTime().toString());
        }
        
        @Remove
        public void remove() 
        {
            this.setLogMessage(this.getLogMessage()+"\n"+"Remove");
        }
        
        public void setLogMessage(String l) 
        {
            this.logMessage = l;
        }
        
        public String getLogMessage() 
        {
            return logMessage;
        }
        
        public void clearLogMessage() 
        {
            this.setLogMessage("");
        }
        
        public void setMessage(String M) 
        {
            this.message = M;
        }
        
        public String getMessage() 
        {
            return this.message;
        }
    }
    ----------------------------------
    and the web-logic. XML:

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < weblogic-ejb-jar xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xsi: schemaLocation = "http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd".
    xmlns = "http://www.bea.com/ns/weblogic/weblogic-ejb-jar" >
    < weblogic-company-bean >
    SessionEJB < ejb-name > < / ejb-name >
    < stateful - session handle >
    < stateful-session-cache >
    < max-beans-in-cache > 1 < / max-beans-in-cache >
    < 60 > idle-timeout-seconds < / idle-timeout-seconds >
    < session-timeout-seconds > 80 < / session-timeout-seconds >
    LRU < type of cache > - < / type of cache >
    < / stateful-session-cache >
    < persistent-store-dir > continue < / persistent-store-dir >
    < stateful session-clusters >
    < Host-is-clusterable > false < / home-is-clusterable >
    < / stateful session clustering >
    < allow-simultaneous-calls > true < / allow them competitors-calls >
    < / session stateful-handle >
    < enable call-by-reference-> true < / enable-call-by-reference >
    < / weblogic-company-bean >
    < / weblogic-ejb-jar >

    -------------------
    the main.jsp that uses the bean is made with start-up fast jDeveloper

    ... is another question possible not to use access data controls the model EJB bean? as
    Private @EJB MyCart cart;

    Thank you, but jDeveolper is not good development environment

    Israel

    Should not the remove method be defined in your (local or remote) EJB interfaces?

  • NEITHER Spy works only in the development environment?

    NEITHER Spy works on LabView (executables) stand-alone applications deployed (using VISA vi), or NI Spy works only in the development environment? It might be useful for debugging of deployed applications.

    If the answer is Yes (which I doubt), OR would have to create an installer for it since currently it is no longer available as an add-on.

    Thank you

    Ed

    Edjsch,

    You can install VISA as a standalone w/o LabVIEW. Spy is not a stand-alone installer because it does nothing in itself. That's why we always package it with a driver or application software.

  • steps to update of application in the development environment runtime environment

    Hello

    I have APEX 4.2.6 development environment and same version runtime environment.  There is little change, which happened in the forms and the underlying objects in the DB (developing approx.).  Help me please in the list of the steps needed to apply these changes to the runtime approx.  To my knowledge, I should 1st sync DB objects and then take application export development and import at run time.

    Can you let me know how to synchronize objects DB?  Dump export and import is not possible because "runtime" environment has the most recent data changes.  Otherway is to make changes to the DB object individually and manually.  Is it possible that this can be done using scripts/tools?

    And what about import application?  Is it just connect to the 'runtime' DVRs. SQLPLUS and run @f110.sql?  Please let me know the exact steps.

    Thank you and best regards,

    -Anand

    Hi anand_gp,

    You mean (for the import of application), I need to execute all the steps below to update the existing application (get the workspace ID, approx. set ID, etc.,)?

    And thank you to provide links on how to modify objects in the DB.  I'll go through them.

    Yes, and it will create a new application in your workspace.

    If you want to have the same id of the application (whether it is your production application), you can delete the existing application using APEX_INSTANCE_ADMIN. REMOVE_APPLICATION (remember to commit after each step) and then import with above in the light of the steps.

    If you want to have both the old and the new application in your production work space, you can use the alias of the application while publishing the URL.

    When you deploy a new version of the application, simply change the alias of the application, so that it becomes your current application.

    I hope this helps!

    Kind regards

    Kiran

  • I have a problem with debugging in a local development environment.

    I'm having a problem with my local development environment.

    I have version 10.3.5 WebLogic Server on my laptop and I am using Eclipse v3.8.1 as my IDE.

    I built a server in Eclipse, I imported a .war file and place the file properties to point to an Oracle database, not on my laptop.

    I built the project and added the server.

    But when I tried to start the server in debug mode I got this message. :

    Unable to connect to remote VM. Connection refused.     Connection refused: connect

    As the Weblogic Server is loaded on my laptop and I tried to run the server in the Eclipse Server view Debug

    Why it says "Failed to connect to remote virtual machine".

    Why he thinks I'm trying to debug remotely?

    I thought I was set up for local debugging:

    Hello

    To enable the debug option in Weblogic, please add the following lines (in bold print) to startWebLogic.cmd in bin directory - your domain

    Set JAVA_OPTIONS =-Xdebug - Xnoagent - Xrunjdwp: transport = dt_socket, address = 8453, server = y, suspend = n % SAVE_JAVA_OPTIONS %

    And in eclipse change port configuration debug as 8453.

    I hope this will work!

    Kind regards

    Prateek Gupta

  • How to deploy my portal to the production environment

    Hi all

    I use the ASDK developed an access portal, my question is how to deploy my portal to the production environment? You must also install the ASDK in a production environment? Or just install the package of execution?

    Thank you
    Alan.H

    Hello Alan,.

    Is this an application ASDK 10 g or 11g? In both cases, the answer is really the same thing: do not install the ASDK in the production environment, but for 11g it's much easier to do.

    Kind regards
    Colin

  • Installation issues - multi development environment - User

    Hello
    I have some difficulty to get the multi development environment - user works correctly.

    Our server OBIEE (11g) is on some sort of linux machine, I don't have access to directly (practices of strict security to the company). I can connect to enterprise manager, however. We use the tool of administration remotely from a Windows jumpbox.

    We have a Windows jump box that is the only way to connect to the server in OBIEE, that I do not have access to Port 9703 is open between these machines so that communicate with the server in OBIEE administration tool. It works very well from the Windows machine with respect to the edition of the standard in online mode and see the changes in the responses. Any user who wants to be able to use the administration tool must be first Office remote access to the jumpbox. So all development occurs only from this machine, very probably several users at the same time.

    After you open the online repository, I copied it to a local directory on the Windows computer. Then, I opened this depot offline and created projects (I've added BM and matter to a project, which is the right way?). Then I set up a folder shared on the Windows computer network and stressed the administration tool this directory and copied the repository to the shared directory.

    I can go to file-> multi-user-> Checkout and select a project, make changes, compare the changes, merge them and publish them. However, none of these changes aren't being propagated to the server. I'm fairly certain that the 'master' repository is changed only in the windows box, and nothing is propagated to the OBIEE server on the Linux machine.

    I guess my question is, if I'm unable to set up a shared folder on the real server (due to security policies), is implemented things MÜDE to do something? Is there a way I can set up so that the shared folder is on the Windows machine, and it updates the real repository sat on the Linux OBIEE server machine? I really want to refrain from someone go to Enterprise Manager each time just to load the new file to the repository.

    Thank you.

    Hello

    You will need to configure a script that does the following:

    -Stop the services on the Linux server
    -Copy the fender - of your shared windows folder to the folder on the server Linux
    -Restart the services

    Whenever you have checked in your changes, you must run the script to put your changes online.

    Good luck!

    Randall

  • Development environment for 10g R2

    Guys,
    I need to set up a development environment for the development of forms of oracle 10g r2. I am a new on oracle and because of the downsizing, we lost our DBAs so I'm on my own and need your huge support...

    Current settings: Oracle on the server: Oracle 10 g R2
    My local client installation: 10.1.0.4.2
    Suite Developer downloaded oracle of oracle: Oracle Forms: 10.1.2.0.2 (Developer suite 10.1.2.0.2)

    * Is it a decent development environment? or any incompatibility do you see that? *

    Second, I have heard different things on the development environment and would like to your comments as well:

    * Can I develop application forms in my own office, OC4j connecting my local machine (supplied with the suite) developer to run and develop forms? or what I need to put it on the server where oracle is installed? *

    * Fact to our oracle server needs any of application (weblogic) Server installed or simply OC4j can run on the server to run the production of forms? *


    Please help me to resolve my confusion so I can introduce the development environment for my management...

    Thank you very much...

    -Raj

    Published by: user12236377 on January 28, 2010 10:55

    I just want to confirm one last thing... for purposes of development, I need not oracle application server to develop and test shapes on my local office OC4J and oracle connection is sufficient.

    Yes, developers just subsequently installed developer.

    But for testing (as I am the only developer) and the final production it has to work on oracle application server?

    The production, to use an Oracle application server (its also a matter of license). To be sure, confirm it by your Contact of Oracle.

    For the test, it depends... You have not necessary need to use an OAS, but if you do not, you do not test in "conditions of production.

    Published by: Andreas Weiden on 28.01.2010 20:42

  • Why build application vi works in the development environment, but not in the executable file; error 1025

    Hello

    I have a request ('A') that I am trying to build another application ("BuildA").

    I can create a request for A manually of its project using the Build specification, and it works fine (A.exe).

    Also, when I run BuildA.vi in the development environment he calls the "Build.vi" properly and again generates application A.exe very well.

    Then, when I ask BuildA (manually) and run BuildA.exe, I would expect that it also creates A.exe as BuildA.vi did in the development environment.

    However, it fails with the error:

    Code: 1025

    Reference VI opened in .vi NI_App_Builder_API.lvlib:Build (path)-> BuildA.vi
    Path of the VI: C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.vi

    I noticed this thread , which looks like a similar problem, but has reached no conclusion.

    Why BuildA.vi works fine in the LabVIEW environment, but the application that builda.exe does not work?  All paths are hard-coded, so it shouldn't be a path problem.

    Thank you

    -john

    eye_in_the_sky wrote:

    I guess we will have to keep the application building separated the disappointment... automated scripts

    There are still other options.  Lets say configure you VI to run then.  If you ran the following command from your script line

    "C:\Program NIUninstaller Instruments\LabVIEW 2011\LabVIEW.exe" "C:\BuildA.vi".

    It would then open your BuildA.vi in LabVIEW and run in the development environment.

  • development environment for DBLog.dll

    I want to edit DBLog.dll, but I don't know what is the development environment for DBLog.dll?  How can I find out what development tool to use?  And, the dependent version?

    Thank you.

    Peggy

    To avoid this error, you must add 'C:\Program Files\Microsoft Platform SDK\Include\mfc\' to your INCLUDE path. Libraries can be found in "C:\Program Files\Microsoft Platform SDK\lib\"

  • LV 2011 development environment and prompt to install the fix for LV 2012 RT Module f1?

    I have a LV 2011 development environment configuration, including RT I get a message that there is an urgent fix for RT 2012 LV available; See attachment.  This machine of development must remain the LV 2011; This patch must be installed?  Thank you.

    Matt

    As stated in the notification message, you see this update because you probably have another component which released LabVIEW RT 2012 - NOR-RIO 12.0, WSN 1.4 or Fieldpoint 6.0.11.  It was to fix a specific problem in 2012 of LabVIEW, which hit the RT, so if you haven't installed LabVIEW 2012 then the patch will be neither harmful nor helpful to you; However, files of Framework Setup OR RIO, WSN and Fieldpoint for RT should be updated to be compatible with changes in LabVIEW (and so you probably installed component that has an update is available, even if 2012 LabVIEW itself is not installed).

    -Danny

Maybe you are looking for