|
| Apache Geronimo > Discussion Forums | User List | Dev List | Wiki | Issue Tracker |
|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
Error on my xml descriptor when deploying a war file in 2.1Greetings,
i have deploy a war file in the geronimo 2.1 and i encounter some errors. This is the file i deploy: security.war This is the errors i encounter: Error: Unable to distribute security.war: xml problem for web app . Invalid deployment descriptor: errors: error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed): configId error: cvc-complex-type.3.2.1: Attribute not allowed (no wildcards allowed): parentId error: cvc-complex-type.2.4a: Expected elements 'work-dir@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 clustering@http://geronimo.apache.org/xml/ns/j2ee/application-2.0 web-container@http://geronimo.apache.org/xml/ns/naming-1.2 host@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 cross-context@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 disable-cookies@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 valve-chain@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 listener-chain@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 tomcat-realm@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 manager@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 cluster@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 abstract-naming-entry@http://geronimo.apache.org/xml/ns/naming-1.2 ejb-ref@http://geronimo.apache.org/xml/ns/naming-1.2 ejb-local-ref@http://geronimo.apache.org/xml/ns/naming-1.2 service-ref@http://geronimo.apache.org/xml/ns/naming-1.2 resource-ref@http://geronimo.apache.org/xml/ns/naming-1.2 resource-env-ref@http://geronimo.apache.org/xml/ns/naming-1.2 message-destination@http://geronimo.apache.org/xml/ns/naming-1.2 security-realm-name@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 service@http://geronimo.apache.org/xml/ns/deployment-1.2 persistence@http://java.sun.com/xml/ns/persistence' instead of 'context-priority-classloader@http://geronimo.apache.org/xml/ns/j2ee/web/tom cat-2.0.1' here Descriptor: <xml-fragment configId="com/ibm/geronimo/security/myDbApp" parentId="com/ibm/geronimo/security/myDbPlan" xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.0" xmlns:tom="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1" xmlns:sec1="http://geronimo.apache.org/xml/ns/security-2.0"> <tom:context-root>/sqlSecurityDemo</tom:context-root> <tom:context-priority-classloader>false</tom:context-priority-classloader> <tom:security-realm-name>my-sql-realm</tom:security-realm-name> <sec1:security> <sec1:role-mappings> <sec1:role role-name="registered-users"> <sec1:principal class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" name="registeredUsers"/> </sec1:role> <sec1:role role-name="administrators"> <sec1:principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="system"/> <sec1:principal class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" name="admin"/> </sec1:role> </sec1:role-mappings> </sec1:security> </xml-fragment> Thanks |
|
|
Re: Error on my xml descriptor when deploying a war file in 2.1I think the descriptor you are using is out of date. We no longer
specify the configId and parentId in the <webapp> element. You can use this sample application as a reference: http://cwiki.apache.org/GMOxDOC21/web-application-security-sample.html. The key is <environment> <moduleId> <groupId>org.apache.geronimo.samples</groupId> <artifactId>timereport-war</artifactId> <version>2.1</version> <type>war</type> </moduleId> </environment> Thanks, Viet |
|
|
RE: Error on my xml descriptor when deploying a war file in 2.1 Can someone save me some research time and tell me how to stop Geronimo
from trying to load the default certificate. The pop up boxes asking if I want to load it are causing a problem if I am doing a remote restart because they appear on the console not on the remote desktop connection. Thanks, Steven Ashwill |
|
|
How to stop loading of default certificate Can someone save me some research time and tell me how to stop Geronimo
from trying to load the default certificate. The pop up boxes asking if I want to load it are causing a problem if I am doing a remote restart because they appear on the console not on the remote desktop connection. Thanks, Steven Ashwill Sorry for the duplicate message, but I though I'd better get the right subject line. Haste does indeed make waste. |
|
|
Re: How to stop loading of default certificateI've never seen this happen. Have you modified the geronimo keystore/
truststore setup? How are you restarting geronimo? What does the popup look like? Is there a stack trace? This seems like something we should cover in the documentation... thanks david jencks On May 2, 2008, at 9:10 AM, Ashwill, Steve (Facilities & Services) wrote: > Can someone save me some research time and tell me how to stop > Geronimo > from trying to load the default certificate. The pop up boxes asking > if > I want to load it are causing a problem if I am doing a remote restart > because they appear on the console not on the remote desktop > connection. > > Thanks, > Steven Ashwill > > > Sorry for the duplicate message, but I though I'd better get the right > subject line. Haste does indeed make waste. |
|
|
RE: How to stop loading of default certificate I haven't found it in the documentation, perhaps I'm just not looking
in the right place. The message says: You are about to install a certificate from a certification authority (CA) claiming to represent: ME {text omitted} Do you want to install this certificate? Yes No I do not believe that anything has been modified concerning the keystores. This started as soon as I upgraded to "2.1" I start it as a service, but the same thing happens if I run from the command line as well with startup.bat. Steven Ashwill Application Developer University of Illinois 1609 S. Oak St. M/C 662 Champaign, IL 61821 (217) 265-6337 -----Original Message----- From: David Jencks [mailto:david_jencks@...] Sent: Friday, May 02, 2008 12:44 PM To: user@... Subject: Re: How to stop loading of default certificate I've never seen this happen. Have you modified the geronimo keystore/ truststore setup? How are you restarting geronimo? What does the popup look like? Is there a stack trace? This seems like something we should cover in the documentation... thanks david jencks On May 2, 2008, at 9:10 AM, Ashwill, Steve (Facilities & Services) wrote: > Can someone save me some research time and tell me how to stop > Geronimo from trying to load the default certificate. The pop up boxes > asking if I want to load it are causing a problem if I am doing a > remote restart because they appear on the console not on the remote > desktop connection. > > Thanks, > Steven Ashwill > > > Sorry for the duplicate message, but I though I'd better get the right > subject line. Haste does indeed make waste. |
|
|
Re: How to stop loading of default certificateTry with jetty assembly: https://issues.apache.org/jira/browse/GERONIMO-3864
:) Jarek On Mon, May 5, 2008 at 9:18 AM, Ashwill, Steve (Facilities & Services) <sashwill@...> wrote: > I haven't found it in the documentation, perhaps I'm just not looking > in the right place. > > The message says: > You are about to install a certificate from a certification authority > (CA) claiming to represent: > > ME > > {text omitted} > > > Do you want to install this certificate? > > Yes No > > > I do not believe that anything has been modified concerning the > keystores. This started as soon as I upgraded to "2.1" I start it as a > service, but the same thing happens if I run from the command line as > well with startup.bat. > > > > > > Steven Ashwill > Application Developer > University of Illinois > 1609 S. Oak St. M/C 662 > Champaign, IL 61821 > (217) 265-6337 > > > > -----Original Message----- > From: David Jencks [mailto:david_jencks@...] > Sent: Friday, May 02, 2008 12:44 PM > To: user@... > Subject: Re: How to stop loading of default certificate > > I've never seen this happen. Have you modified the geronimo keystore/ > truststore setup? How are you restarting geronimo? What does the popup > look like? Is there a stack trace? > > This seems like something we should cover in the documentation... > > thanks > david jencks > > On May 2, 2008, at 9:10 AM, Ashwill, Steve (Facilities & Services) > wrote: > > > Can someone save me some research time and tell me how to stop > > Geronimo from trying to load the default certificate. The pop up boxes > > > asking if I want to load it are causing a problem if I am doing a > > remote restart because they appear on the console not on the remote > > desktop connection. > > > > Thanks, > > Steven Ashwill > > > > > > Sorry for the duplicate message, but I though I'd better get the right > > > subject line. Haste does indeed make waste. > > |
|
|
Re: How to stop loading of default certificateOn windows systems this behavoiur seems to be normal in 2.1 and 2.1.1 tomcat releases; The message pops while loading "Module 24/66 org.apache.geronimo.configs/tomcat6/2.1.1/car".
Johannes Ashwill, Steve (Facilities & Services) schrieb: > I haven't found it in the documentation, perhaps I'm just not looking > in the right place. > > The message says: > You are about to install a certificate from a certification authority > (CA) claiming to represent: > > ME > > {text omitted} > > > Do you want to install this certificate? > > Yes No > > > I do not believe that anything has been modified concerning the > keystores. This started as soon as I upgraded to "2.1" I start it as a > service, but the same thing happens if I run from the command line as > well with startup.bat. > > > > > > Steven Ashwill > Application Developer > University of Illinois > 1609 S. Oak St. M/C 662 > Champaign, IL 61821 > (217) 265-6337 > > -----Original Message----- > From: David Jencks [mailto:david_jencks@...] > Sent: Friday, May 02, 2008 12:44 PM > To: user@... > Subject: Re: How to stop loading of default certificate > > I've never seen this happen. Have you modified the geronimo keystore/ > truststore setup? How are you restarting geronimo? What does the popup > look like? Is there a stack trace? > > This seems like something we should cover in the documentation... > > thanks > david jencks > > On May 2, 2008, at 9:10 AM, Ashwill, Steve (Facilities & Services) > wrote: > >> Can someone save me some research time and tell me how to stop >> Geronimo from trying to load the default certificate. The pop up boxes > >> asking if I want to load it are causing a problem if I am doing a >> remote restart because they appear on the console not on the remote >> desktop connection. >> >> Thanks, >> Steven Ashwill >> >> >> Sorry for the duplicate message, but I though I'd better get the right > >> subject line. Haste does indeed make waste. > -- |--------------------------------- | weberhofer GmbH | Johannes Weberhofer | information technologies | Austria, 1080 Wien, Blindengasse 52/3 |----------------------------------------------------------->> |
|
|
RE: How to stop loading of default certificate2.1 tomcat is what I'm using. Is there a fix for it? Steven Ashwill Application Developer University of Illinois 1609 S. Oak St. M/C 662 Champaign, IL 61821 (217) 265-6337 -----Original Message----- From: Johannes Weberhofer, Weberhofer GmbH [mailto:office@...] Sent: Monday, May 05, 2008 8:37 AM To: user@... Subject: Re: How to stop loading of default certificate On windows systems this behavoiur seems to be normal in 2.1 and 2.1.1 tomcat releases; The message pops while loading "Module 24/66 org.apache.geronimo.configs/tomcat6/2.1.1/car". Johannes Ashwill, Steve (Facilities & Services) schrieb: > I haven't found it in the documentation, perhaps I'm just not looking > in the right place. > > The message says: > You are about to install a certificate from a certification authority > (CA) claiming to represent: > > ME > > {text omitted} > > > Do you want to install this certificate? > > Yes No > > > I do not believe that anything has been modified concerning the > keystores. This started as soon as I upgraded to "2.1" I start it as > a service, but the same thing happens if I run from the command line > as well with startup.bat. > > > > > > Steven Ashwill > Application Developer > University of Illinois > 1609 S. Oak St. M/C 662 > Champaign, IL 61821 > (217) 265-6337 > > -----Original Message----- > From: David Jencks [mailto:david_jencks@...] > Sent: Friday, May 02, 2008 12:44 PM > To: user@... > Subject: Re: How to stop loading of default certificate > > I've never seen this happen. Have you modified the geronimo > keystore/ truststore setup? How are you restarting geronimo? What > does the popup look like? Is there a stack trace? > > This seems like something we should cover in the documentation... > > thanks > david jencks > > On May 2, 2008, at 9:10 AM, Ashwill, Steve (Facilities & Services) > wrote: > >> Can someone save me some research time and tell me how to stop >> Geronimo from trying to load the default certificate. The pop up >> boxes > >> asking if I want to load it are causing a problem if I am doing a >> remote restart because they appear on the console not on the remote >> desktop connection. >> >> Thanks, >> Steven Ashwill >> >> >> Sorry for the duplicate message, but I though I'd better get the >> right > >> subject line. Haste does indeed make waste. > -- |--------------------------------- | weberhofer GmbH | Johannes Weberhofer | information technologies | Austria, 1080 Wien, Blindengasse 52/3 |----------------------------------------------------------->> |
|
|
Re: How to stop loading of default certificatehave you looked into http://cwiki.apache.org/GMOxDOC21/configuring-security.html
there is info there for adding certificates and even acting as your own CA. have you tried this on JVM 1.5 HTH Cheers! Hernan Ashwill, Steve (Facilities & Services) wrote: > I haven't found it in the documentation, perhaps I'm just not looking > in the right place. > > The message says: > You are about to install a certificate from a certification authority > (CA) claiming to represent: > > ME > > {text omitted} > > > Do you want to install this certificate? > > Yes No > > > I do not believe that anything has been modified concerning the > keystores. This started as soon as I upgraded to "2.1" I start it as a > service, but the same thing happens if I run from the command line as > well with startup.bat. > > > > > > Steven Ashwill > Application Developer > University of Illinois > 1609 S. Oak St. M/C 662 > Champaign, IL 61821 > (217) 265-6337 > > -----Original Message----- > From: David Jencks [mailto:david_jencks@...] > Sent: Friday, May 02, 2008 12:44 PM > To: user@... > Subject: Re: How to stop loading of default certificate > > I've never seen this happen. Have you modified the geronimo keystore/ > truststore setup? How are you restarting geronimo? What does the popup > look like? Is there a stack trace? > > This seems like something we should cover in the documentation... > > thanks > david jencks > > On May 2, 2008, at 9:10 AM, Ashwill, Steve (Facilities & Services) > wrote: > >> Can someone save me some research time and tell me how to stop >> Geronimo from trying to load the default certificate. The pop up boxes > >> asking if I want to load it are causing a problem if I am doing a >> remote restart because they appear on the console not on the remote >> desktop connection. >> >> Thanks, >> Steven Ashwill >> >> >> Sorry for the duplicate message, but I though I'd better get the right > >> subject line. Haste does indeed make waste. > |
|
|
Re: How to stop loading of default certificateSeems like it's time to get this fixed :-)
--kevan On May 5, 2008, at 8:25 AM, "Jarek Gawor" <jgawor@...> wrote: > Try with jetty assembly: https://issues.apache.org/jira/browse/GERONIMO-3864 > > :) > > Jarek > > On Mon, May 5, 2008 at 9:18 AM, Ashwill, Steve (Facilities & Services) > <sashwill@...> wrote: >> I haven't found it in the documentation, perhaps I'm just not looking >> in the right place. >> >> The message says: >> You are about to install a certificate from a certification authority >> (CA) claiming to represent: >> >> ME >> >> {text omitted} >> >> >> Do you want to install this certificate? >> >> Yes No >> >> >> I do not believe that anything has been modified concerning the >> keystores. This started as soon as I upgraded to "2.1" I start it >> as a >> service, but the same thing happens if I run from the command line as >> well with startup.bat. >> >> >> >> >> >> Steven Ashwill >> Application Developer >> University of Illinois >> 1609 S. Oak St. M/C 662 >> Champaign, IL 61821 >> (217) 265-6337 >> >> >> >> -----Original Message----- >> From: David Jencks [mailto:david_jencks@...] >> Sent: Friday, May 02, 2008 12:44 PM >> To: user@... >> Subject: Re: How to stop loading of default certificate >> >> I've never seen this happen. Have you modified the geronimo >> keystore/ >> truststore setup? How are you restarting geronimo? What does the >> popup >> look like? Is there a stack trace? >> >> This seems like something we should cover in the documentation... >> >> thanks >> david jencks >> >> On May 2, 2008, at 9:10 AM, Ashwill, Steve (Facilities & Services) >> wrote: >> >>> Can someone save me some research time and tell me how to stop >>> Geronimo from trying to load the default certificate. The pop up >>> boxes >> >>> asking if I want to load it are causing a problem if I am doing a >>> remote restart because they appear on the console not on the remote >>> desktop connection. >>> >>> Thanks, >>> Steven Ashwill >>> >>> >>> Sorry for the duplicate message, but I though I'd better get the >>> right >> >>> subject line. Haste does indeed make waste. >> >> |
|
|
Re: How to stop loading of default certificateWhat is the JDK you are using to run G? I suspect you are using a 1.6 JDK.
++Vamsi On Mon, May 5, 2008 at 6:48 PM, Ashwill, Steve (Facilities & Services) <sashwill@...> wrote: I haven't found it in the documentation, perhaps I'm just not looking |
|
|
RE: How to stop loading of default certificate1.6.0_05 would be the version of jdk I am currently
using.
Steven
Ashwill
From: Vamsavardhana Reddy [mailto:c1vamsi1c@...] Sent: Monday, May 05, 2008 1:39 PM To: user@... Subject: Re: How to stop loading of default certificate ++Vamsi On Mon, May 5, 2008 at 6:48 PM, Ashwill, Steve
(Facilities & Services) <sashwill@...> wrote: I haven't found it in the documentation, perhaps I'm just not looking |
| Free Forum Powered by Nabble | Forum Help |
