Load the compiled class and deploy programmatically

so, i am making a compiler,
the compilation part is using java compiler api
i want to ask, is there any api to run the generated class
and is there any api to deploy it??
or is it a must to use Runtime.getRuntime().exec ?
thanks

In outline it's pretty easy. The URLClassLoader can load classes from either .jar files and class directories. For dynamic class generation it's not worth using the .jar format, compile into a directory.
Then you just need to create a URLClassLoader using a file: type URL poiting to the base class directory (packages are represented as nested directories inside.)
File classDir = ......
ClassLoader cl = new URLClassLoader(new URL[]{classDir.toURL()});
Class loadedClass = cl.loadClass(className);Some complications:
This will not load the dynamic class if there's a class with the same name and package on the class path.
Having loaded a class, you need to know how to use it. Typically you create an instance with newInstance() and cast it to some interface that these classes are supposed to implement (and which is on the class path).

Similar Messages

  • Web Logic 10.3.6 (64bit) - Could not load the sitemesh filter and library

    Installed Web Logic 10.3.3 (32bit) and Java JDK 1.6.0_21 (32bit) in a customer's server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu.
    However installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) on that same server. The web page cannot be displayed with header and side menu, it is just displayed with a blank background. Refer to the below "ERROR LOG", found the application could not load the sitemesh filter and library properly. We are using sitemesh-2.3.jar.
    Have tried installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) in a test server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu.
    Please assist on this issue. Thanks.
    Below is the sitemesh that is declared and configured.
    WEB-INF/web.xml
    <filter>
    <filter-name>sitemesh</filter-name>
    <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>sitemesh</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>          
    </filter-mapping>
    WEB-INF/decorators.xml
    <decorators defaultdir="/template/decorators">
    <decorator name="plain" page="plain.jsp"/>
    <decorator name="printable" page="printable.jsp"/>
    <decorator name="standard" page="page_template_std.jsp">
    <pattern>/*.jsp</pattern>
    </decorator>
    <excludes>
    <pattern>/include/*</pattern>
    <pattern>/js/*</pattern>
    <pattern>/Login.jsp*</pattern>
    </excludes>
    </decorators>
    WEB-INF/sitemesh.xml
    <sitemesh>
    <property name="decorators-file" value="/WEB-INF/decorators.xml"/>
    <excludes file="${decorators-file}"/>
    <page-parsers>
    <parser content-type="text/html"
    class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
    <parser content-type="text/html;charset=ISO-8859-1"
    class="com.opensymphony.module.sitemesh.parser.HTMLPageParser" />
    </page-parsers>
    <decorator-mappers>
         <mapper class="com.opensymphony.module.sitemesh.mapper.PageDecoratorMapper">
              <param name="property.1" value="meta.decorator" />
              <param name="property.2" value="decorator" />
         </mapper>
         <mapper class="com.opensymphony.module.sitemesh.mapper.FrameSetDecoratorMapper">
         </mapper>
         <mapper class="com.opensymphony.module.sitemesh.mapper.AgentDecoratorMapper">
              <param name="match.MSIE" value="ie" />
              <param name="match.Mozilla [" value="ns" />
              <param name="match.Opera" value="opera" />
              <param name="match.Lynx" value="lynx" />
         </mapper>
         <mapper class="com.opensymphony.module.sitemesh.mapper.PrintableDecoratorMapper">
              <param name="decorator" value="printable" />
              <param name="parameter.name" value="printable" />
              <param name="parameter.value" value="true" />
         </mapper>
         <mapper class="com.opensymphony.module.sitemesh.mapper.RobotDecoratorMapper">
              <param name="decorator" value="robot" />
         </mapper>
         <mapper class="com.opensymphony.module.sitemesh.mapper.ParameterDecoratorMapper">
              <param name="decorator.parameter" value="decorator" />
         </mapper>
         <mapper class="com.opensymphony.module.sitemesh.mapper.FileDecoratorMapper">
         </mapper>
         <mapper class="com.opensymphony.module.sitemesh.mapper.ConfigDecoratorMapper">
              <param name="config" value="/WEB-INF/decorators.xml" />
         </mapper>
    </decorator-mappers>
    </sitemesh>
    ERROR LOG
    ####<May 8, 2012 5:38:49 PM SGT> <Error> <HTTP> <BHQKPK10060> <cms_cimbmy> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1336469929804> <BEA-101165> <Could not load user defined filter in web.xml: com.opensymphony.module.sitemesh.filter.PageFilter.
    com.opensymphony.module.sitemesh.factory.FactoryException: Cannot construct Factory : com.opensymphony.module.sitemesh.factory.DefaultFactory: java.lang.reflect.InvocationTargetException
         at com.opensymphony.module.sitemesh.Factory.getInstance(Factory.java:50)
         at com.opensymphony.module.sitemesh.filter.PageFilter.init(PageFilter.java:87)
         at weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:343)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java:96)
         at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager.java:57)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
         at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
         at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
         at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
         at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
         at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
         at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
         at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
         at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
         at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
         at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
         at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
         at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
         at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Do you see any further nested exceptions OR errors in the log file.
    Considering that the same WLS-JDK combination works on one machine and does not work on another machine, it indicates an environmental issue.
    "However installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) on that same server. The web page cannot be displayed....
    Have tried installed Web Logic 10.3.6 (64bit) and Java JDK 1.6.0_31 (64bit) in a test server (Windows Server 2008 R2 and 64-bit Operating System). The web page can be displayed with header and side menu."
    I am suspecting if it has to do anything with the native libraries being loaded JAVA_LIB_PATH.
    Please review the server log file again for identifying differences in LIB_PATH or PATH or any messages saying "Unable to load native.. performance pack.."
    Arun

  • Need ant script to compile, package, and deploy to Oracle AS 10.3.1

    I have a test app with ADF faces/jsf for front-end and EJB 3.0 Session Facade/Entity beans for back-end. The project structure/layout is similar to the SRDEMO app in JDeveloper. I was able to compile, package, and deploy within JDeveloper 10g to Oracle AS 10g successfully. Is there a sample ant script to compile, package, and deploy to Oracle AS 10g that I can run from command line? The build.xml that came with SRDEMO only do the compilation, not packaging and deployment. I was able to modify the SRDEMO's build.xml to compile my test app though. I still need the script to package and deploy it.
    Thanks,

    Hi,
    How are you referring to the class path. I have created my custom build file and I refer like this.
    <path id="classpath">
      <pathelement location="${oracle.home}/lib/aia.jar"/>
      <pathelement location="${oracle.common.home}/modules/org.apache.commons.logging_1.0.4.jar"/>
    </path> oracle.home is the location where my aia.jar resides.
    In the compile-classes target I have
    <!--Target for Class path details -->
    <target name="compile-classes">
      <mkdir dir="${sca-inf.classes.dir}"/>
      <javac destdir="${sca-inf.classes.dir}"   classpathref="classpath"
             debug="on"                         nowarn="${javac.nowarn}"
             deprecation="${javac.deprecation}" encoding="Cp1252"
             source="1.6"                       target="1.6">
        <src path="${src.dir}"/>
      </javac> 
    </target> Regards,
    Neeraj Sehgal

  • How to pre-compile jsp and deploy to tomcat

    Hi All,
    I wuld like to know how to pre-compile JSPs and deploy to tomcat. I am using ANT tool to build and deploy the war file.
    Thanks in Advance.
    Regards,
    --Nagesh.                                                                                                                                                                                                                                                                                                                                               

    for Tomcat 5.0 (You'll need to edit to fit your needs)
        <path id="jsp.classpath">       
            <!-- point classpath to directory containing jasper-compiler.jar and
                   jasper-runtime.jar -->
            <fileset dir="C:\tomcat\common\lib">
                <include name="**/*.jar"/>
            </fileset>
            <fileset dir="C:/tomcat/common/endorsed">
                <include name="**/*.jar"/>
            </fileset>       
        </path> 
        <target name="jsp" >
        <!--
             The Ant JSPC task doesn't work with Tomcat 5.0
             so in the meantime we need to define our own task.
          -->
        <taskdef name="jspc50" classname="org.apache.jasper.JspC">
            <classpath>
                    <path refid="jsp.classpath"/>    
            </classpath>
        </taskdef>
        <jspc50 outputDir="${build.classes}"
                package="jsp"
                uriroot="${project.dir}/web/webApp"
                webXmlFragment="c:/web.xml"
                verbose="9"
                validateXml="false">           
        </jspc50>
        <javac srcdir="${build.classes}/jsp"
               destdir="${build.classes}"
               debug="true"
               optimize="false"
               includes="**/*.java"
               source="1.4">
                <classpath>
                    <path refid="classpath"/>
                    <path refid="jsp.classpath"/>
                </classpath>          
        </javac>
    </target>    More information can be found here :
    http://www.onjava.com/pub/a/onjava/excerpt/AntTDG_chap8/index1.html?page=last

  • [svn] 1170: compiler: renaming the Compiler classes

    Revision: 1170
    Author: [email protected]
    Date: 2008-04-09 16:17:57 -0700 (Wed, 09 Apr 2008)
    Log Message:
    compiler: renaming the Compiler classes
    * flex2.compiler.abc:Compiler to AbcCompiler
    * flex2.compiler.as3:Compiler to As3Compiler
    * flex2.compiler.css:Compiler to CssCompiler
    * flex2.compiler.i18n:Compiler to I18nCompiler
    * flex2.compiler.mxml:Compiler to MxmlCompiler
    Bugs: n/a
    QA: Yes
    Doc: No
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/CompilerAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/MetaDataParser.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/genext/GenerativeSecondPassEv aluator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocAPI.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_ja.properties
    flex/sdk/trunk/modules/compiler/src/java/flex2/tools/WebTierAPI.java
    Added Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/AbcCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/As3Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/CssCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/I18nCompiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlCompiler.java
    Removed Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/abc/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/i18n/Compiler.java
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Compiler.java

    In the properties of your project, there is a page called "Java Build Path". On the bottom of that page, there is this field "Default output folder" in which you can specify to which directory Eclipse should write the .class files.
    Then, for the build options, go to the Run Dialog (Run menu, Show Run Dialog). There you might have several configurations for several programs. Select yours, and go to the Arguments tab. There you have fields for program arguments (the String [] args), and VM arguments (like the -DProtoge.dir=)
    Good luck!

  • The JSP container failed to load the TagExtraInfo class

    We are upgrading our system. We were using JSF 1.1 with WebSphere V6. Now we are moving to JSF 1.2 and Websphere V7
    I am getting the error below over and over in the WebSphere V7 environment, in the ear
    [8/30/10 8:30:20:402 EDT] 0000000e jsp W com.ibm.ws.jsp.taglib.TldParser endElement JSPG0235E: The JSP container failed to load the TagExtraInfo class [com.sun.faces.taglib.FacesTagExtraInfo] from META-INF/odyssey.tld
    The ear can be set up to use either the sun reference implementation 1.2 or the MyFaces 1.2 implementation.
    It is currently set up for the sun reference implementation. Should this change, or is there something else I am missing.
    Thanks

    Hi Wrisillito,
    Regarding to the error message you provided, since SSIS uses VSTA 2.0, we need to fix that one only if there is SSIS trouble. Visual Studio doesn’t really related to the VSTA install.
    Seems  you have problems while opening VSTA inside BIDS to edit SSIS scripts, so please  try one of these methods:
    A. Uninstalling SQL Server 2008 and Reinstalling it may fix the problem.
    B. If you can't do that try the manual approach credit to SSIS script.
    For more information and steps, please follow the
    blog about VSTA setup and configuration troubles for SSIS 2008 and R2 installations.
    Meanwhile you can refer to these threads with the same error as yours
    1. VSTA designer issues with Sql 2008
    2. The VSTA designer failed to load
    This is SSIS related issue, if this does not work please link to
    SSIS forum for further help. 
    Regards,
    Amber zhang
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here

  • Class override, how to create the child class and then the base class

    I started to write a program for a smart DMM, the problem is every version of the DMM the company change the communication commend.
    My idea is to write a child class for every DMM version and every SubVI of the child will override the base class SubVI.
    My problem is, i want first to create one child class and after i will see every thing is work,  start to create the base class. that way i will see if am thinking the right way.
    My question is
    How can i create a child class and then create the base class and configure the SubVi of the child class to be Override of the base class?
    I tried to search in the property of the class but i didn't see nothing.
    Thanks
    Solved!
    Go to Solution.

    This can be done and I've done it on occasion.
    You simply create the base class with the dynamic dispatch methods you require (connector panes need to be identical to thos of the child class).
    Then set the inheritance of the class to inherit from this base class.  If your method is defined as a dynamic dispatch method in the parent, you'll most likely now have some errors (unless your child method was already DD in which case you might just be OK already).
    To change the inheritance of a class, right-click the properties of the class in your project and select properties.  I believe the ineritance tree is at the lower end of the properties.  Click on the "change inheritance" (or something similar) to choose the class from which you now wish to inherit.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • Error starting the Application Server and Deployment Tool

    After installing the iPlanet Aplication Server with sp3 I get the following
    errors starting the Application Server and Deployment Tool.
    iAS Application Server
    ================
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    error: could not get context
    *** Errors in initialization from registry ***
    Errors in initialization, exiting ...
    iAS Deployment Tool
    ===============
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    Exception in thread "main" java.lang.NullPointerException
    at com.kivasoft.util.Util.loadComponent(Unknown Source)
    at
    com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
    at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
    Source)
    Can anyone help me please!

    Hi,
    Would be more helpful if you can mention, the O/S. Also, pls mention where
    you are getting this error, at kjs or kxs, or, are you able to start the server
    and at which specific instance do you encounter this.
    Regards
    Raj
    "Antonio Casqueiro" wrote:
    After installing the iPlanet Aplication Server with sp3 I get the following
    errors starting the Application Server and Deployment Tool.
    iAS Application Server
    ================
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    error: could not get context
    *** Errors in initialization from registry ***
    Errors in initialization, exiting ...
    iAS Deployment Tool
    ===============
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    Exception in thread "main" java.lang.NullPointerException
    at com.kivasoft.util.Util.loadComponent(Unknown Source)
    at
    com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
    at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
    Source)
    Can anyone help me please!

  • Error starting the Application Server and Deployment Tool in Windows 2000

    After installing the iPlanet Aplication Server with sp3 in Windows 2000 I
    get the following
    errors starting the Application Server and Deployment Tool.
    iAS Application Server
    ================
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:46:49:8] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    error: could not get context
    *** Errors in initialization from registry ***
    Errors in initialization, exiting ...
    iAS Deployment Tool
    ===============
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [26/Out/2001 17:23:40:7] error: ENGINE-context_init_failed: EngineClassSpace
    ContextModule.createContextInit failed:
    Exception in thread "main" java.lang.NullPointerException
    at com.kivasoft.util.Util.loadComponent(Unknown Source)
    at
    com.iplanet.ias.tools.buzz.ui.application.StartBuzz.initGDS(Unknown Source)
    at com.iplanet.ias.tools.buzz.ui.application.StartBuzz.main(Unknown
    Source)
    Can anyone help me please!

    Okay, pls check that you are logged in as administrator and installed and now you are logged in as administrator and registering the iAS server. Did you get any installation failures while installing and are you able to register the server using iASAT ?

  • I go to play on a game on my iPad it will load the game up and a minute later will go to a blank screen and then back to all my apps.does it everybtime? Why is that? What do I need to do to stop it?

    I go to play on a game on my iPad it will load the game up and a minute later will go to a blank screen and then back to all my apps.does it everybtime? Why is that? What do I need to do to stop it?

    1. Close all inactive apps in the Task Bar. Double-click the Home button and hold apps down for a second or two and tap the minus sign to close app.
    2. Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple Logo

  • I loaded the newest version and it only shows an hourglass and then says it could not open. HELP! I cannot run a crash report either.

    Firefox worked before though at times encountered a problem and had to close. Now I've loaded the newest version and it won't even fully load without having to close. I plugged in the crash item id that HELP forum instructed, and the report said it could not proceed. SO I'm not experienced in any of this and don't know how to make it work. I have to use Explorer until it is fixed. Help please.

    Make sure that you haven't left a profiles.ini file.
    * http://kb.mozillazine.org/profiles.ini_file
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • How to find the Message Class and ID for messages in WebIC

    Dear Experts,
    I get some error messages in the WebIC
    I went to SAAB to activate and see details on the error messages
    But, what i am missing is the the message class and the ID information
    Can any one tell me if there is a work around to check and find out which message class and ID the message belongs to
    Regards,
    Raj

    Hi Raj,
    Put a break-point in method get_instance or ADD_MESSAGE of class cl_bsp_wd_message_service.
    Best regards,
    Caíque Escaler

  • I am trying to load the new itunes and I keep getting a runtime error R6034

    I am trying to load the new itunes and I keep getting a runtime error R6034

    The new Itunes software update is flawed! I had the same issue. You need to uninstall Apple components, then reinstall. Go to this link for instructions. Takes about 20 mins but works!
    http://support.apple.com/kb/HT1923

  • Automate the EAR creation and deployment process

    Hi,
    I am trying to automate the EAR creation and deployment process. I am following this approach - http://www.oracle.com/technetwork/articles/adf/part4-098813.html
    In this approach we use pure ANT without OJDeploy. I am able to Create the EAR file but while deploying to weblogic server manually I get the attached error.
    Error is - java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    I would like to know, Is this the best practise to automate the EAR Creation and Deployment Process? If not, Please provide me some other best approach.
    Thanks in Advance.
    Regards
    Balaji S

    Balaji,
    I am the author of that article.
    At the time I wrote the article, ojdeploy was not working properly - however, the bugs that I noted at the time have been fixed. If I were writing the article today, my strong recommendation would be to use ojdeploy.
    If you insist to use the pure ANT (no ojdeploy) approach, I'd debug your issue this way:
    1). Generate the EAR file using the deploy option from the application navigator in JDeveloper. Deploy that EAR file to your WLS server and test to ensure it works. A note that if you are creating an ADF app, you must deploy the JRF to WLS first.
    2). Once the EAR from JDev is working, use a tool such as WinZip to expand the JDeveloper-generated EAR file and your ANT-generated EAR file. Compare the two. If you find differences, fix the ANT scripts so that they are the same.
    John

  • Load the External text and css file for more frames

    hello..
           I created one Movie file. In that I load the External text and css file in first frame and display the first variable value in one text box.
    And then in 2nd frame I use another one text field and display the 2nd variable value like that I want to load the more variable in more textboxes with different frames.
         I loaded  for first variable value in first frame. But I don't know how to do next frames like that..
         Help me...

    You need to load them in the frames they are in.  You can store the loaded data in variables in frame 1, but you will need to extend that layer so that whatever is stored is avaliable in other frames.  The code to load the data into the other textfields can then be done in the frames where it is needed.
    There are other options, such as not using other frames for content or having all of them in frame 1 and making them invisible until you get to the other frames where they get turned visible.

Maybe you are looking for