Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Migration from old Eclipse+MyEclipse to Indigo(Converting & deploying my projects to Tomcat 7)
Migration from old Eclipse+MyEclipse to Indigo [message #789775] Fri, 03 February 2012 11:48 Go to next message
Michele Feliciani is currently offline Michele FelicianiFriend
Messages: 3
Registered: February 2012
Junior Member
Hello everybody,
I'm experiencing some problems with my new installation of Eclipse in my new notebook.
I used to create my apps using Eclipse 3.5 in partnership with MyEclipse to run it in Tomcat 5.
Now I must migrate it all in the new versions of Java7, Eclipse Indigo & Tomcat7.
First of all, all my project weren't recognized ad Dynamic Web Projects, so I have converted che Project Facets selecting Dynamic Web Module. I created the Tomcat server on Eclipse ad added the project, but I only see this in console:
feb 03, 2012 12:23:57 PM org.apache.catalina.core.AprLifecycleListener init
Informazioni: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Common Files\Acronis\SnapAPI\;C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\;.
feb 03, 2012 12:23:57 PM org.apache.coyote.AbstractProtocolHandler init
Informazioni: Initializing ProtocolHandler ["http-bio-8095"]
feb 03, 2012 12:23:57 PM org.apache.coyote.AbstractProtocolHandler init
Informazioni: Initializing ProtocolHandler ["ajp-bio-8009"]
feb 03, 2012 12:23:57 PM org.apache.catalina.startup.Catalina load
Informazioni: Initialization processed in 592 ms
feb 03, 2012 12:23:57 PM org.apache.catalina.core.StandardService startInternal
Informazioni: Starting service Catalina
feb 03, 2012 12:23:57 PM org.apache.catalina.core.StandardEngine startInternal
Informazioni: Starting Servlet Engine: Apache Tomcat/7.0.12
feb 03, 2012 12:23:57 PM org.apache.coyote.AbstractProtocolHandler start
Informazioni: Starting ProtocolHandler ["http-bio-8095"]
feb 03, 2012 12:23:57 PM org.apache.coyote.AbstractProtocolHandler start
Informazioni: Starting ProtocolHandler ["ajp-bio-8009"]
feb 03, 2012 12:23:57 PM org.apache.catalina.startup.Catalina start
Informazioni: Server startup in 227 ms

What should I do to let Tomcat & Eclipse work togheter?
Thanks a lot for your support,
greetings,
Michele.
Re: Migration from old Eclipse+MyEclipse to Indigo [message #791244 is a reply to message #789775] Sun, 05 February 2012 14:10 Go to previous messageGo to next message
Nick Clevery is currently offline Nick CleveryFriend
Messages: 50
Registered: January 2012
Member
Looks like Tomcat is running, what do you expect from its console exactly?
Re: Migration from old Eclipse+MyEclipse to Indigo [message #791440 is a reply to message #791244] Sun, 05 February 2012 20:48 Go to previous messageGo to next message
Michele Feliciani is currently offline Michele FelicianiFriend
Messages: 3
Registered: February 2012
Junior Member
Hi, thanks a lot for your support.
I think that Tom,cat is running but when I go to localhost:8095 I can't view the page.
It works only when I start the process in Windows.
After that, my app isn't deployed in Tomcat.
So I think that there are more troubles than only one.
Re: Migration from old Eclipse+MyEclipse to Indigo [message #792996 is a reply to message #791440] Tue, 07 February 2012 16:46 Go to previous messageGo to next message
Nick Clevery is currently offline Nick CleveryFriend
Messages: 50
Registered: January 2012
Member
Michele Feliciani wrote on Sun, 05 February 2012 15:48
Hi, thanks a lot for your support.
I think that Tom,cat is running but when I go to localhost:8095 I can't view the page.
It works only when I start the process in Windows.
After that, my app isn't deployed in Tomcat.
So I think that there are more troubles than only one.


Check Tomcat port. Which page do you want to see?
Re: Migration from old Eclipse+MyEclipse to Indigo [message #802871 is a reply to message #792996] Mon, 20 February 2012 15:34 Go to previous message
Michele Feliciani is currently offline Michele FelicianiFriend
Messages: 3
Registered: February 2012
Junior Member
Well, now I'm experiencing a different trouble caused by a Request/Response different from my previous version of Tomcat5 and Eclipse3.5
When my debug goes to:
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{

I see that my old variable "request" has got the following definition in Eclipse3.5/Tomcat5:
- <unknown type> request=CoyoteRequestFacade
+ ServletRequest request (RequestFacade)=CoyoteRequest
+ CoyoteRequest request (CoyoteRequestFacade)=CoyoteRequest

My new variabile in Tomcat7 is really simply and not so complete:
- request RequestFacade
+ request Request

The same appens also to Response; I also can't find significant logs or messages in Eclipse helping me to solve this hard trouble.
I wonder what I should install/modify to let me login.
Thanks a lot for your support.
Greetings,
Michele.

PS: if it could help, I attach something helpful during Tomcat7 starting

Informazioni: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:....


Avvertenza: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:RRSWeb_Bari' did not find a matching property.


Informazioni: validateJarFile(C:\apache-tomcat-7.0.12\webapps\RRSWeb_Bari\WEB-INF\lib\javax.servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

[Updated on: Mon, 20 February 2012 15:36]

Report message to a moderator

Previous Topic:How to know if a IVariableBinding represents a local variable?
Next Topic:How do you change a standard implementation
Goto Forum:
  


Current Time: Tue Sep 24 16:25:52 GMT 2024

Powered by FUDForum. Page generated in 0.04880 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top