wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes domain Creation.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "domain Creation.." Watch "domain Creation.." New topic
Author

domain Creation..

deep venu
Ranch Hand

Joined: Jun 09, 2001
Posts: 56
I want to create a domain in WLS6.1.. I was wondering as to how/when does the DefaultWebApp or the domain server folder get created?
The reason is ai want to host a jsp and i am unable to do so. I had created a jsp folder under applications/DefaultWebApp
and put my jsp there in mydomain and was able to host the jsp
But how do I host the jsp in the new domain created by me?
Thank you
~Dee
Joe McGuire
Ranch Hand

Joined: Mar 19, 2001
Posts: 293
Deep,
You need to go into the Admin Console to create a new domain. Step-by-step instructions are given in the bea docs.
Copy over and modify the startWeblogic.cmd and setEnv.cmd files, and the console.war file. Also, don't forget to copy the SerializedSystemIni.dat and fileRealm.properties files into the \newdomain\ directory before starting the server.
Once your domain is up and running okay, copy your JSP file into the WL_HOME\config\newdomain\applications\DefaultWebApp\ directory. If you put everything into its default location, you should be able to get to your jsp from the browser at http://localhost:7001/yourJSPfile.jsp
deep venu
Ranch Hand

Joined: Jun 09, 2001
Posts: 56
Hey Joe,
thanx alot..though i had solved the problem before ur help could reach me :-)
nevertheless ..I had done whatever u have suggested but the problem was that this piece of code inside the server tag of config.xml was not there and hence the DefaultWebApp folder was not made.
<Server ListenPort="9001" Name="testServer"
<WebServer DefaultWebApp="DefaultWebApp"
LogFileName="./config/testDomain/logs/access.log"
LoggingEnabled="true" Name="testServer"/>
</Server>
but once i put it into the config.xml everything was fine..all i had to do was to create a jsp folder under DefaultWebApp and put my jsps in it and then call http:://localhost ort/jsp/MyJsp.jsp
Neways thanx a lot...
~Dee

 
Don't get me started about those stupid light bulbs.
 
subject: domain Creation..
 
Similar Threads
Running JSP in Weblogic 8.1 afer creating a NEW Domain.
Creating ServletContext in WebLogic!
Managed server
new to weblogic server
how to deply Servet Files in Weblogic