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.
Similar Messages
-
Hi,
It is possible, But it has to be done through codes and iPlanet Web Server has nothing to do with it. But if you want to create the word document by ASP you have to install ASP plugin like ChilliASP (from Chilisoft) with iPlanet Web Server.Merging with database can be done through your code.
To know more abt creating word doc through ASP try this link
http://web.ukonline.co.uk/vance/code/aspworddoc.pdf
Regards,
T.Raghulan. -
Hi all,
My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
for 120 seconds. This causes Weblogic to timeout after a while. The error I get
is as follows:
<Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:127)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
at weblogic.net.http.HttpClient.New(HttpClient.java:149)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
t.java:285)
at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
>
I get the same error when I added the following plug-in configuration parameters
(in obj.conf):
ConnectTimeoutSecs="170" ConnectRetrySecs="170".
What do I need to do to extend this timeout? Any help you can provide will be
greatly appreciated..
Thanks
ManishHi all,
My configuration is as follows: I have an iPlanet web-server that uses a WebLogic
6.1 (sp1) server to proxy requests to another HTTP server. The HTTP request runs
for 120 seconds. This causes Weblogic to timeout after a while. The error I get
is as follows:
<Aug 25, 2003 3:37:09 PM GMT+00:00> <Warning> <HttpClient> <Couldn't open connection
java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:127)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:194)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:254)
at weblogic.net.http.HttpClient.<init>(HttpClient.java:117)
at weblogic.net.http.HttpClient.New(HttpClient.java:149)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:109)
at com.db.gmr.dcm.DebtIssueServlet.getVectorFromConnection(DebtIssueServle
t.java:285)
at com.db.gmr.dcm.IssuesUSThread.run(IssuesUSThread.java:29)
>
I get the same error when I added the following plug-in configuration parameters
(in obj.conf):
ConnectTimeoutSecs="170" ConnectRetrySecs="170".
What do I need to do to extend this timeout? Any help you can provide will be
greatly appreciated..
Thanks
Manish -
Access to Oracle 8i DB using iPlanet web 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
<resource-ref>
<description>Ptrade Entry</description>
<res-ref-name>jdbc/ptradeDataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
2. ias-web.xml
<resource-ref>
<res-ref-name>jdbc/ptradeDataSource</ref-ref-name>
<jndi-name>jdbc/ptrade/ptradeDB</jndi-name>
</resource-ref>
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?Hi Rahul,
Thanks for bringing this page to my
notice..But there are still a few doubts which i
have...
. I have worked on JNDI so far, so could you please
tell me where exactly i need to define the namespace
of JNDI ? In which all configuration files would i
need to declare the database? more specifically,Would
i need to make any changes to server.xml?Probably web.xml and server.xml
2. Could you please share any xml files that would
give the additions that i need to make in my setup?I don't use iPlanet. Not many people do these days that I know of.
You could look at the Tomcat docs on how to set up a JNDI data source. That should help.
3. Would i need to explicitly close the DB
connections in my code?You should be already. If you're not, you're writing bad code. ResultSets and Statements need to be closed as well.
% -
Hi,
In your iWS, Go to particular instance config directory
edit contexts.properties file
(eg:-/usr/netscape/server4/https-test/config/contexts.properties).
Do the below changes.
(uncomment
context.global.reloadInterval=5
"And"
context.global.isModifiedCheckAggressive=true).
Example:-
~~~~~~~~~~~
# Context properties:
# context.global.sessionmgr=com.netscape.server.http.session.SimpleSessionManager
# context.global.sessionmgr.initArgs=
# context.global.initArgs=initial=0
# context.global.realPathFromRequest=false
# context.global.respondCookieVersion=0
# context.global.sessionExpireOnClose=false
# context.global.includeTransparency=true
# context.global.tempDir=/tmp
context.global.reloadInterval=5
# context.global.javaBufferSize=0
# context.global.bufferSize=4096
# context.global.docRoot=/foo/bar
# context.global.inputStreamLengthCheck=true
# context.global.outputStreamFlushTimer=0
# context.global.uri=/
# context.global.host=
# context.global.ip=
# context.global.authdb=default
# context.global.classpath=
# context.global.singleClassLoader=false
# context.global.contentTypeIgnoreFromSSI=true
# context.global.parameterEncoding=utf8
# context.global.sessionCookie=NSES40Session
context.global.isModifiedCheckAggressive=true
I hope this will work for you.
Thanks,
Daks.
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support. -
Why should we use iPlanet Web Server compared to TomCat?
i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/
-
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 -
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 -
Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.
Hi,
You didnt mention which version of IWS. follow these steps.
(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)
(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)
Regards
T.Raghulan
[email protected] -
I am using windows 2000.
iPlanet Web Server, Enterprise Edition 6.0 SP2
I tried to do jdbc persistence for sessiondata.
Somehow it didn't work.
I edited the JdbcStore code and added some system.outs in it.
From the logs I could note that
It is going into
JdbcStore.init(Properties config)//when the server starts up
JdbcStore.reap(long currentTime) //when the server is brought down
But it is not going into
JdbcStore.save(IWSHttpSession session)
JdbcStore.remove(IWSHttpSession session)
JdbcStore.load(IWSHttpSession session)
I did a "select count(*) from sessions" and it got me
no of rows=0.
The logs contained
[06/Mar/2002:11:25:09] info ( 552): IWSSessionManager: Maximum number of sessions is 1000
[06/Mar/2002:11:25:10] info ( 552): IWSSessionManager: Maximum number of sessions is 1000
[06/Mar/2002:11:25:14] info ( 552): JdbcStore: initialized with url=jdbc:odbc:LocalServer, driver=sun.jdbc.odbc.JdbcOdbcDriver
So I should think it was working.
The pages that are using HttpSession are working ok but should I not get some rows in my table "sessions" when I query?
This is the webapps.xml I used.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- iWS 6.0 specific web application configuration. -->
<!DOCTYPE vs PUBLIC "-//Sun Microsystems, Inc.; iPlanet//DTD Virtual Server Web Applications 6.0//EN" "http://developer.iplanet.com/webserver/dtds/iws-webapps_6_0.dtd">
<vs>
<!-- Define global configuration -->
<!-- Configure a session manager and tracking configuration -->
<session-manager
class='com.iplanet.server.http.session.IWSSessionManager' >
<init-param>
<param-name>maxSessions</param-name>
<param-value>1000</param-value>
</init-param>
<init-param>
<param-name>timeOut</param-name>
<param-value>1800</param-value>
</init-param>
<init-param>
<param-name>session-failover-enabled</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>reapInterval</param-name>
<param-value>600</param-value>
</init-param>
<init-param>
<param-name>session-data-store</param-name>
<param-value>com.iplanet.server.http.session.JdbcStore</param-value>
</init-param>
<init-param>
<param-name>url</param-name>
<param-value>jdbc:odbc:LocalServer</param-value>
</init-param>
<init-param>
<param-name>provider</param-name>
<param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value>
</init-param>
<init-param>
<param-name>username</param-name>
<param-value>sa</param-value>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>sa</param-value>
</init-param>
<init-param>
<param-name>lookupPool</param-name>
<param-value>4</param-value>
</init-param>
<init-param>
<param-name>insertPool</param-name>
<param-value>4</param-value>
</init-param>
<init-param>
<param-name>updatePool</param-name>
<param-value>4</param-value>
</init-param>
<init-param>
<param-name>deletePool</param-name>
<param-value>4</param-value>
</init-param>
<!--
<init-param>
<param-name>session-failover-enabled</param-name>
<param-value>false</param-value>
</init-param>
-->
</session-manager>
<session-tracking use-cookies="true" />
<!-- Define the web applications for this virtual server-->
<!-- catalog application -->
<web-app uri="/Web" dir="E:/iPlanet/Servers/docs" enable="true" >
<!-- Specify a tempory directory. A path returned in the "javax.servlet.context.tempdir" property; defaults to WEB-INF/tmp. -->
<!--
<tempdir dir='/var/catalog/tmp'/>
-->
<!-- reload classes at every 5 minutes; also include mycatlog.jar file in the classpath -->
<!--
<class-loader reload-interval='300' classpath='/home/work/mycatalog.jar' />
-->
</web-app>
</vs>I'm trying to do the same thing with a file store, also somewhat unsuccessfully. However, one thing I can point out is that the manual says that the <session-manager> element should be within the <web-app> element in web-apps.xml. In your example, it is outside of it.
-
Basically, the latest release of iPlanet Web Server forces the user/group information source to be an LDAP database. Currently, the user accounts are in Active Directory, NT, Oracle and NetWare Directory Service in this heterogeneous environment.
What I am looking for is a meta-directory product which can do two things:
1-Single authentiation point for users in mulitple databases from iPlanet Web Server.
2-Single administration point for all of the databases listed above.
For example, can I add/modify/delete a user account at the meta-directory level and have this propagate to all of the databases listed above reducing the administration to one meta-directory product?With an Virtual Directory solution, you can authenticate Iplanet Web Server against nearly anything including any LDAPv3 Directory Server, Microsoft Active Directory, Windows NT Domains, Oracle RDBMS, IBM DB2 RDBMS, Microsoft SQL, and others.
All of this is done dynamically and doesn't require any heavyweight synchronization process. The Virtual Directory acts as a dynamic schema / DIT / data translation engine for different types of repositories.
OctetString's Virtual Directory Engine is one such example. You can download a 30 day evaluation copy at:
http://www.octetstring.com
It will take you all of 30 minutes to get iPlanet Web Server authenticated against and using groups from things like Oracle RDBMS, Windows NT Domains, or Active Directory. -
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. -
Help me Deploy WAR file in SUN iPlanet Web Server 6.1 SP7 using JDK1.6 & JS
Hi All,
Can any one help me on this.
I'm using
JDK1.6
JSF1.2
JSTL1.1
Hibernate3.2.5
ANT1.7
JUnit
HTML
Oracle10g
Trying to deploy this war file in SUN iPlanet Web Server 6.1 SP7. Can I use JDK1.6 & JSF1.2 in web server6.1What is the exact version of Web Server you are using? Should be in the error logs or try $start -version
It would be faster if you can capture and cut and paste the data that is sent between firefox and Web Server in both the cases using /usr/sfw/bin/ssltap (http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html) or ethereal when you try to view that shtml file. We can see if its any different in both cases and try it from there.
Also verify the steps given in http://docs.sun.com/source/817-1832-10/pgshtml.html
mime.types should have :
type=magnus-internal/parsed-html exts=shtml
obj.conf should have :
Service fn="shtml_send" type="magnus-internal/parsed-html" method="(GET|HEAD)"
When you activate parsing, magnus.conf should have :
Init funcs="shtml_init,shtml_send" shlib="install_dir/bin/https/bin/Shtml.dll" NativeThreads="no" fn="load-modules"
Shtml.dll (or libShtml.so on UNIX), is located in install_dir/bin/https/bin for Windows, and install_dir/bin/https/lib for UNIX. -
Deploy WAR file in SUN iPlanet Web Server 6.1 SP7 using JDK1.6 & JSF1.2
Hi All,
Can any one help me on this.
I'm using
JDK1.6
JSF1.2
JSTL1.1
Hibernate3.2.5
ANT1.7
JUnit
HTML
Oracle10g
Trying to deploy this war file in SUN iPlanet Web Server 6.1 SP7. Can I use JDK1.6 & JSF1.2 in web server6.1What is the exact version of Web Server you are using? Should be in the error logs or try $start -version
It would be faster if you can capture and cut and paste the data that is sent between firefox and Web Server in both the cases using /usr/sfw/bin/ssltap (http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html) or ethereal when you try to view that shtml file. We can see if its any different in both cases and try it from there.
Also verify the steps given in http://docs.sun.com/source/817-1832-10/pgshtml.html
mime.types should have :
type=magnus-internal/parsed-html exts=shtml
obj.conf should have :
Service fn="shtml_send" type="magnus-internal/parsed-html" method="(GET|HEAD)"
When you activate parsing, magnus.conf should have :
Init funcs="shtml_init,shtml_send" shlib="install_dir/bin/https/bin/Shtml.dll" NativeThreads="no" fn="load-modules"
Shtml.dll (or libShtml.so on UNIX), is located in install_dir/bin/https/bin for Windows, and install_dir/bin/https/lib for UNIX. -
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]
Maybe you are looking for
-
Finding the end of a file.
How do I find the end of a stream (in this case, a file) using BufferedReader.readLine()?
-
Using iTunes for Windows to synch my Outlook Contacts and Calendars into my iPhone 5, with the iPhone Device designated and in the Info tab, I do not have the option to "Synch Contacts with", but have an unchangeable message that it is synching with
-
No picture - Just Sound on Quicktime
When watching an AVI file in quicktime, I am hearing voices, but do not see a picture. Can anyone assist?
-
How do I register my ProCare?
I am a newbie and purchased my new Macbook Pro in the middle of Decemeber. I live a couple hours away from the store. I also purchased the procare. I want to make an appointment but it keeps asking for my email or phone number. I don't remember every
-
Necesito ayuda, esta mi ID inhabilitada
hola, a q numero llamo para q me activen mi ID???