• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Running JSP using JRun Server

 
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?


 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
reply
    Bookmark Topic Watch Topic
  • New Topic