Thai character problem - iPlanet Web Server 4.1. Please help!

Hi all,
I am experiencing a very annoying problem with iPlanet Web Server 4.1 running on Solaris 5.8. I have a web application with Thai character set encoding support. I have a JSP which is a data entry screen page (using FORM tag) and the data submission can contain Thai characters, however I get HTTP error 400 (bad request) when I submit the form using the client machine running Windows OS other than Windows 2000. I tested in Windows 98 and Windows XP, always get that HTTP error 400.
I have two boxes, Web server machine and App server machine. If I bypass the iPlanet Web Server directly connect to my application server (the app server software has built-in web server, but not suitable for production, that's why I use iPlanet Web Server 4.1) I don't get any problem at all. So I suspect something wrong with the iPlanet Web Server software. I also tested my web application in Linux environment with the same iPlanet Web Server 4.1, but the problem is not there.
Thus, did anyone ever experience the same thing? Can anyone shed some light to resolve this problem? Is the problem reside in the client machine or in the server environment?
Any help is highly appreciated.
Regards,
Jacky.

Try using different values for StrictHttpHeaders in your magnus.conf. Valid values are:
StrictHttpHeaders on (default)
StrictHttpHeaders relaxed
StrictHttpHeaders off

Similar Messages

  • Calling servlet problem in iPlanet web server.

    Hello, friends.
    I have installed iPlanet web server 6.0. After installation I am using the default virtual server only. Thus, for all testing pages also, I use the default Document Root only (C:\iplanet\servers\docs\testsite) (I think, here "docs" is the default document root, right? If I am wrong, please correct me). I have got 2 JSP pages and 1 servlet. I put the JSP pages, into "testsite" folder and put the servlet into a folder called "myservlets" (C:iplanet\servers\docs\myservlets).
    The jsp1.jsp page calls the servlet.class and in return the servlet redirects to jsp2.jsp page.
    My question is: what paths should I use in jsp1.jsp file and in servlet.class file?
    Thanks in Advance for all your help,
    ~ Nirav

    There is a major security breach in authenticating
    iPlanet Web Server 6.0 SP3 and SP4 using Sun ONE
    Directory Server. Using a valid user id, any
    password except null string would allow user access
    the restricted resources. iPlanet Web Server 6.0 SP5
    and 4.1 SP12 worked fine with similar configuration.Did you get an answer for this?
    We are having the exact same problems with our iPlanet Web server 6.0 SP3.
    thank you.

  • IPlanet 7.0.15 on Red Hat - Problems starting web server

    I completed the installation of iPlanet 7.0.15 on Red Hat Linux 5. The Admin server starts fine, however when I attempt to start the web server I get the following error:
    Oracle iPlanet Web Server 7.0.15 B04/19/2012 21:52
    catastropheinfo: CORE3282: stdout: Error occurred during initialization of VM
    info: CORE3282: stdout: Unable to load native library: /opt/Apps/libjava.so: cannot open shared object file: No such file or directory
    : CORE4005: Internal error: unable to create JVM
    failure: server initialization failed
    I am not sure what is causing this error? I selected the default, "Install JDK that is provided with iPlanet" and it is located in directory:
    /opt/Apps/Oracle/webserver7/jdk
    I am not sure why the native library in /opt/Apps/libjava.so is being referenced.
    I have tried several things including installing Java in /usr/bin from a download from Oracle. It appears to work just fine.
    I have installed and reinstalled - same problem.
    Any ideas?

    Okay this one turned out to be fairly simple. It was a permissions issue. One of my top level directories (/opt/Apps/Oracle) did not have world execute permissions. Once I changed the directory permissions the web server came up fine. It only took me 5 days to find this and fix it.

  • 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]

  • 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.

  • Works in Tomcat but not in iPlanet Web server

    I have a servlet which first generates a form which has one input field, when user fills in the text field and submits the form it is posted to same servlet. The posted data is processed and redirected to another servlet. Everything works fine on Tomcat3.2 but fails to work on iPlanet web server and throws HTTP Error 500.
    Can someone help me with this? What might be the problem?

    Don't know whey it worked in Tomcat and not in iPlanet, but the reason is because I missed '/' in getRequestDispatcher() methoc
    public RequestDispatcher getRequestDispatcher(java.lang.String path)
    The pathname must begin with a "/" and is interpreted as relative to the current context root.

  • Plumtree portal server (v5.0.1) hosted on iPlanet Web Server (v6.0)

    Has anyone tried to port the Plumtree Corporate Portal v5.0.1 portal server component to iPlanet Enterprise Web Server 6.0 (aka SunONE Web Server, v6.0 )? Plumtree doesn't support this, but I am trying to merge a custom SSO authenticator to the Plumtree portal (v5.0.1). The authenticator runs as a plug-in to SunONE Web Server and has been in place on our customer's web site for a long time now.
    I have this working great in with SSL turned off, but I am having a difficult time getting past an error when I turn on SSL. I can get the portal server to run fine with SSL turned on through Tomcat on the same machine, using the same certificate and JRE. I can also get the SunONE server to run other servlet applications fine with SSL turned on. However, there appears to be either: (1) an incompatibility between SunONE's NSServlet plug-in that handles servlets and the Plumtree framework classes that set up replies via SSL, or (2) a configuration error in my setup somewhere. I'm hoping that (2) is the real culprit, but I've tried just about everything I can think of, and haven't been able to resolve this problem.
    The server starts up fine and I can load non-portal content without a problem. But when I log in, the portal's main community page that should be returned is not being returned to the client. PTSpy (a debugging aid for the Plumtree portal) doesn't indicate any problems, so I know the content is being built by the portal correctly, but the built page is never being sent back to the requesting client.
    Here is the error that gets logged to my SunONE server's error log:
    [29/Dec/2003:15:05:53] failure ( 2772): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:793)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:702)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:583)
    at java.net.URL.openStream(URL.java:960)
    at org.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
    at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:493)
    at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:314)
    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1097)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:195)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
    at com.plumtree.openfoundation.xml.dom.XPBuilder.LoadDocumentFromURI(XPBuilder.java:203)
    at com.plumtree.xpshared.jsutil.JSRegistry.LookupJSComponentVersions(JSRegistry.java:243)
    at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponentVersions(JSRegistry.java:184)
    at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:465)
    at com.plumtree.xpshared.jsutil.JSRegistry.GetJSComponent(JSRegistry.java:444)
    at com.plumtree.uiinfrastructure.statichelpers.ConfigHelper.GetCommonJSIncludes(ConfigHelper.java:1330)
    at com.plumtree.uiinfrastructure.form.AFormAS.DisplayCommonJavaScript(AFormAS.java:59)
    at com.plumtree.portalpages.common.uiparts.PlumtreeAS.DisplayCommonJavaScript(PlumtreeAS.java:88)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.DisplayHead(PlumtreeDP.java:599)
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display(PlumtreeDP.java:112)
    at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.ProcessDisplayPageOrRedirect(Interpreter.java:816)
    at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.HandleRequest(Interpreter.java:1589)
    at com.plumtree.portaluiinfrastructure.activityspace.Interpreter.DoService(Interpreter.java:448)
    at com.plumtree.uiinfrastructure.web.XPPage.service(XPPage.java:141)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
    at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
    at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)It looks like a Java classpath issue, but I've verified (even in the same log file with java debugging turned on) that the SSLSocket class is getting loaded. I've even tried moving the specification of the jar file containing this class (jsse.jar, part of the JRE) to the beginning and end of my classpath setting.
    I'm using the same JRE that is bundled with the Tomcat release supplied with my Plumtree 5.0.1 installation (1.4.1_02). I can't get the JRE that came bundled with the SunONE v6.0 release to work at all.
    I've posted a similar message on a couple other forums (Java and iPlanet-related, as well as on Plumtree's customer forum) and haven't found an answer yet. Does anyone have any ideas?

    In case anyone else experiences this, I have apparently stumbled upon an issue with iPlanet's handling a specified JRE/JDK instead of the supplied JDK in iPlanet Web Server v6.0, SP5, though I found a way around it to resolve my problem.
    I had been specifying a different JRE to run with through the administrative server manager. However, even though I was specifying to load all the JRE's jar files in my classpath setting, iPlanet was only loading the rt.jar file for my specified JRE. With verbose logging turned on, the error log was indicating that the other classpath specified jar files were being loaded, but apparently they were not being used. The JDK that was released with iPlanet appears to be being used for all other JRE classes outside of those defined in rt.jar. Since the JDK supplied with the iPlanet release didn't contain jsse.jar, which contains SSL support, it was not being loaded and was causing the problem I was seeing.
    Instead of specifying the JRE of a different JDK that I was using, I changed the global setting in the administrative server manager to override the entire JDK. This has resolved my problem.
    So if you specify a JRE to override the iPlanet supplied JDK/JRE, it appears that only the rt.jar file of the specified JRE will be loaded, and the jar files associated with the iPlanet-supplied JRE will be used for all other classes. Specification of a complete JDK to override the supplied one will resolve this.

  • Iplanet web server 6.0 ACL question

    Hi,
    I am using ACLs to protect some of my URLs in iplanet web server 6.0.
    I am getting one problem. Its not a problem actually but would like to know how to avoid authenticating the users 2 times.
    In my ACL file, when ever I create an entry for a path, I am getting the following by default.
    authenticate (user,group) {
    database = "default";
    method = "basic";
    My entry is like this with the above lines.
    acl "path=/www/develop/itsecurity/admin";
    authenticate (user,group) {
    database = "default";
    method = "basic";
    allow absolute (all)
    (user = "modadmin");
    allow absolute (all)
    (user = "itsecadm");
    deny (all)
    (user = "anyone");
    Now if the entry is like this with
    authenticate (user,group) {
    database = "default";
    method = "basic";
    after the first line, then whenever that particulaar user "itsecadm" tries to access the URL, he gets userid and password dialogue box. After entring into the page, if he tries to access or click any other link, it is asking the userid and password again.If he gives this second time, next time onwards it is not asking userid and password.
    But When I remove the lines
    authenticate (user,group) {
    database = "default";
    method = "basic";
    from the file for that particular entry, it is not asking 2nd time userid/password.
    Could you please tel me why this happening. Why this entry is created whenever I am adding a new one into ACL file?
    Is any one facing the similar problem with iplanet web server 6.0 ACL files?
    Thanks & Regards
    Murthy

    Hi,
    Thank you for your suggestion. I have tried with your option also. Still I am getting the second time userid/password dialogue box.
    Is there any other solution to avoid the second time user authentication dialogue box?
    Do you want to see the ACL file?
    Thanks & Regards,
    Murthy

  • Oracle iPlanet Web Server 7 - Configuration Failed

    Hi There,
    Installing Oracle iPlanet Web Server
    |-1%--------------25%-----------------50%-----------------75%--------------100%|
    Installation Summary
    Product Status Information
    1. Oracle iPlanet Web Server Configuration Failed View log file
    1. View log file
    2. Done
    Jul 5, 2011 4:29:16 AM com.sun.web.installer.common.dialogs.
    CustomDirectorySelectionPanel isDisplayComplete
    INFO: Installing Oracle iPlanet Web Server 7.0.9
    Jul 5, 2011 4:30:19 AM com.sun.web.installer.web.actions.PostInstall_core
    install
    INFO: Start core server configuration
    Jul 5, 2011 4:30:19 AM com.sun.web.installer.web.actions.PostInstall_core
    installJDK
    SEVERE: JDK copy failed
    Jul 5, 2011 4:52:36 AM com.sun.web.installer.common.dialogs.
    CustomDirectorySelectionPanel isDisplayComplete
    INFO: Installing Oracle iPlanet Web Server 7.0.9
    Jul 5, 2011 4:55:00 AM com.sun.web.installer.web.actions.PostInstall_core
    install
    INFO: Start core server configuration
    Jul 5, 2011 4:57:07 AM com.sun.web.installer.web.actions.PostInstall_core
    configureServer
    INFO: Invoking the server configuration script
    Jul 5, 2011 4:57:08 AM com.sun.web.installer.web.actions.PostInstall_core
    configureServer
    WARNING: The backend configurator failed
    Jul 5, 2011 5:15:10 AM com.sun.web.installer.common.dialogs.
    CustomDirectorySelectionPanel isDisplayComplete
    INFO: Installing Oracle iPlanet Web Server 7.0.9
    Jul 5, 2011 5:15:46 AM com.sun.web.installer.common.dialogs.
    CustomDirectorySelectionPanel isDisplayComplete
    INFO: Installing Oracle iPlanet Web Server 7.0.9
    Jul 5, 2011 5:16:43 AM com.sun.web.installer.common.dialogs.
    CustomDirectorySelectionPanel isDisplayComplete
    INFO: Installing Oracle iPlanet Web Server 7.0.9
    Jul 5, 2011 5:21:37 AM com.sun.web.installer.web.actions.PostInstall_core
    install
    What could be the problem?

    [root@local java]$ ls
    default jdk1.6.0_02 jdk1.6.0_20 jdk1.6.0_26 latest
    [root@local java]# ./setup --javahome /usr/java/jdk1.6.0_26
    Product : Oracle iPlanet Web Server
    Location : /opt/oracle/webserver7
    Disk Space : 231.37 MB
    Administration Command Line Interface
    Server Core
    Start Administration Server [yes/no] [yes] {"<" goes back, "!" exits}:
    Ready to Install
    1. Install Now
    2. Start Over
    3. Exit Installation
    What would you like to do [1] {"<" goes back, "!" exits}? 1
    Installing Oracle iPlanet Web Server
    |-1%--------------25%-----------------50%-----------------75%--------------100%|
    Installation Summary
    Product Status Information
    1. Oracle iPlanet Web Server Configuration Failed View log file
    1. View log file
    2. Done
    What would you like to do [2] {"!" exits}?
    I can not see the option.

  • Is there a restriction on length of Http request posted to a Iplanet Web Server ?

    I am submitting an Http Request by POST method to my server. The request will be received and forwarded by Iplanet Web Server to a clustered Weblogic environment, which will then be handled by Java Servlets. The problem I am facing is that when the length of the request shoots up to around 2000 bytes, NES doesn't receive and forward the request to Weblogic. There is no fixed cut-off for the length, it keeps fluctuating.
    I observed the following after hitting the server hundreds of times with Http Requests that vary in length.
    1) If length of Request is below 1500 bytes, request always goes through successfully.
    2) In a range of 1500 bytes to 2000 bytes, request fails most of the times. (Around 80 %)
    3) Requests with length above 2000K invariably fail, though it just worked for a 2.4K request on one occasion (out of some 100 hits)
    Note that by "length of request", I mean the data I post through Http Request (I just have a single parameter in Http request having the literal "XML" as key and a well formed XML document as value. That is equivalent to submitting a HTML form just having a text area called "XML" containing a XML document. )
    I presume that the length of actual Http Request is slightly greater than that of XML (probably by around 100 bytes).
    My Iplanet documentation says that the upper limit on the length of a POST Http Request is 64 K, which is way above the value (2-3 K) at which I am facing the problem.

    Hi Ganesh
    Did you check the HTTP Persistent timeout of your server? Check the value which has been set up by default. Try increasing the timeout value and try again.
    follow these steps it might solve your problem:
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)(note : if you are posting large amount of data or file increase the value accordingly)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    If this doesnot solve your problem notify me
    regards
    T.Raghulan
    [email protected]

  • Help required on iPlanet Web Server.

    I am using iPlanet Web Server 4.1 to run my jsp' ans servlets. I need to know that if i write System.out.println("Hello World") statement in my Servlet, where it will get printed. Please let me know if theres some way for that. As this is very help full in knowing the prog flow.
    In Jakarta-Tomcat a window popsup and System.out.println statments are printed there. Is there any way we can do with iPlanet.

    Hi,
    You need to configure your web server.
    FOllowing should help you to solve your problem.
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4790&zone_110=4790%2A%20
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4235&zone_110=4235%2A%20
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4699&zone_110=4699%2A%20
    -Amol

  • IPlanet web server crash 6.0SP5

    Hi all,
    I am getting the following errors in iPlanet web server
    Platform details: Sun solaris, SPARC, 8, iPlanet 6.0 SP5
    Pls let me know how to fix this porblem
    Error details
    Error 1:
    catastrophe ( 7455): Server crash detected (signal SIGSEGV)
    info ( 7455): Crash occurred in NSAPI SAF validate_session_policy
    info ( 7455): Crash occurred in function xmlFreeNodeList from module /opt/SUNWam/lib/libxml2.so.2
    failure ( 7454): Child process admin thread is shutting down
    Error 2:
    catastrophe ( 529): Server crash detected (signal SIGBUS)
    info ( 529): Crash occurred in NSAPI SAF validate_session_policy
    info ( 529): Crash occurred in function xmlFreeProp from module /opt/SUNWam/lib/libxml2.so.2
    failure ( 522): Child process admin thread is shutting down
    Error 3:
    catastrophe (13576): Server crash detected (signal SIGILL)
    info (13576): Crash occurred in NSAPI SAF NSServletService
    failure (29922): Child process admin thread is shutting down
    Error 4:
    catastrophe (11097): Server crash detected (signal SIGSEGV)
    info (11097): Crash occurred in function __0fLPollManagerNAddConnectionR6KConnectionUi from module /app/iws605/bin/https/lib/libns-httpd40.so
    Error 5
    catastrophe (27403): Server crash detected (signal SIGSEGV)
    info (27403): Crash occurred in NSAPI SAF NSServletService
    info (27403): Crash occurred in function memset from module /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1

    Hi
    I am also getting the following error.
    Jawwad ,Can you please let me know did your problem got solved , what was the solution
    Any help will be highly appreciated
    [26/Apr/2004:09:09:04] failure ( 5958): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.la
    ng.OutOfMemoryError
    [26/Apr/2004:09:09:07] failure ( 5958): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.la
    ng.OutOfMemoryError
    [26/Apr/2004:09:09:14] catastrophe ( 5958): Server crash detected (signal SIGSEGV)
    [26/Apr/2004:09:09:14] info ( 5958): Crash occurred in function __0fLPollManagerNAddConnectionR6KConnectionUi from module /opt/app/bstwkwww/
    iplanet60/bin/https/lib/libns-httpd40.so
    Thanks and regards
    Shikhar

  • Deploying war files on iplanet web server 6.0

    Hello All,
    I tried to deploy an war file on iplanet web server 6.0 using both command line wdeploy and iplanet webserver browser based admin tool. Both the times it did say successfully deployed. I checked the WEB-INF files and it does contain all class files..But the problem is when I try to post a form to one of the class files the error log says as if it cannot find the class file.(I tried the sample app HelloWorld supplied by vendor)
    =========
    05/Mar/2002:13:19:14] config (13777): for host xx.xx.xx.xx trying to POST /samples/helloworld/GreeterServlet, handle-processed reports: The request method is not applicable to this requested resource.
    =================
    any help in this regards is appreciated
    Thanks
    sudhir

    Hello,
    I got few steps to deploy the WAR file, if you followed the same steps and got the error then ignore this else try with this steps.
    a) Set your environment variable IWS_SERVER_HOME to your server_root directory.
    b) Add the server_root/bin/https/httpsadmin/bin directory to your classpath.
    c) Configure your virtual server for web applications.
    From the Server Manager page, select the VirtualServerClass tab, select a Class, and click the Manage button.
    Select a Virtual Server and go to the Java Web Apps Settings page for that virtual server. Make sure that the virtual server has Web Apps State turned On, and web-apps.xml is the name of Web Apps File.
    To extract the sample WAR file HelloWorld.war in server_root/plugins/servlets/examples/web-apps/HelloWorld, use the wdeploy command as follows:
    wdeploy deploy -u /hello -i server.iplanet.com -v testvs -d
    /iws60/https-server.mydomain.com/testvs/web-apps/hello
    /iws60/plugins/servlets/examples/web-apps/HelloWorld/HelloWorld.war
    The syntax for the command is as follows:
    wdeploy deploy -u uri_path -i instance -v vs_id [-d directory] war_file
    uri_path Specify the URI prefix (a path to access the web application from the browser).
    instance Specify the server instance name. (Note: Do not include "https" in the front.)
    vs_id Specify the Virtual Server name as it appears on the Manage Virtual Servers page.
    directory Specify a directory to extract WAR files. If this directory doesn't exist already, it will be created for you now.
    war_file Specify the name of the WAR file.
    If the WAR file is extracted successfully, the message "web application deploy successful" appears at the command line.
    For verification, go to the /iws60/https-server.iplanet.com/testvs/web-apps/hello directory. It should have the following contents:
    colors
    index.jsp
    META-INF
    WEB-INF/
    web.xml
    /classes/
    HelloWorldServlet.class
    HelloWorldServlet.java
    SnoopServlet.class
    SnoopServlet.java
    In the server_instance/config directory, the web-apps.xml file should have the following entry:
    <vs>
    <web-app uri="/hello"
    dir="/iws60/https-server.iplanet.com/testvs/web-apps/hello"/>
    </vs>
    Restart the server instance from the command line or go to the admin GUI and apply configuration changes to the server instance.
    Now when you access the webserver instance in your browser, the Error log of that server instance will record successful initialization of the web application environment(web-apps.xml) for the virtual server(vs name). You can access the web application from a browser as follows:
    http://server.Mydomain.com:80/hello/index.jsp
    or:
    http://server.Mydomain.com/hello/
    The syntax is as follows:
    http://vs_urlhost[:vs_port]/uri_path/[index_page]
    Thanks
    Selva

  • Using Struts Example in IPlanet web Server 6.0

    Hai
         i am new to struts and i was trying to run the example application shiped along with the binary distribution
         in iplanet webserver 6.0.
         I have extracted the struts-example.war file in to a folder named strutsexamples under my iplanetdocroot\servers\docs\ Using the
         link DeployWebApplications in the admin side of the iplanet application.
         By doing the above steps all the example files are extracted in to the folder iplanetdocroot\servers\docs\strutsexamples directory .
    Problem 1:      when i restarted the server i found the following error in the log file
              [06/Apr/2003:19:58:03] info ( 394): successful server startup
              [06/Apr/2003:19:58:03] info ( 394): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
              [06/Apr/2003:19:58:05] info ( 394): Installing a new configuration
              [06/Apr/2003:19:58:05] info ( 394): [LS ls1] http://gdcblr1596.gdcblr, port 80 ready to accept requests
              [06/Apr/2003:19:58:05] info ( 394): A new configuration was successfully installed
              [06/Apr/2003:19:58:09] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:09] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/diva) at (E:/iPlanet/Servers/docs/diva)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/struts) at (E:/iPlanet/Servers/docs/struts)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/strutsexamples) at (E:/iPlanet/Servers/docs/strutsexamples)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:11] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context =                '/strutsexamples'
              [06/Apr/2003:19:58:11] info ( 394): action: init
              [06/Apr/2003:19:58:13] warning ( 394): vs(https-gdcblr1596.gdcblr)ServletException thrown in servlet.init; context = /strutsexamples, servlet = 'action';           stack tace: javax.servlet.UnavailableException: Parsing error processing resource path
                   at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java, Compiled Code)
                   at org.apache.struts.action.ActionServlet.init(ActionServlet.java, Compiled Code)
                   at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                   at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
                   at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java, Compiled Code)
                   at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java, Compiled Code)
                   at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:680)
              , root cause:
              [06/Apr/2003:19:58:13] info ( 394): Successfully initialized web application environment (web-apps.xml) for virtual server (https-gdcblr1596.gdcblr)
    Problem 2: when i was trying to invoke the example by typing http://localhost/strutsexamples/ i am getting only the following errors .
                   [06/Apr/2003:20:03:17] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context =                     '/strutsexamples'
                   [06/Apr/2003:20:03:17] info ( 394): jsp: init
                   [06/Apr/2003:20:03:18] info ( 394): jsp: init
                   [06/Apr/2003:20:03:19] failure ( 394): Internal error: servlet service function had thrown ServletException (uri=/strutsexamples/):                          javax.servlet.ServletException, stack: javax.servlet.ServletException
                        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
                        at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
                   , root cause: javax.servlet.jsp.JspException
                        at org.apache.struts.util.RequestUtils.message(RequestUtils.java:975)
                        at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
                        at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)     
         I have read all the FAQ and searched in web also and i am not able to find any answer to my problem .
         Kindly if someone knows how to overcome the above problem do reply me to this id .
         If any one has got the steps to be done to use struts in IplanetWebServer 6.0 do mail me also .
    thanks and regards
    Divakar.Renganathan
    Associate Consultant
    MascotSystems .
    Bangalore.

    Hi,
    Were you successful in getting the steps for incorporating struts with iPlanet Web Server 6.0 ?
    If so, please email them to me as I am having similar problems.
    Thanks
    Harinder
    [email protected]

  • Integrating iPlanet Web Server 6.0 with SunOne App Server 7.0

    I am experiencing problems integrating iPlanet Web Server 6.0 with SunOne App Server 7.0
    My magnus.conf is
    #ServerRoot /usr/iplanet/servers/https-test
    ServerID https-test
    ServerName sulev016.eur.gep.ge.com
    ErrorLog /usr/iplanet/servers/https-test/logs/errors
    PidLog /usr/iplanet/servers/https-test/logs/pid
    User root
    MtaHost localhost
    DNS off
    Security off
    ClientLanguage en
    AdminLanguage en
    DefaultLanguage en
    RqThrottle 128
    StackSize 131072
    CGIWaitPid on
    TempDir /tmp/https-test-ab0d7966
    Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
    Init fn=load-types mime-types=mime.types
    Init fn="load-modules" shlib="/usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
    Init fn="NSServletEarlyInit" EarlyInit=yes
    Init fn="NSServletLateInit" LateInit=yes
    Init fn="load-modules" shlib="/usr/iplanet/servers/plugins/passthrough/bin/libpassthrough.so" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    ==========================================
    my obj.conf is
    <Object name=default>
    NameTrans fn="assign-name" from="(/OMS|/OMS/*)" name="passthrough"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="/usr/iplanet/servers/docs/servlet" name="ServletByExt"
    NameTrans fn=pfx2dir from=/mc-icons dir="/usr/iplanet/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/iplanet/servers/manual/https" name="es-internal"
    NameTrans fn=document-root root="$docroot"
    PathCheck fn=unix-uri-clean
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service type="magnus-internal/jsp" fn="NSServletService"
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service method=(GET|HEAD) type=*~magnus-internal/* fn=send-file
    AddLog fn=flex-log name="access"
    </Object>
    <Object name=cgi>
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
    </Object>
    <Object name="servlet">
    ObjectType fn=force-type type=text/html
    Service fn="NSServletService"
    </Object>
    <Object name="jsp092">
    ObjectType fn="type-by-extension"
    ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
    Service fn="NSServletService" type="magnus-internal/jsp092"
    </Object>
    <Object name="ServletByExt">
    ObjectType fn=force-type type=magnus-internal/servlet
    Service type="magnus-internal/servlet" fn="NSServletService"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough" Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://3.224.68.131:81"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The requests are not passing through to the app server when i try to access it through port 80.
    Presently I am testing my appln over port 81 on the app server.
    Thanks and Regards
    Vineet Guliani

    Each ObjectType and Service directive should begin on a new line. You appear to have placed two directives on a single line.

Maybe you are looking for

  • Responsive projects display incorrect content due to orientation of tablet.

    In a responsive project, how does Captivate determine which view should be displayed on which type of device? For example, does it use pixel width or device type? We have had difficulty designing for tablet devices because when the tablet is held in

  • Need info about transportation

    Hi frnds, Need information how we can transport the DW object to production. Development & testing is fine with designed flow. now we need to build production . is there any method to build Production from development. Thanks Ravi

  • Apex 4.0.1 Error handling

    Hi All, Do we need plug in to handle user friendly error message instread of throwing ORA- error to user?

  • No finder

    hello. i have a problem with my macbook pro. problem started after trying to import in itunes what appeared to be a scratched audio cd. itunes imported all tracks but the last, on which it worked for about 5-7 minutes. then it got stucked and when i

  • Transferring Itunes (playlists etc) from my old G5 to my new MacPro

    Hi I put the music on my computer but I don't have the playlist and it lost all the ratings, play count, Equalizer settings. Is there anyway to transfer without having to start all over?