Do you have to manually set your docbase?
On 5/5/06, Jeff Mutonho <[EMAIL PROTECTED]> wrote:
>
> My test code looks as follow (most of the stuff is hardcoded as this is POC)
>
> configuration = new Tomcat5xStandaloneLocalConfiguration(new
> File("target"+currentDate+"/tomcat5x"));
> configuration.setProperty(ServletPropertySet.PORT, "8080");
> configuration.setProperty(RemotePropertySet.USERNAME,
> "manager");
> configuration.setProperty(RemotePropertySet.PASSWORD,
> "tomcat");
> container = new Tomcat5xInstalledLocalContainer(configuration);
> container.setHome(new
> File("D:/AlphaCentauri/apache-tomcat-5.5.16"));
> System.out.println("Starting Tomcat instance...");
> container.start();
> System.out.println("Tomcat instance started successfully...");
>
>
> and indeed i get :
> Starting Tomcat instance...
> Tomcat instance started successfully...
>
> But going to http://localhost:8080/ I get a blank page.I've killed all
> java(w).exe running lauched tomcat manually , checked to see that
> nothing else is using 8080.I then stopped tomcat again(proper
> shutdown) , then checked for an java(w).exe.Tried to run th code above
> and still getting a blank page on http://localhost:8080/
>
> >
>
--
Brian Silberbauer
Consultant
+27 (0)83 566 2705
skype: brian.silberbauer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
-~----------~----~----~----~------~----~------~--~---