Scott,
Apologies for confusing you by mixing up my wars and ears (a long day had my
brain at meltdown)...what I meant to say (of course ;)) was that I do not
package my application (servlets and ejbs) as an ear. I package my beans as
a jar which contains users.properties and roles.properties and under
meta-inf, jboss.xml and ejb-jar.xml . The SOAP stuff comes as a prepackaged
war to which I supply additional classes...as SOAP requests arrive at the
servlet, they get routed to my classes. In tomcat/webapp/soap/web-inf i have
dropped my jboss-web.xml. Do the beans and servlets have to be packed in an
ear?
Here is an execution snippet:
[EmbeddedTomcatSX] >>TRACE>> KnowledgeBaseAdapter: entering login: orgname =
Sti
lo, username = nick
User 'nick' authenticated.
[EmbeddedTomcatSX] >>TRACE>> KnowledgeBaseAdapter: Subject:
Principal: nick
Principal: Roles
Principal: CallerPrincipal
[EmbeddedTomcatSX] >>TRACE>> KnowledgeBaseAdapter: security domain is
mandrake
[KnowledgeBaseMgr] >>TRACE>> KnowledgeBaseMgrEJB: entering setSessionContext
[KnowledgeBaseMgr] >>TRACE>> KnowledgeBaseMgrEJB: leaving setSessionContext
[KnowledgeBaseMgr] Authentication exception, principal=null
[EmbeddedTomcatSX] >>TRACE>> KnowledgeBaseAdapter: Exception:
java.rmi.ServerException: Transaction rolled back; nested exception is:
java.rmi.RemoteException: checkSecurityAssociation; nested exception
is:
java.lang.SecurityException: Authentication exception,
principal=null
EmbeddedTomcatSX is able to see my users.properties file included in my
beans jar so there must be connection between the web and bean containers
but I'm rapidly losing my hair as to why i get a null principal in the bean
context!
> -----Original Message-----
> From: Scott M Stark [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 5:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JAAS problem
>
>
> EJBs go in ejb-jars, web components including servlets go in a war. I
> don't understand how the soap servlet is even being deployed
> given what
> your saying. Show a jar -tf listing of the bean jar that you
> are dropping in
> the deploy directory.
>
> ----- Original Message -----
> From: "Nick Taylor" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 20, 2001 6:45 AM
> Subject: RE: [JBoss-user] JAAS problem
>
>
> > Scott
> >
> > > Using what version of the JBoss/Tomcat bundle?
> >
> > jboss2.2.2-tomcat3.2.2
> >
> > > What does the war web.xml and jboss-web.xml file look like?
> >
> > My beans are not packaged in a war (they are in their own
> jar) but web.xml
> > for the Apache SOAP stuff looks like:
> >
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user