The version of Geronimo is 2.0.1 and I am using myEclipse IDE.
Thanks,
Manisha
Jacek Laskowski wrote:
>
> On Nov 9, 2007 9:08 PM, MShah <moni_sparkle@yahoo.com> wrote:
>
>> I am deploying a new web application and I had to change the package name
>> for
>> the class files and then redeploy them. Since I changed the package name
>> the jsp pages are unable to find the class files. The application
>> compiles
>> perfectly and there is no problem then with the JSP. When loading the
>> app I
>> get this error:
>>
>> HTTP Status 500 -
>
> How do you deploy the new application? One way to fix it with a
> minimal effort would be to undeploy the previous version of the
> application and deploy the latest one, i.e. not rely on the hot
> deployment feature.
>
> Use a web console to undeploy/deploy the web app or try it out on the
> command line:
>
> jlaskowski@dev /cygdrive/c/geronimo
> $ ./bin/deploy.sh -u system -p manager undeploy
> my.group.id/my-artifact-name-for-the-webapp/1.0.0/war
>
> jlaskowski@dev /cygdrive/c/geronimo
> $ ./bin/deploy.sh -u system -p manager deploy the.war the-war-plan.xml
>
> where the-war-plan contains:
>
> <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
> <environment
> xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
> <moduleId>
> <groupId>my.group.id</groupId>
> <artifactId>my-artifact-name-for-the-webapp</artifactId>
> <version>1.0.0</version>
> <type>war</type>
> </moduleId>
> </web-app>
>
> You may want to remove the directory - repository/my/group/id from the
> Geronimo's repository, too.
>
> You didn't mention what Geronimo version you're using. I can only
> guess you're using Eclipse. If so, what plugin version it runs with?
> Not much about your environment so the answer is a bit wacky.
>
> Jacek
>
> --
> Jacek Laskowski
> http://www.JacekLaskowski.pl
>
>
--
View this message in context: http://www.nabble.com/HTTP-Status-500---java.lang.RuntimeException%3A-System-properties-file-%22C%3A%5Cgeronimo5_2_0_1%5Cbin%5C.%5Capplications%5Cwebteam.properties%22-could-not-be-loaded-tf4779778s134.html#a13712339
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
|