You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Roman D <do...@apollo.lv> on 2004/11/10 21:13:17 UTC
Tomcat not starting after deploying slide-Wck build
Hi, it's me again,
Fifth day of trying to make Slide with WCK work (duh..)
I am building Slide WCK with deploy target.
it builds and deploys with no errors at all.
Tomcat 5.0.28 doesn't start after that.
stdout.log says:
Can't load server.xml
Can't load server.xml
stderr.log says:
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
... 6 more
build says:
...
.....
jaas-deploy-tomcat-5:
[copy] Copying 1 file to C:\Program Files\Apache Software
Foundation\Tomcat 5.0\webapps
[copy] Copying 1 file to C:\Program Files\Apache Software
Foundation\Tomcat 5.0\webapps
[copy] Copying 1 file to C:\Program Files\Apache Software
Foundation\Tomcat 5.0\conf
[patch] patching file 'C:\Program Files\Apache Software
Foundation\Tomcat 5.0\conf\server.xml'
[patch] patching file 'C:\Program Files\Apache Software
Foundation\Tomcat 5.0\bin\startup.bat'
[patch] patching file 'C:\Program Files\Apache Software
Foundation\Tomcat 5.0\bin\catalina.sh'
BUILD SUCCESSFUL
I could attach server.xml but it's 20 KB, I don't know if it's okay to
post that big statchment.
Also you can easily reproduce the build.xml if you run build as I do.
When I run build in Slide root with jaas-deploy-tomcat-5, it's the same-
tomcat can't start.
Also there is some weird error in WCK build.
It says that src/conf/catalina/startup-jaas.sh.patch not found and build
fails.
I searched the CVS and pulled that file form CVS, but it seems like it's
removed or in diffrent branch?
After that build works fine. Tomcat can't start though.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Tomcat not starting after deploying slide-Wck build
Posted by Oliver Zeigermann <ol...@gmail.com>.
OK, I used the gzipped version, but the zip works just as well. Just
checked that.. Now, the only thing I could imagine is that your
CATALINA_BASE / CATALINA_HOME environment variable has been set and
points to a broken Tomcat installation and not the patched one. Please
check that. The variables will be displayed upon Tomcat startup or
with
echo %CATALINA_BASE%
Mine is unset...
Oliver
> This is what I do. I install over freshly extracted jakarta-tomcat-5.0.28.zip downloaded from Jakarta website.
> I tried few times ensuring that it's actually clean install.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Tomcat not starting after deploying slide-Wck build
Posted by Oliver Zeigermann <ol...@gmail.com>.
OK, I used the gzipped version, but the zip works just as well. Just
checked that.. Now, the only thing I could imagine is that your
CATALINA_BASE / CATALINA_HOME environment variable has been set and
points to a broken Tomcat installation and not the patched one. Please
check that. The variables will be displayed upon Tomcat startup or
with
echo %CATALINA_BASE%
Mine is unset...
Oliver
> This is what I do. I install over freshly extracted jakarta-tomcat-5.0.28.zip downloaded from Jakarta website.
> I tried few times ensuring that it's actually clean install.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: Tomcat not starting after deploying slide-Wck build
Posted by Roman D <do...@apollo.lv>.
Oliver Zeigermann wrote:
>On Wed, 10 Nov 2004 22:13:17 +0200, Roman D <do...@apollo.lv> wrote:
>
>
>>Hi, it's me again,
>>Fifth day of trying to make Slide with WCK work (duh..)
>>
>>I am building Slide WCK with deploy target.
>>it builds and deploys with no errors at all.
>>Tomcat 5.0.28 doesn't start after that.
>>
>>stdout.log says:
>>Can't load server.xml
>>Can't load server.xml
>>
>>stderr.log says:
>>INFO: Server startup in 0 ms
>>java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
>>Caused by: java.lang.NullPointerException
>> at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
>> ... 6 more
>>
>>build says:
>>...
>>.....
>>jaas-deploy-tomcat-5:
>> [copy] Copying 1 file to C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\webapps
>> [copy] Copying 1 file to C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\webapps
>> [copy] Copying 1 file to C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\conf
>> [patch] patching file 'C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\conf\server.xml'
>> [patch] patching file 'C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\bin\startup.bat'
>> [patch] patching file 'C:\Program Files\Apache Software
>>Foundation\Tomcat 5.0\bin\catalina.sh'
>>BUILD SUCCESSFUL
>>
>>I could attach server.xml but it's 20 KB, I don't know if it's okay to
>>post that big statchment.
>>Also you can easily reproduce the build.xml if you run build as I do.
>>
>>When I run build in Slide root with jaas-deploy-tomcat-5, it's the same-
>>tomcat can't start.
>>
>>Also there is some weird error in WCK build.
>>It says that src/conf/catalina/startup-jaas.sh.patch not found and build
>>fails.
>>I searched the CVS and pulled that file form CVS, but it seems like it's
>>removed or in diffrent branch?
>>After that build works fine. Tomcat can't start though.
>>
>>
>
>You are right, I forgot to update the build script to the latest
>changes. Did this now, thanks for reporting :)
>
>However, this does not seem to be your problem. I just called ant
>deploy on the latest CVS HEAD on a *clean* Tomcat 5.0.28 installation
>and everything worked just fine. I am on Windows, maybe this makes the
>difference?
>
>Oliver
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: slide-user-help@jakarta.apache.org
>
>
>
>
>
This is what I do. I install over freshly extracted jakarta-tomcat-5.0.28.zip downloaded from Jakarta website.
I tried few times ensuring that it's actually clean install.
Regards,
Roman.
Re: Tomcat not starting after deploying slide-Wck build
Posted by Oliver Zeigermann <ol...@gmail.com>.
On Wed, 10 Nov 2004 22:13:17 +0200, Roman D <do...@apollo.lv> wrote:
> Hi, it's me again,
> Fifth day of trying to make Slide with WCK work (duh..)
>
> I am building Slide WCK with deploy target.
> it builds and deploys with no errors at all.
> Tomcat 5.0.28 doesn't start after that.
>
> stdout.log says:
> Can't load server.xml
> Can't load server.xml
>
> stderr.log says:
> INFO: Server startup in 0 ms
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
> Caused by: java.lang.NullPointerException
> at org.apache.catalina.startup.Catalina.await(Catalina.java:619)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:579)
> ... 6 more
>
> build says:
> ...
> .....
> jaas-deploy-tomcat-5:
> [copy] Copying 1 file to C:\Program Files\Apache Software
> Foundation\Tomcat 5.0\webapps
> [copy] Copying 1 file to C:\Program Files\Apache Software
> Foundation\Tomcat 5.0\webapps
> [copy] Copying 1 file to C:\Program Files\Apache Software
> Foundation\Tomcat 5.0\conf
> [patch] patching file 'C:\Program Files\Apache Software
> Foundation\Tomcat 5.0\conf\server.xml'
> [patch] patching file 'C:\Program Files\Apache Software
> Foundation\Tomcat 5.0\bin\startup.bat'
> [patch] patching file 'C:\Program Files\Apache Software
> Foundation\Tomcat 5.0\bin\catalina.sh'
> BUILD SUCCESSFUL
>
> I could attach server.xml but it's 20 KB, I don't know if it's okay to
> post that big statchment.
> Also you can easily reproduce the build.xml if you run build as I do.
>
> When I run build in Slide root with jaas-deploy-tomcat-5, it's the same-
> tomcat can't start.
>
> Also there is some weird error in WCK build.
> It says that src/conf/catalina/startup-jaas.sh.patch not found and build
> fails.
> I searched the CVS and pulled that file form CVS, but it seems like it's
> removed or in diffrent branch?
> After that build works fine. Tomcat can't start though.
You are right, I forgot to update the build script to the latest
changes. Did this now, thanks for reporting :)
However, this does not seem to be your problem. I just called ant
deploy on the latest CVS HEAD on a *clean* Tomcat 5.0.28 installation
and everything worked just fine. I am on Windows, maybe this makes the
difference?
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org