Deploying servlet in iPlanet web or App server

I have a simple struts implementation of servlet, which goes after LDAP
directory to fetch information. Under my local machine, I was just able
to copy the .war file to webapps folder under tomcat and it works.
How do I do it with either web server or app. server?
Any help is appreciated.

you can use the deploytool which installed in the {ias installed}/bin or a command line tool iasdeploy

Similar Messages

  • Follow up to web services question:  How do I expose java components as web services on iPlanet 6.0 app server?

    My task - my company has several legacy PowerBuilder applications that access a variety of Sybase and MS SQL databases. Rather than re-inventing the wheel by re-writing these applications in Java, we would like to enable these applications to call java components (EJBs) that will provide new functionality. I would need a piece of software called CSXtend (from to allow PowerBuilder to call a web service. However, I am not sure how to expose my business functions (EJBs) as web services on the iPlanet 6.0 App server. Thanks for all previous responses! Any additional info would be greatly appreciated! Mike

    I have used Glue ( to expose some of our stuff as Web Services. I recently found this on serverside. It's pretty good.
    I believe that the middleware they use can be plugged into IPlanet. There is also an article in the knowledge base on the IPlanet site.

  • Legacy java app & Web Logic App Server

    We have a legacy java application that we like to provide an EJB layer
    The legacy application provides a servelet interface, event queues, our
    JDBC Conn Pools, etc...
    Can we integerate legacy java code into the Web Logic App Server? That
    we like to use the Weblogic's api's for servelets and JDBC conn pools.
    We would also
    like to use the clustering feature to provide failover. Also, our
    application creates bunches of
    threads. Do we need to rewrite this code to use Weblogics thread
    creation techniques?
    If this cannot be done,
    another option would be to provide an EJB layer where the entity beans
    would map to
    elements in the legacy application using our own version of the
    Then the app server would only encapsulate the EJB
    layer. Could we still use your JDBC Conn Pools and other services in
    the java legacy app?
    Still the problem with this solution is that we can't use your
    clustering scheme around our legacy app,
    or can we?
    Any help would be appreciated.
    -- tony

    It can even be a standard production scenario if you want to run Oracle Portal 11g on a single box. The single sign-on part typically requires you to install an AS 10g SSO server which co-exists with other components such as WebLogic server.
    Notice that there is a sharp division between everything which is inherit from the old OAS, the so-called instance components, typically started with OPMN and the new WLS stuff.

  • Deploying application to the web with Developer Server

    Hi everyone,
    Does anyone out there has any notes or step-by-step configuration
    guide on deploying application on the web with Developer Server
    only (not with OAS)? I know that you can use it with Microsoft
    IIS 3.0 or 4.0 (as the web server) but don't know how to set it
    up. Appreciate if someone out there could help. Thanks.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Pedro Diaz Robles ([email protected]):
    I need exeperience comments and guidelines experience for deploying Forms in the WEB.<HR></BLOCKQUOTE>
    Be more specific !!

  • Global data in a servlet using iPlanet Web Server

    Our configuration is an Applet->Servlet->JNI->C/C++ code.
    We have C code that does a number of lengthy mathematical calculations. This C code not only uses its own global variables but, it is also comprised of numerous subroutines that all call each other, reading and writing global C variables as they go. These globals are all isolated to the C code shareable object (.so) library that is included using the LoadLibrary call when the servlet is initialized.
    The problem is that in a multi-user environment (3-5 simultaneous users) we need to have each user have their own "copy" of the servlet (and the C code) so that users will not be accessing each other's global data. We can NOT have only one copy of the C code and define it as synchronized because the calculations that are performed can take a very long time and we can not hold off user requests while the firs user finishes.
    Our hope is that there is a way to configure the iPlanet Web server such that each new user that starts up a copy of the Applet/Servlet combination will get their own "space" so that they can work independently of any other user. We have at most 20 users of this system and only 3-5 simultaneous users so we should not have a problem with memory or CPU speed.
    If anyone has a solution, I would greatly appreciate it!

    The C library is shareable. But you don't want it to be shared. That's your question summarized, isn't it?
    You probably can't prevent it from being shared, so to prevent multiple use of it you would have to queue up the requests to be done one at a time. WynEaston's suggestion of having the servlet implement SingleThreadModel would help, but I believe the servlet spec allows servers to run multiple copies of a servlet that does that (as opposed to running a single copy in multiple threads).
    Your other alternative is to rewrite the math in Java, or at least in some object-oriented language where you don't need global variables (which are the source of your problem). All right, I can already hear you saying "But that wouldn't be as fast!" Maybe not, but that isn't everything. Now you have a problem in queueing theory: do you want a single server that's fast, but jobs have to wait for it, or do you want multiple servers that aren't as fast, but jobs don't have to wait? That's a question you would have to evaluate based on the usage of your site, and it isn't an easy one.

  • Deployment of Flex app to web and app server

    I'm working on putting a Flex front-end on an existing J2EE
    app which gets deployed as an ear file. The architecture consists
    of web server, app server and database server. Is the following
    approach to deployment possible / recommended?
    My Flex app will be deployed to the web server. The J2EE ear
    file will be deployed to the app server (Weblogic). BlazeDS will be
    bundled within the ear file as a war file. Remote Objects will be
    configured in my BlazeDS configuration files to enable me to access
    the code in my J2EE app. In the compiler options of my Flex app,
    I'll be setting the server root folder and server root URL to point
    to the BlazeDS war file on my app server.
    At present I'm at the stage where I can run my Flex app
    directly from Flex builder on my development PC and it's able to
    connect tto the J2EE app, which is running on the app server
    (Weblogic) also on my development PC. I can't find documentation
    explaining how to extend this to work on a multi-tier architecture.

    I replied to your post in FDS forum. Please visit the URL
    below for the response.
    Hope this helps.

  • Livecycle can it be deployed in Oracle iPlanet Web Server

    Can we deploy livecycle in Oracle iPlanet Web Server ?
    looking for an early reply

    As long as the application server that LCDS is deployed in is supported, it doesn't  matter which webserver is being used.

  • Deploying a WAR file to Sun App Server 8.1 PE

    So I thought that if I downloaded Sun App Server PE 8.1 and put it on my soon-to-be production machine, it should be pretty easy right?
    Nope. So I have JSC update 6 (which includes Sun Application Server 8.0) (God how I wish there was a catchy name like Tomcat or something)
    And I have a machine running a good copy, installed and everything, of Sun Application Server 8.1 Platform Edition (another catchy name) up on the production target.
    I create a WAR file in JSC, scp it up.
    Then try to deploy it - so I get bit by the no DB connection thing.
    Ok, but when I copy each of my connection's attributes (the driver (which I did copy up to the lib directory) is MySQL's Connector/J)
    I copy the username, password, URL and DriverClass attributes to the connection pool.
    I still get a
    "Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Class name is wrong or classpath is not set for : com.sun.sql.datasource.DriverAdapter"
    when I try to Ping the ConnectionPool
    I have javax.sql.DataSource as the resource type... (same as 8.0 uses)
    what JAR file is DriverAdapter in? anyone know?

    Okay. mysql folks - this works......
    here's what happened, on the production server, different from the dev machine....
    mysql 4.1.9
    sun application server platform edition PE 8.1
    connector/j - latest
    and on the dev machine: JSC Update 6 and the app works fine on the dev machine.
    first, there is a JAR file in ~whatever/Create/SunAppServer/lib/ named
    and it it comtains
    which 8.1 ain't got
    and should be copied up to
    (domain1 is your app svr domain that runs your app.)
    your Connector/J JAR needs to go here too. I used:
    downloaded from
    and then there is the whole thing about Added Properties in the Connection Pool page inside the 8.1 Admin Console (which is nice work guys). Gawd, I added a bunch of properties and am, frankly, not sure which ones actually work (for the Ping, for the initial connection creation and the eventual successful connection all seem to use different combinations...)
    and I found this in the domain's domain.xml once all the admin console page filling was done - but you'll need to add each one as a Property in the connection pool:
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="com.sun.sql.datasource.DriverAdapter" fail-all-connections="false" [blah...]
    <property name="Username" value="root"/>
    <property name="Password" value="secret"/>
    <property name="ValidationQuery" value="SELECT 1"/>
    <property name="DriverClassName" value="com.mysql.jdbc.Driver"/>
    <property name="LoginTimeout" value="0"/>
    <property name="Url" value="jdbc:mysql://localhost/databasename?autoReconnect=true"/>
    <property name="User" value="root"/>
    <property name="password" value="secret"/>
    <property name="PasswordCredential" value="secret"/>
    (and you see how User and Username and username are all the same thing? well, different parts of 8.1 seem to use different attributes...)
    Just keep Adding Properties in the connection pool until you get them all....
    Oh and, the two key class references for the pool are:
    datasource class: com.sun.sql.datasource.DriverAdapter
    resource type: javax.sql.ConnectionPoolDataSource
    Finally: in the /installdir/SunAppServer/domains/domain1/applications/j2ee-modules/YourAppName/WEB-INF/
    your 'sun-web.xml' (don't delete it, like some have advocated, I think that wrong) needs to look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 Servlet 2.4//EN" "">
    <sun-web-app xmlns="">
    and I think that's all of it. the only Bug I would I would say is that the sun-web.xml should have the right res-ref-name, but then I think the Creator Team knows this and will fix it sometime soon.
    and Roger Federer lost in the Aussie Open. (I think he lost tomorrow too, that whole time zone thing being so damn Einsteinian...)

  • Who is serving my page, web or app server?

    I have my HTTP web server and Websphere installed on the same machine. When I deploy my ear file to my WebSphere, I noticed that my jsp files also go under the websphere directory. From this, I am guessing that when my jsp is called, the app server is the one serving the page.
    Suppose I have separated my web/app servers. Does it mean that my app server will always be the one server pages, even basic HTML pages. If so then what is the point of having the web server?
    Many thanks u all......

    The idea behind having one of each is that your web server should serve up the "static" content - HTML, images and so on. The app server serves the dynamic content (JSPs, servlets, etc.), as well as any EJBs you're using. To each their own strengths.
    Now, you do not have to have a separate web server - that's true. But if the majority of you site content is static and you have a lot of traffic, the separate web server will definitely increase your performance.

  • Error while deploying in 9.2 Beta Weblogic App Server

    This is the message i am getting while deploying a J2EE application in the Weblogic 9.2 Beta App Server. Please help:
    Unable to access the selected application.
    [J2EE Deployment SPI:260101]Parameter may not be null. java.lang.NullPointerException at weblogic.deploy.api.internal.utils.ConfigHelper.checkParam( at at at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod( at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward( at org.apache.beehive.netui.pageflow.FlowController.internalExecute( at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute( at org.apache.beehive.netui.pageflow.FlowController.execute( at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute( at org.apache.struts.action.RequestProcessor.processActionPerform( at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201( at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute( at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain( at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction( at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke( at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain( at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction( at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform( at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform( at org.apache.struts.action.RequestProcessor.process( at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal( at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process( at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process( at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process( at com.bea.console.internal.ConsoleActionServlet.process( at org.apache.struts.action.ActionServlet.doGet( at com.bea.console.internal.ConsoleActionServlet.doGet( at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup( at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction( at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal( at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction( at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction( at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction( at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction( at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData( at$2.visit( at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at at com.bea.netuix.servlets.manager.UIServlet.runLifecycle( at com.bea.netuix.servlets.manager.UIServlet.doPost( at com.bea.netuix.servlets.manager.UIServlet.service( at com.bea.netuix.servlets.manager.SingleFileServlet.service( at javax.servlet.http.HttpServlet.service( at weblogic.servlet.AsyncInitServlet.service( at weblogic.servlet.internal.StubSecurityHelper$ at weblogic.servlet.internal.StubSecurityHelper.invokeServlet( at weblogic.servlet.internal.ServletStubImpl.execute( at weblogic.servlet.internal.TailFilter.doFilter( at weblogic.servlet.internal.FilterChainImpl.doFilter( at weblogic.servlet.internal.RequestEventsFilter.doFilter( at weblogic.servlet.internal.FilterChainImpl.doFilter( at weblogic.servlet.internal.WebAppServletContext$ at at at weblogic.servlet.internal.WebAppServletContext.securedExecute( at weblogic.servlet.internal.WebAppServletContext.execute( at at at

    I was having a problem which resulted in the same error . I don't know if yours is related, but I figured I would pass the information along incase it was.
    The problem was related to file permissions. We had two seperate users who had installed bea92 on the same server, under different user ids. There was a directory which seems to be used internally by WLS for which one user had permissions, but not the other. So, during deployment, the server could not write to this directory, and the deployments would fail.
    The magic directory is "/var/tmp/appmergegen", atleast on Solaris 10. Haven't looked for it on any other environments. Hope that is your problem too.

  • JNDI Lokup for DSN in iPlanet 6.5 App server

    Hi ,
    I have been trying to implement Connection Pooling in my application using the built-in features of iPlanet App server 6.5 . For the same i have made the following entries:
    1. web.xml
    <description>Ptrade Entry</description>
    2. ias-web.xml
    3. Also my class tries to ge the context using
    try {
    InitialContext ic = new InitialContext();
    ds = (DataSource)ic.lookup("java:comp/env/jdbc/ptradeDataSource");
    catch (NamingException ne) {
    System.out.println("Naming Exception" + ne);
    Connection dbc = ds.getConnection();
    return dbc;
    However i am getting an javax.naming.NameNotfoundException: can't locate jdbc/ptradeDataSource.
    Could somebody pls tell me what is wrong with my configuration and code?

    Well, it looks like you haven't actually configured a datasource with that name. You've only configured the use of the datasource were it to exist. I don't know iPlanet, so you'll have to consult the docs to find out how to create the DS.

  • **Diiferences web and app server**

    hi techs
    i am a newbie to application server concept.
    first i want to know why we need application server.
    and what is the difference between web server and application server.

    You need to install "Webconnector" plugin to connect to Sun One webserver and App server..
    The webconnector pluging comes with Appserver binary.

  • Error deploying 10.1.3 application to App server 10.1.3

    I have an application (JSP, Struts, ADF BC) created in Jdev 10.1.3 and works fine on my local OC4J server. But when I deployed it to OAS 10.1.3, I got the following error:
    oracle.jbo.InvalidDefNameException: JBO-25004: Definition name view/DataBindings.cpx for type Application Definition is invalid     at     at     at     at     at     at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(     at com.evermind[Oracle Application Server Containers for J2EE 10g (].server.http.ServletRequestDispatcher.invoke(     at com.evermind[Oracle Application Server Containers for J2EE 10g (].server.http.ServletRequestDispatcher.forwardInternal(     at com.evermind[Oracle Application Server Containers for J2EE 10g (].server.http.HttpRequestHandler.processRequest(     at com.evermind[Oracle Application Server Containers for J2EE 10g (]     at com.evermind[Oracle Application Server Containers for J2EE 10g (]     at com.evermind[Oracle Application Server Containers for J2EE 10g (].util.ReleasableResourcePooledExecutor$     at
    I have checked Databinding.cpx, it looks fine. It start with application definition <Application xmlns=---> and followed with <pageMap>...<pageDefinitionUsages>...<dataControlUsages>
    Does anyone have similar experience or have any idea of the possible reason?

    Hi Shay ,
    Appreciate your quick answer.
    I tryied with another OAS 10.1.3, but still got the error:
    oracle.jbo.InvalidDefNameException: JBO-25004: Definition name view/DataBindings.cpx for type Application Definition is invalid     
    at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(     
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(     
    at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.ServletRequestDispatcher.invoke(     
    at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.ServletRequestDispatcher.forwardInternal(     
    at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.HttpRequestHandler.doProcessRequest(     
    at com.evermind[Oracle Containers for J2EE 10g ( ].server.http.HttpRequestHandler.processRequest(     
    at com.evermind[Oracle Containers for J2EE 10g ( ]     
    at com.evermind[Oracle Containers for J2EE 10g ( ]     
    at com.evermind[Oracle Containers for J2EE 10g ( ].util.ReleasableResourcePooledExecutor$     
    I have checked my Jdev version, it is But in the error message, it shows "[Oracle Containers for J2EE 10g ( ]......". Could that be the reason? I mean the ADF Runtime libraries for these two versions are different?
    Thank you in advance!

  • How to deploy flex2 application using web service to server

    Hi all.
    I have created flex2 application in that i am calling
    webservice, when i deployed this application to server the buttons
    which calls webservice is not working it is showing error, i even
    uploaded crossdomain.xml to server,
    please tell me how to deploy to server.
    thanks in advance

    I have had the same or similar problem, in my case with
    ColdFusion projects. I have uploaded several sample projects to my
    shared hosting web server; all the projects that do not use a
    server run fine, buit I have never been able to make the CF
    projects run. I have posted about this two or three times, but
    nobody ever answered.
    Maybe our question was too stupid to deserve an answer from
    busy people. I never thought of this, but today I got an email from
    my Hosting provider. Quoting part of that message:
    “We will be performing a ColdFusion upgrade to CFMX
    7.02 on the
    server where your account(s), timo, mochica, is/are hosted.
    We have
    scheduled the upgrade to take place between 3:00 AM EDT and
    6:00 AM
    EDT on Saturday, August 5th, 2006.
    We do not anticipate more than 15 minutes of downtime once
    maintenance begins .....”
    Also, I found that the projects that do run require all those
    files that are generated when FB builds the project, so I have been
    uploading the entire output folder (usually, but not always,
    I’m hoping I won’t have any more problems after

  • How to compile and deploy an ejb into Sun ONE app.server 7.0

    I am new to Sun ONE application server. I Have .java files and deployment descriptor files with me. How should proceed. When i tried to use asant it is saying that build.xml not found. I copied build.xml from some other directory to the current directory. Then it is saying that common.xml not found. Please help.

    The build.xml file should be in a directory from where
    you are running the asant command.
    To resolve the common.xml file not found error,
    open your build.xml and check from which location the common.xml file is incuded.
    In the sample application it is four directories above
    the directory where build.xml is located.
    You can copy the common.xml in the current directory and then change the following in your build.xml
    <!ENTITY include SYSTEM "../../../../common.xml">
    to <!ENTITY include SYSTEM "common.xml">
    Hope this helps.
    Get back in case you have more issues

Maybe you are looking for