File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes jdk 1.3.1_01 and tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jdk 1.3.1_01 and tomcat server" Watch "jdk 1.3.1_01 and tomcat server" New topic

jdk 1.3.1_01 and tomcat server

mansoor iqbal
Ranch Hand

Joined: Aug 14, 2000
Posts: 91
i have installed both the above packages successfully
however, when i do http://localhost:8080/index.html,
browser displays the 'page cant be displayed' error and tomcat says "invalid command 'GET /HTTP 1.1' received"
what cd i be doing wrong??
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

So this means that upgrading to JDK1.3 didn't work.

Well, how about what else is in your CLASSPATH. Is it possible you have an older jar file somewhere in there? Something that makes Tomcat run, but run 'not quite right'?

This is a pretty strange error.

mansoor iqbal
Ranch Hand

Joined: Aug 14, 2000
Posts: 91
mike.....i swithced to java web server and its working now...

thanks a lot for ur help ... switching was one heluuva load off.. .. i am really gratefull for ur follow up!

in case u wonderred why i am going thru all this trouble to do the following:
* i want to make a small database app for kids from grade 5-8
* and i want it browser based rather than a java application
* and i want it an OFF-LINE BROWSER APPLICATION ...please dont ask the reasons
* so i gather that in order to distribute the app, i will have to bundle the web server too?
* in order to make the app,, what shd i use?...servlets? jsp? or both...... i am currently not familiar with any one of these ... basically i am a fortran/vb/oracle/sql database programmer
one reason i am chossing the browser is because a java app is slow anyway .. so why not use the browser to add fun stuff like animation etc..
is this a workable idea?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Well uh,

If you program in VB, is there a reason that you can't use VB? If it doesn't *need* to be a web-based application, why make it one? Particularly if it's 'offline'.

If you make it browser based, but want it offline, then yes you need to bundle a webserver with the program, and you've just seen how hard it is to do set up a server on your computer.

I know this is a Java forum, but please everyone, with-hold your arrows... ... but is there any reason you can't use ASP (which uses VBScript, something you're more familiar with) and PWS, which comes on the Win9x CD's?

To defend java, I would say that their speed has improved remarkably in the last few years. This is partly to do with the speed increases in CPU's and also to do with JIT compiler advances.
mansoor iqbal
Ranch Hand

Joined: Aug 14, 2000
Posts: 91
one reason i want to do java is becasue i want to.... i feel it gives me more options etc...
i have tried vb but its not as good as java....
even thought the first launch has already taken place in vb of what i want to do...
u see...i am in pakistan...and here the internet costs are launcing a web based app offline makes more sense ... this way i can load the program on to the web when it becomes cost effective
i also save on costs as java is all free...
for example....if i want to use a nice background in vb ... it slows down the system to an extent that its a no go
also i want to get out of vb....i have noticed that deploying MS systems is mor expensive and THEIR products work better on their tools
It is sorta covered in the JavaRanch Style Guide.
subject: jdk 1.3.1_01 and tomcat server
Similar Threads
setting index.html to my context root
Unable to view application
Change my application URL
Without ROOT directory