I tried, as you mentioned, in eclipse but no success. Then I tried with copy one folder at a time.
Then when I try to run the application (when it was not showing any compile error i.e. red cross), it was not starting Apache Tomcat server. It was saying that server could not be started in 45 seconds.
Then I thought to add one element at a time in web.xml like i added following in web.xml
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<display-name>ConcourseConnect</display-name>
<!-- When a file is not specified -->
<servlet>
<servlet-name>WelcomeServlet</servlet-name>
<servlet-class>com.concursive.connect.web.modules.welcome.servlets.WelcomeServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>WelcomeServlet</servlet-name>
<url-pattern>/WelcomeServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>WelcomeServlet</welcome-file>
</welcome-file-list>
</web-app>
and when I run the application WelcomeServlet (I added a println and remove rest of the code), it is working and showing println result means server started successfully.
It means due to long web.xml server was not able to start in 45 seconds.
Then I tried with original WelcomeServlet, but got following message
The requested resource () is not available.
Then I added following listener elements in web.xml
<listener>
<listener-class>
com.concursive.connect.web.listeners.ContextListener
</listener-class>
</listener>
<listener>
<listener-class>
com.concursive.connect.web.listeners.SessionListener
</listener-class>
</listener>
but again it is showing "The requested resource () is not available." message.
Please suggest how to proceed further?
Is there any way to know which resource is not available?
I am using Eclipse 3.3.2 in windows XP.
I also installed IntelliJ and try ConcourseConnect application there, but there also I stuck with a compile error.
In file webapps\ConcourseConnect\src\main\java\org\apache\naming\resources\ResourceAttributes.java
saying at line 776 "return new RecyclableNamingEnumeration(attributes);"
cannot find symbol class RecyclableNamingEnumeration
I search in whole directory but unable to find this class.
Please let me know where i am doing wrong..
Thanks
Krishan Babbar