Re: [JBoss-user] Web Application?

2001-06-14 Thread Scott M Stark
Use the beta2 release of the JBoss 2.2.2 + Tomcat 3.2.2 bundle that contains an local entity resolver to avoid this problem. - Original Message - From: Optima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 8:32 AM Subject: [JBoss-user] Web Application? Greetings

Re: [JBoss-user] Pass by reference between two SLSBs?

2001-06-14 Thread Scott M Stark
By default containers used optimized in vm call semantics to avoid RMI serialization costs. See the Optimized flag in the container-invoker-conf element discussion here: http://www.jboss.org/documentation/HTML/ch06s08.html - Original Message - From: Jim Archer [EMAIL PROTECTED] To:

Re: [JBoss-user] :-) EJB2.0 RunAs

2001-06-15 Thread Scott M Stark
What I implemented is the EJB2.0 run-as feature. The servlet 2.3 run-as feature will be next, but I'm not sure it handles what your looking for. I have WAR clients that need to access EJB's via the WAR app and not directly. This case is an unauthenticated client accessinga servlet that in turn

Re: [JBoss-user] Oracle install probs

2001-06-15 Thread Scott M Stark
It only hangs for 30 seconds and the problem only occurs if you have configured the Log4jService. - Original Message - From: Guy Rouillier [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 10:01 AM Subject: Re: [JBoss-user] Oracle install probs Oracle install

Re: [JBoss-user] Updated JBoss/Jetty bundle

2001-06-15 Thread Scott M Stark
] To: jBoss user [EMAIL PROTECTED] Sent: Friday, June 15, 2001 11:51 AM Subject: Re: [JBoss-user] Updated JBoss/Jetty bundle On Wed, 13 Jun 2001, Scott M Stark wrote: An updated JBoss-2.2.2_Jetty-3.1.RC5-3.tgz bundle has been posted to sourceforge. This version has the same level of integrated

Re: [JBoss-user] inconsistent (but frequent) InitialContext.lookup() problems

2001-06-15 Thread Scott M Stark
That is a windows tcp error: WSAENOBUFS(10055): An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. Your creating too many connections for your OS. Try keeping one InitialContext around instead of creating every time

Re: [JBoss-user] jboss-tomcat

2001-06-15 Thread Scott M Stark
The most uptodate example is the JAAS security tutorial that shows deployment of a secure ear. It does not explain the whys of the steps, it just goes through the process and hides the details in the ant build script. http://www.jboss.org/documentation/HTML/ch11s83.html - Original Message

Re: [JBoss-user] ClientLogin module can't load from tomcat context

2001-06-15 Thread Scott M Stark
This is a known issue with the JAAS 1.0.1 implementation. The org.jboss.security.auth.spi.ProxyLoginModule can be used to work around this issue: /** A proxy LoginModule that loads a delegate LoginModule using the current thread context class loader. The purpose of this module is to work around

Re: [JBoss-user] Why the redundancy in DataSource mbean tag?

2001-06-18 Thread Scott M Stark
One is an attribute of the MBean ObjectName that can be used as a query key when searching for the MBean, the other is an attribute of the MBean. - Original Message - From: Ferguson, Doug [EMAIL PROTECTED] To: JBoss User (E-mail) [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 3:27 PM

Re: [JBoss-user] :-) EJB2.0 RunAs

2001-06-18 Thread Scott M Stark
- Original Message - From: Lewis Henderson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 17, 2001 2:56 AM Subject: RE: [JBoss-user] :-) EJB2.0 RunAs Scott, Why do you have anything to add to the jboss-web.xml? Surely the only entry that needs adding is the run-as

Re: [JBoss-user] EJB and JBoss security

2001-06-18 Thread Scott M Stark
See the JAAS tutorial: http://www.jboss.org/documentation/HTML/ch11s83.html - Original Message - From: Nick Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 4:36 AM Subject: [JBoss-user] EJB and JBoss security I am trying to get to grips with security issues

Re: [JBoss-user] is there a t3:// for JBoss

2001-06-18 Thread Scott M Stark
jnp://localhost:1099 - Original Message - From: Scott Bermon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 12:17 PM Subject: [JBoss-user] is there a t3:// for JBoss We are porting an application to JBoss from Weblogic. When we connect to the Weblogic server

Re: [JBoss-user] Starting JBOSS+Tomcat

2001-06-19 Thread Scott M Stark
Use the JBoss/Tomcat bundle and the only instruction required is use the run_with_tomcat.[bat|sh] http://sourceforge.net/project/showfiles.php?group_id=22866 - Original Message - From: Antony Bowesman [EMAIL PROTECTED] To: Jboss [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 8:10 AM

Re: [JBoss-user] JAAS login module classpath

2001-06-19 Thread Scott M Stark
This does not have a simple answer because of the need for JAAS to find the login module via the classpath and the fact that your EJB classes should not be on the classpath to avoid redeployment problems. Your going to have to create a class loader to handle these issues. - Original Message

Re: [JBoss-user] Stateful bean passivation problem

2001-06-20 Thread Scott M Stark
The spec does not say that. It says that references to the java:comp/env JNDI context or any of its subcontexts are valid. ejb 1.1 spec 6.4.1 Instance passivation and conversational state The Bean Provider is required to ensure that the ejbPassivate method leaves the instance fields ready to be

Re: [JBoss-user] JAAS problem

2001-06-20 Thread Scott M Stark
Using what version of the JBoss/Tomcat bundle? What does the war web.xml and jboss-web.xml file look like? - Original Message - From: Nick Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 4:48 AM Subject: [JBoss-user] JAAS problem I am trying to secure a

Re: [JBoss-user] Classloader problem in ear

2001-06-20 Thread Scott M Stark
This is the expected behavior given the current ear deployer. EJB classes are made available to wars and if you put you servlets in the ejb-jar archive it will be seen there first as this is ahead of the war classes. If you don't want this behavior only include the servlet in the war. -

Re: [JBoss-user] JAAS problem

2001-06-20 Thread Scott M Stark
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

Re: [JBoss-user] Dynamic classloading

2001-06-20 Thread Scott M Stark
You need the all of the xxx-client.jar file located in the client directory of the jboss dist to run. This includes the jnp-client.jar that has the file org.jnp.interfaces.NamingContextFactory your missing. This cannot be downloaded dynamically from the server. - Original Message -

Re: [JBoss-user] Dynamic classloading

2001-06-20 Thread Scott M Stark
Yes. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 10:35 AM Subject: Re: [JBoss-user] Dynamic classloading Thanks for the info. So am I right in assuming that dynamic classloading is only available for the class I place in my

Re: [JBoss-user] Log4j JBoss - HowTo?

2001-06-20 Thread Scott M Stark
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 1:14 PM Subject: [JBoss-user] Log4j JBoss - HowTo? I'm running JBoss 2.2.1 Jetty 3.1 RC4. Right now we use our own object (called ServerLog), which implements log4j, to do all

Re: [JBoss-user] Dynamic classloading

2001-06-20 Thread Scott M Stark
Yes. What your doing is not dynamic class loading ala RMI annotated codebases. Your using the WebServer as the application class loader. I fixed a problem with the RMI dynamic class loading as well as a problem where class identity was not associated with the server side jar from which the class

Re: [JBoss-user] jboss-jetty problem

2001-06-20 Thread Scott M Stark
There has not been any change to the service life-cycle management since the last change. The only mbeans that are managed as JBoss services are those that are explicitly added to the jboss.jcml file. I don't see from David's decription that its JBoss that is starting the WebApplicationContext.

Re: [JBoss-user] jboss-jetty problem - stack traces

2001-06-20 Thread Scott M Stark
Neither trace 3 or 4 are correct as they originate from the org.jboss.util.ServiceControl class. Looking at the 2.2 branch I see the change in service life-cycle management I mentioned was not incorporated into that release and this is the problem. If there is enough demand a 2.2.3 release could

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Scott M Stark
Obtain a thread dump of the vm in this situation to see where the threads are via a Ctrl-\ or SIGQUIT. This gets dumped to stderr so you need to redirect this or have a huge console buffer or logging. - Original Message - From: Nicolai P Guba [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [JBoss-user] JAAS problem

2001-06-21 Thread Scott M Stark
A standalone war should not be able to see ejbs deployed in a seperate jar so I still don't understand what is deployed where. 1. Show me the contents of your ejb jar file that you place into the deploy directory. 2. Show me the contents of your soap war and tell me how it is deployed. -

Re: [JBoss-user] Memory Leak problem

2001-06-21 Thread Scott M Stark
require modifying the run.sh file. Is there any other way to get dump information to go to a file instead of to the usually non-existent stderr? This would be very helpful on Unix. -- Mike On 2001-06-21 at 08:41 -0700, Scott M Stark wrote: Obtain a thread dump of the vm in this situation

Re: [JBoss-user] Will JBoss work with a NULL Principal?

2001-06-21 Thread Scott M Stark
I believe Weblogic uses a default principal if one has not been passed in. JBoss does not. What is name of the principal returned by Weblogic when you invoke getCallerPrincipal() when there is no authenticated user? We need to add a similar notion that allows one to set a default principal to

Re: [JBoss-user] search LDAP via federated JNDI

2001-06-22 Thread Scott M Stark
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 6:30 AM Subject: [JBoss-user] search LDAP via federated JNDI I followed the directions in the documentation for federating LDAP into the JNDI context -- everything appears to have worked

Re: [JBoss-user] search LDAP via federated JNDI

2001-06-22 Thread Scott M Stark
But the stack trace is coming from Client.java:28 which is not inside of the JBoss server. The trace shows that your trying to return an com.sun.jndi.ldap.LdapCtx object through an RMI call and this is failing because a Serializable object is required. Where is the server side problem? -

Re: [JBoss-user] Classpath Order

2001-06-22 Thread Scott M Stark
You can't and that is by design. If the class is in the server's classpath that's the one that has to be used. You have to have control of the server classpath to change the class. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 1:01 PM

Re: [JBoss-user] Changes in jboss security integration for 2.4beta

2001-06-22 Thread Scott M Stark
Yes, a little flaw in the automated testing failed to find the problem. I'll do a new release with a fix tonight. - Original Message - From: François Charoy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 8:35 AM Subject: [JBoss-user] Changes in jboss security

Re: [JBoss-user] Using remote ejb inside of a webapp w/Jetty

2001-06-22 Thread Scott M Stark
See the naming and web packages in the jbosstest module. Both have examples of servlets accessing EJBs, JMS queues, etc. - Original Message - From: Jason Dillon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 22, 2001 3:50 PM Subject: [JBoss-user] Using remote ejb inside of a

Re: [JBoss-user] Exceptions starting and stopping JBoss-2.2.2_Jetty-3.1.RC5

2001-06-23 Thread Scott M Stark
It may not be your build. It could be the tool the user is using to unarchive. If either drops empty directories this problem shows up. - Original Message - From: Julian Gosnell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 23, 2001 7:16 AM Subject: Re: [JBoss-user]

Re: [JBoss-user] jboss/db/jbossmq disappearing....

2001-06-23 Thread Scott M Stark
I have found WinZip very unreliable with .tgz files so I quit using it. It often fails to properly unarchive these archives and leaves missing files and directories. I use the Cygwin unix tools now. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June

Re: [JBoss-user] ejb-name question

2001-06-23 Thread Scott M Stark
Where ejbs are bound under JNDI is explicitly undefined in the spec so this default treatment is JBoss specific. The spec says: ejb1.1 DTD !-- The ejb-name element specifies an enterprise bean's name. This name is assigned by the ejb-jar file producer to name the enterprise bean in the

Re: [JBoss-user] Tomcat/Jakarta Struts

2001-06-23 Thread Scott M Stark
There are tests of a JSP page accessing classes from WEB-INF/lib/jars and WEB-INF/classes in the jbosstest module and these work. What is the use case you have that does not work? Your workaround is not valid in my opinion. Many people have struts working correctly using JBoss/Tomcat so one usage

Re: [JBoss-user] tomcat and jboss and JAAS

2001-06-24 Thread Scott M Stark
To use JAAS the web app has to be bundled as a war with a security domain defined in a jboss-web.xml descriptor. See: http://www.jboss.org/documentation/HTML/ch11s83.html - Original Message - From: Nick Heitz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 3:37 AM

Re: [JBoss-user] Tomcat/Jakarta Struts

2001-06-24 Thread Scott M Stark
Tomcat only appears to pass the standard WEB-INF/lib and WEB-INF/classes to jasper. Look into why that is on the tomcat side and post a bug report on the contrib/tomcat EmbededTomcatSX and related classes if you find one. - Original Message - From: Lewis Henderson [EMAIL PROTECTED] To:

Re: [JBoss-user] Accessing EJBs from a custom service.

2001-06-24 Thread Scott M Stark
You have to place the ejb interfaces and associated classes into a jar and load it with a URLClassLoader created by your mbean to isolate the mbean's use of the ejb from the deployer so that redeployment works. - Original Message - From: Victor M. [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [JBoss-user] user identity to the database question

2001-06-24 Thread Scott M Stark
Not unless you require security so that a user has to be authenticated for access to use the Entity in which case the caller is available via the EJBContext.getCallerPrincipal(). - Original Message - From: Glenn Harris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001

Re: [JBoss-user] Problem with classloader, servlets, and EARs.

2001-06-24 Thread Scott M Stark
I would say it is a bug in the deployer that the servlet is loaded at all. Why should a servlet in a jar without a deployment descriptor be deployed? - Original Message - From: Robert Watkins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 6:39 PM Subject:

Re: [JBoss-user] Problem with classloader, servlets, and EARs.

2001-06-24 Thread Scott M Stark
that the war is not valid and should not deploy. - Original Message - From: Robert Watkins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 24, 2001 10:06 PM Subject: RE: [JBoss-user] Problem with classloader, servlets, and EARs. Scott M Stark wrote: I would say it is a bug

Re: [JBoss-user] Problem with classloader, servlets, and EARs.

2001-06-25 Thread Scott M Stark
The Servlet spec requires that the class is in the class path. Accordingly, in the META-INF/manifest.mf file for myWeb.war, there is an entry that reads thusly: Class-Path: myLib.jar There is nothing in the spec that says war files can specify dependencies using the manifest Class-Path

Re: [JBoss-user] Problem with classloader, servlets, and EARs.

2001-06-25 Thread Scott M Stark
Scott M Stark wrote: j2ee 1.3 spec J2EE.8.1.1.2 Dependencies Wrong spec. See Servlet 2.3 (PFD 2), SRV.9.7.1 (Dependencies on Extensions). It goes for a few paragraphs, but the relevant one is: It is recommended that Application developers provide a META-INF/MANIFEST.MF entry

Re: [JBoss-user] Stuck with Authentication.

2001-06-25 Thread Scott M Stark
Don't set a security-domain. Setting this requires secured access. Then I activated container security. ( security-domainjava:/jaas/webesa/security-domain in standartjboss.xml ) ___ JBoss-user mailing list [EMAIL PROTECTED]

Re: [JBoss-user] can't find web.xml DTD today

2001-06-25 Thread Scott M Stark
That is not the correct public id as per the 2.2 servlet spec. Maybe that was an older revision naming convention and the url has been removed so it no longer is found. Using the correct public id will result in local resolution of the dtd. 13.1.1 Deployment Descriptor DOCTYPE All valid web

Re: [JBoss-user] datasource jndi mapping

2001-06-25 Thread Scott M Stark
mapping Would it be ok to use jboss.xml ass the mapping file? -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 4:55 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] datasource jndi mapping You need an indirection layer similar

Re: [JBoss-user] Duplicates in console log

2001-06-26 Thread Scott M Stark
Try removing the ConsoleLogging mbean as you probably did not comment it out correctly. jboss.conf is not an xml file. - Original Message - From: Bill Kaufman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 12:47 PM Subject: [JBoss-user] Duplicates in console log

Re: [JBoss-user] NullPointerException

2001-06-26 Thread Scott M Stark
This has been fixed in the 2.4 branch of cvs. You need to use the Branch_2_4 cvs tag to access the correct source. - Original Message - From: David Green [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 5:08 PM Subject: [JBoss-user] NullPointerException More or

Re: [JBoss-user] jndi performs unexpdectedly

2001-06-26 Thread Scott M Stark
Details are required. - Original Message - From: Ferguson, Doug [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 7:02 PM Subject: [JBoss-user] jndi performs unexpdectedly Hi, I have a jndiName segmentation/list and when I do a lookup on segmentation a naming

Re: [JBoss-user] (no subject)

2001-06-27 Thread Scott M Stark
The java: namespace is local to the JBoss server. You cannot lookup items bound under it outside of the server VM. - Original Message - From: Gabi Perets [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 11:26 PM Subject: [JBoss-user] (no subject) Gang, I am

Re: [JBoss-user] SwiftMQ and JBOSS

2001-06-27 Thread Scott M Stark
Plugging in a module still requires the module to have the correct capabilities. You can't plug a three prong electrical cord into a two slot outlet. - Original Message - From: Rajkumar Seth [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 6:38 AM Subject: RE:

Re: [JBoss-user] Authentication Problem...

2001-06-27 Thread Scott M Stark
It works fine for me using the Rel_2_4_0_6 beta along with the latest tomcat-service.jar from cvs. The fix in cvs has not been released in the binary bnudle yet so are you building the bundle from cvs? Browsing http://localhost:8080/propertyeditor/index.jsp and specifying green/green produces:

Re: [JBoss-user] help with security

2001-06-27 Thread Scott M Stark
Tomcat creates the contexts defined in the server.xml file on its own without going through the JBoss war deployer and so the jboss-web.xml is not parsed and integrated security is not enabled. I don't have plans to try to support the server.xml defined contexts at this time. - Original

Re: [JBoss-user] manual

2001-06-27 Thread Scott M Stark
There is already a doc effort underway. Join it: http://groups.yahoo.com/group/jboss-docs/ - Original Message - From: Matthew Setter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 4:22 PM Subject: RE: [JBoss-user] manual An interesting discussion on the list

Re: [JBoss-user] JAAS problem

2001-06-28 Thread Scott M Stark
?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; !-- org.jboss.test.web package descriptor -- web-app !-- ### Servlets -- servlet servlet-nameENCServlet/servlet-name

Re: [JBoss-user] RuntimeException in tomcat-test

2001-06-28 Thread Scott M Stark
That is not error. Its simply a trace of call through the container. - Original Message - From: John Patterson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 28, 2001 6:43 AM Subject: [JBoss-user] RuntimeException in tomcat-test Hi, I get the following error when

Re: [JBoss-user] Security in Jboss ( JaasSecurityManager ) - question to developers. Maybe RFE

2001-06-29 Thread Scott M Stark
module api. - Original Message - From: Konstantin Priblouda [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 29, 2001 9:59 AM Subject: Re: [JBoss-user] Security in Jboss ( JaasSecurityManager ) - question to developers. Maybe RFE --- Scott M Stark [EMAIL PROTECTED] wrote: What

Re: [JBoss-user] Security in Jboss ( JaasSecurityManager ) - question to developers. Maybe RFE

2001-06-30 Thread Scott M Stark
I'll look into supporting this use case. I think JAAS security manager definitely needs some change. Let's assume situation, that call comes with principal null and credential null - this can be ( and is in my context ) legitimate user, with some roles defined. My login module

Re: [JBoss-user] Possible naming bug JBoss 2.2.2 with Tomcat 3.2.2

2001-06-30 Thread Scott M Stark
JBoss-2.2.2/Tomcat-3.2.2 works with env-entry elements defined in the web.xml descriptor. There does appear to be a bug in the handling of env-entry elements with more than one intermediate context in the env-entry-name. There is no env-entry in jboss-web.dtd because they do not need a mapping

Re: [JBoss-user] Strange Behavior When DataSource goes down.

2001-07-03 Thread Scott M Stark
The JCA architecture provides a standard mechanism for managing connections. It uses a callback mechanism to notify the connection user of changes in its state: public interface javax.resource.spi.ConnectionEventListener { public void connectionClosed(ConnectionEvent event); public void

Re: [JBoss-user] Interest example does not work for me, please help!

2001-07-03 Thread Scott M Stark
You need to use 2.2.2 or later for the current example - Original Message - From: Dennis Huang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 02, 2001 11:47 PM Subject: [JBoss-user] Interest example does not work for me, please help! Hi: I am new in EJB and JBoss. I am

Re: [JBoss-user] Cacheing LoginContext objects

2001-07-05 Thread Scott M Stark
You have to login on every request. - Original Message - From: Andy Comley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 04, 2001 1:11 AM Subject: [JBoss-user] Cacheing LoginContext objects I have all the JAAS security working within a J2EE application with both a web

Re: [JBoss-user] Strange Behavior When DataSource goes down.

2001-07-06 Thread Scott M Stark
JCA is a standard introduced in J2EE 1.3. JDBC is not being deprecated, and JDBC 2.0 already has a pooled connection management notions, for example, the javax.sql.ConnectionEventListener: ConnectionEventListener { public void connectionClosed(ConnectionEvent event) public void

Re: [JBoss-user] ejb client classpath

2001-07-06 Thread Scott M Stark
All servers have application server specific jar files that clients need to use. J2EE is just a collection of interfaces for the most part which means there has to be an implementation provided and this means jars in addition to those that contain the J2EE interfaces. - Original Message

Re: [JBoss-user] ejb client classpath

2001-07-06 Thread Scott M Stark
Because its possible to use a different: - JMS implementation. - Security implementation - JNP implementation JBoss is not a monolithic app server. - Original Message - From: Burkhard Vogel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 12:23 PM Subject: Re:

Re: [JBoss-user] segfaults with 2.4.0 beta and ExternalContext

2001-07-06 Thread Scott M Stark
Segfaults are VM bugs, usually with the JIT or HotSpot. There is nothing one can do in a pure Java app to cause them. Try running without HotSpot. - Original Message - From: kevin1 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 12:07 PM Subject: [JBoss-user]

Re: [JBoss-user] pass-by-value vs. pass-by-reference semantics

2001-07-06 Thread Scott M Stark
You can disable the optimized calling to return to pass by value with a flick of a configuration switch. See the Optimized flag docs here: http://www.jboss.org/documentation/HTML/ch06s08.html - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001

Re: [JBoss-user] JBossSx -- Authentication Exception

2001-07-07 Thread Scott M Stark
Use the 2.2.2 JBoss/Tomcat bundle with the integrated security and go through the security tutorial: http://www.jboss.org/documentation/HTML/ch11s84.html - Original Message - From: Ivan Novick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 10:40 PM Subject:

Re: [JBoss-user] JBossSx -- Authentication Exception

2001-07-07 Thread Scott M Stark
the login can be successful but an exception is thrown saying principal is null and the bean can not be created? Any insights greatly appreciated, Ivan. - Original Message - From: Scott M Stark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 11:48 PM Subject: Re

Re: [JBoss-user] JBossSx -- Authentication Exception

2001-07-07 Thread Scott M Stark
the code for accessing the EJB be identical whether it is from a servlet or a main() function? Thanks again, Ivan - Original Message - From: Scott M Stark [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 07, 2001 11:00 AM Subject: Re: [JBoss-user] JBossSx

Re: [JBoss-user] principal=null -- Possible JBossSX Bug

2001-07-08 Thread Scott M Stark
As I said in the previous mail, look at the jbosstest cvs module unit test code in src/main/org/jboss/test/web/servlets/ClientLoginServlet.java It does exactly what you are talking about. - Original Message - From: Ivan Novick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July

Re: [JBoss-user] Datasource Lookup from a standalone client

2001-07-08 Thread Scott M Stark
The reference is coming from the 1.2J2EE spec. The corresponding section from the 1.3PFD3 J2EE spec is below. JBoss does not currently provide an application client container and that is what is required to have access to the full array of J2EE resource managers. j2ee_13pfd3 spec J2EE.6.2.4.8

Re: [JBoss-user] can't use java:comp/env ???

2001-07-08 Thread Scott M Stark
You can use the PortableRemoteObject.narrow() to cast the JNDI object to the approriate type is JBoss. Look at the jbosstest org/jboss/test/web unit test ear which includes numerous examples of servlets accessing ejbs and resources from the standard ENC namespace. The jbosstest-web.ear can be

Re: [JBoss-user] JSP not finding import when compiling in .ear shared lib

2001-07-09 Thread Scott M Stark
The only test provided with JBoss on this is a servlet which is pre-compiled so hence does not show this issue. Questions: 1)If I include the C1 in both the .war and as a shared lib in the .ear will the call optimization still happen? Yes. 2)Any way to fix the JSP compiler with

Re: [JBoss-user] MDB Security with JBoss 2.4.0 Beta

2001-07-09 Thread Scott M Stark
The current 2.4.0.14 beta release supports this and the corresponding jbosstest security unit tests demonstrate an MDB accessing a secured entity which requires a private role. - Original Message - From: Rasmussen Jason-P27798 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July

Re: [JBoss-user] Multiple Network Card Issue

2001-07-09 Thread Scott M Stark
That level of configuration has not been exposed as yet. The next release of the 2.4.0 beta should provide support for configuring this. - Original Message - From: Larry Budnick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 2:20 PM Subject: [JBoss-user] Multiple

Re: [JBoss-user] resin + jboss vs. tomcat + jboss

2001-07-09 Thread Scott M Stark
RE: [JBoss-user] resin + jboss vs. tomcat + jboss Look at the contrib/tomcat and contrib/jetty for the proceedure. - Original Message - From: Patrick Munis To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 3:20 PM Subject: RE: [JBoss-user] resin + jboss vs. tomcat + jboss What is it

Re: [JBoss-user] Log4j configuration file location

2001-07-10 Thread Scott M Stark
MLET CODE = org.jboss.logging.Log4jService ARCHIVE=jboss.jar,log4j.jar CODEBASE=../../lib/ext/ ARG TYPE=java.lang.String VALUE=path_to_log4j.properties /MLET - Original Message - From: Saint-Martin Cecile [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July

Re: [JBoss-user] help needed with form-based authentification using jboss 2.2.2 tomcat 3.2.2

2001-07-10 Thread Scott M Stark
You need to set the security-domain used by the web app in the jboss-web.xml descriptor as described in the JAAS tutorial: http://www.jboss.org/documentation/HTML/ch11s84.html - Original Message - From: Jan Heise [EMAIL PROTECTED] To: jboss-user [EMAIL PROTECTED] Sent: Tuesday, July 10,

Re: [JBoss-user] null finder parameter

2001-07-10 Thread Scott M Stark
Submit a bug report. - Original Message - From: Fred Loney [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 10:32 AM Subject: Re: [JBoss-user] null finder parameter My mistake. I've been surprised by that distinction before; you'd think I'd

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Scott M Stark
Add a welcome-file-list element to the web.xml descriptor: !-- The Welcome File List -- welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list - Original Message - From: marc fleury [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10,

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Scott M Stark
Its true if the web container has been integrated to use the war deployment class loader as the parent class loader of the web application. Any in VM call can be optimized. - Original Message - From: C Murphy @ Intechtual [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10,

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread Scott M Stark
Change to use log4j. The JBoss interface will disappear in 3.0 - Original Message - From: Dain Sundstrom [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 12:08 PM Subject: [JBoss-user] log4j or JBoss logging As I modify the JBossCMP code should I change the logging

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Scott M Stark
Actually this is more correct than what I said. The strong type checking of Java won't allow a method invocation from a class loaded by one class loader on the same class loaded by another class loader, even if they have exactly the same bytecode. So only intra-ear calls are optimized. I'll

Re: [JBoss-user] role-link required?

2001-07-10 Thread Scott M Stark
Show your ejb-jar.xml descriptor. - Original Message - From: Michael Jara To: [EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 7:59 PM Subject: [JBoss-user] role-link required? I'm trying to use isCallerInRole inside an EJB, but it doesn't seem to return the correct information unless a

Re: [JBoss-user] role-link required?

2001-07-11 Thread Scott M Stark
Our interpretation of the spec does not agree with yours in that you must define a security-role-ref and link it to a security-role using a role-link element. If you read through all of the roles responsibilities, ultimately the deployer has to ensure that the security-role-ref is mapped to an

Re: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Scott M Stark
It could be in a jar or on a web server on the moon. Show your mlet entry and the resulting exception. - Original Message - From: Saint-Martin Cecile [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 12:56 AM Subject: RE: [JBoss-user] Log4j

Re: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Scott M Stark
) at java.security.AccessController.doPrivileged(Native Method) SAINT-MARTIN Cecile [EMAIL PROTECTED] -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Scott M Stark Envoyé : mercredi 11 juillet 2001 10:22 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] Log4j configuration

Re: [JBoss-user] ClientLoginModule question

2001-07-11 Thread Scott M Stark
Not without creating your own javax.security.auth.login.Configuration implementation as the name passed to LoginContext() is just a key into the configuration. - Original Message - From: Nick Taylor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 8:05 AM Subject:

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-11 Thread Scott M Stark
Must be an issue with how Jetty handles urls. - Original Message - From: Andreas Joseph Krogh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 8:52 AM Subject: Re: [JBoss-user] IT'S ALIVE! Patrick Munis wrote: it's not working for me. This is the

Re: [JBoss-user] Jboss.xml / JNDI lookup problems (lengthy)

2001-07-12 Thread Scott M Stark
This is still an invalid jboss.xml file, but it is working because we don't parse it very strictly. Check out the jboss.xml DTD to see how to construct a valid jboss.xml descriptor: http://www.jboss.org/documentation/HTML/ch06.html#N1f81 - Original Message - From: Adam Lipscombe [EMAIL

Re: [JBoss-user] BUG: custom SecurityManager

2001-07-13 Thread Scott M Stark
File a bug at sourceforge. - Original Message - From: Oleg Orlov [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 13, 2001 5:43 AM Subject: [JBoss-user] BUG: custom SecurityManager Hello! Does anybody tried to set custom security manager? I use JBoss-2.2.2_Tomcat-3.2.2 and

Re: [JBoss-user] security with jsp not working

2001-07-18 Thread Scott M Stark
So the errors are telling you that your web.xml file does not conform to the http://java.sun.com/j2ee/dtds/web-app_2_2.dtd you said it conforms to. Look at the dtd and fix any errors. You have to place content you want secured under the /restricted path. Unsecured content can be anywhere else

Re: [JBoss-user] JBoss-Tomcat 2.2.2 JDBC Auth Broken?

2001-07-18 Thread Scott M Stark
The JBoss/Tomcat bundle uses a security realm that works across EJBs and web apps. If you want to use another security interceptor for web apps you need to remove the JBossSecurityMgrRealm. - Original Message - From: Michael P. McCutcheon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [JBoss-user] release date for 2.4? Tomcat 3.2.3?

2001-07-18 Thread Scott M Stark
When it gets out of beta. - Original Message - From: Patrick Munis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 12:08 PM Subject: RE: [JBoss-user] release date for 2.4? Tomcat 3.2.3? When will Jboss start to support Tomcat 4.0.? -Original Message-

Re: [JBoss-user] Re: MDB Security: authentication exception on container call to onMessage()?

2001-07-18 Thread Scott M Stark
You would have to deploy the mdb in a seperate jar within the ear that does not have a security-domain specified in 2.2.x. In 2.4 you can specify the principal name to use for anonymous access. - Original Message - From: Brian Sondergaard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

Re: [JBoss-user] users.properties roles.properties

2001-07-25 Thread Scott M Stark
Either one will work. - Original Message - From: Chris Adams [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 1:45 AM Subject: [JBoss-user] users.properties roles.properties Hi all, A very stupid question, but where should these files be kept? Should

Re: [JBoss-user] Problem with CMP Bean cache with different finder methods

2001-07-25 Thread Scott M Stark
Submit a bug to sourceforge with your example program. - Original Message - From: Penhey, Tim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 4:32 AM Subject: [JBoss-user] Problem with CMP Bean cache with different finder methods I searched the archives, but

<    1   2   3   4   5   6   7   8   9   10   >