Jsp web server ratings
Would like to know your opinions on which open source application/licenced server you find most effient for serving jsp pages on a live environment.
For example
Websphere
Weblogic
Glassfish
Apache tomcat
Apache http server
Resin
Jboss
Orion
Bluestone
What I will be looking for a s a good one is one that lets me easily integrate e.g php and has good GUI for setting up configurations.
Please let me now your experiences/set-backs in these areas.
Thanks in advance
Edited by: Preaching on Mar 25, 2008 9:04 AM
Preaching wrote:
Would like to know your opinions on which open source application/licenced server you find most effient for serving jsp pages on a live environment.
define "efficient".
WebspherePOS
WeblogicOverly sensitive
GlassfishSlow
Apache tomcatGood
Apache http serverIrrelevant (does not support JSP)
ResinGood, but wrong license
JbossUses Tomcat to serve JSP, so see Tomcat
OrionOutdated
BluestoneNever heard of it, which probably means it's rubbish (or I'd have heard of it)
What I will be looking for a s a good one is one that lets me easily integrate e.g php and has good GUI for setting up configurations.
A configuration file and VI is all the "gui" you need. In any serious deployment scenario it's all you'll have access to anyway,
Similar Messages
-
I am novice in jsp. Can i know if there is any jsp web server comparison available? from my search result, most are comparing old version of jsp web server. Can any one mind to share? (on you experience as well? or which jsp webserver have u experienced how is the respond?)
The best summary of j2ee servers I know of is here:
http://www.theserverside.com/reviews/matrix.tss
There are a few reviews linked from that page.
If you are just after a servlet/jsp container, Tomcat seems to be pretty much standard. -
Install a test JSP Web Server on a mac for a PHP developer
I am looking to write some simple JSP pages. I need a Java web server and the development kit [JSPWDK or is it JSWDK?]
I have only Java SE 6.0 installed on my mac. I have Snow Leopard OS.
I had trouble in the downloads finding the right one, but I downloaded the
jswdk_0_1_solsparc.tar.z
I was looking for a regular UNIX JSWDK and didn't find one?
Will the Solaris Sparc version work for a mac?
I have apache on my mac. I normally use PHP but for a web project.
I need the JSP server.
Can I install the JSP Server on my mac along with the Apache server. This is only for development.
I have got Zend Framework for PHP running on my mac so I don't want to mess up too much for this test.
Thanks for any advice or any pages anywhere to help but I can install from a tar file if there isn't too much configuration.
TIA.Hi,
If you need to install a full development environment with Tomcat in Mac OSX take a look at my tutorial at http://jmaw.blogspot.com.es/2012/08/minimo-entorno-de-desarrollo-java-mac.html. The blog has translation if you need it.
I hope I can help. Also you can. Install both servers taking care of the ports, usually Tomcat listens requests by the port 8080 while Apache server listens requests by the default http port 80.
Best regards,
Jmaw -
How to make weblogic proxy to work on Sun Java system web server 7?
Hi Every one,
I am working on upgrade our Sun one 6.1 webserver to Sun Java system web server 7. Our website uses weblogic server to process jsp, web server only send static pages. I did all configurations as on Sun one. But somehow, the webserver does not forward "get jsp page" request to weblogic. The log record is:
for host 10.78.124.118 trying to GET /home.jsp, send-file reports: HTTP4142: can't find /www/a/WebServer7/docs/bmd9i/home.jsp (File not found)
home.jsp is at weblogic server.
And redirect "NameTrans fn="redirect" from="/" url="/home.jsp"" seems does not work. when I type on IE http://32.69.253.131/ (32.69.253.131 is http listener IP), it always shows index.html page under the document root.
Could some on can help? I am the first time to configurate web server. Thanks in advance.
The configuration files are like:
1. magnus.conf
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="/www/a/WebServer7/weblogic6.1sp6/libproxy.so"
Init fn="wl_init"
2. obj.conf
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# You can edit this file, but comments and formatting changes
# might be lost when you use the administration GUI or CLI.
#<Object name="weblogic">
#Service fn="wl_proxy" WebLogicCluster="32.69.253.86:7210" ConnectTimeoutSecs="240" ConnectRetrySecs="60"
#</Object>
<Object name="default">
<Client method="TRACE">
AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="content-length: -1" error="501"
</Client>
#AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
NameTrans fn="strip-params"
NameTrans fn="redirect" from="/" url="/home.jsp"
NameTrans fn="redirect" from="/index.jsp" url="/home.jsp"
NameTrans fn="redirect" from="/index.html" url="/home.jsp"
NameTrans fn="document-root" root="$docroot"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/www/a/WebServer7/lib/icons" name="es-internal"
NameTrans fn="home-page" path="index.html"
<If $uri =~ "/*.jsp">
Service method="(GET|HEAD|POST|PUT)" fn="wl_proxy" WebLogicCluster="32.69.253.86:7210" ConnectTimeoutSecs="240" ConnectRetrySecs="60"
#Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl_proxy" WebLogicCluster="32.69.253.86:7210" ConnectTimeoutSecs="240" ConnectRetrySecs="60"
</If>
PathCheck fn="unix-uri-clean"
PathCheck fn="check-acl" acl="default"
PathCheck fn="find-pathinfo"
PathCheck fn="find-compressed" check-age="off" vary="on"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain" charset="iso_8859-1"
ObjectType fn="set-default-type" charset="iso_8859-1"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="send-error"
Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
AddLog fn="flex-log" name="access"
</Object>
<Object name="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>
<Object name="send-precompressed">
PathCheck fn="find-compressed"
</Object>
<Object name="compress-on-demand">
Output fn="insert-filter" filter="http-compression"
</Object>
3.mime.types
I add one line: type=text/jsp exts=jspQuick obvious question - Are you positive you're editing the correct obj.conf? Check the config directory and see if there is a second one called something like <instance>.obj.conf (where <instance> is the name of your configured instance).
Alternatively you can grep for object-file in the server.xml to see which obj.conf the server is using:
# grep object-file server.xml
<object-file>bare-php.obj.conf</object-file>Assuming that you are editing the correct obj.conf file, are you making certain to restart Web Server after making your changes? -
JSP to Upload file from client machine to Web Server!
Hi,
I want to upload a file from client machine to web server in order to send it as email attachment, How can I do it? After uploading the file the class should give me the path where the file is stored on the web server and the file name in return!
I know the HTML <file> field but dont know how to copy it on web server, HTML Part will be:
<FORM ENCTYPE="multipart/form-data"
method="POST" action="My.jsp">
<INPUT TYPE="file" NAME="mptest">
<INPUT TYPE="submit" VALUE="upload">
</FORM>
Please help!
Thanks,
- RahulYou can use cos.jar provided by O'Reilly from http://www.servlets.com/cos/. Take a look at com.oreilly.servlet.multipart.* classes.
Package is provided with source, classes, documentation and, of course, ready-to-use jar file.
It is really usefull and - ready! -
Upload JSP web site to Tomcat web server
Hi,
I have created a JSP web Application in my localhost. Here as my web/Application server I used Sun java system Application server.
Now The site is ready to upload to its remote location.
Since this is my first attempt to JSP web site I have ask some help from you guys.
Now the problem is on our remote server we have Apache Tomcat/5.5.17
Is it a possible to Put our local site there at tomcat.
Then How can I do that.?
Thanks!Hello,
VSTO doesn't provide anything for this. Instead, I'd suggest asking web site related questions at
http://forums.asp.net/ . There you will get the most qualified feedback. -
hi all,
i am new 2 the field of JSP & web servers.
i have installed apache web server on a unix box. i am invoking the jsp files from a win - 2000 machine.
i want to know if the apache web server can interprett the java code (JSP)that is embedded in html. if not what other web server should i use.
The jsp code is not being interpretted. the output for the foll code is:
HELLO WORLD
HELLO WORLD
<HTML>
<TITLE>
HELLO
</TITLE>
<BODY>
HELLO WORLD
<br>
<%= new java.util.Date() %>
HELLO WORLD
<% System.out.println("HELLO ALL") %>
</BODY>
</HTML>
Do i have to use some other server like Blazix or will apache web server do the job for me???
thanx in advanceDouble-posted:
http://forum.java.sun.com/thread.jsp?forum=45&thread=388900&tstart=0&trange=30 -
Configuring Sun One Web Server 6.1 SP4 to run JSPs
I have a web application that uses HTML, Servlets, Javascript, and JSPs and accesses an Oracle 10g database. So far, I have configured the web server to run the HTML, Javascript, servlets, and Access the database. I have not been able to figure out how to execute the JSPs. I get an error stating the the JSPs cannot be compiled into servlets. My web browser displays a message indicating that this could be a misconfiguration of the web server. If anyone could provide some insight, I would greatly appreciate the help!
This is the entry in the Web Server error log:
[17/Mar/2005:14:55:55] failure (13130): for host 147.103.44.38 trying to GET /SI/NewSIForm.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSP /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:11: 'class' or 'interface' expected import javax.servlet.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:12: 'class' or 'interface' expected import javax.servlet.http.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:13: 'class' or 'interface' expected import javax.servlet.jsp.*; ^ /opt/SUNWwbsvr/https-fredricksburg/ClassCache/https-fredricksburg/default-webapp/_jsps/_SI/_NewSIForm_jsp.java:14: 'class' or 'interface' expected import org.apache.jasper.runtime.*; ^ 4 errors at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764) at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624) at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401) at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509) at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161) at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578) -
How to use JSP in apache web server
hi all,
can anybody tell me how to use JSPs in Apache Web Server.
Thanks
sirYou would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
HTH -
Getting errors while running jsp on sunone web server 6.1
While i created war file and delpoyed my application on web server6.1, it loads default jsp(welocme.jsp) page fine. but when I submit data it gives me following error.
[06/Oct/2003:09:17:53] info ( 600): Internal Info: loading servlet /custapprec/bonus.jsp
[06/Oct/2003:09:17:58] info ( 600): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
C:\iPlanet\Servers\https-NVS06S-W2K.abc.com\config\..\ClassCache\_jsps\_custapprec\_bonus_jsp.java:63: Class myBean.BonusBean not found.
myBean.BonusBean Bonus = null;
^
C:\iPlanet\Servers\https-NVS06S-W2K.abc.com\config\..\ClassCache\_jsps\_custapprec\_bonus_jsp.java:65: Class myBean.BonusBean not found.
Bonus= (myBean.BonusBean)
^
C:\iPlanet\Servers\https-NVS06S-W2K.abc.com\config\..\ClassCache\_jsps\_custapprec\_bonus_jsp.java:69: Class myBean.BonusBean not found.
Bonus = (myBean.BonusBean) Beans.instantiate(this.getClass().getClassLoader(), "myBean.BonusBean");
^
C:\iPlanet\Servers\https-NVS06S-W2K.abc.com\config\..\ClassCache\_jsps\_custapprec\_bonus_jsp.java:73: Variable Bonus may not have been initialized.
pageContext.setAttribute("Bonus", Bonus, PageContext.PAGE_SCOPE);
^
4 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:427)
[06/Oct/2003:09:17:58] warning ( 600): Internal error: Failed to get GenericServlet. (uri=/custapprec/bonus.jsp,SCRIPT_NAME=/custapprec/bonus.jsp)
anybody can please help me with this error?
ThanksYour stack trace indicates classes that are not part of Sun ONE Web Server 6.1 (e.g. com.iplanet.server.http.servlet.NSServletEntity) but are classes in earlier releases of the web server. It looks like your web application contains classes or .jar files that contain an older implementation of the JSP engine from a previous web server release. Remove these and give it another try.
-
How do I configure a Sun One Web Server 6.1 to run JSP pages
I have a Sun One Web server version 6.1 running on Solaris 10.
The web server is not configured to run JSP pages. When I try and run a JSP page, I get an HTTP 405 error.
Can somebody please point me to the configuration directions, including changes to the obj.conf, magnus,.conf, etc.
ThanksWeb Container is enabled by default.
Here are my config files
$tail -1 magnus.conf
Init fn="load-modules" shlib="/export2/ws6.1sp11/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"$cat obj.conf
# You can edit this file, but comments and formatting changes
# might be lost when the admin server makes changes.
<Object name="default">
AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
NameTrans fn="ntrans-j2ee" name="j2ee"
NameTrans fn="pfx2dir" from="/mc-icons" dir="/export2/ws6.1sp11/ns-icons" 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,index.jsp"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
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|POST)" type="*~magnus-internal/*" fn="send-file"
Service method="TRACE" fn="service-trace"
Error fn="error-j2ee"
AddLog fn="flex-log" name="access"
</Object>
<Object name="j2ee">
Service fn="service-j2ee" method="*"
</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="es-internal">
PathCheck fn="check-acl" acl="es-internal"
</Object>JAVA settings in server.xml:
<JAVA classpathsuffix="" debug="false" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1" envclasspathignored="true" javahome="/export2/ws6.1sp11/bin/https/jdk" nativelibrarypathprefix="" serverclasspath="/export2/ws6.1sp11/bin/https/jar/webserv-rt.jar:${java.home}/lib/tools.jar:/export2/ws6.1sp11/bin/https/jar/webserv-ext.jar:/export2/ws6.1sp11/bin/https/jar/webserv-jstl.jar:/export2/ws6.1sp11/bin/https/jar/ktsearch.jar">
<JVMOPTIONS>-Djava.security.manager</JVMOPTIONS>
<JVMOPTIONS>-Djava.security.policy=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/server.policy</JVMOPTIONS>
<JVMOPTIONS>-Djava.security.auth.login.config=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/login.conf</JVMOPTIONS>
<JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
<JVMOPTIONS>-Xmx256m</JVMOPTIONS>
<SECURITY anonymousrole="ANYONE" audit="false" defaultrealm="native">
<AUTHREALM classname="com.iplanet.ias.security.auth.realm.file.FileRealm" name="file">
<PROPERTY name="file" value="/export2/ws6.1sp11/https-alamanac.india.sun.com/config/keyfile"/>
<PROPERTY name="jaas-context" value="fileRealm"/>
</AUTHREALM>
<AUTHREALM classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm" name="native">
<PROPERTY name="jaas-context" value="nativeRealm"/>
</AUTHREALM>
<AUTHREALM classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm" name="ldap">
<PROPERTY name="directory" value="ldap://localhost:389"/>
<PROPERTY name="base-dn" value="o=isp"/>
<PROPERTY name="jaas-context" value="ldapRealm"/>
</AUTHREALM>
<AUTHREALM name="solaris" classname="com.iplanet.ias.security.auth.realm.solaris.SolarisRealm">
<PROPERTY name="jaas-context" value="solarisRealm"/>
</AUTHREALM>
</SECURITY>
<RESOURCES>
</RESOURCES>
</JAVA> -
How to run a report jsp on a Web Server
Hi,
I've been working as plsql developer for many years, but I'm completely new on Oracle Reports.
My question is very simple.
I've tried to create a report by using the Wizard and once finished I see that, if I try to save the report, it's saved as .jsp
Does this mean that I can simply save my .jsp on a Web Server (for instance Tomcat) and run it on a browser?
Thanks!No, you need the Reports Server (as part of the Application Server or Weblogic, depending on your version).
I try to save the report, it's saved as .jspThat depends. You can save it as a .rdf file too (so called Paper Layout). I think this option is used more often. -
Why are JSP pages not being processed on iPlanet Web Server 4.1.
JSP's have been enabled under the Servlets tab and the Path variables have been set on the Configure JRE/JDK page as recommended. Servlets are running but JSP's are NOT. Any ideas as to why JSP's are not running?
Stephen,
You need to install and point iWS to an external JDK as well.
Try these instructions below and see if this works for you:
1) Install your JDK. Make sure that all OS patches needed by the JDK are installed.
2) Verify that the JDK installed correctly by going to /<JDK_INSTALLATION_HOME>/bin/java -version You should see version information if the bits are working properly.
3) Install the webserver. When prompted to use the included JRE or to use an internal JDK, choose to use the internal JRE. DO NOT specify an external JDK during installation.
4) Startup the Admin Server instance at /<server root>/https-admserv
5) Access the Admin Server through the web interface.
6) Go to Global Settings | Configure JRE/JDK Paths.
7) Click on the JDK button and enter into JDK Path the path to the top level of your JDK path, ie /usr/jdk12205a. Leave the JDK Runtime Libpath and JDK Runtime Classpath field blank. Click OK, Save and Apply. If you encounter a problem when clicking OK, close out your browser and stop and start the https-admserv instance from the command line.
8) Stop and start the Admin Server instance.
9) Startup the webserver instance at /<server root>/https-<instance>
10) Create a servlet directory under /<server root>/docs
11) Copy HelloWorldServlet.class from /<server root>/plugins/samples/servlets/servlets/HelloWorld and place them in your servlet directory.
12) Copy HelloWorld.jsp from /<server root>/plugins/samples/servlets/jsp.092/HelloWorld and place them in your document root.
13) Access your webserver as a client and hit the HelloWorld servlet using the URL http://<myserver>/servlet/HelloWorldServlet
14) Access your webserver as a client and hit the HelloWorld jsp using the url http://<myserver>/HelloWorld.jsp
15) Your webserver is now running servlets using the JDK.
Keep in mind: Do not specify the JDK path during the installation. -
Deploying probelom in jsp in java web server
hai
im using java web server as server
the probelom is - im using "jsp usebean " to connect class file
but i stored my classes files in \classes directory
whenever i called that usebean ,it tell classpath not found or file not found
i dont know where to deploy bean .class file in java web server
please any one help me its urgent
advance thanx for responding
vasleeHi.
May be you have mistake at <jsp:usebean />.
Paste your <jsp:usebean /> tag and people may be help you.
Victor Letunovsky. -
Hi,
Can I use JSPs and Servlets without using the Application server in the web server?Hi,
By default JSP and Servlets are supported by iWS/SUN ONE Web Server. For iWS till version 4.1 you need to manually enable the servlet engine and jsp. This can be done from the Server side, goto admin mode, select the server for which you want to activate the JSP, select servlet tab and click on appropriate radio button (YES) for Enabling JSP's and Servlet's.
NOTE: If you disable Servlet engine and JSPs are enabled, JSPs will also be disabled.
From version 6, JSP support is enabled by default.
Regards
Srini
Maybe you are looking for
-
My computer crashed and I lost my hard drive. I have downloaded the Itunes on my new computer. I am afraid to sync my I phone as I don't want to loose everything on it and my I Tunes is blank - not what I had previously. ???? Can someone advise?
-
OBIEE web services: unable to get an html working report
Hi all, I am trying to get an html report using the OBIEE webservices and I am facing some problems when I try display the report. I have browsed a lot of websites and my conlusion is thah I might have missed the setBridge method even if I haven't re
-
RWB Component Monitoring - Cache Connectivity Test failure
Hi, I have done the Cache Connectivity test in RWB-Component monitoring. For the Integration Server - Integration Engine XYZ. I am getting error Result of Self-Test Can the SLD be reached? ... Details OK Does the Integration Engine know the
-
Hi all, Please tell me steps to create the new BSP application page as we have SAP4.7. Regards,
-
How to find routers with multiple bgp neighbors using baseline templates?
Running LMS 4.1 5k on Windows We have around 400 routers on a MPLS network. Only few of these have more than one BGP neighbor. We need to enable some bgp traps so we know when a bgp neighbor is down. How would I write a baseline template to check if