Websphere 6: JNDI problem with Sping - urgent.

Hi,
I have my cJSC project working fine with JNDI on my local sun app server. However when deploying to websphere I am getting problems.
Obviously websphere is different setup and I have had to add the following to the web.xml to get a datasource
<resource-ref>
     <description>VMS Datasource</description>
     <res-ref-name>jdbc/VMSDS</res-ref-name>
     <res-type>javax.sql.DataSource</res-type>
     <res-auth>Container</res-auth>
</resource-ref>
However, the app is still bombing out with following..
Error page exception
The server cannot use the error page specified for your application to handle the Original Exception printed below. Please see the Error Page Exception below for a description of the problem with the specified error page.
Original Exception:
Error Message: SRVE0207E: Uncaught initialization exception thrown by servlet
Error Code: 500
Target Servlet: Faces Servlet
Error Stack:
java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)
at com.ibm.ws.cache.servlet.ServletWrapper.init(ServletWrapper.java:231)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:274)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2954)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1912)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
Error Page Exception:
Error Message: Cannot find FacesContext
Error Code: 0
Target Servlet: null
Error Stack:
javax.servlet.jsp.JspException: Cannot find FacesContext
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)
at com.ibm._jsp._ErrorPage._jspx_meth_f_view_0(_ErrorPage.java:330)
at com.ibm._jsp._ErrorPage._jspService(_ErrorPage.java:63)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:264)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:344)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:216)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:246)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:670)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:178)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:294)
at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:2593)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2983)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1912)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
Anybody used JSC and Websphere with JNDI? I go live next week and don't want to have to configure a context file each time for production.
Regards,
LOTI

Is the resource ref the same as you configured for the bundled
Sun App server ?
We do have a sample JNDI application and tip if they help:
http://developers.sun.com/prodtech/javatools/jscreator/reference/code/sampleapps/2/JaasAuthentication.zip
(see the README file in the zip file)
http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/jaas_authentication.html
John

Similar Messages

  • JNDI problem with Sun Application Server

    I am trying to call a extremely simple EJB from a remote computer. But everytime I run the client I get a Class castException. I have used Weblogic and Jboss in the past and I never had any problem with JNDI. I included all the files except for the descriptor. Please help, this is driving me nut.
    Here is the exception i get:
    java.lang.ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
    at clients.testEjbTest.main(testEjbTest.java:42)
    The remote Interface :
    package ejb.test;
    import javax.ejb.*;
    public interface Test extends javax.ejb.EJBObject{
    public String getResult() throws java.rmi.RemoteException;
    The Home interface is:
    package ejb.test;
    import javax.ejb.*;
    public interface TestHome extends javax.ejb.EJBHome{
    public Test create() throws java.rmi.RemoteException, CreateException;
    The Bean is:
    package ejb.test;
    import javax.ejb.*;
    public class TestBean implements javax.ejb.SessionBean {
    public TestBean() {}
    public String getResult() { return "hello";}
    public void ejbActivate() {  }
    public void ejbPassivate() {  }
    public void ejbRemove() {  }
    public void ejbCreate() throws CreateException {  }
    public void setSessionContext(javax.ejb.SessionContext sessionContext) { }
    The client is:
    public class testEjbTest {
    public testEjbTest() { }
    public static void main(String[] args) {
    try{
    Properties env = new Properties();
    env.setProperty("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory" );
    env.setProperty("java.naming.provider.url", "iiop://192.168.0.102:3700");
    InitialContext ic = new InitialContext(env);
    Object objref = ic.lookup("TestBean");
    Object tt = PortableRemoteObject.narrow(objref, ejb.test.TestHome.class);
    }catch(Exception e){e.printStackTrace();}

    Hi,
    I am new to this Forum.
    I have an application running on Weblogic.
    I want to shift to using SunOne as the Webserver and weblogic as application server.
    But when I deploy the application I am getting this ClassCastException
    at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow.
    java.lang.ClassCastException
         at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
         at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
         at com.elsevier.portal.admin.web.proxy.LoginProxy.getLoginSession(LoginProxy.java:156)
         at com.elsevier.portal.admin.web.proxy.LoginProxy.authenticateUser(LoginProxy.java:48)
        at com.elsevier.portal.admin.web.actions.LoginAction.login(LoginActi
    on.java:201)
         at com.elsevier.portal.admin.web.actions.LoginAction.execute(LoginAction.java:80)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java
    :1482)
          at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:
    525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletServic
    e(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
    warning: CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostVal
    ve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)The code snippet is as follows�.
    protected LoginSession getLoginSession() throws ApplicationException {
    LoginSessionHome home = null;
    LoginSession object = null;
    try {
    home = (LoginSessionHome) (PortableRemoteObject.narrow(ProxyUtil.getEJBHome(getProperties().getProperty(DataCoreConstants.LOGIN_JNDI_NAME),getProperties()),LoginSessionHome.class));
    object = home.create();
    catch(ClassCastException cse){
    cse.printStackTrace();
    logger.error("Class Cast Exception is thrown while casting the Object to                      LoginSessionHome");
    logger.error(cse);
    throw new ApplicationException(ExceptionConstants.CLASS_CAST_EXCEPTION);
    return object;
    }Same method is running on weblogic without any problem�
    Help needed urgently.
    Regards,
    Neha.

  • Problem with GameCenter URGENT

    Hi guys I have a problem with the iOS 6 Game Center , when I'm playing clash of clans it always pops a Game Center login screen at me 5 secs after the game loads I try to cancel it but won't it just stays there  then i enter my user and pass but then it gets stuck on the loading screen Forever . I even Tried  the actual Game Center app but it just won't load   SOMEBODY PLEASE HELP ME

    Maybe
    https://discussions.apple.com/message/23684319#23684319
    Otherwise:
    - Reset the iOS device. Nothing will be lost       
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Sign out of Game Center and sign back in
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
      - Restore to factory settings/new iOS device.

  • Problem with spreads - urgent!

    My problem here is that when I want to print my 18-page document, InDesign have decided to make these 18 pages in to 10 spreads.
    The result of that is the printer printing 2 pages in one page, in stead of what I want; 1 page on 1 page, thank you!
    I have tried to make a new document with the same amount of pages and so on, but it still won't work.
    How do I turn it off? Please help me, it's for school and kind of urgent...

    I am having a similar problem.  I am using CS5 and am making a portfolio, for online submission.  I want the portfolio to be viewed online as spreads, but be printed out as 8.5 x 11's.  This is because I am not in charge of printing out the document, I have to give it over to someone else as a part of an application.  I have tried all the ways suggested in this thread, but have not been able to achieve my goals.  I feel like perhaps this is something that needs to happen at the level of the PDF in a program like Acrobat if it is possible?

  • Problem with nextLine() (urgent!)

    well, i'm really confused with this nextLine..
    import java.util.Scanner;
    public class Main
         public static void main(String[] args)
              Karyawan[] nama = new Karyawan[20];
              nama[0] = new Director("Adri","Anto",50,10000000.0);
              nama[1] = new Director("Andreas","Supriyanto",45,12000000.0);
              nama[2] = new Director("Zulfikar","Rizki",49,12000000.0);
              nama[3] = new Director("Ferry","Rippun",29,25000000.0);
              nama[4] = new Director("Ferry","Salim",35,15000000.0);
              nama[5] = new Manager("Marisa","Rosari",45,6900000);
              nama[6] = new Manager("Eric","Setiawan",39,5000000);
              nama[7] = new Manager("Valen","Tina",35,4000000);
              nama[8] = new Mandor("Eric","Samuel",38,3500000);
              nama[9] = new Mandor("Well","Lina",32,2500000);
              nama[10] = new Mandor("Felix","Febrian",31,2200000);
              nama[11] = new Mandor("Ferry","Good",40,3000000);
              nama[12] = new Buruh("Edwin","Edwin",25,1100000);
              nama[13] = new Buruh("Johannes","Mario",26,1200000);
              nama[14] = new Buruh("Ferry","Yoes",25,1200000);
              nama[15] = new Buruh("Irwin","Lawrencius",24,1100000);
              nama[16] = new Buruh("Bagus","Putera",25,1100000);
              nama[17] = new Buruh("Ferdinando","Satria",25,1300000);
              Scanner input = new Scanner(System.in);
              System.out.println("Insert your name : ");
              String carinama = input.nextLine();
              System.out.println("Status 0:Director, 1:Manager, 2:Mandor, 3:Buruh");
              System.out.println("Insert your status (0,1,2,3) : ");
              int status = Integer.parseInt(input.nextLine());
              for(int i=0;i<20;i++)
                   if(carinama == nama.namaDepan)
                        switch(status)
                             case 0:
                             if(i<5)
                                  System.out.println("Status = Director");
                                  nama[i].cetakData();
                             else {}
                             break;
                             case 1:
                             if(i>4 && i<8)
                                  System.out.println("Status = Manager");
                                  nama[i].cetakData();
                             else {}
                             break;
                             case 2:
                             if(i>7 && i <12)
                                  System.out.println("Status = Mandor");
                                  nama[i].cetakData();
                             else {}
                             break;
                             case 3:
                             if(i>11)
                                  System.out.println("Status = Buruh");
                                  nama[i].cetakData();
                             else {}
                             break;
                             default: System.out.println("Please insert between 0-3");
                   else
    }String carinama = input.nextLine(); <--- this one works, if i print the carinama, it'll print the name i had inputted...
    but the problem is.. let's just say i insert "Adri" for the name
    if i insert theif(carinama == "Adri")
    System.out.println("Right");
    else
    System.out.println("Wrong");
    that's just an example, the result will be "Wrong"... my question is why is the answer "Wrong" ?
    as far as i know, the String carinama should contains "Adri" right? so why is my if always skipped..?
    i've tried next() but to no avail..
    any help appreciated, and i really need this today >.<  (sorry for my bad english)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    no, you're not late... please help me if you know where's the problem. thx
    ah well, why can't i edit my first post.. anyway i've refined my problem to this
    but it still not working.. the error is on line 36
    if(carinama.equals(nama.namaDepan))NullPointerException <--- i really have no idea what this means...
    Edited by: Lucille on May 12, 2008 12:23 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • FONT problems with UNICODE - URGENT

    i'm trying to present text in different languages, like english, greek or cyrillic and so on. i want to work with the Arial Unicode MS font, that is installed on my system and which DOES appear in the getAvailableFonts() list!!!
    But when i try to display a greek text i see not all glyphs correctly. What have i to do??
    Have I still to set up my font.properties file and if so how can i manage this
    thanx a lot

    To me, it looks as if your problem is that you're only calling setFont on "this".
    That's only going to set it for the top level frame, and doesn't always do it for every individual component. The easy way to get around this is to go berserk with the setFont call. Set it on anything (heck, set it on your dog if it makes you feel any better)! ;D
    The slightly harder but smarter way to do this is to write a recursive function that drills down your component list.
    public void setFontRecursively(Font myFont, Component comp) {
       comp.setFont(myFont);
       if (comp instanceof Container) {
          Component[] childComps = ((Container)comp).getComponents();
          if (childComps != null) {
             for (int i=0; i < childComps.length; i++) {
                setFontRecursively(myFont, childComps);
    That should basically cover anything bar popup menus and drop-down submenus. You have to recall this as they appear, or they don't get the font straight off.
    Hope that helps!
    Martin Hughes

  • Problems with iBook, urgent help required...

    Hi, a few months ago, i went to the power settings and checked the option for shut-down at midnight and power on at 6am... Then just last week, i unchecked the option for the automatic on/off... But since then, my iBook still does its' routine... BTW, i made sure that the option is unchecked every night as i leave my com on throughout the night ti download stuff, but it still does what i programmed it to do months ago, even after i readjusted the settings...
    I have tried resetting the PMU, but to no avail...
    AND...
    Whenever i log in to MSN, the display picture will be the picture from my User Account on my iBook... I have changed it serveral times to my desired picture but when i log in again the next day, the picture is still the one from my administrator account... And also, every time i close my conversation windows, the application will ask me whether to save my conversations even though i have alsready selected automatically save all conversation... The last problem is very often with no apparent reason, the application logs out on it's own, sometimes in the middle of a conversation...So what is wrong with my MSN and what should i do about it...?
    Ian

    Hi Linuxuser,
    I also would suggest not using MSN. I find it to be a pain, and you have more capabilities with other programs. I really like using iChat. I love the Mac feel of iChat so I configured iChat to work with MSN through Jabber. The link below might help if you are interested:
    Using iChat/Jabber to work with MSN
    To have iChat work with other programs like Jabber, ICQ, MSN and Yahoo, you can use a similar technique. Here is one way of doing it:
    iChat Jabber Tutorial
    There also is a link to the thread Does iChat work with Jabber, ICQ, MSN, and Yahoo?
    I hope that helps,
    Jon 

  • PROBLEMS WITH WAR/URGENT / 2

    hi all
              i solved the previous problem.
              now i have another one, the URL mapping
              i want my servlet (located in the lib directory of my web app) to be
              called
              whenever the path is *.do.
              now my app is deployed as weblogic.httpd.webApps.eaa (with the eaa
              path)
              i wrote in the web.xml the servlet mapping as /*.do,
              Now when i run my webapp, giving
              http://localhost:7001/eaa/Authenticate.do i got
              the following exception
              Mon Oct 02 10:21:06 GMT+03:00 2000:<E> <ServletContext-eaa> Cannot find
              resource
              'Authenticator.do' in document root 'D:\Update\NSGWebApp\admintool.war'
              anyone can help me?? or explain me which path should i use if i want my
              servlet to be
              called with the path *.do???
              thanx in advance and regards
              marco
              

    Why "/*.do"? That is an illegal mapping. Try "*.do".
              What do you map "do" to? (Interesting question, phonetically speaking.)
              Peace.
              Cameron Purdy
              [email protected]
              http://www.tangosol.com
              WebLogic Consulting Available
              "Marco Mistroni" <[email protected]> wrote in message
              news:[email protected]..
              > hi all
              > i solved the previous problem.
              > now i have another one, the URL mapping
              > i want my servlet (located in the lib directory of my web app) to be
              > called
              > whenever the path is *.do.
              > now my app is deployed as weblogic.httpd.webApps.eaa (with the eaa
              > path)
              >
              > i wrote in the web.xml the servlet mapping as /*.do,
              > Now when i run my webapp, giving
              > http://localhost:7001/eaa/Authenticate.do i got
              > the following exception
              >
              > Mon Oct 02 10:21:06 GMT+03:00 2000:<E> <ServletContext-eaa> Cannot find
              > resource
              > 'Authenticator.do' in document root 'D:\Update\NSGWebApp\admintool.war'
              >
              >
              >
              > anyone can help me?? or explain me which path should i use if i want my
              > servlet to be
              > called with the path *.do???
              >
              > thanx in advance and regards
              > marco
              >
              >
              >
              

  • Problems with Referrals (URGENT)

    Hi,
    Can someone help me with the following problems. I am currently running iPlanet 5.1 and I login as "uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot" when accessing the servers.
    1. During replication , how come when I try to add/delete/modify an entry in a slave replica, it gives me this error: "netscape.ldap.LDAPException error result(53); Cannot delete referral; LDAP server is unwilling to perform"
    I suspect that the slave replica didn't even bother to forward the update the request to the master server. So is there some means to enable this?
    2. I did a smart referral on one of the ous which authenticate with credentials. I managed to add an user via the front-end server. But when I try to delete an user, it says: "netscape.ldap.LDAPException error result(50); Insufficient 'delete privillege' to delete the entry"
    I have checked the ACL of the ou on the REFERRED server. It shows that the user (which I used for authentication) has both add and delete rights. What went wrong?

    Hi Christian,
    Thks for your reply.Regarding your pt 2, from my understanding, we can specify user authentication when a smart referral is being used on the server. And the binding account used in the authentication is the same which my client binds to the ldap server.
    My doubt is why I am able to add a new user on the REFERRED server when I can't delete it since I am binding using the same account. In addition, I have set read-only accesses to anonymous users so it can't be that the client is binded anonymously during the referral right?
    As for the replication issue, I believe it's a common problem/bug in 5.1. Pls see http://softwareforum.sun.com/NASApp/jive/thread.jsp?forum=13&thread=9006 . This thread describe the same problem. Was wondering if there's any patch?
    Lastly, pls pardon me for my ignorance. Is there a way to run command line statements if I am running the iPlanet on a Win2k platform? No right?

  • Problem with import Urgent

    I made a program to reply to people who want to work in my soci�ty automatically.
    I wan't to install thie on another server, so I installed jdk, apache & tomcat. I use exactly the same files in the same way but it seems that Tomcat don't fing my package.
    I create java home and classpath in a correct way but he still doesn't find my packages.
    What can I do?
    Thanks
    AgilBull

    It seems that the error occures with all the classes I put in the classpath (jdk_home/lib).
    This classpath is obviously correctly declared.
    Hered is the message
    Error: 500
    Location:/gestiondescandidatures/index.jsp
    Erreur Interne de Servlet
    org.apache.jasper.JasperException: Impossible de compiler la classe pour JSPC import candidat.*;
    1 error
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)....
    May be this can show you the way to help me.
    Thanks
    Agil Bull

  • Problem with WS_DOWNLOAD (URGENT)

    Hi All,
    The WS_DOWNLOAD i am using is downloading the file to workstation SAP GUI640.
    But when testing at client's side, It is coming out of the selection screen without download SAP GUI620.
    Can any body help please ASAP.
      CALL FUNCTION 'WS_DOWNLOAD'
           EXPORTING
                filename                = v_fname
                filetype                = 'DAT'
           TABLES
                data_tab                = i_csv[]
           EXCEPTIONS
                file_open_error         = 1
                file_write_error        = 2
                invalid_filesize        = 3
                invalid_type            = 4
                no_batch                = 5
                unknown_error           = 6
                invalid_table_width     = 7
                gui_refuse_filetransfer = 8
                customer_error          = 9
                OTHERS                  = 10.

    Hi Kaleem,
    As discussed, You can try following ..
    1. Search on service.sap.com and findout reason. There is a SAP NOTE Explaining Similar Problem.
    2. Remove filetype.
    Hope it will work,
    DARSHAN
    **Reward Points if asnwer is helpful

  • Problem with audio - urgent please

    Hello,
    i am totally new to adobe premiere,
    i have urgent project that i have to finish, when i insert mp4 vedio to time line it appears normally as audio and video in time line, when i try to insert another one, only the video appears in time line without audio !!
    i made a new project, inserted mp4 file, it appeared normally aud & vid, then inserted another one, also worked fine, third one appeared in time line without audio !! i removed everything from time line and started to insert the files again but all of them appeared without aud, even the 1st two vid that worked normally before,
    please advise urgently
    thanks a lot and merry Christmas

    No, this shouldn't be caused by any limitations in the trial. And you are absolutely 100% certain the A1 button is highlighted? What happens if you just drag the audio down to the timeline? You can use the button in the picture and drag from it down to the timeline...

  • XI to IBM Websphere Default JMS Provider with JNDI

    Hello everybody!
    We face a problem with connecting SAP XI to IBM WebSphere Default JMS Provider (need to send a message from XI to WebSphere JMS and receive the response).
    We have the following versions installed:
        SAP XI: 7.0 SP8 , Sun JDK 1.4.2
        IBM WebSphere: IBM WebSphere Application Server ND, 6.0.2.17, J2RE 1.4.2 IBM
    We cannot set the JMS adapter of SAP XI for conecting with IBM WebSphere Default JMS Provider. The Communication Channel has erroneous state (at runtime) and the Communication Channel Monitoring tool displays the error message as described below (under "Variant 1" and "Variant 2" sub-headings) depending on the settings performed. 
    For connecting, the following JMS-provider settings were used at IBM WebSphere side:
       JMS Providers: Default Messaging Provider
       Queue Connection Factories: name:QueueConnectionFactory, jndi:jms/QueueConnectionFactory, provider: Default Messaging Provider
       Queues: name Queue, jndi: jms/Queue, provider: Default Messaging Provider
    The XI communication channel (and associated JMS-adapter) was set as Variants 1 and 2 show. Settings for both cases and received error messages were the following:
    <b>Variant 1.</b>
        Adapter type: JMS
        Type: Receiver
        JMS Provider: Access JMS Provider with JNDI (Java Naming and Directory Interface)
        JNDI Lookup Name of QueueConnectionFactory:  jms/QueueConnectionFactory
        JNDI Lookup Name of JMS Queue: jms/Queue
        Name of JNDI Initial Context Factory: com.sap.engine.services.jndi.InitialContextFactoryImpl
        JNDI Server Address: iiop://WEBSPHERE.HOST:2809/ 
        As the result, the Communication Channel Monitoring displays that the channel has erroneous state and the following error message is written:
        "Error during channel initialization; exception trace: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of jms/QueueConnectionFactory.
    at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)"
    <b>Variant 2</b>
        The same settings as in Variant 1 above, were used and additionally the following settings were done:
        - Name of JNDI Initial Context Factory: com.ibm.websphere.naming.WsnInitialContextFactory
        - The archive aii_af_jmsproviderlib.sda containing libraries required by WsInitialContextFactory, was deployed to the SAP WebAS where the XI is running. Those libraries were taken from WebSphere Application Server Pluggable Application Client installation package (described in the article "WebSphere Application Server Pluggable Application Client" located at http://www-128.ibm.com/developerworks/websphere/library/techarticles/0409_bhogal/0409_bhogal.html)
        - Also, as it is recommended in the referred article, the files required by IBM's iiop protocol (ibmext.jar ibmorb.jar ibmorbapi.jar) were put to the folder jre/lib/endorsed of the server(Sun JVM 1.4.2 is used by SAP WebAS / XI).
        As the result, the Communication Channel Monitoring displays that the channel has erroneous state as well and the following error message is written:
       "No adapter registered for this channel"
    We have not found the recommended solution either in SDN forums or in Internet in general. Is it yet possible to connect SAP XI to IBM WebSphere Default JMS Provider having mentioned product versioning? If yes, what settings have to be performed?

    IBM Websphere Default JMS Provider which is installed alongwith the application server is nothing but a scaled down version of the IBM WebSphere MQSeries. you should be able to connect to it with the same settings that can be used for a separate MQSeries server connectivity from XI.

  • Problem with JNDI in WLS 5.1

    Hi all,
    i have a problem with JNDI in WLE 5.1.
    i am accessing an LDAP on another machine running Netscape Directory Server.
    The host URL is ldap://myhost:65535/o=marco, c=fi
    i am always getting back the following exception:
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.
    WLInitialContextFactory. Root exception is java.lang.ClassCastException: weblog
    ic.jndi.WLInitialContextFactory
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    58)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)
    and my code is this:
    Hashtable _environment = new Hashtable();
    try {
    environment.put(Context.INITIALCONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    environment.put(Context.PROVIDERURL, "ldap://myhost:65535");
    if ((principal!=null) || (credentials!=null)) {
    environment.put(Context.SECURITYAUTHENTICATION, "simple");
    environment.put(Context.SECURITYPRINCIPAL, principal);
    environment.put(Context.SECURITYCREDENTIALS, credentials);
    context = new InitialContext(environment);
    parser = context.getNameParser(initialCtxFactory);
    } catch(Exception e) {
    e.printStackTrace();
    can anyone help me please??
    thanx in advance
    marco

    Take out the "weblogic.jndi.WLInitialContextFactory" and add the respective factory NAME..
    environment.put(Context.INITIALCONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    Cheers,
    Naggi
    Senthil Kumar S wrote:
    http://weblogic.com/docs51/classdocs/API_jndi.html#delegate
    Marco wrote:
    Hi all,
    i have a problem with JNDI in WLE 5.1.
    i am accessing an LDAP on another machine running Netscape Directory Server.
    The host URL is ldap://myhost:65535/o=marco, c=fi
    i am always getting back the following exception:
    javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.
    WLInitialContextFactory. Root exception is java.lang.ClassCastException: weblog
    ic.jndi.WLInitialContextFactory
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    58)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)
    and my code is this:
    Hashtable _environment = new Hashtable();
    try {
    environment.put(Context.INITIALCONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    environment.put(Context.PROVIDERURL, "ldap://myhost:65535");
    if ((principal!=null) || (credentials!=null)) {
    environment.put(Context.SECURITYAUTHENTICATION, "simple");
    environment.put(Context.SECURITYPRINCIPAL, principal);
    environment.put(Context.SECURITYCREDENTIALS, credentials);
    context = new InitialContext(environment);
    parser = context.getNameParser(initialCtxFactory);
    } catch(Exception e) {
    e.printStackTrace();
    can anyone help me please??
    thanx in advance
    marco--
    http://www.net4tech.com

  • [Urgent] Problem with Itunes 9.2 on Vista 64-bit

    Hello,
    I have an urgent problem that I hope to get some response and insight from anybody, desperately needing help. As some might know, the new OS for iphone and ipod touch is out. iOs 4 and I wanted to upgrade my itunes, but i had to upgrade it to the itunes 9.2 version. As i was upgrading and installing, this error message : "There is a problem with this Windows Installer package A problem required for the install to complete could not be run. Contact your support personnel or package vendor" came up and ruined the installation and as of now, I am unable to open my Itunes and sync stuff in. This is urgent as I have a ton of stuff inside and now i cant use itunes ! please help !
    Im on a version of Windows Vista SP 2 64-bit OS, if that's any info tht will help ! Any help is greatly appreciated here (:

    any fixes ? ):

Maybe you are looking for