Re: [JBoss-user] how to produce pdf files like jboss getting started guide?

2002-11-25 Thread Alwyn Schoeman
On Thu, Nov 21, 2002 at 10:02:19AM +0800, linuxman wrote: > Thanks jason! > > But I like latex or lyx, not m$ word:-). Any other tools? espcially open > source software? > If you use KDE 2.2.2 use ktexmaker2, I think the name has changed to Kile in KDE 3+. It is not wysiwyg like lyx, but I like

RE: [JBoss-user] JMX Access to Secure EJBs

2002-11-25 Thread Liam Magee
Hi, Try adding setting up 2 Stateless session beans - one of which is a secure proxy for the other (it will require having two jars in your ear as well). The Mbean uses the insecure bean, the web app uses the secure bean. Regards, Liam. -Original Message- From: [EMAIL PROTECTED] [mailt

Re: [JBoss-user] Database failure

2002-11-25 Thread David Jencks
Stopping and (re)starting the managed connection pool and the connection manager mbeans should do this. If you stop and start the pool mbean using the ServiceController mbean the connection manager should follow along automatically. I realize I haven't tested this. In particular I'm not quite su

Re: [JBoss-user] Database failure

2002-11-25 Thread Ken Whitaker
In 3.0.x, is there a way to tell the pool to invalidate all connections? --- David Jencks <[EMAIL PROTECTED]> wrote: > The problem is that there is no standard way of > distinguishing say a index > violation exception from a total db crash. I tried > closing connections on > any exception, but it

Re: [JBoss-user] Database failure

2002-11-25 Thread David Jencks
The problem is that there is no standard way of distinguishing say a index violation exception from a total db crash. I tried closing connections on any exception, but it didn't work very well. You can reenable it if you wish with I think a single line change in BaseWrapperManagedConnection (3.2

Re: [JBoss-user] multi-threaded remote client

2002-11-25 Thread David Jencks
I don't know much about this area, but I wonder if you are using user transactions from your client(s). In any case knowing exactly where tx are being started/stopped/controlled would be useful. david jencks On 2002.11.25 16:48:21 -0500 Beau Cronin wrote: > Hi all. I've been having problems wit

[JBoss-user] No Replies since Vol 1 #3385

2002-11-25 Thread Jagan
Hi All, I received no reply for my query since Vol 1 #3385. Someone do look into this. I posted the following : - I am planning to develop a deployment module using JSR 88. 1.) How useful is JSR 88 for deployment(into v

Re: [JBoss-user] problem with ejb-ql

2002-11-25 Thread Dain Sundstrom
On Monday, November 25, 2002, at 07:57 PM, Tania G. Ramos wrote: 2002-11-25 22:45:13,612 ERROR [org.jboss.ejb.EjbModule] Starting failed org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "obj.docTip"

[JBoss-user] problem with ejb-ql

2002-11-25 Thread Tania G. Ramos
Hi, I'm having a problem using EJB-QL. I have the following simple sentence in my ejb-jar.xml, but it doesn't deploy. findByDocB java.lang.String java.lang.String I'm having the foll

RE: [JBoss-user] Database failure

2002-11-25 Thread Bill Burke
In 2.4 we had the feature to remove a connection from pool if the connection caused an exception.  I don't think 3.x has this.  David Jencks?   Bill BurkeChief ArchitectJBoss Group, LLC -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL

[JBoss-user] Database failure

2002-11-25 Thread Giles, Mick
A little background… We’re using JBOSS 3.0.3 with an Oracle 902 RAC database.   The question is, when the database fails, or the network fails, or whatever other event that can cause the connections in the pool to close is there a way for JBOSS to know that the connections are no longer

[JBoss-user] multi-threaded remote client

2002-11-25 Thread Beau Cronin
Hi all. I've been having problems with a multi-threaded remote client. I'd like to have two threads on a client accessing JBoss remotely, possibly the same data at the same time. When I do this naively and both clients try to access the same entities, JBoss throws one of two errors: 13:40:5

Re: [JBoss-user] Using the same JAAS user to open connections

2002-11-25 Thread David Jencks
I admit I have never set it up and tried it... In the oracle-service.xml specify a jaas security domain In the jaas security domain setup in login-conf.xml use the CallerIdentityLoginModule. I am not entirely sure how to set up the login module so it will get the existing user/pw from the Securi

[JBoss-user] remote client initial communications

2002-11-25 Thread Gary Grobe
How does a remote client find JNDI? I'm looking to know what ports are hit first and how a client communicates w/ the naming server. --- Sorry for the repitition as I've posted before on this but am appending the info again in case someone who can help hasn't seen it. I'm getting the follow

Re: [JBoss-user] What should be in client auth.conf to enable loginat server?

2002-11-25 Thread Emerson Cargnin - SICREDI Serviços
Symptoms: On the client side, lc.getSubject().getPrincipals().size() is always 0, meaning we aren't logged on. On the client side, lc.login() with a bad password returns silently. On the server side, context.getCallerPrincipal() gives the correct name, even if the client thinks I'm logged in. Qu

[JBoss-user] Using the same JAAS user to open connections

2002-11-25 Thread Emerson Cargnin - SICREDI Serviços
We use Jaas Ldap LoginModule to make the authentication/authorization. Can someone explain me (or tell me where can I find at forum/maillist/jboss 3.0.4 admbook) how to set the oracle-services.xml to use the same user that's logged at the session bean (a session facade)? -- xx

Re: [JBoss-user] Problem with Finder methods

2002-11-25 Thread Eric Klimas
My apologies on not providing the version before (3.0.4 w/ tcat 4). This appears to have been the problem. I switched my datasources to non-xa versions and everything is peachy now. Thx, -Eric On Mon, 2002-11-25 at 13:42, David Jencks wrote: > ALWAYS include your exact jboss versio

Re: [JBoss-user] Jetty/JSP Broken in 3.0.4?

2002-11-25 Thread Stefan Arentz
I am an idiot. A library that I was using included it's own copy of the servlet api. An incompatible one. Sorry :-/ S. On Monday, Nov 25, 2002, at 19:45 Europe/Amsterdam, Jules Gosnell wrote: Mail me the ear and I will look at it. jules Stefan Arentz wrote: Hey, I have a very simple projec

Re: [JBoss-user] Jetty/JSP Broken in 3.0.4?

2002-11-25 Thread Jules Gosnell
Mail me the ear and I will look at it. jules Stefan Arentz wrote: Hey, I have a very simple project that works just fine on tomcat. When I deploy it in JBoss/Jetty then I get the following error, even for the most simple JSP that contains no code: HTTP ERROR: 500 Unable to compile class for

[JBoss-user] What should be in client auth.conf to enable login at server?

2002-11-25 Thread Jonathan . O'Connor
As part of my junit tests, I need a test to log in to my server using the DatabaseServerLoginModule. My client auth.conf has the following lines: other { // The JBoss LoginModule org.jboss.security.ClientLoginModule required ; }; My server login-config.xml contains the following sec

Re: [JBoss-user] Problem with Finder methods

2002-11-25 Thread David Jencks
ALWAYS include your exact jboss version at the very least. Probably you dont' have your datasource set up correctly. AFAIK the xa datasource stuff doesn't work very well before 3.2 or 4. There is some oracle specific stuff in these that is supposed to correct many oracle driver defic

Re: [JBoss-user] jboss you today received an e-card emailed by .

2002-11-25 Thread lsanders
Hopefully no one was duped in to following this link.  It is a legalized version of a mass mailer / Spam machine.  Check out:   http://antivirus.about.com/library/weekly/aa102402a.htm   -Larry - Original Message - From: Adam Boyle To: jboss Sent: Monday, November 25,

[JBoss-user] jboss you today received an e-card emailed by .

2002-11-25 Thread Adam Boyle
jboss, recently emailed you an ecard greeting.Retrieve your postcard by clicking this link:http://www.Friend-Greeting.net/pickup.aspx?code=jboss&id=2511025Message-jboss,Retrieve the postcard just created.

[JBoss-user] Problem with Finder methods

2002-11-25 Thread Eric Klimas
Hi all, I have a bunch of local entity bean using CMP/CMR being stored over an Oracle XA datasource. I wrote a remote session bean to access the local objects and called it via my client code and got the following exception. Everything deploys fine, etc. I've also included test session bean and

Re: [JBoss-user] RMI over HTTP

2002-11-25 Thread Scott M Stark
Look at the testsuite/src/resources/hello/META-INF/jboss.xml: HTTP Stateless SessionBean jboss:service=invoker,type=http jboss:service=invoker,type=http HA HTTP Stateless SessionBean jboss:service=invoker,type=httpH

[JBoss-user] Jetty/JSP Broken in 3.0.4?

2002-11-25 Thread Stefan Arentz
Hey, I have a very simple project that works just fine on tomcat. When I deploy it in JBoss/Jetty then I get the following error, even for the most simple JSP that contains no code: HTTP ERROR: 500 Unable to compile class for JSP /var/tmp/Jetty_0_0_0_0_8080__test/test$jsp.java:61: Incompatible

Re: [JBoss-user] Where should auth.conf go for a client app?

2002-11-25 Thread Scott M Stark
You need to specify a java.security.auth.login.config system property giving the URL or path of the login configuration file. - Original Message - From: To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 3:42 AM Subject: [JBoss-user] Where should auth.conf go for a client app? >

RE: [JBoss-user] Where should auth.conf go for a client app?

2002-11-25 Thread Jonathan . O'Connor
Heiko, We're using 3.0.4, but this is irrelevamt because we want to configure the client and not the server. I had a look at the source code for LoginContext. The solution is to set environment variable java.security.auth.login.config to the location of auth.conf file you want to use. Just put

Re: [JBoss-user] Where should auth.conf go for a client app?

2002-11-25 Thread Todd M Benge
I ran into the same problem when trying to get an applet to communicate with the application server. I had to specify the location of the auth.conf file when launching the client. For an applet, the following line is put into the runtime parameters for the plugin but I think it will be the sa

RE: [JBoss-user] Where should auth.conf go for a client app?

2002-11-25 Thread Rupp,Heiko
Hi, > Caused by: java.lang.SecurityException: Unable to locate a login > configuration What JBoss Version are you using? AFAIK, auth.conf is no longer in 3.x, but conf/login-config.xml is used instead. Heiko -- Bancotec GmbH EMail: [EMAIL PROTECTED] Calwer Str. 33 Telefon: +49 711 22

[JBoss-user] Where should auth.conf go for a client app?

2002-11-25 Thread Jonathan . O'Connor
Folks, I'm trying to test my login code, and I've written a little junit test. However, when I call loginContext.login() it tells me: Caused by: java.lang.SecurityException: Unable to locate a login configuration I stuck the auth.conf file into a directory on my class path, but it still does no

[JBoss-user] RMI over HTTP

2002-11-25 Thread Joost Kraaijeveld
Hi all, Thanks to Scott's answer I got JNDI over HTTP working. The next challenge is RMI over HTTP. I have read the pay-docs regarding the HTTPInvoker (page 122 about "Accessing JNDI over HTTP" and page 152 about "The HTTPInvoker - RMI/HTTP Transport") but I still don't understand it. What do

RE: [JBoss-user] JMX resource on the net?

2002-11-25 Thread Rupp,Heiko
Hi, on java.sun.com, there is the original spec and also some sample code. JBoss has in its commercial books section a good JMX book as PDF, which should also be available from your local bookstore. This one is definitivly worth checking out. -- Bancotec GmbH EMail: [EMAIL PROTECTED] Calwe