Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

domain Creation..

 
deep venu
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 293
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic