Re: [JBoss-user] set Port number

2001-05-03 Thread Scott M Stark
See http://www.jboss.org/documentation/HTML/ch10s03.html for port configuration. - Original Message - From: "Larchet Vincent" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 8:03 AM Subject: [JBoss-user] set Port number > Hi all, > > I want to use jboss from b

Re: use jnp as general purpose naming service? Re: [JBoss-user] persistent bind to jnp possible?

2001-05-03 Thread Scott M Stark
The jnp implementation does not support persistent storage of bindings. You will have to federate with some other JNDI provider that does this. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 7:52 AM Subject: use jnp as general purpose

Re: [JBoss-user] Anyone know how to federate across multiple jnp ...

2001-05-03 Thread Scott M Stark
Yes, jnp properly resovles references of type URL. - Original Message - From: "Sam Yan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 03, 2001 1:24 PM Subject: RE: [JBoss-user] Anyone know how to federate across multiple jnp ... > I looked for the example and must hav

Re: [JBoss-user] MBean Newbie Difficulties -- JNDIMap

2001-05-04 Thread Scott M Stark
The stack trace is from the point where the JMX MLet loads beans from the jboss.conf file, not the point where the Configuration loads the jboss.jcml file so the problem is likely that you tried to place your entry in jboss.conf? - Original Message - From: "Matt Davies" <[EMAIL PROTECTED

Re: [JBoss-user] Logging

2001-05-04 Thread Scott M Stark
This is the default behavior for logging. All System.out.println statements for me show up both on the console and the server.log file. Have you changed the logging configuration from the default? - Original Message - From: "Bojan Smojver" <[EMAIL PROTECTED]> To: "JBoss User" <[EMAIL PRO

Re: [JBoss-user] Re: Web modules started before EJB modules. Why?

2001-05-04 Thread Scott M Stark
Enter it as a bug as sourceforge. - Original Message - From: "Ralf Purnhagen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 9:01 AM Subject: [JBoss-user] Re: Web modules started before EJB modules. Why? > Same at stopApplication. Would'nt it be more natural to

Re: [JBoss-user] Anyone know how to federate across multiple jnp ...

2001-05-04 Thread Scott M Stark
This is an issue seperate from References of type URL, but the jnp InitialContextFactory does now accept jnp urls passed in via the provider url property. - Original Message - From: "Jason Dillon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 7:25 PM Subject: Re:

Re: [JBoss-user] Anyone know how to federate across multiple jnp ...

2001-05-05 Thread Scott M Stark
9:50 PM Subject: Re: [JBoss-user] Anyone know how to federate across multiple jnp ... > How recently was this added? I am just curious, because the EJB handle > impl that I added (for container remembrance) would not work if I set the > url to jnp://:, I had to set it to :. > > --jason &

Re: [JBoss-user] Anyone know how to federate across multiple jnp ...

2001-05-06 Thread Scott M Stark
jnp is the name of the jndi provider used by JBoss and is the protocol url just as t3 is the weblogic's. The jnp.properties file is used as the default values. If you don't set the port values via the NamingService mbean attributes then the jnp.properties file is used. This jboss.jcml entry: a

Re: [JBoss-user] Imports on jsp with tomcat on jboss.

2001-05-07 Thread Scott M Stark
The jsp compiler only sees the classes in the WEB-INF/classes directory. This is a limitation of the jasper integration into tomcat. - Original Message - From: "Eugene Gluzberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 9:48 AM Subject: [JBoss-user] Imports o

Re: [JBoss-user] how to actually log from beans, JSPs, etc. (using the included log4j)

2001-05-08 Thread Scott M Stark
You have to configure the Log4jService to have the legacy jboss logging pass through log4j. After that you use log4j as you would anywhere else. Beans should simply use log4j directly. - Original Message - From: "Otis Gospodnetic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday

Re: [JBoss-user] Access Control Problem

2001-05-08 Thread Scott M Stark
Add -Djava.security.debug=all to the command line and make sure you redirect the output to a file as you will get a ton of security debugging that will tell you what policy files are loaded, etc. - Original Message - From: "Michael Hustler" <[EMAIL PROTECTED]> To: "Jboss (E-mail)" <[EMAI

Re: [JBoss-user] Access Control Problem

2001-05-08 Thread Scott M Stark
The server.policy is only for the JBoss server, not clients. - Original Message - From: "Michael Hustler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 1:22 PM Subject: RE: [JBoss-user] Access Control Problem > That helped - thanks! Using the debug=all I foun

Re: [JBoss-user] question

2001-05-08 Thread Scott M Stark
Either no protocol or jnp. The following are equivalent: host:port jnp://host:port - Original Message - From: Eric Lindauer To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 3:16 PM Subject: [JBoss-user] question Hi from a new Jboss user. I have a probably simple question. In the

Re: [JBoss-user] Anyone know how to federate across multiple jnp ...

2001-05-08 Thread Scott M Stark
It works fine for me from the client: /tmp 586> java tstNS Connecting to JNDI, env={java.naming.provider.url=jnp://localhost:1299, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} Connected to JNDI jnp://localho

Re: [JBoss-user] Anyone know how to federate across multiple jnp ...

2001-05-09 Thread Scott M Stark
The only fix is to use the latest cvs version and make sure your jndi.properties includes both the org.jboss.naming and org.jnp.interfaces in the Context.URL_PKG_PREFIXES, for example: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://serverhost:10

Re: [JBoss-user] seperate context

2001-05-09 Thread Scott M Stark
Define the nature of the collision so I can understand what you mean by jar isolation. - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 9:37 AM Subject: [JBoss-user] seperate context > Hey, > > I am one of 3 develope

Re: [JBoss-user] seperate context

2001-05-09 Thread Scott M Stark
ut B stops working. > > d. > > -Original Message- > From: Scott M Stark [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 09, 2001 12:18 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] seperate context > > > Define the nature of the collision so

Re: [JBoss-user] catching all runtime exceptions in one place ??

2001-05-09 Thread Scott M Stark
My suggestion would be to use a custom log4j appender that only looked for runtime exceptions and routed them as required. There isn't one entry point into JBoss unless your talking just about EJB access, in which case you could replace the LogInterceptor, there isn't one point to collect all Runt

Re: [JBoss-user] jBoss-2.2.1_Tomcat-3.2.1 rlease startup issue - WAR starts B4 EJBs

2001-05-09 Thread Scott M Stark
There is already a bug in sourceforge about this behavior. http://sourceforge.net/tracker/index.php?func=detail&aid=421956&group_id=22866&atid=376685 - Original Message - From: "Jim Archer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 12:43 PM Subject: [JBoss

Re: [JBoss-user] Security Exception , but from where and how

2001-05-10 Thread Scott M Stark
See: http://www.jboss.org/documentation/migration.html - Original Message - From: "Mukul Kumar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 10, 2001 7:00 AM Subject: [JBoss-user] Security Exception , but from where and how > hi friends, > > I am having this strang

Re: [JBoss-user] tomcat-service.jar

2001-05-10 Thread Scott M Stark
I just verified this using the new jbosstest web integration testsuite. I'll update the bundle with the correct tomcat-service.jar. - Original Message - From: "Mayo, Eric" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 10, 2001 10:11 AM Subject: [JBoss-user] tomcat-servi

Re: [JBoss-user] Unable to resolve JNDI name

2001-05-10 Thread Scott M Stark
Read the jboss.xml dtd which is available here: http://www.jboss.org/documentation/jboss.dtd A descriptor like this: com.asset.SMTPAdapter com.asset.SMTPAdapterBean com.asset.SMTPAdapterHome com.asset.SMTPAdapter Statele

Re: [JBoss-user] System.out,System.err

2001-05-11 Thread Scott M Stark
I see calls to System.out appearing in the server.log file in 2.2.1 You'll have to look further into the issue. - Original Message - From: "Scherr Gerolf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 11, 2001 1:48 AM Subject: [JBoss-user] System.out,System.err > hi eve

Re: [JBoss-user] Question on Security Role Mapping

2001-05-11 Thread Scott M Stark
See the security tutorial: http://www.jboss.org/documentation/HTML/ch11s78.html - Original Message - From: "Dale V. Georg" <[EMAIL PROTECTED]> To: "jBoss mailing List" <[EMAIL PROTECTED]> Sent: Friday, May 11, 2001 9:10 AM Subject: [JBoss-user] Question on Security Role Mapping > > In

Re: [JBoss-user] java:/comp/env problems?

2001-05-11 Thread Scott M Stark
For the jsp issue you need to include a jboss-web.xml descriptor in the WEB-INF dir to map the ejb-refs in the web-app.xml descriptor to the deployment jndi name: ejb/UserAuthority ejb/UserAuthority Your jboss.xml is missing: OracleDS jav

Re: [JBoss-user] Plans for IIOP support in future releases of jBoss

2001-05-11 Thread Scott M Stark
At some point there will be support at its a requirement in EJB2.0. Others have indicated they were looking into integrating IIOP but I have not heard anything concrete. Search the archives at: http://www.mail-archive.com/jboss-user%40lists.sourceforge.net/ - Original Message - From: "Pe

Re: [JBoss-user] jboss.xml for web app

2001-05-11 Thread Scott M Stark
There is no jboss.xml for web applications, this is only for ejb-jars. You use a jboss-web.xml for web applictions and it goes into the WEB-INF directory. - Original Message - From: "Jason Trust" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 11, 2001 10:23 AM Subject: [JB

Re: [JBoss-user] jboss.xml res-ref-name exception during deploy

2001-05-11 Thread Scott M Stark
Because it does not conform to the jboss.xml dtd. See: http://www.jboss.org/documentation/HTML/ch06.html "Advanced container configuration : use of jboss.xml" - Original Message - From: "David Ward" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, May 11,

Re: [JBoss-user] Question on Security Role Mapping

2001-05-11 Thread Scott M Stark
The ejb-jar.xml roles are logical names. Where are you getting that they are the principal name? The tutorial demonstrates that they are not by securing the beans using a roles of Echo & Coder, to which the principal names are mapped via the JAAS login module. The ejb-jar.xml descriptor is complet

Re: [JBoss-user] java:/comp/env problems?

2001-05-11 Thread Scott M Stark
Integrated support for jboss-web.xml independent of the web container was just added recently and so has not been documented. The dtd is available in the jboss cvs module as src/resources/org/jboss/metadata/jboss-web.dtd which can be obtained online at sourceforge. - Original Message - F

Re: [JBoss-user] java:/comp/env problems?

2001-05-12 Thread Scott M Stark
The java:comp/env namespace is a J2EE notion that applies to both J2EE ejb & web components. The ejb spec goes into some detail on this and the j2ee spec generalizes this. The servlet spec briefly mentions the java:comp/env namespace and defers to the j2ee spec. - Original Message - From

Re: [JBoss-user] Question on Security Role Mapping

2001-05-14 Thread Scott M Stark
That is correct. On Mon, 14 May 2001 15:52:05 -0400 "Dale V. Georg" <[EMAIL PROTECTED]> wrote: > > OK, I think I understand now. Here's why I was getting > confused: I was > looking at the JAAS login module which uses the > users.properties and > roles.properties files and I was sort of equat

Re: [JBoss-user] SSL + Jaas

2001-05-14 Thread Scott M Stark
I haven't tried Tomcat/SSL so I would guess the credentials are being stored differently and the JbossRealm needs to access them differently. Can you post how your configuring Tomcat with SSL so I can look into it? On Mon, 14 May 2001 12:37:14 +0100 Shotton Mark MMUk <[EMAIL PROTECTED]> wrote: >

Re: [JBoss-user] NamingService initialization problems--ConnectionException

2001-05-15 Thread Scott M Stark
The problem is the warning msg displayed at the start of the server startup regarding the jndi.properties file. You have a jndi.properties file in your classpath that most likely contains a provider url which puts the naming service in client mode and so fails to connect to the non-existant server

Re: [JBoss-user] JBoss security question

2001-05-16 Thread Scott M Stark
My reading of the spec is that if no roles have been assigned to a method then it is not acessible. This is base on these two paragraphs from page 233 of the 1.1 spec: Method permissions are defined in the deployment descriptor as a binary relation from the set of security roles to the set of me

Re: [JBoss-user] JBossRealm Security Bug

2001-05-16 Thread Scott M Stark
Agreed. I'll update it. - Original Message - From: "Shotton Mark MMUk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 15, 2001 6:12 AM Subject: [JBoss-user] JBossRealm Security Bug > Hello there > > There is an omission in the version of org.jboss.tomcat.security.JbossRe

Re: [JBoss-user] Using LDAP as an external context.

2001-05-16 Thread Scott M Stark
I've done federation with ldap but have not tried to write/read beans into it. What is your code for doing the bind and lookup of the bean? - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 5:39 AM Subject: [JBoss-user] Using LDAP as an exte

Re: [JBoss-user] NamingService initialization problems--ConnectionException

2001-05-16 Thread Scott M Stark
There is supposed to be a jndi.properties file in the conf/default or equivalent jboss dist directory that either does not set the provider url or has it commented out. This sets only the initial context factory and the prefix url packages. - Original Message - From: "Tim Taylor" <[EMAIL

Re: [JBoss-user] Embedded Tomcat Load-On-Startup w/ EJB's

2001-05-16 Thread Scott M Stark
Embedded Tomcat Load-On-Startup w/ EJB'sIts a startup ordering bug that needs to be fixed. - Original Message - From: John Moore To: jBoss Users (E-mail) Sent: Monday, May 14, 2001 11:54 AM Subject: [JBoss-user] Embedded Tomcat Load-On-Startup w/ EJB's We have a servlet that loads stat

Re: [JBoss-user] NamingService initialization problems--ConnectionException

2001-05-19 Thread Scott M Stark
I'm not sure which version of JBoss your using so lets get in synch on that point. What version are you using? I use cygwin on w2k as well and the only time I came across the issue you mention is when I first rebuilt the jnp JNDI provider code and dropped it onto the 2.2.0 release. This is when I

Re: [JBoss-user] Embedded Tomcat Load-On-Startup w/ EJB's

2001-05-19 Thread Scott M Stark
loy the EJB's and then signal Tomcat to execute the servlets identified in the load on startup. John Moore -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 3:56 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Embedded Tomcat L

Re: [JBoss-user] Embedded Tomcat Load-On-Startup w/ EJB's

2001-05-19 Thread Scott M Stark
t for the container to deploy > > the EJB's and then signal Tomcat to execute the servlets identified > > in the load on startup. > > > > John Moore > > > > -Original Message- > > From: Scott M Stark [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday,

Re: [JBoss-user] JBoss and ANT

2001-05-19 Thread Scott M Stark
JBoss ejb jars are pretty trivial constructs in ant because there is no stub compiliation step as required by weblogic. I would have to look at the current ejb jar ANT task to see if it offers sufficient simplication of the steps required. Maybe it does. - Original Message - From: Michae

Re: [JBoss-user] 2nd Deployment Fails

2001-05-19 Thread Scott M Stark
You can't deploy the custom catgory and factory in the same jar as the ejb-jar because each deployment results in a new type of TraceCategory. In Java the identity of a class is determined by both the class name and its ClassLoader. The first time you deploy it works and the log4j Category class s

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-19 Thread Scott M Stark
Currently(JBoss-2.2.1) the security information that is obtained from the server request is stored in a ThreadLocal and so is only available to the request thread. You need to propagate the security information to any child threads. As of JBoss-2.3, security information is stored in an Inheritabl

Re: [JBoss-user] External JNDI Configuration for a Filesystem

2001-05-19 Thread Scott M Stark
Attribute names are case sensitive. external/fs/mike must be: external/fs/mike - Original Message - From: "Michael Azzi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 18, 2001 2:32 PM Subject: [JBoss-user] External JNDI Configuration for a Filesystem > Hi, > >

Re: [JBoss-user] Can jndi.properties be remote?

2001-05-19 Thread Scott M Stark
It sounds like your trying to statically configure a potentially large dynamic namespace. Why not look into using JINI to create a self configuring namespace. Its simple to load a file from a URL, but since you need a unique URL for each unique jndi.properties file you have to setup a URL namespac

Re: [JBoss-user] ClassPathExtension mechanism does not seem to work...

2001-05-21 Thread Scott M Stark
It works fine for me. Are you using the bundled JBoss/Tomcat distribution? - Original Message - From: "Adam Lipscombe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 21, 2001 6:46 AM Subject: [JBoss-user] ClassPathExtension mechanism does not seem to work... > Hi All, >

Re: [JBoss-user] problem with authentication

2001-05-21 Thread Scott M Stark
This is a bug in the JAAS login config file class. It is not thread safe and when multiple login threads run at the same time it can produce the error your seeing. I thought I added a synchronization that would prevent this from happening. The workaround it to have a single thread force a load of

Re: [JBoss-user] Message Driven Beans test problem

2001-05-21 Thread Scott M Stark
Every jar in lib/ext is automatically loaded. The fact that you have to insert two jars ahead of your existing CLASSPATH to get things to work indicates that you have an incompatible jar(s) in your CLASSPATH(like j2ee.jar) that is preventing the loading of class files from the corresponding JBoss

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Scott M Stark
If by client side you mean a client running in a VM external to the JBoss server VM, then this is the expected default behavior. Multi-threaded clients need to enable the thread local storage mode of the SecurityAssociation class by either calling SecurityAssociation.setServer() or equivalently ad

Re: [JBoss-user] Please help :-( tomcat Servlet => Jboss EJB => JAAS Authentiaction

2001-05-21 Thread Scott M Stark
So add a client configuration entry to the server auth.conf and use it for your client LoginContext creation. The current contrib/tomcat module code has two example tomcat request interceptors that integrate into the JBoss security layer. - Original Message - From: "Lewis Henderson" <[EM

Re: [JBoss-user] What is "Leaving out a server session"?

2001-05-21 Thread Scott M Stark
Its simply a debug message that should be "Handing out a server session" in English. There appears to have been a slight translation problem when the message was added. You can safely ignore the message. - Original Message - From: "Jim Brownfield" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

Re: [JBoss-user] jaas not forwarding principal

2001-05-21 Thread Scott M Stark
I just added a test case to jbosstest that has a client call an unsecure bean that in turn calls a secured bean and the principal is propagated correctly. How do you know that the principal is coming in correctly from the servlet? - Original Message - From: "Ferguson, Doug" <[EMAIL PROTE

Re: [JBoss-user] problem with authentication

2001-05-22 Thread Scott M Stark
> I apologize for not researching further before asking, but I'm hoping you > (someone) knows of the top of your head. > > >This is a bug in the JAAS login config file class. > Has this been reported to Sun? > Yes. > >The workaround it to have a single thread force a > >load of the login confi

Re: [JBoss-user] 2nd Deployment Fails

2001-05-22 Thread Scott M Stark
> However, I'm not completely sure I understand why the other didn't work. > Before the second deployment the previous is undeployed. Why does the > TraceCategory instance live beyond this undeployment. And is there > something specific I can do such that it is destroyed and will not affect a >

Re: [JBoss-user] Validating users

2001-05-22 Thread Scott M Stark
Use the J2EE declarative security for both web content and EJBs and you are able to secure your content/objects without adding security to your code. When the 2.2.2 release is made next week there will be an updated version of the JAAS security tutorial that shows how to do this using a database.

Re: [JBoss-user] what does jboss use instantDB for

2001-05-22 Thread Scott M Stark
Its just there for your use but it is not used by anything. Remove it if you don't need it. - Original Message - From: "Mader, Cary J" <[EMAIL PROTECTED]> To: "Jboss-User (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 1:41 PM Subject: [JBoss-user] what does jboss use instantDB

Re: [JBoss-user] SecurityAssociationHandler - where do I find it?

2001-05-22 Thread Scott M Stark
Its in the 2.2 branch of the jbosssx cvs module. Get it from the sourceforge cvs browser by selecting: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosssx/src/main/org/jboss/security/auth/Attic/?only_with_tag=JBoss_2_2_1 - Original Message - From: "Dennis Ramos" <[EMAIL PROTEC

Re: [JBoss-user] Internalisation.....

2001-05-23 Thread Scott M Stark
Look at i18n support in Java by going through the Java tutorial: http://www.javasoft.com/docs/books/tutorial/i18n/index.html - Original Message - From: "Penn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 23, 2001 3:59 AM Subject: [JBoss-user] Internalisation. >

Re: [JBoss-user] Information on JNDI

2001-05-23 Thread Scott M Stark
Write a custom mbean that populates JNDI on startup with the information you need to make available. - Original Message - From: "Pedro Gomez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 23, 2001 6:03 AM Subject: [JBoss-user] Information on JNDI > I need to have avai

Re: [JBoss-user] log4j slows down hypersonic startup

2001-05-23 Thread Scott M Stark
The slow startup has been fixed in main. The problem is that the startup code was looking for a log msg to determine if Hypersonic had started and it does not receive this when log4j is used. The only time I have seen the nul problem is when both the legacy logging and log4j mbeans are configured

Re: [JBoss-user] JAAS & JBossSX vs Application Security

2001-05-23 Thread Scott M Stark
Reliance on static files is not a requirement; its simply the default mode. In the JBossSX codebase is an example custom javax.security.auth.Policy implementation that obtains permission info from a IAppPolicyStore which could be a database, ldap server, etc. The prototype uses an xml file. JNDI

Re: [JBoss-user] JAAS & JBossSX vs Application Security

2001-05-23 Thread Scott M Stark
Theoretically yes, practially I don't know. You do need to have a Subject with its associated Principals to create a Subject based permission context using the Subject.doAs() or equivalent. - Original Message - From: "Jason Dillon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednes

Re: [JBoss-user] EmbeddedTomcat command line options

2001-05-23 Thread Scott M Stark
It will be possible in the next release. - Original Message - From: "Richard Conway" <[EMAIL PROTECTED]> To: "'JBoss User'" <[EMAIL PROTECTED]> Sent: Tuesday, May 22, 2001 5:04 AM Subject: [JBoss-user] EmbeddedTomcat command line options > > I'm using 'JBoss-2.2.1_Tomcat-3.2.1' runnin

Re: [JBoss-user] Need help in starting jboss and Tomcat

2001-05-24 Thread Scott M Stark
Using what version of the tomcat/jboss bundle? - Original Message - From: Francesco Marchioni To: [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 5:31 AM Subject: [JBoss-user] Need help in starting jboss and Tomcat Hello, I'm having problems in starting tomcat + jboss. I get the foll

Re: [JBoss-user] Log4j xml configuration in the log4j service mbean

2001-05-24 Thread Scott M Stark
Add it as a feature request at sourceforge.net - Original Message - From: Paul Austin To: [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 4:46 AM Subject: [JBoss-user] Log4j xml configuration in the log4j service mbean Are there any plans to modify the Log4jService to use the DOMConfi

Re: [JBoss-user] JBoss 2.2.1 and Windows 2000

2001-05-24 Thread Scott M Stark
Your picking up an old version of the org.xml.sax.Attributes class. You must have some xml classes in your VM lib/ext directory. - Original Message - From: "Michael Haupt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2001 7:43 AM Subject: [JBoss-user] JBoss 2.2.1 a

Re: [JBoss-user] JBoss 2.2.1 and Windows 2000

2001-05-24 Thread Scott M Stark
ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2001 9:56 AM Subject: Re: [JBoss-user] JBoss 2.2.1 and Windows 2000 > Hi Scott, > > Scott M Stark wrote: > > Your picking up an old version of the org.xml.sax.Attributes class. > > You must have some xml classes

Re: [JBoss-user] org.jboss.deployment.J2eeDeploymentException

2001-05-24 Thread Scott M Stark
Try using the run_with_tomcat.sh script - Original Message - From: Scott Salisbury To: [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 4:30 PM Subject: [JBoss-user] org.jboss.deployment.J2eeDeploymentException Hello, I have installed JBoss. It seems to start OK except for the followi

Re: [JBoss-user] JBoss components doing System.out or System.err?

2001-05-24 Thread Scott M Stark
The use of System.out will be updated as the main branch is switched to use log4j. - Original Message - From: "Guy Rouillier" <[EMAIL PROTECTED]> To: "JBoss User" <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2001 5:31 PM Subject: [JBoss-user] JBoss components doing System.out or System.er

Re: [JBoss-user] A message appears millions times in my JBoss startup window until I kill the window

2001-05-25 Thread Scott M Stark
Using what version of JBoss and have you made any changes to jboss.conf to enable the Log4jService? System.out and System.err are intercepted to route through either the legacy JMX based logging or the Log4jService console appender so when BasicConfigurator tries to setup System.out a loop is bei

Re: [JBoss-user] runAsMode and runAsIdentity

2001-05-29 Thread Scott M Stark
A run-as element was added as part of the EJB2.0 spec and that will be implemented in 2.3 of JBoss in the near future. There is no support for runAsIdentity or runAsMode. - Original Message - From: "Hiep Luong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 29, 2001 12:49

Re: [JBoss-user] Losing principal from tomcat servlet, and yet authenticated

2001-05-29 Thread Scott M Stark
The documentation describes an external client that has its own auth.conf login configuration file. To perform a client login within the same VM as the application server you need to either change the server's auth.conf file to have the "other" configuration section equal to that of the default cl

Re: [JBoss-user] Security in JBoss

2001-05-29 Thread Scott M Stark
I'll add support for externalizing the RMI socket factories so that you can use that approach. A future version of the jnp provider will allow for secured access based on Java2 permissions. - Original Message - From: "Sampsa Ranta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday

Re: [JBoss-user] Problems implementing security (ServiceUnavailableException)

2001-05-29 Thread Scott M Stark
How is the jndi.properties file provided to the client? The exception your getting appears to be a simple failure to connect to the JNDI provider. - Original Message - From: "Pelle Poluha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 28, 2001 12:47 AM Subject: [JBoss-use

Re: [JBoss-user] Problem with assumeJavaPrefix

2001-05-29 Thread Scott M Stark
Set the "org.jboss.metadata.ApplicationMetaData.assumeJavaPrefix" system property to false. - Original Message - From: "Robert Watkins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 29, 2001 6:50 PM Subject: [JBoss-user] Problem with assumeJavaPrefix > How do I disable

Re: [JBoss-user] Losing principal from tomcat servlet, and yet authenticated

2001-05-30 Thread Scott M Stark
> I comment out the line 'setServer()' in the main class... > > NOT recommended, but it forces my user to keep the principal! > > I do not know what the real effect of doing this is, maybe Scott could give > us a hand?? > This puts the server in single client mode and all method invocations wi

Re: [JBoss-user] Losing principal from tomcat servlet, and yet authenticated

2001-05-30 Thread Scott M Stark
Look at jbosstest/src/main/org/jboss/test/web/servlets/ClientLoginServlet.java for an example of a servlet doing a JAAS login in order to access a secure EJB. For the auth.conf you have below the servlet would create a LoginContext as CallbackHandler handler = ... LoginContext lc = new Log

Re: [JBoss-user] JNDI name bindings are not working properly on deployment

2001-05-31 Thread Scott M Stark
Show your ejb-jar.xml and jboss.xml deployment descriptors. - Original Message - From: "Selvarajah Vahees" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 31, 2001 1:27 AM Subject: [JBoss-user] JNDI name bindings are not working properly on deployment > > > Hello folks

Re: [JBoss-user] JBoss-2.2.1 + Tomcat-3.2.1 Embedded

2001-05-31 Thread Scott M Stark
No changes to the configuration are required for the bundled version. Just use the run_with_tomcat.bat script to start with the correct configuration. - Original Message - From: "Dave, Pragnesh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 31, 2001 8:49 AM Subject: [JB

Re: [JBoss-user] JBoss 2.2.2 Release available

2001-05-31 Thread Scott M Stark
> > I have a working version with Embedded Tomcat using JDBCRealm with MySQL. > > 1) Initialization not thread safe (I know this is a problem with JAAS, but > did you include a workaround). No, its simple to workaround this using an mbean. > 2) With security added, must restart JBoss on redepl

Re: [JBoss-user] JBoss 2.2.2 Release available

2001-05-31 Thread Scott M Stark
05426.html > > > I'll try the new stuff and let you know how it goes. > > Alex > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott M > Stark > Sent: Thursday, May 31, 2001 3:13 PM > To: [EMAIL PRO

Re: [JBoss-user] JBoss 2.2.2 Release available

2001-05-31 Thread Scott M Stark
public interface ConfigLoaderMBean { } import javax.management.MBeanRegistration; import javax.management.MBeanServer; import javax.management.ObjectName; import javax.security.auth.login.LoginContext; public class ConfigLoader implements ConfigLoaderMBean, MBeanRegistration { // MBeanRegistra

Re: [JBoss-user] getting source code

2001-05-31 Thread Scott M Stark
There is no release 3.2.1. There is a 2.2.1 release that has a cvs tag of JBoss_2_2_1 and this can be viewed online from sourceforge. - Original Message - From: "Jesper Andersen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 31, 2001 2:48 PM Subject: [JBoss-user] gettin

Re: [JBoss-user] Damned port 5555

2001-05-31 Thread Scott M Stark
Try upgrading to 2.2.1+ and then use the NamingService mbean port attribute in the jboss.jcml to set it. See the 2.0 -> 2.2 migration docs on the web site. 1099 0 - Original Message - From: "Semir Patel" <[EMAIL PROTECTED]> To: "Jboss-User@Lists. Sourceforge. Net" <[EMAIL

Re: [JBoss-user] JBoss 2.2.2 Release available

2001-05-31 Thread Scott M Stark
new JBoss 2.2.2 and Tomcat 3.2.2 bundle. Just a > suggestion. I love JBoss and you guys are doing an awesome job for the > open source community! > > Thanks, > David > > -- > > Scott M Stark wrote: > > > A new 2.2.2 maintenance release is a

[JBoss-user] JBoss 2.2.2 Release available

2001-05-31 Thread Scott M Stark
A new 2.2.2 maintenance release is available at sourceforge from the Files section of the jboss.org project: http://sourceforge.net/project/showfiles.php?group_id=22866 along with the change notes. It includes a few bug fixes and a few enhancements including a new AbstractWebContainer support mbe

Re: [JBoss-user] :-| Security Roles

2001-06-01 Thread Scott M Stark
You cannot as part of the standard EJB api. You can only ask if a user has a role. You can see the roles the current user has if you access the JaasSecurityManager from JNDI and get the active Subject. This is a JBoss specfic mechanism. - Original Message - From: "Lewis Henderson" <[EMA

Re: [JBoss-user] :-| Security Roles

2001-06-01 Thread Scott M Stark
The JBossSX chapter describes the security manager details. There are no security restrictions to accessing JNDI currently. If you are running with a security manager then there are permissions required to access the Subject information. A sample for iterating the roles assigned to the current use

Re: [JBoss-user] jboss-jaas.jar LdapLoginModule enhancements?

2001-06-01 Thread Scott M Stark
Submit a patch to sourceforge and I'll review it. - Original Message - From: "Steve Swing" <[EMAIL PROTECTED]> To: "jboss-user" <[EMAIL PROTECTED]> Sent: Friday, June 01, 2001 8:45 AM Subject: [JBoss-user] jboss-jaas.jar LdapLoginModule enhancements? > I've modified LdapLoginModule to

Re: [JBoss-user] (no subject)

2001-06-01 Thread Scott M Stark
The deployment tool should be ok for the basic j2ee stuff but you won't be able to setup your JNDI ENC bindings without using the jboss specific descriptors. The problem your describing is one of servlet uri mapping that should be handled by the application.xml context name and web-app servlet-map

Re: [JBoss-user] Security in JBoss Howto?

2001-06-01 Thread Scott M Stark
> However, the other team members are concentrating on the security aspects, > and are frustrated that that they cannot find a definitive "howto" on > security issues. > > A couple of their questions are: > > How do we ensure only authorised clients can access out SOAP servlet? > (Apache SOAP 2.

Re: [JBoss-user] Access to EJB from APPLET

2001-06-01 Thread Scott M Stark
I've been looking into this issue today with a simple rmi client/server example and this does not appear to be a bug in the JBoss code. Rather, it appears to be a limitiation or design feature of dynamic class loading in the Sun jrmp implementation. See the dev list for the details. - Origina

Re: [JBoss-user] EmbeddedTomcatServiceSX problem when using ConfigFile attribute

2001-06-01 Thread Scott M Stark
Yes, the first arg should be -config in the presence of a configFile attribute. - Original Message - From: "Tim Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 01, 2001 2:46 PM Subject: [JBoss-user] EmbeddedTomcatServiceSX problem when using ConfigFile attribute

Re: [JBoss-user] AJP13 in jboss2.2.1+tomcat3.2.2

2001-06-03 Thread Scott M Stark
The AJP13 only reason its not included in the config is because its not in the config that ships with jakarta-tomcat-3.2.x releases. There should not be any problem with configuring AJP13. - Original Message - From: "Matt Hudson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday,

Re: [JBoss-user] newbie question about JAAS based security model

2001-06-06 Thread Scott M Stark
>From within an EJB you should be using EJBContext.getCallerPrincipal() to access the authenticated principal. What security have you setup for the bean? - Original Message - From: Wei Ma To: [EMAIL PROTECTED] Sent: Tuesday, June 05, 2001 9:06 AM Subject: [JBoss-user] newbie question ab

Re: [JBoss-user] Still can't deploy on jBoss 2.2.2_Tomcat-3.2.2, OK before w/jBoss-2.2.1

2001-06-06 Thread Scott M Stark
The web-app.xml in the comment is incorrect. Its really talking about the web.xml document web-app child elements. The war descriptor parsing did change in 2.2.2, but I thought it was compatible with previous versions. This is based on the units tests so your usage of the descriptors must not be c

Re: [JBoss-user] Glitch in JBoss-2.2.2_Tomcat-3.2.2 distribution

2001-06-06 Thread Scott M Stark
The same deploys without problems for me. Have you made any changes to the JBoss or tomcat config files? [J2EE Deployer Default] Starting module tomcat-test.war [Auto deploy] deploy, ctxPath=/jboss, warUrl=file:/F:/Java/JBoss-2.2.2_Tomcat-3.2.2/jboss/tmp/deploy/Default/tomca t-test.ear/web1001/ 2

  1   2   3   4   5   6   7   8   9   10   >