JSF Tomcat to SAP migration problems.

Hello everyone,
I'm working on trying to deploy our current application to the SAP AS. Currently the application is in .war format and runs fine on Tomcat 5.0.
I've followed the instructions that are posted in the following blog /people/michael.esslinger/blog/2006/01/09/javaserver-faces-on-web-as, and was able to re-create the WAR and EAR files to deploy. The application is deployed, but I run into this error at startup:
Initialization of servlet <JavaServerFaces> failed!
The error is: java.lang.NullPointerException: nullnull
followed by
Warning occurred on server 3313950 during startApp sap.com/apriori_ear : Initialization of servlet [JavaServerFaces] failed. Check the init() method of the servlet. Error is: [java.lang.NullPointerException].
I've researched into the NullPointerException problem on multiple websites, and made changes to my web.xml according to the walkarounds to the same problem from the people with different AS, however none of those seem to make the error to go away.
If anyone could provide a guidance as to what might be causing this error, I would greatly appreciate it.
Regards,
Cyril

Hi,
im having the same problem using a webapplication with velocity templates based on struts.
is there a kind of incompatibility of J2EE Engine 7.00 to velocity?
Or did you find a resolution for your problem?
thanks!
Stefan

Similar Messages

  • Filenet Archive to SAP Migration - Problem with DMS_KPRO_CONVERT2

    Hi there
    We seem to be having an issue with a Filenet RFC to SAP Content Server migration.
    We run the report DMS_KPRO_CONVERT and eveything seems to run fine.
    When we run DMS_KPRO_CONVERT2 to move the files, we seem to pick up an error:
    File /saparchive/DV2/username (where username is my username) cannot be opened
    In looking at what is happening, it seems to save the file to the filenet archive exchange directory as the username (with no file extension) however it seems that the system has problems accessing this directly to check the file in to the new repository again and fails.
    If I manually check out the file and check it into the sap content server, there is no problem so it doesn't seem to be an issue that either the SAP content server or the filenet server is not accessible.
    Any ideas what the issue could be?
    Regards,
    Athol

    Hi Athol,
    You have marked this question as answered so can you please help me How you have overcome this issue?
    Do we have to run both DMS_KPRO_CONVERT and DMS_KPRO_CONVERT2 reports while migrating DMS documents from Content server to other archive server?
    Thanks in advance!
    With Regards,
    Ajay

  • JSF & Tomcat 5 session problems

    I am implemeting a web application using JSF and tomcat authentication. The problem is that tomcat is losing the session when I hit refresh on any of the pages which are marked as havign a security constraint.
    e.g. you go to index.html -> takes you to login.jsp (as you need to log in first), you log in successfuly and go to index.html, you hit refresh and get taken back to login.jsp.
    Any help would be much appreciated.
    If anyone has implementign an app using tomcat authentication and jsf, I would be grateful if they could tell me how they are managing to overcome this issue.

    I have a similar question, but not about session timeout, but managing the data within your session. In our previous homegrown JSP Model 2 Framework, we had various methods in place to cleanup the session for a page (essentially allowing you to cleanup the managed beans after you were done with a page). Due to constant activity, the sessions never timeout, but there is "dead" data in the session. How would you do this in JSF? For example, lets say you go through a wizard set of screens, where once complete, you don't want the managed beans to exist in the session anymore. Where would you tap into the JSF lifecycle to do this?
    Thanks in advance,
    Dave

  • Photoshop/Elements to Revel Photo Migration Problem!

    What happened to my Photoshop/element photos? They were supposedly migrated, but I don't see them! I have no albums in my Revel account.I had a paid subscriiption and it was cancelled back in or around February, and told that the photos would be moved over to REVEL...Can anyone help me to get them back?

    First, thanks Pattie for following up with me. I am going to check my backed up hard drives to see if my photoshop materials are on them. It will take me a few days, as I have only small amounts of time to research it at this time. maybe a break will come in a day or two for a determination.
    Date: Mon, 12 Aug 2013 09:45:52 -0700
    From: [email protected]
    To: [email protected]
    Subject: Photoshop/Elements to Revel Photo Migration Problem!
        Re: Photoshop/Elements to Revel Photo Migration Problem!
        created by Pattie F in Photoshop.com Sharing and Storage - View the full discussion
    Michael-
    Is it possible you logged into Photoshop.com with a different email, or is it possible that you did not set up your Elements to sync with Photosho.com? These are the two main reasons users can not find their files.
    The Photoshop.com account created in 2009 with the email you use to log in to this forum has no files in it, and therefore, nothing migrated to the Revel account with the same login. You do have a Revel account with the same login, but it is also empty since nothing migrated.
    Pattie
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5587690#5587690
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5587690#5587690
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5587690#5587690. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop.com Sharing and Storage by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Can anybody send me the SAP Migration Template

    Hi,
    My client currently uses two SAP instance (likely 4.6c and 4.7).
    As part of migrating two system to one system, I badly and urgently need of the following documents...
    1) How the data migration will happen.(Master data, Transactional data..Number range..._)
    2) Do any body have SAP Migration Template.
    3) Any Q & A db for this migration activity
    Regards

    Hello Satish
    ABAP-OO is by no means different from other object-oriented languages. Thus, you can take a book like the one for the <b>Java certification exam</b>. Having read and understood this book you are well prepared for any interview question.
    Regards
      Uwe

  • SAP Migration

    Hi All,
    we have SAP migration/data center move coming up. Can you please let me know what do I need to take care of the things from PI perspective? I mean the Pre and Post I mean t Ours is PI7.0 and mainly lots of file/proxy/JMS scenarions. what is the impact on the web dispatcher?
    i have searched the forum but did not get much info.
    Thanks a lot in advance
    guest

    Before moving to new data centre i hope your team has estimated all risks and efforts. as prateek mentioned network compatiblity is major issue and most of the communication channels(File,JDBC,JMS,SOAP) will face errors . so i would suggest you to prepare check list with IP's used in communictaion channels and check with data centra migration team what will be the new ip for the same.
    Request them to fix all network issues reamiining evrything works as expected.
    Regards,
    Raj

  • Modification Dynamic Rule - SAP Migration - Quality Level

    Hi Experts!!
    Could you tell me if I can have the same quality level for one material when I do a SAP Migration? For example, currently we are working in the release 4.7 and my quality level for a specific material is in the step n. 6 and our total cycle are 10 steps. My doubt is when I will be working in the new version (5.0) I can start my quality leve from step n. 6? Or is it mandatory to start from step n. 1 again?
    I don´t know if my doubt is clear but I would like to thank you for help me in this issue.
    BR
    Valdevair

    No when you transfer data from one client to other or in SAP Migration,Quality level will never be as that of the old.It will reset no doubt.
    What you can do is
    1.Create all master data like DMR with  Task list   etc
    2.Get the database of old system with current quality level with combination of Vendor-Material.
    3. Run the QDL2 with some LSMW for combination of the Vendor & material.
    4.Reset the level to desired level.
    I hope this will add some value

  • SAP Migration Workbench (MWB) Information wanted

    Hello everybody,
    does anyone have information about the SAP Migration Workbench (MWB).
    This should be a tool to for consolidation of R/3 Systems.
    Is it in R/3 Standard or is it an add-on tool?
    I can't find any information about this tool on the SAP websites.
    Anybody with experience with this tool?
    Thanks
    Franz

    Hi Omkar,
    I am also looking for more information around this tool. Is it possible for you to provide some docs or even links wherein I could find this information. Also if you could help me to understand
    If a client need to use SAP MWB, for what specific product the licence should be required .In other words For using this MWB , can be have a license of only this or it will come along with some other products
    What kind of resource skill set is needed to use this tool. Ex ABAP,PI, knowledge of JAVA or is it purely functional.
    May be I am sounding too demanding but any help from your end is welcome as I am totally blank on this tool
    Thanks in advance
    SJ

  • I have one migration problem.

    Dear All,
    i have one migration problem.
    while doing transfer rules migration i got a popup saying that " GJAHR source filed automatic conversion is not possible "
    what is this message if continue with that what will happens if not what i should do.

    hi vsuree,
    If u r getting this message for field  FISCPER of ur data source,then map Fiscper to 0Fiscyear ,the system wil automatically convert it and the problem will be resolved.  hope it will help u.
    thanks

  • JSF - Tomcat security...what is the best choice for a high activity site

    JSF - Tomcat security...what is the best choice for a high activity site
    The JDBCRealm is not multithreaded so what are options for high activity site??
    I would like to have Apache as front end doing load balancing, Tomcat as server and JSF.
    All ideals and suggestions please.
    Thanks
    Phil

    One more question.
    Since Tomcat has this setup.
    create table users (
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table user_roles (
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key (user_name, role_name)
    It seems like a huge pain to keep a user with every role. What happens when you have 500,000 users???
    Also, the authentications on every page....would it be easier to login once and setup a session bean check that on with the page header ??
    Thanks
    Phil

  • Strange legacy data migration problem to SAP CProjects

    Dear all,
    I am new to CProjects and currently working on migrating legacy data to CProjects through XML. I am facing some strange problems when migrating project data with multiple phases. If the project already exists in Cprojects, the XML import transaction hangs indefinitely and a timeout exception is thrown. While on the other hand, if I upload a new project (with same set of phases), it is readily imported without any problems.
       Kindly help!
      Thank you all!

    Hi Vivek,
    If the project already exists, the system creates a simulation from the imported data. You then need to move the simulation to your operational project by performing a reconcilliation. You can't simply overwrite an operational project via an import.
    I have included some links below from SAP help which may help (cProjects 3.1).
    http://help.sap.com/saphelp_cpro31/helpdata/en/26/cb8740f8aacf62e10000000a155106/content.htm
    http://help.sap.com/saphelp_cpro31/helpdata/en/b0/d562404fb6cd01e10000000a155106/content.htm
    Regards,
    Lashan

  • Connection pool + db2 + tomcat 5 migration problem

    I succeded in using connection pooling in Tomcat 4.0.x and IBM db2 6.xx and 7.xx.
    Now I am trying to use Tomcat 5 (released with netbeans 3.6) and I have some problems.
    I migrated the context information from server xml to context xml, but I have a username-password problem
    <Context docBase="D:\j2sdk_nb\NetBeans3.6\progetti\Pegaso2" path="/pegaso2" reloadable="true">
    <Resource auth="Container" name="jdbc/pegaso61" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/pegaso61">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>COM.ibm.db2.jdbc.app.DB2Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:db2:pegaso61</value>
    </parameter>
    <parameter>
    <name>username</name>
    <value>userxxxx</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>passxxxx</value>
    </parameter>
    </ResourceParams>
    </Context>
    When running my servlets, i get this error:
    Exception in PoolDB2Connector.getConnection():org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory, cause: [IBM][CLI Driver] SQL1403N The username and/or password supplied is incorrect. SQLSTATE=08004
    So it means ( I think !!) that the web-application i getting the right driver ( i got a db2 error) but is having problem with username and password.
    I am using getConnection() method ( with no argouments) in my PoolDB2Connecto class (according to the documentation the getConnection(user,password) method is not supported)
    I have a parallel installation of netbeans 3.5.1 (tomcat 4.0.6) with the same parameters (username, password, url...) and is still perfectly working
    Any help will be greatly appreciated,
    Andrea

    OK, I found the problem !
    It is not due to any configuration issue, but it is due to a BUG in tomcat 5.xx
    I reproduced the problem with mysql db server other than db2 db servver.
    The problem is the presence of the $ sign in the users' s password !!!!
    Probably the xml parser rading server.xml introduce some error finding $ sign.
    The problem is still present in the 5.028 version of tomcat.
    If i modify user's password REMOVING $ sign, everything is OK
    Perhaps $ sign should be escaped (?!?)
    Andrea

  • Migration problems with Tomcat 4.1.10. Please help.

    Product:           Java Web Application
    Operating system:     Redhat Linux 7.3
    Web Server:          Apache 1.3.x
    Application server:     Tomcat 4.1.10
    Database server:     MySQL 3.23.x
    Java Architecture:     JSP (presentation) + Java Bean (Business logic)
    JDK version:          1.3.1_04
    Hi,
         When we tried to migrate our application from Tomcat 4.0.4 to Tomcat 4.1.10, we found that the relative path references like ../xyz/ab.jsp are not properly interpreted by Netscape and the url seen on the address bar is something like this (http://www.sww.com/../xyz/ab.jsp. Also dynamic jsp forwarding support seems to have changed. While forwarding, the dynamic parameters attached are automatically url encoded. We have tested our application on Tomcat 4.0.4, there were no such issues. Since we have used these sort of things in many places in our application it will be difficult for us to change in all those places. Can anybody tell us what we can do about it?
    thanks in advance,
    Srikanth. S.

    Hi,
    http://www.xyz.com/swiz/test.jsp:
    <%
    response.sendRedirect("../sebase/common_login.jsp");
    %>
    When I run http://www.xyz.com/swiz/test.jsp with the above code, the url is displayed http://www.xyz.com/swiz/../sebase/common_login.jsp in Netscape address bar when the application is run on tomcat 4.1.10. With Internet explorer and opera, it reads http://www.xyz.com/sebase/common_login.jsp. But on Tomcat 4.0.4, there is no problem even with Netscape. Since we are tracking the urls in many places in our application, we are having problem because of the above said type of url interpretation.
    thanks in advance,
    Srikanth. S.

  • HELP PLEASE: Tomcat 3 - Sun ONE Migration Problems

    Hi everybody. We are new Sun One users. We are trying unsuccessfully to migrate our tomcat application to this environment. in order to deploy it we have created a WAR file from the Netbeans Ide and we are trying to load it into Sun One AS... but it seems there is something wrong with the process becouse we don't have access to the defined jdbc resources. Any help would be very apreciated... and please, excuse my English.
    Javier Moreno

    Thanks a lot of for your fast answer, but we haven't don't too much progress...
    dbping shows a message about "java.lang.NoSuchMethodException: setdataSourceName"
    wich probably means mysql driver isn't fully implemented. anyway i will try
    to describe the steps we make to create de pool hoping you will be able to
    help us...
    That's what we do:
         - first, we create a Connection pool:
              name -> MySQLPool
              database vendor -> Other
              datasource class -> com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    serverName -> localhost
    portNumber -> 3306
    user -> test
    password -> test
    databasename -> jdbc:mysql://localhost/pol
    datasourcename -> pol
         - then, we define the resource:
              jndi name -> jdbc/jdbc-pol01
              pool name -> MySQLPool
              data source enabled -> true
         - in the web.xml of the application we got (just before /webapp):
              <resource-ref>
              <description>DB Connection</description>
              <res-ref-name>jdbc/jdbc-pol01</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
    </resource-ref>
         - and we obtain the connection with a chunk of code like this:
    ctx = new InitialContext();
    dsName = "java:comp/env/jdbc/jdbc-pol01";
    ds = (javax.sql.DataSource) ctx.lookup(dsName);
    con = ds.getConnection();
    If we don't write the resource-ref element at web.xml it fails at the lookup
    step (not finding the resource). but when we add the element the appserver
    claims "Error loading new module in virtual server: javax.naming.InvalidNameException: Real jndi name cannot beempty for jdbc/jdbc-polds.
    We don't know what to do and the death line is comming here fast... any help
    would be very much apreciated.          
    Thanks in advance, good karma.
    jv

  • Eclipse Tomcat Hibernate Struts - JDeveloper OC4J migration problem.

    In my current project, everybody uses Eclipse and Tomcat as development environment. I decide to try JDeveloper in this project. Not that this configuration works with eclipse WPT.
    When I try to open project, I get an error as below.
    Target URL -- http://127.0.0.1:8988/PSSO/index.html
    30.Haz.2008 21:50:03 oracle.classloader.util.ClassLoadLogger log
    WARNING: Code-source D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\BuildScripts\DirectoryThirdPartyLibraries\jta.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent) has the same filename but is not identical to /E:/downloads/tools/jdevstudiobase1111/j2ee/home/lib/jta.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\downloads\tools\jdevstudiobase1111\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.PSSO:0.0.0.
    30.Haz.2008 21:50:03 oracle.classloader.util.ClassLoadLogger log
    WARNING: Code-source E:\downloads\tools\jdevstudiobase1111\jakarta-struts\lib\struts.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent) has the same filename but is not identical to /D:/atilla/projects/javaProjects/meteksan/EclipseWorkspace_RTUK/BuildScripts/DirectoryThirdPartyLibraries/struts.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.PSSO:0.0.0.
    08/06/30 21:50:17 Hibernate: select t.name, sa.value from RTUK_PSSO.ytk_sistem_attribute sa, RTUK_PSSO.ytk_attribute t where sa.attribute_id = t.id
    21:50:20,687 ERROR ActionServlet:364 - Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from tr.com.meteksan.genel.gnlKurumOrganizasyon.GnlKurumOrganizasyon ko order by ko.organizasyonKodu]
    at tr.com.meteksan.web.plugin.InitSozlukDegerleriPlugIn.init(InitSozlukDegerleriPlugIn.java:49)
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    what is interesting is that
    first query with hibernate works, but second query does not works.
    My JDeveloper as below
    CVS Version Internal to Oracle JDeveloper 11g Technology Preview 4 (client-only)
    Java(TM) Platform 1.5.0_15
    Oracle IDE 11.1.1.0.22.49.49
    Versioning Support 11.1.1.0.22.49.49
    I wonder if it is related to struts and jta jars defined twice.

    There might be a problem with the OC4J not finding the hibernate library you are trying to use.
    Try setting the library also in the tools->embedded OC4J preferences.

Maybe you are looking for

  • Can't End Call with Bluetooth Headset

    Having just purchased a Blackberry 8330, I am disappointed with the inability to end a call with a Bluetooth hands free device (Jabra VBT185Z).  The hang-up problem occurs when the Blackberry is locked and a call is placed with the Bluetooth device.

  • Change Process Order BAPI FM?

    Hi friends, can you help me with this issue? I'm trying to change a process order (tx: cor2) but the bapi BAPI_PROCORD_CHANGE only allow me to change header data, i need to change components data (add, change, delete a material).  Any suggestions?...

  • OSR - Oracle Service Registry won't create database datasource

    Current configuration: Oracle 10g database Oracle Service Registry 10gR3 Oracle Weblogic application server 10.1.3 I have tried many ways to install the registry (GUI, command prompt, config file) but my datasouce is not getting created. In the /log/

  • Taglib parsing problems when starting WLS 5.1 with user and region properties set to Turkish

    Hi, We are building an application for the Turkish market and we developed custom tags to translate static text on JSP pages. When WLS 5.1 is started with -Duser.region=TR and -Duser.language=tr, the compilation of the pages doesn't work. In fact, WL

  • Sconfig "invalid index" and IPV6 disabled

    I have problem with sconfig.vbs on Windows Server 2012 R2 Core. I have to disable IPV6 on our network. But when using sconfig.vbs to modify network settings, there the exact same issue described here: http://en.gpunktschmitz.de/847-windows-server-cor