JSFCRUD JPA app can't be deployed to another glassfish 2.1 server

OK, my colleague wrote a JSF Crud app based on this tutorial:
http://www.netbeans.org/kb/docs/web/jsf-jpa-crud-wizard.html
It works fine when I build and run it on my sandbox app server, but when I try to deploy it to our company test app server, the server log complains that org.jnp.interfaces.NamingContextFactory cannot be instantiated because the class is not found (stack trace below). Using google, the only jar I can find that contains this class is in jbossclient-all.jar. I tried adding that to my project's libraries, but then it won't even run properly on my sandbox system. Anybody have any suggestions on an easy way to fix this or should I continue with re-writing it from scratch using Hibernate?
[#|2009-09-25T15:33:40.422-0700|SEVERE|sun-appserver2.1|com.sun.org.apache.commons.modeler.Registry|_ThreadID=16;_ThreadName=Timer-8;_RequestID=02bcabab-8e86-48cc-a9c3-8342a1a72dd6;|Null component com.sun.appserv:type=JspMonitor,name=jsp,WebModule=//server/ClientPricing,J2EEApplication=null,J2EEServer=server|#]
[#|2009-09-25T15:33:40.437-0700|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=16;_ThreadName=Timer-8;_RequestID=02bcabab-8e86-48cc-a9c3-8342a1a72dd6;|WEB0123: WebModule [ClientPricing] failed to deploy and has been disabled
java.lang.RuntimeException: java.lang.RuntimeException: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
   at com.sun.enterprise.web.WebModuleListener.loadPersistenceUnits(WebModuleListener.java:193)
   at com.sun.enterprise.web.WebModuleListener.lifecycleEvent(WebModuleListener.java:168)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:159)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:5224)
   at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:989)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:973)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:704)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1627)
   at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1232)
   at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182)
   at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:1005)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:992)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:470)
   at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:182)
   at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308)
   at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:231)
   at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298)
   at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132)
   at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
   at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:966)
   at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:280)
   at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:298)
   at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:584)
   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.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:381)
   at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:364)
   at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:477)
   at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
   at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
   at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90)
   at $Proxy1.invoke(Unknown Source)
   at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
   at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
   at com.sun.enterprise.deployment.autodeploy.AutoDeployer.invokeDeploymentService(AutoDeployer.java:583)
   at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployJavaEEArchive(AutoDeployer.java:564)
   at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:495)
   at com.sun.enterprise.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:270)
   at com.sun.enterprise.deployment.autodeploy.AutoDeployControllerImpl$AutoDeployTask.run(AutoDeployControllerImpl.java:374)
   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)

You can check to make sure that all of the required libraries were targeted to the managed servers as well as the admin server. Use the WLS administration console and look at the "deployments" link - check each library and view the targets for it.
It sounds like perhaps the JRF libraries only are targeted to the AdminServer
John

Similar Messages

  • [help] My App can't play mp2 or another audio

    hey guys, please help me to correct my app, my problem why this app can't play mp3.
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package Tajwid;
    import javax.microedition.midlet.*;
    import com.sun.lwuit.*;
    import com.sun.lwuit.animations.*;
    import com.sun.lwuit.events.*;
    import com.sun.lwuit.layouts.BoxLayout;
    import com.sun.lwuit.plaf.*;
    import com.sun.lwuit.util.Resources;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Hashtable;
    import javax.microedition.media.*;
    import javax.microedition.media.control.VolumeControl;
    * @author Muhamad BUrhanudin
    public class Tajwid extends MIDlet implements ActionListener {
    Form mHomeForm, mhelpForm, mMenuTajwid;
    Command mExitCommand;
    Button btMenu;
    // Nun Sukun dan Tanwin
    Form mNunSukunTanwin;
    Button btIdzhar, btIdghaam, btIqlab, btIkhfaa;
    Form mIdzhar, mIdgham, mIqlab, mIkhfa;
    //Mim Mati
    Form mMimMati;
    Button btIkhfasyafawi, btIdghamMimi, btIdzharSyafawi;
    Form mIkhfaSyafawi, mIdghamMimi, mIdzharSyafawi;
    //Mim Tasydid dan Nun Tasydid
    Form mMimTasydidNun;
    //Lam Tarif
    Form mLamTarif, mIdzharQomariyah, mIdzharSyamsi;
    Button btIdzharQomar, btIdzharSyamsi;
    Button btNunSukun, btMimSukun, btplay, btNunTasjid;
    Button btLamtarif, btIdgham, btMaad, btRaa;
    Button btHelp;
    Button btExit;
    Command mBackCommand, mSelect;
    private Player player;
    private VolumeControl vc;
    public void startApp() {
    Display.init(this);
    Resources r;
    try {
    r = Resources.open("/LWUITtheme.res");
    UIManager.getInstance().
    setThemeProps(r.getTheme("LWUITDefault"));
    } catch (IOException e) {
    e.printStackTrace();
    createUI();
    mHomeForm.show();
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    public void actionPerformed(ActionEvent ae) {
    mhelpForm.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mMenuTajwid.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mMenuTajwid.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mNunSukunTanwin.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mNunSukunTanwin.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mhelpForm.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    if (ae.getSource() == btMenu) {
    mMenuTajwid.show();
    } else if (ae.getSource() == btHelp) {
    mhelpForm.show();
    } else if (ae.getSource() == mBackCommand) {
    mHomeForm.show();
    } else if ((ae.getCommand() == mExitCommand) || (ae.getSource() == btExit)) {
    notifyDestroyed();
    } else if (ae.getSource() == btNunSukun) {
    mNunSukunTanwin.show();
    } else if (ae.getSource() == btIdzhar) {
    mIdzhar.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mIdzhar.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mIdzhar.show();
    } else if (ae.getSource() == btIdghaam) {
    mIdgham.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mIdgham.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mIdgham.show();
    } else if (ae.getSource() == btIqlab) {
    mIqlab.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mIqlab.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mIqlab.show();
    } else if (ae.getSource() == btIkhfaa) {
    mIkhfa.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mIkhfa.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mIkhfa.show();
    } else if (ae.getSource() == btMimSukun) {
    mMimMati.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mMimMati.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mMimMati.show();
    } else if (ae.getSource() == btIkhfasyafawi) {
    mIkhfaSyafawi.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mIkhfaSyafawi.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mIkhfaSyafawi.show();
    } else if (ae.getSource() == btIdghamMimi) {
    mIdghamMimi.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mIdghamMimi.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mIdghamMimi.show();
    } else if (ae.getSource() == btIdzharSyafawi) {
    mIdzharSyafawi.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mIdzharSyafawi.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mIdzharSyafawi.show();
    } else if (ae.getSource() == btNunTasjid) {
    mMimTasydidNun.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mMimTasydidNun.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mMimTasydidNun.show();
    } else if (ae.getSource() == btLamtarif) {
    mLamTarif.setTransitionInAnimator(
    Transition3D.createCube(400, false));
    mLamTarif.setTransitionOutAnimator(
    Transition3D.createCube(400, true));
    mLamTarif.show();
    } else if (ae.getSource() == btplay) {
    try {
    InputStream is = getClass().getResourceAsStream("file://test.mp3");
    player = Manager.createPlayer(is, "audio/mp3");
    player.realize();
    // get volume control for player and set volume to max
    vc = (VolumeControl) player.getControl("VolumeControl");
    if (vc != null) {
    vc.setLevel(100);
    player.prefetch();
    player.start();
    } catch (Exception e) {
    e.printStackTrace();
    private void createUI() {
    // Set up screen for transitions.
    mhelpForm = new Form("Help Tajwid Learning");
    TextArea lblhelp = new TextArea("Tajwid learning is simple "
    + "mobile application for use to mobiling system. "
    + "Developer By Muhamad Burhanudin");
    mhelpForm.addComponent(lblhelp);
    //Lam Tarif
    mLamTarif = new Form("HUKUM LAM TA'RIEF");
    mLamTarif.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
    try {
    Image gmb = Image.createImage("/list.png");
    Image gmbIdzharQom = Image.createImage("/idQom.png");
    Image gmbIdghamSyam = Image.createImage("/idSyam.png");
    btIdzharQomar = new Button("Idzhar Qomariyah", gmbIdzharQom);
    btIdzharQomar.addActionListener(this);
    btIdzharQomar.getSelectedStyle().setBgColor(0xC0C0C0);
    mLamTarif.addComponent(btIdzharQomar);
    btIdzharSyamsi = new Button("Idgham Syamsiyah", gmbIdghamSyam);
    btIdzharSyamsi.addActionListener(this);
    btIdzharSyamsi.getSelectedStyle().setBgColor(0xC0C0C0);
    mLamTarif.addComponent(btIdzharSyamsi);
    } catch (Exception e) {
    //end lam tarif
    //Idzhar
    try {
    Image gmb = Image.createImage("/nun.png");
    Image gmb2 = Image.createImage("/hrfidhar.png");
    Image gmb3 = Image.createImage("/Conthidhar.png");
    Image gmbplay = Image.createImage("/play.png");
    mIdzhar = new Form("Idzhar");
    TextArea lblIdzhar = new TextArea("Idzhar artinya jelas atau terang. Apabila ada "
    + " nun mati atau tanwin ");
    TextArea lblIdzhar2 = new TextArea(" bertemu dengan salah "
    + " satu huruf halqi ");
    TextArea lblIdzhar3 = new TextArea(" maka dibacanya jelas / terang. Contoh : ");
    Label lbl = new Label(gmb);
    Label lbl2 = new Label(gmb2);
    Label lbl3 = new Label(gmb3);
    Label lbl4 = new Label(gmbplay);
    //lbl.setTextPosition(40);
    mIdzhar.addComponent(lblIdzhar);
    mIdzhar.addComponent(lbl);
    mIdzhar.addComponent(lblIdzhar2);
    mIdzhar.addComponent(lbl2);
    mIdzhar.addComponent(lblIdzhar3);
    mIdzhar.addComponent(lbl3);
    btplay = new Button("Play", gmbplay);
    btplay.addActionListener(this);
    mIdzhar.addComponent(btplay);
    //mIdzhar.addComponent(lblIdzhar2);
    //mIdzhar.addComponent(lblIdzhar3);
    } catch (Exception e) {
    //Idghaam
    try {
    Image gmb = Image.createImage("/nun.png");
    Image gmb2 = Image.createImage("/hrfidhom.png");
    Image gmb3 = Image.createImage("/cthbcanidghm.png");
    Image gmb4 = Image.createImage("/hrfidghmbilagnnh.png");
    Image gmb5 = Image.createImage("/bcaanblaghunnah.png");
    mIdgham = new Form("Bacaan Idgham");
    TextArea lblIdgham = new TextArea("Idgham Bighunnah (dilebur dengan disertai dengung) "
    + "Yaitu memasukkan /meleburkan huruf nun mati atau tanwin ");
    TextArea lblIdgham2 = new TextArea(" kedalam huruf sesudahnya dengan disertai (ber) dengung, jika bertemu dengan salah "
    + " satu huruf yang empat, yaitu ");
    TextArea lblIdgham3 = new TextArea("Contoh : ");
    TextArea lblIdgham6 = new TextArea("Contoh : ");
    TextArea lblIdgham4 = new TextArea("Idgham Bilaghunnah (Dilebur tanpa dengung) Yaitu memasukkan / meleburkan huruf nun mati atau tanwin");
    TextArea lblIdgham5 = new TextArea("kedalam huruf sesudahnya tanpa disertai dengung, jika bertemu dengan huruf lam atau ra ");
    mIdgham.addComponent(lblIdgham);
    Label lb = new Label(gmb);
    Label lb6 = new Label(gmb);
    Label lb2 = new Label(gmb2);
    Label lb3 = new Label(gmb3);
    Label lb4 = new Label(gmb4);
    Label lb5 = new Label(gmb5);
    mIdgham.addComponent(lb);
    mIdgham.addComponent(lblIdgham2);
    mIdgham.addComponent(lb2);
    mIdgham.addComponent(lblIdgham3);
    mIdgham.addComponent(lb3);
    mIdgham.addComponent(lblIdgham4);
    mIdgham.addComponent(lb6);
    mIdgham.addComponent(lblIdgham5);
    mIdgham.addComponent(lb4);
    mIdgham.addComponent(lblIdgham6);
    mIdgham.addComponent(lb5);
    } catch (Exception e) {
    //Iqlab
    try {
    Image gmb = Image.createImage("/nun.png");
    Image gmb2 = Image.createImage("/hrfiqlab.png");
    Image gmb3 = Image.createImage("/iqlab.png");
    mIqlab = new Form("Bacaan Iqlab");
    TextArea lblIqlab = new TextArea("Iqlab artinya menukar atau mengganti. Apabila ada nun mati atau tanwin ");
    TextArea lblIqlab2 = new TextArea(" bertemu dengan huruf ba ");
    TextArea lblIqlab3 = new TextArea(" maka cara membacanya dengan menyuarakan /merubah "
    + " bunyi menjadi suara mim , dengan merapatkan dua bibir serta mendengung. Contoh:");
    Label lb = new Label(gmb);
    Label lb2 = new Label(gmb2);
    Label lb3 = new Label(gmb3);
    mIqlab.addComponent(lblIqlab);
    mIqlab.addComponent(lb);
    mIqlab.addComponent(lblIqlab2);
    mIqlab.addComponent(lb2);
    mIqlab.addComponent(lblIqlab3);
    mIqlab.addComponent(lb3);
    } catch (Exception e) {
    //Ikhfa
    try {
    Image gmb = Image.createImage("/nun.png");
    Image gmb2 = Image.createImage("/hrfikhfa.png");
    Image gmb3 = Image.createImage("/hrufikhfa.png");
    Image gmb4 = Image.createImage("/cnthikhfa.png");
    mIkhfa = new Form("Bacaan Ikhfa");
    //mIkhfa.setScrollableY(true);
    //mIkhfa.setScrollableX(true);
    TextArea lblIkhfa = new TextArea("Ikhfa artinya menyamarkan atau tidak jelas. Apabila ada nun mati atau tanwin ");
    TextArea lblIkhfa2 = new TextArea(" bertemu dengan salah satu huruf ikhfa yang 15 ");
    TextArea lblIkhfa3 = new TextArea(" maka dibacanya samar-samar, antara jelas dan tidak "
    + "(antara izhar dan idgham) dengan mendengung. Contoh:");
    Label lb = new Label(gmb);
    Label lb2 = new Label(gmb2);
    Label lb3 = new Label(gmb3);
    Label lb4 = new Label(gmb4);
    mIkhfa.addComponent(lblIkhfa);
    mIkhfa.addComponent(lb);
    mIkhfa.addComponent(lblIkhfa2);
    mIkhfa.addComponent(lb2);
    mIkhfa.addComponent(lb3);
    mIkhfa.addComponent(lblIkhfa3);
    mIkhfa.addComponent(lb4);
    } catch (Exception e) {
    //Ikhfa Syafawi
    try {
    Image gmb = Image.createImage("/mim.png");
    Image gmb2 = Image.createImage("/hrfiqlab.png");
    Image gmb3 = Image.createImage("/cntohikhfasyfwi.png");
    mIkhfaSyafawi = new Form("Bacaan Ikhfa Syafawi");
    TextArea lblIkfasfwi = new TextArea("Ikhfa Syafawi Apabila mim mati ");
    TextArea lblIkfasfwi2 = new TextArea(" bertemu dengan huruf ba ");
    TextArea lblIkfasfwi3 = new TextArea("maka cara membacanya harus dibunyikan samar - samar di bibir dan didengungkan. Contoh : ");
    Label lb = new Label(gmb);
    Label lb2 = new Label(gmb2);
    Label lb3 = new Label(gmb3);
    mIkhfaSyafawi.addComponent(lblIkfasfwi);
    mIkhfaSyafawi.addComponent(lb);
    mIkhfaSyafawi.addComponent(lblIkfasfwi2);
    mIkhfaSyafawi.addComponent(lb2);
    mIkhfaSyafawi.addComponent(lblIkfasfwi3);
    mIkhfaSyafawi.addComponent(lb3);
    } catch (Exception e) {
    //Idgham Mimi
    try {
    Image gmb = Image.createImage("/mim.png");
    Image gmb2 = Image.createImage("/mim2.png");
    Image gmb3 = Image.createImage("/cthidgmmimi.png");
    mIdghamMimi = new Form("Bacaan Idgham Mimi");
    TextArea lblIdghamMimi = new TextArea("Idgham Mimi Apabila mim mati ");
    TextArea lblIdghamMimi2 = new TextArea(" bertemu dengan huruf Mim ");
    TextArea lblIdghamMimi3 = new TextArea("maka cara membacanya adalah seperti menyuarakan mim rangkap atau ditasyidkan dan wajib dibaca dengung. Idgham mimi disebut juga idgham mislain atau mutamasilain. Contoh : ");
    Label lb = new Label(gmb);
    Label lb2 = new Label(gmb2);
    Label lb3 = new Label(gmb3);
    mIdghamMimi.addComponent(lblIdghamMimi);
    mIdghamMimi.addComponent(lb);
    mIdghamMimi.addComponent(lblIdghamMimi2);
    mIdghamMimi.addComponent(lb2);
    mIdghamMimi.addComponent(lblIdghamMimi3);
    mIdghamMimi.addComponent(lb3);
    } catch (Exception e) {
    //Idzhar syafawi
    try {
    Image gmb = Image.createImage("/mim.png");
    Image gmb2 = Image.createImage("/mimba.png");
    Image gmb3 = Image.createImage("/cthidhrsyafawi.png");
    mIdzharSyafawi = new Form("Bacaan Idzhar Syafawi");
    TextArea lblIdzharSyafawi = new TextArea("Idzhar Syafawi Apabila mim mati ");
    TextArea lblIdzharSyafawi2 = new TextArea(" bertemu dengan salah huruf Hijaiyyah selain huruf ");
    TextArea lblIdzharSyafawi3 = new TextArea("maka cara membacanya dengan jelas di bibir dan mulut tertutup. Contoh :");
    Label lb = new Label(gmb);
    Label lb2 = new Label(gmb2);
    Label lb3 = new Label(gmb3);
    mIdzharSyafawi.addComponent(lblIdzharSyafawi);
    mIdzharSyafawi.addComponent(lb);
    mIdzharSyafawi.addComponent(lblIdzharSyafawi2);
    mIdzharSyafawi.addComponent(lb2);
    mIdzharSyafawi.addComponent(lblIdzharSyafawi3);
    mIdzharSyafawi.addComponent(lb3);
    } catch (Exception e) {
    //Mim Tasydid dan Nun Tasydid
    try {
    Image gmb = Image.createImage("/mimnuntsdid.png");
    Image gmb2 = Image.createImage("/mimnuntasdid.png");
    Image gmb3 = Image.createImage("/cthmimnuntasdid.png");
    mMimTasydidNun = new Form("Hukum Mim tasydid dan Nun Tasydid");
    TextArea lblIdzharSyafawi = new TextArea("Hukum Mim tasydid dan nun tasydid yaitu Apabila ada ");
    TextArea lblIdzharSyafawi2 = new TextArea("maka dibaca dengan mendengung dan disebut dengan bacaan ghunnah ");
    TextArea lblIdzharSyafawi3 = new TextArea("Contoh :");
    Label lb = new Label(gmb);
    Label lb2 = new Label(gmb2);
    Label lb3 = new Label(gmb3);
    mMimTasydidNun.addComponent(lblIdzharSyafawi);
    mMimTasydidNun.addComponent(lb);
    mMimTasydidNun.addComponent(lblIdzharSyafawi2);
    mMimTasydidNun.addComponent(lb2);
    mMimTasydidNun.addComponent(lblIdzharSyafawi3);
    mMimTasydidNun.addComponent(lb3);
    } catch (Exception e) {
    //Form Menu Nun SUkun & Tanwin
    mNunSukunTanwin = new Form("HUKUM NUN SUKUN & TANWIN");
    mNunSukunTanwin.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
    try {
    Image gmb = Image.createImage("/list.png");
    Image gmbIdzhar = Image.createImage("/idzhar.png");
    Image gmbIdgham = Image.createImage("/idgham.png");
    Image gmbIqlab = Image.createImage("/iqlab1.png");
    Image gmbIkhfa = Image.createImage("/ikhfa.png");
    btIdzhar = new Button("Idzhar", gmbIdzhar);
    btIdzhar.addActionListener(this);
    btIdzhar.getSelectedStyle().setBgColor(0xC0C0C0);
    mNunSukunTanwin.addComponent(btIdzhar);
    btIdghaam = new Button("Idgham", gmbIdgham);
    btIdghaam.addActionListener(this);
    btIdghaam.getSelectedStyle().setBgColor(0xC0C0C0);
    mNunSukunTanwin.addComponent(btIdghaam);
    btIqlab = new Button("Iqlab", gmbIqlab);
    btIqlab.addActionListener(this);
    btIqlab.getSelectedStyle().setBgColor(0xC0C0C0);
    mNunSukunTanwin.addComponent(btIqlab);
    btIkhfaa = new Button("Ikhfa'", gmbIkhfa);
    btIkhfaa.addActionListener(this);
    btIkhfaa.getSelectedStyle().setBgColor(0xC0C0C0);
    mNunSukunTanwin.addComponent(btIkhfaa);
    //End Nun Sukun
    //Hukum Bacaan Mim Mati
    mMimMati = new Form("HUKUM BACAAN MIM MATI");
    mMimMati.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
    try {
    //Button Ikfasyafawi
    btIkhfasyafawi = new Button("Ikhfa Syafawi");
    btIkhfasyafawi.addActionListener(this);
    btIkhfasyafawi.getSelectedStyle().setBgColor(0xC0C0C0);
    mMimMati.addComponent(btIkhfasyafawi);
    //Button Idgham Mimi
    btIdghamMimi = new Button("Idgham Mimi");
    btIdghamMimi.addActionListener(this);
    btIkhfasyafawi.getSelectedStyle().setBgColor(0xC0C0C0);
    mMimMati.addComponent(btIdghamMimi);
    //Button Idzhar Syafawi
    btIdzharSyafawi = new Button("Idzhar Syafawi");
    btIdzharSyafawi.addActionListener(this);
    btIdzharSyafawi.getSelectedStyle().setBgColor(0xC0C0C0);
    mMimMati.addComponent(btIdzharSyafawi);
    } catch (Exception e) {
    mMenuTajwid = new Form("MENU DASAR TAJWID");
    mMenuTajwid.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
    btNunSukun = new Button("Hukum Nun Sukun & Tanwin", gmb);
    btNunSukun.addActionListener(this);
    btNunSukun.getSelectedStyle().setBgColor(0xC0C0C0);
    mMenuTajwid.addComponent(btNunSukun);
    btMimSukun = new Button("Hukum Mim Sukun", gmb);
    btMimSukun.addActionListener(this);
    btMimSukun.getSelectedStyle().setBgColor(0xC0C0C0);
    mMenuTajwid.addComponent(btMimSukun);
    btNunTasjid = new Button("Hukum Nun Tasydid & Min Tasydid", gmb);
    btNunTasjid.addActionListener(this);
    btNunTasjid.getSelectedStyle().setBgColor(0xC0C0C0);
    mMenuTajwid.addComponent(btNunTasjid);
    btLamtarif = new Button("Hukum Laam Ta'rief", gmb);
    btLamtarif.addActionListener(this);
    btLamtarif.getSelectedStyle().setBgColor(0xC0C0C0);
    mMenuTajwid.addComponent(btLamtarif);
    btIdgham = new Button("Idgham", gmb);
    btIdgham.addActionListener(this);
    btIdgham.getSelectedStyle().setBgColor(0xC0C0C0);
    mMenuTajwid.addComponent(btIdgham);
    btMaad = new Button("Maad", gmb);
    btMaad.addActionListener(this);
    btMaad.getSelectedStyle().setBgColor(0xC0C0C0);
    mMenuTajwid.addComponent(btMaad);
    btRaa = new Button("Raa'", gmb);
    btRaa.addActionListener(this);
    btRaa.getSelectedStyle().setBgColor(0xC0C0C0);
    mMenuTajwid.addComponent(btRaa);
    } catch (Exception e) {
    mBackCommand = new Command("Back");
    mMenuTajwid.addCommand(mBackCommand);
    mMenuTajwid.addCommandListener(this); // Use setCommandListener() with LWUIT 1.3 or earlier.
    mhelpForm.addCommand(mBackCommand);
    mhelpForm.addCommandListener(this);
    mNunSukunTanwin.addCommand(mBackCommand);
    mNunSukunTanwin.addCommandListener(this);
    mIdzhar.addCommand(mBackCommand);
    mIdzhar.addCommandListener(this);
    mIdgham.addCommand(mBackCommand);
    mIdgham.addCommandListener(this);
    mIqlab.addCommand(mBackCommand);
    mIqlab.addCommandListener(this);
    mIkhfa.addCommand(mBackCommand);
    mIkhfa.addCommandListener(this);
    mLamTarif.addCommand(mBackCommand);
    mLamTarif.addCommandListener(this);
    mMimMati.addCommand(mBackCommand);
    mMimMati.addCommandListener(this);
    mIkhfaSyafawi.addCommand(mBackCommand);
    mIkhfaSyafawi.addCommandListener(this);
    mIdghamMimi.addCommand(mBackCommand);
    mIdghamMimi.addCommandListener(this);
    mIdzharSyafawi.addCommand(mBackCommand);
    mIdzharSyafawi.addCommandListener(this);
    mMimTasydidNun.addCommand(mBackCommand);
    mMimTasydidNun.addCommandListener(this);
    // Set up main screen.
    mHomeForm = new Form("Java Mobile Learning");
    mHomeForm.setLayout(new BoxLayout(BoxLayout.Y_AXIS));
    try {
    Image gmbar = Image.createImage("/quran.png");
    Label x = new Label(gmbar);
    Image gmb = Image.createImage("/folder.png");
    btMenu = new Button("TAJWID LEARNING", gmb);
    btMenu.addActionListener(this);
    btMenu.getSelectedStyle().setBgColor(0xC0C0C0);
    mHomeForm.addComponent(x);
    mHomeForm.addComponent(btMenu);
    } catch (Exception e) {
    try {
    Image gmb = Image.createImage("/help.png");
    btHelp = new Button("HELP", gmb);
    btHelp.addActionListener(this);
    btHelp.getSelectedStyle().setBgColor(0xC0C0C0);
    mHomeForm.addComponent(btHelp);
    } catch (Exception e) {
    try {
    Image gmb = Image.createImage("/exit.png");
    btExit = new Button("EXIT", gmb);
    btExit.addActionListener(this);
    btExit.getSelectedStyle().setBgColor(0xC0C0C0);
    mHomeForm.addComponent(btExit);
    } catch (Exception e) {
    mExitCommand = new Command("Keluar");
    mHomeForm.addCommand(mExitCommand);
    mHomeForm.addCommandListener(this); // Use setCommandListener() with LWUIT 1.3 or earlier.
    public void run() {
    try {
    InputStream is = getClass().getResourceAsStream("file://test.mp3");
    player = Manager.createPlayer(is, "audio/mp3");
    player.realize();
    // get volume control for player and set volume to max
    vc = (VolumeControl) player.getControl("VolumeControl");
    if (vc != null) {
    vc.setLevel(100);
    player.prefetch();
    player.start();
    } catch (Exception e) {
    e.printStackTrace();
    I Use Cofigure :
    Device : DefaultfxTouchScreen
    Device Configuration : CLDC 1.1
    Device Profile : MIDP 2.1

    I have the same problem and I know that it is due to my PCI Audio driver not being compatible with WIndows 8.1.
    iTunes isn't the only program that can't direct sound to the built-in speakers anymore. The obvious solution would be to update the drivers, but unfortunately Dell does not provide an updated driver for my model, so I am stuck with that.
    However, saying that, only my laptop speakers are affected by this. I can use sound fine on applications where I can choose the output device and direct sound to the head phones, but for some reason iTunes does not let you choose the audio device manually.
    To listen to music I imported the iTunes Library in Windows Media Player and changed the audio output using the following instructions: http://windows.microsoft.com/en-us/windows7/c00d11ba
    However, I would also like to rent movie's from iTunes, 
    Would be great if iTunes would let you choose the output device, too, like most other applications using sound  from Skype to Windows Media Player,...

  • Can 1 application deployed more than once on a server without any changes?

    Hi all!
    My question is in the topic.
    Could anyone give me a short answer?
    Someone has sad that JNDI names of EJBs should be different per application.
    Is it true?
    Thanks in advance.
    Gyuszi

    My question is in the topic.My answer is in the topic.
    Could anyone give me a short answer?At first, I read the question and thought that you were talking about deploying the same application on multiple servers. Maybe I read too fast or you word it in a confusing manner. But it is always good to elaborate a bit on the topic to avoid such confusing possibilities.

  • CRM 2013 and VS2012: Can't automatically deploy webresources.

    Hi,
    I have all web resources (js libraries) for all custom entities that fail to deploy.  I can build and deploy in VS and then see the changes in CRM.  If I then "Publish All" in CRM my code does not get updated.  If I open and edit
    a line (add a space as an example) and then save the file in my CRM solution, it will then publish. 
    What appears to happen is that CRM is not flagging the files as changed when received from VS so does not deploy them until I do something to make them "dirty".
    Anyone else come across this?  It is now happening with all of my projects (I have 6 apps in a multi-tenant on-site server).
    Thanks,
    Ian

    Hi Raha,
    Just as this page mentioned:
    http://www.typescriptlang.org/
    You have to consult this issue on this site:
    http://stackoverflow.com/questions/tagged/typescript
    regards,
    Barry Wang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • What are the application can able to deploy in Weblogic

    What are the application can able to deploy in Weblogic Server ?
    We have one desktop application which developed by .net and its database in SQL Server.
    My Question is
    Is it Possible to Deploy this application in Weblogic Server ?
    Or kindly advice me what technologies can helpful for me to access via PDA
    Thanks in Advance
    Hameed
    Edited by: Hameed on Mar 10, 2013 12:44 AM

    User, this question is better asked on the {forum:id=570} forum.
    This more depends on the specification of your app and has nothing to do with jdev or adf.
    Timo

  • Can I transfer apps from 1 iTunes account to another?

    Can I transfer apps from 1 iTunes account to another? Or can I make a copy for another account?  How would I do this?

    No.
    tt2

  • How can I transfer apps from one iTunes library to another?

    How can I transfer apps from one iTunes library to another? My daughter has an iTouch, and I was managing it through my library. I have created an iTunes account for her, with a new iTouch, and would like to move the apps over. I tried to sync the old iTouch to the new library and it said it was already set up to sync with a different library. What is the best way to do this?

    You can transfer iTunes purchases by:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    To make the new computer the syncing computer you have to:
    - Transfer iTunes purchases lIke I described above
    - Make a backup of the iPod on that computer by connecting the iPod and then right-clicking on the iPod under Devices in iTunes and selecting Back Up.
    - Restore the iPOd from that backup
    She will have to continue to use your iTunes ID to update the apps prchased with your account. To use her account she will have to log into the computer with her account (iTunes>Store) and change the sign in on the iPod by going to Settings>Store.

  • Logic Remote iPad app can not find my iMac.

    I have tried every thing suggested on here to try and fix this but the Logic Remote iPad app can't find my iMac running Logic Pro X.
    They are on the same Wi-Fi network, I've disabled the firewall, turned on file sharing, deleted and reconnected to my Wi-Fi on both my iMac and my iPad, removed all other CS's etc etc etc. Any thoughts about anything I may not have tried?
    Thanks!

    Check your WiFi router (which one do you use?) has multicast enabled,,,,
    If it is...
    To eliminate any possible router issues...
    Test with an Ad Hoc network
    http://www.maclife.com/article/columns/maclife_101_how_create_adhoc_network

  • How can I transfer apps purchased from one AppleId to another due to breach of account?

    Due to a recent security breach not if my doing a user stole my apple id and needed to change appleid account.  Now as a result i've lost all purchased apps from the itune store. I would like to transfer apps from one apple id to another without incurring additional costs.  With sufficient information in direct contact with the store I should be able to transferable within the software or at very least with the itune store direct.  Perhaps this is a way of charging additional costs for same programs?
    Not a happy camper because of the theft in id but now to add insult to injury i'll have to repurchase the apps to properly sync with my devices.
    Any help would be appreciated

    You can't transfer iTunes content from one account to another. If someone had obtained access to your account credentials and you've had the account locked that should not affect the current authorizations on your computer, though it will prevent you from updating apps until you have resolved the issue. Rather than creating a new AppleID what you should do is regain control of your original Apple ID and have it reenabled with a new password, get, if possible, Apple to deauthorize all computers for your account (assuming you don't have 5 so can't do it yourself) then authorize your computers.
    tt2

  • Can I transfer iPad apps from one iTunes account to another

    Can I transfer iPad apps from one iTunes account to another?

    No. Apps are associated with Apple ID with which they were purchased.

  • How can I move purchased apps from one itunes account to another account?

    How can I move purchased apps from one itunes account to another account?

    You can't. The apps must be purchased separately.

  • HT5622 I'm a student exchange from france in USA, I have an apple ID from france and a bank count in france but i want access to the apple store US because I'm here for the year and some app can be interesting for me (like my gym club app) how can i do ?

    I'm a student exchange from france in USA, I have an apple ID from france and a bank count in france but i want access to the apple store US because I'm here for the year and some app can be interesting for me (like my gym club app) how can i do ?

    you cant.  you need a US bank account.

  • How many Apps can I install on my iPhone at the same time?

    I've installed over 100 apps (108 exactly) & do not know how many Apps can be installed on iPhone? does it have a limit of amount of Apps can be installed on iPhone?

    Up to 9 pages
    Message was edited by: Dynamite DJs
    Message was edited by: Dynamite DJs

  • HT5538 how can I transfer several apps from one Apple ID to another?

    How can I transfer several apps from one Apple ID to another?

    Apps purchased by an Apple ID are forever associated with that ID.    Purchases can't be transfers to another Apple ID.

  • Word Web App can't open a document (corruption) but Word Desktop can

    Hi,
    My team and I are currently working on integrating a custom WOPI-Host and everything is going pretty good.  While testing out different documents that will be used in the system to see the supported features and the reaction of Word Web App we found
    a document that is problematic.
    First things first, we took a document that was in Word 97-2003 version (.doc) and converted it in Word Documents (.docx).  We had to actually use the Word Desktop Convert functionality because using "Save As" wouldn't work.  We found
    out that the document had Custom XML Data which was the reason that the "Save As" didn't work.  So we did 2 version of the document in docx version.  One that kept the Custom XML Data and one that didn't have it.
    Now when we try to open the documents in the Word Web App, both trigger the same error: "Sorry, Word Web App can't edit this document because it appears to be corrupt.".  What I don't really understand is that I can open them in the Desktop
    version of Word without any problems.  Also, if it was simply the Custom XML Data that would prevent Word Web App to open the document, how come the version of the document without these Custom XML Data is still considered corrupted by the Word Web App.
    If needed, I can send the documents in question (probably by email since I don't see an option to attach them to this question).
    Thanks,
    Patrick Racicot

    Hi,
    I understand you can't open the Word documents from Word Web App, but may I know how you converted them? What is that "Word Desktop Convert functionality"? Would you please detail the steps of the conversation?
    When you try the "Save As" method, any prompt or error? Can you keep saving just ignoring the error?
    Before the conversation, I suggest you try removing the hyperlinks in the original .doc document, then convert the document to .docx format, check if then it can be opened from the Word Web App.
    Feel free to post back to provide more information.
    Thanks,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

Maybe you are looking for