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.
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.
"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.
Joined: Jan 07, 2004
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.
Joined: Jan 07, 2004
still its NOT displaying HelloWorld.jsp page (correction to my above msg)