aspose file tools*
The moose likes Servlets and the fly likes Running JSP using JRun Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Running JSP using JRun Server" Watch "Running JSP using JRun Server" New topic
Author

Running JSP using JRun Server

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
I have a question about running JSP using JRun server:

When I connected an external web server (IIS 4.0) with JRun, shut down the web server coming with JRun default server, and tried to run the sample JSP file with URL link:
http://localhost/demo/jsp/hello.jsp, I always got the 404 error:
/scripts/jrun.dll/demo/jsp/hello.jsp not found.
even though hello.jsp is there in \default\demo-app\jsp\ directory. Could anybody help me in indicating the mistakes I made?
P SOLAIAPPAN
Ranch Hand

Joined: Oct 20, 2000
Posts: 68
Hi,
Copy all your demo jsp files (for e.g in dir "D:\JRun\servers\default\demo-app\jsp" to
"D:\JRun\servers\default\default-app"
Now run http://localhost:8100/hello.jsp
Try it.
I thing you may need virtual map settings to run directly the demo JSPs. To avoid it you can copy them to "\servers\default\default-app" dir

solaiappan
Preetham
Greenhorn

Joined: May 21, 2001
Posts: 7
But, if id like to run the jsp using port 80(connecting through IIS), the error still persistes.It gives the message "/Scripts/jrun.dll/hello.jsp" always.
frank, wang
Greenhorn

Joined: Oct 08, 2001
Posts: 1
I got same problem as yours now. Did you get it fixed? and how did you do? Thanks!
Originally posted by JiaPei Jen:
I have a question about running JSP using JRun server:

When I connected an external web server (IIS 4.0) with JRun, shut down the web server coming with JRun default server, and tried to run the sample JSP file with URL link:
http://localhost/demo/jsp/hello.jsp, I always got the 404 error:
/scripts/jrun.dll/demo/jsp/hello.jsp not found.
even though hello.jsp is there in \default\demo-app\jsp\ directory. Could anybody help me in indicating the mistakes I made?

Pranit Saha
Ranch Hand

Joined: Sep 09, 2001
Posts: 130
Hi,
My Jrun is installed in c:\Jrun.. but there is no server directory.. the folders are: bin,classes,connectors,contrib,docs,examples,instantdb,jdk1.2,js,jsm-default,lib,properties,servlets,uninst..
Where should i save the .jsp files.. and do i need to specify anything in admin's page compilation tab..
pls help..
Pranit
Originally posted by P SOLAIAPPAN:
Hi,
Copy all your demo jsp files (for e.g in dir "D:\JRun\servers\default\demo-app\jsp" to
"D:\JRun\servers\default\default-app"
Now run http://localhost:8100/hello.jsp
Try it.
I thing you may need virtual map settings to run directly the demo JSPs. To avoid it you can copy them to "\servers\default\default-app" dir

solaiappan

dsw dsw
Greenhorn

Joined: Jan 31, 2003
Posts: 6
Hi,
I am expereincing the same problems when trying to run http://localhost/demo.
The servlet examples works fine.But the jsp dont work.
I am using iis 5.0 and Jrun 3.1 . Does anybody have any suggestions.
Thanks
Faraz Haider
Greenhorn

Joined: May 10, 2002
Posts: 1
firstly i would like to know if i can deploy jrun on its own without apache. secondly i would like to know why i could be getting the error that i am about to describe.
i am using jrun 4.0 on linux 7.3
and i followed the instructions on the macromedia web site to deploy a war in teh default directory. and i wrote the following code.
<%!
class faraz
{
faraz(int a){}
faraz(){this(1);}
}
%>
<% faraz a = new faraz(1);%>
when i execute the above code written in the a page called test.jsp i get hte error
java.lang.verifyerror which says:
object/array not found on stack?
i have been stuck on this problem for the past 4 days!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running JSP using JRun Server