Migrating to Web Server 7.0 from Apache HTTPd document
We've [made available|http://wikis.sun.com/display/WebServer/Migration+from+Apache+HTTP+Server] a work-in-progress document on our Wiki page discussing some of the common problems people have when they migrate from Apache HTTPd server to Sun Java System Web Server 7.0.
We'd love to get your feedback. What are we missing? Have some information you'd like to add? The comments section is open to all feedback.
Thanks!
can this be made as a topic rather than a post in the forum ?
Similar Messages
-
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. -
Viewing XSQL pages from Apache httpd server.
Hi ,
I have a Redhat 9 machine on which have installed the Apache 2.0.5 web server. I also have Oracle 9i installed.
I am trying to write XSQL pages in order to acces the database and to retrieve the data.
When I open my XSQL sheets with my web browser I get code instead of the retrieved, formatted records.
I have set up the XSQLConfig.xml file inside the xdk directory but I have a feeling that the Apache web browser does not really know about it. How do I configure apache in order to get the required results.
Thanks.
-- Maya.in addition to the Apache http server you will need a servlet runner, like Apache Jserv or Tomcat. The Xsql-servlet will run on this servlet runner.
The http server wil redirect a request for a *.xsql document to the servlet and returns the result.
With Jserv you will need to modify jserv.properties and include the jars from the xdk installation to the classpath. Also include the XSQLconfig.xml to the classpath.
I don't know the details for installation on Tomcat, but i think these can be found in the xdk documentation.
succes, Bart -
Applet hangs web server when upgrading from 1.6 to 1.7
I've got a client-side printing application which works fine on 1.6 and fails on 1.7 where it essentially hang the server on the connect option to the server and loading the jar file. Specifics:
PC Client running windows 7 x64
Browser versions IE9, IE10, Firefox 17.0.1 (PC-client) all fail
Client PC has latest Java 1.7.0 10-b 18 installed
Web server is Apache2.4.3 x64 running on Windows 2008 Server R2 through the network
Jar file is signed and the certificate is loaded
Apache server is sitting on another server through a network connection. Backrev java to 1.6 and it passes. I've specified the -Djava.net.prefIPv4Stack=true option in the applet call but it doesn't fix the issue.
The java console loads but then hangs on the connecting portion:
Java Plug-in 10.10.2.18
Using JRE version 1.7.0_10-b18 Java HotSpot(TM) Client VM
User home directory = C:\Users\user
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@1ae81ab
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
security: --- parseCommandLine converted : -Djava.net.preferIPv4Stack=true
into:
[-Djava.net.preferIPv4Stack=true]
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@8bbbf4
basic: Plugin2ClassLoader.addURL parent called for http://10.100.1.61/patholog/java/patholog/dist/PathologLibS.jar
security: Blacklist revocation check is enabled
security: Trusted libraries list check is enabled
network: Cache entry found [url: http://10.100.1.61/patholog/java/patholog/dist/PathologLibS.jar, version: null] prevalidated=true/0
cache: Adding MemoryCache entry: http://10.100.1.61/patholog/java/patholog/dist/PathologLibS.jar
cache: Resource http://10.100.1.61/patholog/java/patholog/dist/PathologLibS.jar has expired.
network: Connecting http://10.100.1.61/patholog/java/patholog/dist/PathologLibS.jar with proxy=DIRECT
network: Connecting http://10.100.1.61:80/ with proxy=DIRECT
network: Connecting http://10.100.1.61/patholog/java/patholog/dist/PathologLibS.jar with cookie "Patholog=vl141e491gffhpc07aupt0rnq5"
What is most irritating is that a local instance for debugging (i.e. apache2.4.3 x64) running locally and running the application on the same machine) passes perfectly so it appears that it involves a network connection rather than a localhost operation.
I noticed on a good connection the server returns with ResponseCode 304. I do not see that line in the log on the failing applet load. Apache logs set at debug show no errors even though the operation hangs the server.
Anyone got any ideas on how to debug and resolve this?
-Thanks
-GMore information:
Installed jre.1.6.37 (x32 version) along with 1.7.10 (x32 version) and the applet loads. Installed 1.7.10 (x32 version) only on the windows 7 x64 client fails. I've done both the x-java-applet method and the JNLP method and both hang. The JNLP j2se version is set to "1.6+" so in theory 1.7 should jre should work fine without a 1.6.37 loaded.
I've got wireshark dumps that I'm analyzing and noticed that there two OCSP responses (successful) but nothing after that, specifically where it hangs. Any ideas on how to debug this further? -
Can print test pages from embedded web server., put not from windows
Hello,
I have a P1102w that worked perfectly through the last 5 month.
Two days ago it stopped printing anything for some reason. What happen is, when I print something, it spools, but then I get Error-Printing under the status when I double click the printer icon in the "devices and printers" manager of windows 7.
Right now I can see the printer in Ad Hoc. I can load the embedded web server,. And I can print test pages from the embedded web server.
However, if I tried to print test pages using the printer icon in "devices and printers" manager".. it doesnt print!
If I go to Devices and Printers -> Properties -> Advanced -> "Print directly to printer" -> Apply
I got an error box: "Printer settings could not be saved. Operation could not be completed (error 0x0000070c)."
The printer works fine when connected to other laptops (with exactly the same driver/setting)..
This problem is driving me crazy !
Thank you in advance for your helpHi m-rasheed,
An ad-hoc connections is much more unstable than an infrustructure network using a router. At this point i would suggest getting a wireless router, and then connect the printer to your network through the router.
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02847467&tmp_task=useCategory&cc=us&dlc=en&lang...
Routers:
http://www.shopping.hp.com/webapp/shopping/can.do?storeName=accessories&landing=computer&category=ca...
I am an HP employee.
Say Thanks by clicking the Kudos Star in the post that helped you.
Please mark the post that solves your problem as "Accepted Solution" -
Using Sun Web Server 6.1 from the IDE
Using JSE 8 with Sun Web Server 6.1 set as the target container, I have a SUNWS61deployment.xml file created.
That didn't exist in JSE 7. Is it WS 6.1 SP4 or SP5 -related ?
I also have ws61-sun-web.xml with a simple <sun-web-app/> tag (empty deployment descriptor).
What should this file contain? Is it a replacement for sun-web.xml?
Do I still need sun-web.xml? Its DTD declaration sounds like Sun
App Server 7 (http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_3-1.dtd)
So you have plans to make "Sun Resources" (pools, JNDI resources, ...) created in the IDE be registerable directly in the Web Server just like it's possible with the sun app server?
How safe is it to use JSE 8 with an older Web Server Service Pack (say 6.1SP1)?SUNWS61deployment.xml is created bythe IDE to be used internally and not to be used by the developer. This file wouldn't be sent to webserver after deployment.
The ws61-sun-web.xml is sun-web.xml only and yes it is same as it is in Appserver7 as the webcontainer for both Webserver6.1 and Appserver7 are same. After deployment to webserver, ws61-sun-web.xml is renamed to Webserver as sun-web.xml by the IDE. When opened the developer can edit in the XML editor.
The reason for having it as ws61-sun-web.xml in IDE is to avoid the clash between sun-web.xml of Appserver8.1 which is J2EE1.4 based whereas Webserver6.1 Web container is J2EE1.3 based.
It should be okay to use any service pack of Webserver6.1 with JSE8
Hope this helps -
Problem to install my web server application on Oracle-Apache web server
I've developed my web site using Sun one studio 4 update 1 in according with the servlet engine version 2.3 (Tomcat 401).
After the compilation I've try to install my site on Oracle-Apache 9i which use the servlet engine version 2.0.
My problem concern that there's an complilation error about the server engine version. How I can update my sun One Studio Tomcat with the servlet engine version 2.0 and where I can find this servlet engine version to tomcat module?
Many thanks
Error description:
oracle.jsp.provider.JspCompileException: Errors compiling:d:\oracle\ora92\apache\apache\htdocs\_pages\_mercia__web\_JspError.java
Method getAttribute(java.lang.String) not found in interface javax.servlet.http.HttpSession. if (sess.getAttribute("strAnagFileName") == null || sess.getAttribute("strInFolder")== null ||You really need to upgrade your Oracle application server. Oracle 9iAS release 2 v903 is fully J2EE1.3 compliant and won't give you such problems.
For now, change your session.getAttribute/session.setAttribute calls to session.getValue/session.putValue, which is the deprecated previous api. -
Web-server switch colors from blue to red
Hi,
on a linux-box is a labview-vi running and
I am able to get the vi with the .snap?
or the .monitor?-command over the web.
But the colors of the jpg are switched
from blue to red and red to blue.
Any Idea?
Thanks a lot!
Peter Schmitt
Carl-Schaefer-Schule privat
Hohenzollernstr. 30 Affalterbacher Str.24
71638 Ludwigsburg 71642 Ludwigsburg
Tel.07141/9602-0 07144/863470
Fax 07141/9602-288 07144/863471Hi Peter,
I had the same problem and I didn't find any other solution than change the
display mode to 256 color mode.
Peter Schmitt wrote:
>Hi,>>on a linux-box is a labview-vi running and>I am able to get the vi
with the .snap?>or the .monitor?-command over the web.>But the colors of
the jpg are switched >from blue to red and red to blue.>>Any Idea?>>Thanks
a lot! >Peter Schmitt>---------------------------------------------->Carl-Schaefer-Schule
privat>Hohenzollernstr. 30 Affalterbacher Str.24>71638 Ludwigsburg
71642 Ludwigsburg>Tel.07141/9602-0 07144/863470>Fax 07141/9602-288
07144/863471>---------------------------------------------- -
Hi, all
I would like to ask what are the differences between Sun ONE Web Server 6.1 and apache 2 on the features/functions matter.
Compare with apache, what things do the SUN ONE Web can done.?
What things do the SUN ONE Web Server cannot done?
I just want to compare their functions/features.
Thank you for your help.I don't know of a comprehensive comparison between the two, and I don't know enough about Apache Httpd to give a fair comparison. However, here are some highlights.
- Functionality: Besides from a few things that can be done with Apache Httpd and mod_rewrite but cannot be done in WS6.1, almost everything else worth doing can be done with WS6.1.
- Performance and stability: WS6.1 has the advantage here. Look at the latest SPECWeb2005 results submitted by sun (http://www.spec.org/web2005/results/web2005.html).
If you have specific features/functions that you want to list, we can offer better comparisons. -
Uncaught exception after migration of App server
After migrating from app server 6.5 to 7.0 I'm getting lot of uncaught exception. like the following
Can some one help me.
FYI: We did not migrate our web server. it's still sunone web server 6.0.1
Uncaught Exception in AccessNKServlet
java.lang.RuntimeException: Read of HTTP Request POST parameters failed: read < content length
at org.apache.catalina.connector.HttpRequestBase.parseParameters(HttpRequestBase.java:708)
at com.iplanet.ias.web.connector.nsapi.NSAPIRequest.parseParameters(NSAPIRequest.java:724)
at org.apache.catalina.connector.HttpRequestBase.getParameter(HttpRequestBase.java:741)
at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:166)
at com.iplanet.jato.view.RequestHandlingViewBase.acceptRequest(RequestHandlingViewBase.java:187)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:616)
at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:589)
at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:945)
at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:616)
at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:474)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:309)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
It's due to recon issue. OIM has many recon processes. One such process is LDAP-OIM sync job that runs behind the scene.
It may be an issue with the 'trigger table value' which recon job depends. If 'trigger table value' is not set properly, you may get this issue.
Do this workaround:
http://identityandaccessmanager.blogspot.com/2011/08/reconciliation-issue-misfirehandler.html -
Can ne one help me in installing STRUTS on Tomcat 4.1 web server
Can ne one help me in installing STRUTS on Tomcat 4.1 web server.
I haven't started yet.. Please Help me.
Thanx in Advance.
Regards,
Ashutosh Sharmafirst try to get a file "struts-blank-1.3.8.war" from internet...
before that we need to get certain jar files from net .. as these wud be necessary for the struts deployment on our tomcat
antlr-2.7.2.jar
bsf-2.3.0.jar
commons-beanutils-1.7.0.jar
commons-chain-1.1.jar
commons-digester-1.8.jar
commons-fileupload-1.1.1.jar
commons-io-1.1.jar
commons-logging-1.0.4.jar
commons-validator-1.3.1.jar
jstl-1.0.2.jar
oro-2.0.8.jar
standard-1.0.2.jar
struts-core-1.3.8.jar
struts-el-1.3.8.jar
struts-extras-1.3.8.jar
struts-faces-1.3.8.jar
struts-mailreader-dao-1.3.8.jar
struts-scripting-1.3.8.jar
struts-taglib-1.3.8.jar
struts-tiles-1.3.8.jar
if u download struts 1.3.8.zip then u'll get all the files + with in the apps folder u'll get the war files that have some
examples
eg:-
struts-blank-1.3.8.war
struts-cookbook-1.3.8.war
struts-el-example-1.3.8.war
struts-examples-1.3.8.war
and so on..... u mite get these files with some books ....... these war files contain the examples that u can run
******************* HOW TO DEPLOY STRUTS ON TOMCAT WEB SERVER ( I am Using apache-tomcat-5.5.25 ) ***********************
copy all the .jar files that are present in the lib folder of the struts kit to the "\common\lib" folder of
apache-tomcat-5.5.25
Note that in Environment Variable CLASSPATH must be specified to lib folder of the tomcat than only these files will work
Now copy the "struts-blank-1.3.8.war" file from the "apps" directory that will contain many ".war" files to "\webapps" folder
of tomcat.
now shutdown and then restart the tomcat webserver, now in the "webapps" folder u can see a folder as "struts-blank-1.3.8"
now open Internet Explorer or any other Web Browser that ur using and type in
http://localhost:8080/struts-blank-1.3.8
if the page is coming showing u a welcome message it means struts are running fine
Friends this mite be useful for all the beginners.. as i am a beginner so i know the problems that can come to start..
Regards,
Ashutosh Sharma -
Deplyment in iPlanet Web Server 6.0
Hi
Here is the log output that i received after deploying in iPlanet web server 6.0 from a war file. It contains the jsps, servlet classes, beans, and ejb classes. I have my ejbs deployed in weblogic server 8.1 Can anybody help? Thankyou.
[31/Mar/2004:11:21:33] info ( 1080): Installing a new configuration
[31/Mar/2004:11:21:50] info ( 1032): successful server startup
[31/Mar/2004:11:21:50] info ( 1032): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
[31/Mar/2004:11:21:51] info ( 1032): Installing a new configuration
[31/Mar/2004:11:21:51] info ( 1032): [LS ls1] http://IdeasAshok, port 8080 ready to accept requests
[31/Mar/2004:11:21:51] info ( 1032): A new configuration was successfully installed
[31/Mar/2004:11:21:52] info ( 1032): Loading IWSSessionManager by default.
[31/Mar/2004:11:21:52] info ( 1032): IWSSessionManager: Maximum number of sessions is 1000
[31/Mar/2004:11:21:55] info ( 1032): Adding web application (/ideas) at (D:/ bea/ideas)
[31/Mar/2004:11:21:56] info ( 1032): Loading IWSSessionManager by default.
[31/Mar/2004:11:21:56] info ( 1032): IWSSessionManager: Maximum number of sessions is 1000
[31/Mar/2004:11:21:56] info ( 1032): Successfully initialized web application environment (web-apps.xml) for virtual server (https-Ashok)
[31/Mar/2004:11:23:59] info ( 1032): vs(https-Ashok)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context = '/ideas'
[31/Mar/2004:11:23:59] info ( 1032): jsp: init
[31/Mar/2004:11:23:59] info ( 1032): jsp: init
[31/Mar/2004:11:23:59] failure ( 1032): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/security/auth/callback/CallbackHandler
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:115)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:131)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at ideas.util.ServerProperties.getContext(ServerProperties.java:48)
at ideas.beans.AdhocHandBean.<init>(AdhocHandBean.java:39)
at jsps.jsp._AdhocHandoff_jsp._jspService(_AdhocHandoff_jsp.java:194)
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)Hi,
Already solved the problem, only needed the charset for JAVA.
Anyway for future reference for others re internationalization in iPlanet...
1. Place your resource bundles in <path to your instance>/WEB-INF/classes/
2. Place your i18n tag library (as for me it is taglibs-i18n.tld) in <path to your instance>/WEB-INF/
3. Place your i18n API (as for me it is taglibs-i18n.jar) in <path to your instance>/WEB-INF/lib if it is a jar file, else <path to your instance>/WEB-INF/classes.
4. Add taglib element in your web deployment descriptor file (web.xml):
<taglib>
<taglib-uri>/WEB-INF/taglibs-i18n.tld</taglib-uri>
<taglib-location>/WEB-INF/taglibs-i18n.tld</taglib-location>
</taglib>
NOTE:
Make sure the DTD reference for your web.xml points to http://java.sun.com/dtd/web-app_2_3.dtd. Old version was http://java.sun.com/j2ee/dtds/web-app_2_3.dtd. Please update your application to use the new name.
5. Add the following to the JVM classpath in SUNONE:
5.a. <path to your JRE lib>/charsets.jar (for charsets for JAVA)
5.b. <path to your instance>/WEB-INF/classes/ (directory where your resource bundles are)
6. Restart the instance.
This will work either for pre-compiled and uncompiled jsps.
Hope this will help.
my 2 cents,
Eson. -
Can web server plugin point to multiple cluster ?
Hi,
Can you point a web server plugin to multiple Weblogic 8.1 clusters ? If yes, how does the dynamic list work ?
E.g. Web server X -> Cluster Y & Cluster Z
In the plugin documentation it is not explicit that you can or can't do so (http://edocs.bea.com/wls/docs81/plugins/plugin_params.html#1149781).
"WebLogicCluster : List of WebLogic Servers that can be used for load balancing. The server or cluster list is a list of host:port entries. If a mixed set of clusters and unclustered servers is specified, the dynamic list returned for this parameter will return only the clustered servers."
Thanks,
Antonio Goncalvesyou need to introduce a 'NameTrans' directive to redirect the url that you want to send to the back end
for example, edit your obj.conf to look like
<Object name="default">
NameTrans fn="assign-name" name="passthrough" from="<give a top level url that you want to send to the back end"
and restart the server.
disabling java will reduce the web server process size significantly. unfortunately, this is a very manual process in 6.1. however, if you could consider migrating to web server 7 u2, where reverse proxy plugin is integrated within the produce (rather than as a separate plugin), u could easily disable-java and configure reverse proxy through either gui or cli command
http://docs.sun.com/app/docs/doc/820-2204/disable-java-1?a=view
http://docs.sun.com/app/docs/doc/820-2204/create-reverse-proxy-1?a=view
pl. remember to run a deploy-config as soon as you run each of this above command. again, this would be relevant only if want to upgrade to web server 7 -
Performance of WLS as a web server
Hi,
I post this on the clustering list since I'm interested in finding out the
likelyhood of people using WLS as a web server (as well as servlet engine/EJB
container).
What do you prefer: WLS or Apache/IIS/NES with the plug-in?
Why?
Do you prefer using a front-end cluster that serves static content and load
balances dynamic requests to a back-end cluster of WLS instances?
Do you prefer using WLS (Express) on the front-end cluster or Apache/IIS/NES?
If using a front-end cluster, do you use DNS RR or an external HW load balancer?
What load balancer do you use if a cluster of WLS instances serves both static
and dynamic content? (With possibly a separate back-end cluster for EJBs.)
The performance of WLS as a web-server may cause some people to prefer a front-
end Apache/IIS/NES cluster, is that right?
Regards,
Frank Olsen
Stonesoft
The main reason that 5.1 is 25% slower than NES or Apache on serving static html
is that NES/Apache do a lot of native I/O and caching ( their code base is C/C++).
6.1 fixed that problem, BEA use native I/O to retrieve static html and img files,
and caching them in memory. Benchmark data shows that they are in par with NES/Apache's
performance. It's pretty safe for you to use 6.1 to host your static contents
and use it as web container at the same time.
My 2 cents.
Jim Zhou.
[email protected] (Morten Hindsholm) wrote:
Hi,
we are currently using Netscape Enterprise Server 3.6 as our web
server and WLS 5.1 as web container, both running on AIX 4.3.3.
We want to get rid of the NES (it is buggy and unsupported) but we are
unsure if need to replace it with another web server (e.g. Apache or
iPlanet), or just use WLS 6.1 as both web server and web container.
So the question is: do you have any experience regarding the
performance of the WLS 6.1 web server compared to a standard web
server?
TIA
/\/\orten Hindsholm -
Hi,
we are currently using Netscape Enterprise Server 3.6 as our web
server and WLS 5.1 as web container, both running on AIX 4.3.3.
We want to get rid of the NES (it is buggy and unsupported) but we are
unsure if need to replace it with another web server (e.g. Apache or
iPlanet), or just use WLS 6.1 as both web server and web container.
So the question is: do you have any experience regarding the
performance of the WLS 6.1 web server compared to a standard web
server?
TIA
/\/\orten HindsholmThe main reason that 5.1 is 25% slower than NES or Apache on serving static html
is that NES/Apache do a lot of native I/O and caching ( their code base is C/C++).
6.1 fixed that problem, BEA use native I/O to retrieve static html and img files,
and caching them in memory. Benchmark data shows that they are in par with NES/Apache's
performance. It's pretty safe for you to use 6.1 to host your static contents
and use it as web container at the same time.
My 2 cents.
Jim Zhou.
[email protected] (Morten Hindsholm) wrote:
Hi,
we are currently using Netscape Enterprise Server 3.6 as our web
server and WLS 5.1 as web container, both running on AIX 4.3.3.
We want to get rid of the NES (it is buggy and unsupported) but we are
unsure if need to replace it with another web server (e.g. Apache or
iPlanet), or just use WLS 6.1 as both web server and web container.
So the question is: do you have any experience regarding the
performance of the WLS 6.1 web server compared to a standard web
server?
TIA
/\/\orten Hindsholm
Maybe you are looking for
-
Auto posting of bank clearing account in FF67
Hi, I am trying to complete the manual bank statement however during posting of differenty transaction type it does not post to desired bank clearing account. Where does this bank clearing account set-up for automatic determination when a certain hou
-
Do mini's support dual monitors?
Do mini's support dual monitors? If yes, how are they connected.
-
Decrease the execution time of package
Hi All, In our dataware housing environment ( complete ETL in PL/SQL) . We have different packages to populate different mart tables. One of our package is to populate a table which runs on several times to populate the table with data of different l
-
Hello, I'm working as a cartographer at Port of Rotterdam and frequently work with big maps in Illustrator CS5. As soon as the filesize exceeds 150 MB, and especially when small rasterfiles (mostly jpg's) are placed inside the document, either embedd
-
Exporting for DVD? Please help, I'm going nuts.
Hi all, Pretty huge issue at the moment. I have a deadline to meet and I can't export my movie out of Final Cut to a DVD. How can I export the timeline for a DVD quality finished product? I don't have Compressor installed and I think this is a major