RE: [Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat

2008-02-11 Thread Thomas Chang
class is being loaded in a classloader that isn't allowed to see classes in common\lib's classloader. Launching Tomcat with the listener class loaded by the system classloader would be a simple way to cause this. Cheers, Larry > -Original Message- > From: Thomas Chang [

Re: [Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat

2008-02-09 Thread Thomas Chang
is in Tomcat's common/lib. -Ken Thomas Chang wrote: > Hi all, > > I am not sure if I should put my question here. But I can't google out the right place. Hope someone here can help. :-) > > I built a web-app and can deploy it successfully from Tomcat Manage

[Eclipse-Tomcat] Problem by deploying from Eclipse to Tomcat

2008-02-09 Thread Thomas Chang
Hi all, I am not sure if I should put my question here. But I can't google out the right place. Hope someone here can help. :-) I built a web-app and can deploy it successfully from Tomcat Manager. But as I deploy it from the Eclipse, I get the following exception. P.S.: I use

Problem by deploy WAR to Tomcat

2008-01-16 Thread Thomas Chang
Hi all, I deployed my WAR to Tomcat by using "mvn tomcat:deploy ...". Though I got result BUILD SUCCESSFUL, I can't see this web-app in Tomcat. Someone knows why? - Ihr erstes Fernweh? Wo gibt es den schönsten Strand.

Re: Error: server\webapps\manager does not exist or is not a readable directory...

2008-01-11 Thread Thomas Chang
app? Other things to check is that there is file named manager.xml in conf/Catalina/localhost and the manager webapp itself at server/webapps/manager. --David Thomas Chang wrote: >The file conf/Catalina/localhost/admin.xml is there is it just contains one >line: > > > antiReso

Re: Error: server\webapps\manager does not exist or is not a readable directory...

2008-01-11 Thread Thomas Chang
u have the admin webapp defined in a .../> element but the admin webapp itself isn't present. Look for a file named admin.xml in conf/Catalina/localhost -- that's the source of the error. --David Thomas Chang wrote: >Hi all, > >I copy the whole dir of the Tomcat 5.5.17 w

How to deploy WAR to Tomcat with MAVEN2?

2008-01-11 Thread Thomas Chang
Hi all, I use maven2. I wonder if there is a mvn-command which can deploy/reploy/delete the war to/from Tomcat? Regards Thomas - Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail.

Error: server\webapps\manager does not exist or is not a readable directory...

2008-01-10 Thread Thomas Chang
Hi all, I copy the whole dir of the Tomcat 5.5.17 which runs quite well at home to the computer in my office. As I start the Tomcat, I got error as follow. Though I can open the first page of Tomcat, but as I want to open the "Manager" link I got error of "HTTP Status 404 - /manager/html" Some

RE: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
C:\Programme\Apache\apache-tomcat-5.5.17\bin> "Caldarale, Charles R" <[EMAIL PROTECTED]> schrieb: > From: Thomas Chang [mailto:[EMAIL PROTECTED] > Subject: Re: Problem by starting Tomcat after setting the > spring-agent.jar > > The problem is: As I doubl

Re: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
I start it in cmd-console but it's the same. :-( Vinu Varghese <[EMAIL PROTECTED]> schrieb: Don't double click, type startup from a console - I mean command prompt, You'll see some thing in the console :-) Vinu Varghese *I use mozilla Thunderbird. Do you ?* Thom

Re: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
I don't understand so much you wrote. I haven't deployed any war but just want to start the Tomcat. Where to find the "/WEB-INF/applicationContext-jpa.xml"? [EMAIL PROTECTED] schrieb: The load time weaver is a property of entityManagerFactory http://java.sys-con.com/read/366275_2.htm Please di

Re: Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
quot;, Tomcat can be started. Vinu Varghese <[EMAIL PROTECTED]> schrieb: Any stack trace? Thomas Chang wrote: > Hi all, > > I installed the Tomcat 5.5.17. After I set the java-agent in ther > catalina.bat as follow: > set JAVA_OPTS=%JAVA_OPTS% > -javaagent:"%CATALINA_B

Problem by starting Tomcat after setting the spring-agent.jar

2008-01-10 Thread Thomas Chang
Hi all, I installed the Tomcat 5.5.17. After I set the java-agent in ther catalina.bat as follow: set JAVA_OPTS=%JAVA_OPTS% -javaagent:"%CATALINA_BASE%\server\lib\spring-agent.jar After that I can't start the Tomcat anymore. Somebody knows why? Regards Thomas

Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

2008-01-07 Thread Thomas Chang
Hi all, As I try to deploy my WAR in the office I got exception as follow. Somebody knows why? I do the same deployment at home and it runs well. Could be a problem of fire wall of my company? Regards Thomas *** SCHWERWIEGEND: Exception sending co

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Thomas Chang
.html En l'instant précis du 07/01/08 11:54, Thomas Chang s'exprimait en ces termes: > I download the Tomcat 5.5.17 and I got the same exception. > > I am not sure it is really the downloaded file is corrupt. The war I deploy is a spring application. At the beginning as

Re: java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Thomas Chang
. ** Your download is most probably corrupted, redownload the file from server, and extract it to a fresh new folder. This kind of error can happen when one of the tomcat jar file is either corrupted or just missing. En l'instant précis du 07/01/08 11:21, Thomas

java.lang.NoClassDefFoundError: org/apache/catalina/loader/WebappClassLoader

2008-01-07 Thread Thomas Chang
Hi all, I just download and install the Tomcat 5.5.23. As I try to deploy my web application (a war file), I got exceptions as follow. Someone knows why? ** 07.01.2008 11:02:33 org.apache.catalina.loader.WebappLoader start SCHWERWIEGEND: LifecycleException ja