Jserv vs Tomcat
We are testing iAS9 and it cames wit apache Jserv. Now apache is recomending to use tomcat instead jserv, must we chage to tomcat or continue with jserv ?
What about oracle jvm ?
Thanks
Before I would remove Apache JSERV rrom any Oracle IAS version and replace it with TOMCAT or any othe rproduct. I would review the licensing documentation that came with the product.
As i inderstand it, you will be invalidating your Oracle support agreement for that install.
This means any issues you run into in your "modified IAS configuration" will have to be reproduced - by you - in the "IAS product's delivered modules -- as provided by Oracle" -- before Oracle Support can assist you on any bugs that need to be filed with Oracle Development.
Similar Messages
-
Apache with JServ or Tomcat?
What�s your preferences in relation with JSP web server: Apache with JServ module (or another want you considerer better) or Jakarta-tomcat?
I have used both, but I don�t know exactly which one I should use in my new job.
Thank you everybody and good luck!JServ, while fine in its time, is now outdated and will not be updated. If you want to use any features added to the JSP or Servlet API's in recent years, you need to use Tomcat.
-
How to deploy JSP-appl. to JServ, JRun, Tomcat, ...
Or put another way: How do I create a Web Archive File containing
my JSP-appl. that can be deployed to any JSP1.1 compliant server?
My experience is that it is impossible, but if someone can defy that, I'll be glad.
It seems that the methods used in the oracle.jbo... packages for retrieving resources like .properties-files and xml-files that belongs to one specific application, demands that the files be found through the classpath for the JVM.
Hence they must be in the classpath for the JSP-server when it starts,
and cannot be placed in <appl.home>/WEB-INF/classes or in a jar-file under <appl.home>/WEB-INF/lib (where they should be placed, according to JSP spec.)
Is this in fact so, and if it is, does anybody know if Oracle have plans of making the necessary changes in BC4J to correct it?
(Sorry if this issue has been debated earlier...)
Regards,
Erik
nullI think JServ does support JSP 1.1. but Tomcat should work fine.
-
Hi,
Wanted to know regarding the performance difference between apache'Jserv and tomcat.
I'm using apache with Jserv for JSP and i have an search engine application which fetches values from the database and if multiple users are accessing the site at the same time...the JVM goes 100% and the page is not displayed.
I wanted to know that if i switch from Apache and JServ to Apache and Tomcat..will it make any difference performance wise or will it be the same.
Platform: WindowsNT
Backend: Oracle 8i.
Thanks in advance.To my understanfing, JServ was the older jsp container from apache and it is not being developed or maintained anymore. Tomcat is the new apache jsp container and it is activley develped (They release minor version very often).
You can find more info on the tomcat documentation at
http://jakarta.apache.org/tomcat
Ylan -
Servlet forces a download of pdf instead of displaying it
Hi,
First I apologize for the cross posting, but I'm in need of an answer ASAP, and I'm not sure what forum best suits this problem. I have a servlet that retrieves a pdf from a database and displays it. This servlet has been working fine up until recently, when I tested it on SunOne App server. I have been using Tomcat to build my app, and recently deployed it to SunOne to test it on there, but now when I try and view it, I'm forced to download and save the file to my computer. Having tested this servlet app on Jserv and Tomcat(both working fine), I'm guessing that the problem might reside in some kind of SunOne server configuration. Is this possible? I know very little about that side of things. Any help would be much appreciated.
ThanksAre u saying that the computer with SunOne installed should have Acrobat installed aswell, even if I'm accessing the application from another computer which has acrobat installed. Here is some of the code:
long length = 0;
int len = 0;
Blob b = resultset.getBlob(1) ;
InputStream is = b.getBinaryStream();
length = b.length();
byte[] x = new byte[10*1024];
resp.setContentType("application/pdf");
resp.setContentLength((int)length);
DataOutputStream o = new DataOutputStream(resp.getOutputStream());
while ((len = is.read(x)) != -1)
o.write(x, 0, len);
o.flush();
o.close();
Thanks -
Newbie to JSP/Struts: Where to get started
I would like to begin experimenting with JSP and the struts framework. I'm a java newbie but a relatively quick learner.
First, what products do I need to use struts/JSP ?
I have 9iAS standard edition release 1.0.2.1 and an oracle database std edition without the JVM installed. Do I need the JVM in the database ? Can JSP use a JVM outside the database ? Do I need enterprise edition ?
Do I need Jdevelopper 9i or can I learn to use JSP with simple tools (HTML editor) first ?
Does struts need JSP 2.0 spec or the JSP 1.1 that comes with iAS 1.0.2.1 is OK ? Is JSP 2.0 = JSP 1.2 (Like J2EE = JDK1.2 and up) There is a lot of version/naming confusion going on in java, you got any site that can help me untangle this mess ?
Thanks a lot
You can reply to [email protected]Thanks for your response.
We actually use oracle 8.1.7 and 9iAS (PL/SQL gateway and http server). We would like to jump on the Java Bandwagon before we are left in the dust. We first need to be able to understand a lot of technology/concepts/buzzwords.
We started basic Java programming (Applications) but would prefer to get an idea of "The big picture".
By that, I mean, we need to be able to understand/design/architect sound applications and be able to talk to the community and understand what they are saying. Right now, reading the media or forums is just a big bunch of buzzwords that are ever changing and we cannot get a grasp on it.
We not only need to get aquainted with the concepts, but we also need to be able to determine wether product xyz fits in the architecture, etc...
If you were to get a couple of good books to answer some questions, where would you begin ?
Kind of questions we might have are:
- What is the difference between Jserv and Tomcat ?
- What excatly is tomcat ? A replacement for Jserv ?
- Can Jserv be used as a container for struts apps or do you need tomcat ? If you need tomcat, does it come with some version of 9ias ?
- What is a java web service ?
- I read a lot about Enterprise Java Beans etc.. What are they, what are there purpose ? It seems like it is a standard, what are they used for ? If it is a standard, does this mean that If I buy a set of EJB from a vendor, it would offer the same beans as another vendor ? Is Oracle BC4J an implementation of EJB with added functionality ? Is it proprietary ?
- Buzzwords everywhere: MVC, EJB, J2EE, BC4J etc.. What are the definitions.
- Is oracle's java vision proprietary or are they really following the rest of the world ? For example, is BC4J compatible with EJB ?
- What is a Framework
- What exactly is JSP.
- Can STRUTS be used to access an oracle database ? If so, what are the required components (I guess you need JDBC or SQLJ) but does the oracle database need to be java enabled ?
- Even if you use oracle 9ias as an application server, can you use non-proprietary development methods/architectures/techniques that could be easily implemented somewhere else using another vendor's application server (Ex: Apache + Tomcat, WebSphere, etc...)
- Struts seems to be an interesting thing. I see that it was developped to encourage code reuse and prevent everyone from reinventing the wheel. But I cannot understand what exactly a developper had to write before struts was there. I mean, there must be alternatives to strut, if so what is the purpose of the framework ?
A lot of questions, but we need to understand the basics before we jump on the java bandwagon. If we wait, we'll be left in the dust and we need to keep current.
Thanks in advance. -
Is it possible to deploy Java application in Oracle 9iAS
We have a stadard 3-tier system implemented in Java with a presentation-tier(servlets, JSP), middle-tier(business logic, transactions) and a data-tier(Java classes that hold all SQL and so on).
NB We're NOT using EJB's!
For the moment we are running Oracle HTTP server with Apache, Jserv, Ojsp and JRE 1.2.2.
We are now interested in using Oracle 9iAS as application server and we have a few questions about it.
1) Is it possible to to run our Java-code inside Oracle 9iAS?
2) If it is possible, should we run the servlets and JSP there too?
Regards PeterAn interesting fact about 9iAS - unless you do some work to change things around, 9iAS = Apache/JServ. So yes you can deploy your app to it. However, OJSP is a technet product so don't expect any tech support. And Oracle won't let you upgrade JServ to Tomcat, so don't expect Servlet 2.2. And if you want to use Orace Servlet Engine to get Servlet 2.2, you might run into some deployment and performance issues. Read my posting in the 9i Application Server forum.
If, however, you try and meet with more success than I have so far, I will be happy to learn from your experience <grin>.
John H. -
How do i run a servlet??????
running servlets:i downloaded jsdk but how do i run a servlet? i got the error
C:\WINDOWS\Desktop>javac HTTPGetServlet.java
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/M
ain
when i tried to run my servlet, please help
thanksAs mentioned in another post in the thread, servlets run from within a web server that has pre-loaded the jvm and serves web requests. Often they are called 'sevlet containers' as they act like a wrapper program for the actual vm. Tomcat is such a web server, quite a popular one for running servlets, and is considered the reference implementation for a sevlet/jsp server. you can read up on it at...
http://jakarta.apache.org/tomcat/index.html
To get you started, this is what i did to set up tomcat. Im using RedHat Linux at home, so this may differ to what you have to do initially.
First, make sure you have at least the jsdk and jsdk ee installed and the appropiate JAVA_HOME and J2EE_HOME environment variables set.
I am using the Apache web server to handle web page requests on my box. If the request is for a context containing a servlet or jsp file (context is a tomcat term for a particular location or path in the url) then apache passes the request to tomcat via a apache module and a special protocol. Tomcat then runs the .class file or .jsp file, returns the output to apache which then returns the output back to the browser. So initially you should set up and have the apache web server running.
Next download and install the jserv or tomcat module for apache, which apache uses to communicate with tomcat via a special protocol, and the tomcat rpms from...
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.3/rpms/
...Im using 3.2.3 which works fine. you may try the later versions if you like.
Install the tomcat rpms. They should dump a whole lot of stuff in a /var/tomcat directry, including some nice sample and admin apps. if you had downloaded and installed the tomcat-manuals rpm you can find lots of helpful information in the /usr/doc/tomcat-{your version here}/ directry. This is what you should probably read through now!
Once that is done, its simply a matter of adding a reference in your httpd.conf file to the tomcat.conf file in the tomcat/conf dir (if you want to have complete control over the tomcat module and contexts) or tomcat-apache.conf (in the same directry) if youd like tomcat to handel its own configuration of apache. something like...
include /var/tomcat/conf/tomcat.conf
...should do.
then run tomcat start (in /usr/bin/) and apache and away you go. You should be able to point your browser to your.server.com/admin/ and get the tomcat admin tools. This allows you to add view and delete contexts to your server (say for separating different server-side applications). your.server.com/examples/ has some nice stuff as well.
Hope this helps. I warn you im not an expert and haven't looked at this stuff for some time. I probably have something wrong so please, experts, if you see something stuffed up let us know. -
Creating a Web Provider on a separate Application Server
We have developed some JSP and servlet code that requires the JSDK 2.2 and JSP 1.1, so using JServ is not an option for us.
Rather than modify iAS to use Tomcat, I would like to register a Web Provider running on a separate Tomcat box with Oracle Portal.
After following the instructions in the "installing.jpdk.html" document (JPDK January) I have successfully installed a Web Provider in Tomcat and I've verified that Oracle Portal and the provider talk to each other.
However, I can't get any of the sample JSP portlets to function under Oracle Portal. The URL to the Hello World JSP example is:
http://host:8080/auportlets/jpdk/
helloworld/hello.jsp
Consequently, I've made the following changes to the provider.xml file section for the HelloWorldJsp portlet:
<appPath>/auportlets/jpdk/helloworld
</appPath>
<appRoot>[path to tomcat]\webapps\
auportlets\jpdk\helloworld
Yet, Oracle Portal returns the information "500 Internal Server Error" every time I try and access the Hello World JSP portlet.
Any thoughts as to why this isn't working?
Thanks,
BenHello,
I've been trying to get a web provider working with tomcat and 9iAS portal and haven't been successful. First, I tried using a JSP I deployed on tomcat, but keeping JServ for the parallel page engine and stuff. Then, I tried completely replacing JServ with tomcat. I can get the parallel page engine to work, but I haven't been successful getting a web provider working with tomcat. The provider's test page works fine, but I can't get the portlet itself to work. In suggestions on how to get this to work would be great.
Thanks...Joel
[email protected] -
NSAPI version of mod_jserv (Apache), anyone?
I am trying to use iPlanet web server 4.1 and redirect Servlet to Jserv/Tomcat.
Are you trying to redirec to JServ or Tomcat? JServ has been dead a long time now.
Tomcat integration is well documented within the Tomcat docs
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-netscape-howto.html
http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-netscape-howto.html
You do realize that iWS also has a servlet container, BTW? -
Can u plz tell me what is the others web server that the JDeveloper support?
I mean other than the OASJoanne,
It depends on what you are deploying. For DBServlets, we support OAS 4.0.8.1 (see the Release Notes for details), and Java WebServer.
For JSPs, we also support Apache plus JServ or Tomcat.
Laura -
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 -
Http udp listener ..
Hi,
I am trying to develop a wireless service using internet components. Process
message to and from mobile devices using http and app-servers.
Currently the plan is to use http (over tcp) to send and receive messages. There
are consern over costs (tcp is a bit chatty) so I am considering a udp implementation
or http.
Hence I am interesting if anybody has developed / used http over udp.
Thanks
NickJoanne,
It depends on what you are deploying. For DBServlets, we support OAS 4.0.8.1 (see the Release Notes for details), and Java WebServer.
For JSPs, we also support Apache plus JServ or Tomcat.
Laura -
Can anyone tell me that why 9i is integrated with jserv not with tomcat? Actually, Apache is no longer to develop the module of jserv.
nullLisa,
We have not certified or tested this configuration.
I have heard rumors of a developer that did get this configuration to work, although it was difficult to set up and configure.
Rich -
Is it possible to swap the JServ engine (supports Java Servlet 1.1) that comes with 9iAS with Apache's Tomcat v3.1.2 (which supports Java Servlet 2.2 and JSP 1.1)?
Has this been tested or certified by Oracle?Lisa,
We have not certified or tested this configuration.
I have heard rumors of a developer that did get this configuration to work, although it was difficult to set up and configure.
Rich
Maybe you are looking for
-
In the new version of Pages, the text in the tables are no long clear and sharp as before, they look embedded on all print outs. How can I change this.
-
Event 1053 ActiveSync doesn't have sufficient permissions to create
Hello all and thanks in advance. Exchange 2007 to 2013 co-existence. All email now routed (proxies) through 2013 server. For everyone, Outlook functional, OWA functional and for everyone else on the old server, EAS is functional. I only have three
-
Hi All, We need to sort check printing depending on the payroll area. The scenario below present the clear picture of our requirement. Say for eg, we have three payroll area P1 P2 P3 Now if i payroll area is P1 then the check should be printed based
-
Hi, Can anybody explain me what is Inventory ageing report,vendor ageing report? Pls explain in detail. Thanks in advance. Regards Gitesh
-
What's the best way to keep two computers synchronized?
I just got Lr4, which I use in addition to CS5.5 Design Premium, and I want to use Lr as the primary raw file manager and editor. I keep my work and home computers synchronized via a 2TB external drive that fits in my pocket, and SmartSync Pro softwa