Programming :: Java Servlets: Setup The Server Side Configuration On Fedora Web Server?
Jan 4, 2010
If you hadn't guessed it from my last 3000(ish) java-related posts, I'm a Java n00b writing a Java Applet for a work project. I got to the part was I was about to write the applet code that would send HTTP requests to my CGI scripts. But I read some paragraphs in a book praising Java servlets as better that CGI because they are easier to use and give much better performance server side. My server load isn't very big, though, and I was wondering if it would be worth taking the time to learn about Java servlets and how to set up the server side configuration on my Fedora web server.
View 3 Replies
ADVERTISEMENT
Jun 8, 2011
Fedora 14. I have Apache HTTP Server installed and running fine. I am interested in doing some java servlet pages. Am I correct that in addition to the above I need to install another server - for example Tomcat - that knows how to process java servlets? I see that yum has tomcat. And that Tomcat is not an add on to the HTTP Server, but an alternative to it? i.e I start one or the other?
View 2 Replies
View Related
May 3, 2010
I am making a proxy server that us dansguardian to do parental controls features.
Is there anyway I can set it up so all devices must automatically go to the proxy server without additional configuration. I am thinking something like it gives DHCP what it shows that the proxy server is the gateway, and then the proxy server sends it to the router.
View 2 Replies
View Related
Nov 18, 2010
I need to set up the environment variable JAVA_HOME and am little bit confused with conflicting information. When I run java -version ie get
Quote:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.2) (fedora-43.1.8.2.fc13-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
[Code].....
I have Apache Tomcat up and running and need to setup CATALINA_HOME. In the usr/share/java directory, I have a directory "tomcat6" as well as a tomcat6 directory in /usr/share/.
I have found so many articles on the web but no 2 articles are similar. I tried to browse Sun's "Path setup tutorial" but it seems it is not available anymore.
View 4 Replies
View Related
Jan 10, 2011
I'm using NFS and I have the following problem. After ~100 days, the client and server lose connection, but the client doesn't know about this, it gives no error. The problem is that the changes on the server side aren't visible on the client side.
The nfs options are: "noatime, nolock, hard, udp, notcp, nosuid, nodev, rsize=8192, wsize=8192, actimeo=60"
The kernel version is: 2.6.16.27 built with 250 Hz. Is this an already corrected issue in a kernel version? Or are my options wrong?
View 1 Replies
View Related
May 31, 2010
we have a weird problem with our opensuse 11.2 server installation.
We want to set up a LDAP Server using the Yast-LDAP Server configuriation tool.
This indeed already worked weeks ago until....this week.
Maybe some updates??!
I do not know what happend exactly. The server just does not want to start again and throws following error:
Starting ldap-serverstartproc: exit status of parent of /usr/lib/openldap/slapd: 1 failed
This happend after a little check of the configuration, but without a change, with Yast. Google delivered only "reinstall your box"-answers.
So.. i did that. And now the "mystical" part: The SAME ERROR occurs with a fresh vanilla system with a brand new and simple configuration (certificats, database, pw...the first Yast config dialog...). I did not change the way i set it up.
I remember, when i did this the first time with 11.2 on that machine, when no problems occured...everything was running out of the box (except the "use commen server certificate" option...).
View 4 Replies
View Related
May 27, 2010
I'm trying to setup a cronjob that needs to run every 40 minutes between 10am and 3.30pm.I generally used cronjob for simple configuration, but now I'm a bit lost.There is a way to setup cronjob for that configuration? (better if all in one line of code, not multilines).
View 4 Replies
View Related
Feb 23, 2011
I wanted to know if it is possible to turn off readdirplus calls at the server side. I am currently using a fedora core 8 server.
View 1 Replies
View Related
Aug 12, 2010
I am trying to write a java program and eventually a web app to do the following.1. get the server name, username, password from the user and ssh to the linux box.2. goto a folder, open a script file (the file has different function calls, I need to comment all other function calls and just un-comment the one I want to use)
#call_1
call_2
#call_3
[code]....
View 1 Replies
View Related
Jan 28, 2010
have been trying to setup a dual boot system with ubuntu and XP running side by side on my Thinkpad T41.tried it a few times and always causes the same problem. i have 40 gig HDD, on which i create a 13 gig NTFS partition and leave the rest as free space. then install XP on the NTFS partition. no problems.
then i boot from the ubuntu disk (9.10 Karmic) and install using the "use free space" option at the partition section. ubuntu installs ok, and boots fine from GRUB 2.0. BUT when i select the XP option from GRUB's list, it starts to boot XP, i get the standard XP loading screen for three seconds and then it crashes to a blue screen critical problem, and restarts the system. when i then boot from the xp cd and go into recovery mode CHKDSK will not recognise the disk, and DISKPART shows one HDD at 35 gig which it cannot access.
this means i cant run FIXBOOT and get my xp install running again. every time i do this process it produces the same problem. tried at first with xp installed on whole HDD, and reducing the xp partition size. killed XP. then tried ubuntu first and xp second - but this caused the same inaccessible disk problem - xp would not recognise the partitions and would not install. so i slipstreamed my XP install disk to SP2 hoping this would make it recognise the partitions, but no luck there. so had to format all and repartition the 13 gig NTFS for xp. installed xp again without difficulty but ubuntu install killed my xp in the same way.
View 9 Replies
View Related
Apr 26, 2011
Here is my query:
Squid document says that Squid accepts only HTTP requests but speaks FTP on the server side when FTP object are requested.
We call Squid HTTP and FTP caching proxy server. Does it also caches FTP contents? Is it possible to configure FTP clients to use Squid cache? When we make an FTP request to an FTP site via Squid will it be bypassed?
View 5 Replies
View Related
Jul 18, 2011
We're migrating from Tomcat on Linux to Glassfish on Windows and I'm trying to make it easier to find the servlets that we don't currently have implicitly mapped in the Tomcat web.xml files for contexts. What I've done is copy all our contexts to a temp directory and written a script so that I can loop through each context, find the files that are not mapped inside a package then check if the java file is a servlet or not. From there I store each java file that matches, strip off the extension and then search in the context web.xml for a match then output to the screen.
The problem that I'm running into is that I know there are class files that should be returned and yet they are not being displayed. I'm not a Linux guy, so I'm just looking for a little help to see if I'm missing something obvious. I've attached the code for the script below.
Code:
# for all contexts
for context in `ls "/var/tomcat/temp/script/" | grep -v servletmap.sh`
do
echo $context
# for all java files without a package
[Code]...
View 6 Replies
View Related
Apr 15, 2010
I am rebuilding two microsystems servers and I need some advice to make my dreams come true.I want to setup the servers in a RAID configuration and want to install a GUI Linux application to manage a file server, manage a subnet, and host a Moodle on my subnet.I am planning to use Asus eee netbooks running Linux as my client computers. I basically need to be able to get my kids on the web and be able to have them use some open source office suite tools. No major crunching. I'll have two Macs for that.
View 3 Replies
View Related
Oct 18, 2010
Coming from a C and C++ background, with a little SQL at university, I was wanting to move to web development and implement an idea of mine for evaluating movies. In a nutshell, the idea is this: produce a score for each movie by only taking into account opinions of people of your age and psychological profile, as derived from a questionaire. Or a score derived from the opinions they have given about other movies, the more match there is with your opinions about those movies, the higher the coefficient for their opinion in the production of the movie score.What's the easiest way to implement this, what language is the easiest to learn?
View 7 Replies
View Related
Apr 16, 2010
I would like to discuss setting up a mail server and its implications and alternatives. First, let us see if I have understood this correctly: A mail server consists of many different components. First, a server to listen to any mail inbound for a specific domain (say postfix), and then a POP3/IMAP server (say dovecot). Then, I should somehow configure the rules by which all mail is forwarded to their respective owners. This should be fairly simple by using debians package managers and dselect or whatever program it is that sets up right packages by use cases at the install.
But now lets assume a more complicated environment, where there are multiple users with different domains and needs. First, we need to send mail to ourselves from webapps for instance for backup purposes. So let's say we have a domain called domain.com setup, and we want to send mail to backup@domain.com. Unfortunately, some configuration issue makes the application get confused, because it is trying to send mail to itself, but doesn't quite understand what it should do. How can this problem can be solved?
Second, how could I configure different domains with different rules. For instance, if I want one domain to have a catch-all account, where random email sent to erroneous accounts is captured? Or if I want to create accounts which are not based on actual Debian accounts, but instead just random usernames (say, danny@domain.com, mike@domain.com, support@domain.com etc.)?
Finally, which are the best web-guis for doing such configuration? What if the customer wants to himself add accounts? I cannot require him to edit text files - especially if he can thus break the whole configuration for other customers as well.. postfix-admin is one, but it is quite crude-looking. Is there something which integrates both postfix, apache and dovecot configuration? How about Webmin?
View 2 Replies
View Related
Apr 2, 2010
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
View 4 Replies
View Related
Jun 22, 2011
am getting an error "java.net.SocketException: Malformed reply from SOCKS server" when trying to create a socket to an ip.but when i use localhost,its working fine
Error
Socket skt=new Socket("192.168.1.18",4000);
working
Socket skt=new Socket("localhost",4000);
View 1 Replies
View Related
Feb 8, 2010
Could anyone point me to some simple articles that explain what email encryption is and how to set up a mail server (e.g. Exim) that can send secure emails? I know nothing about networks, mail servers, encryption, etc., but I have to be an expert on it before I walk into work tomorrow morning.
View 14 Replies
View Related
Mar 4, 2011
I'm trying to set up a bind9 server for my home network, I have all my IPs set to 10.0.0.X. I would like the forward and reverse to be simply "machinename", not "machinename.domain.com", as I don't want to type a domain everytime.
In my named.conf
zone "net.local" in {
type master;
file "/etc/bind/net.local.ns";
allow-update { none; };
[Code]...
View 1 Replies
View Related
Jun 18, 2010
How do I enable SSI (Server Side Includes) in fedora 12 ?
View 6 Replies
View Related
May 14, 2010
how do you get apache to run server side includes. here is what I tried. I do not get an error it just ignores the includes.[URL]..
View 12 Replies
View Related
Jun 3, 2010
Is there an app I can put on my website hosting server that will do the following:
1. Allow the user to view a DVD.
2. Pause / stop to view something in more detail.
3. Rewind to view something again.
4. Mark location so they can return to viewing in the same place at a later time.
I belong to a fly fishing club. We have tapes of fly tying sessions dating back to 1992. Since we are registered as an educational charter with the state, I would like to make the available to our web sight viewers for learning.The club owns all these tapes and they were filmed at club sponsored functions. There should be no copyright problems. I am in the process of converting them to digital.
View 1 Replies
View Related
Feb 4, 2010
I have a mail server (dovecot+postfix) on Centos with amavis/clamav installed and working. It correctly identifies spam as such and puts it in the headers. I want it to move those suspected spam messages into a spam folder. I do have this working on an older debian server that I didn't setup. If someone could point me in the direction if where that config might be. I can't find it in any of the mail config files.Could there be a seperate package doing this?
View 3 Replies
View Related
May 30, 2010
I'm trying to setup a NFS4 server (no security, local home network behind FW). It seems that I'm missing something because 'rpcinfo -p' does not list v4 for NFS: petit-pois:/home/eric# rpcinfo -p
[Code]...
View 3 Replies
View Related
Feb 7, 2011
I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.
View 1 Replies
View Related
Jan 19, 2010
We are trying to set up a NIS server on a CentOS system. We need to have a NIS server which can provide NIS authentication to a couple of clients. We are practically new to all this stuff.
Just googled to find some ideas about installing ypserv and ypbind and portmapper. We did all that and also started them successfully. But now the clients are not able to join to the NIS domain . The error log states "YP_DOMAIN NOT BOUND".
I guess we have not entered the /etc/yp.conf, /etc/hosts files properly. Please let us know the detailed steps to setup a NIS server .
Also, please let us know what entries should go into the different /etc/<file_names>? What is meant by HOSTNAME in the /etc/hosts file?
Is there any other files which need to be changed? Are we missing any steps?
Also to add-on, while executing the ypinit command we faced the following error:
At this point, we have to construct a list of the hosts which will run NIS servers. localhost.localdomain is in the list of NIS server hosts. Please cont inue to add the names for the other hosts, one per line. When you are done with the list, type a <control D>. next host to add: localhost.localdomain next host to add:
The current list of NIS servers looks like this:
Is this correct? [y/n: y] y
Error running Makefile.
View 3 Replies
View Related
May 5, 2011
Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?
i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB
if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..
View 3 Replies
View Related
Jan 25, 2011
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
View 14 Replies
View Related
Mar 22, 2011
i've just installed fedora 13 on my laptop and updated using "yum update -y" command and everything is ready to go.so, how do i setup the SSH server on my f13 so that i can ssh to another computer in my school facility because right now i'm using LAN (Local Area Network) and my port is blocked and i could not download a file more than 30 mb in my room. In order for me to bypass it, i have to ssh to 1 of the computer outside the range of my block to another computer's facility as those computers there did not have their port blocked.
View 1 Replies
View Related
Feb 2, 2011
I try to config my apache server to list all my files: c/c++, php, java files, like the txt file on my server,
e.g /var/www/mydomain/pub
i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name,
if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file,
Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
View 1 Replies
View Related