DI Server and J2EE

Hi all,
I'd like to know if it's possible to have a J2EE Server to invoke web services from the DI server.
if yes, do you have samples ?
Thanks for your help.

Hi Sebastien,
I have just started looking at SBO and R3 integration (as you are doing too, I suppose). Talking with our SAP people, they told me there are 2 ways to face this scenario.
- Use the SAP Exchange Infraestructure (XI) as a bridge among R3 and SBO. This software exports some webservices that interact with SBO DI Server.
- Create your own mapping rules and create the comunication with the SBO DI Server. I think this is exactly what you are trying to do.
I suppose the XI would be quite expensive. Haven´t started yet with the second one, but I suppose we will try that way too. What I´m not sure is what technology we are going to use. We are more experienced with .Net and we are investigating how to face it this way.
I must say that there are some documents in the SMB marketplace regarding to this issue under SolutionsIntegration CapabilitiesIntegration Toolkit.
Hope we can search together a good solution.
Regards,
Ibai Peñ

Similar Messages

  • What is their difference betwwen  Sun ONE Application Server  and J2EE serv

    Sun ONE Application Server is Sun implementation of J2EE server.
    But it seems even no Sun ONE Application Server, use J2EE SDK command
    j2ee -verbose
    we still can launch an Application Server that support EJB, JSP....
    what is their difference betwwen Sun ONE Application Server and J2EE server provided by J2EE SDK ?
    Thanks,

    Sun ONE generally refers to the Sun ONE Application Server version 7.x. This is a J2EE 1.3 compliant application server from Sun. Sun also released a Reference Implementation version (RI) as a requirement of the J2ee 1.3 spec. This is the J2EE server you are refering too. The Sun ONE Application Server 7 is a more robust production ready App Server.
    Going forward, Sun combined the 2 seperate groups to include just 1 release. The J2EE 1.4 Reference Implementation is the Sun Java System Application Server Platform Edition version 8. SJS AS 8 PE is both free and production ready. Other version will include High Availability, Managing and Monitoring features.
    -Jeff

  • Error while starting NW server and j2ee server is getting stopped.

    Hi,
    I am working in NW04s. It contains ABAP sp5 and java sp9 versions. The server was working find till ten days back. After the gap of ten days, when i started to work on this SAP system, i was not able to start the j2ee server. During the startup of the server itself, j2ee server is getting stopped and dispatcher also. Following is the error bunch I got in trace. If any one has any idea about this, please reply this soon.
    [EXCEPTION]
    #1#com.sap.engine.frame.ServiceException: <Localization failed: ResourceBundle='com.sap.engine.frame.KernelResourceBundle', ID='UME initialization failed.', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key UME initialization failed.
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:372)
         at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=garden SYSNR=00 GWHOST=garden GWSERV=sapgw00 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       connection to partner '15.70.176.191:sapgw00' broken
    TIME        Mon Nov 13 12:45:30 2006
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -6
    MODULE      nixxi.cpp
    LINE        4207
    DETAIL      NiIRead
    SYSTEM CALL recv
    ERRNO       10054
    ERRNO TEXT  WSAECONNRESET: Connection reset by peer
    COUNTER     4
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:178)
         at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:446)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:356)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:156)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:109)
         at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:56)
         at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:266)
         at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:279)
         ... 6 more
    #1.5#000E7FFD8B5D001D00000011000008540004221BAAB8047C#1163402130490#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_54##0#0#Fatal#1#/System/Server#Plain###Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.#

    > ceException: Connect to SAP gateway failed
    > Connect_PM  TYPE=A ASHOST=garden SYSNR=00
    > GWHOST=garden GWSERV=sapgw00 PCS=1
    >
    > LOCATION    CPIC (TCP/IP) on local host with Unicode
    > ERROR       connection to partner
    > '15.70.176.191:sapgw00' broken
    You can ping this machine from your portal-nodes and you can connect to the port "sapgw00" (should be 3300) ?
    > ##0#0#Fatal#1#/System/Server#Plain###Critical
    > shutdown was invoked. Reason is: Core service
    > com.sap.security.core.ume.service failed. J2EE Engine
    > cannot be started.#
    This is the reason why your j2ee-server stops - the portal can't connect to the ume. What did you configured as the ume - the portal database, a ldap-server or a r3-system ?
    Regards
    Norman

  • DTR server and J2EE restart

    Our J2EE server is not starting due to following error :
    Severe error in network I/O of centralserver. Please restart DTR server application. If the problem occurs again, please refer to SAP note 774339 for more details on how to analyse the error condition
    we want to restart DTR server.
    since J2ee engine is not started, we are not able to logon to Visual Admin.
    can anyone tell me about any other way to restart the DTR server.
    or
    else how to start j2ee engine for above error.
    appropriate points will be awarded.
    thanks and regards,
    Aditya Deshpande

    Double post: DTR server problem
    Please continue in the other thread.

  • Need help:Urgent:MS SQL Server and J2EE Server

    Hello,
    i am developing simple bean managed persistence bean. i want to know how could i use microsoft SQL Server as my database with ejb's in J2EE. i don't want to use cloudscape rather i want to connect through jdbc bridge with sql server. can any body help me out ?
    i have developed DSN for my database with the name of DsnProduct and user name for DB is guest and password is guest123.
    so do i have to change configuration is my J2EE server . or put some additional code. so far i have added the following line in my implementation class
    private String dbName= "java:comp/env/jdbc/ProductDB";
    DataSource ds = (DataSource) ic.lookup(dbName);
    con = ds.getConnection("guest","guest123");
    moreover in server configuration i have added driver
    sun.jdbc.odbc.JdbcOdbcDriver
    and also provide the following JNDI Name
    jdbc/ProductDB
    and
    it's url is
    jdbc:odbc:DsnProduct
    i am thankfull for your support.
    [email protected]

    hi llturro,
    Thanks for answering my question. I have tried out what you suggested, but I still can't fix my problem. The following are the messages that display when I try to run my servlet. It seems that the DataSource, Connection and Statement are ok, however when it comes to the ResultSet the error message appear. What's wrong with my ResultSet coding ?
    ResultSet rs = stat.executeQuery("SELECT ISBN FROM BOOKSINFO WHERE ISBN='"+primarykey+"'");
    setEntityContext Method
    Find by primary key
    DataSource OK
    Connection OK
    Primary Key = 013-00-675721-9
    Statement OK
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unknown Exception/Error thrown by EJB method.; nested exception is:
    java.lang.NullPointerException
    java.rmi.RemoteException: Unknown Exception/Error thrown by EJB method.; nested exception is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    <<no stack trace available>>

  • How to integrate Crystal Report Server and J2EE platform

    Hi,
    It's my first time using Crystal Report, so I don't know exactly how I should start...
    As what i've searched around, there is a method of generating crystal report from a JSP file. By this way, everything will be handled within the application server.
    But in my project, we intend to leave the part of handling and generating report to another server, i.e. there will be 2 servers: application & report. Anyone experienced with this can guide me through? By splitting into 2 servers, that means I will need to have the Crystal Report Server right? And if doing so, from the application, how do I call the Crystal Report server?
    Thanks for viewing...

    You can use [Crystal Reports for Eclipse|Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!; to do exactly this. It comes with an example application for displaying reports using the CR Web Report Viewer. It's EXTREMELY easy to use and even to integrate in your existing web app. If you're using Eclipse and have the CR4E plugin installed, you can go to File > New > Crystal Reports and select Crystal Reports Web Project. This will create the CR server application for you. You can also right click on an existing web app and have Crystal Reports integrated directly into your existing app.
    To do this, just right click on your web app and go to Project Properties. Then, go to Project Facets, check the box next to Crystal Reports, click Apply and then OK. It will copy all of the necessary runtimes into your lib folder and will even update your web.xml to include the stuff needed for CR. On the left, you should see Crystal Reports File Versions. Click on that and you should see the version of Crystal that was just installed into your web app along with all of the files that were copied or modified.
    You could probably then create a report viewer in your other app (maybe an iframe?) that includes a link to the report in the CR Web App.
    If you need more assistance with this, let me know. I'd be glad to help out as I've already played with something similar to this.

  • J2EE Webdynpro server and J2EE Systinet server Integration

    Hi,
    Has anyone included Systinet WASP server with SAP WebDynpro Server?
    Trying it, I found the following WD exception:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Naming Exception occured while looking up for LicensingRuntimeInterface stub.
    Thanks,
    Ricard.

    Other software used

  • How to upload a file into server using j2ee jsp and servlet with bean?

    How to upload a file into server using j2ee jsp and servlet with bean? Please give me the reference or url about how to do that. If related to struts is more suitable.
    Anyone help me please!

    u don't need j2ee and struts to do file uploading. An example is as such
    in JSP. u use the <input> file tag like
    <input type="file"....>You need a bean to capture the file contents like
    class FileUploadObj {
        private FormFile srcFile;
        private byte[] fileContent;
        // all the getter and setter methods
    }Then in the servlet, you process the file for uploading
        * The following loads the uploaded binary data into a byte Array.
        FileUploadObj form = new FileUploadObj();
        byte[] byteArr = null;
        if (form.signFile != null) {
            int filesize = form.srcFile.getFileSize();
            byteArr = new byte[filesize];
            ByteArrayInputStream bytein = new ByteArrayInputStream (form.srcFile.getFileData());
            bytein.read(byteArr);
            bytein.close();
            form.setFileContent(byteArr);
        // Write file content using Writer class into the destination file in the server.
        ...

  • BACK button difference between Weblogic and J2EE server

              Hi Everyone,
              I have a J2EE application implemented mainly with JSP and EJB, which can run on
              both J2EE and Weblogic Servers seperately. When running on either of them, the
              server acts as both a web and application server.
              It is my understanding that it first goes to the cache in the browser when you
              try to revisit the previous page (JSP files) by clicking the BACK button in the
              browser. If the page is there, it just displays that page from the cache. If not,
              it will go to the server to retrive (execute) that page.
              When I run my application over J2EE server and try to visit the previous page
              by using the BACK button in the browser, it does this way correctly. But when
              I run my
              application over Weblogic server, it always goes to the server and execute the
              JSP file again in the server, rather than simply retriving that page from the
              cache. If your JSP file is simply doing data retriving, that is fine. But if it
              is doing data inserting, it will insert your data again. This is not good.
              I know that the Weblogic server is mainly an application server. But I am not
              sure when it acts as a web server,
              why it works differently from J2EE which also can acts as both an pplication and
              a web server. Does anyone have any ideas or suggestions about this?
              Thanks a lot.
              -John
              

    I believe that the correct behaviour is to rerun the .jsp page unless the
              user specifically sets the header to allow the browser to cache it. That
              being said... You should never make a web application that can be broken by
              the user hitting "reload" or the browser automatically retrying. An
              application like this is very fragile and will probably break in practice.
              I suggest that you either make all your pages idempotent or you keep track
              through a hidden form field a transaction id and only allow the execution of
              any particular transaction once. As far as WebLogic not being a good web
              server, I would say that with 6.1 you get most of the management advantages
              of using a separate web server and also most of the static file performance
              you will find with apache or IIS.
              Sam
              "John Wang" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hi Bruno,
              >
              > Thank you for your prompt reply.
              >
              > I think I might not explain my problem clearly. My application
              > is in developing stage now. So we are just working on a single
              > serevr which can acts as both a web and an application server.
              > Later we are going to distribute our application into a web and an
              application
              > seperately.
              >
              > As you said, it seems that my problem is because the weblogic server is
              mainly
              > an application server and does not act as a web server very well. So if I
              distribute
              > my application into both a web and an application servers, it should be
              fine,
              > since it is ok when I run it over the J2EE server. Is this correct?
              >
              > In other words, I can say that the J2EE server is configured better in its
              role
              > as a web server than the weblogic server, isn't it?
              >
              > In addition, all my JSP files are only dealing with catching
              > data from user input and displaying data. Data inserting is done
              > by EJB and JavaBeans through the JSP files. Because those JavaBeans in the
              JSP
              > files, each time when I use the BACK button, it will invoke those
              JavaBeans and
              > EJBs through the JSP files and do things like inserting in the background.
              That
              > is what I mean in my previous message.
              >
              > Thanks.
              >
              > -John
              >
              > "Bruno" <[email protected]> wrote:
              > >
              > >Hi John,
              > >
              > >You should use a real Web Server on the front side of your application.
              > >Weblogic
              > >is mainly an application server that has to be used in middle tier. But
              > >it's not
              > >a good Web Server. Like almost all J2EE application. You should use a
              > >separate
              > >web server like apache, optimised to serve static file. Furthemore, this
              > >approach
              > >will enable you to physically separate the two servers for a better
              security.
              > >Anyway, usually jsp files are dynamic files and are not intended to be
              > >totally
              > >cached (except in special cases). I think you should just use JSP to
              > >display data.
              > >If you want to do data inserting, you should use EJB or JavaBeans for
              > >that rather
              > >than JSP.
              > >
              > >Hope it helps
              > >
              > >Regards
              > >
              > >"John Wang" <[email protected]> wrote:
              > >>
              > >>Hi Everyone,
              > >>
              > >>I have a J2EE application implemented mainly with JSP and EJB, which
              > >>can run on
              > >>both J2EE and Weblogic Servers seperately. When running on either of
              > >>them, the
              > >>server acts as both a web and application server.
              > >>
              > >>It is my understanding that it first goes to the cache in the browser
              > >>when you
              > >>try to revisit the previous page (JSP files) by clicking the BACK button
              > >>in the
              > >>browser. If the page is there, it just displays that page from the
              cache.
              > >>If not,
              > >>it will go to the server to retrive (execute) that page.
              > >>
              > >>When I run my application over J2EE server and try to visit the previous
              > >>page
              > >>by using the BACK button in the browser, it does this way correctly.
              > >>But when
              > >>I run my
              > >>application over Weblogic server, it always goes to the server and
              execute
              > >>the
              > >>JSP file again in the server, rather than simply retriving that page
              > >>from the
              > >>cache. If your JSP file is simply doing data retriving, that is fine.
              > >>But if it
              > >>is doing data inserting, it will insert your data again. This is not
              > >>good.
              > >>
              > >>I know that the Weblogic server is mainly an application server. But
              > >>I am not
              > >>sure when it acts as a web server,
              > >>why it works differently from J2EE which also can acts as both an
              pplication
              > >>and
              > >>a web server. Does anyone have any ideas or suggestions about this?
              > >>
              > >>Thanks a lot.
              > >>
              > >>-John
              > >>
              > >
              >
              

  • Which is Best way to pool DB connections on Server no-J2EE???

    I have a applicatio, which run on very different app servers (WebSpere, JRun and i-Planet)... the db conncetion problems existe whit server no-J2EE compliant, like as i-Planet.
    On J2EE servers I cant use Server DataSource to pooled connection, and server make this work transparently and good.
    But, if have to manually manage to pool connection, which is the best way?
    Befor use Poolman package... by CodeStudio, but is not effective for me...
    Now, are studying the Jackarta-Commons DBCP...
    Which is the best ?... there is other solution for this problem ?.
    thx !

    App in I'm work, make exhaustive use of db connection,
    only on startup, use a average of 130 connection
    request on less 10 secconds.
    All connection requested, when finish to use, there
    are closed, supposeddly, the closed connction are
    returned to pool, but this no happend it quickl, How do you know it doesn't happen quickly?
    Normally a returned connection would just be inserted into a list with a possible state change. That would be very quick in java. It might check the state of the connection and that is going to take longer Another pool manager might do the same though.
    then,
    if pool is able to create emmergency connections (up
    num max) always returned new connection, any one
    else, if pool can't create emmergency connection
    objects, app wait for free connection of pool... long
    delay !Of course, but any pool is going to do that.

  • JWSDP and J2EE Integration: Doesn't work. What's the point?

    My problems involve the integration of JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    It looks like a long one, but it�s really not that bad. All comments are appreciated.
    I�ve numbered each line-paragraph-section for easy reference later.
    (1) My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website that uses servlets, JavaServer Pages (JSP), and JDBC.
    (2) I�ve got four Pentium III computers:
    1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
    2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
    3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
    4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).
    (3) On MyWebServer I installed the following:
    Java 2 Standard Edition (J2SE)
    Java 2 Enterprise Edition (J2EE)
    Java Web Services Developer Pack (JWSDP)
    The JWSDP tutorial
    Apache HTTP Server
    (4) The files I downloaded and installed are as follows:
    j2sdk-1_4_0-rc-win.exe
    j2sdkee-1_3_1-win.exe
    jwsdp-1_0-ea1-win.exe
    jwsdp-1_0-ea1_01-tutorial.zip
    apache_1.3.23-win32-x86-no_src.exe
    (5) After installing these products, I set the environment variables as follows:
    JAVA_HOME = c:\j2se
    J2EE_HOME = c:\j2ee
    JWSDP_HOME = c:\jwsdp
    Path = c:\j2se\bin;c:\j2ee\bin;c:\jwsdp\bin; [and other previous statements]
    (6) I checked to see that Apache is running as a service. It is.
    On MyWebServer I start Tomcat and J2EE. Both start properly and are operating simultaneously.
    (7) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1
    This displays the page c:\ApacheHTTP\apache\htdocs\index.html.en (The Apache default server installation page.)
    (8) I then enter this address in IE:
    http://10.10.1.1:8080
    This displays the page c:\jwsdp\webapps\root\index.html (The default JWSDP page).
    (9) I then enter this address in IE:
    http://10.10.1.1:8000
    This displays the page c:\j2ee\public_html\index.html (The J2EE 1.3 Default Home Page).
    (10) So far so good. Now I want to test JWSDP as a container for JSP pages.
    (11) I use ant to build the converter app found in the tutorial examples (in folder c:\jwsdp\�\tutorial\examples\gs). I then deploy the converter app to the c:\jwsdp\webapps\gs folder.
    (12) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1:8080/gs
    The converter app works perfectly.
    (13) To eliminate the need to enter the port number, I create a link from the Apache default server installation page to the converter app. From MyClientPC and enter this address into IE:
    http://10.10.1.1
    I then click on the link to the converter app and it works perfectly.
    (14) Question: Is this the best way to display JSP pages without having to enter the port number?
    (15) Now it�s time to integrate JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    (16) After I complete this integration I cannot start both Tomcat and J2EE at the same time. This makes sense because they both share port 8080.
    I start Tomcat.
    (17) From MyClientPC and use Internet Explorer to test the various relevant addresses. Everything works the same as it did before except this one:
    http://10.10.1.1:8000
    The page cannot be displayed. The J2EE default home page is not displayed, which makes sense because the J2EE port is no longer 8000; it has been changed to 8080.
    (18) Now I shutdown Tomcat and start J2EE.
    From MyClientPC and use Internet Explorer to test the various relevant addresses:
    (19) http://10.10.1.1:8080
    Displays the JWSDP default home page.
    (20) http://10.10.1.1:8080/gs
    The page cannot be displayed. The converter app no longer works.
    (21) From MyWebServer and use Internet Explorer to test localhost:
    http://localhost:8080
    This displays the J2EE default home page.
    (22) Question: Why does localhost give me a different page than the IP address?
    (23) Question: What was the point of integrating JWSDP and J2EE?
    (24) I want to get the converter app working, so I create a .war file and attempt to add it to the J2EE deploytool (see the two integration documents listed above at section 15.) I create the .war file following the instructions in the JWSDP tutorial:
    http://java.sun.com/webservices/docs/ea1/tutorial/doc/WebApp3.html#64606
    (25) I change to the c:\jwsdp\�\tutorial\examples\gs\build folder.
    I then type:
    jar cvf converter.war .
    A .war file is created.
    (26) I open the deploytool: File, New, Application, and I name it �converter�.
    I attempt to add the .war file: File, Add to Application, Web WAR.
    (27) When I attempt to add the converter.war file I get this error:
    �converter.war does not appear to be a valid web JAR.�
    I tried a few different attempts, all with the same result. I�m stuck.
    (28) I ask again, What was the point of integrating JWSDP and J2EE?
    (29) If this is the preferred configuration, how do I display my JSP pages like the converter app?
    Please help!!!

    The JWSDP tutorial says to be in the �build� folder of the example when issuing the jar command to create the .war file. The build folder is created when I run the �ant build� command.
    Attempt 1 from the command prompt in folder c:\jwsdp\tutorial\examples\gs\build>
    I typed this command:
    jar cvf c:\jaxmservices\converter.war .
    In this case I directed the .war file to be placed in a different folder as you suggested. Here�s the output:
    added manifest
    adding: index.jsp(in = 921) (out= 525)(deflated 42%)
    adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/Converter.class(in = 582) (out= 358)(deflated 38%)
    Didn�t work. Same error as before.
    Attempt 2 from the same folder:
    I typed this command as you suggested (I tried it with and without the final dot):
    jar tvf converter.war
    Here is the output:
    java.io.FileNotFoundException: converter.war (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.tools.jar.Main.run(Main.java:185)
    at sun.tools.jar.Main.main(Main.java:904)
    I tried a few other variations on these attempts with no luck. I�m stuck.
    I�m attempting to create a .war file out of two files: index.jsp and converter.class.
    Now that I�ve integrated JWSDP and J2EE, is there some other way that I can run the converter app instead of a .war file and the deploytool? In other words, if I go back to using ant to build and deploy converter, where would I deploy it so that it will work with J2EE?
    By the way, it doesn�t have to be converter. I�d be happy if I could get any JSP page to work in J2EE after the integration.
    Forever grateful,
    Logan

  • JCO_SYSTEM_FAILURE   and J2EE restart

    Hi All,
    We are currently encountering an issue with IDOC to HTTPS scenario that we we are working on. There are several RFC that are being performed in the mapping to retrieve information from R/3. The mapping has been tested sufficently with data from R/3 DEV system without any issues.
    We have the scenario tested in DEV, and its works fine. But when we test the same onjects connected to REL r/3 system, we are noticing that the messages always get stuck in the outbound queue with the status as "transaction executing". After a while the below message is logged:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>Bean SMPP_CALL_JAVA_RUNTIME3 not found on host albbir1, ProgId=AI_RUNTIME_BIR: P</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>&quot;SYSTEM FAILURE&quot; during JCo call. Bean SMPP_CALL_JAVA_RUNTIME3 not found on host albbir1, ProgId=AI_RUNTIME_BIR: P</SAP:Stack>
      <SAP:Retry>A</SAP:Retry>
      </SAP:Error>
      There seems to be an issue with RFC communication, but we can't seem to find the problem. This above error is logged a number of time, after which the J2ee server process will either restart or stop. We have been manually restarting the J2ee server and the cancelling the message with errors.
    We have tested the TCP RFC Destination AI_RUNTIME_JCOSERVER, it works fine, before the mesages get stuck.

    Hi Harleen,
    This kind of issue occurs for many cases.
    First of all, if there is a server restart(in specific the java stack) and during that time, if any synchronous interface was in execution it would fail with this error.
    Since, it is a HTTP adapter at the receiver side, it can also occur if the connection is down at the receiver side.
    Because of an untimed restart of a server node/cluster, async interfaces could also fail with this error.
    As of now to clear that issue, you can save the payload and delete the blocked message from the queue and check if other messages are getting processeed on not.
    Check if the connections to target system are working fine.
    Regards,
    Younus

  • HTTPS server on J2EE Engine

    Hi there,
    I have to write a little HTTPS server which runs on the J2EE Engine for handling some HTTPS requests.
    For this, the server should use a certificate from the J2EE Engine's Key Store. Wiht the following code I try to load the certificate and start the server.
    String privKeyView = "service_ssl";
              String privKeyAlias = "ssl-credentials";
            if ((privKeyView != null) && (privKeyAlias != null)) {
            SAPSecurityResources secRes =
                SAPSecurityResources.getInstance();
            KeyStoreManager ksMgr =
                secRes.getKeyStoreManager(PermissionMode.SYSTEM_LEVEL);
            java.security.KeyStore ks = ksMgr.getKeyStore(privKeyView);
            ISsfProfile privKeyProf = ksMgr.getISsfProfile(ks, privKeyAlias, null);
            java.security.PrivateKey privKey = privKeyProf.getPrivateKey();
            KeyManagerFactory kmf =
                KeyManagerFactory.getInstance("SunX509");
            kmf.init(ks, keypassword);
            SSLContext sslcontext = SSLContext.getInstance("SSLv3");
            sslcontext.init(kmf.getKeyManagers(), null, null);
            ServerSocketFactory ssf = sslcontext.getServerSocketFactory();
            SSLServerSocket serversocket =
                (SSLServerSocket) ssf.createServerSocket(10443);
            final String[] enabledCipherSuites = { "SSL_RSA_WITH_RC4_128_MD5" };
            serversocket.setEnabledCipherSuites(enabledCipherSuites);
            Socket client = serversocket.accept();
    The problem is, that the accept() fails with an javax.net.ssl.SSLException: No available certificate corresponds to the SSL cipher suites which are enabled.
    This seems to make sense, because the Cipher suite isn't bound to that custom port (which is configured at SSL Provider Service of Visual Admin). But on the other hand I cannot add any custom entry in Visual Admin.
    Does anybody has expierience in writing an SSL Server on J2EE Engine? Please help. Any hint will be highly appreciated.
    Thanks in advance,
    Matthias

    Hi Eddy,
    Sorry just got round to checking on this. The documentation you point to here is what we used as the basis for our setup.
    We are attempting to use End-2-End SSL and did modify the SWD profile accordingly. It does not work however. If I connect via SSL directly to the J2EE server it works fine. Also connecting via HTTP thru the SWD works as well.
    We are unsure as to whether there is something (parameters, service, etc.) that we have to set up via SMICM and/or RZ10 to enable SSL on the ICM? Or even whether that is necessary.
    Ideally what I'd like is if someone can explain step-by-step what needs to be set up in the ABAP stack/message server that would be great.
    Thanks
    Brian

  • Question about HTTP Server and 9iAS

    I am kind of new to Oracles 9is products. I installed Oracle 9i Rel. 2 recently and it installed HTTP Server and other stuff as part of that install. I am trying to write a small web application. Is this install good enough to do basic servlet's, jsp's and may be EJB's etc ... or do I need to install 9iAS. I am confused on the fact that I know 9iAS will give me j2ee container, web container, clustering, etc ..., what functionality is included in the 9i databases web server piece.
    Also, can anyone point me to a good documentation that explains directory structure of 9i Rel. 2. I am familiar with the database part fairly well(oracle 7 release). However, I am confused as to new web related stuff (Apache, bc4j, etc..) in 9i Rel. 2.
    Thanks.

    Hi,
    No, you cannot run EJB's in the Apache installation. For that you might want to download OC4J.
    Basic Http pages and Servlets can run but I dont think it is advisable to use it for that. For any kind of development, I would suggest you to use OC4J.
    Oracle9i Database is web enabled and you can access the table, etc.. from a browser too. This is the reason Apache is provided with the basic installation. Oracle9i Rel 2 has XML DB in it which again can be accessed from the Web.
    For more help on any of these check http://otn.oracle.com/documentation/oracle9i.html
    You will be able to get all the related Developer's Guide here.
    Hope this helps,
    Rajat

  • Web dispatcher and J2EE load balancing

    I have portal DBCI on one server and DI on multiple servers. I implemented Web dispatcher in front of the DI and it does the load balancing across all DI and CI. What I want to do though is not to route any users to CI instance - ie take CI server processes out of load balancing.
    In ABAP environment you could create a logon group and not put CI in the group and users coming through the logon group do not go to the CI. I would like to do the same with Portal Java processes. In help.sap.com I found that web dispatcher uses default !J2EE group if there are no groups defined - to distribute users but I can not find anyway to define a logon group for J2EE java.
    Does anybody out there know how to do this - define a logon group and include only DI and not CI in that?

    > Raj,
    >
    > Which versions are you on J2EE? EP?
    > If you are on EP SP14 or NW01 you can do workload
    > distribution within the portal.
    >
    > James
    We are using NW 04 based EP 6 SP 16. I am looking for to use web dispatcher to distribute users on the DI servers and not distribute any users on the CI server. What can I do so that if admin user enter http://CI_server:50000/irj then they can login to the CI server if users come through webdispatcher then they are not put on the CI but go to one of the DI servers only. By default web dispatcher would send some users to CI and I don't want that.

Maybe you are looking for