Some tutorial for Tomcat Web Server
Hi,
I would like to know where I can find a downloadble tutorial about
Tomcat web server.
I am a begginer in Java technologies and I have a question.
,Tomcat web Server works also like App Server? and Can Apache web
server works together Tomcat app server? and if it possible, How?
Give me an example, please.
Thanks a lot,
ras283
You can go to apache.org for information.
Tomcat can work with Apache, but it only serves JSPs and servlets (and static pages, if you don't want to bother with Apache).
The J2EE Reference Implementation (j2sdkee1.3.1) includes Tomcat, and functions as an app server as well. See the J2EE tutorial http://java.sun.com/j2ee/tutorial/1_3-fcs/index.html and Java Pet Store demo http://interstagedemo.fs.fujitsu.com:8000/petstore/index.jsp / http://java.sun.com/features/2001/12/petstore13.html
Similar Messages
-
Business Objects Enterprise XI 4.0 / Linux / Oracle / Tomcat Web Server
Hello Experts,
I have never done a BOBJ install before and I have some questions:
First, here is our setup: Business Objects Enterprise XI 4.0 / Linux / Oracle / Tomcat Web Server
1. We are being asked how big u2013 disk space- to make the server. All I can find is 14 GB for an English only install, there is no documentation on how big the databases need to be. Does anyone have any experience and can tell me how big the databases are going to be initially? I need to tell the server team how much space to put on the server.
2. The documentation says to have two databases or schemas, one for Central Management Server and one for the Auditing Data Store. My question around this is whether there is a preferred way to do it, separate databases or separate schemas?
3. The documentation does not say anything about the file system layout, do we need to create the standard SAP file system layout (i.e. /sapmnt, etc.)
Many many thanks in advance, any advice would be a greate help .. please help
Regards,
Sunil PatelHi,
here are some answers:
1. Well for the Installation of the Software as itself (not the databases) i would recommend at least 30 GB. All the Reports are getting stored physically in the installation directory. This behavior is by default. Later you can move the FileStore (where the Reports, Universes, etc. are located in) to a NAS share f.e.
With Regards to the Databases i would recommend 1 GB for the CMS DB and 5 GB for the Audit DB. It depends on how you Audit your System. If you audit more actions, more information in the Audit DB will be stored.
2. 2 Schemas on one DB is fine
3. Usually you run a BOE installation on UNIX/LINUX under an installation user. BOE will be installed into his Home Directory.
Regards
-Seb. -
How to set the servlet context path manually in Tomcat web server.
I tested some servlets by putting them in the folder , which the tomcats examples application uses (ie Tomcat 4.1\webapps\examples\WEB-INF\classes\) and it appeared to be working fine.
I was calling the servlet like this : http://localhost:2006/examples/servlet/TestServlet
But when I installed my own WAR file in the server , the servlet is not working now. now the new location of my servlets is : Tomcat 4.1\webapps\MyApp\WEB-INF\classes\
and I'm trying to call the servlet like this : http://localhost:2006/MyApp/servlet/TestServlet
The error , what i'm getting is :
description :The requested resource (/MyApp/servlet/TestServlet) is not available.
Some body please tell where I'm making the mistake ? I believe this may have something to do with the servlet context path setting. If anybody has any idea , how to set the path..will be much appreciated.Thanx for your reply , at first I was not using any web.xml(since not mandatory) but even after using the web.xml file the error is coming . Please have a look into the contents of the web.xml file and let me know if you find any problem...
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>TestServlet</servlet-name>
<servlet-class>TestServlet</servlet-class>
</servlet>
</web-app>
one more thing I would like to tell you here. I was just looking into the configuration of Iplanet web server..I found that , there are options to set the servlet container path (like : - Prefix: /servlet
Servlet Directory: /ecomm/iplanet/nes60/product/docs/container )
so from here I came to know that "container " is the folder where we should put our servlets and it has URI as "servlet" but yet I'm not able to find any option in the Tomcat Web server to set the servlet container to any different directory.
If you have any idea please let me know. -
hello
i am a italian newbie for java world, and i would want to make you a question:
for resolving a problem with tomcat web server i must interpretate the following sentence: The best fix is to turn off automatic webapp reloading for the application: in Tomcat's server.xml, find the <Context> declaration, and ensure it is set to: reloadable="false".
there is someone who knows well the tomcat server.xml configuration file?
thank you very much
ps: sorry for my english!hi :-)
when you have a new class, you put it in /WEB-INF/classes/ right?
tomcat doesnt load this automatically,
you have to start-stop tomcat to apply your changes.
when reloadable option is set to true (ex. reloadable="true" )
you dont need to start-stop tomcat because tomcat will
automatically load it for you.
its ok for me in development stage,
but when you deploy your application for production,
its no longer advisable.
why?
because setting it to reloadable to true eats much resources on the server :-(
imagine you have 5000 class and when your setting is autoreload.
this might cause your server to hang.
its better to just stop the server, put your classes then start again the server.
i have to go home for now, i hope i give an idea :-)
regards, -
Hi experts,
I have been working with Eclipse for last 1 month. I was just working with Portal application component development and publishing it to the SAP EP J2EE server everything worked fine.
I have eclipse,JDK,Tomcat3.3.2 installed in my laptop and EP J2EE engine runs on the server.
Now i studied online regarding the development process with eclipse, The portal application component is published to Tomcat web server first and tested for possible errors and then published to the EP J2EE server. How this process is handled?
Can any expert explain on this and provide me link to make the required configuration of eclipse for publishing to tomcat web server?
Thank you
arunWell, the answer I found was that I have an invalid character that is not supported yet by the WAS, the character is "ñ".
Using Eclipse and deploying in Tomcat worked fine but in WAS 7.0 SP 8 it throws ParseExceptions
Regards -
PDF has not been configured for this web server linux 11.1.2
Hi,
We installed 11.1.2 Hyperion WorkforcePlanning on Linux 32 bit OS.
When the user opens the workspace and tries to see the "Profit and Loss" and selects
"File --> Open In --> PDF format" , it just flicks for a sec and gives following message :
" PDF has not been configured for this web server"
Can somebody suggest me what to do ?
Appreciate your response.
Edited by: user536857 on Mar 22, 2011 3:07 PMCheck your print server service on your foundation server, sometimes I have had that just stop for whatever reason.
-
Specification for the Web server
Hi All,
We have BW3.5.
Presently web server is running in the production box itself.
We are planning for a separate box for the Web server.
Please give me the tips for the hardware config for the Webserver.
Thanks
BillyHi,
1) Currently there is no WSRP or JSR support
but this will be soon "standard" for all portals!
2) Device detection is available. Mobile Access pack will
be available soon. (It is available now for portal 3.0)
Cheers,
Alex :-) -
Financial Reporting - PDF has not been configured for this web server.
When I try a Print Preview of my report, I received this error "PDF has not been configured for this web server".
As far as I know, this error is confusing because when I look on my log files I found this:
--- FRLogging.log ---
[APP: FINANCIALREPORTING#11.1.2.0] The system cannot access the Print Server at this time. Try again later or confirm the print server name.
[APP: FINANCIALREPORTING#11.1.2.0] Cannot connect to server on xxxHFRCE04.cf.gouv.qc.ca
[APP: FINANCIALREPORTING#11.1.2.0] Attempt to get an undefined configuration property
--- FRPrintLogging.log ---
HyperionReportException: Could not connect to the server.Please make sure that the server is running as specified in the logon dialog (including port number if not default).
I read a lot of document but it seem to be au communication issues!!!
Can someone help me with that.I believe the supported version for ghost script is 7.0.6; I had the same problem and after installing the lower version it worked like a charm.
If you cant find the older version let me know, I'll email it to you or place it in my website. -
Jaxa xml tutorials, does anyone have some tutorial for using xml in java??
jaxa xml tutorials, does anyone have some tutorial for using xml in java??
can be dom,sax,jaxp whatever....
i try to find in google but din't find any complete one....dapim wrote:
jaxa xml tutorials, does anyone have some tutorial for using xml in java??
can be dom,sax,jaxp whatever....
i try to find in google but din't find any complete one....I would imagine anyone here would just produce the same set of hits that you did, so why waste our time doing it only to direct you to the same one(s) you already found and rejected. -
Error - No cookies
Your browser does not support cookies, which are required for this web server to work in session authentication mode
This is a NOSCRIPT PROBLEM and NOT a Firefox problem.......
when disabled it works JUST FINEError - No cookies
Your browser does not support cookies, which are required for this web server to work in session authentication mode
This is a NOSCRIPT PROBLEM and NOT a Firefox problem.......
when disabled it works JUST FINE -
I'm going to be making a web server/torrent tracker/torrent seed (hopefully) from Arch on an old-ish HP NetServer E 800. I was going to go with Debian, but I like the KISS Arch brings and with a server on the slim hardware I'm using, even Debian is too big esp. compared to Arch. [If the hardware's not up to Arch (highly doubtful) I'll have to resort to *gasp* Gentoo.]
I saw the tutorial on the wiki for Arch with Apache, LAMP, etc. so that's fine. I do, however, have a question about torrent stuff. I'm wanting to track and seed my band's torrents off the same machine (obviously, it won't be the sole tracker; TPB/Mininova/etc.), where its site is (two separate domains: .com for the main site, .org for the email, legal stuff, and BT tracker).
I am planning on using XBTT as the tracker and XBTC + web interface as the seed client. My main (and only, as of yet) problem is that there are no instructions on the XBTT site or Arch wiki for using Arch with XBT(T/C). I guess the only difference is getting the tools needed. Are these included with Arch, in the main repos, or somewhere available for Arch? Also, would there be a conflict seeding from the same machine the tracker is on?
If that doesn't work, I'm thinking Opentracker. I don't expect too many peers but we might get Dugg, Slashdotted, Stumbled, or promoted by TPB (they like when bands release over BT). So, I want a tracker than can handle the unlikely event of a large number of peers.
Also, does anyone know of a Python frontend to XBTT? PHP is fine, but really prefer Python to integrate with the remainder of the site.
Thanks in advance,
Sajromanasij7479 wrote:3.This should be an stfw type of question, but I'm really confused about which way to go for a remote desktop connection.
So, I'd like to hear any experience, positive or negative, on that matter.
Note that my main machine will have an extra monitor,on which I'd like to ocassionaly 'see' the server.
I second/third/forth screen. Ask yourself if you really need a GUI for a server--chances are, the answer is a "no." Screen is handy because you can detach it from anywhere and then resume right where you left off. ctrl+a followed by "d" to detach, screen -r to resume (or -rd if you need to resume and detach a running instance). GUIs are mostly overkill for this use case, IMO.
I have a very similar setup with a cheapish AMD CPU, large disks, and a fair amount of RAM running mostly as a file server/router/miscellaneous box (NFS/SMB, also as a web server, IPv6 gateway, and other odds and ends). I have one of the monitors of my desktop plugged into it in the event I actually need to see it (rare, but can happen if something occurs with the network).
I think you'll find after some experimentation that it's a lot easier to manage and run than you might expect. The same drawbacks that apply to Arch desktops apply to servers as well, probably more so: Regular maintenance updates aren't likely to happen depending on how you use the server, so you need to keep up on the news and bookmark important entries for whenever you do have time to update it. Be extra sure to update it only when you have an hour or two to spare, particularly if you come to rely on that machine to be up and running.
Perhaps the more serious drawback of having an always on (or almost always on) server is that you'll find far more uses for it than you originally anticipated. -
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 -
Hello
I am trying to learn something new here. We have web server inside our organization its IP address is 172.16.0.35. We want outside Internet users to access web server, How is it possible? Please have a look at the running configuration. Web server is working inside the organization but not at outside. Our Static Public IP is 197.255.232.15 it is assigned to Inetrface Gigabit ATM0.1 and ISP default GW is 197.255.232.1. Let me know whats next? How do I make web server inside the organization available for outside Internet users. Thank you.
Building configuration.
Current configuration : 1983 bytes
! Last configuration change at 17:57:15 UTC Sat Jan 24 2015
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname router_test
boot-start-marker
boot-end-marker
no aaa new-model
memory-size iomem 10
ip dhcp excluded-address 172.16.0.34
ip dhcp pool test
network 172.16.0.32 255.255.255.224
dns-server 197.255.224.18 197.255.224.66
default-router 172.16.0.34
lease 9
ip cef
no ipv6 cef
license udi pid CISCO887VA-K9 sn FGL1818236L
controller VDSL 0
interface Ethernet0
no ip address
shutdown
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
no atm ilmi-keepalive
interface ATM0.1 point-to-point
description ATM Routed Bridge Encapsulation (RBE) Internet
ip address 197.255.232.15 255.255.248.0
ip access-group netin in
ip access-group netout out
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip virtual-reassembly in
atm route-bridged ip
bridge-group 1
bridge-group 1 spanning-disabled
pvc 0/35
encapsulation aal5snap
protocol ip inarp
interface FastEthernet0
no ip address
interface FastEthernet1
no ip address
interface FastEthernet2
no ip address
interface FastEthernet3
no ip address
interface Vlan1
description Lan
ip address 172.16.0.34 255.255.255.224
ip nat inside
ip virtual-reassembly in
ip tcp adjust-mss 1454
interface Dialer1
no ip address
ip default-gateway 197.255.232.1
ip forward-protocol nd
no ip http server
no ip http secure-server
ip nat inside source list natlist interface ATM0.1 overload
ip nat inside source static tcp 172.16.0.35 443 197.255.232.15 443 extendable
ip route 0.0.0.0 0.0.0.0 ATM0.1 197.255.232.1
ip access-list extended natlist
permit ip 172.16.0.32 0.0.0.31 any
line con 0
no modem enable
line aux 0
line vty 0 4
login
transport input all
end
http://pastie.org/9858814Hi Karsten Iwen
I deleted ( ip access-group netin in and ip access-group netout out) but it still does not work
my config :
Building configuration...
Current configuration : 2267 bytes
! Last configuration change at 15:43:06 UTC Wed Jan 28 2015
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname router
boot-start-marker
boot-end-marker
no aaa new-model
memory-size iomem 10
ip dhcp excluded-address 172.16.0.34
ip dhcp pool my
network 172.16.0.32 255.255.255.224
dns-server 197.255.224.18 197.255.224.66
default-router 172.16.0.34
lease 9
ip cef
no ipv6 cef
license udi pid CISCO887VA-K9 sn FGL1818236L
controller VDSL 0
interface Ethernet0
no ip address
shutdown
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
no atm ilmi-keepalive
interface ATM0.1 point-to-point
description ATM Routed Bridge Encapsulation (RBE) Internet
ip address 197.255.232.15 255.255.248.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
no ip virtual-reassembly in
atm route-bridged ip
pvc 0/35
encapsulation aal5snap
no protocol ip inarp
interface FastEthernet0
no ip address
interface FastEthernet1
no ip address
interface FastEthernet2
no ip address
interface FastEthernet3
no ip address
interface Vlan1
description
ip address 172.16.0.34 255.255.255.224
ip nat inside
no ip virtual-reassembly in
ip tcp adjust-mss 1414
interface Dialer1
no ip address
ip default-gateway 197.255.232.1
ip forward-protocol nd
no ip http server
no ip http secure-server
ip nat inside source list natlist interface ATM0.1 overload
ip nat inside source static tcp 172.16.0.35 443 197.255.232.15 443 extendable
ip route 0.0.0.0 0.0.0.0 ATM0.1 197.255.232.1
ip access-list extended natlist
permit ip 172.16.0.32 0.0.0.31 any
line con 0
no modem enable
line aux 0
line vty 0 4
end
Router#sh ip nat translations
Pro Inside global Inside local Outside local Outside global
tcp 197.255.232.15:5183 172.16.0.33:5183 212.95.74.5:80 212.95.74.5:80
tcp 197.255.232.15:5196 172.16.0.33:5196 212.95.74.5:80 212.95.74.5:80
tcp 197.255.232.15:5602 172.16.0.33:5602 174.129.246.27:80 174.129.246.27:80
tcp 197.255.232.15:5785 172.16.0.33:5785 31.13.93.3:443 31.13.93.3:443
tcp 197.255.232.15:443 172.16.0.35:443 --- --- -
Is there any API for connecting web server and iphone apps
Hi,
I have to retrieve data from Web Server and display in my iphone apps. I want to know that is there any API through which i can connect my apps to server and get data.
One way i know that use NSURLConnection and get XML response and prase it and use it like that.
So anyone know this?
Thanks.NSURLConnection is straightforward to use. In the mobile world, and especially if you intend to use certain google APIs, I would rather tend to use JSON instead of XML. A great JSON parser for objective-c is here: http://code.google.com/p/json-framework/
Cheers,
Marcelo -
Hi,
i just installed Sun Java System Web Server 7.0. besides intsalling it, i don't know how to use it.
I am looking to add some files so users can view them. how do i go about doing that? I have no clue?
I don't know how to use it just yet but can follow instructions rather well.
i am a unix admin.
thanks
~jvOk.. it depends what type of content do you want to add.
You can start by dropping html documents in your instance's document root directory, usually /sun/webserver7/https-configname/docs.
making sure the server instance is running, hit the pages. And voila, you should be able to see it.
Maybe you are looking for
-
how do I set up an administrator account so my daughter who is under 13 , can access itunes herself. Main access will be via itunes vouchers . I don't want to create credit card access.
-
Character display issue in French Web index tab
First of all, I'm working with RoboHelp 8. There is a character display issue in the index tab of the web help. (See screenshot below) The apostrophe, instead of displaying by itself, it has a backslash just before it: \' In the hhk file, I started u
-
I upgraded to windows 8 and didn't want to change to internet explorer 10... i needed to stay on IE8 for work purposes. what can I do about this? tried installing IE8 on windows 8 and it says IE8 is incompatible. Microsoft shouldn't make decisions
-
Shared Services drops provisioning on an ID??
Hi, I have an issue on Shared Services 11.1.1.2. About a month ago one of our users got married and subsequently had a name change in LDAP, but kept the same SAMAccountName ID - Ixxxxxxx Issue: Every few days Shared Services removes elements of her p
-
Can I set up 2 pop accounts in Mail, I have 2 small companies, with different email addresses? Alex