This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
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
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
Joined: Jun 09, 2001
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