• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Running HelloWorld JSP on weblogic8.1 ????

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody,
I have created mydomain with configuration wizard.
I have my HelloWorld.jsp under

C:\bea\user_projects\mydomain\applications\DefaultWebApp\
where "DefaultWebApp" is created by me in applications
dir.
Now, i started my weblogic server
start->All programs -> Bea Weblogic Platform 8.1 ->
user_projects -> mydomain -> startWLServer
and entered the URL in browser
as "http://localhost:7001/console"
But, here under mydomain -> Deployments -> Web
Application Modules
i click on "Deploy a new Web Application Module"
I could not see anything under
Location : localhost\C:\bea\user_projects\mydomain\applications

Some body saying to create a .war file, is it necessary for simple HelloWorld.jsp file too ???
I hope everybody workedout with this and very easy for
you all, so explaining step-wise like
CHANDANA is highly appreciated(as im newbye to weblogic server after Tomcat.)
Advance thanks for your response.
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now as you have created your domain and server, and also started your server as you can see the console you are all set for your simple HelloWorld.jsp
For simple application or single files like HelloWorld.jsp you don't need a war or a web application module.
Just point your browser to following URL and you should see you JSP.
http://localhost:7001/HelloWorld.jsp
You can also compile you jsp to check for any error by doing this:
http://localhost:7001/HelloWorld.jsp?preCompile=true
Keep an eye on your server and weblogic.log files to see whether you get any error or any progress.
Hope this solve your question or let us know if you get any error.
Ashish
PS: I am in process of writing a cheat sheet for deploying jsp/ejb on WL 8.1 server. Will be able to release those soon.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Bond",
your display name is not valid. Please see the JavaRanch Name rules here.
We require your display name to be two words: your first name, a space, then your last name. Fictitious names are not allowed.
You can edit your display name here. Please do it soon, accounts with invalid display names get deleted, often without warning.
thanks,
Dave.
 
bh00pesh venu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ashish,
still its now displaying my HelloWorld.jsp page
just tell me in which folder my jsp file should be
and any extra configurations need ??
here is my directory for my new domain
C:\bea\user_projects\mydomain\applications\
shall i create any "DefaultWebApp" or "DefaultWebApp(s)"
under above applications directory ??? Any case sensitive
problems ??

Im getting below Error msg when i type (http://localhost:7001/HelloWorld.jsp)
-----------------------------------------------------------
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
 
bh00pesh venu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
still its NOT displaying HelloWorld.jsp page
(correction to my above msg)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic