How to invoke servlet in a package in iPlanet Web Server 4.01 platform ?
I want to use a servlet which is in a package.
http://10.251.9.194/servlet/aibd.GetService
servlet is mapping to /home03/zhangxs/bbn/servlets.
but the servlet can not be invoked.
I read the errors file as following:
[02/ 7��/2001:17:06:35] warning (19620):
requested file not found
(uri=/servlet/aibd.GetService,
filename=/home03/zhangxs/bbn/servlets/aibd.GetService)
html invoking statement is as following:
<frame src="/servlet/aibd.GetService>
I already set the CLASSPATH env variable.
I think it should be applied using servlet of a package.
Maybe I missed some setting.
I hope u can help me.
Thanks in advance.
There is an option in the Netscape admin functionality for mapping the servlet virtual directory from the request URI into the physical directory.
However I say don't. The Java support in Netscape 4.xx is lousy. Use Tomcat instead. It's more stable and a more complete implementation. Unfortunatly it's even more difficult to set up.
Similar Messages
-
How do you use the wdeploy tool in iPlanet Web Server with Windows 2000 Server?
I found this on the knowledge base, but only described how to use this with Unix. Does this work with Windows? How do you set the IWS_SERVER_HOME environment variable as well? I don't see it in the file.
ThanksHi,
This is pretty common scenario. The best way to achieve this is to split your servers using a collection and deploy a different client settings. You could target your collection using the OS or an OU in AD. There are many option there.
You could also limit the access to the Server collection using Role Based Access to avoid any human "errors" on these collections. Users without rights to these collection just won't see them.
https://technet.microsoft.com/en-us/library/gg682067.aspx?f=255&MSPPError=-2147217396
http://blogs.technet.com/b/configmgrteam/archive/2011/09/23/introducing-role-based-administration-in-system-center-2012-configuration-manager.aspx
Benoit Lecours | Blog: System Center Dudes -
How to find out version of patch for iPlanet Web Server 6.1 on Win2000
I have a iPlanet Web Server 6.1 SP1 running on Windows 2000. Can I find out what patches has been installed for my iPlanet Web Server?
Thanks in advance for any information.n/m, read version, not patches.
Edited by: David.Eriksson on Jun 30, 2008 8:12 AM -
Can anyone tell me how to speed up the image downloads in iPlanet Web Server 6.0?
I am running iPlanet Enteprise Web Server v6.0 SP1 and I have a page that has quite a few images and they load extreemly slow. If I load the same page and images on version 4.1 SP7 it runs really fast. Help?
Just a suggestion: Try using iWS6.0SP2, it has some performance improvements.
-
How to set the servlet context path manually in Tomcat web server.
I tested some servlets by putting them in the folder , which the tomcats examples application uses (ie Tomcat 4.1\webapps\examples\WEB-INF\classes\) and it appeared to be working fine.
I was calling the servlet like this : http://localhost:2006/examples/servlet/TestServlet
But when I installed my own WAR file in the server , the servlet is not working now. now the new location of my servlets is : Tomcat 4.1\webapps\MyApp\WEB-INF\classes\
and I'm trying to call the servlet like this : http://localhost:2006/MyApp/servlet/TestServlet
The error , what i'm getting is :
description :The requested resource (/MyApp/servlet/TestServlet) is not available.
Some body please tell where I'm making the mistake ? I believe this may have something to do with the servlet context path setting. If anybody has any idea , how to set the path..will be much appreciated.Thanx for your reply , at first I was not using any web.xml(since not mandatory) but even after using the web.xml file the error is coming . Please have a look into the contents of the web.xml file and let me know if you find any problem...
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>TestServlet</servlet-class>
</servlet>
</web-app>
one more thing I would like to tell you here. I was just looking into the configuration of Iplanet web server..I found that , there are options to set the servlet container path (like : - Prefix: /servlet
Servlet Directory: /ecomm/iplanet/nes60/product/docs/container )
so from here I came to know that "container " is the folder where we should put our servlets and it has URI as "servlet" but yet I'm not able to find any option in the Tomcat Web server to set the servlet container to any different directory.
If you have any idea please let me know. -
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. -
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,
~ NiravThere 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. -
How Do I enable gzip compression on Sun One Web Server 6.0
How Do I enable gzip compression on Sun One Web Server 6.0
Hi,
Sun ONE webserver 6.0 is over 5 years old and is reaching end of support life. Please consider upgrading to webserver 6.1sp5 which is free:
http://www.sun.com/download/products.xml?id=434aec1d
or else the preview version of WebServer 7.0 (also free)):
http://www.sun.com/download/products.xml?id=446518d5
For webserver 6.1, the docs for setting up compression are at:
http://docs.sun.com/source/819-0130/agcontnt.html#wp1019634
and
http://docs.sun.com/source/817-6252/npgnsapi.html
Hope this helps -
How to make servlets reloadable in iplanet web server in solaris??
hi all,
does anyone know how to make servlets reloadable in iplanet ??? Thanks for helpHi there,
I think your question is about "Dynamic Class Reloading", also named as Hot deployment. and the following lines may be helpful.
iAS 6.0 SP3 and later version supports new hot deployment features through dynamic class
reloading of EJBs.By default, dynamic servlet, EJB and registered JSP reloading is disabled in iPlanet Application Server.
To enable dynamic reloading of servlets, EJBs and registered JSPs, perform the following steps:
1.Start iPlanet Registry Editor, kregedit, and modify the Disable value under the Versioning key:
SOFTWARE/iPlanet/Application Server/6.0/CCS0/SYSTEM_JAVA/Versioning
2.Set the Disable value to 0 (By default, the Disable value is set to 1)
3.Restart iPlanet Application Server to enable the change
To hot deploy your application, simply compile and replace the file in the appropriate directory or, use iasdeploy to redeploy
applications.
I recommand you to check out the iAS's release notes (http://docs.iplanet.com/docs/manuals/ias/60/sp3/rn_sp3.html#20766) for more infomation.
Good luck
Shen Jie
Developer Technical Support
Sun Microsystems
http://sun.com/developers/support -
How iPlanet web server support JSP?
We have a web server iPlanet. Before, all our web pages are HTML, but now we are thinking to design dynamic web pages to fit our need. We are thinking to use JSP with the help of dreamweaver ultra dev. How iPlanet support JSP? How to set up the configuration in order to run JSP pages from iPlanet?
Please give me some detailed info.
Thank you in advance!I would recommend that you talk to iPlanet and see if your service even supports JSP. If not, then you'll need to find another service that supports JSP and servlets.
DesQuite -
Servlets to be ported on a Web Server
I have developed my servlets in JBuilder 5 and am
testing these on Jbuilder.(as JBuilder has the Tomcat Web Server).
Now,I am in the process of transferring my servlets to
a Live Web Server.
How do I go about transferring my servlets on a Web Server.
Please can any one guide me on this.
This is Urgent.hi
give us more information like what server are you using etc.
generally the classes found in "Web-inf/classes/*.class" library on the root directory.
the url calling servlets is:
http://HostName/servlet/ServletName
(without .class)
hope this is what you meen.
amit -
How do I change OS X (10.5.4) web server port?
Hello,
I'm trying to change the OS X web server port from port 80 to something else. In 10.4 I did this via modifying the httpd.config file in /private/etc/httpd/ but this doesn't work in 10.5 — no matter what I set the port to in the config file, it still only connects for port 80 (and yes, I've restarted Apache)?!?
Anyone know how to do this under 10.5?
Thanks,
Kristin.xnav wrote:
/private/etc/apache2/httpd.conf
I believe the OP has already aware of this and said that modifying it and restarting the server did not work. -
My application needs to a access web server. So, from that application how do i call Firefox ? And how do i pass an argument such as the url/web server ip address?
== This happened ==
Not sure how oftenTry posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox.
[http://forums.mozillazine.org/viewforum.php?f=25]
You'll need to register and login to be able to post in that forum. -
How migrate legacy servlets iPanet 4.1 to iPlanet 6.1
Hi all.
I have installed Java webserver 6.1on solaris.
I cant migate my legacy servlets running on iPlanet 4.1 to Iplanet 6.1
How do I do that?
Please help me!!!
PS: Is that possible?
ThanksHi Manish
Thanks for your answer .
We have verified what IPlanet 6.1 can deploy one sigle Legacy Servlet as "/".
We need to deploy more than one servlet.
Can You please explain me how can I deploy that on Single Virtual server 6.1 ?
Thanks
dany74 -
How to invoke Debug from Oracle Menu running on WEB?
ENVIRONMENT:
Oracle Forms 10g resides on Linux server.
Forms are called from the Oracle Menu.
Runs on company-wide WEB intra-net using Internet Explorer version 6.
User workstations are PC running Windows XP version 5.1.
PROJECT:
Create Oracle Menu option named: DEBUG.
After clicking on DEBUG, control returns to the Menu.
Any Form subsequently selected from the Menu will run in debug mode.
So every trigger firing in the Form will cause a message displayed on screen.
This will continue to happen whenever a Form is selected.
This continues until DEBUG is selected again...to toggle off.
QUESTION:
Is this possible?
If yes, how to do?Possible: maybe.
How to do: this bean lets you get the values of the forms applet parameters and also set them. Perhaps debug_messages is settable in this way.
I've never found the debug_messages option to be very useful - it's usually fairly easy to work out which triggers are running and if there's an error then forms tells you which trigger it ocurred in. If the above (or anything else) doesn't work then you could use something like the package I posted Re: Zdebug -- Download a Forms debugging message tool, but it would mean having to code your own debug messages into the forms. Adding a new procedure to turn debugging on or off, or even to use a message level like forms has, would be quite simple.
eg,
-- new package variable:
debug_on BOOLEAN := TRUE;
PROCEDURE toggle_debug IS
BEGIN
debug_on := NOT debug_on;
END;
-- write_log becomes:
PROCEDURE write_log(
p_text IN VARCHAR2,
p_indent PLS_INTEGER DEFAULT 0) IS
BEGIN
IF debug_on THEN
write_log_internal(p_text, p_indent, 'N');
END IF;
END write_log;
etc
Maybe you are looking for
-
Report Builder 2.0 - Filtering multiple values with LIKE command
Hi, I'm trying to use multiple values for a LIKE command in the Tablix Properties-Filters area. I thought this would be easy, and it may yet prove to be easy yet I'm banging my head against the wall at the moment. I have created a new filter with: Ex
-
This is a second computer for me that my nephew set up for me. I hardly used it after he set it up for me and now that I have Wi Fi, I'm using it again, but neither of us remembers the password he set up for me, and I have to continually sign in as a
-
Photos get cropped when printed
I have some images that I am sending to my local Walmart for printing. Walmart uses Fuji equipment. When I get the prints back I've noticed that some of the prints have been 'cropped'. A portion of the top or bottom is missing. This is most noticeabl
-
I plugged an android phone into my MacBook and it shut down. How do I get it to work again
I plugged an android phone into my MacBook and it shut down. How do I get it to work again
-
Which is the Report which gives list of Customer,InvoiceNo:,Invoiced Quanty,Material,Invoiced Value of specfic plant of some defined dates. Please suggest in SAP Standard reports or any BIW reports or any other related report which will solve the pro