We want to deploy Servlet/JSP in JServ and call the EJB's deployed in iPlanet App Server 6.0 SP2. How do we make the getInitialContext Call be able to access the EJB's.

Additionally what configurations do we need to make sure we have on JServ (Third party Servlet container) to make sure that the iPlanet EJB's can be accessed.

Let me preface my instructions with the comment that this isn't a good idea. Although the J2EE specification allows you seperate your web container from your EJB container, in practical deployments it is a bad idea. The overhead of doing RMI/IIOP calls to an external container as opposed to making inter-JVM calls means that you can expect roughly an order of magnitude less performance than if you colocate your web and EJB containers. (This is why all EJB containers are also web containers, or at least have the provision to install themselves in the same JVM as a web container.)
That said, if you do not have the option to move the servlets to iAS, you can access EJB's in iAS from JServ the same way that you would from any remote client. Take a look at the following information for more detail:
Chapter 9 of the developer's guide ( this shows you what changes you need to make to the remote JVM (at JServ) and in the EJB's that you are exposing).
The RMI/IIOP sample application. This gives you an example of how to access EJB's from outside the container.
(To answer your direct question, the following code will get the initial context. But if you don't take all of the other configuration steps, this code won't work:
env.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
env.put("java.naming.provider.url", "iiop://" + host + ":"+port);
Context initial = new InitialContext(env);
I'd also suggest that you approach the task with the following approach. (Assuming that I haven't managed to convince you that this is a really bad idea.)
1. Get your EJB's working on iAS. Test them with servlet harnesses running on iAS.
2. Get your servlets working on JServ, if they aren't already.
3. Create a simple standalone Java application as a test harness for EJB's. Follow the RMI/IIOP instructions until you get this test harness working.
4. Create a simple servlet test harness in JServ to access your EJb's. Follow the JVM setup instrucitons until you get this working.
5. Actually integrate the EJB's with your production application.
I say this because there are about five trillion things that can go wrong in this process. Although the troubleshooting steps in the docs are helpful, I find that it helps to get one thing working at a time. It's very frustrating to spend a day trying to resolve JNDI issues only to find out that you have your CXS configured improperly.

Similar Messages

  • I have perl scripts that I want to be able to run with my iplanet web server 6.0. How can I make it work in Windows NT? (Because I have no problem when I use it with Linux).

     

    Hi Melanie,
    In order to run a PERL script under Windows NT the iPlanet Web Server needs to know where to find the PERL interpreter.
    follow these steps :
    1) Make sure Windows NT knows what a .pl file is. In file Manager click on file and choose associate from the menu. Check the "files with extension" drop-down list for pl - if it exists verify that it is pathed to your perl.exe. If it is not already on the list click the "New Type" button. In the Filetype box put pl. Choose open from the Action drop-down list. In the Command box specify the full path to your perl.exe interpreter (Make sure to use short filenames, rather than long filenames.) Click the OK button. Then click the Close button in the main Associate dialog box. Double click a .pl file to test - it should automatically launch the PERL interpreter and feed it your .pl file.
    2) Create a directory to contain your .pl scripts.
    ~server_root\shell-cgi is a good choice.
    or \cgi-bin\
    NOTE: Make very sure that this directory is NOT part of the document root, it should have it's own directory (preferably at the same level of the docroot).
    3) In the Admin Server select Programs.
    4) Choose CGI directory (normally) or WinCGI directory or ShellCGI Directory depending on ur choice from the Programs menu.
    5) Put the URL Prefix you would like to map to your Shell-CGI directory into the URL Prefix field.
    6) Put the full path to your Shell-CGI directory in the Shell CGI directory field.
    7) Click OK.
    8) The save and apply changes page will display your changes and give you the opportunity to verify them. If they are correct click the Save and Apply button. If not Click the Undo button and go back to step 4.
    (9)You can then call your .pl scripts directly by referencing the directory mapping that you have just created. For example:
    http://my.server.whatever/shell-cgi/ myscript.pl
    this should work now.
    If not Pls Mail me.
    regards
    T.Raghulan
    [email protected]

  • New To Iplanet app server.Can some one help me getting started by delpoying and calling one of each of these:JSP,Servlet,EJB.Tried with iplanet docs..didnt quite get it. thanx

     

    Hi,
    What is that you are trying to accomplish ? Is it deployment or
    trying to develop applications ? Are you getting any errors ? If so,
    please post them to help you. I think the documentation is the best place
    for you to begin with.
    Regards & Happy New Year
    Raj
    Arif Khan wrote:
    New To Iplanet app server.Can some one help me getting started by
    delpoying and calling one of each of these:JSP,Servlet,EJB.Tried with
    iplanet docs..didnt quite get it. thanx
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

  • EJB Deployment in J2EE Apps Server

    Hi,
    Can any one please help me in deploying EJB in J2EE Apps server?I have installed J2EE Apps Server 9 in my machine.Can any one please suggest me a document regarding EJB deployment in J2EE apps server or help me regarding this?
    Thanks in advance,
    Aravindhan.C

    Go to https://j2ee-sdk.dev.java.net/ and checkout "Methods of deploying applications" under the recent articles section; The tutorial link present in this page (under the references section) will also be useful. The samples bundle has reference samples which will also be useful

  • Hello! I am currently using ios 4.3.3 on my ipod touch 4g. I want to install ios 5.1.1 and ignore the ios 6. When I go to itunes it automatically suggest the ios 6. how can I install ios 5.1.1 on my ipod?

    hello! I am currently using ios 4.3.3 on my ipod touch 4g. I want to install ios 5.1.1 and ignore the ios 6. When I go to itunes it automatically suggest the ios 6. how can I install ios 5.1.1 on my ipod?

    Hi GQ,
    I need to know how to upgrade an iPod touch from 4.3.3 to 5.1.1 - which you can't do via iTunes.
    Can you help?
    [email protected]

  • HT4436 Just did a restore for a new 4S. I want to do a new iCloud account and discard the one that came with the restore. Any suggestions?

    Just did a restore for a new 4S. I want to do a new iCloud account and discard the one that came with the restore. Any suggestions?

    Welcome to the Apple community.
    Settings > iCloud, scroll down and delete the account, sign back in by choosing the option to create a new Apple ID.

  • Hi ! Please my iphone is on the activation page and i can't do nothing, there is a sim card into but itune don't recognise it, and the phone don't want to activate. I tried everything, and before the reboot the iphone 3 was worked verry well. Please help

    Please my iphone is on the activation page and i can't do nothing, there is a sim card into but itune don't recognise it, and the phone don't want to activate. I tried everything, and before the reboot the iphone 3 was worked verry well. Please help me !

    Hello there, rebeccallouche.
    The following Knowledge Base article offers up some great steps and links to some additional information that is pertinent when having activation issues with your iPhone:
    iPhone: Troubleshooting activation issues
    http://support.apple.com/kb/ts3424
    Additionally, if the iPhone is not being recognized in iTunes this article will be useful as well:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • HT1364 I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanen

    I have moved my library to an external hard drive and changed the location of the iTunes media folder in Preferences, but every time I close and re-open iTunes, I have to do it all over again.  How can I make the iTunes media folder change permanent?  I have an older machine with Windows XP.

    I don't believe mounting the hard drive should be necessary, unless you have several external drives and want your computer to recognise them as folders, rather than drives. I've never had to mount a hard drive, ever. If you don't know how to do it, then it shouldn't be necessary now.
    Try this:
    Prepare iTunes so that it can see the external drive.
    Make a note of which drive-letter the external drive has been allocated. (Look in Windows Exploer)
    Look at the file location for a song. Make sure it plays (and therefore that iTunes has found it). Highlight it and select File/Get Info/Summary>Where: and make a note of the drive letter for that song.
    Close and shut down the computer.
    The next time you turn the computer on again, connect the external drive
    Before you start iTunes - check the external drive in Windows Explorer. Is it ready, does it have the same drive-letter that it had last time? Can you go into the drive and see the files on it?
    Once you can, start iTunes. (If the drive lettter has changed, you need to work out why before going any further.)
    If iTunes fails to find your external drive, you need to check where iTunes is looking for your Library.
    Select the same song you checked before (presumably iTunes can no longer find it). Follow the procedure for locating it. You should be able to see where iTunes thinks the file is. It's the drive that counts. Which drive letter is iTunes looking at? Is it the same one that it was previously (which should also be the same one that the drive has now).
    What happens, which step do you have problems with?
    Message was edited by: the fiend

  • BC4J&Servlets&Jsps:(Dev Team)Pro. impl. the combination With full Utiliz. of pooling

    Hi,
    I am having Problem in the area of Application Module Pooling and the Connection pooling while doing the load test of my application using the BC4J in servlets and Jsps.
    1) I am using IAS 1.0.2 comes with BC4J 3.2.1. All my Jsps pages are unable to load the new application. Properties file, it is working with the old properties file.
    At this time I copied new BC4J 3.2.2 libraries to IAS, now the new properties file was loaded and making the connection pool.
    If I do the load test of 10 requests with concurrency 2 it was failing the requests. I increased the pool size to 20, but no use. (See the errors below)
    I have no problems with concurrency 1 and any number of requests. Only the problem is coming when we increased the concurrency more than 1.
    2) I am wondering about the scalability issue of using the BC4J in JSP's and servlets with Apache Jserv (IAS 1.0.2)
    3) Is it IAS 1.0.2 bug free?
    4) I am wondering how this pooling stuff will be starting working in normal local deployment mode.
    5) Why the IAS was not given the clean instructions to Local Deployment of BC4J applications.
    6) My application is working only if there is no concurrency
    Any feed back from Dev Team.
    7) My application is using about 30% of CPU time when doing the load test for 50 requests ay concurrency of 1.
    Is there any way tune the JAVA stuff.
    Thanks in advance
    Please see the errors:
    [01/03/2001 20:15:04:229 EST] java.lang.NullPointerException
    java.lang.RuntimeException: java.lang.NullPointerException
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(JSPApplicationRegistry.java:212)
    at oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(JSPApplicationRegistry.java:104)
    at jspstock.stock__today._jspService(Compiled Code)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(JspServlet.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
    at org.apache.jserv.JServConnection.run(JServConnection.java:188)
    at java.lang.Thread.run(Thread.java:479)
    [09/03/2001 14:10:48:320 EST] JBO-25302: Component object StockTodayView has no parent
    oracle.jbo.InvalidOwnerException: JBO-25302: Component object StockTodayView has no parent
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at oracle.jbo.JboException.<init>(Compiled Code)
    at oracle.jbo.InvalidOwnerException.<init>(InvalidOwnerException.java:33)
    at oracle.jbo.server.ComponentObjectImpl.getRootApplicationModule(Compiled Code)
    at oracle.jbo.server.ViewObjectImpl.getDBTransaction(Compiled Code)
    at oracle.jbo.server.ViewObjectImpl.addRowSet(Compiled Code)
    at oracle.jbo.server.ViewObjectImpl.createViewRowSet(Compiled Code)
    at oracle.jbo.server.ViewObjectImpl.getDefaultRowSet(Compiled Code)
    at oracle.jbo.server.ViewObjectImpl.isForwardOnly(Compiled Code)
    at oracle.jbo.server.xml.XmlRowSetRenderer.printXmlForRowSet(Compiled Code)
    at oracle.jbo.server.xml.XmlRowSetRenderer.print(Compiled Code)
    at oracle.jbo.html.databeans.XmlData.print(Compiled Code)
    at oracle.jbo.html.databeans.XmlData.render(Compiled Code)
    at jspstock.stock__today._jspService(Compiled Code )
    at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    oracle.jbo.AttributeLoadException: JBO-27022: Failed to load value at index 4 with java object of type java.lang.String due to java.
    sql.SQLException.
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at oracle.jbo.JboException.<init>(Compiled Code)
    at oracle.jbo.AttributeLoadException.<init>(AttributeLoadException.java:40)
    at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(Compiled Code)
    at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(Compiled Code)
    at oracle.jbo.server.ViewRowImpl.populate(Compiled Code)
    at oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(Compiled Code)
    at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(Compiled Code)
    at oracle.jbo.server.QueryCollection.populateRow(Compiled Code)
    at oracle.jbo.server.QueryCollection.fetch(Compiled Code)
    at oracle.jbo.server.QueryCollection.get(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.getRow(Compiled Code)
    at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(Compiled Code)
    at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(Compiled Code)
    at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.execute(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(Compiled Code)
    at oracle.jbo.server.xml.XmlRowSetRenderer.printXmlForRowSet(Compiled Code)
    at oracle.jbo.server.xml.XmlRowSetRenderer.print(Compiled Code)
    at oracle.jbo.html.databeans.XmlData.print(Compiled Code)
    at oracle.jbo.html.databeans.XmlData.render(Compiled Code)
    at jspstock.stock__today._jspService(Compiled Code)
    at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    ## Detail 0 ##
    java.sql.SQLException: Exhausted Resultset
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.sql.SQLException.<init>(SQLException.java:43)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:273)
    at oracle.jdbc.driver.OracleStatement.prepare_for_new_get(Compiled Code)
    at oracle.jdbc.driver.OracleStatement.getObjectValue(Compiled Code)
    at oracle.jdbc.driver.OracleStatement.getObjectValue(Compiled Code)
    at oracle.jdbc.driver.OracleResultSetImpl.getObject(Compiled Code)
    at oracle.jbo.server.OracleSQLBuilderImpl.doLoadFromResultSet(Compiled Code)
    at oracle.jbo.server.AttributeDefImpl.loadFromResultSet(Compiled Code)
    at oracle.jbo.server.ViewRowImpl.populate(Compiled Code)
    at oracle.jbo.server.ViewDefImpl.createInstan ceFromResultSet(Compiled Code)
    at oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(Compiled Code)
    at oracle.jbo.server.QueryCollection.populateRow(Compiled Code)
    at oracle.jbo.server.QueryCollection.fetch(Compiled Code)
    at oracle.jbo.server.QueryCollection.get(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.getRow(Compiled Code)
    at oracle.jbo.server.ViewRowSetIteratorImpl.doFetch(Compiled Code)
    at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(Compiled Code)
    at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.execute(Compiled Code)
    at oracle.jbo.server.ViewRowSetImpl.executeQuery(Compiled Code)
    at oracle.jbo.server.xml.XmlRowSetRenderer.printXmlForRowSet(Compiled Code)
    at oracle.jbo.server.xml.XmlRowSetRenderer.print(Compiled Code)
    at oracle.jbo.html.databeans.XmlData.print(Compiled Code)
    at oracle.jbo.html.databeans.XmlData.render(Compiled Code)
    at jspstock.stock__today._jspService(Compiled Code)
    at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30004: An application module that was not checked out was checked into the po
    ol, com_globe_invester_stock_InvesterStockAppModule
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at oracle.jbo.JboException.<init>(Compiled Code)
    at oracle.jbo.common.ampool.ApplicationPoolException.<init>(Compiled Code)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.checkin(Compiled Code)
    at jspstock.stock__today._jspService(Compiled Code)
    at oracle.jsp.runtime.HttpJsp.service(Compiled Code)
    at oracle.jsp.app.JspApplication.dispatchRequest(Compiled Code)
    at oracle.jsp.JspServlet.doDispatch(Compiled Code)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(Compiled Code)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(Compiled Code)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    BC4J HTTP Container was timed out
    The binding listener for InvesterStockAppModule was timed out

    See if the following messages help:
    http://technet.oracle.com:89/ubb/Forum2/HTML/006553.html
    http://technet.oracle.com:89/ubb/Forum2/HTML/006831.html
    http://technet.oracle.com:89/ubb/Forum2/HTML/006864.html

  • Want to run servlets, jsp and ejb

    Hi there, I have just installed Oracle9iAS on my PC and want to check how to use OAS with servlets, JSPs and ejbs, so can any one tell me where can I find some worked examples and step by step deployment process, any help would be appreciated, regards, Shabbier

    If you have installed Oracle9iAS, you should be able to get to the welcome page at
    http://<machine_name>:7778/
    You can see J2EE demos off that page.
    Also, you can find info about oracle9iAS and documentation
    at http://otn.oracle.com/products/ias/content.html
    OC4J info can be found at
    http://otn.oracle.com/tech/java/oc4j
    -Prasad

  • I want to download itunes to my laptop and have the same library i have on my main computer at home. How can I do this?

    I have a laptop which I use away from home and would like to download itunes so if i download something on my laptop, i can transfer it to my iPad straight away without having to transfer the music to my main computer. How can i have my library on my laptop itunes like i have on my main computer? is this a possibility?

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have failed to move contacts and calendar items across you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • Call a JSP from applet and display the results in the browser

    Hello All,
    I have written an applet which performs some functionality at the clinets browser. When the applets method finishes exectution, I would like to call
    a jsp. The results of the JSP should be displayed like a normal page in the browser.
    I tried creating a HttpURLConnection and calling the jsp but two things happened
    1. The jsp call failed because the applet doesn't have a valid session id.
    2. even if I disable the valid user check at the jsp, the results of the jsp are returned as a set of bytes to the applet. They are not displayed in the browser window.
    Then I tried applet.getAppletContext().showDocument()... However with this api I cannot do a POST operation on the JSP with some input data because this takes only a URL as an input parameter.
    Please help me in this problem and I will be very gratefull to you.
    1. applet uses the same session id as the browser so that when applet makes a request to the jsp it does not get user invalid exception.
    2. the results of the jsp are displayed on the browser and not given to the applet.
    Thank you so much for your help.
    regards,
    Abhishek.

    I hope this can help you
    I made a package calls fun
    and a clsss calls JspTestingFun
    package fun;
    public class JspTestingFun{
      private String sample = "welcome to jsp";
      //Access sample property
      public String getSample() {
        return sample;
      //Access sample property
      public void setSample(String newValue) {
        if (newValue!=null) {
          sample = newValue;
    }then I make a jsp file
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
    <%@ page import =  "fun.JspTestingFun"%>
    <html>
    <head>
    <title>
    jspTest
    </title>
    </head>
    <jsp:useBean id="mytest" scope="session" class="fun.JspTestingFun" />
    <jsp:setProperty name="mytest" property="*" />
    <body bgcolor="#ffffff">
    <%
    mytest.getSample();
    %>
    <h1>
    Just for testing
    </h1>
    <form method="post">
    <br>Enter anything   :  <input name="sample"><br>
    <br><br>
    <input type="submit" name="Submit" value="Submit">
    <input type="reset" value="Reset">
    <br>
    this what we get<jsp:getProperty name="mytest" property="sample" />
    </form>
    </body>
    </html> 

  • I want to have a progress bar monitor and display the progress of a file being opened, How do I do it?

    I have written large files for a report. When I open the files in the VI by pushing a button I want to view the progress of the file being opened. My first thought was to get the file size, some how measure the number of bytes comming out and monitor it on the progress bar. I am unsure about how to do this. If you know of a better way to monitor and disply the progress of an opeing file please let me know.

    If I understand you correct the progress bar is not the problem, it's to get a numeric value indicating the progress...right?
    If so then you could read the file size, preallocate a byte array to hold the file, then read it in chunks and put the chunks into the array using replace array elements...(you could concatinate strings, but that would easily become very memory and speed expensive...)until you have read the entire file. If the file is 20 MB and you want the progress bar to have a resolution of about 1% read it in chunks of 256 KB...For each chunk read, increment the progress bar...
    MTO

  • I want to combine a bunch of queries and dump the results - spreadsheet

    I have a bunch of SQL queries. I want to run the SQL queries and dump the results into one single spreadsheet in a formatted fashon.
    Assume that one of my queries returns the following:
    Week 10, Door, 15
    Week 10, Window, 20
    Week 10, Stair, 25
    Week 11, Door, 50
    Week 11, Window, 75
    Week 11, Stair, 100
    Week 12, Door, 1
    Week 12, Window, 2
    Week 12, Stair, 3
    I would then want to take all these results and put them into a spreadsheet with a bunch of other results:
    So header would look like:
    Week 1, Week 2, Week 3, ...Week 10, Week 11, Week 12...
    Then, down below there would be three rows which have the following in Col A:
    Door
    Window
    Stair
    So in row "Door", under Col "Week 10", there would be a 15
    Under "Window", under Col "Week 11", there would be a 75
    Under "Stair", under Col "Week 12", there would be a 3
    The column headers would all be in weeks, but I want to basically make a matrix out of my SQL queries. So there would be many rows besides "Door", "Window", and "Stair", but they would all have similar results as supplied by my other queries. Anyone know how to do such mapping?

    Check this link --
    [url http://forums.oracle.com/forums/search.jspa?threadID=&q=pivot&objID=f75&dateRange=last90days&userID=&numResults=15]Pivot Search In Oracle
    Regards.
    Satyaki De.

Maybe you are looking for

  • Adobe After Effects CS6 on PC when starting says...

    Adobe After Effects CS6 on PC when starting says "After Effects warning: An unknown Adobe Player Engine error has occurred. Scripting will be disabled." *hits okay* "After Effects error: Crash in progress. Last logged message was: <196> <DynamicLink>

  • Ipod is Frozen:  Does Not Want to Charge and Be Recognized By The PC

    Yesterday, while I was charging I noticed that the charging sign appeared and the meter was not moving. The charging sign is black not the colored one that we normally see in the 5th gen. Sometimes the apple logo appears and that's it. It's basically

  • OC4J 9.0.2 or 9.0.3

    Hi Folks, Currently we have Oracle 9i AS 9.0.2 installed and running in production. So far we have been using just the portal part of it. Now we are developing a J2EE based application with Struts and Toplink. I have been hearing lots of horror stori

  • REGUH and REGUP

    Hi experts, I want add new datas in tables 'reguh' and 'regup'. I want to know if it is possible (not danger) and how can i do for that? The best way to proceed Thanks

  • Letters other than English on the keyboard

    Hello, I'm considering to purchase T420s Laptop via web-side. But I'd like to have some others letters (like Ukrainian or Russian) on keyboard besides standard English. Questions: * does anybody know if ti's possible to make such orders via web-site?