NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
fx5900 Posted via mailing list.
|
|
| Back to top |
|
 |
Karthik Posted via mailing list.
|
Posted: Fri Jun 20, 2008 12:35 am Post subject: Adding Apache Webserver to NB6 |
|
|
Do you get the message when specifying the 'Catalina Home' folder?
From
http://hg.netbeans.org/release61_fixes/file/89605a6598db/tomcat5/src/org/netbeans/modules/tomcat5/wizard/InstallPanelVisual.java
462 if (!new File(homeDir, "bin/bootstrap.jar").exists()) {
// NOI18N
463 errorMessage =
NbBundle.getMessage(InstallPanelVisual.class, "MSG_InvalidHomeDir");
464 return false;
465 }
466
467 // check the lib directory
468 File libDir = TomcatVersion.TOMCAT_60.equals(tomcatVersion)
469 ? new File(homeDir, "lib") // NOI18N
470 : new File(homeDir, "common" + File.separator +
"lib"); // NOI18N
471 if (!(libDir.exists() && libDir.isDirectory())) {
472 errorMessage =
NbBundle.getMessage(InstallPanelVisual.class, "MSG_InvalidHomeDir");
473 return false;
474 }
The tomcat plugin is checking whether the specified homedir has the file
bin/bootstrap.jar and whether lib directory exists. Can you manually
check if these conditions are indeed met in C:\apache-tomcat-6.0.16?
(One other thing: According to
http://wiki.netbeans.org/AddExternalTomcat, the directory should be
specified with a trailing "\" ; i don't think it matters but you can try
specifying 'C:\apache-tomcat-6.0.16\" in the dialog...)
regards,
karthik
fx5900 wrote:
| Quote: | Hi i am following this link http://wiki.netbeans.org/AddExternalTomcat
http://wiki.netbeans.org/AddExternalTomcat to add external tomcat server nb
6.0. However, when i add the location of the Catalina folder which is
C:\apache-tomcat-6.0.16 i get a red error message saying The specified
Catalina Folder is not valid. This should be correct shouldn't it??? The
only difference is that the one on the page uses 5.5. Can sombody help
please.
|
|
|
| Back to top |
|
 |
fx5900 Posted via mailing list.
|
Posted: Fri Jun 20, 2008 11:04 pm Post subject: Adding Apache Webserver to NB6 |
|
|
Yes i do get the message when Specifying the Catalina Home folder. I do not
see the java code that you have shown me as i have yet to develop something.
If i have checked that i do have the bootstrap jar file and the lib
directory. Also, i have tried placing the "\" at the end but still no luck
. Any other ideas.
Karthikeyan Rajeswaran wrote:
| Quote: |
Do you get the message when specifying the 'Catalina Home' folder?
From
http://hg.netbeans.org/release61_fixes/file/89605a6598db/tomcat5/src/org/netbeans/modules/tomcat5/wizard/InstallPanelVisual.java
462 if (!new File(homeDir, "bin/bootstrap.jar").exists()) {
// NOI18N
463 errorMessage =
NbBundle.getMessage(InstallPanelVisual.class, "MSG_InvalidHomeDir");
464 return false;
465 }
466
467 // check the lib directory
468 File libDir =
TomcatVersion.TOMCAT_60.equals(tomcatVersion)
469 ? new File(homeDir, "lib") // NOI18N
470 : new File(homeDir, "common" + File.separator +
"lib"); // NOI18N
471 if (!(libDir.exists() && libDir.isDirectory())) {
472 errorMessage =
NbBundle.getMessage(InstallPanelVisual.class, "MSG_InvalidHomeDir");
473 return false;
474 }
The tomcat plugin is checking whether the specified homedir has the file
bin/bootstrap.jar and whether lib directory exists. Can you manually
check if these conditions are indeed met in C:\apache-tomcat-6.0.16?
(One other thing: According to
http://wiki.netbeans.org/AddExternalTomcat, the directory should be
specified with a trailing "\" ; i don't think it matters but you can try
specifying 'C:\apache-tomcat-6.0.16\" in the dialog...)
regards,
karthik
fx5900 wrote:
| Quote: | Hi i am following this link http://wiki.netbeans.org/AddExternalTomcat
http://wiki.netbeans.org/AddExternalTomcat to add external tomcat server
nb
6.0. However, when i add the location of the Catalina folder which is
C:\apache-tomcat-6.0.16 i get a red error message saying The specified
Catalina Folder is not valid. This should be correct shouldn't it??? The
only difference is that the one on the page uses 5.5. Can sombody help
please.
|
|
--
View this message in context: http://www.nabble.com/Adding-Apache-Webserver-to-NB6-tp18020376p18038878.html
Sent from the Netbeans - Users mailing list archive at Nabble.com. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|